/*
Theme Name: Rinato Studio
Theme URI: https://rinato.studio
Author: Rinato Studio
Description: A digital studio for ambitious businesses. Gallery White editorial design: near-white surfaces, dark ink, grotesque typography, hairline structure, rationed flame-red accents. The work provides the color.
Version: 11.5.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: rinato
*/

/* ================================================================
   1. TOKENS
   Old variable names are kept (preserved templates and blog.css
   reference them) but every value is new. Gallery White:
   near-white, true ink, hairlines, one rationed red.
   ================================================================ */
:root {
  /* Surfaces */
  --bg: #FCFCFA;
  --bg-warm: #F5F5F2;
  --bg-cream: #F5F5F2;
  --paper: #FCFCFA;
  --paper-warm: #F5F5F2;
  --paper-ivory: #FFFFFF;
  --off-white: #F5F5F2;
  --black: #111110;

  /* Ink */
  --text: #111110;
  --ink: #111110;
  --text-body: #3A3835;
  --ink-body: #3A3835;
  --text-secondary: #6E6B66;
  --ink-soft: #6E6B66;
  --text-muted: #97938C;
  --ink-muted: #97938C;
  --text-light: #C2BFB9;
  --light: #E8E7E3;

  /* The one accent — rationed */
  --coral: #FF1A0D;
  --coral-hover: #D81104;
  --accent: #FF1A0D;
  --ember: #FF1A0D;
  --ember-orange: #FF1A0D;
  --flame-red: #FF1A0D;
  --gold: #FF1A0D;
  --gold-soft: #FF1A0D;

  /* Hairlines */
  --line: rgba(17, 17, 16, 0.14);
  --line-strong: #111110;
  --paper-line: rgba(17, 17, 16, 0.14);
  --border: rgba(17, 17, 16, 0.14);

  /* Dark room (the single black section in the white gallery) */
  --coal: #111110;
  --coal-soft: #1C1B19;
  --coal-line: rgba(252, 252, 250, 0.18);
  --light-primary: #FCFCFA;
  --light-body: #C9C7C1;
  --light-soft: #97938C;
  --light-muted: #6E6B66;

  /* Type */
  --font-display: 'Schibsted Grotesk', 'Inter', system-ui, sans-serif;
  --font-heading: 'Schibsted Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-logo: 'Schibsted Grotesk', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, monospace;

  /* Shadows: a gallery has none. Kept as tokens for blog.css. */
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-xl: none;
  --shadow-glow: none;
  --shadow-glow-warm: none;
  --shadow-glow-deep: none;

  /* Layout */
  --container: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --sec: clamp(4.5rem, 9vw, 8rem);
  --sec-tight: clamp(3rem, 6vw, 5rem);

  /* Legacy aliases still referenced in old inline styles */
  --gradient-brand: #FF1A0D;
  --gradient-brand-text: #FF1A0D;
  --grad-flame: #FF1A0D;
  --grad-flame-text: #FF1A0D;
}

/* ================================================================
   2. RESET & BASE
   ================================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--coral); }
::selection { background: var(--text); color: var(--bg); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.skip-link {
  position: absolute; left: 16px; top: 16px; z-index: 10000;
  padding: 10px 14px; background: var(--text); color: var(--bg);
  border-radius: 2px; transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); color: var(--bg); }

/* Decorative legacy elements — a gallery hangs nothing it doesn't need */
.dot-grid, .visual-orb, .cta-mesh-1, .cta-mesh-2,
.cta-phoenix, .phoenix-watermark, .hero__atmosphere, .hero__embers,
.footer__texture, .editorial-photo::after { display: none !important; }

/* ================================================================
   3. TYPE PRIMITIVES
   ================================================================ */
.r10-label, .section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 1.25rem;
}
.r10-label::before, .section-label::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--coral);
  margin-right: 10px;
  vertical-align: 1px;
}
.r10-label--light { color: var(--light-primary); }

.r10-h2 {
  font-size: clamp(1.75rem, 2.6vw + 0.5rem, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  max-width: 24ch;
}
.r10-section-head { margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }

/* ================================================================
   4. BUTTONS & LINKS
   ================================================================ */
.btn, .r10-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--text);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover, .r10-btn:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.btn--primary, .btn--coral { background: var(--text); color: var(--bg); }
.btn--primary:hover, .btn--coral:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.btn--lg { padding: 17px 32px; font-size: 15px; }
.btn--ghost, .btn--outline, .btn--white-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover, .btn--outline:hover, .btn--white-outline:hover {
  background: var(--text); color: var(--bg); border-color: var(--text);
}
.btn .btn-arrow, .btn .btn__arrow { display: inline-block; transition: transform 0.25s ease; }
.btn:hover .btn-arrow, .btn:hover .btn__arrow { transform: translateX(4px); }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.r10-link, .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.r10-link:hover, .link-arrow:hover { color: var(--coral); border-bottom-color: var(--coral); }
.r10-link span, .link-arrow span { transition: transform 0.25s ease; }
.r10-link:hover span, .link-arrow:hover span { transform: translateX(3px); }

/* ================================================================
   5. HEADER
   ================================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: padding 0.25s ease;
}
.header.scrolled { padding: 12px 0; }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand__mark--small { width: 30px; height: 30px; }
.brand__phoenix { width: 100%; height: 100%; object-fit: contain; }
.brand__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.22em;
  color: var(--text);
}
.brand__wordmark span { color: inherit; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav__links { display: flex; gap: 26px; list-style: none; }
.main-nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}
.main-nav__links a:hover { color: var(--text); }
.main-nav__links a.active {
  color: var(--text);
  border-bottom: 2px solid var(--coral);
  padding-bottom: 2px;
}
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border: 1px solid var(--text);
  border-radius: 2px;
  background: var(--text);
  color: var(--bg) !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav-cta:hover { background: var(--coral); border-color: var(--coral); color: #fff !important; }
/* Header sits on white everywhere now — dark-hero adaptation is inert */
.header.is-on-dark:not(.scrolled) .brand__wordmark,
.header.is-on-dark:not(.scrolled) .main-nav__links a { color: var(--text-secondary); }
.header.is-on-dark:not(.scrolled) .main-nav__links a.active { color: var(--text); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 22px; position: relative; z-index: 1001; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--text); position: absolute; left: 0; transition: all 0.25s ease; }
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }
.menu-toggle.is-active span:nth-child(1), .menu-toggle.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2), .menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3), .menu-toggle.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 999;
  padding: 110px 32px 40px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
}
.mobile-menu.is-open, .mobile-menu.active { display: flex; }
body.menu-open { overflow: hidden; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  width: 100%;
}
.mobile-menu a:hover { color: var(--coral); }
.mobile-menu a.btn { border: 1px solid var(--text); font-family: var(--font-body); font-size: 16px; width: auto; padding: 15px 28px; }


/* v11.3.3 — Mobile menu CTA visibility fix */
.mobile-menu a.btn,
.mobile-menu a.btn--primary,
.mobile-menu a.btn.btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 212px;
  margin-top: 22px !important;
  padding: 15px 28px;
  background: var(--text);
  border: 1px solid var(--text);
  border-bottom: 1px solid var(--text);
  color: var(--bg) !important;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  border-radius: 2px;
  text-align: center;
}
.mobile-menu a.btn:hover,
.mobile-menu a.btn--primary:hover,
.mobile-menu a.btn.btn--primary:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff !important;
}
@media (max-width: 480px) {
  .mobile-menu {
    padding-left: 28px;
    padding-right: 28px;
  }
  .mobile-menu a.btn,
  .mobile-menu a.btn--primary,
  .mobile-menu a.btn.btn--primary {
    min-width: 190px;
  }
}

