/* ============================================================
   LA FERMATA SEOUL — design tokens
   ink   : 먹빛 배경 (near-black, warm)
   paper : 한지 톤 (warm off-white text)
   ash   : 잔향의 회색 (secondary text)
   ember : 향의 불씨 (accent)
   line  : hairline dividers
   brass : rare accent for active / focus states
   ============================================================ */
:root {
  --ink: #2B2C2F;
  --ink-deep: #1D1E20;
  --paper: #EDE7DC;
  --ash: #C9C2B1;
  --ember: #C25E3A;
  --line: #4A463C;
  --brass: #B79A5C;

  --serif: "IBM Plex Serif", "Noto Serif KR", serif;
  --sans: "IBM Plex Sans KR", "IBM Plex Sans", -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --gutter: clamp(24px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, var(--ink-deep) 100%);
  opacity: .55;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  mix-blend-mode: normal;
}

.nav__mark { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; gap: 5px; }
.nav__logo {
  height: 15px;
  width: auto;
  display: block;
}
.nav__city {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--ash);
}

.nav__menu {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
}
.nav__menu a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--paper);
  position: relative;
  padding-bottom: 4px;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 1px;
  background: var(--ember);
  transition: width .35s ease;
}
.nav__menu a:hover::after,
.nav__menu a:focus-visible::after { width: 100%; }
.nav__menu a.is-current { color: var(--paper); }
.nav__menu a.is-current::after { width: 100%; }
.nav__menu a:focus-visible { outline: 1px solid var(--brass); outline-offset: 4px; }

.nav__right {
  display: flex;
  align-items: center;
}

.nav__lang {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--ash);
  border: 1px solid var(--line);
  padding: 5px 10px;
  margin-left: clamp(14px, 2vw, 28px);
  flex-shrink: 0;
}
.nav__lang:hover,
.nav__lang:focus-visible { color: var(--paper); border-color: var(--ember); }

.nav__toggle {
  display: none;
  width: 32px; height: 22px;
  background: none; border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 0;
}
.nav__toggle span {
  display: block;
  height: 1px;
  background: var(--paper);
  width: 100%;
}
.nav__toggle:focus-visible { outline: 1px solid var(--brass); outline-offset: 4px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: var(--ink-deep);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.mobile-menu.is-open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-menu a {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: .28em;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--gutter) 60px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  filter: sepia(.24) saturate(.8) brightness(.94) contrast(1.02);
  animation: heroCrossfade 18s ease-in-out infinite;
}
.hero__bg-img--1 { animation-delay: 0s; }
.hero__bg-img--2 { animation-delay: -9s; }

@keyframes heroCrossfade {
  0%, 42%  { opacity: 1; }
  50%, 92% { opacity: 0; }
  100%     { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg-img { animation: none; }
  .hero__bg-img--1 { opacity: 1; }
  .hero__bg-img--2 { opacity: 0; }
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(29,30,32,.52) 0%, rgba(29,30,32,.32) 32%, rgba(29,30,32,.44) 68%, rgba(29,30,32,.68) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .32em;
  color: var(--paper);
  margin: 0 0 22px;
}

.hero__word {
  margin: 0;
  line-height: 0;
}
.hero__logo {
  width: clamp(220px, 34vw, 480px);
  height: auto;
  display: block;
}

.hero__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(17px, 2.4vw, 22px);
  color: var(--paper);
  margin: 22px 0 10px;
}

.hero__sub {
  font-size: 13px;
  color: var(--paper);
  letter-spacing: .02em;
  margin: 0;
}

.hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: opacity .4s ease;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--ember), transparent);
}
.hero__scroll-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--ash);
}
.hero__scroll.is-hidden { opacity: 0; }

