

/* Injected: neutralise user-agent button chrome. See FORM_CONTROL_RESET.
   One element selector, so any page rule naming a class still wins. */
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 0;
  background-image: none;
  font: inherit;
  line-height: inherit;
  color: inherit;
  cursor: pointer;
}
:root {
    --primary: #b21219;
    --accent: #c5656a;
    --secondary: #c5656a;
    --bg: #f9f7f7;
    --ink: #090906;
    --white: #ffffff;
    --brand-1: #436b26;

    --on-primary: #ffffff;
    --on-primary-muted: #f3e0e1;
    --link-on-primary: #f3e0e1;
    --on-bg: #090906;
    --on-bg-muted: #3a3a38;
    --link-on-bg: #b21219;
    --on-ink: #f9f7f7;
    --on-ink-muted: #c8c7c3;
    --link-on-ink: #d17175;
    --on-white: #090906;
    --on-white-muted: #3a3a38;
    --link-on-white: #b21219;
    --on-brand-1: #ffffff;
    --on-brand-1-muted: #e8f0e0;

    --text-on-dark: #f9f7f7;
    --text-muted-on-dark: #c8c7c3;
    --text-on-light: #090906;
    --text-muted-on-light: #3a3a38;

    --maxw: 1080px;
    --gutter: 24px;
    --section-y: 96px;

    --t-label: 13px;
    --t-body: 17px;
    --t-lead: 21px;
    --t-h2: 30px;
    --t-h1: 46px;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { font-size: 100%; }

  body {
    font-family: 'Inter', sans-serif;
    font-size: var(--t-body);
    background: var(--bg);
    color: var(--on-bg);
    line-height: 1.6;
  }

  h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    line-height: 1.15;
  }

  .inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
  }

  /* ── HEADER / NAV ── */
  .site-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
    padding: 20px 0;
  }

  .site-header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .site-header nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .site-header nav a {
    font-family: 'Inter', sans-serif;
    font-size: var(--t-label);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-on-dark);
    text-decoration: none;
  }

  .site-header nav a:hover {
    color: var(--link-on-ink);
  }

  .nav-cta {
    background: var(--primary);
    color: var(--on-primary) !important;
    padding: 10px 20px;
    border-radius: 2px;
    white-space: nowrap;
  }

  .nav-cta:hover {
    color: var(--on-primary) !important;
    opacity: 0.9;
  }

  /* ── HERO ── */
  .hero {
    position: relative;
    padding: 120px 0;
    overflow: visible;
  }

  .hero-img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }

  .hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      var(--ink) 0%,
      rgba(9,9,6,0.72) 45%,
      rgba(9,9,6,0.38) 100%
    );
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-label {
    font-family: 'Inter', sans-serif;
    font-size: var(--t-label);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-on-dark);
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: var(--t-h1);
    font-weight: 300;
    color: var(--text-on-dark);
    max-width: 640px;
    margin-bottom: 24px;
  }

  .hero h1 em {
    font-style: italic;
    font-weight: 400;
  }

  .hero-sub {
    font-size: var(--t-lead);
    color: var(--text-on-dark);
    max-width: 520px;
    margin-bottom: 36px;
    font-weight: 400;
  }

  .btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--on-primary);
    font-family: 'Inter', sans-serif;
    font-size: var(--t-body);
    font-weight: 600;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 2px;
    letter-spacing: 0.01em;
  }

  .btn-primary:hover {
    opacity: 0.9;
  }

  /* ── STATEMENT PANEL ── */
  .statement {
    background: var(--ink);
    padding: var(--section-y) 0;
  }

  .statement-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }

  .statement-lhs h2 {
    font-size: var(--t-h2);
    font-weight: 400;
    color: var(--on-ink);
    margin-bottom: 20px;
  }

  .statement-lhs h2 span {
    color: var(--link-on-ink);
    font-style: italic;
  }

  .statement-lhs p {
    font-size: var(--t-body);
    color: var(--on-ink-muted);
    line-height: 1.7;
  }

  .statement-rhs {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .statement-item {
    border-left: 2px solid var(--primary);
    padding-left: 20px;
  }

  .statement-item strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: var(--t-label);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--on-ink);
    margin-bottom: 6px;
  }

  .statement-item p {
    font-size: var(--t-body);
    color: var(--on-ink-muted);
    line-height: 1.6;
  }

  /* ── IMAGE PAIR ── */
  .image-pair {
    background: var(--bg);
    padding: var(--section-y) 0;
  }

  .image-pair-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }

  .img-card {
    position: relative;
    overflow: hidden;
  }

  .img-card img {
    width: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
  }

  .img-card-body {
    padding: 24px 0 0;
  }

  .img-card-label {
    font-size: var(--t-label);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--link-on-bg);
    margin-bottom: 10px;
  }

  .img-card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: var(--t-h2);
    font-weight: 400;
    color: var(--on-bg);
    margin-bottom: 12px;
  }

  .img-card-body p {
    font-size: var(--t-body);
    color: var(--on-bg-muted);
    line-height: 1.7;
  }

  /* ── CTA BAND ── */
  .cta-band {
    background: var(--primary);
    padding: var(--section-y) 0;
  }

  .cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .cta-band h2 {
    font-size: var(--t-h2);
    font-weight: 400;
    color: var(--on-primary);
    max-width: 560px;
  }

  .cta-band h2 em {
    font-style: italic;
  }

  .btn-outline-white {
    display: inline-block;
    border: 2px solid var(--on-primary);
    color: var(--on-primary);
    font-family: 'Inter', sans-serif;
    font-size: var(--t-body);
    font-weight: 600;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 2px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .btn-outline-white:hover {
    background: var(--on-primary);
    color: var(--primary);
  }

  /* ── CONTACT SECTION ── */
  .contact-section {
    background: var(--bg);
    padding: var(--section-y) 0;
  }

  .contact-section-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }

  .contact-lhs h2 {
    font-size: var(--t-h2);
    font-weight: 400;
    color: var(--on-bg);
    margin-bottom: 16px;
  }

  .contact-lhs p {
    font-size: var(--t-body);
    color: var(--on-bg-muted);
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .contact-lhs a {
    color: var(--link-on-bg);
    text-decoration: none;
  }

  .contact-lhs a:hover {
    text-decoration: underline;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .contact-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: var(--t-label);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--on-bg-muted);
  }

  .contact-form input,
  .contact-form textarea {
    font-family: 'Inter', sans-serif;
    font-size: var(--t-body);
    color: var(--on-bg);
    background: var(--white);
    border: 1px solid rgba(9,9,6,0.18);
    border-radius: 2px;
    padding: 12px 16px;
    width: 100%;
    outline: none;
    transition: border-color 0.15s;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: var(--primary);
  }

  .contact-form textarea {
    resize: vertical;
    min-height: 120px;
  }

  .contact-form button[type="submit"] {
    font-family: 'Inter', sans-serif;
    font-size: var(--t-body);
    font-weight: 600;
    color: var(--on-primary);
    background: var(--primary);
    border: none;
    border-radius: 2px;
    padding: 16px 32px;
    cursor: pointer;
    letter-spacing: 0.01em;
    align-self: flex-start;
    transition: opacity 0.15s;
  }

  .contact-form button[type="submit"]:hover {
    opacity: 0.9;
  }

  .contact-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }

  .contact-success {
    display: none;
    background: var(--ink);
    border-left: 3px solid var(--primary);
    padding: 24px 28px;
    border-radius: 2px;
  }

  .contact-success p {
    font-size: var(--t-body);
    color: var(--on-ink);
    line-height: 1.7;
  }

  .contact-success p::before {
    content: "✓ ";
    color: var(--accent);
    font-weight: 600;
  }

  .contact-error {
    display: none;
    font-size: var(--t-label);
    color: var(--on-bg-muted);
    font-weight: 600;
    border-left: 3px solid var(--on-bg-muted);
    padding: 10px 14px;
    background: rgba(9,9,6,0.06);
    border-radius: 2px;
    margin-top: 4px;
  }

  /* ── FOOTER ── */
  .site-footer {
    background: var(--ink);
    padding: var(--section-y) 0 40px;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
  }

  .footer-brand img {
    height: 48px;
    width: auto;
    margin-bottom: 20px;
    display: block;
  }

  .footer-brand p {
    font-size: var(--t-body);
    color: var(--on-ink-muted);
    line-height: 1.7;
    max-width: 320px;
  }

  .footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: var(--t-label);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--on-ink);
    margin-bottom: 16px;
  }

  .footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-col ul a {
    font-size: var(--t-body);
    color: var(--on-ink-muted);
    text-decoration: none;
  }

  .footer-col ul a:hover {
    color: var(--on-ink);
  }

  .footer-contact p {
    font-size: var(--t-body);
    color: var(--on-ink-muted);
    line-height: 1.7;
  }

  .footer-bottom {
    border-top: 1px solid rgba(249,247,247,0.12);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }

  .footer-bottom p {
    font-size: var(--t-label);
    color: var(--on-ink-muted);
  }

  .sohosumo-credit {
    font-size: var(--t-label);
    color: var(--on-ink-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .sohosumo-credit:hover {
    color: var(--on-ink);
  }

  hr.section-rule {
    border: none;
    border-top: 1px solid rgba(9,9,6,0.12);
  }

  /* ── COOKIE BANNER ── */
  .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: var(--ink);
    border-top: 2px solid var(--primary);
    padding: 16px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
  }

  .cookie-banner p {
    font-size: var(--t-label);
    color: var(--on-ink-muted);
    flex: 1;
    min-width: 200px;
  }

  .cookie-banner p a {
    color: var(--link-on-ink);
    text-decoration: underline;
  }

  .cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
  }

  .cookie-btn {
    font-family: 'Inter', sans-serif;
    font-size: var(--t-label);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 2px;
    padding: 8px 18px;
    cursor: pointer;
    border: none;
  }

  .cookie-btn-accept {
    background: var(--primary);
    color: var(--on-primary);
  }

  .cookie-btn-accept:hover {
    opacity: 0.9;
  }

  .cookie-btn-decline {
    background: transparent;
    color: var(--on-ink-muted);
    border: 1px solid rgba(249,247,247,0.2);
  }

  .cookie-btn-decline:hover {
    color: var(--on-ink);
    border-color: rgba(249,247,247,0.5);
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 760px) {
    :root {
      --section-y: 56px;
    }

    .hero {
      padding: 56px 0;
    }

    .hero h1 {
      font-size: 34px;
    }

    .hero-sub {
      font-size: var(--t-body);
    }

    .site-header nav {
      display: none;
    }

    .statement-grid {
      grid-template-columns: 1fr;
      gap: 36px;
    }

    .image-pair-grid {
      grid-template-columns: 1fr;
      gap: 40px;
    }

    .cta-band-inner {
      flex-direction: column;
      align-items: flex-start;
    }

    .contact-section-inner {
      grid-template-columns: 1fr;
      gap: 36px;
    }

    .footer-grid {
      grid-template-columns: 1fr;
      gap: 32px;
    }

    .footer-bottom {
      flex-direction: column;
      align-items: flex-start;
    }

    .cookie-banner {
      flex-direction: column;
      align-items: flex-start;
    }
  }