/* ================================================================
   6. FOOTER
   ================================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line-strong);
  padding: clamp(48px, 7vw, 80px) 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  margin-bottom: 48px;
}
.footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer__wordmark { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.22em; color: var(--text); }
.footer__wordmark span { color: inherit; }
.footer__tagline { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.footer__desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; max-width: 34em; }
.footer__heading {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text); margin-bottom: 18px;
}
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 10px; }
.footer__links a, .footer__links span { font-size: 14px; color: var(--text-secondary); }
.footer__links a:hover { color: var(--coral); }
.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-secondary); /* v11.4: was --text-muted (2.9:1, below AA) */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__location { display: inline-flex; align-items: center; gap: 6px; }

/* v11.4, footer social icons + legal line */
.footer__social { list-style: none; display: flex; gap: 8px; margin-top: 18px; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; /* full touch target */
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--text);
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.footer__social a:hover { color: var(--coral); border-color: var(--coral); }
.footer__social a:focus-visible { outline-offset: 2px; }
.footer__social-icon { width: 20px; height: 20px; }
.footer__vat { margin-left: .75em; padding-left: .75em; border-left: 1px solid var(--line); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .footer__social a { transition: none; } }

/* ================================================================
   7. MOTION — calm by default
   Legacy reveal hooks render visible; one quiet rise on page heroes.
   ================================================================ */
.fade-in, .fade-in-left, .fade-in-right,
.reveal, .reveal--from-left, .reveal--from-right,
.stagger-children > *, .anim-fade-up {
  opacity: 1 !important;
  transform: none !important;
}
@keyframes g-rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   8. SHARED STRUCTURE
   ================================================================ */
.gradient-divider {
  border: none;
  height: 1px;
  background: var(--line);
  margin: 0;
}

.r10-section { padding: var(--sec-tight) 0; background: var(--bg); }
.r10-section--warm { background: var(--bg-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.r10-prose { max-width: 680px; }
.r10-prose p { font-size: 1.0625rem; line-height: 1.75; color: var(--text-body); margin-bottom: 1.25rem; }
.r10-prose p:last-child { margin-bottom: 0; }
.r10-prose strong { font-weight: 600; color: var(--text); }

/* ================================================================
   9. HOMEPAGE — HERO with the project ledger (the signature)
   ================================================================ */
.r10-hero { padding: clamp(8.5rem, 13vw, 11.5rem) 0 0; background: var(--bg); }
.r10-hero__main { max-width: 980px; animation: g-rise 0.7s ease both; }
.r10-hero__title {
  font-size: clamp(2.75rem, 6vw + 0.5rem, 5.5rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0 0 1.75rem;
}
.r10-hero__lede {
  font-size: clamp(1.0625rem, 1vw + 0.5rem, 1.25rem);
  line-height: 1.6;
  color: var(--text-body);
  max-width: 36em;
  margin: 0 0 2.25rem;
}
.r10-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-bottom: 2rem; }
.r10-hero__proof { font-size: 13px; letter-spacing: 0.01em; color: var(--text-muted); margin: 0 0 clamp(3rem, 6vw, 4.5rem); }

/* The ledger — full-width ruled index of the six projects */
.r10-hero__index { animation: g-rise 0.7s ease 0.15s both; }
.r10-hero__index-head {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text); margin: 0 0 0;
  padding-bottom: 12px;
}
.r10-index { list-style: none; border-top: 2px solid var(--line-strong); }
.r10-index li { border-bottom: 1px solid var(--line); }
.r10-index a {
  display: grid;
  grid-template-columns: 3.5rem 1.4fr 1fr auto;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.125rem 0.25rem;
  transition: padding-left 0.25s ease;
}
.r10-index a:hover { padding-left: 0.75rem; }
.r10-index__num { font-size: 12px; font-weight: 500; color: var(--coral); font-variant-numeric: tabular-nums; }
.r10-index__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.125rem, 1.4vw + 0.5rem, 1.5rem);
  letter-spacing: -0.015em;
  color: var(--text);
}
.r10-index a:hover .r10-index__name { color: var(--coral); }
.r10-index__meta { font-size: 13px; color: var(--text-secondary); text-align: right; }

/* ================================================================
   10. HOMEPAGE — remaining sections
   ================================================================ */
.r10-statement { padding: var(--sec) 0; background: var(--bg-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.r10-statement__inner { max-width: 920px; }
.r10-statement__title {
  font-size: clamp(1.875rem, 3.2vw + 0.5rem, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.r10-statement__sub { font-size: 1.0625rem; line-height: 1.7; color: var(--text-body); max-width: 40em; }

.r10-services { padding: var(--sec) 0; background: var(--bg); }
.r10-rows { list-style: none; border-top: 2px solid var(--line-strong); }
.r10-row { border-bottom: 1px solid var(--line); }
.r10-row a {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.625rem 0.25rem;
  transition: padding-left 0.25s ease;
}
.r10-row a:hover { padding-left: 0.875rem; }
.r10-row__num { font-size: 12px; font-weight: 500; color: var(--coral); font-variant-numeric: tabular-nums; }
.r10-row__body { display: flex; flex-direction: column; gap: 0.375rem; }
.r10-row__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.6vw + 0.5rem, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}
.r10-row a:hover .r10-row__title { color: var(--coral); }
.r10-row__desc { font-size: 15px; line-height: 1.6; color: var(--text-secondary); max-width: 54em; }
.r10-row__arrow { font-size: 18px; color: var(--text-muted); transition: transform 0.25s ease, color 0.2s ease; }
.r10-row a:hover .r10-row__arrow { transform: translateX(4px); color: var(--coral); }

.r10-who { padding: var(--sec) 0; background: var(--bg-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.r10-who__list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; }
.r10-who__list li {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
  color: var(--text);
  padding: 1.125rem 0;
  border-top: 1px solid var(--line);
}

.r10-work { padding: var(--sec) 0; background: var(--bg); }
.r10-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.r10-cards--two { grid-template-columns: repeat(2, 1fr); }
.r10-card {
  display: flex;
  flex-direction: column;
  padding: 1.625rem;
  background: var(--paper-ivory);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color 0.25s ease;
}
.r10-card:hover { border-color: var(--line-strong); }
.r10-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; margin-bottom: 1.375rem; }
.r10-card__num { font-size: 12px; font-weight: 500; color: var(--coral); font-variant-numeric: tabular-nums; }
.r10-card__tags { font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); text-align: right; }
.r10-card__logo { display: flex; align-items: center; width: 132px; height: 64px; margin-bottom: 1.125rem; }
.r10-card__logo img { max-width: 124px; max-height: 56px; width: auto; height: auto; object-fit: contain; }
.r10-card__logo--dark { background: #141312; border-radius: 2px; justify-content: center; padding: 0 12px; }
.r10-card__logo--dark img { max-width: 104px; max-height: 48px; }
.r10-logotype {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border: 1px solid var(--line-strong); border-radius: 2px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
  color: var(--text);
}
.r10-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3125rem;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 0.375rem;
}
.r10-card:hover .r10-card__name { color: var(--coral); }
.r10-card__meta { font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.875rem; }
.r10-card__desc { font-size: 14px; line-height: 1.65; color: var(--text-body); margin-bottom: 1.25rem; flex: 1; }
.r10-card__link {
  font-size: 13px; font-weight: 500; color: var(--text);
  display: inline-flex; align-items: center; gap: 6px;
  padding-top: 0.875rem; border-top: 1px solid var(--line);
}
.r10-card:hover .r10-card__link { color: var(--coral); }
.r10-card__link span { transition: transform 0.25s ease; }
.r10-card:hover .r10-card__link span { transform: translateX(3px); }

/* The black room in the white gallery */
.r10-problem { padding: var(--sec) 0; background: var(--black); }
.r10-problem__inner { max-width: 780px; }
.r10-problem__title {
  font-size: clamp(1.875rem, 3vw + 0.5rem, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--light-primary);
  margin-bottom: 1.75rem;
}
.r10-problem__body p { font-size: 1.0625rem; line-height: 1.75; color: var(--light-body); margin-bottom: 1.25rem; }
.r10-problem__body p:last-child { margin-bottom: 0; }

.r10-process { padding: var(--sec) 0; background: var(--bg); }
.r10-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem; }
.r10-step { display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1.125rem; border-top: 2px solid var(--line-strong); }
.r10-step__num { font-size: 12px; font-weight: 500; color: var(--coral); font-variant-numeric: tabular-nums; }
.r10-step__name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.015em; color: var(--text); }
.r10-step__desc { font-size: 13.5px; line-height: 1.6; color: var(--text-secondary); }

