:root {
  --ink: #182a22;
  --paper: #f6f4ee;
  --surface: #fffdf8;
  --brand: #28574a;
  --action: #f0c24b;
  --line: #d8d9ce;
  --muted: #47584c;
  --soft: #e9ede3;
  --width: 1320px;
}
body { background: var(--paper); color: var(--ink); }
.container { width: min(calc(100% - clamp(36px, 8vw, 112px)), var(--width)); }
.site-header { background: var(--paper); border-color: var(--line); }
.header-inner { min-height: 84px; }
.brand-symbol i { background: var(--brand); }
.site-nav .nav-cta, .button, .contact-email, .sticky-cta > a {
  background: var(--action); border-color: var(--action); color: #182a22; border-radius: 12px;
}
.site-nav .nav-cta:hover, .button:hover, .contact-email:hover { background: #ffda70; color: #182a22; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #235247; outline-offset: 4px; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-weight: 500; }
h1 { letter-spacing: -.061em; }
h2 { letter-spacing: -.04em; }
.section { padding-block: clamp(52px, 8vw, 118px); }
.lead { max-width: 54ch; }
.service-hero, .resource-hero, .guide-header {
  padding-block: clamp(44px, 8vw, 110px) clamp(36px, 6vw, 78px);
}
.service-hero h1, .resource-hero h1, .guide-header h1 {
  color: var(--brand); font-size: clamp(38px, 7vw, 90px); max-width: 16ch;
}
.brand-hero {
  position: relative; isolation: isolate; color: #fff; padding: 0;
  margin: 0 clamp(10px, 2vw, 30px); overflow: clip;
  border-radius: clamp(16px, 2.3vw, 34px); background: #203a30;
  display: grid; align-items: end; min-height: clamp(480px, 73svh, 800px);
}
.brand-hero > img, .brand-hero::before {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.brand-hero > img { object-fit: cover; object-position: 63% 43%; z-index: -2; }
.brand-hero::before {
  content: ""; z-index: -1;
  background: linear-gradient(90deg, rgba(15,31,24,.94), rgba(15,31,24,.73) 40%, rgba(15,31,24,.12)),
              linear-gradient(0deg, rgba(15,31,24,.8), transparent 57%);
}
.brand-hero .container { padding-block: clamp(36px, 7vw, 100px); }
.brand-hero .eyebrow, .brand-hero .lead, .brand-hero .text-link { color: #fff; }
.brand-hero h1 { max-width: 13ch; font-size: clamp(43px, 7.1vw, 106px); line-height: .98; margin: 0; }
.brand-hero .lead { font-size: clamp(17px, 2vw, 22px); margin-top: 24px; }
.brand-hero .actions { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.brand-hero :focus-visible, .site-footer :focus-visible { outline-color: #ffda70; }
.intro-band { background: transparent; border-bottom: 1px solid var(--line); }
.editorial-services { border-top: 1px solid var(--line); }
.editorial-services details { border-bottom: 1px solid var(--line); }
.editorial-services summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 64px; padding: clamp(15px, 2.6vw, 36px) 0; cursor: pointer;
  color: var(--brand); font-size: clamp(25px, 4.5vw, 55px); letter-spacing: -.04em; line-height: 1.1;
}
.editorial-services summary::-webkit-details-marker { display: none; }
.editorial-services summary::after { content: "+" / ""; font-size: .7em; }
.editorial-services details[open] summary::after { content: "−" / ""; }
.editorial-service-panel {
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: clamp(22px, 6vw, 88px); align-items: center; padding-bottom: clamp(25px, 5vw, 64px);
}
.editorial-service-panel img { display: block; width: 100%; height: auto; max-height: 330px; object-fit: cover; border-radius: 20px; }
.editorial-service-panel p { margin-bottom: 20px; max-width: 42ch; }
.editorial-service-links ul { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; list-style: none; margin: 22px 0 0; }
.editorial-service-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--brand); }
.resource-card, .sample-sheet, .scope-note, .guide-next, .contact-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: none;
}
.resource-card { padding: clamp(18px, 2.2vw, 32px); }
.resource-card img, .guide-header img, .geo-visual img { border-radius: 16px; }
.example-section, .contact-section { background: var(--soft); }
.contact-section .photo-backdrop { display: none; }
.contact-section .contact-grid { align-items: start; }
.contact-section .button { color: var(--ink); }
.lead-form :is(input:not([type=checkbox]), textarea, select) { border-color: #798b7e; border-radius: 9px; }
.guide-body { overflow-wrap: anywhere; }
.guide-body :is(pre, table) { max-width: 100%; }
.guide-body pre { overflow: auto; }
.guide-body :is(th,td) { overflow-wrap: anywhere; }
.site-footer { background: #172e25; color: #f6f4ee; }
.site-footer :is(.muted, .footer-bottom, a), .site-footer .footer-parent { color: #e1e9e1; }
.site-footer .footer-bottom { border-color: #486054; }
@media (max-width: 767px) {
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 66px; }
  .brand-hero { min-height: 510px; }
  .brand-hero::before { background: linear-gradient(0deg,rgba(15,31,24,.97),rgba(15,31,24,.55) 80%); }
  .brand-hero .actions { gap: 12px; }
  .editorial-service-panel { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Compositions shared by the homepage and the interior templates. */
@media (min-width: 1024px) {
 .site-nav { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 6px 8px 6px 20px; }
}
.example-section .example-grid { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(24px,7vw,100px); }
.example-section .sample-sheet { background: #24483a; color: #fffdf8; padding: clamp(24px,5vw,64px); }
.sample-sheet :is(h3,p,small,.sample-top) { color: #fffdf8; }
.sample-sheet .sample-row { border-color: #658171; }
.sample-sheet .priority { background: #f0c24b; color: #182a22; }
.method-grid { align-items: start; }
.method-list { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.method-list > li { background: var(--surface); border: 1px solid var(--line); padding: clamp(14px,2vw,28px); border-radius: 16px; }
.method-list > li:first-child { grid-column: 1 / -1; background: var(--soft); }
.geo-panel { border-radius: 24px; overflow: hidden; }
.faq-grid details { border-bottom: 1px solid var(--line); background: transparent; }
.editorial-resource-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: clamp(12px,2vw,26px); }
.editorial-resource-grid article { min-width: 0; }
.editorial-resource-grid a { display: block; text-decoration: none; }
.editorial-resource-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.editorial-resource-grid article:first-child img { aspect-ratio: 16 / 11; }
.editorial-resource-grid a > div { position:relative; padding: 12px 34px 14px 0; }
.editorial-resource-grid p { color: var(--brand); font-size: .82rem; }
.editorial-resource-grid h3 { font-size: clamp(22px,2.6vw,38px); }
.editorial-resource-grid span { position:absolute; right:0; bottom:14px; color:var(--brand); }
.editorial-invitation { display:grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap:24px; align-items:center; background:#24483a; color:#fffdf8; border-radius:26px; padding:clamp(28px,6vw,84px); margin-block:24px clamp(42px,7vw,100px); }
.editorial-invitation p { margin-top:16px; max-width:36ch; }
.editorial-invitation .actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin:0; }
.editorial-invitation .text-link { color:#fffdf8; }
.contact-section { margin-inline:clamp(0px,2vw,30px); border-radius:26px 26px 0 0; }
.contact-section .contact-copy h2 { color:var(--brand); }
.resource-group:nth-child(even) .resource-card:first-child { background:var(--soft); }
.service-hero .lead, .resource-hero .lead { border-left:3px solid var(--action); padding-left:20px; }
.guide-header { background:var(--soft); border-radius:20px; padding-inline:clamp(18px,4vw,54px); margin-block:24px 40px; }
.site-footer .footer-top { padding-block:clamp(24px,4vw,58px); }
@media (max-width: 767px) {
 .example-section .example-grid, .method-list, .editorial-resource-grid, .editorial-invitation { grid-template-columns: 1fr; }
 .editorial-resource-grid img, .editorial-resource-grid article:first-child img { aspect-ratio:16 / 9; }
}
