/* Tara Salon — site styles. "Plaster & Steel".
 *
 * Warm limewash beige, brushed steel, soft indirect light — the salon's own
 * interior. Basalt (dark warm stone) is the ground the silver logo needs; the
 * logo's orange star is the one accent (decoration only on beige — it is
 * 2.3:1 there; readable on basalt at 6.6:1). DESIGN.md holds the rationale. Fonts are self-hosted (fonts/) and cover Mongolian Cyrillic
 * (Ө ө Ү ү, cyrillic-ext) and ₮ (latin-ext).
 */

@font-face {
  font-family: "Geologica";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/geologica-cyrillic-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Geologica";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/geologica-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Geologica";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/geologica-latin-ext-wght-normal.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: "Geologica";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/geologica-latin-wght-normal.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: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-cyrillic-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-cyrillic-500-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-latin-ext-500-normal.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: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-latin-500-normal.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: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-cyrillic-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-cyrillic-600-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-latin-ext-600-normal.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: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/cormorant-garamond-latin-600-normal.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;
}

:root {
  --stone: #2b2622;           /* basalt: header, footer, primary buttons, dark bands */
  --stone-deep: #221e1b;
  --stone-hover: #3d3530;
  --star: #e8985c;            /* the logo's star — accent only */
  --copper: #8a4b25;          /* the star, deepened for text on beige (5.3:1) */
  --ink: #2b2520;
  --muted: #5c524a;
  --line: #d9cec0;
  --steel: #b8b5af;
  --sand: #ebe3d8;            /* deeper limewash: alternating sections, fills */
  --plaster: #f5f0e8;         /* the page */
  --paper-card: #fbf8f3;      /* lit plaster: cards on sand */
  --on-stone: #f3ede4;
  --on-stone-muted: #c9bfb2;
  --danger: #a4262c;
  --steel-edge: linear-gradient(90deg, rgba(184, 181, 175, 0), rgba(214, 211, 205, 0.9) 30%, rgba(160, 156, 150, 0.9) 70%, rgba(184, 181, 175, 0));

  --font-body: "Geologica", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2.1rem, 1.6rem + 2.2vw, 3.2rem);
  --step-4: clamp(2.7rem, 1.8rem + 4.2vw, 5.4rem);

  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --section: clamp(4rem, 3rem + 5vw, 8rem);
  --radius: 14px;
  --header-h: 80px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background-color: var(--plaster);
  /* A faint mineral grain so the beige reads as limewash, not flat paint. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .37 0 0 0 0 .29 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 350;
  line-height: 1.65;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }

/* Scrollbar: a slim brushed-steel thumb in a plaster channel, so it reads as
   part of the room rather than a grey browser strip (desktop browsers; phones
   keep their own overlay scrollbars). */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--sand); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #bdb8b1, #a39d95 55%, #b3aea7);
  border: 3px solid var(--sand); border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(90deg, #9d978f, #857e75 55%, #958f87); }
::-webkit-scrollbar-corner { background: var(--sand); }
/* Firefox has no ::-webkit-scrollbar. Chrome would let these standard
   properties override the styled thumb above, so only Firefox gets them. */
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-width: thin; scrollbar-color: #a39d95 var(--sand); }
}
/* Phones and narrow windows: no visible scrollbar at all — the page still
   scrolls by touch, it just never shows a bar or takes width from the page. */
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  html { scrollbar-width: none; }
  ::-webkit-scrollbar { display: none; width: 0; height: 0; }
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--stone); outline-offset: 3px; border-radius: 2px; }
.on-stone :focus-visible, .site-footer :focus-visible, .site-header :focus-visible { outline-color: var(--star); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--stone); color: var(--on-stone); padding: 0.6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ── Type ─────────────────────────────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-4);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-3);
  line-height: 1.08;
  letter-spacing: -0.005em;
}
.h3 { font-size: var(--step-1); font-weight: 550; line-height: 1.35; }
.lead { font-size: var(--step-1); line-height: 1.6; color: var(--muted); max-width: 38em; }
.on-stone .lead { color: var(--on-stone-muted); }
.small { font-size: var(--step--1); }
.muted { color: var(--muted); }

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.5rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 500; font-size: var(--step-0); line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn--primary {
  background: var(--stone); color: var(--on-stone);
  /* a brushed-steel lip catching the light */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 24px -14px rgba(43, 38, 34, 0.7);
}
.btn--primary:hover { background: var(--stone-hover); }
.btn--light { background: var(--plaster); color: var(--stone); }
.btn--light:hover { background: var(--sand); }
.btn--outline { border-color: rgba(92, 82, 74, 0.45); color: var(--ink); background: rgba(251, 248, 243, 0.5); }
.btn--outline:hover { border-color: var(--stone); background: var(--paper-card); }
.on-stone .btn--outline { color: var(--on-stone); border-color: rgba(243, 237, 228, 0.45); background: transparent; }
.on-stone .btn--outline:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--on-stone); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.btn--block { width: 100%; }

