:root {
  --ink: #111917;
  --ink-2: #1d2925;
  --paper: #f5f6f3;
  --white: #ffffff;
  --mist: #e8eeea;
  --line: #cbd4ce;
  --muted: #5f6d67;
  --signal: #ee533d;
  --teal: #078a7e;
  --blue: #287db8;
  --amber: #d99a19;
  --max: 1240px;
  --shadow: 0 18px 50px rgba(11, 27, 22, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.55; }
body.brief-page { background: #eef2ef; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }

.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--white); border: 2px solid var(--ink); padding: 10px 14px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; min-height: 76px; padding: 12px max(24px, calc((100vw - var(--max)) / 2)); background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 218px; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; background: var(--ink); color: var(--white); border-left: 5px solid var(--signal); font-weight: 900; letter-spacing: .04em; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 20px; }
.brand-copy span { margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
.site-nav a { padding: 10px 12px; border-bottom: 3px solid transparent; color: var(--ink-2); font-size: 13px; font-weight: 800; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] { border-color: var(--signal); color: var(--signal); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta, .button, button.primary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; background: var(--signal); border: 1px solid var(--signal); color: var(--white); font-weight: 900; }
.button.secondary, button.secondary { background: transparent; border-color: currentColor; color: inherit; }
.button.dark { background: var(--ink); border-color: var(--ink); }
.header-cta:hover, .header-cta:focus-visible, .button:hover, .button:focus-visible, button.primary:hover, button.primary:focus-visible { filter: brightness(.9); transform: translateY(-1px); }
.menu-toggle { display: none; min-height: 44px; padding: 8px 13px; background: var(--white); border: 1px solid var(--ink); color: var(--ink); font-weight: 900; }

.hero { position: relative; min-height: min(720px, calc(100vh - 76px)); overflow: hidden; background: var(--ink); color: var(--white); }
.hero-media, .page-hero-media, .photo-band-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after, .page-hero::after, .photo-band::after { position: absolute; inset: 0; content: ""; background: rgba(8, 17, 14, .74); }
.hero-inner { position: relative; z-index: 2; display: grid; align-content: center; width: min(var(--max), calc(100% - 48px)); min-height: inherit; margin: 0 auto; padding: 50px 0 145px; }
.eyebrow { margin: 0 0 12px; color: var(--signal); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow.light { color: #ffd36f; }
.hero h1 { max-width: 840px; margin-bottom: 20px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 5.2vw, 74px); font-weight: 700; line-height: .98; letter-spacing: 0; }
.hero-lede { max-width: 690px; margin-bottom: 30px; color: #ecf1ee; font-size: clamp(18px, 2vw, 23px); }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .button.secondary { color: var(--white); }
.hero-proof { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(12, 24, 20, .94); border-top: 1px solid rgba(255, 255, 255, .24); }
.hero-proof div { min-height: 118px; padding: 25px max(20px, calc((100vw - var(--max)) / 8)); border-right: 1px solid rgba(255, 255, 255, .16); }
.hero-proof div:last-child { border-right: 0; }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { margin-bottom: 7px; font-size: 16px; }
.hero-proof span { color: #b9c4bf; font-size: 13px; }

.section { padding: 84px 24px; }
.section > .section-inner, .page-content, .request-band-inner { width: min(var(--max), 100%); margin: 0 auto; }
.section-soft { background: var(--mist); }
.section-dark { background: var(--ink); color: var(--white); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 430px); gap: 36px; align-items: end; margin-bottom: 38px; padding-bottom: 20px; border-bottom: 2px solid currentColor; }
.section-head h2, .page-block h2, .band-copy h2, .request-band h2 { margin-bottom: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(35px, 4vw, 56px); line-height: 1.04; letter-spacing: 0; }
.section-head p { margin-bottom: 0; color: var(--muted); font-size: 17px; }
.section-dark .section-head p, .section-dark .muted { color: #c0ccc7; }

.service-grid, .format-grid, .package-grid, .evidence-grid, .readiness-grid, .supplier-grid, .trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-card, .format-card, .package-card, .evidence-card, .readiness-card, .supplier-card, .trust-card { position: relative; min-height: 230px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--teal); color: var(--ink); }
.service-card:nth-child(3n+2), .format-card:nth-child(3n+2), .package-card:nth-child(3n+2), .evidence-card:nth-child(3n+2), .readiness-card:nth-child(3n+2), .supplier-card:nth-child(3n+2), .trust-card:nth-child(3n+2) { border-top-color: var(--blue); }
.service-card:nth-child(3n), .format-card:nth-child(3n), .package-card:nth-child(3n), .evidence-card:nth-child(3n), .readiness-card:nth-child(3n), .supplier-card:nth-child(3n), .trust-card:nth-child(3n) { border-top-color: var(--amber); }
.card-number { display: block; margin-bottom: 26px; color: var(--signal); font-size: 12px; font-weight: 900; }
.service-card h3, .format-card h3, .package-card h3, .evidence-card h3, .readiness-card h3, .supplier-card h3, .trust-card h3 { margin-bottom: 12px; font-family: Georgia, "Times New Roman", serif; font-size: 26px; line-height: 1.1; }
.service-card p, .format-card p, .package-card p, .evidence-card p, .readiness-card p, .supplier-card p, .trust-card p { margin-bottom: 0; color: var(--muted); }

.process-list { counter-reset: process; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; }
.process-list li { counter-increment: process; min-height: 210px; padding: 26px 24px; border-left: 1px solid rgba(255, 255, 255, .2); }
.process-list li::before { display: block; margin-bottom: 38px; color: #ffd36f; content: "0" counter(process); font-size: 13px; font-weight: 900; }
.process-list strong { display: block; margin-bottom: 10px; font-family: Georgia, "Times New Roman", serif; font-size: 24px; }
.process-list span { color: #bbc7c2; font-size: 14px; }

.photo-band { position: relative; min-height: 580px; display: grid; align-items: center; overflow: hidden; color: var(--white); }
.band-copy { position: relative; z-index: 2; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.band-copy-inner { max-width: 680px; padding: 40px 0; }
.band-copy p { max-width: 630px; margin: 22px 0 26px; color: #eef3f0; font-size: 18px; }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; padding: 0; margin: 0; list-style: none; }
.check-list li { padding: 8px 0 8px 22px; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.check-list li::before { position: absolute; margin-left: -22px; color: #ffd36f; content: "+"; font-weight: 900; }

.request-band { padding: 58px 24px; background: var(--signal); color: var(--white); }
.request-band-inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.request-band p { max-width: 760px; margin: 14px 0 0; font-size: 18px; }
.request-band .button { background: var(--white); border-color: var(--white); color: var(--ink); }

.page-hero { position: relative; min-height: 450px; display: grid; align-items: end; overflow: hidden; background: var(--ink); color: var(--white); }
.page-hero-inner { position: relative; z-index: 2; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 88px 0 60px; }
.page-hero h1 { max-width: 850px; margin-bottom: 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(45px, 6vw, 76px); line-height: 1; letter-spacing: 0; }
.page-hero p { max-width: 700px; margin-bottom: 0; color: #d9e2dd; font-size: 19px; }
.page-content { padding: 64px 24px 90px; }
.page-block { padding: 34px 0; border-bottom: 1px solid var(--line); }
.page-block:first-child { padding-top: 0; }
.page-block:last-child { border-bottom: 0; }
.page-block > p { max-width: 820px; color: var(--muted); font-size: 17px; }
.notice { margin: 24px 0; padding: 20px 22px; background: #fff4d7; border-left: 5px solid var(--amber); }
.data-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); }
.data-table th, .data-table td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { width: 28%; background: var(--mist); }

.brief-shell { width: min(1120px, calc(100% - 32px)); margin: 32px auto 80px; }
.brief-intro { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; padding: 36px; background: var(--ink); color: var(--white); box-shadow: var(--shadow); }
.brief-intro h1 { max-width: 750px; margin-bottom: 14px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 60px); line-height: 1.02; }
.brief-intro p { max-width: 720px; margin-bottom: 0; color: #d7e1dc; }
.language-switch { display: flex; gap: 5px; align-self: start; }
.language-switch button { min-width: 45px; min-height: 42px; background: transparent; border: 1px solid rgba(255, 255, 255, .5); color: var(--white); font-weight: 900; }
.language-switch button.is-active { background: var(--white); color: var(--ink); }
.brief-form, .brief-preview { margin-top: 18px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-section { padding: 28px 32px 34px; border-bottom: 1px solid var(--line); }
.form-section:last-child { border-bottom: 0; }
.form-section-header { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; margin-bottom: 22px; }
.form-section-number { display: grid; place-items: center; width: 42px; height: 42px; background: var(--ink); color: var(--white); font-weight: 900; }
.form-section h2 { margin-bottom: 4px; font-family: Georgia, "Times New Roman", serif; font-size: 28px; }
.form-section-header p, .form-hint { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field label, .choice-title { font-size: 13px; font-weight: 900; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 11px 12px; background: var(--white); border: 1px solid #aebbb4; color: var(--ink); }
.field textarea { min-height: 128px; resize: vertical; }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice { display: flex; gap: 10px; align-items: flex-start; min-height: 62px; padding: 13px; background: var(--paper); border: 1px solid var(--line); }
.choice input { margin-top: 4px; }
.form-actions, .preview-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 24px 32px; }
.form-actions button, .preview-actions button { min-height: 44px; padding: 10px 17px; border: 1px solid var(--ink); font-weight: 900; }
.form-actions button[type="submit"], .preview-actions .primary { background: var(--signal); border-color: var(--signal); color: var(--white); }
.brief-preview { display: none; }
.brief-preview.is-visible { display: block; }
.brief-preview header { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 32px; border-bottom: 1px solid var(--line); }
.brief-preview h2 { margin-bottom: 0; font-family: Georgia, "Times New Roman", serif; font-size: 30px; }
.brief-reference { padding: 7px 10px; background: var(--ink); color: var(--white); font-family: Consolas, monospace; font-size: 13px; }
.brief-output { min-height: 320px; margin: 0; padding: 28px 32px; white-space: pre-wrap; word-break: break-word; font: 14px/1.65 Consolas, monospace; }

.site-footer { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; padding: 56px max(24px, calc((100vw - var(--max)) / 2)); background: var(--ink); color: var(--white); }
.footer-brand h2 { margin-bottom: 10px; font-family: Georgia, "Times New Roman", serif; font-size: 32px; }
.footer-brand p { max-width: 520px; color: #b9c6c0; }
.footer-links { display: grid; align-content: start; gap: 8px; }
.footer-links strong { margin-bottom: 6px; color: #ffd36f; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.footer-links a { color: #e8efeb; font-size: 14px; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--signal); }
.footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); color: #aebbb5; font-size: 12px; }

.cookie-consent-panel { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: min(470px, calc(100% - 32px)); padding: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.cookie-consent-panel h2 { margin-bottom: 8px; font-size: 20px; }
.cookie-consent-panel p { color: var(--muted); font-size: 13px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions button { min-height: 40px; padding: 8px 12px; border: 1px solid var(--ink); font-weight: 800; }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { position: absolute; top: 76px; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; padding: 12px 24px 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { border-bottom: 1px solid var(--line); }
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-proof { grid-template-columns: repeat(2, 1fr); }
  .hero-proof div { min-height: 96px; }
  .hero-inner { padding-bottom: 215px; }
  .service-grid, .format-grid, .package-grid, .evidence-grid, .readiness-grid, .supplier-grid, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { min-height: 68px; padding: 10px 16px; }
  .brand { min-width: 0; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy span { display: none; }
  .site-nav { top: 68px; padding-right: 16px; padding-left: 16px; }
  .hero { min-height: auto; }
  .hero::after, .page-hero::after, .photo-band::after { background: rgba(8, 17, 14, .76); }
  .hero-inner { width: calc(100% - 32px); min-height: 690px; align-content: start; padding: 32px 0 146px; }
  .hero h1 { margin-bottom: 14px; font-size: clamp(36px, 10.5vw, 42px); line-height: 1; }
  .hero-lede { margin-bottom: 20px; font-size: 15.5px; }
  .hero-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-proof div { min-height: 72px; padding: 9px 12px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
  .hero-proof strong { margin-bottom: 3px; font-size: 13px; }
  .hero-proof span { font-size: 11px; line-height: 1.25; }
  .section { padding: 58px 16px; }
  .section-head { grid-template-columns: 1fr; gap: 15px; }
  .service-grid, .format-grid, .package-grid, .evidence-grid, .readiness-grid, .supplier-grid, .trust-grid, .process-list, .check-list, .form-grid, .choice-grid, .site-footer { grid-template-columns: 1fr; }
  .process-list li { min-height: auto; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
  .process-list li::before { margin-bottom: 18px; }
  .photo-band { min-height: 650px; }
  .band-copy { width: calc(100% - 32px); }
  .request-band { padding: 48px 16px; }
  .request-band-inner { grid-template-columns: 1fr; }
  .page-hero-inner { width: calc(100% - 32px); }
  .page-content { padding: 48px 16px 70px; }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; width: 100%; }
  .brief-shell { width: calc(100% - 20px); margin-top: 10px; }
  .brief-intro { grid-template-columns: 1fr; padding: 28px 20px; }
  .form-section, .form-actions, .preview-actions, .brief-preview header, .brief-output { padding-right: 20px; padding-left: 20px; }
  .field-wide { grid-column: auto; }
  .site-footer { padding: 48px 20px; }
  .footer-meta { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
