/* =========================================================
   AR Salon & Spa — landing page
   Display: Fraunces (soft, light)   Body: Hanken Grotesk
   ========================================================= */

:root {
  /* palette */
  --blush:      #F2E4DC;   /* page ground */
  --shell:      #FAF4F0;   /* lighter panels */
  --powder:     #E7CFC4;   /* hairline accents on light */
  --clay:       #DDBFB2;   /* solid quote band */
  --rose:       #8E544A;   /* the one accent — used sparingly */
  --rose-soft:  #D9A99B;   /* accent on dark */
  --cocoa:      #2A1E1B;   /* dark sections */
  --cocoa-2:    #3A2A25;
  --ink:        #34261F;
  --muted:      #75625A;
  --on-dark:    #F2E4DC;
  --on-dark-2:  #BBA59B;
  --line:       rgba(52, 38, 31, 0.16);
  --line-dark:  rgba(242, 228, 220, 0.16);

  /* type */
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans:  "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* layout */
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --maxw: 1320px;
  --sec: clamp(5.5rem, 11vw, 10rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 300; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 2px;
}
.dark :focus-visible,
.hero :focus-visible,
.site-header:not(.scrolled) :focus-visible { outline-color: var(--rose-soft); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--cocoa); color: var(--on-dark);
  text-decoration: none; font-size: 0.875rem;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- shared type ---------- */

.serif, .hero-title, .statement, .h2, .menu-name, .band-quote,
.ritual-title, .price, .footer-mark, .brand-mono {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 100, "WONK" 0;
}

em { font-style: italic; }

.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--rose);
}
.eyebrow .num::after {
  content: "";
  display: inline-block;
  width: 2.25rem;
  height: 1px;
  margin-left: 0.9rem;
  vertical-align: middle;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow-light { color: var(--on-dark-2); }
.eyebrow-light .num { color: var(--rose-soft); }

.h2 {
  font-size: clamp(2.4rem, 5.2vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.h2 em { color: var(--rose); }
.dark .h2 em { color: var(--rose-soft); }

.cap-line {
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  margin-right: 0.75rem;
  vertical-align: middle;
  background: currentColor;
}
figcaption {
  margin-top: 1rem;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.dark figcaption { color: var(--on-dark-2); }

/* ---------- buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn-solid { background: var(--blush); color: var(--cocoa); }
.btn-solid:hover { background: var(--shell); }
.btn-dark { background: var(--cocoa); color: var(--on-dark); }
.btn-dark:hover { background: var(--rose); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid currentColor;
}
.link-arrow span { transition: transform 0.35s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }
.link-light { color: var(--on-dark); }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--on-dark);
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.site-header.scrolled,
.site-header.menu-open {
  background: var(--blush);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 5.25rem;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}
.brand-arch {
  position: absolute;
  left: -0.45rem;
  top: 50%;
  width: 2.6rem;
  height: 3.1rem;
  transform: translateY(-54%);
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  opacity: 0.7;
}
.brand-mono {
  width: 1.7rem;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transform: translateY(0.2rem);
}
.brand-word {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 2.25rem;
  margin-left: auto;
}
.nav a {
  position: relative;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding-block: 0.4rem;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }

.header-cta { min-height: 2.75rem; padding: 0.6rem 1.35rem; }
.header-cta:hover { background: var(--on-dark); color: var(--cocoa); border-color: var(--on-dark); }
.site-header.scrolled .header-cta:hover { background: var(--cocoa); color: var(--on-dark); border-color: var(--cocoa); }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 1.6rem;
  height: 1px;
  margin: 0.45rem auto;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}
.menu-open .menu-toggle span:first-child { transform: translateY(0.25rem) rotate(45deg); }
.menu-open .menu-toggle span:last-child  { transform: translateY(-0.25rem) rotate(-45deg); }

.mobile-menu {
  padding: 1rem var(--gutter) 2.5rem;
  background: var(--blush);
  border-top: 1px solid var(--line);
}
.mobile-menu nav { display: grid; }
.mobile-menu a {
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: 1.75rem;
  font-weight: 300;
  text-decoration: none;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--on-dark);
  background: var(--cocoa);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
  animation: settle 2.4s var(--ease) both;
}
/* dark gradient top (nav) AND bottom (headline) */
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(30, 20, 17, 0.62) 0%,
      rgba(30, 20, 17, 0.18) 20%,
      rgba(30, 20, 17, 0) 36%,
      rgba(30, 20, 17, 0.18) 52%,
      rgba(30, 20, 17, 0.66) 74%,
      rgba(30, 20, 17, 0.86) 100%);
}
@keyframes settle {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

.hero-content {
  position: relative;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.hero .eyebrow {
  color: rgba(250, 244, 240, 0.9);
  text-shadow: 0 1px 12px rgba(30, 20, 17, 0.45);
}
.hero-title {
  font-size: clamp(3.3rem, 8.6vw, 8.25rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  max-width: 11ch;
}
.hero-title em { font-weight: 300; color: var(--powder); }
.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem 3rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.hero-lede {
  max-width: 30rem;
  font-size: 1.0625rem;
  color: rgba(250, 244, 240, 0.88);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }

.hero-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.1rem 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 244, 240, 0.72);
}
.hero-bar::before {
  content: "";
  position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: var(--line-dark);
}
.hero-bar-mid { flex: 1; }

/* ---------- sections ---------- */

.section { padding-block: var(--sec); }
.dark { background: var(--cocoa); color: var(--on-dark); }

/* arch = signature mirror frame */
.arch {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 9999px 9999px 0 0;
  overflow: hidden;
  background: var(--powder);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch::after {
  /* faint blush wash so cool studio backdrops sit in the warm palette */
  content: "";
  position: absolute; inset: 0;
  background: var(--powder);
  mix-blend-mode: multiply;
  opacity: 0.28;
  pointer-events: none;
}
.studio-figure,
.detail-figure { position: relative; }
.studio-figure::before,
.detail-figure::before {
  /* thin outline arch, offset like a vanity-mirror frame */
  content: "";
  position: absolute;
  top: -0.9rem; left: -0.9rem; right: 0.9rem;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--rose);
  border-bottom: 0;
  border-radius: 9999px 9999px 0 0;
  opacity: 0.45;
  pointer-events: none;
}
.arch-tall { aspect-ratio: 2 / 3; }
.detail-figure::before { aspect-ratio: 2 / 3; left: 0.9rem; right: -0.9rem; }

/* 01 studio */
.studio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 var(--gutter);
  align-items: start;
}
.studio-text { grid-column: 1 / span 7; }
.studio-figure { grid-column: 9 / span 4; margin-top: 5rem; }

.statement {
  font-size: clamp(1.95rem, 3.5vw, 3.15rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
}
.statement em { color: var(--rose); }

.studio-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  color: var(--muted);
}

.expect {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.expect li {
  padding: 1.25rem 1.25rem 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
}
.expect li + li { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.expect span {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--rose);
}

/* 02 services — plain list */
.services-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 var(--gutter);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.services-head .eyebrow { grid-column: 1 / -1; }
.services-head .h2 { grid-column: 1 / span 7; }
.services-note {
  grid-column: 9 / span 4;
  font-size: 0.9rem;
  color: var(--on-dark-2);
}

.menu-list { border-bottom: 1px solid var(--line-dark); }
.menu-row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 2fr) 8.5rem;
  gap: 2rem;
  align-items: center;
  padding-block: 1.9rem;
  border-top: 1px solid var(--line-dark);
}
.menu-name {
  font-size: clamp(2.4rem, 4.6vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.4s var(--ease), transform 0.5s var(--ease);
}
.menu-row:hover .menu-name { color: var(--rose-soft); transform: translateX(0.5rem); font-style: italic; }
.menu-desc { color: var(--on-dark-2); font-size: 0.975rem; max-width: 30rem; }
.menu-meta {
  display: grid;
  gap: 0.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.menu-meta span + span { color: var(--on-dark-2); }
.menu-thumb {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 9999px 9999px 0 0;
  opacity: 0.88;
  transition: opacity 0.4s var(--ease);
}
.menu-row:hover .menu-thumb { opacity: 1; }

/* 03 band */
.band {
  background: var(--clay);
  padding-block: clamp(5rem, 10vw, 8.5rem);
  text-align: center;
}
.band .eyebrow { justify-content: center; color: #5E463F; }
.band .eyebrow .num { color: #6E3F37; }
.band-quote {
  margin: 0 auto;
  max-width: 18ch;
  font-size: clamp(2.3rem, 5.6vw, 5rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--cocoa);
}
.band-quote em { color: #6E3F37; }
.band-sign {
  margin-top: 2rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: #5E463F;
}

/* 04 ritual — full-bleed photo panel */
.ritual {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(100vh, 58rem);
  min-height: min(100svh, 58rem);
  background: var(--cocoa);
  color: var(--on-dark);
  overflow: hidden;
}
.ritual-media { position: absolute; inset: 0; }
.ritual-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  filter: saturate(0.62) brightness(0.95); /* calm the candle glow toward the palette */
}
.ritual-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(30, 20, 17, 0.7) 0%,
      rgba(30, 20, 17, 0.2) 22%,
      rgba(30, 20, 17, 0.08) 45%,
      rgba(30, 20, 17, 0.55) 70%,
      rgba(30, 20, 17, 0.9) 100%);
}
.ritual-content {
  position: relative;
  padding-block: 8rem clamp(3.5rem, 7vw, 6rem);
}
.ritual-title {
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.025em;
  max-width: 14ch;
}
.ritual-title em { color: var(--rose-soft); }
.ritual-lede {
  max-width: 34rem;
  margin-top: 1.75rem;
  color: rgba(250, 244, 240, 0.86);
}

/* 05 detail — bare spec table */
.detail { background: var(--shell); }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 var(--gutter);
  align-items: start;
}
.detail-figure { grid-column: 1 / span 4; position: sticky; top: 7.5rem; }
.detail-body { grid-column: 6 / span 7; }
.detail-body .h2 { margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }

.spec {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2.75rem;
}
.spec th, .spec td {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: baseline;
}
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 1px solid var(--line); }
.spec th {
  width: 9.5rem;
  padding-right: 1.5rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec td { font-size: 1rem; }
.spec .spec-min {
  width: 5rem;
  text-align: right;
  font-size: 0.875rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.spec-total th { vertical-align: middle; }
.price {
  font-size: 2.6rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--rose);
}
.price-note { margin-left: 0.75rem; font-size: 0.875rem; color: var(--muted); }

/* 06 space */
.space-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 var(--gutter);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.space-head .eyebrow { grid-column: 1 / -1; }
.space-head .h2 { grid-column: 1 / span 7; }
.space-lede { grid-column: 9 / span 4; color: var(--on-dark-2); }

.space-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 var(--gutter);
  align-items: start;
}
.space-a { grid-column: 1 / span 8; }
.space-a img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.space-b { grid-column: 9 / span 4; margin-top: clamp(4rem, 12vw, 11rem); }
.space-b img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 60%; }

