/* Studio Myata — interior design studio, Lviv Ukraine.
   Concept: warm minimal sand + sage editorial palette; Cormorant Garamond for
   display headlines (haute-couture feel), Inter for body copy. Hero is a
   full-bleed editorial overlay with an oversized italic headline. Signature
   element: a fine sage rule under section eyebrows and wide-letter-spaced
   uppercase labels throughout. */

:root {
  /* palette */
  --bg:          #f7f4ef;
  --surface:     #ffffff;
  --surface-2:   #f0ece4;
  --ink:         #2a2118;
  --muted:       #6e6355;
  --primary:     #4a6741;   /* sage green */
  --primary-ink: #ffffff;
  --accent:      #c8a96e;   /* warm gold/sand */
  --accent-ink:  #1a1304;
  --border:      #e2ddd5;

  /* shape */
  --radius:   10px;
  --radius-lg: 18px;
  --shadow:   0 12px 32px -14px rgba(42,33,24,.22);
  --shadow-sm: 0 4px 12px -6px rgba(42,33,24,.16);

  /* layout */
  --maxw:  1180px;
  --pad:   clamp(1.1rem, 4.5vw, 2.5rem);

  /* type scale */
  --h1: clamp(2.6rem, 6vw, 4.2rem);
  --h2: clamp(1.7rem, 3.2vw, 2.6rem);
  --h3: 1.3rem;
  --lead: 1.15rem;

  /* fonts */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box }
html  { scroll-behavior: smooth }
body  {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.nav-lock { overflow: hidden }

/* ─── Typography ────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
}
h1 { font-size: var(--h1); margin: 0 0 .45em; font-style: italic }
h2 { font-size: var(--h2); margin: 0 0 .5em }
h3 { font-size: var(--h3); margin: 0 0 .4em }
p  { margin: 0 0 1rem }
a  { color: inherit }
img { max-width: 100%; display: block }

/* ─── Layout helpers ─────────────────────────────── */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0 }
.section--tinted {
  background: var(--surface-2);
  border-block: 1px solid var(--border);
}
.section--white {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

/* ─── Eyebrow label ──────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 .85rem;
  font-family: var(--font-body);
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--primary);
  flex-shrink: 0;
}

.lead { font-size: var(--lead); color: var(--muted); max-width: 58ch }
.center { text-align: center; margin-inline: auto }
.center.eyebrow { justify-content: center }

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.55rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-size: .95rem;
  font-family: var(--font-body);
  letter-spacing: .04em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px) }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px }

.btn--primary {
  background: var(--primary);
  color: var(--primary-ink);
  border-color: var(--primary);
}
.btn--primary:hover { background: #3b5534 }

.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn--accent:hover { background: #b8964e }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--bg) }

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.65);
}
.btn--outline-light:hover { background: rgba(255,255,255,.12) }

/* ─── Header / Nav ───────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  font-style: italic;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: .5rem;
  letter-spacing: -.01em;
}
.brand-leaf {
  width: 20px;
  height: 20px;
  background: var(--primary);
  clip-path: ellipse(50% 50% at 70% 35%);
  display: inline-block;
  flex-shrink: 0;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
  font-size: .9rem;
  letter-spacing: .03em;
}
.nav-menu a:hover { color: var(--primary) }
.nav-menu .btn { padding: .55rem 1.2rem; font-size: .88rem }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: .25s;
  display: block;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.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(-6.5px) rotate(-45deg) }

/* ─── HERO (editorial full-bleed overlay) ───────── */
.hero {
  position: relative;
  min-height: clamp(520px, 80vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(42,33,24,.85) 0%,
    rgba(42,33,24,.45) 45%,
    rgba(42,33,24,.08) 100%
  );
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(2.5rem,6vw,4rem) 0 clamp(3rem,7vw,5rem);
}
.hero__content .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: flex-end;
}
.hero__copy { max-width: 640px }
.hero__copy .eyebrow { color: var(--accent) }
.hero__copy .eyebrow::before { background: var(--accent) }
.hero__copy h1 { color: #fff; margin-bottom: .5em }
.hero__copy p {
  color: rgba(255,255,255,.82);
  font-size: 1.12rem;
  max-width: 52ch;
}
.hero__cta {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}
.hero__aside {
  text-align: right;
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: flex-end;
  padding-bottom: .5rem;
}

/* ─── Stats band ─────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.stat {
  padding: 2rem 1.2rem;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-style: italic;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .3rem;
}
.stat__label { color: var(--ink); font-size: .88rem; letter-spacing: .04em }

/* ─── Grids ──────────────────────────────────────── */
.grid { display: grid; gap: 1.5rem }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)) }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) }

