/* ============================================================
   ADM HAIR STUDIO + SPA — Design System
   Aesthetic: "Espresso Satin" — deep espresso brown, ivory,
   brand gold (#9B804A from ADM's Square theme), fashion serif.
   Everything is tunable from the :root block below.
   ============================================================ */

:root {
  /* Palette */
  --ink:        #241a14;   /* deepest espresso — text on light   */
  --espresso:   #2e211a;   /* dark section backgrounds           */
  --cocoa:      #4a372b;   /* mid brown — borders on dark        */
  --taupe:      #8c7b69;   /* muted secondary text               */
  --gold:       #9b804a;   /* ADM brand gold                     */
  --gold-bright:#c3a768;   /* gold hover / on-dark accents       */
  --ivory:      #f6f1e9;   /* page background                    */
  --cream:      #fdfaf5;   /* cards on ivory                     */
  --white:      #ffffff;

  /* Type */
  --font-display: "Italiana", serif;
  --font-body: "Jost", sans-serif;
  --fs-hero:  clamp(2.6rem, 7vw, 5.2rem);
  --fs-h2:    clamp(2rem, 4.5vw, 3.2rem);
  --fs-h3:    clamp(1.3rem, 2.4vw, 1.7rem);
  --fs-body:  clamp(1rem, 1.1vw, 1.0625rem);
  --fs-small: 0.875rem;

  /* Spacing scale (8px base) */
  --s-1: 0.5rem;  --s-2: 1rem;   --s-3: 1.5rem; --s-4: 2rem;
  --s-5: 3rem;    --s-6: 4rem;   --s-7: 6rem;   --s-8: 8rem;

  /* Misc */
  --radius: 2px;                    /* near-square = tailored, not bubbly */
  --shadow: 0 18px 45px -18px rgba(36, 26, 20, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 180ms var(--ease);
  --t-med:  280ms var(--ease);
  --container: 1240px;
  --header-h: 92px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--ink); }

/* Anchored sections clear the sticky header */
section[id], [id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Visible focus for keyboard users */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection { background: var(--gold); color: var(--white); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; letter-spacing: 0.01em; }
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-2);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.lede { font-size: 1.125rem; color: var(--taupe); max-width: 58ch; }

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--s-7); }
.section--dark { background: var(--espresso); color: var(--ivory); }
.section--dark .lede { color: #b9a996; }
.section--cream { background: var(--cream); }

.section-head { max-width: 720px; margin-bottom: var(--s-5); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;              /* comfortable touch target */
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--t-med), color var(--t-med), border-color var(--t-med), transform var(--t-fast);
}
.btn:active { transform: translateY(1px); }

.btn--solid { background: var(--gold); color: var(--white); }
.btn--solid:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.section--dark .btn--solid:hover,
.hero .btn--solid:hover { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--cocoa); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--ghost-light { background: transparent; color: var(--ivory); border-color: rgba(246, 241, 233, 0.45); }
.btn--ghost-light:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--t-med), box-shadow var(--t-med), height var(--t-med);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

/* Transparent over the dark hero; solid after scrolling */
.site-header--top { background: transparent; }
.site-header--scrolled {
  height: 70px;
  background: rgba(253, 250, 245, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(36, 26, 20, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.14em;
  color: var(--ivory);
  transition: color var(--t-med);
}
.brand__mark {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(195, 167, 104, 0.5);
  flex-shrink: 0;
  transition: width var(--t-med), height var(--t-med), box-shadow var(--t-med);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.6);
}
.site-header--scrolled .brand__mark { width: 52px; height: 52px; }
.footer-brand .brand__mark { width: 52px; height: 52px; box-shadow: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }

/* Screen-reader-only text (keeps the brand name for assistive tech + SEO) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.brand__text .brand__name { font-size: 1.55rem; }
.site-header--scrolled .brand,
.site-header--solid .brand { color: var(--ink); }

.nav { display: flex; align-items: center; gap: var(--s-4); }
.nav a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  position: relative;
  padding-block: 6px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-med);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a:hover { color: var(--gold-bright); }
.site-header--scrolled .nav a,
.site-header--solid .nav a { color: var(--ink); }
.site-header--scrolled .nav a:hover,
.site-header--solid .nav a:hover { color: var(--gold); }

.nav .btn { min-height: 42px; padding: 0.55rem 1.4rem; }

/* On inner (light) pages the header starts solid */
.site-header--solid { background: rgba(253, 250, 245, 0.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(36,26,20,0.08); }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 130;
}
.nav-toggle span {
  width: 26px; height: 1.5px;
  background: var(--ivory);
  transition: transform var(--t-med), opacity var(--t-med), background var(--t-med);
}
.site-header--scrolled .nav-toggle span,
.site-header--solid .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span { background: var(--ivory); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* Intentionally shorter than the viewport so the info bar and the
     next section peek in below — makes it obvious there's more page. */
  min-height: min(84svh, 800px);
  display: grid;
  align-items: center;
  color: var(--ivory);
  background: var(--espresso);
  overflow: hidden;
  padding-block: calc(var(--header-h) + var(--s-5)) var(--s-6);
}

/* Signature: slow "satin sheen" — layered soft gradients drifting
   across the espresso field, echoing the silk of the ADM logo. */
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(60% 80% at 20% 30%, rgba(155, 128, 74, 0.22), transparent 60%),
    radial-gradient(50% 70% at 80% 20%, rgba(74, 55, 43, 0.85), transparent 65%),
    radial-gradient(70% 60% at 65% 85%, rgba(155, 128, 74, 0.14), transparent 60%),
    linear-gradient(160deg, #241a14 0%, #322319 45%, #241a14 100%);
  animation: satin 22s ease-in-out infinite alternate;
}
@keyframes satin {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(2%, 1.5%, 0) scale(1.05); }
}