.text-link {
  color: var(--stone); font-weight: 500; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 0.3em;
  text-decoration-color: rgba(43, 38, 34, 0.35);
  transition: text-decoration-color 0.2s;
}
.text-link:hover, .team-call a:hover { text-decoration-color: var(--copper); }
/* A branch not yet taking online bookings: its phone in the team header, styled as the booking link. */
.team-call a {
  color: var(--stone); font-weight: 500; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 0.3em;
  text-decoration-color: rgba(43, 38, 34, 0.35); white-space: nowrap;
}
.on-stone .text-link { color: var(--on-stone); text-decoration-color: rgba(255, 255, 255, 0.4); }

/* ── Header ───────────────────────────────────────────────────────── */
.site-header {
  /* The one place the logo lives: its silver letters were drawn for a dark
     ground, so the header is a band of warm basalt with a brushed-steel edge. */
  position: sticky; top: 0; z-index: 50;
  background:
    radial-gradient(ellipse 50% 160% at 8% 0%, rgba(125, 108, 92, 0.32), transparent 70%),
    var(--stone);
  color: var(--on-stone);
  transition: box-shadow 0.3s var(--ease);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--steel-edge); opacity: 0.55;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(34, 30, 27, 0.8); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: block; flex: none; padding: 4px 0; }
.brand picture { display: block; }
/* Sized by height: the logo is ≈1.85:1, so 56px tall is ≈104px wide. */
.brand img { height: 56px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 0.5rem 0.8rem; text-decoration: none; font-size: 0.95rem; font-weight: 400;
  color: var(--on-stone); border-radius: 6px; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.3rem; height: 1.5px;
  background: var(--star); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { flex: none; }
/* On the basalt band the booking button turns to lit plaster so it stays the
   brightest thing in the header after the logo. */
.site-header .btn--primary { background: var(--on-stone); color: var(--stone); box-shadow: none; }
.site-header .btn--primary:hover { background: #fffaf2; }
.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none;
  align-items: center; justify-content: center; cursor: pointer; border-radius: var(--radius);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 1.5px; background: var(--on-stone); position: relative;
  transition: transform 0.25s var(--ease), background-color 0.2s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { height: 48px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: radial-gradient(ellipse 90% 50% at 20% 0%, rgba(125, 108, 92, 0.25), transparent 70%), var(--stone);
    padding: 1rem var(--gutter) 2rem; overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity 0.2s, visibility 0s 0.2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transition: opacity 0.2s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 1rem 0; font-size: 1.35rem; font-family: var(--font-display); border-bottom: 1px solid rgba(184, 181, 175, 0.2); border-radius: 0; }
  .nav a[aria-current="page"] { color: var(--star); }
  .nav a::after { display: none; }
  .nav .nav-book { margin-top: 1.5rem; }
  .nav .nav-book a {
    display: flex; padding: 0.7rem 1.5rem; font-family: var(--font-body); font-size: 1rem;
    color: var(--stone); background: var(--on-stone); border-bottom: 0; border-radius: 999px; box-shadow: none;
  }
  body.nav-locked { overflow: hidden; }
}
@media (min-width: 961px) { .nav .nav-book { display: none; } }

/* ── Sections ─────────────────────────────────────────────────────── */
.section { padding: var(--section) 0; }
.section--sand { background: var(--sand); }
.section--stone {
  background: radial-gradient(ellipse 60% 70% at 85% 0%, rgba(125, 108, 92, 0.3), transparent 70%), var(--stone);
  color: var(--on-stone);
}
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); max-width: 46rem; }
.section-head--split {
  max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 1rem 2rem;
}
@media (max-width: 720px) { .section-head--split { grid-template-columns: 1fr; } }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  /* soft indirect light washing down a limewash wall */
  background:
    radial-gradient(ellipse 70% 60% at 70% 0%, rgba(255, 251, 245, 0.95), rgba(255, 251, 245, 0) 70%),
    linear-gradient(180deg, var(--plaster), var(--sand));
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: end;
  padding-top: clamp(3rem, 2rem + 5vw, 7rem);
}
.hero-copy { padding-bottom: clamp(3rem, 2rem + 5vw, 7rem); display: grid; gap: 1.6rem; align-content: end; }
.hero-copy .display { max-width: 14ch; }
.hero-copy .lead { max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.4rem; }
.hero-branches {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin-top: 1rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--muted);
}
.hero-branches strong { color: var(--ink); font-weight: 500; display: block; font-size: var(--step-0); }
.hero-media { position: relative; align-self: stretch; display: flex; align-items: flex-end; }
.hero-media picture, .hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 240px 240px 0 0;
}
.hero-media img {
  background: var(--sand);
  /* a thin brushed-steel rim around the arch */
  box-shadow: 0 0 0 1px rgba(160, 156, 150, 0.55), 0 0 0 7px rgba(251, 248, 243, 0.7), 0 0 0 8px rgba(160, 156, 150, 0.35);
}
.hero-star {
  position: absolute; width: 34px; height: 34px; left: -17px; top: 18%; color: var(--star);
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 2.5rem; gap: 2.25rem; }
  .hero-copy { padding-bottom: 0; }
  .hero-media { justify-content: center; }
  .hero-media picture, .hero-media img { max-width: 440px; aspect-ratio: 4 / 4.6; border-radius: 200px 200px 0 0; }
  .hero-star { left: auto; right: 8%; top: 10%; }
}