/* ---------- pillars ---------- */
.pillars {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.pillar {
  padding: 46px 28px 40px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease, background-color .3s ease;
}
.pillar:last-child { border-right: none; }
.pillar.is-visible { opacity: 1; transform: translateY(0); }
.pillar:hover, .pillar:focus-visible {
  background: rgba(185, 80, 47, .06);
  outline: none;
}

.pillar__kr {
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: .14em;
  color: var(--paper);
}
.pillar__desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ash);
  margin: 6px 0 4px;
  min-height: 42px;
}
.pillar__arrow {
  font-family: var(--serif);
  color: var(--ember);
  font-size: 16px;
  transition: transform .3s ease;
}
.pillar:hover .pillar__arrow { transform: translateX(6px); }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 54px var(--gutter) 46px;
  border-top: 1px solid var(--line);
}
.site-footer__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}
.site-footer__logo { height: 12px; width: auto; opacity: .85; }
.site-footer__mark span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .28em;
  color: var(--ash);
}
.site-footer__addr, .site-footer__copy {
  font-size: 11px;
  color: var(--ash);
  margin: 4px 0;
}
.site-footer__contact {
  font-size: 11px;
  margin: 4px 0;
}
.site-footer__contact a {
  color: var(--ember);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-footer__contact a:hover,
.site-footer__contact a:focus-visible { border-color: var(--ember); }

/* ---------- inner page hero ---------- */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 168px var(--gutter) 64px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: sepia(.24) saturate(.8) brightness(.94) contrast(1.02);
}
.page-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(29,30,32,.5) 0%, rgba(29,30,32,.38) 40%, rgba(29,30,32,.62) 100%);
}
.page-hero__content {
  position: relative;
  z-index: 1;
}
.page-hero__eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .32em;
  color: var(--paper);
  margin: 0 0 14px;
}
.page-hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 6vw, 56px);
  letter-spacing: .04em;
  margin: 0 0 16px;
}
.page-hero__desc {
  font-size: 13.5px;
  color: var(--paper);
  opacity: .92;
  max-width: 46ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- generic content section ---------- */
.shop-section {
  position: relative;
  z-index: 1;
  padding: 72px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.section-head { margin-bottom: 40px; }
.section-head__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: .03em;
  margin: 0 0 10px;
  color: var(--paper);
}
.section-head__label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--ash);
}

/* ---------- tabs ---------- */
.shop-tabs {
  display: flex;
  gap: clamp(10px, 3vw, 28px);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.shop-tab {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ash);
  padding: 0 0 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  position: relative;
}
.shop-tab span {
  font-family: var(--sans);
  letter-spacing: 0;
  font-size: 11.5px;
  color: var(--ash);
}
.shop-tab::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.shop-tab.is-active { color: var(--paper); }
.shop-tab.is-active::after { transform: scaleX(1); }
.shop-tab:focus-visible { outline: 1px solid var(--brass); outline-offset: 4px; }

.shop-panel { display: none; }
.shop-panel.is-active { display: block; }
.shop-panel__desc {
  font-size: 13px;
  color: var(--ash);
  max-width: 56ch;
  line-height: 1.7;
  margin: 0 0 32px;
}

/* ---------- edition cards ---------- */
.edition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.edition-card {
  background: var(--ink);
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.edition-card__visual {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.bottle-icon {
  width: 46px;
  height: auto;
  fill: none;
  stroke: var(--ash);
  stroke-width: 1.1;
}
.edition-card__visual--dashed {
  border: 1px dashed var(--line);
}
.edition-card__visual--dashed span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--ash);
}
.edition-card__num {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  color: var(--ember);
}
.edition-card__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 17px;
  margin: 0;
  color: var(--paper);
}
.edition-card__note {
  font-size: 11.5px;
  color: var(--ash);
  line-height: 1.6;
  margin: 0;
}
.edition-card--soon { opacity: .7; }

/* ---------- boutique (offline shop) ---------- */
.boutique {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.boutique__elevation {
  position: relative;
  background: var(--ink-deep);
  border: 1px solid var(--line);
  padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px) 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.boutique__elevation img {
  width: 100%;
  max-width: 920px;
  height: auto;
  opacity: .92;
}
.boutique__elevation-cap {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .28em;
  color: var(--ash);
}
.boutique__eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .28em;
  color: var(--ember);
  margin: 0 0 10px;
}
.boutique__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 30px);
  margin: 0 0 14px;
}
.boutique__desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--paper);
  opacity: .85;
  margin: 0 0 24px;
  max-width: 60ch;
}
.boutique__meta {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  border-top: 1px solid var(--line);
  max-width: 520px;
}
.boutique__meta li {
  display: flex;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--ash);
}
.boutique__meta li span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--ash);
  width: 64px;
  flex-shrink: 0;
  padding-top: 1px;
}
.boutique__cta {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--paper);
  border-bottom: 1px solid var(--ember);
  padding-bottom: 4px;
}