/* Fine grain so the dark field doesn't band */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--s-6);
  align-items: center;
}

/* The real ADM logo — circle-cropped; its satin background blends
   into the hero's espresso field. */
.hero__logo {
  width: clamp(96px, 10vw, 130px);
  aspect-ratio: 1;
  margin-bottom: var(--s-4);
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(195, 167, 104, 0.45);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
}

.hero h1 { margin-bottom: var(--s-3); margin-top: 0; }

/* Arch-framed hero image — echoes the salon's arched mirrors/doorways */
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 999px 999px var(--radius) var(--radius);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
}
.hero__media::after {          /* thin gold arch, offset */
  content: "";
  position: absolute;
  inset: -14px -14px 14px 14px;
  border: 1px solid rgba(195, 167, 104, 0.5);
  border-radius: 999px 999px var(--radius) var(--radius);
  pointer-events: none;
}
.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #cbbba5;
  max-width: 52ch;
  margin-bottom: var(--s-5);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-4); }
/* Four equal booking paths: compact, outlined, gold fill on hover */
.hero__cta .btn {
  padding: 0.7rem 1.4rem;
  letter-spacing: 0.18em;
}
.hero__cta .btn--ghost-light:hover,
.hero__cta .btn--ghost-light:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.hero__phone { font-size: 0.95rem; letter-spacing: 0.08em; color: #b9a996; }
.hero__phone a { color: var(--gold-bright); }
.hero__phone a:hover { color: var(--ivory); }

/* ---------- Info bar (address / hours / phone) ---------- */
.info-bar {
  background: var(--ink);
  color: var(--ivory);
  border-top: 1px solid rgba(195, 167, 104, 0.25);
}
.info-bar .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  padding-block: var(--s-3);
}
.info-bar__item { text-align: center; font-size: var(--fs-small); letter-spacing: 0.04em; }
.info-bar__item strong {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 4px;
}
.info-bar__item a { color: var(--ivory); }
.info-bar__item a:hover { color: var(--gold-bright); }

/* ---------- Owners ---------- */
.owners { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-6); align-items: center; }
.owners__photo { position: relative; }
.owners__photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.owners__photo::after {           /* offset gold frame */
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}
.owners__body p + p { margin-top: var(--s-2); }
.owners__body .btn { margin-top: var(--s-4); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2);
}
.service-card {
  background: var(--cream);
  border: 1px solid rgba(36, 26, 20, 0.08);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card h3 { margin-bottom: var(--s-2); }
.service-card ul { list-style: none; margin-block: var(--s-2) var(--s-3); flex: 1; }
.service-card li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(36, 26, 20, 0.07);
  font-size: 0.95rem;
}
.service-card li:last-child { border-bottom: 0; }
.service-card .btn { width: 100%; margin-top: auto; }

