/* INRESET · Sunrise
   Layout: one long story. Light warm paper for openness, one deep "dusk" band
   for intimacy, ember/gold for the flame. Serif = emotion, mono = case file. */
:root {
  --paper: #f5ece0;      /* warm sand */
  --paper-2: #efe2d0;    /* deeper sand for panels */
  --card: #fbf6ef;
  --ink: #2a1c14;        /* deep brown ink */
  --ink-2: #5e4a3c;      /* muted text */
  --line: #e0cfb9;
  --ember: #c4621d;      /* ember orange */
  --ember-deep: #a14d12;
  --gold: #e3a43a;       /* soft gold glow */
  --dusk: #2a1c14;       /* intimate band */
  --dusk-2: #3a2a1f;
  --dusk-ink: #f3e7d6;
  --dusk-muted: #c7b39d;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --t-xs: .78rem; --t-s: .92rem; --t-m: 1.0625rem; --t-l: 1.35rem;
  --t-xl: clamp(2.3rem, 5.2vw, 3.7rem);
  --t-xxl: clamp(3rem, 8.4vw, 6.4rem);
  --r: 14px;
  color-scheme: light;
}
* { box-sizing: border-box }
[hidden] { display: none !important }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-m)/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper) }
img { max-width: 100%; height: auto; display: block }
a { color: inherit }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px }
.skip { position: absolute; left: -999px; top: 0 }
.skip:focus { left: 16px; top: 16px; z-index: 40; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 6px }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)) }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.01em; margin: 0; text-wrap: balance }
h1 { font-size: var(--t-xxl) }
h2 { font-size: var(--t-xl) }
h3 { font-size: 1.65rem; line-height: 1.15 }
h1 em, h2 em { color: var(--ember); font-style: italic }
p { margin: 0 }
.lede { font-size: var(--t-l); line-height: 1.5 }
.muted { color: var(--ink-2) }
.stack { display: flex; flex-direction: column; gap: 1.2rem; min-width: 0 }
.case { font: 500 var(--t-xs)/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ember-deep) }
.case.quiet { color: var(--ink-2) }
section { padding-block: clamp(4.5rem, 10vw, 8rem); position: relative }
.section-head { display: flex; flex-direction: column; gap: 1.1rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem) }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center }
@media (max-width: 880px) { .split { grid-template-columns: minmax(0, 1fr) } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: 1rem 1.5rem; border-radius: 999px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); font: 600 .98rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .25s ease, background .25s ease, box-shadow .25s ease }
.btn::after { content: "→"; transition: transform .25s ease }
.btn:hover { background: var(--ember); border-color: var(--ember); box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--ember) 70%, transparent) }
.btn:hover::after { transform: translateX(4px) }
.btn.ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 25%, transparent) }
.btn.ghost:hover { border-color: var(--ember); color: var(--ember-deep); box-shadow: none; background: transparent }
.btn.small { padding: .7rem 1.1rem; font-size: .86rem }
.btn.small::after { display: none }
.ctas { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center }
.ctas.center { justify-content: center; margin-top: 3rem }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; transition: background .3s ease, box-shadow .3s ease }
.nav.scrolled { background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line) }
.nav-row { display: flex; align-items: center; gap: 1.6rem; padding-block: 1rem }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 500 .9rem/1 var(--mono); letter-spacing: .26em }
.brand b { color: var(--ember); font-weight: 500 }
.links { display: flex; gap: 1.5rem; margin-left: auto; font-size: var(--t-s) }
.links a { text-decoration: none; color: var(--ink-2); position: relative }
.links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--ember); transition: right .3s ease }
.links a:hover { color: var(--ink) }
.links a:hover::after { right: 0 }
.lang { display: flex; gap: .15rem; font: 500 var(--t-xs)/1 var(--mono) }
.lang a { text-decoration: none; padding: .4rem .45rem; border-radius: 6px; color: var(--ink-2) }
.lang a[aria-current] { color: var(--ink); background: var(--paper-2) }
@media (max-width: 940px) { .links { display: none } .lang { margin-left: auto } }
@media (max-width: 420px) { .nav-row { gap: .8rem } .brand span { letter-spacing: .18em } .lang a { padding: .4rem .3rem } .nav .btn.small { padding: .6rem .8rem; font-size: .8rem; white-space: nowrap } }