/* Page load: the one orchestrated moment on the site. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); animation: reveal 0.9s var(--ease) forwards; }
  .reveal-2 { animation-delay: 0.12s; }
  .reveal-3 { animation-delay: 0.24s; }
  .reveal-media { clip-path: inset(100% 0 0 0); animation: rise 1.2s var(--ease) 0.1s forwards; }
  @keyframes reveal { to { opacity: 1; transform: none; } }
  @keyframes rise { to { clip-path: inset(0 0 0 0); } }
}

/* ── Page intro (inner pages) ─────────────────────────────────────── */
.page-intro {
  background:
    radial-gradient(ellipse 60% 90% at 15% 0%, rgba(255, 251, 245, 0.85), rgba(255, 251, 245, 0) 70%),
    var(--sand);
  color: var(--ink); padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0 clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-intro .display { font-size: var(--step-3); max-width: 18ch; }
.page-intro .lead { margin-top: 1rem; }
.page-intro--light { background: var(--sand); color: var(--ink); }
.page-intro--light .lead { color: var(--muted); }

/* ── Branches ─────────────────────────────────────────────────────── */
.branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 0.5rem + 2vw, 2rem); }
@media (max-width: 760px) { .branches { grid-template-columns: 1fr; } }
.branch {
  display: grid; gap: 1.1rem; align-content: start; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--radius);
}
.section--sand .branch { border-color: rgba(217, 206, 192, 0.6); }
.branch h3 { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; line-height: 1.1; }
.branch dl { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.25rem; margin: 0; }
.branch dt { color: var(--muted); font-size: var(--step--1); padding-top: 0.15em; }
.branch dd { margin: 0; }
@media (max-width: 480px) {
  .branch dl { grid-template-columns: 1fr; gap: 0.1rem; }
  .branch dd + dt { margin-top: 0.7rem; }
}
.branch .placeholder { color: var(--muted); font-style: normal; border-bottom: 1px dashed var(--line); }
.branch-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.branch-note { font-size: var(--step--1); color: var(--muted); }

