@charset "UTF-8";
/* ═══════════════════════════════════════════════════════════════════════════
   Chloe Park — medical interpreter, Seoul
   Fonts are self-hosted: nothing is requested from a third party before the
   visitor has answered the cookie banner.
   ═════════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'EB Garamond'; font-style: italic; font-weight: 400 500; font-display: swap;
  src: url(../fonts/eb-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond'; font-style: italic; font-weight: 400 500; font-display: swap;
  src: url(../fonts/eb-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/eb-garamond-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/eb-garamond-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 600; font-stretch: 100%; font-display: swap;
  src: url(../fonts/instrument-sans-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 600; font-stretch: 100%; font-display: swap;
  src: url(../fonts/instrument-sans-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans'; font-style: italic; font-weight: 400; font-stretch: 100%; font-display: swap;
  src: url(../fonts/instrument-sans-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --paper:   #F6F3EE;
  --wash:    #EFEAE1;
  --ink:     #191815;
  --ink-2:   #4C4941;
  --ink-3:   #837E74;
  --rule:    #DFD8CC;
  --accent:  #7E5A42;
  --accent-2:#9A7457;

  --dark:    #16140F;
  --dark-2:  #201D16;
  --on-dark:   #EDE7DB;
  --on-dark-2: #A79F90;
  --on-dark-3: #7C7568;
  --rule-dark: rgba(237,231,219,.15);

  --serif: 'EB Garamond', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans:  'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --fs-body:  clamp(1rem, 0.955rem + 0.19vw, 1.075rem);
  --fs-lede:  clamp(1.2rem, 1.06rem + 0.62vw, 1.6rem);
  --fs-h3:    clamp(1.2rem, 1.11rem + 0.38vw, 1.45rem);
  --fs-label: 0.6875rem;

  --wrap: 1280px;
  --gutter: clamp(1.375rem, 5vw, 4.5rem);
  --section-y: clamp(4.75rem, 10vw, 9rem);

  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3 { font-weight: 400; line-height: 1.15; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}
.section--dark :focus-visible, .foot :focus-visible { outline-color: #C6A283; }

.skip {
  position: fixed; top: .75rem; left: .75rem; z-index: 200;
  padding: .7rem 1.1rem; background: var(--ink); color: var(--paper);
  font-size: .8125rem; transform: translateY(-160%); transition: transform .2s;
}
.skip:focus { transform: none; }

/* ── Layout primitives ──────────────────────────────────────────────────── */
.wrap {
  width: 100%; max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section--wash { background: var(--wash); }
.section--dark { background: var(--dark); color: var(--on-dark); }

#work::before, #credentials::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px; background: var(--rule);
}

.section__grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
@media (min-width: 62rem) {
  .section__grid {
    grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 6rem);
  }
  .section__aside { position: sticky; top: 6.5rem; align-self: start; }
  .section__grid--wide { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); }
}
.section__body > * + * { margin-top: 2.5rem; }

/* Small tracked caps — used for every section label on the page. */
.label {
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.4;
}
.section--dark .label { color: var(--on-dark-3); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  padding: clamp(1rem, 2.5vh, 2rem) var(--gutter) max(1.25rem, env(safe-area-inset-bottom));
  gap: clamp(1.1rem, 3vh, 2rem);
  max-width: var(--wrap);
  margin-inline: auto;
}
.hero__media { min-height: 0; overflow: hidden; background: var(--wash); }
.hero__img, .hero__media img, .portrait-placeholder {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%;
}
.hero__media picture { display: block; height: 100%; }

.portrait-placeholder { position: relative; display: grid; place-items: center; }
.portrait-placeholder svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait-placeholder__note {
  position: relative;
  font-size: var(--fs-label); letter-spacing: .19em; text-transform: uppercase;
  color: rgba(25,24,21,.5); text-align: center; line-height: 1.9;
}