.r10-why { padding: var(--sec) 0; background: var(--bg-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.r10-why__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.r10-why__list li { display: flex; flex-direction: column; gap: 0.375rem; padding: 1.375rem 0; border-top: 1px solid var(--line); }
.r10-why__name { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; color: var(--text); }
.r10-why__desc { font-size: 14.5px; line-height: 1.6; color: var(--text-body); max-width: 38em; }

.r10-founder { padding: var(--sec-tight) 0; background: var(--bg); }
.r10-founder__inner { max-width: 760px; padding-left: 1.75rem; border-left: 2px solid var(--coral); }
.r10-founder__inner--with-photo {
  display: grid; grid-template-columns: 200px 1fr; gap: 2.5rem; align-items: center;
  max-width: 880px; padding-left: 0; border-left: 0;
}
.r10-founder__photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; }
.r10-founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.r10-founder__body { font-size: 1.0625rem; line-height: 1.75; color: var(--text-body); }
.r10-founder__body strong { font-weight: 600; color: var(--text); }


/* v11.3.2 — About page founder photo */
.r10-founder__photo {
  position: relative;
  background: var(--paper-warm);
  border: 1px solid var(--line);
}
.r10-founder__photo::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 26, 13, 0.24);
  pointer-events: none;
}
.r10-founder__photo img {
  object-position: 52% 34%;
}

.r10-cta { padding: var(--sec) 0; background: var(--bg); border-top: 1px solid var(--line-strong); }
.r10-cta--flush { border-top: 0; }
.r10-cta__inner { max-width: 720px; }
.r10-cta__title {
  font-size: clamp(2rem, 3.6vw + 0.5rem, 3.5rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 1.25rem;
}
.r10-cta__sub { font-size: 1.0625rem; line-height: 1.7; color: var(--text-body); margin-bottom: 2.25rem; max-width: 38em; }
.r10-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }

/* ================================================================
   11. INNER PAGE HERO (v10 pages + legacy pages)
   ================================================================ */
.r10-pagehero { padding: clamp(8rem, 12vw, 10.5rem) 0 clamp(2.5rem, 4.5vw, 4rem); background: var(--bg); }
.r10-pagehero__title {
  font-size: clamp(2.25rem, 4.2vw + 0.5rem, 4rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 1.25rem;
  max-width: 22ch;
  animation: g-rise 0.7s ease both;
}
.r10-pagehero__lede { font-size: 1.0625rem; line-height: 1.7; color: var(--text-body); max-width: 42em; animation: g-rise 0.7s ease 0.1s both; }
.r10-pagehero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }

.page-hero { padding: clamp(8rem, 12vw, 10.5rem) 0 clamp(2.5rem, 4.5vw, 4rem); background: var(--bg); text-align: left; }
.page-hero__title {
  font-size: clamp(2.25rem, 4.2vw + 0.5rem, 4rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 1.25rem;
  max-width: 22ch;
}
.page-hero__title em { font-style: normal; color: var(--coral); }
.page-hero__text, .page-hero__sub { font-size: 1.0625rem; line-height: 1.7; color: var(--text-body); max-width: 42em; margin: 0; }

/* ================================================================
   12. FAQ / FACTS / LOGO PANEL (shared v10 components)
   ================================================================ */
.r10-faq { list-style: none; border-top: 2px solid var(--line-strong); max-width: 840px; }
.r10-faq li { border-bottom: 1px solid var(--line); padding: 1.5rem 0.25rem; }
.r10-faq__q { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 0.625rem; }
.r10-faq__a { font-size: 15px; line-height: 1.7; color: var(--text-body); max-width: 62em; }

.r10-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 1.75rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.r10-fact { display: flex; flex-direction: column; gap: 0.25rem; }
.r10-fact__label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); }
.r10-fact__value { font-family: var(--font-display); font-weight: 500; font-size: 1rem; line-height: 1.35; color: var(--text); }




/* v11.3.10 — Dynamic stats under hero, clean mobile-safe count */
.r10-home-facts {
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(0.5rem, 1.5vw, 1rem);
  background: var(--bg);
}
.r10-facts--home {
  margin-top: 0;
}

.r10-fact__value,
.sust-stat__number,
.sust-impact__number {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}
.r10-fact__value.is-counting-clean,
.sust-stat__number.is-counting-clean,
.sust-impact__number.is-counting-clean {
  color: var(--text);
}
@media (max-width: 640px) {
  .r10-home-facts {
    padding-top: 1.25rem;
  }
  .r10-facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
  }
}