.map-frame {
  position: relative; aspect-ratio: 16 / 10; background: var(--sand); border-radius: var(--radius); overflow: hidden;
  display: grid; place-items: center; text-align: center; padding: 1rem;
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame .btn { position: relative; }
.map-frame p { color: var(--muted); font-size: var(--step--1); max-width: 26em; }

/* ── About / principles ───────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.about-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-copy { display: grid; gap: 1.4rem; }
.about-copy p { max-width: 36em; }
.principles { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.principles li { display: grid; grid-template-columns: 18px 1fr; gap: 0.2rem 0.9rem; }
.principles li::before {
  content: ""; width: 12px; height: 12px; margin-top: 0.45em; grid-row: span 2;
  background: var(--star);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.principles strong { font-weight: 550; }
.principles span { color: var(--muted); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-grid img { max-height: 520px; } }

/* ── Service categories (home) ────────────────────────────────────── */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-list li { border-bottom: 1px solid var(--line); }
.service-list a {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 0.5rem 2rem; align-items: baseline;
  padding: 1.4rem 0; text-decoration: none; transition: background-color 0.2s;
}
.service-list a:hover { background: rgba(235, 227, 216, 0.6); }
.service-list h3 { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; line-height: 1.15; }
.service-list p { color: var(--muted); }
.service-list .price-from { font-size: var(--step--1); color: var(--muted); white-space: nowrap; }
@media (max-width: 760px) {
  .service-list a { grid-template-columns: 1fr; padding: 1.2rem 0; }
}

/* ── Chips (price-list navigation) ───────────────────────────────── */
.chip {
  min-height: 44px; padding: 0.5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--plaster); cursor: pointer; font-size: 0.95rem;
}
.chip:hover { border-color: var(--stone); }
.chip[aria-pressed="true"], .chip.active { background: var(--stone); color: var(--on-stone); border-color: var(--stone); }

/* ── Products duo (home) ──────────────────────────────────────────── */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 0.5rem + 2vw, 2rem); }
.duo a {
  display: grid; gap: 0.6rem; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius); transition: background-color 0.2s;
}
.duo a:hover { background: rgba(255, 255, 255, 0.06); }
.duo h3 { font-family: var(--font-display); font-size: var(--step-3); font-weight: 500; line-height: 1; }
.duo p { color: var(--on-stone-muted); max-width: 30em; }
.duo .go { margin-top: 0.6rem; font-weight: 500; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* ── Booking steps (home) ─────────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 2.5rem; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 0.4rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.steps li::before {
  content: counter(step); font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--copper);
}
.steps strong { font-weight: 550; }
.steps span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; gap: 1.25rem; } }
.policy {
  margin-top: 2.5rem; padding: 1.25rem 1.5rem; background: var(--sand); border-left: 3px solid var(--star);
  border-radius: 0 var(--radius) var(--radius) 0; max-width: 52rem;
  border-left-color: var(--copper);
}