/* hero */
.hero { padding-block: clamp(2.5rem, 7vw, 6rem) clamp(4rem, 9vw, 7rem); overflow: hidden }
.hero::before { content: ""; position: absolute; width: 60rem; height: 60rem; right: -22rem; top: -18rem; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 38%, transparent) 0%, color-mix(in srgb, var(--ember) 12%, transparent) 38%, transparent 66%) }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center }
@media (max-width: 880px) { .hero-grid { grid-template-columns: minmax(0, 1fr) } }
.hero-copy { display: flex; flex-direction: column; gap: 1.6rem; min-width: 0 }
.hero h1 { max-width: 12ch }
.hero .lede { max-width: 36rem; color: var(--ink-2) }
.hero .lede strong { color: var(--ink); font-weight: 600 }
.triad { font: 500 var(--t-xs)/1 var(--mono); letter-spacing: .32em; color: var(--ink-2) }
.triad span { color: var(--ember) }
.portrait { margin: 0; display: flex; flex-direction: column; gap: .9rem; max-width: 26rem; justify-self: end; width: 100% }
@media (max-width: 880px) { .portrait { justify-self: start; max-width: 20rem } }
.portrait-frame { border-radius: 999px 999px var(--r) var(--r); overflow: hidden; aspect-ratio: 2/3; max-width: 100%; background: var(--paper-2); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--ink) 45%, transparent) }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.28) contrast(1.02); mix-blend-mode: multiply; transform: scale(1.04); transition: transform 1.2s ease }
.portrait:hover .portrait-frame img { transform: scale(1.08) }
.portrait figcaption { font: 400 var(--t-xs)/1.5 var(--mono); letter-spacing: .08em; color: var(--ink-2) }

/* self-check */
.check { background: var(--paper-2) }
.check-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start }
@media (max-width: 880px) { .check-grid { grid-template-columns: minmax(0, 1fr) } }
.signs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem }
.sign { width: 100%; text-align: left; font: 400 1.04rem/1.45 var(--sans); color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem 1rem 3.2rem; position: relative; cursor: pointer; transition: border-color .2s, background .2s, transform .2s }
.sign::before { content: ""; position: absolute; left: 1.1rem; top: 1.15rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--ink) 35%, transparent); transition: all .25s ease }
.sign:hover { border-color: var(--gold); transform: translateX(3px) }
.sign[aria-pressed="true"] { background: color-mix(in srgb, var(--gold) 16%, var(--card)); border-color: var(--ember) }
.sign[aria-pressed="true"]::before { background: var(--ember); border-color: var(--ember); box-shadow: 0 0 0 5px color-mix(in srgb, var(--ember) 18%, transparent), 0 0 18px var(--gold) }
.reading { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 5.5rem); background: var(--dusk); color: var(--dusk-ink); border-radius: calc(var(--r) + 6px); padding: clamp(1.4rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1.1rem; overflow: hidden; isolation: isolate }
.reading::before { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 90%; z-index: -1; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--ember) calc(var(--heat, 0) * 70%), transparent), transparent 70%); transition: background .6s ease }
.reading .case { color: var(--gold) }
.meters { display: flex; flex-direction: column; gap: .7rem }
.meter { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); align-items: center; gap: .8rem; font: 400 var(--t-xs)/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--dusk-muted) }
.meter i { height: 6px; border-radius: 6px; background: color-mix(in srgb, var(--dusk-ink) 12%, transparent); overflow: hidden }
.meter b { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ember), var(--gold)); border-radius: inherit; transition: width .6s cubic-bezier(.2,.8,.2,1) }
.meter.top span { color: var(--gold) }
.reading-title { font-size: 1.9rem; color: var(--dusk-ink) }
.reading-body { color: var(--dusk-muted) }
.reading .btn { background: var(--gold); border-color: var(--gold); color: var(--ink); align-self: flex-start }
.reading .btn:hover { background: var(--dusk-ink); border-color: var(--dusk-ink); box-shadow: none }

