:root {
  color-scheme: light;
  --ink: #101d28;
  --ink-deep: #0d1822;
  --cream: #f8f7f3;
  --paper: #fff;
  --muted: #4d5b66;
  --muted-light: #d5dfe5;
  --line: #d8dee0;
  --gold: #efb766;
  --gold-hover: #f8ca86;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 1rem/1.65 var(--sans); }
h1, h2, h3, p, dl, dd, ol { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #2083af; outline-offset: 4px; }
section[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(100% - 5rem, 75rem); margin-inline: auto; }

.skip-link { position: fixed; z-index: 5; top: .5rem; left: .5rem; transform: translateY(-160%); background: var(--paper); padding: .65rem 1rem; }
.skip-link:focus { transform: none; }

.site-header { background: var(--ink-deep); color: var(--cream); border-bottom: 1px solid #33404a; }
.header-inner, .footer-inner { min-height: 4.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.wordmark { display: inline-flex; align-items: center; gap: .63rem; flex: 0 0 auto; font-size: 1.13rem; font-weight: 720; letter-spacing: -.035em; text-decoration: none; }
nav { display: flex; align-items: center; gap: 2rem; }
nav a, .site-footer a:not(.wordmark) { color: var(--muted-light); text-decoration: none; font-size: .94rem; }
nav a:hover, .site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; }

.button { display: inline-flex; min-height: 2.75rem; align-items: center; justify-content: center; padding: .7rem 1.14rem; border: 1px solid transparent; border-radius: .35rem; font-size: .95rem; font-weight: 700; line-height: 1.35; text-align: center; text-decoration: none; }
.button-outline { color: var(--cream); border-color: #72808a; }
.button-outline:hover { background: #22313e; border-color: var(--muted-light); }
.button-primary { color: var(--ink); background: var(--gold); }
.button-primary:hover { background: var(--gold-hover); }
.site-header :focus-visible, .hero :focus-visible, .trial-panel :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.hero { color: var(--cream); background: var(--ink-deep); overflow: hidden; }
.hero-inner { position: relative; min-height: 34rem; display: grid; align-items: center; grid-template-columns: 1.03fr 1fr; isolation: isolate; }
.hero-copy { position: relative; z-index: 1; padding: 4.5rem 0 5rem; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; line-height: 1.03; }
h1 { font-size: clamp(3.05rem, 5vw, 4.55rem); }
h1 em { display: block; color: var(--gold); font-weight: 400; }
.hero-copy > p { margin-top: 1.65rem; max-width: 32rem; color: var(--muted-light); font-size: 1.12rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.35rem; margin-top: 1.95rem; }
.text-link { color: var(--cream); min-height: 2.75rem; display: inline-flex; align-items: center; text-decoration-color: #a7adad; text-underline-offset: .27em; font-size: .95rem; }
.text-link:hover { text-decoration-color: var(--gold); }

.hero-photo { position: absolute; z-index: 0; inset: 0 min(37rem - 50vw, 0rem) 0 46%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 54%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink-deep) 0%, #0d1822a6 17%, #0d18222b 44%, transparent 68%); }

.sample-section { padding: 5.2rem 0; }
.sample-grid { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: clamp(2.4rem, 7vw, 7rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
.section-copy h2 { max-width: 13ch; }
.section-copy > p { color: var(--muted); max-width: 31rem; margin-top: 1.15rem; }
.section-copy .source-note { margin-top: 1.5rem; padding-left: .9rem; border-left: 2px solid #c78936; font-size: .96rem; }

.brief { background: var(--paper); border: 1px solid var(--line); border-radius: .6rem; overflow: hidden; box-shadow: 0 .9rem 2.2rem #101d2810; }
.brief-header { padding: 1.55rem 1.8rem 1.25rem; background: #eaf0f1; }
.brief-label { color: #465c68; font-size: .875rem; font-weight: 700; }
.brief-header h3 { margin: .3rem 0 1rem; font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2.05rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.1; }
.brief-meta { display: grid; grid-template-columns: 1.15fr 1fr; gap: .5rem 1rem; }
.brief-meta dt { font-size: .875rem; color: var(--muted); }
.brief-meta dd { font-size: .94rem; font-weight: 650; line-height: 1.45; }
.brief-details { padding: .5rem 1.8rem 0; }
.brief-details dl > div { display: grid; grid-template-columns: 8.4rem 1fr; gap: .5rem .8rem; padding: .82rem 0; border-bottom: 1px solid var(--line); }
.brief-details dt { font-size: .94rem; font-weight: 700; }
.brief-details dd { font-size: .94rem; color: var(--muted); line-height: 1.55; }
.brief-note { padding: .8rem 1.8rem 1.1rem; font-size: .875rem; color: var(--muted); }

.process-section { background: #edf1f2; padding: 4.7rem 0 4.1rem; border-top: 1px solid var(--line); }
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; list-style: none; margin: 2rem 0 3.3rem; padding: 0; }
.process-list > li { border-top: 2px solid #738b98; padding-top: .95rem; }
.process-list h3 { font-size: 1.1rem; line-height: 1.35; }
.process-list p { color: var(--muted); margin-top: .45rem; max-width: 32ch; }
.trial-panel { display: flex; align-items: center; justify-content: space-between; gap: 1.3rem 2rem; background: var(--ink); color: var(--cream); border-radius: .5rem; padding: clamp(1.4rem, 4vw, 2.4rem); }
.trial-panel h2 { font-size: clamp(1.85rem, 3.4vw, 2.8rem); }
.trial-panel .button { flex: 0 0 auto; }
.site-footer { background: var(--ink-deep); color: var(--cream); }

@media (max-width: 60rem) {
  .wrap { width: min(100% - 3.5rem, 75rem); }
  .hero-inner { min-height: 30rem; }
  .hero-copy > p { max-width: 25rem; }
  .sample-grid { gap: 2.3rem; }
  .brief-details dl > div { grid-template-columns: 1fr; gap: .15rem; }
}

@media (max-width: 45rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 4.15rem; }
  nav { display: none; }
  .hero-inner { width: 100%; display: block; min-height: auto; }
  .hero-copy { padding: 3rem 1.25rem 2rem; }
  .hero-copy > p { margin-top: 1rem; font-size: 1rem; }
  h1 { font-size: clamp(2.65rem, 9vw, 4.2rem); }
  h1 { max-width: 15ch; }
  .actions { margin-top: 1.3rem; }
  .hero-photo { position: relative; inset: auto; height: clamp(10.5rem, 44vw, 17rem); }
  .hero-photo img { object-position: 52% 56%; }
  .hero-photo::after { background: linear-gradient(180deg, #0d1822 0%, #0d18221a 28%, transparent 50%); }
  .sample-section, .process-section { padding: 3.1rem 0; }
  .sample-grid, .process-list { grid-template-columns: 1fr; }
  .sample-grid { gap: 1.6rem; }
  .section-copy h2 { max-width: 16ch; }
  .brief-header { padding: 1.2rem; }
  .brief-details { padding: .3rem 1.2rem 0; }
  .brief-note { padding: .8rem 1.2rem; }
  .process-list { gap: 1.2rem; margin-bottom: 2rem; }
  .trial-panel, .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { padding-block: 1.15rem; gap: .7rem; }
}

@media (max-width: 24rem) {
  .brief-meta { grid-template-columns: 1fr; }
  .header-inner { gap: .55rem; }
  .wordmark { font-size: 1.05rem; }
}