/* ── Price list ───────────────────────────────────────────────────── */
.price-nav { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.price-cat { padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.5rem clamp(2rem, 1rem + 4vw, 5rem); }
.price-cat:first-of-type { border-top: 0; }
.price-cat h2 { font-family: var(--font-display); font-size: var(--step-3); font-weight: 500; line-height: 1.05; }
.price-cat .cat-note { color: var(--muted); margin-top: 0.8rem; max-width: 22em; }
.price-rows { list-style: none; margin: 0; padding: 0; }
.price-rows li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1rem; align-items: baseline;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.price-rows .svc { font-weight: 450; }
.price-rows .svc-note { grid-column: 1; color: var(--muted); font-size: var(--step--1); }
.price-rows .amount { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.price-rows .amount.pending { color: var(--muted); font-size: var(--step--1); border: 1px dashed var(--line); padding: 0.15rem 0.6rem; border-radius: 999px; }
/* Priced by hair length: short / medium / long, each labelled. */
.price-rows li.is-tiered { grid-template-columns: minmax(0, 1fr); }
.price-rows .amount-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.price-rows .tier { display: grid; gap: 0.1rem; padding: 0.45rem 0.6rem; border: 1px solid var(--line); border-radius: 4px; }
.price-rows .tier .amount { text-align: left; }
.price-rows .tier-label { color: var(--muted); font-size: var(--step--1); }
.price-rows .svc-details { grid-column: 1 / -1; }
.price-rows .svc-details-body { margin-top: 0.4rem; padding: 0.9rem 1rem; background: var(--sand); border-radius: 4px; }
.price-rows .svc-details-title { font-weight: 550; margin-bottom: 0.4rem; }
.price-rows .svc-details ul { margin: 0 0 0.5rem; padding-left: 1.1rem; display: grid; gap: 0.2rem; }
@media (max-width: 760px) { .price-cat { grid-template-columns: 1fr; } }
.notice {
  padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--sand); border: 1px dashed #b3a595;
  font-size: 0.95rem;
}

/* ── Footer ───────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  background: radial-gradient(ellipse 50% 80% at 10% 0%, rgba(125, 108, 92, 0.28), transparent 70%), var(--stone-deep);
  color: var(--on-stone); padding: clamp(3.5rem, 3rem + 3vw, 5.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 0.8fr; gap: 2.5rem; }
.footer-logo { width: 160px; height: auto; margin: 0 0 1.25rem; }
.site-footer h2 { font-size: var(--step--1); font-weight: 500; color: var(--on-stone-muted); margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.site-footer p, .site-footer li { font-size: 0.95rem; }
.site-footer .muted-on-stone { color: var(--on-stone-muted); }
.footer-base {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; font-size: var(--step--1); color: var(--on-stone-muted);
}
/* Maker's credit: DalaTech's white wordmark, 19px tall, a little larger than the footer
   text and quieter than Tara's own logo until pointed at. */
.footer-base .footer-credit {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 0.15rem;
  opacity: 0.65; transition: opacity 0.35s ease;
}
.footer-base .footer-credit:hover, .footer-base .footer-credit:focus-visible { opacity: 1; text-decoration: none; }
.footer-base .footer-credit:focus-visible { outline: 2px solid var(--on-stone); outline-offset: 3px; border-radius: 2px; }
.footer-base .footer-credit img { display: block; height: 19px; width: auto; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ── Mobile booking bar ───────────────────────────────────────────── */
.book-bar { display: none; }
@media (max-width: 760px) {
  .book-bar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(245, 240, 232, 0.97); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform 0.3s var(--ease);
  }
  .book-bar.is-visible { transform: none; }
  body.has-book-bar .site-footer { padding-bottom: 6rem; }
}

/* ── Products (Amos, Keune) — kept content, new skin ──────────────── */
.products-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.filter-btn {
  min-height: 44px; padding: 0.45rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--plaster); cursor: pointer; font-size: 0.95rem;
}
.filter-btn:hover { border-color: var(--stone); }
.filter-btn.active { background: var(--stone); border-color: var(--stone); color: var(--on-stone); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.25rem; }
.product-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--plaster); }
.product-image { background: #f7f3ed; aspect-ratio: 1; display: grid; place-items: center; }
.product-image img { width: 100%; height: 100%; object-fit: contain; padding: 0.75rem; }
.product-info { padding: 1rem; display: grid; gap: 0.35rem; align-content: start; }
.product-category { font-size: 0.8rem; color: var(--muted); }
.product-info h3 { font-size: 0.98rem; font-weight: 500; line-height: 1.35; }
.product-price { font-weight: 550; color: var(--copper); font-variant-numeric: tabular-nums; margin-top: 0.3rem; }
.products-pagination { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin-top: 2.5rem; }
.page-btn { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--plaster); cursor: pointer; }
.page-btn.active { background: var(--stone); color: var(--on-stone); border-color: var(--stone); }

.keune-brand-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.keune-brand-img { width: 100%; border-radius: var(--radius); cursor: zoom-in; background: var(--plaster); }
@media (max-width: 640px) { .keune-brand-strip { grid-template-columns: 1fr; } }
.keune-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.keune-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--plaster); display: grid; grid-template-rows: auto 1fr; }

.keune-card-img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f7f3ed; padding: 0.75rem; }
.keune-card-body { padding: 1rem 1.1rem 1.25rem; display: grid; gap: 0.4rem; align-content: start; }
.keune-card-cat { font-size: 0.8rem; color: var(--muted); }
.keune-card-body h3 { font-size: 1.02rem; font-weight: 550; }
.keune-card-desc { font-size: 0.92rem; color: var(--muted); }
.keune-card-badge {
  justify-self: start; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font-size: 0.95rem; color: var(--stone); font-weight: 500; text-decoration: underline; text-underline-offset: 0.3em;
}
.keune-poster img { width: 100%; max-width: 900px; margin: 1.5rem auto 0; border-radius: var(--radius); }
.keune-modal { position: fixed; inset: 0; z-index: 90; display: none; }
.keune-modal.is-open { display: block; }
.keune-modal-backdrop { position: absolute; inset: 0; background: rgba(28, 24, 21, 0.7); }
.keune-modal-body {
  position: relative; margin: 4vh auto; width: min(92vw, 820px); max-height: 92vh; background: var(--plaster);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
}
.keune-modal-scroll { overflow-y: auto; padding: 2rem clamp(1rem, 0.5rem + 2vw, 2rem); }
.keune-modal-close { position: absolute; top: 0.5rem; right: 0.5rem; width: 44px; height: 44px; border: 0; background: var(--sand); border-radius: 999px; font-size: 1.3rem; cursor: pointer; z-index: 1; }
.keune-modal-title { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; padding-right: 3rem; }
.keune-modal-desc { color: var(--muted); margin-top: 0.5rem; }
.keune-sub-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: 0.92rem; }
.keune-sub-table th { text-align: left; font-weight: 500; color: var(--muted); border-bottom: 1px solid var(--line); padding: 0.5rem 0.4rem; }
.keune-sub-table td { border-bottom: 1px solid var(--line); padding: 0.7rem 0.4rem; vertical-align: top; }
.keune-sub-name-mn { color: var(--muted); font-size: 0.85rem; }
.keune-sub-price { white-space: nowrap; font-weight: 550; color: var(--copper); }
.keune-modal-image-wrap img { width: 100%; margin-top: 1.5rem; border-radius: var(--radius); }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
a.chip { display: inline-flex; align-items: center; text-decoration: none; }
@media (min-width: 761px) { .price-cat > div:first-child { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; } }

