/* ==========================================================================
   Services overview — MAISON direction (approved concept B, 2026-11-04).
   Dark walnut / parchment quiet-luxury editorial: oversized Cormorant with
   italic accents, hairline rules, asymmetric 12-column magazine rows, JetBrains
   Mono uppercase labels. Scoped to the services page the shell renders.
   ========================================================================== */

/* Canvas mirrors the homepage atlas recipe (home-reference) so moving
   between Home and Services stays in one continuous walnut room. */
body.public-reference-shell:has(.services-reference-main) {
  background:
    radial-gradient(1100px 720px at 82% -6%, oklch(0.55 0.095 74 / 0.2), transparent 60%),
    radial-gradient(950px 1050px at 6% 36%, oklch(0.44 0.085 54 / 0.18), transparent 62%),
    radial-gradient(1050px 880px at 96% 66%, oklch(0.56 0.105 84 / 0.16), transparent 60%),
    oklch(0.17 0.015 50);
  color: oklch(0.95 0.02 85);
}
body.public-reference-shell main.services-reference-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  font: 16px/1.6 Jost, "Segoe UI", Arial, sans-serif;
}
.sr-maison *, .sr-maison *::before, .sr-maison *::after { box-sizing: border-box; }
.sr-maison h1, .sr-maison h2, .sr-maison h3, .sr-maison p, .sr-maison ul { margin: 0; padding: 0; }
.sr-maison ul { list-style: none; }
.sr-maison a { color: inherit; text-decoration: none; }
.sr-maison img { display: block; max-width: 100%; }
.sr-maison em { font-style: italic; color: oklch(0.89 0.095 88); }
/* Global sheets give every h1–h3 Instrument Serif with negative tracking,
   and brand-system-v3 sets h1–h3 em to var(--brand-serif) at (0,1,3).
   Maison stays in Cormorant throughout; main.sr-maison matches that
   specificity and this sheet loads later in <head>. */
main.sr-maison h1,
main.sr-maison h2,
main.sr-maison h3 { font-family: var(--sr-serif); letter-spacing: normal; }
main.sr-maison h1 em,
main.sr-maison h2 em,
main.sr-maison h3 em {
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: transparent;
  background: var(--sr-gold-sweep);
  -webkit-background-clip: text;
  background-clip: text;
}
.sr-maison :focus-visible { outline: 2px solid oklch(0.8 0.11 82); outline-offset: 5px; border-radius: 4px; }

/* Shared tokens */
.sr-maison {
  /* Bronze/ember label hue pulled toward the homepage accent family. */
  --sr-bronze-deep: oklch(0.68 0.13 55);
  --sr-ink-soft: oklch(0.765 0.026 76);
  --sr-rule: oklch(0.93 0.02 88 / 0.16);
  --sr-rule-strong: oklch(0.93 0.02 88 / 0.3);
  --sr-paper-deep: oklch(0.205 0.02 52);
  /* Same antique-gold sweep the homepage paints its serif ems with. */
  --sr-gold-sweep: linear-gradient(120deg, oklch(0.7 0.1 70), oklch(0.92 0.09 90), oklch(0.7 0.11 68));
  --sr-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sr-mono: "JetBrains Mono", Consolas, monospace;
}

/* --------------------------------- Hero --------------------------------- */