/* ─── Cards ──────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.card--media { padding: 0; overflow: hidden }
.card--media img { width: 100%; height: 220px; object-fit: cover }
.card--media .card__body { padding: 1.5rem 1.4rem }
.card ul { margin: .6rem 0 0; padding-left: 1.1rem; color: var(--muted) }
.card li { margin: .3rem 0; font-size: .95rem }

.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

/* ─── About split (teaser) ───────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}
.split--reverse img { order: 1 }
.split--reverse div { order: 0 }

/* ─── Process steps ──────────────────────────────── */
.steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.step {
  position: relative;
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.step__num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .4rem;
  opacity: .9;
}

/* ─── Testimonials ───────────────────────────────── */
.quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: .5;
  position: absolute;
  top: .8rem;
  left: 1.2rem;
}
.quote p {
  font-size: 1rem;
  font-style: italic;
  color: var(--ink);
  padding-top: 1.4rem;
}
.quote footer { margin-top: .9rem; font-style: normal; font-weight: 600; font-size: .95rem }
.quote footer span { display: block; font-weight: 400; color: var(--muted); font-size: .85rem }

/* ─── FAQ ────────────────────────────────────────── */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
  margin-bottom: .75rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none }
.faq summary::after {
  content: '+';
  float: right;
  color: var(--primary);
  font-size: 1.4rem;
  line-height: 1;
  font-family: var(--font-body);
  font-weight: 300;
}
.faq details[open] summary::after { content: '−' }
.faq details p { margin-top: .75rem; color: var(--muted) }

/* ─── CTA Banner ─────────────────────────────────── */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  padding: clamp(3rem, 7vw, 5.5rem);
  text-align: center;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(74,103,65,.88), rgba(42,33,24,.92));
  z-index: 1;
}
.cta-banner__inner {
  position: relative;
  z-index: 2;
}
.cta-banner h2 {
  color: #fff;
  max-width: 18ch;
  margin-inline: auto;
}
.cta-banner p { color: rgba(255,255,255,.82); max-width: 48ch; margin-inline: auto }

/* ─── Page hero (inner pages) ────────────────────── */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.page-hero .eyebrow { color: var(--accent) }
.page-hero .eyebrow::before { background: var(--accent) }
.page-hero h1 { color: #fff }
.page-hero p { color: rgba(255,255,255,.75); max-width: 60ch }

/* ─── Contact ────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.field { margin-bottom: 1.1rem }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .38rem; letter-spacing: .03em }
.field input,
.field textarea {
  width: 100%;
  padding: .78rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: .97rem;
  background: var(--surface);
  color: var(--ink);
  transition: border-color .2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74,103,65,.12);
}
.check {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--muted);
}
.check input { margin-top: .22rem; accent-color: var(--primary) }
.form-note { margin-top: .7rem; font-size: .9rem; min-height: 1.4em }
.form-note.error { color: #b5351e }
.form-note.ok    { color: #326b27 }

.info-list { list-style: none; padding: 0; margin: 0 }
.info-list li { padding: .8rem 0; border-bottom: 1px solid var(--border) }
.info-list strong {
  display: block;
  color: var(--primary);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: .15rem;
  font-family: var(--font-body);
}
.map-box {
  margin-top: 1.2rem;
  height: 190px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: repeating-linear-gradient(
    -45deg,
    #ede9e1, #ede9e1 12px,
    #e5e0d6 12px, #e5e0d6 24px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .88rem;
  letter-spacing: .04em;
}

/* ─── Legal pages ────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto }
.legal h2 { margin-top: 2.2rem; font-style: normal }
.legal h3 { margin-top: 1.5rem; font-style: normal }
.legal ul { color: var(--muted); padding-left: 1.3rem }
.legal li { margin: .4rem 0 }
.legal .updated { color: var(--muted); font-size: .88rem; margin-bottom: 2rem }
.legal a { color: var(--primary); text-decoration: underline }

/* ─── Footer ─────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(247,244,239,.65);
  padding: 4rem 0 1.6rem;
  margin-top: 4rem;
}
.site-footer a { color: rgba(247,244,239,.65); text-decoration: none }
.site-footer a:hover { color: #fff }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
}
.site-footer .brand { color: #fff; margin-bottom: .8rem; font-style: italic }
.site-footer .brand-leaf { opacity: .85 }
.site-footer p { font-size: .9rem; max-width: 30ch }
.footer-grid h4 {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0 }
.footer-grid li { margin: .45rem 0 }
.footer-grid a { font-size: .92rem }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 3rem;
  padding-top: 1.3rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem;
  font-size: .84rem;
  color: rgba(247,244,239,.42);
}

/* ─── Cookie banner ──────────────────────────────── */
.cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  background: var(--ink);
  color: rgba(247,244,239,.9);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 20px 50px -16px rgba(0,0,0,.55);
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 780px;
  margin: 0 auto;
}
.cookie p { margin: 0; font-size: .9rem }
.cookie a { color: var(--accent); text-decoration: underline }
.cookie__btns { display: flex; gap: .65rem; flex-shrink: 0 }
.cookie .btn { padding: .5rem 1.1rem; font-size: .86rem }