/* ---------- Gallery ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1);
  justify-content: center;
  margin-bottom: var(--s-5);
}
.filter-btn {
  min-height: 44px;
  padding: 0.5rem 1.3rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  background: transparent;
  border: 1px solid rgba(36, 26, 20, 0.15);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--t-fast);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2);
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption,
.gallery-item .tag {
  position: absolute;
  left: 10px; bottom: 10px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  background: rgba(36, 26, 20, 0.75);
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity var(--t-med);
}
.gallery-item:hover .tag,
.gallery-item:focus-visible .tag { opacity: 1; }
.gallery-item[hidden] { display: none; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
/* Narrow variants for sections with one or two people */
.team-grid--one { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
.team-grid--two { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
.team-card {
  background: var(--cream);
  border: 1px solid rgba(36, 26, 20, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-card__photo { aspect-ratio: 4 / 5; overflow: hidden; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 600ms var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.04); }
.team-card__body { padding: var(--s-3); text-align: center; display: flex; flex-direction: column; flex: 1; }
.team-card__body h3 { font-size: 1.35rem; }
.team-card__role {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 4px 0 var(--s-2);
}
.team-card__spec {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--s-2);
  line-height: 1.4;
}
.team-card__bio {
  font-size: 0.9rem;
  color: var(--taupe);
  text-align: left;
  line-height: 1.55;
  margin-bottom: var(--s-3);
}
.team-card .btn { width: 100%; min-height: 44px; padding-block: 0.55rem; margin-top: auto; }

/* ---------- Full-bleed image banner (B/W services collage) ---------- */
.banner-strip {
  position: relative;
  overflow: hidden;
}
.banner-strip img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
}

/* ---------- Team group photo (home page) ---------- */
.team-group { max-width: 980px; margin-inline: auto; text-align: center; }
.team-group__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.team-group__photo::after {   /* thin gold inset frame */
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(195, 167, 104, 0.55);
  border-radius: var(--radius);
  pointer-events: none;
}
.team-group .btn { margin-top: var(--s-4); }

/* ---------- Category nav (team page) ---------- */
.cat-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-1);
  margin-top: var(--s-4);
}
.cat-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  border: 1px solid rgba(195, 167, 104, 0.45);
  border-radius: var(--radius);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.cat-nav a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* ---------- Specialists (nails / lashes / brows) ---------- */
.specialists { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.specialists--single { max-width: 420px; margin-inline: auto; grid-template-columns: 1fr; }
.spec-group {
  background: var(--cream);
  border: 1px solid rgba(36, 26, 20, 0.08);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--s-5) var(--s-4);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.section--cream .spec-group { background: var(--white); }
.spec-group h3 { font-size: 1.5rem; margin-bottom: 4px; }
.spec-group__tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-3);
}
.spec-group .btn { min-height: 44px; margin-top: auto; }
.spec-group__bio {
  font-size: 0.9rem;
  color: var(--taupe);
  line-height: 1.55;
  margin-bottom: var(--s-3);
  text-align: left;
}

@media (max-width: 760px) {
  .specialists { grid-template-columns: 1fr; }
}