/* Derived palette roles. See derivePaletteRoles. */
:root {
  --on-primary: #ffffff;   /* primary text on var(--primary) — 7.02:1 */
  --on-primary-muted: #f4dedf;   /* secondary / muted text on var(--primary) — 5.47:1 */
  --link-on-primary: #f3e0e1;   /* link text on var(--primary) — 5.53:1 */
  --on-bg: #090906;   /* primary text on var(--bg) — 18.68:1 */
  --on-bg-muted: #5f5f5d;   /* secondary / muted text on var(--bg) — 6:1 */
  --link-on-bg: #b21219;   /* link text on var(--bg) — 6.57:1 */
  --on-ink: #ffffff;   /* primary text on var(--ink) — 19.94:1 */
  --on-ink-muted: #8e8e8c;   /* secondary / muted text on var(--ink) — 6.07:1 */
  --link-on-ink: #d17175;   /* link text on var(--ink) — 6.01:1 */
  --on-white: #090906;   /* primary text on var(--white) — 19.94:1 */
  --on-white-muted: #666665;   /* secondary / muted text on var(--white) — 5.75:1 */
  --link-on-white: #b21219;   /* link text on var(--white) — 7.02:1 */
  --on-brand-1: #ffffff;   /* primary text on var(--brand-1) — 6.23:1 */
  --on-brand-1-muted: #f7f9f6;   /* secondary / muted text on var(--brand-1) — 5.89:1 */
  --text-on-dark: #ffffff;   /* primary text on ANY dark surface on var(--brand-1) — 6.23:1 */
  --text-muted-on-dark: #f7f9f6;   /* muted text on ANY dark surface on var(--brand-1) — 5.89:1 */
  --text-on-light: #1a1a1a;   /* primary text on ANY light surface on var(--bg) — 16.31:1 */
  --text-muted-on-light: #616161;   /* muted text on ANY light surface on var(--bg) — 5.8:1 */
}