.hero__name {
  font-family: var(--serif);
  font-size: clamp(3rem, 15vw, 7.5rem);
  line-height: .9;
  letter-spacing: -.022em;
  text-indent: -.045em;      /* optical alignment of the cap with the text below */
}
.hero__line {
  margin-top: clamp(.85rem, 2vh, 1.35rem);
  font-size: clamp(.8125rem, .78rem + .18vw, .9375rem);
  letter-spacing: .07em;
  color: var(--ink-2);
}
.hero__cue {
  justify-self: start;
  display: flex; align-items: center; gap: .8rem;
  padding-block: .45rem;
  font-size: var(--fs-label); letter-spacing: .19em; text-transform: uppercase;
  color: var(--ink-3);
}
.hero__cue-rule {
  width: 3.25rem; height: 1px; background: var(--rule); position: relative; overflow: hidden;
}
.hero__cue-rule::after {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  transform: translateX(-100%); animation: sweep 2.8s var(--ease) infinite;
}
@keyframes sweep {
  0%   { transform: translateX(-100%); }
  55%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

@media (min-width: 56rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 44%);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: clamp(2rem, 5vw, 4.5rem);
    padding-block: clamp(2rem, 5vh, 4rem) clamp(2rem, 5vh, 3.5rem);
  }
  .hero__media { grid-column: 2; grid-row: 1 / -1; align-self: stretch; }
  .hero__text  { grid-column: 1; grid-row: 1; align-self: end; }
  .hero__cue   { grid-column: 1; grid-row: 2; align-self: end; }
  .hero__line  { max-width: 30ch; }
}

/* ── Prose ──────────────────────────────────────────────────────────────── */
.prose { max-width: 63ch; }
.prose p + p { margin-top: 1.35em; }
.prose p:first-child::first-letter {
  /* Not a drop cap — just a slightly larger opening letter. */
  font-family: var(--serif);
  font-size: 1.32em;
  line-height: 1;
  padding-right: .02em;
}
.lede {
  font-family: var(--serif);
  font-size: var(--fs-lede);
  font-style: italic;
  line-height: 1.42;
  color: var(--ink-2);
  max-width: 34ch;
}

/* ── Numbered entries (What I do) ───────────────────────────────────────── */
.entries { max-width: 66ch; }
.entry {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0 1rem;
  padding-block: clamp(1.5rem, 3vw, 2.1rem);
  border-top: 1px solid var(--rule);
}
.entry:first-child { border-top: 0; padding-top: 0; }
.entry__num {
  font-size: var(--fs-label); font-weight: 500; letter-spacing: .12em;
  color: var(--accent); padding-top: .45em;
  font-variant-numeric: tabular-nums;
}
.entry__title { font-family: var(--serif); font-size: var(--fs-h3); letter-spacing: -.005em; }
.entry__body { margin-top: .55rem; color: var(--ink-2); max-width: 56ch; }
@media (max-width: 30rem) {
  .entry { grid-template-columns: 2.1rem minmax(0, 1fr); }
}

/* ── Notes (Working in Seoul) ───────────────────────────────────────────── */
.notes {
  display: grid; gap: clamp(2rem, 4vw, 3.25rem);
}
@media (min-width: 48rem) {
  .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4.5rem); }
}
.note__num {
  display: block;
  font-size: var(--fs-label); font-weight: 500; letter-spacing: .12em;
  color: var(--accent); margin-bottom: .9rem;
  font-variant-numeric: tabular-nums;
}
.note__title {
  font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.28; letter-spacing: -.005em;
  padding-bottom: .75rem; border-bottom: 1px solid var(--rule);
}
.note__body { margin-top: .85rem; color: var(--ink-2); }

/* ── Credentials ────────────────────────────────────────────────────────── */
.creds { display: grid; gap: clamp(2rem, 4vw, 2.75rem); max-width: 60ch; }
.section__body > .creds { margin-top: 0; }
.creds__heading {
  font-size: var(--fs-label); font-weight: 500; letter-spacing: .19em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem;
}
.creds__row {
  display: grid; gap: .15rem 1.75rem;
  padding-block: .8rem;
  border-top: 1px solid var(--rule);
}
.creds__row:first-child { border-top: 0; padding-top: 0; }
.creds__row dt { font-weight: 500; }
.creds__row dd { color: var(--ink-3); font-size: .9375rem; }
@media (min-width: 34rem) {
  .creds__row { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); align-items: baseline; }
}
.creds__group--pending { padding-left: 1.15rem; border-left: 2px solid var(--accent); }
.creds__pending { color: var(--ink-3); font-size: .9375rem; max-width: 46ch; }

