/* Industry Stewardship: shared styles for inner pages.
   Base rules mirror the <style> block in index.html so the pages feel like one site. */

:root {
  --brand: #6B5B45;
  --brand-dark: #4A3F30;
  --brand-light: #C9B598;
  --tint: #F4F0EA;
  --soft: #FAF8F5;
  --ink: #1F1D1A;
  --charcoal: #1E1C19;
  --muted: #5C574F;
  --line: #E2DCD2;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Source Sans 3", -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
  --radius: 6px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 18px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.005em; }
h3 { font-size: 1.3rem; }
h1, h2, blockquote { text-wrap: balance; }
p { margin: 0 0 1em; }
.eyebrow { display: inline-block; font: 700 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.eyebrow.light { color: var(--brand-light); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 700px; }
section { padding: 104px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--brand); color: #fff; padding: 14px 26px; border-radius: var(--radius); text-decoration: none; font-weight: 700; font-size: 1rem; transition: background .2s, transform .2s; }
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: var(--tint); }
.btn.outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.btn.outline:hover { background: rgba(255,255,255,.12); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Header (inner pages use the solid variant from the start) */
header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 16px; }
.logo { line-height: 0; }
.logo img { height: 50px; width: auto; }
.logo .dark { display: none; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { color: rgba(255,255,255,.88); text-decoration: none; font-weight: 600; font-size: .96rem; }
nav a:hover { color: #fff; }
nav .btn { padding: 10px 18px; color: #fff; }
header.solid { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(0,0,0,.05); backdrop-filter: blur(8px); }
header.solid .logo .light { display: none; }
header.solid .logo .dark { display: block; }
header.solid nav a:not(.btn) { color: var(--muted); }
header.solid nav a:not(.btn):hover { color: var(--brand); }
header.solid nav a[aria-current="page"]:not(.btn) { color: var(--brand-dark); box-shadow: inset 0 -2px 0 var(--brand-light); }

/* Page hero (inner pages) */
.page-hero { position: relative; margin-top: 80px; padding: 96px 0 72px; color: #fff; background-color: var(--charcoal); background-size: cover; background-repeat: no-repeat; background-position: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,21,17,.90) 0%, rgba(24,21,17,.74) 55%, rgba(24,21,17,.45) 100%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero p { font-size: 1.22rem; color: rgba(255,255,255,.86); max-width: 660px; margin: 0; }
.crumbs { display: block; font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 22px; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; font-size: .9rem; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 8px; }

/* Story */
.story-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.story p { color: #3E3A34; }
.story .opening { font: 500 clamp(1.35rem, 2.2vw, 1.7rem)/1.4 var(--serif); color: var(--ink); margin-bottom: 26px; text-wrap: balance; }
.story h2 { margin-bottom: 22px; }
.story blockquote { margin: 34px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--brand-light); font: 500 1.3rem/1.45 var(--serif); color: var(--ink); }
.story-aside { position: sticky; top: 112px; }
.story-aside figure { margin: 0 0 28px; }
.story-aside figure img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; border-radius: var(--radius); }
.story-aside figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.timeline { margin: 0; padding: 22px 24px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); }
.timeline h3 { font-size: 1.05rem; margin-bottom: 14px; }
.timeline ol { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 14px 22px; font-size: .95rem; color: var(--muted); line-height: 1.5; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand-light); }
.timeline li::after { content: ""; position: absolute; left: 4px; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline b { display: block; color: var(--ink); font-weight: 700; }

/* Key terms */
.terms { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.terms-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: end; }
.terms-head .lede { margin: 0; }
.term-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.term { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 20px; display: flex; flex-direction: column; }
.term h3 { font-size: 1.14rem; margin-bottom: 8px; }
.term p { font-size: .98rem; color: var(--muted); margin: 0 0 12px; }
.term p.use { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .93rem; color: #3E3A34; }
.term p.use b { color: var(--brand); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 2px; }
.std-badge { display: inline-block; border: 1.5px solid var(--brand); color: var(--brand-dark); border-radius: 4px; padding: 5px 12px; font-weight: 700; font-size: .9rem; margin-right: 8px; margin-bottom: 8px; }

/* Checks (from index) */
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--muted); }
.checks li b { color: var(--ink); }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B5B45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Split feature (from index) */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split .photo { position: relative; }
.split .photo img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius); }
.split .photo::after { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--brand-light); border-radius: var(--radius); z-index: -1; }