/* Competitions and training (home) */
.craft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 0.5rem + 1vw, 1.5rem); }
.craft-grid figure { margin: 0; display: grid; gap: 0.6rem; }
.craft-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--sand); }
.craft-grid figcaption { font-size: var(--step--1); color: var(--muted); }
@media (max-width: 760px) {
  .craft-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
  .craft-grid figure { scroll-snap-align: start; }
}

/* ── Imagery ──────────────────────────────────────────────────────────
   Feature photos come from data/imagery.json (one place each) and share one
   frame: the hero's arch, smaller, with the brushed-steel rim. A place with
   no photo yet shows warm plaster in the same frame. */
:root {
  /* broad, cloudy trowel marks of limewash; tiled, a few hundred bytes */
  --tex-limewash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0035 .007' numOctaves='4' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .42 0 0 0 0 .33 0 0 0 .22 -.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
  /* fine mineral flecks for basalt */
  --tex-stone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .95 0 0 0 0 .92 0 0 0 0 .88 0 0 0 .09 -.02'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
}
.feature { position: relative; margin: 0; overflow: hidden; background: var(--sand); }
.feature img { width: 100%; height: 100%; object-fit: cover; }
.feature--photo {
  /* the hero's arch: a true half-circle top over soft lower corners */
  border-radius: 50% 50% var(--radius) var(--radius) / 34% 34% var(--radius) var(--radius);
  box-shadow: 0 0 0 1px rgba(160, 156, 150, 0.5), 0 0 0 6px rgba(251, 248, 243, 0.7), 0 0 0 7px rgba(160, 156, 150, 0.3),
    0 30px 60px -38px rgba(43, 38, 34, 0.55);
}

/* Limewash and soft light on the plain plaster bands. */
.section--sand, .page-intro {
  background-image:
    radial-gradient(ellipse 60% 90% at 12% 0%, rgba(255, 251, 245, 0.75), rgba(255, 251, 245, 0) 70%),
    var(--tex-limewash);
}
.section--stone { background-image: radial-gradient(ellipse 60% 70% at 85% 0%, rgba(125, 108, 92, 0.3), transparent 70%), var(--tex-stone); }

/* Inner-page intros: words on the left, the page's photo in an arch. */
.page-intro--media { padding-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-intro-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 4vw, 5rem); align-items: center; }
.page-intro-grid .feature { aspect-ratio: 4 / 4.4; max-width: 360px; width: 100%; justify-self: end; }
.page-intro-copy:only-child { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .page-intro-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  /* on a phone the photo is a short, wide window so the content stays close */
  .page-intro-grid .feature { aspect-ratio: 16 / 9; max-width: none; justify-self: stretch;
    border-radius: 50% 50% var(--radius) var(--radius) / 34% 34% var(--radius) var(--radius); }
}