/* ─── Values grid (about) ────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.value-card {
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: .4rem;
}
.value-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* ─── Why-us highlight cards ─────────────────────── */
.highlight {
  padding: 1.6rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.highlight h3 { font-size: 1.1rem; margin-bottom: .3rem }
.highlight p { color: var(--muted); font-size: .95rem; margin: 0 }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .nav-toggle { display: flex }
  .nav-menu {
    position: fixed;
    inset: 62px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: .3rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1.2rem var(--pad);
    transform: translateY(-140%);
    transition: transform .3s ease;
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open { transform: translateY(0) }
  .nav-menu li { width: 100% }
  .nav-menu a { display: block; padding: .55rem 0; width: 100% }
  .nav-menu .btn { width: 100%; justify-content: center; margin-top: .5rem }

  .hero__content .container { grid-template-columns: 1fr }
  .hero__aside { display: none }
  .stats { grid-template-columns: repeat(2, 1fr) }
  .stat { border-right: none; border-bottom: 1px solid var(--border) }
  .stat:nth-child(even) { border-right: none }
  .stat:last-child, .stat:nth-last-child(2):nth-child(odd) { border-bottom: none }
  .split { grid-template-columns: 1fr }
  .split--reverse img { order: 0 }
  .split--reverse div { order: 1 }
  .contact-grid { grid-template-columns: 1fr }
  .footer-grid { grid-template-columns: 1fr 1fr }
}
@media (max-width: 640px) {
  h1 { font-style: italic }
  .stats { grid-template-columns: repeat(2, 1fr) }
  .footer-grid { grid-template-columns: 1fr }
  .footer-bottom { flex-direction: column }
  .hero__cta { flex-direction: column; align-items: flex-start }
  .cta-banner { padding: 2.5rem 1.2rem }
}
@media (max-width: 360px) {
  :root { --pad: .85rem }
  .btn { padding: .7rem 1.1rem }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto }
}


/* === QA pass: consent checkbox + form row normalization === */
.field.check{display:flex !important;gap:.6rem;align-items:flex-start;flex-wrap:nowrap}
.field.check input[type="checkbox"]{
  width:18px !important;height:18px !important;min-width:18px;max-width:18px;
  flex:0 0 18px;margin:.18rem 0 0 0;padding:0;box-sizing:border-box}
.field.check label{margin:0;font-weight:400;line-height:1.5;flex:1 1 auto}


/* ============================================================
   enrichment sections
   All new components use :root variables exclusively.
   ============================================================ */

/* ─── Sector cards (index: "Sectors we serve") ────────────── */
.sector-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.sector-card__icon {
  width: 44px;
  height: 44px;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .4rem;
  flex-shrink: 0;
}
.sector-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}
.sector-card h3 { font-size: 1.12rem; margin-bottom: .2rem }
.sector-card > p { color: var(--muted); font-size: .95rem; margin-bottom: .3rem }
.sector-card__list {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.sector-card__list li {
  font-size: .88rem;
  color: var(--muted);
  padding-left: 1.1rem;
  position: relative;
}
.sector-card__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: .75rem;
}