/* Agencies block */
.agency { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.agency .checks { margin-top: 0; }

/* Plain-language note (from index) */
.plain { display: grid; grid-template-columns: 34px 1fr; gap: 14px; margin-top: 22px; padding: 22px 26px; border-radius: var(--radius); background: var(--tint); border-left: 4px solid var(--brand); }
.plain svg { width: 26px; height: 26px; stroke: var(--brand-dark); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.plain p { margin: 0; font-size: .98rem; color: var(--ink); }
.plain p + p { margin-top: 8px; color: var(--muted); }

/* CTA band */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 36px 40px; border-radius: var(--radius); background: linear-gradient(90deg, var(--brand-dark), var(--brand)); color: #fff; }
.cta-band h2 { color: #fff; font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.86); max-width: 620px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Related */
.related { padding: 0 0 104px; }
.related h2 { font-size: 1.5rem; margin-bottom: 20px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rel { display: block; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.rel:hover { border-color: var(--brand-light); box-shadow: 0 10px 28px rgba(40,32,20,.08); transform: translateY(-2px); }
.rel small { display: block; font: 700 .74rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 6px; }
.rel b { display: block; font: 600 1.15rem/1.3 var(--serif); margin-bottom: 4px; }
.rel > span { display: block; font-size: .95rem; line-height: 1.5; color: var(--muted); }
.rel .arrow { color: var(--brand); }

/* Compliance: situation cards */
.sit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.sit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px; }
.sit svg { width: 28px; height: 28px; stroke: var(--brand); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.sit h3 { font-size: 1.15rem; margin-bottom: 6px; }
.sit p { font-size: .98rem; color: var(--muted); margin: 0; }
.soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Gentle note */
.gentle { max-width: 860px; margin: 0 auto; text-align: center; }
.gentle blockquote { margin: 0 0 22px; font: 500 clamp(1.4rem, 2.6vw, 1.95rem)/1.4 var(--serif); color: var(--ink); }
.gentle p { color: var(--muted); font-size: 1.08rem; }
.promise { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 26px 0 0; }
.promise li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: .95rem; font-weight: 600; color: var(--brand-dark); }

/* Steps (from index) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 48px; counter-reset: s; }
.step { counter-increment: s; padding: 0 28px 0 0; position: relative; }
.step::before { content: "0" counter(s); display: block; font: 600 2.4rem/1 var(--serif); color: var(--brand-light); margin-bottom: 16px; }
.step::after { content: ""; position: absolute; top: 20px; left: 72px; right: 20px; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step p { color: var(--muted); font-size: 1rem; }

/* Contact band (from index; photo-free on inner pages) */
.contact { position: relative; color: #fff; text-align: center; background: var(--charcoal); }
.contact .wrap { position: relative; max-width: 780px; }
.contact h2 { color: #fff; }
.contact p { color: rgba(255,255,255,.82); font-size: 1.15rem; margin-bottom: 32px; }
.contact .meta { margin-top: 30px; font-size: .95rem; color: rgba(255,255,255,.65); }
.contact .btn { max-width: 100%; }

/* Footer (from index) */
footer { background: var(--charcoal); color: rgba(255,255,255,.6); padding: 40px 0; font-size: .9rem; border-top: 1px solid rgba(255,255,255,.08); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
footer img { height: 40px; width: auto; opacity: .9; }
footer nav a { color: rgba(255,255,255,.7); font-size: .9rem; }
footer nav a:hover { color: #fff; }
footer nav { flex-wrap: wrap; gap: 10px 22px; }

/* Focus + skip link */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 3px; border-radius: 3px; }
.btn:focus-visible { outline-color: var(--brand-dark); }
.cta-band .btn:focus-visible, .contact .btn:focus-visible, .page-hero a:focus-visible { outline-color: #fff; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand-dark); color: #fff; padding: 10px 16px; border-radius: 4px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }

/* Reveal on scroll (only hidden when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn .arrow, .rel { transition: none; }
}

@media (max-width: 1080px) {
  nav { gap: 20px; }
  nav a { font-size: .92rem; }
}
@media (max-width: 980px) {
  header nav a:not(.btn) { display: none; }
  section { padding: 80px 0; }
  .story-grid, .terms-head, .agency, .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .story-aside { position: static; }
  .split .photo::after { display: none; }
  .term-grid, .sit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 0; }
  .step::after { display: none; }
  .related { padding-bottom: 80px; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 18px; }
  .logo img { height: 42px; }
  nav .btn { padding: 9px 14px; font-size: .92rem; }
  section { padding: 64px 0; }
  .page-hero { padding: 64px 0 52px; }
  .page-hero p { font-size: 1.1rem; }
  .term-grid, .sit-grid, .rel-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .plain { grid-template-columns: 1fr; padding: 20px; }
  .cta-band { padding: 28px 22px; }
  .cta-band .actions, .cta-band .btn { width: 100%; justify-content: center; }
  .contact .btn { font-size: .92rem; padding: 14px 18px; }
  .related { padding-bottom: 64px; }
}

  /* Narrow-screen menu */
  .menu-btn { display: none; align-items: center; gap: 8px; margin-left: 12px; background: none; border: 1.5px solid currentColor; border-radius: 6px; padding: 8px 12px; color: #fff; font: 700 .9rem var(--sans); cursor: pointer; }
  .menu-btn i { display: flex; flex-direction: column; gap: 3px; }
  .menu-btn i span { display: block; width: 16px; height: 2px; margin: 0; background: currentColor; }
  .menu-btn b { margin-left: 2px; }
  header.solid .menu-btn, body.menu-open .menu-btn { color: var(--ink); }
  .mnav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 16px 30px rgba(0,0,0,.12); padding: 8px 0 14px; }
  .mnav a { display: block; padding: 12px 24px; color: var(--ink); text-decoration: none; font-weight: 600; }
  .mnav a:hover, .mnav a[aria-current="page"] { color: var(--brand); background: var(--soft); }
  body.menu-open header { background: #fff; }
  body.menu-open header .logo .light { display: none; }
  body.menu-open header .logo .dark { display: block; }
  @media (max-width: 980px) { .menu-btn { display: inline-flex; } header nav { margin-left: auto; } }
  @media (min-width: 981px) { .mnav { display: none !important; } }
footer .research { flex-basis: 100%; margin: 6px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; color: rgba(255,255,255,.45); }
footer .research a { color: rgba(255,255,255,.55); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.25); }
footer .research a:hover { color: #fff; }