/* Home: the services list beside a tall photo. */
.services-feature { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.services-feature .feature { aspect-ratio: 4 / 5.2; position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 860px) {
  .services-feature { grid-template-columns: 1fr; gap: 2rem; }
  .services-feature .feature { position: relative; top: 0; aspect-ratio: 4 / 3; max-height: 340px;
    border-radius: 50% 50% var(--radius) var(--radius) / 30% 30% var(--radius) var(--radius); }
}
.about-grid .feature { aspect-ratio: 4 / 5; border-radius: var(--radius); box-shadow: 0 30px 60px -38px rgba(43, 38, 34, 0.55); }
@media (max-width: 860px) { .about-grid .feature { max-height: 520px; } }

/* The description's own list: quiet bullets, not price rows. */
.price-rows .svc-details li {
  display: list-item; padding: 0; border: 0; color: var(--ink); line-height: 1.5;
}
.price-rows .svc-details li::marker { color: var(--copper); }
.price-rows .svc-details ul { gap: 0.35rem; }
.price-rows .svc-details .svc-note { display: block; margin-top: 0.2rem; }
/* ── TARA LUMI: the name opens its description ───────────────────── */
.price-rows .svc-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem; justify-self: start;
  min-height: 44px; margin: -0.5rem 0; padding: 0.5rem 0.25rem 0.5rem 0;
  border: 0; background: none; cursor: pointer; text-align: left;
}
.svc-toggle .chev {
  width: 22px; height: 22px; padding: 3px; border-radius: 999px; flex: none;
  color: var(--copper); background: var(--sand); transition: transform 0.35s var(--ease), background-color 0.2s;
}
.svc-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.svc-toggle:hover .chev { background: var(--line); }
.price-rows .svc-details { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.4s var(--ease), opacity 0.3s var(--ease); }
.price-rows .svc-details-inner { overflow: hidden; min-height: 0; }
.price-rows .svc-details.is-closed { grid-template-rows: 0fr; opacity: 0; }
.price-rows .svc-details.is-closed[hidden] { display: none; }

/* ── Motion: calm, and only where it helps ───────────────────────────
   Sections ease in once as they reach the screen (site.js marks them; with
   reduced motion, or without JavaScript, everything is simply there).
   Photos drift a few pixels against the scroll, driven by the browser's own
   scroll timeline, so no script runs while scrolling. */
.has-motion [data-reveal]:not(.is-in), .has-motion [data-reveal-group]:not(.is-in) > * { opacity: 0; transform: translateY(18px); }
.has-motion [data-reveal], .has-motion [data-reveal-group] > * {
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .feature--photo img {
      animation: drift linear both; animation-timeline: view(); animation-range: cover;
      will-change: transform;
    }
    @keyframes drift { from { transform: translateY(-4%) scale(1.08); } to { transform: translateY(4%) scale(1.08); } }
  }
}

/* Cards and buttons answer the pointer, and a press on touch. */
@media (hover: hover) {
  .branch, .duo a, .craft-grid figure { transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background-color 0.3s; }
  .branch:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -30px rgba(43, 38, 34, 0.45); }
  .duo a:hover { transform: translateY(-3px); }
  .service-list a { transition: background-color 0.3s var(--ease), padding 0.4s var(--ease); }
  .service-list a:hover { padding-left: 0.75rem; padding-right: 0.75rem; }
  .btn--primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 16px 30px -16px rgba(43, 38, 34, 0.75); }
}
.btn { transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.3s var(--ease), transform 0.15s var(--ease); }
.btn:active, .chip:active, .duo a:active, .service-list a:active { transform: scale(0.98); }
.chip { transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease); }
/* The booking flow keeps exactly its own look and feel. */
.booking .btn:active, .booking .chip:active { transform: none; }

/* ── Team («Манай үсчид») ───────────────────────────────────────────────── */
.team-group + .team-group { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.team-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 0.6rem + 1.4vw, 1.75rem); }
.team-card { min-width: 0; }
.team-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sand); box-shadow: inset 0 0 0 1px rgba(43, 38, 34, 0.06); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.9s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.025); }
.team-initial { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: clamp(3rem, 2rem + 4vw, 4.5rem); font-weight: 500; color: var(--muted); background: linear-gradient(180deg, var(--sand), var(--plaster)); }
.team-name { margin: 0.9rem 0 0.15rem; font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; line-height: 1.1; color: var(--ink); }
.team-title { margin: 0; font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.team-branch { margin: 0.15rem 0 0; font-size: 0.875rem; color: var(--muted); }
@media (max-width: 960px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .team-name { font-size: 1.35rem; } }
@media (prefers-reduced-motion: reduce) { .team-photo img { transition: none; } .team-card:hover .team-photo img { transform: none; } }