/* ─── Result cards (index: "Recent work") ─────────────────── */
.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.result-card__img-wrap img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
.result-card__body {
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.result-card__body h3 { font-size: 1.15rem; margin: .4rem 0 .5rem }
.result-card__body > p { color: var(--muted); font-size: .94rem; flex: 1 }
.result-card__metric {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.result-card__metric + .result-card__metric {
  margin-top: .45rem;
  padding-top: .45rem;
}
.metric-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--primary);
  white-space: nowrap;
  line-height: 1;
}
.metric-label {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.35;
}

/* ─── Pricing grid (index: "Packages") ────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.pricing-card--featured {
  border-color: var(--primary);
  border-width: 2px;
  box-shadow: var(--shadow);
}
.pricing-card__badge {
  position: absolute;
  top: -1px;
  right: 1.6rem;
  background: var(--primary);
  color: var(--primary-ink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 0 0 6px 6px;
}
.pricing-card__head { display: flex; flex-direction: column; gap: .3rem }
.pricing-card__tier {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  font-family: var(--font-body);
}
.pricing-card__price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.2;
}
.pricing-card__price strong {
  font-size: 2rem;
  font-style: italic;
  color: var(--ink);
}
.pricing-card__price span {
  font-size: .88rem;
  color: var(--muted);
}
.pricing-card__scope {
  font-size: .85rem;
  color: var(--muted);
  margin: 0;
}
.pricing-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}
.pricing-card__list li {
  font-size: .92rem;
  color: var(--muted);
  padding-left: 1.35rem;
  position: relative;
  line-height: 1.45;
}
.pricing-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .52em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.pricing-note {
  margin-top: 2rem;
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
}
.pricing-note a { color: var(--primary); text-decoration: underline }

/* ─── Team cards (index + about) ──────────────────────────── */
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .3rem;
}
.team-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: hsl(var(--avatar-hue, 155deg) 38% 55%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .6rem;
  flex-shrink: 0;
  letter-spacing: .03em;
}
.team-card h3 { font-size: 1.1rem; margin: 0 }
.team-card__role {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}
.team-card p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.55 }

/* ─── Guarantees grid (index: "Our commitments") ──────────── */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.guarantee-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.guarantee-item__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  opacity: .85;
  flex-shrink: 0;
  min-width: 2.2rem;
}
.guarantee-item__body h3 { font-size: 1.05rem; margin: 0 0 .3rem }
.guarantee-item__body p  { font-size: .92rem; color: var(--muted); margin: 0 }

/* ─── Insights cards (index: "Studio notes") ──────────────── */
.insight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.insight-card__meta {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
}
.insight-card__meta time {
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .04em;
}
.insight-card h3 { font-size: 1.1rem; margin: .2rem 0 .4rem; line-height: 1.3 }
.insight-card > p { font-size: .93rem; color: var(--muted); flex: 1 }
.insight-card__link {
  display: inline-block;
  margin-top: .8rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: .04em;
}
.insight-card__link:hover { color: var(--accent) }

/* ─── Service coverage (index: "Service areas") ───────────── */
.coverage-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}
.coverage-primary,
.coverage-extended,
.coverage-remote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.coverage-primary { border-top: 3px solid var(--primary) }
.coverage-extended { border-top: 3px solid var(--accent) }
.coverage-remote   { border-top: 3px solid var(--border) }
.coverage-primary h3,
.coverage-extended h3,
.coverage-remote h3 {
  font-size: 1.05rem;
  margin: 0 0 .2rem;
}
.coverage-sub {
  font-size: .82rem;
  color: var(--muted);
  margin: 0 0 1rem;
  letter-spacing: .02em;
}
.coverage-cities {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.city-pill {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  padding: .3rem .7rem;
  border-radius: 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--ink);
  letter-spacing: .03em;
}
.city-pill--primary {
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border-color: color-mix(in srgb, var(--primary) 30%, transparent);
  color: var(--primary);
}

