:root {
  color-scheme: light;
  --paper: #f2ebde;
  --ink: #2e201a;
  --wood: #754333;
  --rule: #a8907d;
  font: 1rem/1.5 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100svh; background: radial-gradient(ellipse at 6% 0%, #dfc6ad, transparent 55%); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid #793920; outline-offset: 4px; }
.profile { width: min(100% - 2rem, 35rem); margin: auto; padding-block: 1rem 2rem; }
.masthead { display: flex; justify-content: space-between; align-items: center; padding-bottom: .7rem; border-bottom: 1px solid var(--rule); font-weight: 750; letter-spacing: .16em; font-size: .875rem; }
.age { letter-spacing: 0; border: 1px solid var(--rule); padding: .2rem .5rem; border-radius: 2rem; }
.feature { display: grid; grid-template-areas: "portrait" "intro" "contact"; gap: .9rem; padding-top: 1rem; }
.intro { grid-area: intro; }
.role { margin: 0 0 .25rem; color: var(--wood); font-weight: 750; }
.intro h1, .age-gate h1 { font: 500 clamp(3rem, 10vw, 5.7rem)/.96 Georgia, serif; letter-spacing: -.06em; margin: 0; }
.intro h1 span { font-style: italic; }
.portrait { grid-area: portrait; position: relative; width: 100%; margin: 0; height: clamp(18rem, min(108vw, 57svh), 32rem); isolation: isolate; overflow: hidden; border: 1px solid var(--rule); background: #d9c9b7; touch-action: pan-y pinch-zoom; }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; user-select: none; -webkit-user-drag: none; }
.portrait img.ready { opacity: 1; }
.portrait::after { content: ""; position: absolute; inset: 52% 0 0; background: linear-gradient(transparent, #251a14dc); pointer-events: none; }
figcaption { position: absolute; bottom: .85rem; left: .8rem; z-index: 1; color: #fff6eb; font-weight: 700; }
.gallery { position: absolute; z-index: 1; right: .8rem; bottom: .7rem; display: flex; gap: .4rem; }
.gallery button { width: 2.75rem; height: 2.75rem; border: 1px solid #fff8; padding: 0; border-radius: 2px; background-size: cover; background-position: center 28%; }
.gallery button[aria-pressed="true"] { border: 2px solid #fff3de; }
.gallery-arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 0; border-radius: 50%; font-size: 1.7rem; line-height: 1; color: var(--ink); background: #f2ebdeee; }
.previous { left: .65rem; }
.next { right: .65rem; }
.contact { grid-area: contact; }
.continue, .decline { min-height: 3.3rem; display: flex; align-items: center; justify-content: center; gap: .6rem; border-radius: 2px; padding: .5rem .75rem; font-weight: 750; text-align: center; text-decoration: none; }
.continue { background: var(--wood); border: 1px solid var(--wood); color: #fff9ef; }
.continue:hover { background: #603226; }
.decline { background: transparent; color: var(--wood); border: 1px solid var(--wood); }
.age-screen { min-height: 100svh; display: grid; place-items: center; padding: 1rem; }
.age-gate { width: min(100%, 25rem); padding: 1.5rem; background: #faf2e7; border-top: 4px solid var(--wood); box-shadow: 0 8px 40px #60402724; }
.age-actions { display: grid; gap: .6rem; grid-template-columns: 2fr 1fr; }
@media (min-width: 52rem) {
  .profile { width: min(100% - 4rem, 69rem); padding-top: 2rem; }
  .feature { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: 1fr auto 1fr; grid-template-areas: "portrait ." "portrait intro" "portrait contact"; gap: 1rem clamp(2rem, 6vw, 5rem); padding-top: 1.5rem; align-items: start; }
  .portrait { height: clamp(27rem, 72svh, 39rem); }
  .contact { max-width: 20rem; }
}
@keyframes rise { from { opacity: 0; transform: translateY(.65rem); } }
@media (prefers-reduced-motion: no-preference) {
  .age-gate, .feature { animation: rise .5s ease-out both; }
}

:root {
  color-scheme: dark;
  --paper: #171713;
  --ink: #f4ebdc;
  --wood: #e2bc89;
  --rule: #f4ebdc40;
  background: var(--paper);
}
body { background: var(--paper); }
:focus-visible { outline-color: #f4ebdc; }
.profile { position: relative; width: 100%; padding: 0; }
.masthead {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top));
  right: clamp(1rem, 4vw, 3rem);
  z-index: 4;
  padding: 0;
  border: 0;
}
.age { background: #171713a8; color: var(--ink); }
.feature {
  min-height: 100svh;
  padding: 0;
  gap: 0;
  grid-template: minmax(0, 1fr) auto / minmax(0, 1fr);
  grid-template-areas: "hero" "actions";
  align-items: stretch;
}
.portrait {
  grid-area: hero;
  align-self: stretch;
  height: auto;
  min-height: max(28rem, 72svh);
  border: 0;
  background: #27231d;
}
.portrait::after {
  inset: 34% 0 0;
  background: linear-gradient(transparent, #17171355 42%, #171713 100%);
}
.intro {
  grid-area: hero;
  align-self: end;
  min-width: 0;
  z-index: 3;
  padding: 0 clamp(1.25rem, 5vw, 4rem) 2.9rem;
  pointer-events: none;
}
.intro h1 { font-size: clamp(3.5rem, 12vw, 8rem); }
.role { text-transform: uppercase; color: #f0cc9d; letter-spacing: .12em; font-size: .8rem; margin-bottom: .45rem; }
figcaption { left: clamp(1.25rem, 5vw, 4rem); bottom: 1rem; color: #dccbbb; font-size: .85rem; font-weight: 500; }
.gallery-arrow { color: #f4ebdc; background: #171713a8; border: 1px solid #f4ebdc45; }
.contact {
  grid-area: actions;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: .85rem clamp(1rem, 5vw, 4rem) max(1rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--rule);
}
.gallery { position: static; }
.gallery button { width: clamp(2.1rem, 10vw, 3.3rem); height: clamp(2.7rem, 11vw, 3.8rem); }
#browser-help { grid-column: 1 / -1; margin: 0; }
.continue { color: #221a13; background: #e2bc89; border-color: #e2bc89; }
.continue:hover { background: #f3d2a8; }
.age-gate { background: #27231d; box-shadow: none; }
@media (min-width: 52rem) {
  .portrait { min-height: 78svh; }
  .portrait img { width: 66%; left: auto; }
  .portrait::after {
    inset: 0;
    background: linear-gradient(90deg, #171713 8%, #171713 30%, #17171300 65%), linear-gradient(0deg, #171713, transparent 40%);
  }
  .intro { align-self: center; padding-bottom: 0; }
  .intro h1 span { display: block; }
  .previous { left: 35%; }
  .contact { grid-template-columns: auto minmax(12rem, 19rem); }
}
@media (max-width: 23rem) {
  .contact { gap: .45rem; }
  .continue { font-size: .875rem; gap: .35rem; }
}


:root {
  --paper: #1b1117;
  --ink: #fff4ed;
  --wood: #ffc2ca;
  --rule: #ffbec343;
}
.feature { display: block; min-height: 0; padding: 0; animation: none; }
.masthead { right: max(1rem, calc((100% - 39rem) / 2)); }
.intro {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: clamp(24rem, 61svh, 35rem);
  padding: 3.3rem 1rem 2rem;
  overflow: hidden;
  text-align: center;
  pointer-events: auto;
}
.intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1rem;
  background:
    linear-gradient(180deg, #1b111737, #1b1117 94%),
    radial-gradient(ellipse at 50% 12%, #693449bd, #1b1117 79%);
}
.avatar {
  width: clamp(5rem, 18vw, 7rem);
  aspect-ratio: 1;
  margin-bottom: .95rem;
  border: 2px solid #ffc2ca;
  border-radius: 50%;
  background: #4a3038 url("photos/workshop.jpg") 49% 22% / 265% auto no-repeat;
  box-shadow: 0 0 0 5px #ffc2ca19, 0 0 2.2rem #f473a454;
}
.intro h1 {
  color: var(--ink);
  font-size: clamp(2.8rem, 10vw, 5rem);
  margin: 0;
}
.intro h1 span { display: inline; }
.intro .role {
  margin: .55rem 0 0;
  text-transform: none;
  letter-spacing: 0;
  color: #e9c9d1;
  font-size: 1rem;
  font-weight: 500;
}
.intro .contact {
  width: min(100%, 24rem);
  display: block;
  margin: 1.15rem 0 0;
  padding: 0;
  border: 0;
}
.intro .continue {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 3.85rem;
  border-radius: 3rem;
  border-color: #ffd2c6;
  background: linear-gradient(112deg, #ffd4bd, #ff97ae 62%, #fa85ad);
  color: #2b1221;
  font-size: 1.12rem;
  box-shadow: 0 .6rem 2rem #f974a24f;
}
.intro .continue:hover { background: #ffd4d7; }
.intro .continue::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 32%, #fff9 50%, transparent 68%);
  transform: translateX(-110%);
}
.feature .portrait {
  width: min(100% - 2rem, 39rem);
  height: clamp(18rem, min(104vw, 56svh), 32rem);
  min-height: 0;
  margin: 0 auto 2rem;
  border: 1px solid #ffbec33b;
  border-radius: 1rem;
  background: #312129;
}
.feature .portrait img { inset: 0; width: 100%; }
.feature .portrait::after { inset: 56% 0 0; background: linear-gradient(transparent, #1b1117e3); }
.feature .previous { left: .65rem; }
.feature figcaption { left: .85rem; bottom: 1.1rem; }
.feature .gallery { position: absolute; right: .8rem; bottom: .7rem; }
.age-gate { background: #2c1c26; }
@keyframes glint { 50%, 100% { transform: translateX(110%); } }
@media (prefers-reduced-motion: no-preference) {
  .intro > * { animation: rise .65s ease-out both; }
  .intro .contact { animation-delay: .12s; }
  .intro .continue::after { animation: glint 2.4s .65s ease-in-out 2; }
}

.profile { width: min(100%, 42rem); margin-inline: auto; }
.feature {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  grid-template-areas: "cover";
  width: 100%;
  min-height: 100svh;
  background: #1b1117;
}
.feature .portrait {
  grid-area: cover;
  align-self: stretch;
  width: 100%;
  min-height: max(32rem, 100svh);
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
}
.feature .portrait::after {
  inset: 0;
  background: linear-gradient(180deg, #16101455 0%, transparent 19%, transparent 36%, #1b1117b8 62%, #1b1117 94%);
}
.feature .intro {
  grid-area: cover;
  align-self: end;
  justify-self: stretch;
  min-height: 0;
  padding: 0 1.15rem max(3.85rem, calc(env(safe-area-inset-bottom) + 3.25rem));
  pointer-events: none;
}
.intro::before { display: none; }
.feature .intro h1 { font-size: clamp(2.7rem, 10vw, 5.2rem); }
.feature .contact { pointer-events: auto; }
.feature .gallery {
  bottom: max(.65rem, env(safe-area-inset-bottom));
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}
.feature .gallery button { width: 2.45rem; height: 2.45rem; }
.feature figcaption { top: 1rem; bottom: auto; padding: .22rem .55rem; border-radius: 1rem; background: #1b1117a0; }
.feature .gallery-arrow { top: 38%; }
#browser-help { background: #1b1117e8; border-radius: .45rem; padding: .35rem .5rem; }
@media (min-width: 52rem) {
  .feature .portrait img { inset: 0; width: 100%; }
}