/* ── Contact ────────────────────────────────────────────────────────────── */
.contact__grid { display: grid; gap: clamp(3rem, 7vw, 5rem); }
@media (min-width: 62rem) {
  .contact__grid { grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: clamp(3rem, 8vw, 7rem); }
  .contact__intro { position: sticky; top: 6.5rem; align-self: start; }
}
.contact__heading {
  font-family: var(--serif); font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05; letter-spacing: -.02em; margin-top: 1.25rem;
}
.contact__lede { margin-top: 1.1rem; color: var(--on-dark-2); max-width: 40ch; }

.status { margin-top: 2.25rem; padding-top: 1.4rem; border-top: 1px solid var(--rule-dark); }
.status__row { display: flex; align-items: center; gap: .6rem; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.status__dot {
  width: .5rem; height: .5rem; border-radius: 50%; background: var(--on-dark-3); flex: none;
  position: relative;
}
.status__dot.is-open    { background: #8AA173; }
.status__dot.is-limited { background: #C79A55; }
.status__dot.is-open::after {
  content: ""; position: absolute; inset: -.28rem; border-radius: 50%;
  border: 1px solid #8AA173; opacity: .45; animation: halo 3.6s ease-out infinite;
}
@keyframes halo {
  0%, 70%, 100% { transform: scale(1); opacity: .38; }
  35%           { transform: scale(1.5); opacity: 0; }
}
.status__note { margin-top: .45rem; font-size: .875rem; color: var(--on-dark-3); }

.contact__direct { margin-top: 2rem; display: grid; gap: .1rem; }
.link-row {
  display: flex; align-items: center; gap: .85rem;
  padding-block: .72rem;
  border-bottom: 1px solid var(--rule-dark);
  font-size: .9375rem;
  transition: color .25s var(--ease);
}
.contact__direct li:first-child .link-row { border-top: 1px solid var(--rule-dark); }
.link-row:hover { color: #D9BC9C; }
.link-row__icon { width: 1.05rem; height: 1.05rem; flex: none; color: var(--on-dark-3); transition: color .25s; }
.link-row__icon svg { width: 100%; height: 100%; }
.link-row:hover .link-row__icon { color: #D9BC9C; }
.link-row--inline { display: inline-flex; border: 0; border-bottom: 1px solid currentColor; padding-block: 0 .15rem; margin-top: 1.5rem; }

/* ── Form ───────────────────────────────────────────────────────────────── */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.form { display: grid; gap: 1.6rem; max-width: 34rem; }
.form[hidden] { display: none; }   /* display:grid would otherwise beat [hidden] */
@media (min-width: 40rem) {
  .form { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.75rem; max-width: 40rem; }
  .form > .field[data-field="preferredContact"],
  .form > .field[data-field="dates"],
  .form > .field[data-field="message"],
  .form > .consents, .form > .form__submit, .form > .form__status { grid-column: 1 / -1; }
}
.field { display: grid; }
.field__label {
  display: flex; align-items: baseline; gap: .6rem;
  font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-dark-2); margin-bottom: .55rem;
}
.field__req {
  font-size: .5625rem; letter-spacing: .14em; color: var(--on-dark-3);
  text-transform: uppercase;
}
.field__control {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--rule-dark);
  border-radius: 0;
  padding: .55rem 0;
  color: var(--on-dark);
  font-size: 1rem;                 /* 16px keeps iOS from zooming on focus */
  transition: border-color .25s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field__control:hover { border-bottom-color: rgba(237,231,219,.3); }
.field__control:focus { outline: none; border-bottom-color: #C6A283; }
.field__control:focus-visible { outline: none; }
textarea.field__control { resize: vertical; min-height: 4.5rem; line-height: 1.6; }

select.field__control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23A79F90' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .1rem center;
  background-size: .7rem;
  padding-right: 1.6rem;
  cursor: pointer;
}
select.field__control option, select.field__control optgroup { background: var(--dark-2); color: var(--on-dark); }

.field__hint { margin-top: .45rem; font-size: .8125rem; color: var(--on-dark-3); }
.field__error { margin-top: .45rem; font-size: .8125rem; color: #D9A08B; }
.field[data-invalid] .field__control { border-bottom-color: #D9A08B; }

.consents { display: grid; gap: .9rem; margin-top: .4rem; }
.check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .1rem .75rem; align-items: start; }
.check input {
  appearance: none; -webkit-appearance: none;
  width: 1.05rem; height: 1.05rem; margin-top: .22rem;
  border: 1px solid var(--on-dark-3); border-radius: 1px;
  background: transparent; cursor: pointer; flex: none;
  transition: background .2s, border-color .2s;
}
.check input:checked { background: var(--on-dark); border-color: var(--on-dark); }
.check input:checked::after {
  content: ""; display: block; width: .34rem; height: .62rem; margin: .04rem auto 0;
  border: solid var(--dark); border-width: 0 1.5px 1.5px 0; transform: rotate(43deg);
}
.check label { font-size: .875rem; line-height: 1.5; color: var(--on-dark-2); cursor: pointer; }
.check .field__error { grid-column: 2; }
.check__link { border-bottom: 1px solid var(--on-dark-3); margin-left: .3rem; white-space: nowrap; }
.check[data-invalid] input { border-color: #D9A08B; }

.form__status { font-size: .875rem; color: #D9A08B; min-height: 1.2em; }
.form__status:empty { display: none; }

/* Shown when the inquiry could not be delivered. Deliberately calm rather than
   alarming — the visitor did nothing wrong and their words are still intact. */
.form__fallback { max-width: 34rem; padding-left: 1.25rem; border-left: 2px solid #C6A283; }
.form__fallback-heading {
  font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.22; letter-spacing: -.01em;
}
.form__fallback-body { margin-top: .8rem; color: var(--on-dark-2); }
.form__fallback-actions {
  margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem;
}
.form__fallback-actions .link-row--inline { margin-top: 0; }

.form__done { max-width: 34rem; }
.form__done-mark {
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  border: 1px solid var(--rule-dark); border-radius: 50%;
  color: #8AA173; font-size: 1rem; margin-bottom: 1.5rem;
}
.form__done-heading { font-family: var(--serif); font-size: clamp(1.5rem, 3.5vw, 2.05rem); line-height: 1.2; letter-spacing: -.012em; }
.form__done-body { margin-top: .9rem; color: var(--on-dark-2); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.9rem;
  font-size: var(--fs-label); font-weight: 500; letter-spacing: .17em; text-transform: uppercase;
  border-radius: 2px;
  transition: background .28s var(--ease), color .28s var(--ease), opacity .2s;
  text-align: center;
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--accent); }
.section--dark .btn--solid { background: var(--on-dark); color: var(--dark); }
.section--dark .btn--solid:hover { background: #C6A283; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .55; pointer-events: none; }
.form__submit { justify-self: start; margin-top: .6rem; }
@media (max-width: 26rem) { .form__submit { justify-self: stretch; width: 100%; } }

.btn--solid-sm, .btn--ghost-sm {
  padding: .6rem 1.05rem; font-size: .625rem; letter-spacing: .15em;
  text-transform: uppercase; font-weight: 500; border-radius: 2px;
  display: inline-flex; align-items: center;
}
.btn--solid-sm { background: var(--ink); color: var(--paper); }
.btn--solid-sm:hover { background: var(--accent); }
.btn--ghost-sm { border: 1px solid var(--rule); color: var(--ink-2); }
.btn--ghost-sm:hover { border-color: var(--ink-3); color: var(--ink); }

/* ── Top bar ────────────────────────────────────────────────────────────── */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 90;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--rule);
  opacity: 0; transform: translateY(-100%);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.bar[hidden] { display: block; }        /* animate rather than disappear */
.bar.is-visible { opacity: 1; transform: none; }
.bar--static { position: sticky; opacity: 1; transform: none; }
.bar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 3.9rem;
}
.bar__name {
  font-family: var(--serif); font-size: 1.0625rem; letter-spacing: -.005em; white-space: nowrap;
}
.bar__nav { display: none; }
@media (min-width: 62rem) {
  .bar__nav { display: block; }
  .bar__nav ul { display: flex; gap: clamp(1.1rem, 2.2vw, 2rem); }
  .bar__nav a {
    font-size: .8125rem; color: var(--ink-3); position: relative; padding-block: .35rem;
    transition: color .25s;
  }
  .bar__nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--accent); transform: scaleX(0); transform-origin: left;
    transition: transform .35s var(--ease);
  }
  .bar__nav a:hover { color: var(--ink); }
  .bar__nav a[aria-current="true"] { color: var(--ink); }
  .bar__nav a[aria-current="true"]::after { transform: scaleX(1); }
}
.bar__cta {
  font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding: .5rem 0 .25rem; border-bottom: 1px solid var(--ink); white-space: nowrap;
  transition: color .25s, border-color .25s;
}
.bar__cta:hover { color: var(--accent); border-color: var(--accent); }

/* Over the dark contact section and the footer the bar inverts, so it reads as
   part of the page rather than a panel floating on top of it. */
.bar, .bar__name, .bar__cta, .bar__nav a {
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.bar.is-dark {
  background: color-mix(in srgb, var(--dark) 86%, transparent);
  border-bottom-color: var(--rule-dark);
  color: var(--on-dark);
}
.bar.is-dark .bar__name { color: var(--on-dark); }
.bar.is-dark .bar__nav a { color: var(--on-dark-3); }
.bar.is-dark .bar__nav a:hover,
.bar.is-dark .bar__nav a[aria-current="true"] { color: var(--on-dark); }
.bar.is-dark .bar__nav a::after { background: #C6A283; }
.bar.is-dark .bar__cta { color: var(--on-dark); border-bottom-color: var(--on-dark); }
.bar.is-dark .bar__cta:hover { color: #C6A283; border-bottom-color: #C6A283; }

/* ── Floating WhatsApp ──────────────────────────────────────────────────── */
.wa {
  position: fixed; z-index: 95;
  right: max(1.1rem, env(safe-area-inset-right));
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .8rem 1.15rem;
  background: var(--dark); color: var(--paper);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(25,24,21,.16), 0 8px 24px -6px rgba(25,24,21,.3);
  font-size: .8125rem; letter-spacing: .04em;
  opacity: 0; transform: translateY(.6rem) scale(.96);
  transition: opacity .4s var(--ease), transform .4s var(--ease), background .25s;
  pointer-events: none;
}
.wa[hidden] { display: inline-flex; }
.wa.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa:hover { background: var(--accent); }
.wa__icon { width: 1.15rem; height: 1.15rem; }
.wa__icon svg { width: 100%; height: 100%; }
@media (max-width: 26rem) {
  .wa { padding: .85rem; }
  .wa__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* ── Cookie consent ─────────────────────────────────────────────────────── */
.consent {
  position: fixed; z-index: 100;
  left: max(1.1rem, env(safe-area-inset-left));
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  width: min(24rem, calc(100vw - 2.2rem));
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 0 2px 4px rgba(25,24,21,.06), 0 16px 40px -12px rgba(25,24,21,.24);
  padding: 1.25rem;
  border-radius: 2px;
  opacity: 0; transform: translateY(.75rem);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.consent[hidden] { display: none; }
.consent.is-visible { opacity: 1; transform: none; }
.consent__text { font-size: .8125rem; line-height: 1.6; color: var(--ink-2); }
.consent__actions { display: flex; gap: .5rem; margin-top: 1rem; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.foot { background: var(--dark); color: var(--on-dark-2); padding-top: clamp(3rem, 6vw, 4.5rem); }
.foot__inner {
  display: grid; gap: 2rem;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 48rem) {
  .foot__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 3rem; }
}
.foot__name { font-family: var(--serif); font-size: 1.375rem; color: var(--on-dark); }
.foot__meta { margin-top: .35rem; font-size: .875rem; }
.foot__note { margin-top: 1rem; font-size: .8125rem; color: var(--on-dark-3); max-width: 42ch; }
.foot__links { display: grid; gap: .55rem; font-size: .875rem; justify-items: start; }
@media (min-width: 48rem) { .foot__links { justify-items: end; } }
/* padding-block keeps these above the 24px minimum touch target on a phone */
.foot__links a, .foot__linkbtn {
  border-bottom: 1px solid transparent; transition: color .25s, border-color .25s;
  font-size: .875rem; color: inherit; padding: .3rem 0; text-align: left;
}
.foot__links a:hover, .foot__linkbtn:hover { color: var(--on-dark); border-bottom-color: var(--on-dark-3); }
.foot__base {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  padding-block: 1.35rem;
  border-top: 1px solid var(--rule-dark);
  font-size: .8125rem; color: var(--on-dark-3);
}
.foot__top { transition: color .25s; padding: .3rem 0; }
.foot__top:hover { color: var(--on-dark); }

/* ── Legal page ─────────────────────────────────────────────────────────── */
/* No max-width here: this element also carries .wrap, and a second max-width
   would win over the container's and shove the whole header off-axis. */
.legal__head { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2rem, 4vw, 3rem); }
.legal__head h1 {
  max-width: 18ch;
  font-family: var(--serif); font-size: clamp(2.25rem, 6vw, 3.5rem);
  letter-spacing: -.02em; line-height: 1.02;
}
.legal__updated { margin-top: 1rem; font-size: var(--fs-label); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.legal__intro { margin-top: 1.5rem; font-size: 1.0625rem; color: var(--ink-2); max-width: 58ch; }
.legal__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(4rem, 8vw, 6rem); }
@media (min-width: 62rem) {
  .legal__grid { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(3rem, 7vw, 6rem); }
  .legal__toc { position: sticky; top: 6.5rem; align-self: start; }
}
.legal__toc ol { margin-top: 1rem; display: grid; gap: .5rem; counter-reset: toc; }
.legal__toc a { font-size: .875rem; color: var(--ink-3); transition: color .25s; }
.legal__toc a:hover { color: var(--accent); }
.legal__body { max-width: 62ch; display: grid; gap: clamp(2rem, 4vw, 2.75rem); }
.legal__section h2 {
  font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  padding-bottom: .7rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.1rem;
}
.legal__section p + p { margin-top: 1em; }
.legal__section p { color: var(--ink-2); }

/* ── 404 ────────────────────────────────────────────────────────────────── */
.oops { display: grid; place-items: center; min-height: 68svh; text-align: center; }
.oops__inner { display: grid; justify-items: center; gap: 1.1rem; padding-block: 5rem; }
.oops h1 { font-family: var(--serif); font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -.02em; }
.oops__body { color: var(--ink-2); max-width: 38ch; }
.oops .btn { margin-top: 1rem; }

/* ── Reveal on scroll ───────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .bar { opacity: 1; transform: none; }
}

/* ── Print ──────────────────────────────────────────────────────────────── */
@media print {
  .bar, .wa, .consent, .hero__cue, .form, .foot__links, .skip, .link-row__icon { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section, .foot { background: #fff !important; color: #000 !important; padding-block: 1.5rem; }
  .section--dark, .foot { border-top: 1px solid #ccc; }
  .contact__lede, .status__note, .foot__meta, .entry__body, .note__body, .prose p { color: #222 !important; }
  .hero { min-height: 0; page-break-after: avoid; }
  .hero__media { max-height: 8cm; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .section__grid, .contact__grid { display: block; }
  .label { margin-bottom: .5rem; }
}