/* ─── Timeline (about: milestones) ────────────────────────── */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6rem;
  bottom: .6rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 2px;
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.4rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
}
.timeline__item:last-child { border-bottom: none }
.timeline__item::before {
  content: '';
  position: absolute;
  left: -2.4rem;
  top: 1.95rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--primary);
  z-index: 1;
}
.timeline__year {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  padding-top: .18rem;
  white-space: nowrap;
}
.timeline__content h3 { font-size: 1.05rem; margin: 0 0 .3rem; line-height: 1.25 }
.timeline__content p  { font-size: .93rem; color: var(--muted); margin: 0; line-height: 1.6 }

/* ─── CSR cards (about: "Community") ──────────────────────── */
.csr-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.csr-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .3rem;
}
.csr-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}
.csr-card h3 { font-size: 1.1rem; margin: 0 }
.csr-card p  { font-size: .93rem; color: var(--muted); margin: 0; line-height: 1.6 }

/* ─── Enrichment responsive overrides ─────────────────────── */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr }
  .timeline { padding-left: 1.5rem }
  .timeline__item { grid-template-columns: 3.5rem 1fr; gap: 1rem }
  .timeline__item::before { left: -1.9rem }
  .coverage-wrap { grid-template-columns: 1fr }
  .guarantees-grid { grid-template-columns: 1fr }
}
@media (max-width: 640px) {
  .result-card__img-wrap img { height: 180px }
  .timeline__item { grid-template-columns: 1fr; gap: .2rem }
  .timeline__year { font-size: 1.2rem }
  .pricing-card { padding: 1.6rem 1.2rem }
  .team-card { padding: 1.4rem 1.2rem }
  .guarantee-item { flex-direction: column; gap: .5rem }
  .sector-card { padding: 1.4rem 1.2rem }
}
@media (max-width: 360px) {
  .timeline { padding-left: 1rem }
  .timeline__item::before { left: -1.4rem; width: 8px; height: 8px }
  .city-pill { font-size: .75rem; padding: .25rem .55rem }
}


/* === QA pass 2: contain negative-z overlays so light text never falls on a light bg === */
.cta-banner{isolation:isolate;position:relative}
.hero{isolation:isolate}
.page-hero{isolation:isolate}
.hero__media,.hero-media{isolation:isolate}

/* polish: depth */

/* Hero — subtle warm vignette layered under the existing gradient overlay */
.hero__veil {
  background: linear-gradient(
    to top,
    rgba(42,33,24,.88) 0%,
    rgba(42,33,24,.5) 40%,
    rgba(74,103,65,.18) 75%,
    rgba(42,33,24,.06) 100%
  );
}

/* Stats band — faint radial glow from the centre so the numbers pop */
.section--tinted {
  background:
    radial-gradient(ellipse 80% 140% at 50% 0%, color-mix(in srgb, var(--primary) 5%, transparent) 0%, transparent 70%),
    var(--surface-2);
}

/* White sections — hairline warm tint at the bottom edge for separation */
.section--white {
  background:
    linear-gradient(to bottom, var(--surface) 92%, color-mix(in srgb, var(--border) 60%, transparent) 100%),
    var(--surface);
}

/* Plain .section (default --bg) — barely-there warm diagonal shimmer */
.section:not(.section--tinted):not(.section--white) {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 3%, transparent) 0%, transparent 55%),
    var(--bg);
}

/* Process steps — give the step number a faint glow so it feels lifted */
.step {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--accent) 6%, transparent) 0%, transparent 100%),
    var(--surface);
}

/* CTA banner — enrich the existing overlay with a subtle directional gradient */
.cta-banner::before {
  background: linear-gradient(155deg, rgba(74,103,65,.92) 0%, rgba(42,33,24,.96) 100%);
}

/* Service cards equal-height alignment */
#services .grid--3 {
  align-items: stretch;
}
#services .card.card--media {
  display: flex;
  flex-direction: column;
}
#services .card.card--media .card__body {
  flex: 1;
}


/* === QA pass 3: hidden-attr must win so cookie banner truly dismisses === */
[hidden]{display:none!important}

