
:root {
  --line: rgba(27, 56, 86, .15);          
  --line-strong: rgba(27, 56, 86, .42);   
  --ink-deep: #142c45;                    
  --error: #8f2a1c;
  --measure: 38rem;                       
  --half: calc(50% + var(--gutter));      
  --cloth: url("../assets/hero/doors-still.jpg"); 
  --band: url("../assets/hero/pages-band.jpg");   
}
html { -webkit-text-size-adjust: 100%; }
body.pg { font-size: 17px; line-height: 1.62; text-rendering: optimizeLegibility; }
.pg img { max-width: 100%; }
:where(.pg) :where(h1, h2, h3, p, ul, ol) { margin: 0; padding: 0; }
:where(.pg) :where(ul, ol) { list-style: none; }
.pg [id] { scroll-margin-top: 28px; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; z-index: 40; left: var(--gutter); top: -80px; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 3px; font-size: 15px; }
.skip:focus { top: 12px; outline: 2px solid var(--paper); outline-offset: -5px; }
.site-nav nav a { padding-bottom: 3px; border-bottom: 1px solid transparent; transition: border-color .2s ease, color .2s ease; }
.site-nav nav a:hover { color: var(--ink); border-bottom-color: currentColor; }
.site-nav nav a[aria-current="page"] { color: var(--ink); border-bottom-color: currentColor; }
.menu-btn { position: relative; display: none; font: inherit; font-size: 15px; line-height: 24px; color: var(--ink); background: none; border: 0; padding: 10px; margin: -10px -10px -6px; cursor: pointer; }
.menu-btn::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 1px; background: currentColor; }
@media (max-width: 760px) {
  .site-nav { flex-wrap: wrap; row-gap: 14px; }
  .site-nav nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
  .js .site-nav nav { display: none; }
  .js .menu-btn:not([hidden]) { display: inline-block; }
  .js.menu-open { overflow: hidden; }
  .js.menu-open .site-nav { position: fixed; z-index: 30; inset: 0; align-content: flex-start; background: var(--paper); overflow-y: auto; }
  .js.menu-open .site-nav nav { display: flex; flex-direction: column; flex-wrap: nowrap; flex-basis: 100%; gap: 20px; margin-top: clamp(40px, 11vh, 96px); color: var(--ink); font-family: "Fraunces", serif; font-weight: 340; font-size: 34px; line-height: 1.1; letter-spacing: -0.02em; }
  .js.menu-open .site-nav nav a { align-self: flex-start; }
}
.pg-head, .pg-row, .pg-foot__main, .pg-foot__legal { display: grid; grid-template-columns: var(--half) minmax(0, 1fr); padding-inline: var(--gutter); }
.pg-head > :first-child, .pg-row > :first-child, .pg-foot__main > :first-child, .pg-foot__legal > :first-child { padding-right: calc(2 * var(--gutter)); }
.pg-head { position: relative; isolation: isolate; }
.pg-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(247, 243, 236, .62) 0%, rgba(247, 243, 236, .8) 55%, var(--paper) 100%), var(--band) 50% 0% / cover no-repeat; pointer-events: none; }
.pg-head { align-items: end; align-items: last baseline; padding-top: clamp(150px, 27vh, 260px); padding-bottom: clamp(64px, 12vh, 132px); }
.pg-head h1 { font-family: "Fraunces", serif; font-weight: 330; font-size: clamp(40px, 4.5vw, 80px); line-height: 1.02; letter-spacing: -0.024em; text-wrap: balance; }
.pg-lede { font-family: "Fraunces", serif; font-weight: 340; font-size: clamp(21px, 1.5vw, 27px); line-height: 1.34; letter-spacing: -0.008em; max-width: 27em; text-wrap: pretty; }
.pg-row { padding-bottom: clamp(72px, 13vh, 140px); }
.pg-row > h2 { align-self: start; position: sticky; top: 32px; font-family: "Fraunces", serif; font-weight: 370; font-size: clamp(24px, 1.75vw, 31px); line-height: 1.16; letter-spacing: -0.014em; text-wrap: balance; }
.pg-body { max-width: var(--measure); }
.pg-body > * + * { margin-top: 1.05em; }
.pg-body p { text-wrap: pretty; }
.pg-body a:not(.btn) { border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; transition: border-color .2s ease; }
.pg-body a:not(.btn):hover { border-bottom-color: currentColor; }
.pg-body h3 { font-family: "Hanken Grotesk", system-ui, sans-serif; font-size: 17px; font-weight: 600; line-height: 1.4; }
.pg-body > h3 { margin-top: 2.3em; }
.pg-body > h3:first-child { margin-top: 0; }
.pg-body > h3 + * { margin-top: .4em; }
.quiet { color: var(--soft); }
.pg-list { border-top: 1px solid var(--line); }
.pg-list li { padding: .72em 0 .78em; border-bottom: 1px solid var(--line); font-family: "Fraunces", serif; font-weight: 350; font-size: clamp(20px, 1.3vw, 24px); line-height: 1.28; letter-spacing: -0.01em; text-wrap: balance; }
.pg-body > .pg-list { margin-top: 1.5em; }
.pg-list .note { display: block; margin-top: .34em; font: 400 15.5px/1.5 "Hanken Grotesk", system-ui, sans-serif; letter-spacing: 0; color: var(--soft); text-wrap: pretty; }
.pg-list--links li { padding: 0; }
.pg-body > .pg-list--links:first-child { margin-top: .3em; }
.pg-body .pg-list--links a { display: block; padding: .72em 0 .78em; border-bottom: 0; transition: color .2s ease; }
.pg-body .pg-list--links a:hover { color: var(--ink-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.pg-facts { margin: 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; }
.pg-facts > div { display: grid; grid-template-columns: 6.6em minmax(0, 1fr); column-gap: 18px; padding: .78em 0 .84em; border-bottom: 1px solid var(--line); }
.pg-facts dt { color: var(--soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pg-facts dd { margin: 0; }
.pg-facts dd span { display: block; color: var(--soft); }
.pg-body > .pg-facts { margin-top: 1.9em; }
.pg-body--wide { max-width: none; }
.pg-body--wide > :not(.pg-prints) { max-width: var(--measure); }
.pg-prints { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 14px; margin: 0; max-width: 52rem; }
.pg-prints figure { margin: 0; }
.pg-prints img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; background: #e4ddd1; }
.pg-prints figcaption { margin-top: 9px; font-size: 13.5px; line-height: 1.4; color: var(--soft); }
.pg-body > .pg-prints { margin-top: 2.1em; margin-bottom: 2.1em; }
.pg-quote { margin: 0; padding: clamp(8px, 2vh, 24px) var(--gutter) clamp(84px, 15vh, 160px); }
.pg-quote blockquote { margin: 0; max-width: 16.5em; font-family: "Fraunces", serif; font-weight: 330; font-size: clamp(31px, 4.1vw, 72px); line-height: 1.07; letter-spacing: -0.023em; text-indent: -0.42em; text-wrap: balance; }
.pg-quote figcaption { margin-top: 1.5em; font-size: 15px; color: var(--soft); }
.pg-reach { display: grid; gap: .3em; font-family: "Fraunces", serif; font-weight: 350; font-size: clamp(22px, 1.6vw, 29px); line-height: 1.25; letter-spacing: -0.012em; }
.pg-reach a { justify-self: start; overflow-wrap: anywhere; }
.pg-links { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.pg-body > .pg-links { margin-top: 1.7em; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--paper); font: 500 16px/1.2 "Hanken Grotesk", system-ui, sans-serif; letter-spacing: 0.005em; text-align: center; cursor: pointer; transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.btn:hover { background: var(--ink-deep); border-color: var(--ink-deep); }
.btn--quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--quiet:hover { background: rgba(27, 56, 86, .06); border-color: var(--ink); }
.btn:focus-visible { border-radius: 999px; }   
.pg-body > .btn, .pg-body > .pg-act { margin-top: 1.9em; }
.pg-act { display: flex; flex-wrap: wrap; gap: 12px; }
.form { display: grid; gap: 34px; max-width: 34rem; }
.field label { display: block; font-size: 15px; font-weight: 500; line-height: 1.4; }
.field .hint { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.45; color: var(--soft); }
.field input, .field textarea { display: block; width: 100%; margin: 0; padding: 12px 0 13px; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: 18px; line-height: 1.45; -webkit-appearance: none; appearance: none; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 8.2em; resize: vertical; }
.field input:hover, .field textarea:hover { border-bottom-color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 2px solid transparent; outline-offset: 2px; border-bottom-color: var(--ink); box-shadow: 0 2px 0 0 var(--ink); }
.field [aria-invalid="true"] { border-bottom-color: var(--error); box-shadow: 0 1px 0 0 var(--error); }
.field [aria-invalid="true"]:focus { border-bottom-color: var(--error); box-shadow: 0 2px 0 0 var(--error); }
.js .field textarea[data-grow] { resize: none; overflow: hidden; }
.field .error { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.45; color: var(--error); }
.field .error:empty { display: none; }
.form__end { display: grid; gap: 22px; justify-items: start; margin-top: 6px; }
.form__status { font-size: 16px; line-height: 1.5; font-weight: 500; color: var(--ink); }
.form__status:empty { display: none; }
.form__status:focus { outline: none; }
.form__small { font-size: 14.5px; line-height: 1.5; color: var(--soft); }
.form__end [aria-disabled="true"] { opacity: .6; cursor: progress; }
.agree__box { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: start; max-width: 34rem; font-size: 15.5px; line-height: 1.5; cursor: pointer; }
.agree__box input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.agree__box input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.agree .error { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.45; color: var(--error); }
.agree .error:empty { display: none; }
.trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.gap, .not-connected { max-width: var(--measure); padding: 12px 16px 13px; border: 1px dashed var(--line-strong); border-radius: 4px; background: rgba(255, 255, 255, .34); color: var(--nav); font-size: 14.5px; line-height: 1.5; }
.gap b, .not-connected b { color: var(--ink); font-weight: 600; }
.not-connected:target { border-style: solid; border-color: var(--ink); }
.draft-chip { position: fixed; z-index: 20; right: var(--gutter); bottom: 8px; padding: 3px 11px 4px; border: 1px solid rgba(51, 71, 95, .22); border-radius: 999px; background: rgba(247, 243, 236, .9); color: var(--nav); font-size: 12px; line-height: 1.4; pointer-events: none; }
html:not(.draft) .gap, html:not(.draft) .draft-chip { display: none; }
.doors { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100svh; overflow: hidden; background: #e3d5c2; }
.doors__cloth { position: absolute; inset: 0; z-index: -3; background: var(--cloth) 72% center / cover no-repeat; }
.doors__veil { position: absolute; inset: 0; z-index: -2; background: linear-gradient(0deg, rgba(247, 243, 236, .95) 0%, rgba(247, 243, 236, .86) 34%, rgba(247, 243, 236, .52) 66%, rgba(247, 243, 236, .34) 100%); }
.doors::after { content: ""; position: absolute; z-index: -1; left: 50%; top: clamp(96px, 17vh, 170px); bottom: clamp(36px, 8.5vh, 92px); width: 1px; background: linear-gradient(180deg, rgba(27, 56, 86, 0) 0%, var(--line-strong) 42%); opacity: .6; }
.door { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; min-height: 560px; padding: clamp(110px, 18vh, 180px) var(--gutter) clamp(36px, 8.5vh, 92px); }
.doors[data-first="friends"] .door--friends { order: -1; }
.door h2 { font-family: "Fraunces", serif; font-weight: 330; font-size: clamp(36px, 3.7vw, 66px); line-height: 1.04; letter-spacing: -0.024em; margin-bottom: .42em; }
.door p { max-width: 30em; margin-bottom: 1.9em; font-size: clamp(15.5px, 1.16vw, 19px); line-height: 1.52; color: var(--nav); text-wrap: pretty; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 761px) {
    .doors { grid-template-rows: 1fr auto auto auto; }
    .door { display: grid; grid-template-rows: subgrid; grid-row: 1 / -1; grid-template-columns: minmax(0, 1fr); justify-content: normal; justify-items: start; align-items: normal; }
    .door h2 { grid-row: 2; }
    .door p { grid-row: 3; }
    .door .btn { grid-row: 4; align-self: start; }
  }
}
.door .btn::after { content: ""; position: absolute; inset: 0; }
.door:hover .btn { background: var(--ink-deep); border-color: var(--ink-deep); }
.door:hover .btn--quiet { background: rgba(27, 56, 86, .06); border-color: var(--ink); }
.door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.doors:has(.door:hover) .door:not(:hover)::before, .doors:has(.door:focus-within) .door:not(:focus-within)::before { opacity: .4; }
.pg-foot { border-top: 1px solid var(--line); background: var(--paper); font-size: 15px; line-height: 1.55; color: var(--nav); }
.pg-foot__main { padding-top: clamp(48px, 8vh, 84px); padding-bottom: clamp(44px, 7vh, 76px); }
.pg-foot .mark { display: inline-block; }
.pg-foot .mark img { display: block; height: 40px; width: auto; }
.pg-foot__about p { max-width: 24em; margin-top: 20px; color: var(--soft); text-wrap: balance; }
.pg-foot__about .pg-foot__more { margin-top: 10px; }
.pg-foot__about .pg-foot__more a { border-bottom-color: var(--line); }      
.pg-foot__about .pg-foot__more a:hover { border-bottom-color: currentColor; }
@media (pointer: coarse) { .pg-foot__about .pg-foot__more a { display: inline-block; padding: 10px 0 9px; } }            
.pg-foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 14rem)); gap: 32px var(--gutter); }
.pg-foot__cols h2 { margin-bottom: 12px; font: 400 13.5px/1.4 "Hanken Grotesk", system-ui, sans-serif; color: var(--soft); }
.pg-foot__cols li + li { margin-top: 7px; }
.pg-foot a { padding-bottom: 2px; border-bottom: 1px solid transparent; overflow-wrap: anywhere; transition: border-color .2s ease, color .2s ease; }
.pg-foot a:hover { color: var(--ink); border-bottom-color: currentColor; }
.pg-foot .mark, .pg-foot .mark:hover { border-bottom: 0; padding-bottom: 0; }
.pg-foot__legal { padding-top: 20px; padding-bottom: 44px; border-top: 1px solid var(--line); margin-inline: var(--gutter); padding-inline: 0; grid-template-columns: 50% minmax(0, 1fr); font-size: 13.5px; color: var(--soft); }
.pg-foot__legal > :first-child { padding-right: var(--gutter); }
.pg-foot__legal > :last-child { padding-left: var(--gutter); }
@media (max-width: 900px) {
  .pg-head, .pg-row, .pg-foot__main, .pg-foot__legal { grid-template-columns: minmax(0, 1fr); }
  .pg-head > :first-child, .pg-row > :first-child, .pg-foot__main > :first-child, .pg-foot__legal > :first-child { padding-right: 0; }
  .pg-head::before { background-position: 0 0, 70% 0%; }
  .pg-head { row-gap: 26px; padding-top: clamp(124px, 20vh, 190px); padding-bottom: clamp(60px, 10vh, 96px); }
  .pg-row { row-gap: 20px; padding-bottom: clamp(64px, 10vh, 96px); }
  .pg-row > h2 { position: static; }
  .pg-foot__main { row-gap: 40px; }
  .pg-foot__legal { row-gap: 6px; }
  .pg-foot__legal > :last-child { padding-left: 0; }
}
@media (max-width: 760px) {
  body.pg { font-size: 16.5px; }
  .doors { grid-template-columns: minmax(0, 1fr); }
  .doors__cloth { background-position: 64% center; }
  .doors__veil { background: linear-gradient(0deg, rgba(247, 243, 236, .84) 0%, rgba(247, 243, 236, .7) 100%); }
  .doors::after { display: none; }
  .door { min-height: 50vh; min-height: 50svh; padding-top: 56px; padding-bottom: 48px; }
  .doors[data-first="apply"] .door--apply, .doors[data-first="friends"] .door--friends { padding-top: 124px; }
  .doors[data-first="apply"] .door--friends, .doors[data-first="friends"] .door--apply { border-top: 1px solid var(--line); }
  .pg-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .pg-prints { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-quote blockquote { text-indent: 0; }
  .pg-foot .mark img { height: 34px; }
  .draft-chip { bottom: 6px; }
}
@media (max-width: 480px) {
  .btn { padding-inline: 26px; }
  .pg-reach { font-size: clamp(18px, 5.9vw, 22px); }
  .pg-foot__cols { grid-template-columns: minmax(0, 1fr); }
}
@media (pointer: coarse) {
  .site-nav .mark { padding-block: 4px; margin-block: -4px; }
  .site-nav nav a { position: relative; padding: 12px 0 13px; margin: -12px 0 -9px; border-bottom: 0; }
  .site-nav nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: currentColor; opacity: 0; transition: opacity .2s ease; }
  .site-nav nav a:hover::after, .site-nav nav a[aria-current="page"]::after { opacity: 1; }
  .site-nav nav { row-gap: 22px; }
  .js.menu-open .site-nav nav a { padding: 4px 0 7px; margin: -4px 0 -3px; }
  .js.menu-open .site-nav nav a::after { bottom: 3px; }
  .pg-foot .mark { padding-block: 5px; margin-block: -5px; }
  .pg-foot__cols h2 { margin-bottom: 2px; }
  .pg-foot__cols li + li { margin-top: 0; }
  .pg-foot__cols a { position: relative; display: inline-block; padding: 10px 0 11px; border-bottom: 0; }
  .pg-foot__cols a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; opacity: 0; transition: opacity .2s ease; }
  .pg-foot__cols a:hover::after { opacity: 1; }
  .pg-reach { gap: 19px; }
  .pg-body > .pg-links { row-gap: 19px; }
  .pg-body .pg-reach a, .pg-body .pg-links a { position: relative; padding: 11px 0 10px; margin: -11px 0 -8px; border-bottom: 0; }
  .pg-body .pg-reach a::after, .pg-body .pg-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--line-strong); transition: background-color .2s ease; }
  .pg-body .pg-reach a:hover::after, .pg-body .pg-links a:hover::after { background: currentColor; }
}
@media (prefers-reduced-motion: reduce) {
  .pg *, .pg *::before, .pg *::after { transition: none !important; animation: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