/* dusk band */
.dusk { background: var(--dusk); color: var(--dusk-ink) }
.dusk .case { color: var(--gold) }
.dusk p:not(.case):not(.pull) { color: var(--dusk-muted) }
.dusk .pull { font: 400 clamp(1.7rem, 3.2vw, 2.3rem)/1.2 var(--serif); color: var(--dusk-ink); border-left: 2px solid var(--ember); padding-left: 1.2rem; margin-top: .6rem }
.drift { margin: 0; color: var(--dusk-ink); background: var(--dusk-2); border-radius: var(--r); padding: 1.2rem; overflow-x: auto }
.drift svg { width: 100%; min-width: 400px; height: auto; display: block }
.drift figcaption { font: 400 var(--t-xs)/1.6 var(--mono); color: var(--dusk-muted); margin-top: .8rem }
.d-orig { stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 4 6; fill: none }
.d-path { fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1 }
.d-drift { stroke: var(--dusk-muted); stroke-width: 2 }
.d-reset { stroke: var(--gold); stroke-width: 3 }
.drift.in .d-drift { animation: draw 1.6s .2s ease forwards }
.drift.in .d-reset { animation: draw 1.1s 1.8s ease forwards }
@keyframes draw { to { stroke-dashoffset: 0 } }
.d-dot { fill: var(--dusk-ink) }
.d-dot.em { fill: var(--gold) } .d-dot.dim { fill: var(--dusk-muted) } .d-dot.fl { fill: var(--gold) }
.drift.in .d-dot.fl { animation: pulse 2s 2.9s ease-in-out infinite; transform-origin: 410px 80px }
@keyframes pulse { 0%,100% { transform: scale(1) } 50% { transform: scale(1.5) } }
.d-lbl { font: 400 11px var(--mono); fill: var(--dusk-ink) }
.d-lbl.dim { fill: var(--dusk-muted) } .d-lbl.em, .d-lbl.fl { fill: var(--gold) }

/* method */
.layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem }
@media (max-width: 880px) { .layers { grid-template-columns: minmax(0, 1fr) } }
.layer { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; display: flex; flex-direction: column; gap: .8rem; transition: transform .35s ease, box-shadow .35s ease }
.layer:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px color-mix(in srgb, var(--ink) 50%, transparent) }
.glyph { width: 52px; height: 52px; margin-bottom: .4rem }
.glyph circle, .glyph path { fill: var(--ember) }
.glyph .o { fill: none; stroke: var(--ember); stroke-width: 1.5; stroke-dasharray: 3 4; transform-origin: 30px 30px }
.layer:hover .glyph .o { animation: spin 6s linear infinite }
@keyframes spin { to { transform: rotate(360deg) } }
.tools { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem }
.tools li { font: 400 var(--t-xs)/1 var(--mono); letter-spacing: .04em; padding: .65rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2) }

/* process */
.process { background: var(--paper-2) }
.steps { list-style: none; padding: 0; margin: 0; position: relative }
.steps::before { content: ""; position: absolute; left: 2.6rem; top: 0; bottom: 0; width: 1px; background: var(--line) }
.steps::after { content: ""; position: absolute; left: 2.6rem; top: 0; width: 1px; height: calc(var(--progress, 0) * 100%); background: linear-gradient(var(--gold), var(--ember)); transition: height .15s linear }
.step { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 2rem; padding-block: 2.2rem; position: relative }
.step .n { font: 400 2.6rem/1 var(--serif); color: var(--ember); text-align: center; background: var(--paper-2); position: relative; z-index: 1; padding-block: .3rem }
.step .n small { display: block; font: 500 .66rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-top: .5rem }
.step h3 { font-size: 2rem }
.step p { max-width: 40rem }

/* engagements */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem }
@media (max-width: 760px) { .offers { grid-template-columns: minmax(0, 1fr) } }
.offer { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 2rem; display: flex; flex-direction: column; gap: .9rem; position: relative; overflow: hidden; transition: border-color .3s ease, transform .3s ease }
.offer::before { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--ember), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .45s ease }
.offer:hover { border-color: var(--gold); transform: translateY(-3px) }
.offer:hover::before, .offer.lead::before { transform: scaleX(1) }
.offer .meta { font: 400 var(--t-xs)/1.5 var(--mono); letter-spacing: .04em; color: var(--ember-deep) }
.offer .for { font-size: var(--t-s); color: var(--ink-2); border-top: 1px solid var(--line); padding-top: .9rem; margin-top: auto }