/* TV3 — Horizontal scroll row */
.tv3{display:flex;gap:1.2rem;overflow-x:auto;padding-bottom:1rem;scroll-snap-type:x mandatory}
.tv3__card{flex:0 0 min(320px,80%);scroll-snap-align:start;background:var(--bg);border:1px solid var(--border);border-radius:14px;padding:1.6rem;box-shadow:0 6px 20px rgba(0,0,0,.05)}
.tv3__card p{color:var(--ink);margin:0 0 1rem;line-height:1.55}
.tv3__card span{color:var(--accent);font-weight:700}

/* PV1 — Process as horizontal connector timeline */
.pv1{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:2rem;padding:0;margin:0}
.pv1__step{position:relative;padding-top:3.4rem}
.pv1__n{position:absolute;top:0;left:0;width:2.6rem;height:2.6rem;display:grid;place-items:center;border-radius:50%;background:var(--accent);color:var(--bg);font-weight:800}
.pv1__step::before{content:"";position:absolute;top:1.3rem;left:2.6rem;right:-2rem;height:2px;background:var(--border)}
.pv1__step:last-child::before{display:none}
.pv1__step h3{margin:0 0 .4rem;color:var(--ink)}
.pv1__step p{margin:0;color:var(--muted);line-height:1.55}
@media(max-width:760px){.pv1__step::before{display:none}.pv1__step{padding-top:0;padding-left:3.4rem}.pv1__n{top:.1rem}}

/* WV2 — Why-us as big accent-bar rows */
.wv2{display:grid;gap:1.2rem;max-width:62rem;margin:0 auto}
.wv2__item{padding:1.4rem 1.6rem;border-left:4px solid var(--accent);background:var(--surface);border-radius:0 10px 10px 0}
.wv2__item h3{margin:0 0 .3rem;color:var(--ink)}
.wv2__item p{margin:0;color:var(--muted);line-height:1.55}

/* TMR — Team as compact two-column rows */
.tmr{display:grid;grid-template-columns:1fr 1fr;gap:.4rem 2rem;max-width:62rem;margin:0 auto}
.tmr__p{display:flex;gap:1rem;align-items:center;padding:.9rem 0;border-bottom:1px solid var(--border)}
.tmr__av{flex:0 0 44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--bg);font-weight:800}
.tmr__p h3{margin:0;color:var(--ink);font-size:1rem}
.tmr__p p{margin:0;color:var(--muted);font-size:.85rem}
@media(max-width:640px){.tmr{grid-template-columns:1fr}}

/* === uniq-layout-system START === */ w:1320,h:hairline,s:numbered,n:reverse,f:tworow,c:edge */
:root{--maxw:1320px}
.section .center{text-align:left;margin-inline:0}
.section .eyebrow.center{display:block;border-top:2px solid var(--ink);padding-top:1rem;width:100%}
.section h2.center{font-size:clamp(1.9rem,4.3vw,3rem);line-height:1.1}
.section .lead.center{max-width:62ch}
.nav{flex-direction:row-reverse}
.nav-menu{margin-right:auto;margin-left:0}
.card{border-radius:10px}
#services .grid{display:grid !important;grid-template-columns:1fr !important;gap:0;counter-reset:svc}
#services .card{counter-increment:svc;display:grid;grid-template-columns:auto 1fr;gap:1.6rem;align-items:baseline;background:transparent;border:0;border-top:1px solid var(--border);border-radius:0;padding:1.7rem 0;box-shadow:none}
#services .card:last-child{border-bottom:1px solid var(--border)}
#services .card>img{display:none}
#services .card__body{padding:0}
#services .card::before{content:counter(svc,decimal-leading-zero);font-size:1.7rem;font-weight:800;color:var(--accent);line-height:1}
.footer-grid{grid-template-columns:1fr 1fr;gap:1.6rem 3rem}
.footer-grid>:first-child{grid-column:1/-1;max-width:42ch}
@media(max-width:760px){.footer-grid{grid-template-columns:1fr !important;text-align:left !important}.footer-grid>:first-child{grid-column:auto;order:0}}
/* === uniq-layout-system END === */


/* ============================================================
   Rich professional footer — overrides the uniq-layout-system
   two-column footer above. Higher specificity + source order win.
   ============================================================ */