.sr-hero { padding: clamp(40px, 6vw, 72px) 0 0; }
.sr-hero-inner {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding-bottom: clamp(56px, 7vw, 96px);
}
.sr-hero-copy { min-width: 0; }
.sr-kicker {
  /* Display headings set tight leading; Cormorant's ink box can overflow the
     h1 content top by a few pixels into this strip — stay above it for hit
     testing (Site Studio clicks the eyebrow hook). */
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
  font-family: var(--sr-mono);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sr-bronze-deep);
}
.sr-kicker-center { text-align: center; }
.sr-hero h1 {
  font-family: var(--sr-serif);
  font-weight: 400;
  font-size: clamp(46px, 5.8vw, 88px);
  line-height: 1.03;
  margin-bottom: 28px;
  text-wrap: balance;
}
.sr-lede {
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.9;
  color: var(--sr-ink-soft);
  margin-bottom: 38px;
}
.sr-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.sr-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sr-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease, gap 0.3s ease, border-color 0.3s ease;
}
a.sr-btn-ink {
  padding: 17px 32px;
  border-radius: 999px;
  background: oklch(0.935 0.017 90);
  color: oklch(0.205 0.02 52);
}
a.sr-btn-ink:hover { background: var(--sr-bronze-deep); color: oklch(0.205 0.02 52); }
.sr-btn-text { padding: 17px 4px; border-bottom: 1px solid var(--sr-rule-strong); }
.sr-btn-text:hover { gap: 16px; border-color: currentColor; }
.sr-hero-meta {
  margin-top: 40px;
  font-family: var(--sr-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.74 0.026 75 / 0.75);
}
.sr-hero-figure { min-width: 0; }
.sr-frame {
  margin: 0;
  border: 1px solid var(--sr-rule);
  background: var(--sr-paper-deep);
  overflow: hidden;
}
.sr-frame img { width: 100%; height: 100%; object-fit: cover; object-position: var(--sr-pos, center); }
.sr-frame-pad { padding: 16px; }
.sr-frame-pad img { aspect-ratio: 3 / 4.2; }
.sr-hero-figure figcaption {
  margin-top: 14px;
  font-family: var(--sr-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: oklch(0.74 0.026 75 / 0.82);
  text-align: end;
}

/* ----------------------------- Service rows ----------------------------- */

.sr-services {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) 0 60px;
}
.sr-services-head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 72px); }
.sr-directory-label {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--sr-rule);
  font-family: var(--sr-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sr-bronze-deep);
}
.sr-maison .sr-h2 {
  font-family: var(--sr-serif);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 1.06;
  margin-bottom: 20px;
  text-wrap: balance;
}
.sr-services-intro {
  max-width: 54ch;
  color: var(--sr-ink-soft);
  font-size: 16px;
  line-height: 1.85;
}
.sr-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(56px, 7vw, 88px) 0;
  border-top: 1px solid var(--sr-rule);
}
.sr-row:last-child { border-bottom: 1px solid var(--sr-rule); }
.sr-row-media { grid-column: 1 / span 5; min-width: 0; }
.sr-row-text { grid-column: 7 / span 6; min-width: 0; }
.sr-row-flip .sr-row-media { grid-column: 8 / span 5; }
.sr-row-flip .sr-row-text { grid-column: 1 / span 6; }
.sr-row-media .sr-frame { aspect-ratio: 4 / 5; }
.sr-row-media .sr-frame img { transition: transform 1.4s cubic-bezier(0.2, 0.6, 0.2, 1); }
.sr-row:hover .sr-row-media .sr-frame img { transform: scale(1.04); }
.sr-row-num {
  font-family: var(--sr-serif);
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--sr-bronze-deep);
  margin-bottom: 14px;
}
.sr-row-num::after {
  content: "";
  display: inline-block;
  width: 44px;
  height: 1px;
  background: var(--sr-rule-strong);
  margin-left: 14px;
  vertical-align: middle;
}
.sr-maison .sr-row-name {
  font-family: var(--sr-serif);
  font-weight: 400;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.08;
  margin-bottom: 14px;
}
.sr-row-promise { display: block; }
.sr-row-promise em { font-size: 0.72em; }
.sr-row-for {
  font-family: var(--sr-mono);
  font-size: 10.5px;
  line-height: 1.8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sr-bronze-deep);
  padding: 16px 0;
  margin-bottom: 18px;
  border-top: 1px solid var(--sr-rule);
  border-bottom: 1px solid var(--sr-rule);
}
.sr-row-body {
  color: var(--sr-ink-soft);
  font-size: 15.5px;
  line-height: 1.9;
  margin-bottom: 26px;
  max-width: 56ch;
}
.sr-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 28px;
  border-top: 1px solid var(--sr-rule);
}
.sr-facts li {
  padding: 13px 14px 13px 0;
  border-bottom: 1px solid var(--sr-rule);
  font-family: var(--sr-mono);
  font-size: 10.5px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sr-facts li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--sr-rule); }
.sr-row-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sr-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--sr-rule-strong);
  padding-bottom: 6px;
  transition: gap 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.sr-row-link:hover { gap: 18px; color: var(--sr-bronze-deep); border-color: var(--sr-bronze-deep); }

/* ----------------------------- Partner band ----------------------------- */

.sr-band {
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--sr-rule);
  border-bottom: 1px solid var(--sr-rule);
  background: var(--sr-paper-deep);
}
.sr-band-inner {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 110px) 0;
  text-align: center;
}
.sr-maison .sr-band-quote {
  font-family: var(--sr-serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.12;
  margin: -8px 0 28px;
  text-wrap: balance;
}
.sr-band-body {
  max-width: 58ch;
  margin: 0 auto 40px;
  color: var(--sr-ink-soft);
  font-size: 16px;
  line-height: 1.9;
}
.sr-band-chain {
  font-family: var(--sr-serif);
  font-size: clamp(20px, 2.2vw, 27px);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.sr-band-chain .sr-band-dot { margin: 0 14px; color: oklch(0.7 0.1 70); }
.sr-band-signoff {
  font-family: var(--sr-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sr-bronze-deep);
}
.sr-band-signoff em { font-family: var(--sr-serif); font-size: 17px; text-transform: none; letter-spacing: 0; }

/* --------------------------------- CTA ---------------------------------- */

.sr-cta { padding: clamp(80px, 10vw, 130px) 0 clamp(90px, 11vw, 140px); }
.sr-cta-inner {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}
.sr-maison .sr-cta-heading {
  font-family: var(--sr-serif);
  font-weight: 400;
  font-size: clamp(52px, 7vw, 104px);
  line-height: 1.02;
  margin: 8px 0 30px;
}
.sr-cta-body {
  max-width: 50ch;
  margin: 0 auto 42px;
  color: var(--sr-ink-soft);
  font-size: 16px;
  line-height: 1.9;
}
.sr-cta-actions { justify-content: center; }

/* ------------------------------ Responsive ------------------------------ */

@media (max-width: 920px) {
  .sr-hero-inner { grid-template-columns: 1fr; gap: 56px; padding-bottom: 72px; }
  .sr-hero-figure { max-width: 520px; }
  .sr-row { grid-template-columns: 1fr; gap: 34px; padding: 64px 0; }
  .sr-row-media, .sr-row-text, .sr-row-flip .sr-row-media, .sr-row-flip .sr-row-text { grid-column: 1 / -1; }
  .sr-row-text { order: 1; }
  .sr-row-media { order: 2; }
  .sr-row-media .sr-frame { aspect-ratio: 16 / 10.5; }
}
@media (max-width: 560px) {
  .sr-hero-inner, .sr-services, .sr-band-inner, .sr-cta-inner { width: calc(100% - 36px); }
  .sr-facts { grid-template-columns: 1fr; }
  .sr-facts li:nth-child(even) { padding-left: 0; border-left: 0; }
  .sr-btn-ink { width: 100%; justify-content: center; }
  .sr-hero-actions { gap: 18px; }
  .sr-band-chain .sr-band-dot { margin: 0 8px; }
}

/* ------------------------------- Motion --------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sr-row-media .sr-frame img, .sr-btn, .sr-row-link { transition: none; }
}