/* founder */
.founder .split { align-items: start }
.studio { margin: 0; display: flex; flex-direction: column; gap: .8rem }
.studio img { border-radius: var(--r); filter: sepia(.2); width: 100% }
.studio figcaption { font-size: var(--t-s); line-height: 1.6; color: var(--ink-2); border-left: 2px solid var(--ember); padding-left: 1rem }
.origin { font: 400 clamp(1.4rem, 2.4vw, 1.75rem)/1.3 var(--serif); color: var(--ink); border-left: 2px solid var(--ember); padding-left: 1.1rem }
.timeline { list-style: none; padding: 0; margin: .8rem 0 0; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 1rem }
.timeline li { position: relative; padding-left: 1.3rem; display: flex; flex-direction: column }
.timeline li::before { content: ""; position: absolute; left: -4px; top: .45rem; width: 7px; height: 7px; border-radius: 50%; background: var(--ember) }
.timeline time { font: 500 var(--t-xs)/1.4 var(--mono); color: var(--ember-deep); font-variant-numeric: tabular-nums }

/* proof */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-bottom: 3rem }
@media (max-width: 600px) { .stats { grid-template-columns: minmax(0, 1fr) } }
.stats div { border-top: 1.5px solid var(--ember); padding-top: 1rem; display: flex; flex-direction: column; gap: .3rem }
.stats b { font: 400 clamp(3rem, 6vw, 4.4rem)/1 var(--serif); font-weight: 400; font-variant-numeric: tabular-nums }
.stats span { color: var(--ink-2); font-size: var(--t-s) }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem }
@media (max-width: 880px) { .quotes { grid-template-columns: minmax(0, 1fr) } }
blockquote { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; display: flex; flex-direction: column; gap: 1.2rem }
blockquote p { font: 400 1.35rem/1.38 var(--serif) }
blockquote p::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--ember); margin-bottom: .4rem }
blockquote footer { margin-top: auto; font: 400 var(--t-xs)/1.4 var(--mono); color: var(--ink-2); letter-spacing: .04em }

/* project in */
.projectin { background: var(--paper-2) }
.pin-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem }
.pin-list li { padding-left: 1.6rem; position: relative }
.pin-list li::before { content: ""; position: absolute; left: 0; top: .7rem; width: .9rem; height: 1px; background: var(--ember) }
.pin-card { background: var(--card); border: 1px dashed color-mix(in srgb, var(--ember) 50%, var(--line)); border-radius: var(--r); padding: 2rem; display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 4rem); align-items: start }
@media (max-width: 880px) { .faq-grid { grid-template-columns: minmax(0, 1fr) } }
.faq details { border-top: 1px solid var(--line) }
.faq details:last-child { border-bottom: 1px solid var(--line) }
.faq summary { cursor: pointer; list-style: none; padding: 1.3rem 2.6rem 1.3rem 0; position: relative; font: 500 1.08rem/1.4 var(--sans) }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 1.1rem; font: 300 1.6rem/1 var(--mono); color: var(--ember); transition: transform .3s ease }
.faq details[open] summary::after { transform: rotate(45deg) }
.faq details p { padding-bottom: 1.4rem; color: var(--ink-2); max-width: 40rem }

/* close */
.close { background: var(--dusk); color: var(--dusk-ink); overflow: hidden; text-align: center }
.close::before { content: ""; position: absolute; left: 50%; bottom: -34rem; width: 70rem; height: 50rem; transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--ember) 55%, transparent), color-mix(in srgb, var(--gold) 12%, transparent) 45%, transparent 70%) }
.close-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.6rem }
.close .case { color: var(--gold) }
.close h2 { font-size: var(--t-xxl); max-width: 13ch }
.close .lede { color: var(--dusk-muted); max-width: 36rem }
.close .btn { background: var(--gold); border-color: var(--gold); color: var(--ink) }
.close .btn:hover { background: var(--dusk-ink); border-color: var(--dusk-ink) }
.contact { font: 400 var(--t-s)/1.4 var(--mono); color: var(--dusk-muted) }
.mail { color: var(--dusk-ink); user-select: all }