.site-footer--rich { padding: clamp(3.5rem,7vw,5rem) 0 1.8rem }
.site-footer--rich .footer-grid {
  display: grid !important;
  grid-template-columns: 1.9fr 1fr 1fr 1.5fr .9fr !important;
  gap: 2.6rem 2.4rem !important;
  text-align: left !important;
}
.site-footer--rich .footer-grid > :first-child { grid-column: auto !important; order: 0; max-width: 34ch }
.site-footer--rich .footer-grid h4 { margin-top: 0 }
.site-footer--rich p { color: rgba(247,244,239,.62) }

.footer-contact { list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; flex-direction: column; gap: .6rem }
.footer-contact li { font-size: .9rem; line-height: 1.45; display: flex; gap: .6rem; align-items: flex-start; color: rgba(247,244,239,.7) }
.footer-contact svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: .22rem; color: var(--accent) }
.footer-contact a { color: rgba(247,244,239,.7) }
.footer-contact a:hover { color: #fff }

.footer-social { display: flex; gap: .6rem; margin-top: 1.4rem }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid rgba(247,244,239,.18);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  color: rgba(247,244,239,.75);
}
.footer-social a:hover { background: rgba(247,244,239,.08); border-color: var(--accent); color: #fff }
.footer-social svg { width: 17px; height: 17px }

.footer-bottom__links { display: flex; gap: 1.3rem; flex-wrap: wrap }
.footer-bottom__links a:hover { color: #fff }

@media (max-width: 900px) {
  .site-footer--rich .footer-grid { grid-template-columns: 1fr 1fr !important }
  .site-footer--rich .footer-grid > :first-child { grid-column: 1 / -1 !important; max-width: 48ch }
}
@media (max-width: 560px) {
  .site-footer--rich .footer-grid { grid-template-columns: 1fr !important }
  .site-footer--rich .footer-grid > :first-child { grid-column: auto !important }
}

/* Nav: tighten gap on mid widths so 7 items + CTA never overflow */
@media (min-width: 901px) and (max-width: 1160px) {
  .nav-menu { gap: 1.05rem }
  .nav-menu .btn { padding: .5rem .9rem }
}

/* ============================================================
   Reviews page
   ============================================================ */
.rating-band {
  display: flex; flex-wrap: wrap; gap: clamp(1.5rem,4vw,3rem);
  justify-content: center; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(1.6rem,4vw,2.2rem) 2rem;
  box-shadow: var(--shadow-sm); max-width: 820px; margin: 0 auto;
}
.rating-band__score { text-align: center }
.rating-band__num { font-family: var(--font-display); font-style: italic; font-size: clamp(2.6rem,6vw,3.4rem); line-height: 1; color: var(--primary) }
.rating-band__stars { color: var(--accent); letter-spacing: .15em; font-size: 1.05rem; margin-top: .35rem }
.rating-band__src { display: block; font-size: .8rem; color: var(--muted); margin-top: .4rem; letter-spacing: .04em }
.rating-band__divider { width: 1px; align-self: stretch; background: var(--border) }

.review-grid { columns: 3 300px; column-gap: 1.5rem }
.review-grid .quote { break-inside: avoid; -webkit-column-break-inside: avoid; margin: 0 0 1.5rem }
.review-card__rating { color: var(--accent); letter-spacing: .12em; font-size: .92rem; padding-top: 1.4rem }
.review-card__rating + p { padding-top: .4rem }
.review-card__sector { display: block; font-weight: 700; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-top: .2rem }

.featured-quote {
  background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2.4rem,5vw,3.8rem); text-align: center; position: relative;
  overflow: hidden; isolation: isolate;
}
.featured-quote::before {
  content: '\201C'; position: absolute; top: -.18em; left: .12em;
  font-family: var(--font-display); font-size: 9rem; line-height: 1;
  color: rgba(200,169,110,.22); z-index: -1;
}
.featured-quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem,3vw,2.05rem); line-height: 1.35; color: #fff; max-width: 32ch; margin: 0 auto 1.3rem }
.featured-quote cite { font-style: normal; color: var(--accent); font-weight: 600; letter-spacing: .04em; font-size: .95rem }

@media (max-width: 640px) {
  .review-grid { columns: 1 }
  .rating-band__divider { display: none }
}

/* ============================================================
   Services page — alternating detail splits
   ============================================================ */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center }