@media (max-width: 760px) {
  .edition-grid { grid-template-columns: 1fr 1fr; }
  .edition-grid > :last-child { grid-column: span 2; }
}
@media (max-width: 480px) {
  .edition-grid { grid-template-columns: 1fr; }
  .edition-grid > :last-child { grid-column: span 1; }
}

/* ============================================================
   small-text legibility pass — slightly larger size +
   soft white glow (선/outline) so muted small text reads
   clearly over photo backgrounds and dark panels
   ============================================================ */
.nav__city,
.nav__menu a,
.hero__eyebrow,
.hero__sub,
.hero__scroll-label,
.pillar__desc,
.site-footer__mark span,
.site-footer__addr,
.site-footer__copy,
.page-hero__eyebrow,
.page-hero__desc,
.section-head__label,
.shop-tab,
.shop-tab span,
.shop-panel__desc,
.edition-card__num,
.edition-card__note,
.boutique__elevation-cap,
.boutique__eyebrow,
.boutique__meta li,
.boutique__meta li span,
.boutique__cta {
  text-shadow: 0 0 3px rgba(255,255,255,.5), 0 0 1px rgba(255,255,255,.65);
}

.nav__city { font-size: 10px; }
.nav__menu a { font-size: 12px; }
.hero__eyebrow { font-size: 11.5px; }
.hero__sub { font-size: 14px; }
.hero__scroll-label { font-size: 10px; }
.pillar__desc { font-size: 13.5px; }
.site-footer__mark span { font-size: 11px; }
.site-footer__addr,
.site-footer__copy { font-size: 12px; }
.page-hero__eyebrow { font-size: 11.5px; }
.page-hero__desc { font-size: 14.5px; }
.section-head__label { font-size: 12px; }
.shop-tab { font-size: 13px; }
.shop-tab span { font-size: 12.5px; }
.shop-panel__desc { font-size: 14px; }
.edition-card__num { font-size: 11.5px; }
.edition-card__note { font-size: 12.5px; }
.boutique__elevation-cap { font-size: 10.5px; }
.boutique__eyebrow { font-size: 11.5px; }
.boutique__meta li { font-size: 13px; }
.boutique__meta li span { font-size: 11px; }
.boutique__cta { font-size: 12px; }
.boutique__desc { font-size: 14px; }

.hero__eyebrow,
.hero__sub,
.page-hero__eyebrow,
.page-hero__desc,
.nav__word,
.nav__city,
.nav__menu a,
.nav__toggle span {
  text-shadow: 0 0 6px rgba(0,0,0,.55), 0 0 3px rgba(255,255,255,.6), 0 0 1px rgba(255,255,255,.8);
}

.nav__menu a.is-current { color: var(--ember); }

/* ---------- heritage: intro line + timeline ---------- */
.heritage-intro {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(19px, 2.6vw, 26px);
  color: var(--paper);
  text-align: center;
  max-width: 44ch;
  margin: 0 auto 56px;
}

.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 32px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.timeline__era {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 108px;
  gap: 28px;
  align-items: start;
}

.timeline__sketch {
  grid-column: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}
.timeline__sketch svg {
  width: 84px;
  height: 84px;
  fill: none;
  stroke: var(--ash);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .75;
}
.timeline__era--now .timeline__sketch svg {
  stroke: var(--paper);
  opacity: 1;
}

.timeline__marker {
  position: absolute;
  left: -37px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 4px var(--ink);
}

.timeline__period {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--ember);
  margin-bottom: 8px;
}

.timeline__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(19px, 2.4vw, 24px);
  color: var(--paper);
  margin: 0 0 14px;
}

.timeline__text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--paper);
  opacity: .82;
  margin: 0;
  max-width: 62ch;
}