.r10-logo-panel {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; min-height: 260px;
  background: var(--paper-ivory);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.r10-logo-panel img { max-width: 60%; max-height: 120px; width: auto; height: auto; object-fit: contain; border-radius: 0; border: 0; min-height: 0; }
.r10-logo-panel--dark { background: #141312; border-color: #141312; }
.r10-logo-panel .r10-logotype { width: 88px; height: 88px; font-size: 2rem; }

/* v11.4, client-tinted logo panel (Crevo marble). Client colour is
   allowed here because the panel shows the client's world, not ours. */
.r10-logo-panel--stone { background: #F1EADB; border-color: #E4DAC6; }
.r10-card__logo--stone { background: #F1EADB; border-radius: 2px; justify-content: center; padding: 0 12px; }
.r10-card__logo--stone img { max-width: 104px; max-height: 40px; }

/* v11.4, case study image showcase (first case study with real imagery) */
.cs-shots { padding: 0 0 var(--sec-tight); background: var(--bg); }
.cs-shot { margin: 0; }
.cs-shot img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: 2px;
  background: var(--bg-warm);
}
.cs-shot figcaption { margin-top: .75rem; font-size: 14px; line-height: 1.55; color: var(--text-secondary); max-width: 60ch; }
.cs-shots__pair { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(1rem, 2.5vw, 1.75rem); align-items: start; }
.cs-shots--pair { padding-top: var(--sec-tight); }
.cs-shot__mark {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1400 / 1017;
  background: #F1EADB; border: 1px solid #E4DAC6; border-radius: 2px;
  overflow: hidden;
}
.cs-shot__mark img { width: 42%; height: auto; border: 0; background: none; border-radius: 0; }
@media (max-width: 880px) {
  .cs-shots__pair { grid-template-columns: 1fr; }
}

/* ================================================================
   13. CASE STUDY DETAIL SUITE (cs-*) — used by all six projects
   ================================================================ */
.cs-hero { padding: clamp(8rem, 12vw, 10.5rem) 0 clamp(2.5rem, 5vw, 4rem); background: var(--bg); }
.cs-hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.cs-hero__content { display: flex; flex-direction: column; gap: 1rem; }
.cs-hero__meta { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); }
.cs-hero__meta::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--coral); margin-right: 10px; vertical-align: 1px; }
.cs-hero__title {
  font-size: clamp(2rem, 3.6vw + 0.5rem, 3.5rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.cs-hero__title em { font-style: normal; color: var(--coral); }
.cs-hero__lede { font-size: 1.0625rem; line-height: 1.65; color: var(--text-body); max-width: 36em; }
.cs-hero__visual { min-height: 280px; display: flex; }

.cs-facts { background: var(--bg-warm); padding: 2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cs-facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.cs-fact { display: flex; flex-direction: column; gap: 0.3rem; }
.cs-fact__label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); }
.cs-fact__value { font-family: var(--font-display); font-weight: 500; font-size: 1rem; line-height: 1.35; color: var(--text); }

.cs-section { padding: var(--sec-tight) 0; background: var(--bg); }
.cs-section--warm { background: var(--bg-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cs-section__inner { max-width: 720px; }
.cs-section__inner--wide { max-width: 920px; }
.cs-section__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); margin-bottom: 1rem; display: block; }
.cs-section__eyebrow::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--coral); margin-right: 10px; vertical-align: 1px; }
.cs-section__title { font-size: clamp(1.75rem, 2.6vw + 0.5rem, 2.5rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 1.5rem; }
.cs-section__title em { font-style: normal; color: var(--coral); }
.cs-section__body p { font-size: 1.0625rem; line-height: 1.75; color: var(--text-body); margin-bottom: 1.25rem; }
.cs-section__body p:last-child { margin-bottom: 0; }
.cs-section__body strong { font-weight: 600; color: var(--text); }

.cs-chapters { display: flex; flex-direction: column; margin-top: 2rem; border-top: 2px solid var(--line-strong); }
.cs-chapter { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.5rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.cs-chapter__num { font-size: 12px; font-weight: 500; color: var(--coral); font-variant-numeric: tabular-nums; padding-top: 0.3rem; }
.cs-chapter__content { display: flex; flex-direction: column; gap: 0.5rem; }
.cs-chapter__title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.2; }
.cs-chapter__body { font-size: 15px; line-height: 1.7; color: var(--text-body); }

.cs-outcome { padding: var(--sec) 0; background: var(--black); }
.cs-outcome__inner { max-width: 720px; }
.cs-outcome__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--light-primary); margin-bottom: 1rem; }
.cs-outcome__eyebrow::before { content: ''; display: inline-block; width: 7px; height: 7px; background: var(--coral); margin-right: 10px; vertical-align: 1px; }
.cs-outcome__title { font-size: clamp(1.75rem, 2.8vw + 0.5rem, 2.75rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; color: var(--light-primary); margin-bottom: 1.5rem; }
.cs-outcome__title em { font-style: normal; color: var(--coral); }
.cs-outcome__body p { font-size: 1.0625rem; line-height: 1.75; color: var(--light-body); margin-bottom: 1.25rem; }
.cs-outcome__body p:last-child { margin-bottom: 0; }
.cs-outcome__body strong { color: var(--light-primary); font-weight: 600; }
.cs-outcome__body em { font-style: normal; color: var(--light-primary); }

.cs-stack { padding: var(--sec-tight) 0; background: var(--bg-warm); border-bottom: 1px solid var(--line); }
.cs-stack__inner { max-width: 920px; margin: 0 auto; }
.cs-stack__head { margin-bottom: 2rem; }
.cs-stack__title { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.015em; }
.cs-stack__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cs-stack__item { background: var(--bg); padding: 1.25rem; }
.cs-stack__item-label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); margin-bottom: 0.4rem; display: block; }
.cs-stack__item-name { font-family: var(--font-display); font-weight: 500; font-size: 0.9688rem; color: var(--text); }

.cs-quote { padding: var(--sec-tight) 0; background: var(--bg); }
.cs-quote__inner { max-width: 760px; }
.cs-quote__mark { display: none; }
.cs-quote__text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw + 0.5rem, 2.125rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text);
  padding-left: 1.75rem;
  border-left: 2px solid var(--coral);
}
.cs-quote__text em { font-style: normal; color: var(--coral); }

.cs-next { padding: var(--sec-tight) 0; background: var(--bg); border-top: 1px solid var(--line); }
.cs-next__inner { max-width: 880px; }
.cs-next__label { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.cs-next__link { display: block; padding: 2rem; border: 1px solid var(--line); border-radius: 2px; transition: border-color 0.25s ease; }
.cs-next__link:hover { border-color: var(--line-strong); }
.cs-next__meta { font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.625rem; }
.cs-next__title { font-size: clamp(1.5rem, 2.4vw + 0.5rem, 2.125rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.625rem; }
.cs-next__title em { font-style: normal; color: var(--coral); }
.cs-next__cta { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text); }
.cs-next__link:hover .cs-next__cta { color: var(--coral); }
.cs-next__cta-arrow { transition: transform 0.25s ease; }
.cs-next__link:hover .cs-next__cta-arrow { transform: translateX(4px); }

/* ================================================================
   14. SERVICES OVERVIEW (page-services.php legacy structure)
   ================================================================ */
.group-lead { padding: 1.5rem 0 0; background: var(--bg); }
.group-lead__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }

.service-block { padding: var(--sec-tight) 0; background: var(--bg); }
.service-block + .service-block { padding-top: 0; }
.service-block__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 4.5vw, 4rem); align-items: center; }
.service-block__visual {
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-block__visual--web, .service-block__visual--brand,
.service-block__visual--seo, .service-block__visual--social { background: var(--bg-warm); }
.service-block__visual--custom { background: var(--black); border-color: var(--black); }
.service-block__visual-icon { width: 25%; max-width: 110px; color: var(--text-muted); }
.service-block__visual--custom .service-block__visual-icon { color: var(--light-soft); }
.service-block__visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.service-block__visual--has-photo .service-block__visual-icon { display: none; }
.service-block__content { display: flex; flex-direction: column; gap: 1rem; }
.service-block__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--coral); }
.service-block__title { font-size: clamp(1.625rem, 2.4vw + 0.5rem, 2.375rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 0.25rem; }
.service-block__body { display: flex; flex-direction: column; gap: 1rem; }
.service-block__body p { font-size: 15.5px; line-height: 1.7; color: var(--text-body); }
.service-block__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; margin: 0.75rem 0; list-style: none; }
.service-block__list li { font-size: 13.5px; color: var(--text-body); position: relative; padding-left: 1.125rem; }
.service-block__list li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; background: var(--coral); }
.service-block__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
  align-self: flex-start;
}
.service-block__cta:hover { color: var(--coral); border-bottom-color: var(--coral); }
.service-block__cta-arrow { transition: transform 0.25s ease; }
.service-block__cta:hover .service-block__cta-arrow { transform: translateX(4px); }
.service-block__shipped { font-size: 14px; line-height: 1.65; color: var(--text-secondary); border-left: 2px solid var(--coral); padding-left: 1rem; margin: 0.5rem 0; }