.svc-detail + .svc-detail { margin-top: clamp(3rem,6vw,4.5rem) }
.svc-detail img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover }
.svc-detail--reverse .svc-detail__media { order: 1 }
.svc-detail__num { font-family: var(--font-display); font-style: italic; font-size: 2.4rem; color: var(--accent); line-height: 1; display: block; margin-bottom: .3rem }
.svc-detail__list { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .5rem }
.svc-detail__list li { position: relative; padding-left: 1.5rem; color: var(--muted); font-size: .95rem }
.svc-detail__list li::before { content: ''; position: absolute; left: 0; top: .58em; width: 8px; height: 8px; border-radius: 50%; background: var(--primary) }
.svc-detail__price { margin-top: 1.1rem; font-size: .9rem; color: var(--ink) }
.svc-detail__price strong { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--primary) }
@media (max-width: 760px) {
  .svc-detail { grid-template-columns: 1fr }
  .svc-detail--reverse .svc-detail__media { order: 0 }
}

/* Comparison / included rows (pricing page) */
.compare-list { max-width: 760px; margin: 0 auto; display: grid; gap: 0 }
.compare-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); align-items: baseline }
.compare-row:last-child { border-bottom: none }
.compare-row h3 { margin: 0; font-size: 1.05rem }
.compare-row p { margin: .2rem 0 0; font-size: .9rem; color: var(--muted) }
.compare-row__tiers { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end }
.tier-chip { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .28rem .6rem; border-radius: 20px; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); border: 1px solid color-mix(in srgb, var(--primary) 28%, transparent) }
.tier-chip--muted { background: var(--surface-2); color: var(--muted); border-color: var(--border) }

/* ============================================================
   Testimonial carousel (home)
   ============================================================ */
.carousel { position: relative; max-width: 900px; margin: 0 auto }
.carousel__viewport { overflow: hidden }
.carousel__track { display: flex; transition: transform .55s cubic-bezier(.4,0,.2,1) }
.carousel__slide { flex: 0 0 100%; min-width: 0; padding: .5rem }
.carousel__quote {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: clamp(2rem,4vw,3.2rem); text-align: center; position: relative; isolation: isolate;
}
.carousel__quote::before {
  content: '\201C'; position: absolute; top: -.1em; left: .14em;
  font-family: var(--font-display); font-size: 7rem; line-height: 1;
  color: color-mix(in srgb, var(--accent) 22%, transparent); z-index: -1;
}
.carousel__stars { color: var(--accent); letter-spacing: .18em; margin-bottom: 1rem; font-size: 1rem }
.carousel__quote p {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.2rem,2.4vw,1.65rem); line-height: 1.4;
  color: var(--ink); max-width: 46ch; margin: 0 auto 1.3rem;
}
.carousel__quote cite { font-style: normal; font-weight: 600; font-size: .98rem }
.carousel__quote cite span { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: .15rem }
.carousel__nav { display: flex; justify-content: center; align-items: center; gap: 1.1rem; margin-top: 1.8rem }
.carousel__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border);
  background: var(--surface); color: var(--ink); display: flex; align-items: center;
  justify-content: center; cursor: pointer; flex-shrink: 0;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.carousel__btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px) }
.carousel__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px }
.carousel__btn svg { width: 18px; height: 18px }
.carousel__dots { display: flex; gap: .55rem; align-items: center }
.carousel__dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--border); cursor: pointer; padding: 0; transition: transform .2s, background .2s }
.carousel__dot[aria-current="true"] { background: var(--primary); transform: scale(1.35) }

/* ============================================================
   Materials & craft palette (home)
   ============================================================ */
.palette { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.2rem }
.swatch { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm) }
.swatch__chip { height: 116px; width: 100%; object-fit: cover; display: block; border-bottom: 1px solid var(--border) }
.swatch__body { padding: 1rem 1.1rem }
.swatch__body h3 { font-size: 1rem; margin: 0 0 .2rem; font-style: normal }
.swatch__body p { font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.45 }

/* ============================================================
   Mobile header: tighten left/right padding to 10px
   ============================================================ */
@media (max-width: 640px) {
  .site-header .container { padding-left: 10px; padding-right: 10px }
}