.timeline__era--now .timeline__marker {
  background: var(--paper);
  box-shadow: 0 0 0 4px var(--ink), 0 0 12px rgba(194,94,58,.55);
}
.timeline__era--now .timeline__period { color: var(--paper); }

.heritage-placeholder {
  text-align: center;
  font-style: italic;
  font-size: 13px;
  color: var(--ash);
  padding: 20px 0 8px;
}

.heritage-lead { text-align: center; margin-bottom: 56px; }
.heritage-lead .heritage-intro { margin: 0 0 14px; }
.heritage-subtitle {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--ember);
}

.essay {
  max-width: 66ch;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.essay__chapter {
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.essay__chapter:first-child {
  padding-top: 0;
  border-top: none;
}
.essay__num {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--ember);
  margin-bottom: 10px;
}
.essay__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(19px, 2.4vw, 24px);
  color: var(--paper);
  margin: 0 0 16px;
}
.essay__chapter p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--paper);
  opacity: .82;
  margin: 0 0 14px;
}
.essay__chapter p:last-child { margin-bottom: 0; }

.essay__closing {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 2.4vw, 23px);
  color: var(--paper);
  text-align: center;
  max-width: 40ch;
  margin: 64px auto 0;
  line-height: 1.65;
}

/* ---------- episodes ---------- */
.episodes {
  max-width: 66ch;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.episode__head {
  text-align: center;
  margin-bottom: 44px;
}
.episode__num {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--ember);
  margin-bottom: 14px;
}
.episode__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 4.4vw, 44px);
  color: var(--paper);
  margin: 0 0 12px;
}
.episode__subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ash);
  margin: 0;
}
.episode__body {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.episode__part-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--paper);
  margin: 0 0 12px;
}
.episode__part p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--paper);
  opacity: .82;
  margin: 0 0 12px;
}
.episode__part p:last-child { margin-bottom: 0; }

.episode__signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ember);
  text-align: center;
  margin: 40px 0 0;
  letter-spacing: .02em;
}

/* ---------- concierge forms ---------- */
.concierge-desc {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--paper);
  opacity: .82;
  max-width: 60ch;
  margin: 0 0 40px;
}

.concierge-form {
  max-width: 760px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { margin-bottom: 24px; }

.form-field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--ash);
}
.form-field label .req { color: var(--ember); margin-left: 3px; }

.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  padding: 10px 2px;
  outline: none;
  transition: border-color .25s ease;
  resize: vertical;
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23C9C2B1' stroke-width='1.3'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 20px;
}
.form-field select option { background: var(--ink); color: var(--paper); }

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ash); opacity: .7; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--ember); }

.form-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.form-note {
  font-size: 11.5px;
  color: var(--ash);
  line-height: 1.7;
  margin: 0;
  max-width: 52ch;
}

.btn-primary {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--paper);
  background: var(--ember);
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  transition: background-color .25s ease, transform .25s ease;
}
.btn-primary:hover { background: #d4693f; transform: translateX(2px); }
.btn-primary:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav__menu { display: none; }
  .nav__toggle { display: flex; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar { border-bottom: 1px solid var(--line); }
  .pillar:nth-child(2n) { border-right: none; }
}

@media (max-width: 520px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; }
}

@media (max-width: 700px) {
  .timeline__era { grid-template-columns: 1fr; }
  .timeline__sketch { display: none; }
}

/* ---------- small-screen phone refinements ---------- */
@media (max-width: 560px) {
  .hero { padding: 96px 20px 48px; }
  .page-hero { padding: 128px 20px 48px; }
  .hero__scroll { bottom: 24px; }
  .shop-section { padding: 52px 20px; }
  .section-head { margin-bottom: 28px; }
  .episode__title { font-size: clamp(26px, 8vw, 34px); }
  .episode__head { margin-bottom: 32px; }
  .episodes { gap: 56px; }
  .essay { gap: 36px; }
  .edition-card { padding: 24px 16px 20px; }
  .boutique__elevation { padding: 20px 16px 16px; }
  .form-foot { align-items: stretch; }
  .btn-primary { width: 100%; text-align: center; }
  .nav { padding: 18px 20px; }
}