/* footer */
.site { background: var(--dusk); color: var(--dusk-muted); border-top: 1px solid var(--dusk-2); padding-block: 3rem 3.5rem; font-size: var(--t-s) }
.site .case { color: var(--gold) }
.site .brand { color: var(--dusk-ink) }
.foot { display: flex; flex-wrap: wrap; gap: 2.2rem 4rem; justify-content: space-between }
.foot-brand { display: flex; flex-direction: column; gap: .9rem; max-width: 20rem }
.foot ul { list-style: none; padding: 0; margin: .8rem 0 0; display: flex; flex-direction: column; gap: .4rem }
.foot a { text-decoration: none }
.foot a:hover { color: var(--gold) }
.copy { flex-basis: 100%; font: 400 var(--t-xs)/1 var(--mono); letter-spacing: .06em }

/* reveal motion: content is visible at rest; JS adds .js-motion to animate in */
.js-motion .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1) }
.js-motion .reveal.in { opacity: 1; transform: none }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  .js-motion .reveal { opacity: 1; transform: none; transition: none }
  .d-path { stroke-dashoffset: 0 }
  .drift.in .d-path, .drift.in .d-dot.fl { animation: none }
  * { transition-duration: .01ms !important }
}
.pin-stat { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; border-top: 1.5px solid var(--ember); padding-top: 1rem; color: var(--ink-2) }
.pin-stat b { font: 400 clamp(2.6rem, 5vw, 3.6rem)/1 var(--serif); color: var(--ink); font-weight: 400 }


/* request form (on the dark closing band) */
.apply, .sent { width: 100%; max-width: 40rem; text-align: left; display: flex; flex-direction: column; gap: 1rem; background: color-mix(in srgb, var(--dusk-2) 85%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 25%, transparent); border-radius: calc(var(--r) + 6px); padding: clamp(1.3rem, 3vw, 2rem); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px) }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem }
@media (max-width: 560px) { .row2 { grid-template-columns: minmax(0, 1fr) } }
.field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; border: 0; margin: 0; padding: 0 }
.field > span, .field legend { font: 500 var(--t-xs)/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dusk-muted); padding: 0 }
.field input, .field textarea { font: 400 1rem/1.5 var(--sans); color: var(--dusk-ink); background: color-mix(in srgb, var(--dusk) 70%, transparent); border: 1px solid color-mix(in srgb, var(--dusk-ink) 18%, transparent); border-radius: 10px; padding: .8rem .9rem; width: 100%; transition: border-color .2s, box-shadow .2s }
.field textarea { resize: vertical; min-height: 7rem }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent) }
.types { display: flex; flex-direction: row; flex-wrap: wrap; gap: .5rem }
.types legend { margin-bottom: .5rem; width: 100% }
.types label { cursor: pointer }
.types input { position: absolute; opacity: 0; pointer-events: none }
.types label span { display: inline-block; padding: .55rem .9rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--dusk-ink) 22%, transparent); color: var(--dusk-muted); font-size: var(--t-s); transition: all .2s }
.types input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--ink) }
.types input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: var(--t-s); color: var(--dusk-muted); cursor: pointer }
.consent input { margin-top: .25rem; accent-color: var(--gold); width: 1.05rem; height: 1.05rem; flex: none }
.consent a { color: var(--gold) }
.reading-note { font: 400 var(--t-xs)/1.5 var(--mono); color: var(--gold) }
.reading-note b { font-weight: 500; color: var(--dusk-ink) }
.apply .btn { align-self: flex-start }
.apply .btn[disabled] { opacity: .6; pointer-events: none }
.form-msg { font-size: var(--t-s); color: var(--dusk-muted); min-height: 1.2em }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.sent h3 { font-size: 2rem; color: var(--dusk-ink) }
.sent p { color: var(--dusk-muted) }
.sent .btn { align-self: flex-start }
.cf-turnstile { min-height: 65px }

/* phones: full-width buttons, floating shortcut to the self-check result */
@media (max-width: 560px) {
  .ctas { flex-direction: column; align-items: stretch }
  .ctas .btn, .apply .btn, .sent .btn, .reading .btn, .pin-card .btn { justify-content: center; align-self: stretch }
  .portrait { max-width: 17rem }
  section { padding-block: 4rem }
}
.see-reading { position: fixed; z-index: 15; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.3rem; border-radius: 999px; background: var(--dusk); color: var(--dusk-ink); font: 600 .92rem/1 var(--sans); text-decoration: none; box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--ink) 60%, transparent) }
.see-reading b { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: .8rem }
@media (min-width: 881px) { .see-reading { display: none !important } }