/* ---------- Education strip ---------- */
.education { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s-6); align-items: center; }
.education img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
.review-card {
  background: rgba(253, 250, 245, 0.04);
  border: 1px solid rgba(195, 167, 104, 0.25);
  border-radius: var(--radius);
  padding: var(--s-4);
}
.review-card p { font-size: 1.02rem; }
.review-card footer {
  margin-top: var(--s-3);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

/* ---------- Visit / contact ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); }
.map-wrap {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.85);
}
.hours-table { width: 100%; border-collapse: collapse; margin-block: var(--s-3); }
.hours-table td { padding: 0.55rem 0; border-bottom: 1px solid rgba(36, 26, 20, 0.08); font-size: 0.95rem; }
.hours-table td:last-child { text-align: right; }
.hours-table .today td { color: var(--gold); font-weight: 500; }

.contact-lines { list-style: none; margin-block: var(--s-3); }
.contact-lines li { padding: 0.4rem 0; }
.contact-lines strong {
  display: inline-block;
  min-width: 84px;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: var(--s-2); }
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(36, 26, 20, 0.18);
  border-radius: var(--radius);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(155, 128, 74, 0.18);
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: #a4442c; }
.field-error {
  display: none;
  margin-top: 5px;
  font-size: 0.82rem;
  color: #a4442c;
}
.field.is-invalid .field-error { display: block; }

/* ---------- Modal (custom — never alert/confirm) ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: var(--s-3);
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--t-med), visibility 0s linear 280ms;
}
.modal.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 26, 20, 0.65);
  backdrop-filter: blur(4px);
}
.modal__card {
  position: relative;
  width: min(100%, 560px);
  max-height: 88svh;
  overflow: auto;
  background: var(--cream);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--s-5);
  box-shadow: var(--shadow);
  transform: translateY(14px) scale(0.98);
  transition: transform var(--t-med);
}
.modal.is-open .modal__card { transform: none; }
.modal__card h3 { margin-bottom: var(--s-2); }
.modal__actions { display: flex; gap: var(--s-2); margin-top: var(--s-4); flex-wrap: wrap; }
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--taupe);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color var(--t-fast);
}
.modal__close:hover { color: var(--ink); }

/* Lightbox variant */
.modal--lightbox .modal__card {
  width: auto;
  max-width: min(92vw, 720px);
  padding: 0;
  background: var(--ink);
  border-top: 0;
}
.modal--lightbox img { max-height: 82svh; width: auto; margin-inline: auto; }
.modal--lightbox .modal__close { color: var(--ivory); background: rgba(36,26,20,0.6); border-radius: 50%; }

/* ---------- Toasts ---------- */
.toast-region {
  position: fixed;
  right: var(--s-3);
  bottom: var(--s-3);
  z-index: 300;
  display: grid;
  gap: var(--s-1);
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  max-width: 92vw;
  padding: 0.9rem 1.2rem;
  background: var(--ink);
  color: var(--ivory);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  animation: toast-in 320ms var(--ease);
}
.toast--error { border-left-color: #a4442c; }
.toast.is-leaving { animation: toast-out 260ms var(--ease) forwards; }
@keyframes toast-in  { from { transform: translateX(24px); opacity: 0; } }
@keyframes toast-out { to   { transform: translateX(24px); opacity: 0; } }

/* ---------- Scroll reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Scroll progress (long pages) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 120;
  height: 2px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--gold);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--espresso);
  color: var(--ivory);
  padding: calc(var(--header-h) + var(--s-6)) 0 var(--s-6);
  text-align: center;
}
.page-hero .lede { margin: var(--s-2) auto 0; }

/* ---------- Policy page ---------- */
.policy-card {
  max-width: 760px;
  margin-inline: auto;
  background: var(--cream);
  border: 1px solid rgba(36, 26, 20, 0.08);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: var(--s-5);
}
.policy-card ul { margin: var(--s-3) 0 var(--s-3) 1.2rem; }
.policy-card li { padding: 0.35rem 0; }

/* ---------- 404 ---------- */
.page-404 {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--espresso);
  color: var(--ivory);
  padding: var(--s-4);
}
.page-404 h1 { font-size: clamp(4rem, 14vw, 8rem); color: var(--gold-bright); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--taupe); padding-block: var(--s-6) var(--s-4); }
.site-footer a { color: var(--ivory); }
.site-footer a:hover { color: var(--gold-bright); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid rgba(246, 241, 233, 0.1);
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: var(--s-2);
}
.footer-grid ul { list-style: none; }
.footer-grid li { padding: 0.28rem 0; font-size: 0.95rem; }
.footer-brand p { max-width: 34ch; font-size: 0.95rem; }
.footer-brand .brand { color: var(--ivory); margin-bottom: var(--s-2); display: inline-flex; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-2);
  padding-top: var(--s-3);
  font-size: 0.82rem;
}
.socials { display: flex; gap: var(--s-2); }
.socials a {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 241, 233, 0.2);
  border-radius: 50%;
  transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.socials a:hover { border-color: var(--gold-bright); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

/* ============================================================
   Responsive — mobile-first overrides (base is desktop-simple;
   these collapse cleanly at tablet & mobile)
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--s-5); text-align: center; }
  .hero__logo { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__media { max-width: 420px; margin-inline: auto; width: 100%; }
  .hero__media img { max-height: 440px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid--one { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .owners, .education, .visit { grid-template-columns: 1fr; gap: var(--s-5); }
  .owners__photo { max-width: 480px; }
}

@media (max-width: 760px) {
  .section { padding-block: var(--s-6); }

  /* Nav collapses to full-screen overlay */
  .nav {
    position: fixed;
    inset: 0;
    z-index: 120;
    flex-direction: column;
    justify-content: center;
    gap: var(--s-4);
    background: var(--espresso);
    visibility: hidden;
    opacity: 0;
    transition: opacity var(--t-med), visibility 0s linear 280ms;
  }
  .nav.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
  .nav a { color: var(--ivory) !important; font-size: 1rem; }
  .nav-toggle { display: flex; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-1); }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
  .team-grid--one, .team-grid--two { grid-template-columns: 1fr; max-width: 420px; }
  .services-grid, .reviews-grid { grid-template-columns: 1fr; }
  .info-bar .container { grid-template-columns: 1fr; gap: var(--s-2); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-4); }
  .hero__cta .btn { width: 100%; }
  .team-card__body { padding: var(--s-2); }
  .modal__card { padding: var(--s-4); }
}

/* ---------- Reduced motion: calm everything down ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