.polarize { padding: var(--sec) 0; background: var(--black); }
.polarize__inner { max-width: 760px; }
.polarize__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--light-soft); margin-bottom: 1rem; }
.polarize__title { font-size: clamp(1.875rem, 3vw + 0.5rem, 2.875rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; color: var(--light-primary); margin-bottom: 1.25rem; }
.polarize__title em { font-style: normal; color: var(--coral); }
.polarize__body { font-size: 1.0625rem; line-height: 1.7; color: var(--light-body); max-width: 38em; }

.service-block--featured { padding: var(--sec-tight) 0; background: var(--bg); }
.service-block--featured .service-block__inner { grid-template-columns: 1fr 1.2fr; }
.service-block--featured .service-block__visual { aspect-ratio: 1 / 1; background: var(--black); border-color: var(--black); }

.studio-doors { padding: var(--sec-tight) 0; background: var(--bg-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.studio-doors__inner { max-width: 720px; }
.studio-doors__title { font-size: clamp(1.625rem, 2.4vw + 0.5rem, 2.25rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 1.25rem; }
.studio-doors__title em { font-style: normal; color: var(--coral); }
.studio-doors__body { font-size: 1.0625rem; line-height: 1.7; color: var(--text-body); }
.studio-doors__body strong { font-weight: 600; color: var(--text); }

/* ================================================================
   15. CTA SECTION (legacy class used across many pages)
   ================================================================ */
.cta-section, .cta-block {
  padding: var(--sec) 0;
  background: var(--bg);
  border-top: 1px solid var(--line-strong);
  text-align: left;
  animation: none;
}
.cta-section__title {
  font-size: clamp(2rem, 3.6vw + 0.5rem, 3.5rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 1.25rem;
  max-width: 720px;
}
.cta-section__title em { font-style: normal; color: var(--coral); }
.cta-block .cta-section__title, .cta-block .cta-section__sub { color: var(--text); }
.cta-block .cta-section__sub { color: var(--text-body); }
.cta-section__sub { font-size: 1.0625rem; line-height: 1.7; color: var(--text-body); max-width: 38em; margin-bottom: 2.25rem; }
.cta-block .section-label { color: var(--text) !important; }
.cta-section .btn-group { justify-content: flex-start !important; }
.cta-section .section-label { justify-content: flex-start !important; }

/* ================================================================
   16. CONTACT
   ================================================================ */
.contact-section { padding: clamp(8rem, 12vw, 10.5rem) 0 var(--sec-tight); background: var(--bg); }
.contact-section .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.contact__title { font-size: clamp(2rem, 3.4vw + 0.5rem, 3.25rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1; margin-bottom: 1rem; }
.contact__title em { font-style: normal; color: var(--coral); }
.contact__sub { font-size: 1.0625rem; line-height: 1.7; color: var(--text-body); max-width: 34em; margin-bottom: 2.25rem; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); }
.form-group input, .form-group textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper-ivory);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--text); }
.form-group textarea { min-height: 150px; resize: vertical; }
.form-status { font-size: 14px; color: var(--text-body); }
.contact-info { padding-top: 8px; }
.contact-info__mascot { display: none; }
.contact-info__photo { display: none; }
.contact-info__item { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.contact-info__label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); margin-bottom: 6px; }
.contact-info__text { font-size: 15.5px; color: var(--text); }
.contact-note { margin-top: 28px; padding: 1.25rem 0 0; border-top: 2px solid var(--line-strong); font-size: 14px; line-height: 1.7; color: var(--text-secondary); }

/* ================================================================
   17. SUSTAINABILITY
   ================================================================ */
.sust-hero { padding: clamp(8rem, 12vw, 10.5rem) 0 var(--sec-tight); background: var(--bg); }
.sust-hero__title { font-size: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1; max-width: 20ch; margin-bottom: 1.25rem; }
.sust-hero__title em { font-style: normal; color: var(--coral); }
.sust-hero__sub { font-size: 1.0625rem; line-height: 1.7; color: var(--text-body); max-width: 40em; }

.sust-stat { padding: var(--sec-tight) 0; background: var(--bg-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sust-stat__number { font-family: var(--font-display); font-size: clamp(64px, 11vw, 150px); font-weight: 700; letter-spacing: -0.05em; line-height: 0.9; color: var(--text); }
.sust-stat__detail { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--coral); margin-top: 12px; }
.sust-stat__text { font-size: 1.0625rem; line-height: 1.65; color: var(--text-body); max-width: 34em; margin-top: 28px; }
.sust-stat__source { font-size: 12.5px; color: var(--text-muted); margin-top: 24px; }

.sust-gaps { padding: var(--sec) 0; background: var(--black); }
.sust-gaps .section-label { color: var(--light-primary); }
.sust-gaps__title { font-size: clamp(1.875rem, 3.2vw + 0.5rem, 3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; color: var(--light-primary); margin-bottom: 3rem; max-width: 22ch; }
.sust-gaps__title em { font-style: normal; color: var(--coral); }
.sust-gap { padding: 1.5rem 0; border-top: 1px solid var(--coal-line); display: grid; grid-template-columns: 3.5rem 1fr; gap: 0.25rem 1.25rem; align-items: start; }
.sust-gap:last-child { border-bottom: 1px solid var(--coal-line); }
.sust-gap__number { font-size: 12px; font-weight: 500; color: var(--coral); font-variant-numeric: tabular-nums; padding-top: 0.35rem; }
.sust-gap__name { font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.01em; color: var(--light-primary); margin-bottom: 0.25rem; }
.sust-gap__text { font-size: 14.5px; line-height: 1.65; color: var(--light-body); }
.sust-gap__text a { color: var(--light-primary); text-decoration: underline; text-underline-offset: 3px; }

.sust-impact { padding: var(--sec) 0; background: var(--bg); border-top: 1px solid var(--line); }
.sust-impact__number { font-family: var(--font-display); font-size: clamp(64px, 11vw, 150px); font-weight: 700; letter-spacing: -0.05em; line-height: 0.9; color: var(--coral); margin-bottom: 8px; }
.sust-impact__detail { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text); margin-bottom: 28px; }
.sust-impact__text { font-size: 1.125rem; line-height: 1.6; color: var(--text-body); max-width: 34em; }
.sust-impact__text strong { font-weight: 700; color: var(--text); }
.sust-impact__source { font-size: 12.5px; color: var(--text-muted); margin-top: 24px; }

.sust-response { padding: var(--sec-tight) 0; background: var(--bg); }
.sust-response .container { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.sust-response h2 { font-size: clamp(1.75rem, 2.6vw + 0.5rem, 2.5rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
.sust-response h2 em { font-style: normal; color: var(--coral); }
.sust-response__right p { font-size: 1rem; line-height: 1.75; color: var(--text-body); margin-bottom: 1.125rem; }
.sust-response__right a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.sust-response__right a:hover { color: var(--coral); }

.sust-values { padding: var(--sec-tight) 0; background: var(--bg-warm); border-top: 1px solid var(--line); }
.sust-values .section-label { color: var(--text); margin-bottom: 2.5rem; }
.sust-values__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.sust-value { padding: 1.375rem 0; border-top: 1px solid var(--line); }
.sust-value__name { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; color: var(--text); margin-bottom: 0.375rem; }
.sust-value__text { font-size: 14.5px; line-height: 1.65; color: var(--text-body); }

/* ================================================================
   18. GENERIC PAGE & 404
   ================================================================ */
.page-content { padding: var(--sec-tight) 0; }
.page-content .container { max-width: 760px; }
.page-content p { margin-bottom: 1.25rem; font-size: 1.0625rem; line-height: 1.75; }
.page-content h2 { margin: 2.25rem 0 1rem; font-size: 1.75rem; }
.page-content h3 { margin: 1.75rem 0 0.75rem; font-size: 1.3125rem; }

/* 404 uses the old .hero markup — give it a clean white treatment */
.hero { min-height: 70vh; display: flex; align-items: center; padding: clamp(8rem, 12vw, 10rem) 0 var(--sec-tight); background: var(--bg); position: relative; }
.hero__inner { max-width: 880px; }
.hero__eyebrow { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--coral); margin-bottom: 1.25rem; }
.hero__title { font-size: clamp(2.25rem, 4.4vw + 0.5rem, 4rem); font-weight: 650; letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 1.5rem; }
.hero__title .line { display: block; opacity: 1; animation: none; }
.hero__title em { font-style: normal; color: var(--coral); }
.hero__lede { font-size: 1.0625rem; line-height: 1.7; color: var(--text-body); max-width: 38em; margin-bottom: 2rem; opacity: 1; animation: none; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 20px; opacity: 1; animation: none; }
.hero__scroll-cue { display: none; }
.hero__phoenix { display: none; }

/* ================================================================
   19. MISC LEGACY HOOKS (kept inert but presentable)
   ================================================================ */
.icon-pill { display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); }
.icon-pill i { font-size: 22px; line-height: 1; }
.editorial-photo { position: relative; overflow: hidden; border-radius: 2px; border: 1px solid var(--line); }
.editorial-photo img { width: 100%; height: 100%; object-fit: cover; }
.surface-coal-warming { background: var(--black); color: var(--light-body); }
.surface-coal-warming h1, .surface-coal-warming h2, .surface-coal-warming h3 { color: var(--light-primary); }

/* ================================================================
   19a. v11.2 — LOADING SCREEN (restored)
   Static main logo + brand name on Gallery White. The brand name
   is set in one ink color only — never multi-colored.
   ================================================================ */
.loading-screen {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  opacity: 1;
  transition: opacity 0.55s ease;
}
.loading-screen.is-hidden { opacity: 0; pointer-events: none; }
.loading-content { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.loading-logo__img { width: 72px; height: 72px; object-fit: contain; }
.loading-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.3em;
  text-indent: 0.3em; /* optically centers tracked uppercase */
  color: #111110;
}
.loading-wordmark span { color: inherit; }

/* ================================================================
   19b. v11.2 — IGNITION HERO (the signature)
   The one place the site burns: a dark band, a spark that lights
   the headline, embers rising from below the fold. Everything
   after the hero stays Gallery White.
   All colors are explicit and scoped with high specificity —
   no reliance on variable inheritance on dark (v9 lesson).
   Without JS the hero renders fully lit and static.
   ================================================================ */
.r10-hero.r10-hero--ignite {
  position: relative;
  background: #0C0B0A;
  overflow: hidden;
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}
.r10-hero.r10-hero--ignite::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -40%;
  height: 70%;
  background: radial-gradient(ellipse 70% 100% at 50% 100%,
    rgba(255,110,5,0.13), rgba(255,26,13,0.05) 55%, transparent 75%);
  pointer-events: none;
}
.r10-embers {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.r10-hero--ignite .container { position: relative; z-index: 2; }
/* The ignition sequence owns all hero motion: disable the legacy
   whole-block fade so the dim headline is visible from first paint. */
.r10-hero--ignite .r10-hero__main,
.r10-hero--ignite .r10-hero__index { animation: none; }

/* --- text colors on dark --- */
.r10-hero--ignite .r10-label { color: #B9B4AC; }
.r10-hero--ignite .r10-hero__lede { color: #B9B4AC; }
.r10-hero--ignite .r10-hero__proof { color: #767066; }

/* --- layered headline: dim base + lit layer revealed by the sweep --- */
.r10-hero--ignite .r10-ignite { position: relative; }
.r10-hero--ignite .r10-ignite__base { color: #4A4742; }
.r10-hero--ignite .r10-ignite__lit {
  position: absolute; inset: 0;
  color: #F5F3EF;
  clip-path: inset(0 -8% 0 0); /* default: fully lit (no-JS fallback) */
}
.r10-hero--ignite .r10-flame {
  background: linear-gradient(100deg, #FF1A0D 0%, #FF6E05 55%, #FFD055 110%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.r10-hero--ignite .r10-ignite__spark {
  position: absolute; top: -6%; bottom: -6%; left: 0;
  width: 3px; opacity: 0;
  background: linear-gradient(180deg, transparent, #FFD055 30%, #FFFFFF 50%, #FF6E05 70%, transparent);
  filter: blur(0.5px) drop-shadow(0 0 14px rgba(255,110,5,0.95)) drop-shadow(0 0 34px rgba(255,26,13,0.6));
  pointer-events: none;
}

/* --- armed state (JS only): hide, then ignite --- */
.r10-hero--ignite.r10-armed .r10-ignite__lit { clip-path: inset(0 100% 0 0); }
.r10-hero--ignite.r10-armed .r10-hero__lede,
.r10-hero--ignite.r10-armed .r10-hero__cta,
.r10-hero--ignite.r10-armed .r10-hero__proof,
.r10-hero--ignite.r10-armed .r10-hero__index { opacity: 0; transform: translateY(14px); animation: none; }

.r10-hero--ignite.r10-armed.is-lit .r10-ignite__lit { animation: r10-sweep 1.5s cubic-bezier(0.65, 0, 0.25, 1) 0.35s forwards; }
.r10-hero--ignite.r10-armed.is-lit .r10-ignite__spark { animation: r10-spark-travel 1.5s cubic-bezier(0.65, 0, 0.25, 1) 0.35s forwards; }
.r10-hero--ignite.r10-armed.is-lit .r10-hero__lede  { animation: r10-rise 0.7s ease 1.35s forwards; }
.r10-hero--ignite.r10-armed.is-lit .r10-hero__cta   { animation: r10-rise 0.7s ease 1.5s forwards; }
.r10-hero--ignite.r10-armed.is-lit .r10-hero__proof { animation: r10-rise 0.7s ease 1.65s forwards; }
.r10-hero--ignite.r10-armed.is-lit .r10-hero__index { animation: r10-rise 0.8s ease 1.6s forwards; }

/* instant state: repeat visits this session skip the sequence */
.r10-hero--ignite.is-instant .r10-ignite__lit { clip-path: inset(0 -8% 0 0) !important; animation: none !important; }
.r10-hero--ignite.is-instant .r10-ignite__spark { animation: none !important; opacity: 0 !important; }
.r10-hero--ignite.is-instant .r10-hero__lede,
.r10-hero--ignite.is-instant .r10-hero__cta,
.r10-hero--ignite.is-instant .r10-hero__proof,
.r10-hero--ignite.is-instant .r10-hero__index { opacity: 1 !important; transform: none !important; animation: none !important; }

@keyframes r10-sweep { to { clip-path: inset(0 -8% 0 0); } }
@keyframes r10-spark-travel {
  0%   { left: 0;    opacity: 0; }
  6%   { opacity: 1; }
  88%  { opacity: 1; }
  100% { left: 104%; opacity: 0; }
}
@keyframes r10-rise { to { opacity: 1; transform: translateY(0); } }

/* --- CTA buttons and links on dark: explicit colors, no inheritance --- */
.r10-hero.r10-hero--ignite .r10-btn {
  background: #F5F3EF;
  border-color: #F5F3EF;
  color: #111110;
}
.r10-hero.r10-hero--ignite .r10-btn:hover {
  background: #FF1A0D;
  border-color: #FF1A0D;
  color: #FFFFFF;
  box-shadow: 0 0 32px rgba(255,26,13,0.35);
}
.r10-hero.r10-hero--ignite .r10-link {
  color: #B9B4AC;
  border-bottom-color: #3A3733;
}
.r10-hero.r10-hero--ignite .r10-link:hover {
  color: #FFD055;
  border-bottom-color: #FFD055;
}

/* --- the project ledger, restyled for dark --- */
.r10-hero--ignite .r10-hero__index-head { color: #767066; }
.r10-hero--ignite .r10-index { border-top-color: rgba(255,255,255,0.18); }
.r10-hero--ignite .r10-index li { border-bottom-color: rgba(255,255,255,0.08); }
.r10-hero--ignite .r10-index__num { color: #FF1A0D; }
.r10-hero--ignite .r10-index__name { color: #F5F3EF; }
.r10-hero--ignite .r10-index a:hover .r10-index__name { color: #FFD055; }
.r10-hero--ignite .r10-index__sector { color: #8A857C; }
.r10-hero--ignite .r10-index__meta { color: #767066; }

/* --- reduced motion: final lit state, no canvas, no sequence --- */
@media (prefers-reduced-motion: reduce) {
  .r10-hero--ignite .r10-ignite__lit { clip-path: inset(0 -8% 0 0) !important; animation: none !important; }
  .r10-hero--ignite .r10-ignite__spark { display: none !important; }
  .r10-hero--ignite .r10-hero__lede,
  .r10-hero--ignite .r10-hero__cta,
  .r10-hero--ignite .r10-hero__proof,
  .r10-hero--ignite .r10-hero__index { opacity: 1 !important; transform: none !important; animation: none !important; }
  .r10-embers { display: none !important; }
}

/* ================================================================
   19c. v11.3 — SERVICES ORBIT
   Sole at the center, the five services born from behind it and
   orbiting it continuously — on every device. The core disc is
   pure white, so Sole always sits on light regardless of section.
   ================================================================ */
.r10-orbit-section { background: var(--bg); padding: clamp(1rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem); overflow: hidden; }
.r10-services { overflow: hidden; }

.r10-orbit {
  --orbit-r: 250px;
  --orbit-period: 70s;
  position: relative;
  width: min(92vw, 760px);
  height: min(92vw, 700px);
  margin: 0 auto;
}
.r10-orbit::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: calc(var(--orbit-r) * 2); height: calc(var(--orbit-r) * 2);
  margin-left: calc(var(--orbit-r) * -1); margin-top: calc(var(--orbit-r) * -1);
  border: 1px dashed #D5D2CB;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.8s ease 1.1s;
}
.r10-orbit.is-in::before { opacity: 0.55; }

/* center: Sole. Static; never rotates. Rises from below — the
   phoenix ascends, then everything is born from behind it. */
.r10-orbit__core {
  --rise: clamp(80px, 12vw, 120px);
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, calc(-50% + var(--rise))) scale(0.82);
  width: clamp(110px, 18vw, 156px); height: clamp(110px, 18vw, 156px);
  display: flex; align-items: center; justify-content: center;
  background: #FFFFFF;
  border: 1px solid #E8E6E1;
  border-radius: 50%;
  box-shadow: 0 18px 50px rgba(17, 17, 16, 0.07);
  opacity: 0;
  transition: opacity 0.75s ease, transform 0.85s cubic-bezier(0.3, 1.25, 0.45, 1);
  z-index: 5;
}
.r10-orbit.is-in .r10-orbit__core { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.r10-orbit__core img { width: 62%; height: 62%; object-fit: contain; }

.r10-orbit__ring { position: absolute; inset: 0; z-index: 4; }
.r10-orbit.is-orbiting .r10-orbit__ring { animation: r10-orbit-spin var(--orbit-period) linear infinite; }
@keyframes r10-orbit-spin { to { transform: rotate(360deg); } }

/* chips emerge radially from behind Sole along their own angle */
.r10-orbit__pos {
  position: absolute; top: 50%; left: 50%;
  --r: 0px;
  transform: rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a)));
  transition: transform 0.9s cubic-bezier(0.34, 1.3, 0.45, 1);
  z-index: 4;
}
.r10-orbit.is-in .r10-orbit__pos { --r: var(--orbit-r); }
.r10-orbit__pos:nth-child(1) { transition-delay: 0.75s; }
.r10-orbit__pos:nth-child(2) { transition-delay: 0.88s; }
.r10-orbit__pos:nth-child(3) { transition-delay: 1.01s; }
.r10-orbit__pos:nth-child(4) { transition-delay: 1.14s; }
.r10-orbit__pos:nth-child(5) { transition-delay: 1.27s; }

.r10-orbit-svc {
  display: flex; align-items: center; gap: 12px;
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
  background: #FFFFFF;
  border: 1px solid #E8E6E1;
  border-radius: 10px;
  padding: 14px 18px;
  text-decoration: none;
  color: #111110;
  box-shadow: 0 10px 30px rgba(17, 17, 16, 0.06);
  transition: transform 0.9s cubic-bezier(0.34, 1.3, 0.45, 1), opacity 0.5s ease,
              border-color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}
.r10-orbit.is-in .r10-orbit-svc { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.r10-orbit.is-in .r10-orbit__pos:nth-child(1) .r10-orbit-svc { transition-delay: 0.75s, 0.75s, 0s, 0s; }
.r10-orbit.is-in .r10-orbit__pos:nth-child(2) .r10-orbit-svc { transition-delay: 0.88s, 0.88s, 0s, 0s; }
.r10-orbit.is-in .r10-orbit__pos:nth-child(3) .r10-orbit-svc { transition-delay: 1.01s, 1.01s, 0s, 0s; }
.r10-orbit.is-in .r10-orbit__pos:nth-child(4) .r10-orbit-svc { transition-delay: 1.14s, 1.14s, 0s, 0s; }
.r10-orbit.is-in .r10-orbit__pos:nth-child(5) .r10-orbit-svc { transition-delay: 1.27s, 1.27s, 0s, 0s; }

/* counter-rotation keeps every chip upright while the ring spins */
.r10-orbit.is-orbiting .r10-orbit-svc { animation: r10-orbit-counter var(--orbit-period) linear infinite; }
@keyframes r10-orbit-counter { to { transform: translate(-50%, -50%) scale(1) rotate(-360deg); } }

/* hover pauses the whole system and lifts the chip (desktop) */
.r10-orbit.is-orbiting:hover .r10-orbit__ring,
.r10-orbit.is-orbiting:hover .r10-orbit-svc { animation-play-state: paused; }
.r10-orbit-svc:hover {
  border-color: #FF1A0D;
  box-shadow: 0 16px 40px rgba(255, 26, 13, 0.12);
}
.r10-orbit-svc:hover .r10-orbit-svc__name { color: #FF1A0D; }

.r10-orbit-svc__icon {
  width: 34px; height: 34px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: #FF1A0D;
}
.r10-orbit-svc__icon svg { width: 100%; height: 100%; }
.r10-orbit-svc__icon .duo { opacity: 0.18; }
.r10-orbit-svc__name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 15px;
  color: #111110;
  transition: color 0.2s ease;
}
.r10-orbit__hint { text-align: center; color: #5F5B54; font-size: 13.5px; margin-top: 0.25rem; }

/* mobile: compact icon chips on a tighter ring — the orbit keeps moving */
@media (max-width: 720px) {
  .r10-orbit { --orbit-r: 128px; --orbit-period: 80s; width: 100vw; height: 380px; margin-left: 50%; transform: translateX(-50%); }
  .r10-orbit-svc {
    flex-direction: column; gap: 6px;
    padding: 10px;
    border-radius: 12px;
    white-space: normal; text-align: center;
    width: 78px;
  }
  .r10-orbit-svc__icon { width: 26px; height: 26px; }
  .r10-orbit-svc__name { font-size: 9.5px; line-height: 1.15; letter-spacing: 0; }
}

/* reduced motion: fully revealed static ring */
@media (prefers-reduced-motion: reduce) {
  .r10-orbit::before { opacity: 0.55; transition: none; }
  .r10-orbit__core { opacity: 1; transform: translate(-50%, -50%) scale(1); transition: none; }
  .r10-orbit__pos { --r: var(--orbit-r); transition: none; }
  .r10-orbit-svc { transform: translate(-50%, -50%) scale(1); opacity: 1; transition: none; }
  .r10-orbit.is-orbiting .r10-orbit__ring,
  .r10-orbit.is-orbiting .r10-orbit-svc { animation: none; }
}

/* ================================================================
   19d. v11.3 — IGNITION HERO POLISH
   Inspired refinements, not replication: the hero breathes when
   idle, the gradient words carry a slow heat shimmer, and the
   header drops in as the opening beat of the first-visit sequence.
   ================================================================ */
/* breathing floor glow */
.r10-hero.r10-hero--ignite::after {
  animation: r10-breathe 9s ease-in-out infinite alternate;
}
@keyframes r10-breathe {
  from { opacity: 0.75; transform: scaleY(1); }
  to   { opacity: 1;    transform: scaleY(1.12); }
}

/* heat shimmer on the flame words */
.r10-hero--ignite .r10-flame {
  background-size: 220% 100%;
  animation: r10-shimmer 6s ease-in-out infinite alternate;
}
@keyframes r10-shimmer {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

/* header drop-in: only when the full ignition sequence plays */
.header.r10-drop {
  animation: r10-header-drop 0.6s cubic-bezier(0.25, 0.9, 0.35, 1) 0.1s both;
}
@keyframes r10-header-drop {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .r10-hero.r10-hero--ignite::after { animation: none; }
  .r10-hero--ignite .r10-flame { animation: none; background-size: 100% 100%; }
  .header.r10-drop { animation: none; }
}

/* ================================================================
   20. RESPONSIVE
   ================================================================ */
@media (max-width: 1080px) {
  .r10-cards { grid-template-columns: repeat(2, 1fr); }
  .r10-steps { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; }
  .r10-who__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .r10-why__list, .sust-values__grid { grid-template-columns: 1fr; }
  .r10-facts, .cs-facts__grid { grid-template-columns: repeat(2, 1fr); }
  .cs-hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .service-block__inner, .service-block--featured .service-block__inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .contact-section .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .sust-response .container { grid-template-columns: 1fr; gap: 2rem; }
  .r10-founder__inner--with-photo { grid-template-columns: 1fr; gap: 1.75rem; max-width: 560px; }
  .r10-founder__photo { max-width: 220px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .r10-index a { grid-template-columns: 2.5rem 1fr auto; }
  .r10-index__meta { display: none; }
}
@media (max-width: 640px) {
  .r10-cards, .r10-cards--two { grid-template-columns: 1fr; }
  .r10-steps { grid-template-columns: 1fr; }
  .r10-who__list { grid-template-columns: 1fr; }
  .r10-row a { grid-template-columns: 2.25rem 1fr auto; gap: 0.875rem; padding: 1.25rem 0.125rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .service-block__list { grid-template-columns: 1fr; }
  .cs-chapter { grid-template-columns: 2.25rem 1fr; gap: 1rem; }
}

/* ================================================================
   21. REDUCED MOTION & PRINT
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .header, .footer, .menu-toggle, .mobile-menu { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Ledger sector column (4-col: num / name / sector / city) */
.r10-index__sector { font-size: 13px; color: var(--text-secondary); }

/* Final coverage: small structural wrappers + placeholder safety net */
.contact-form-side { display: flex; flex-direction: column; }
.stack-xl > * + * { margin-top: 3rem; }
.photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; min-height: 200px;
  background: var(--bg-warm); border: 1px solid var(--line); border-radius: 2px;
}
.photo-placeholder__icon, .photo-placeholder__hint { display: none; }
.photo-placeholder__title { font-size: 13px; color: var(--text-muted); }

/* ================================================================
   22. v11.1 GALLERY MOTION
   ================================================================ */

/* ---- 1. Scroll reveal ----
   Initial hidden state only exists when JS confirms support
   (html.js-anim) — no-JS visitors see everything immediately. */
.js-anim .av {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0s),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) var(--d, 0s);
}
.js-anim .in-view .av { opacity: 1; transform: none; }

/* ---- 2. Hover life ---- */

/* Underline draw: shared technique for ledger names and row titles */
.r10-index__name, .r10-row__title, .r10-card__name {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), color 0.2s ease;
  padding-bottom: 2px;
  width: fit-content;
}
.r10-index a:hover .r10-index__name,
.r10-row a:hover .r10-row__title,
.r10-card:hover .r10-card__name { background-size: 100% 1px; }

/* Ledger: arrow slides in; siblings dim so the read row leads */
.r10-index a {
  grid-template-columns: 3.5rem 1.4fr 1fr auto 1.25rem;
  transition: padding-left 0.25s ease, opacity 0.3s ease;
}
.r10-index a::after {
  content: '\2192';
  font-size: 16px;
  color: var(--coral);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  justify-self: end;
}
.r10-index a:hover::after { opacity: 1; transform: translateX(0); }
.r10-index:hover a:not(:hover) { opacity: 0.4; }

/* Service rows: same dim treatment; arrow element already exists */
.r10-rows { --dim: 1; }
.r10-row a { transition: padding-left 0.25s ease, opacity 0.3s ease; }
.r10-rows:hover .r10-row a:not(:hover) { opacity: 0.4; }

/* Cards: quiet background shift on hover */
.r10-card { transition: border-color 0.25s ease, background 0.3s ease; }
.r10-card:hover { background: var(--bg-warm); }

/* Mobile: the dim effect is pointless without a cursor */
@media (hover: none) {
  .r10-index:hover a:not(:hover),
  .r10-rows:hover .r10-row a:not(:hover) { opacity: 1; }
}

/* v11.4, link to the full work list under the homepage grid */
.r10-work__all { margin-top: 1.75rem; }