/* 07 visit */
.visit-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3rem var(--gutter);
  align-items: start;
}
.visit-info { grid-column: 1 / span 5; }
.book { grid-column: 7 / span 6; }

.contact {
  display: grid;
  gap: 1.4rem;
  margin: clamp(2.5rem, 4vw, 3.5rem) 0;
}
.contact div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; }
.contact dt, .hours caption {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.2rem;
}
.contact dd { margin: 0; }
.contact a { text-decoration: none; border-bottom: 1px solid var(--powder); }
.contact a:hover { border-color: var(--rose); color: var(--rose); }

.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; padding-bottom: 0.9rem; }
.hours th, .hours td {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  font-weight: 400;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.hours td { text-align: right; }
.hours tr:last-child th, .hours tr:last-child td { color: var(--muted); border-bottom: 1px solid var(--line); }

.book {
  padding: clamp(1.75rem, 4vw, 3.25rem);
  background: var(--shell);
}
.book-intro {
  margin-bottom: 2.25rem;
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 1.3;
}
.field { display: grid; gap: 0.35rem; margin: 0 0 1.75rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.field label, .field legend {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field .opt { margin-left: 0.4rem; letter-spacing: 0.04em; text-transform: none; font-weight: 400; opacity: 0.8; }
.field input, .field textarea {
  width: 100%;
  padding: 0.55rem 0 0.7rem;
  border: 0;
  border-bottom: 1px solid rgba(52, 38, 31, 0.32);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 5rem; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--rose); box-shadow: 0 1px 0 var(--rose); }
.field input[aria-invalid="true"] { border-bottom-color: var(--rose); }

fieldset.choose { border: 0; padding: 0; min-width: 0; }
.choose legend { padding: 0; margin-bottom: 0.9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(52, 38, 31, 0.28);
  border-radius: 999px;
  font-size: 0.875rem;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.chips input:hover + span { border-color: var(--ink); }
.chips input:checked + span { background: var(--cocoa); border-color: var(--cocoa); color: var(--on-dark); }
.chips input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 3px; }

.form-status { margin-top: 1rem; min-height: 1.5rem; font-size: 0.9rem; color: var(--rose); }

/* footer */
.footer { padding-block: 4rem 3rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 2rem;
  align-items: end;
}
.footer-mark {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
}
.footer-mark em { color: var(--rose-soft); }
.footer-tag { margin-top: 0.9rem; font-size: 0.9rem; color: var(--on-dark-2); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; font-size: 0.875rem; }
.footer-nav a { text-decoration: none; color: var(--on-dark-2); }
.footer-nav a:hover { color: var(--on-dark); }
.footer-legal { font-size: 0.8rem; color: var(--on-dark-2); }

/* ---------- reveal motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- responsive ---------- */

@media (max-width: 1060px) {
  .nav { gap: 1.5rem; }
  .menu-row { grid-template-columns: minmax(0, 2.4fr) minmax(0, 4fr) minmax(0, 1.8fr) 7rem; gap: 1.5rem; }
}

@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .header-inner { height: 4.5rem; }

  .studio-text, .studio-figure,
  .services-head .h2, .services-note,
  .detail-figure, .detail-body,
  .space-head .h2, .space-lede,
  .visit-info, .book { grid-column: 1 / -1; }

  .studio-figure { max-width: 26rem; margin: 4.5rem 0 0 auto; width: 78%; }
  .services-note, .space-lede { margin-top: 1.5rem; max-width: 34rem; }

  .detail-figure { position: relative; top: 0; width: 70%; max-width: 24rem; margin: 0 0 4.5rem 0.9rem; }

  .space-a { grid-column: 1 / -1; }
  .space-b { grid-column: 4 / -1; margin-top: 3rem; }

  .footer-inner { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }

  .hero-media img { object-position: 64% 50%; }
  /* on a narrow crop the headline sits over the bright window — deepen the lower wash */
  .hero-media::after {
    background:
      linear-gradient(to bottom,
        rgba(30, 20, 17, 0.62) 0%,
        rgba(30, 20, 17, 0.14) 16%,
        rgba(30, 20, 17, 0.12) 28%,
        rgba(30, 20, 17, 0.58) 44%,
        rgba(30, 20, 17, 0.84) 68%,
        rgba(30, 20, 17, 0.92) 100%);
  }
  .hero-actions { width: 100%; }
  .hero-bar { flex-direction: column; align-items: flex-start; gap: 0.35rem; font-size: 0.66rem; letter-spacing: 0.14em; }
  .hero-bar-mid { display: none; }

  .studio-cols { grid-template-columns: 1fr; gap: 1.25rem; }
  .expect { grid-template-columns: 1fr; }
  .expect li, .expect li + li { padding: 1rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .studio-figure { width: 86%; }

  .menu-row {
    grid-template-columns: minmax(0, 1fr) 5.25rem;
    grid-template-areas:
      "name thumb"
      "desc thumb"
      "meta meta";
    gap: 0.6rem 1.25rem;
    align-items: start;
    padding-block: 1.6rem;
  }
  .menu-name { grid-area: name; }
  .menu-desc { grid-area: desc; }
  .menu-meta { grid-area: meta; display: flex; gap: 1.25rem; margin-top: 0.4rem; }
  .menu-thumb { grid-area: thumb; }
  .menu-row:hover .menu-name { transform: none; }

  .spec tbody { display: block; border-bottom: 1px solid var(--line); }
  .spec tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.3rem 1rem;
    padding-block: 1.05rem;
    border-top: 1px solid var(--line);
  }
  .spec th, .spec td,
  .spec tr:last-child th, .spec tr:last-child td { display: block; width: auto; padding: 0; border: 0; }
  .spec th { grid-column: 1 / -1; }
  .spec td[colspan] { grid-column: 1 / -1; }
  .spec .spec-min { width: auto; }

  .detail-figure { width: 80%; }

  .space-b { grid-column: 3 / -1; }

  .field-row { grid-template-columns: 1fr; }
  .contact div { grid-template-columns: 5.5rem 1fr; }
}