/* Injected: single content measure. See enforceContentMeasure. */
.cta-band-inner, .cta-band-inner { max-width: 1080px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.contact-section-inner, .contact-section-inner { max-width: 1080px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }

footer{color:var(--on-ink-muted)}:where(footer a){color:inherit}

/* Zero-specificity colour for elements the design left without one.
   Loses to every author rule — see enforceInheritedTextColour. */
:where(.statement){color:#ffffff}:where(.statement a){color:inherit}
:where(.image-pair){color:#1a1a1a}:where(.image-pair a){color:inherit}
:where(.cta-band){color:#ffffff}:where(.cta-band a){color:inherit}
:where(.contact-section){color:#1a1a1a}:where(.contact-section a){color:inherit}
:where(.contact-success){color:#ffffff}:where(.contact-success a){color:inherit}
:where(.site-footer){color:#ffffff}:where(.site-footer a){color:inherit}
:where(.cookie-banner){color:#ffffff}:where(.cookie-banner a){color:inherit}

/* ⚠️ NO font-size HERE. The wrapper now holds the design's OWN credit anchor and
   carries its class, and this rule is injected after the design's stylesheet —
   equal specificity, so a size here would silently override whatever size the
   design chose for its credit. Let it inherit. Spacing is &nbsp; inside the
   separator, never a flex gap, which does nothing if the copied class changes
   the display mode. */
/* Row layout — see the note on injectSiteCredits. */
.ss-credits-wrap{line-height:1.4;display:inline-flex;align-items:center;flex-wrap:wrap}
.ss-credits-link{font:inherit;color:inherit;opacity:.75;text-decoration:underline;cursor:pointer}
.ss-credits-sep{font:inherit;color:inherit;opacity:.45}
.ss-credits-link:hover{opacity:1}
/* Only the fallback line, which has no design class of its own to copy. */
.ss-credits-own{font-size:12px;opacity:.75}
.ss-credits-soho{font:inherit;color:inherit;text-decoration:none}
#ss-credits{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;z-index:9999;padding:24px}
#ss-credits[open]{display:flex}
#ss-credits .ss-box{background:#fff;color:#1c1917;max-width:560px;width:100%;max-height:80vh;overflow:auto;border-radius:8px;padding:28px 32px;font-family:system-ui,sans-serif;text-align:left}
#ss-credits h2{margin:0 0 4px;font-size:18px}
#ss-credits p{margin:0 0 16px;font-size:13px;color:#57534e}
#ss-credits ul{margin:0;padding:0 0 0 18px;font-size:13px;line-height:1.7}
#ss-credits a{color:#1c1917}
#ss-credits .ss-close{margin-top:20px;background:#1c1917;color:#fff;border:0;border-radius:6px;padding:9px 18px;font-size:13px;cursor:pointer}

/* Sub-page header clearance — for pages that do NOT have a self-clearing hero */
body[data-subpage]:not([data-hero-page]) { padding-top: 112px; }

/* Injected: mobile navigation. See enforceMobileNav. */
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; }
.mobile-nav[hidden] { display: none; }
.mobile-nav { background: var(--bg); }
:where(.mobile-nav a) { color: #1c1e21; }
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .mobile-nav { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px 18px; border-top: 1px solid rgba(128,128,128,.25); }
  .mobile-nav a { padding: 10px 0; text-decoration: none; font-size: 16px; }
}
@media (min-width: 761px) { .mobile-nav { display: none; } }
