:root {
  --paper: #f4f1e8;
  --paper-2: #e7e1d3;
  --ink: #101214;
  --muted: #5b6065;
  --line: #bab5aa;
  --blue: #1647d2;
  --blue-dark: #0d2e8f;
  --amber: #e69a20;
  --white: #fffdf8;
  --max: 84rem;
  --measure: 48rem;
  --pad: clamp(1rem, 4vw, 3rem);
  --space: clamp(3.5rem, 8vw, 7.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.6; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--blue); }
:focus-visible { outline: .2rem solid var(--amber); outline-offset: .2rem; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -6rem; padding: .75rem 1rem; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 1rem; }
.shell { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--pad); }
.reading { max-width: var(--measure); }
.section { padding-block: var(--space); border-top: 1px solid var(--line); }
.section--alt { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--white); border-color: #35393e; }
.eyebrow { margin: 0 0 1rem; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .13em; line-height: 1.3; text-transform: uppercase; }
.section--ink .eyebrow, .footer .eyebrow { color: #88a5ff; }
h1, h2, h3 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 500; letter-spacing: -.035em; line-height: .98; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 9vw, 8.2rem); }
h2 { font-size: clamp(2.35rem, 5.5vw, 5.3rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.08; }
p { margin: 0 0 1.15rem; }
.lead { max-width: 42rem; margin-top: 1.5rem; color: var(--muted); font-size: clamp(1.12rem, 2vw, 1.45rem); line-height: 1.45; }
.section--ink .lead { color: #ced1d4; }
.button-row { display: grid; gap: .75rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .75rem 1.05rem; border: 2px solid var(--ink); background: var(--ink); color: var(--white); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: background-color .2s, color .2s, transform .2s; }
.button:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.button--ghost { background: transparent; color: var(--ink); }
.button--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.section--ink .button { border-color: var(--white); background: var(--white); color: var(--ink); }
.section--ink .button--ghost { background: transparent; color: var(--white); }
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--ink); background: rgba(244, 241, 232, .97); }
.header-row { display: grid; grid-template-columns: 1fr auto; min-height: 4.5rem; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; min-width: 0; text-decoration: none; }
.brand img { width: 2.35rem; height: 2.35rem; flex: 0 0 auto; }
.brand-name { display: block; font-size: .95rem; font-weight: 900; letter-spacing: -.025em; line-height: 1; text-transform: uppercase; }
.brand-tag { display: none; color: var(--muted); font-size: .68rem; line-height: 1.2; }
.desktop-nav { display: none; }
.mobile-nav summary { min-height: 2.75rem; display: flex; align-items: center; cursor: pointer; font-weight: 800; letter-spacing: .08em; list-style: none; text-transform: uppercase; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: '+'; margin-left: .55rem; font-size: 1.2rem; }
.mobile-nav[open] summary::after { content: '−'; }
.mobile-panel { position: absolute; left: 0; right: 0; top: 100%; display: grid; gap: 0; padding: .5rem var(--pad) 1rem; border-bottom: 1px solid var(--ink); background: var(--paper); }
.mobile-panel a { display: flex; min-height: 3rem; align-items: center; border-top: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.mobile-panel a[aria-current='page'] { color: var(--blue); }
.hero { padding-block: clamp(2.5rem, 6vw, 6rem); }
.hero-grid { display: grid; gap: 2.5rem; }
.hero h1 { max-width: 11ch; }
.hero-media { min-height: 22rem; overflow: hidden; background: #c7c3ba; }
.hero-media img { height: 100%; object-fit: cover; }
.rule-head { display: grid; gap: 1rem; margin-bottom: 2.3rem; padding-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.rule-head p { max-width: 40rem; margin: 0; color: var(--muted); }
.gallery { display: grid; gap: 2rem; }
.gallery figure { margin: 0; }
.gallery-media { aspect-ratio: 16 / 10; overflow: hidden; background: #cbc6bb; }
.gallery img { height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery figure:hover img { transform: scale(1.018); }
figcaption { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding-top: .8rem; border-top: 1px solid var(--ink); font-size: .86rem; }
.caption-no { color: var(--blue); font-weight: 800; }
.feature { display: grid; gap: 2rem; align-items: center; }
.feature-media { aspect-ratio: 16 / 10; overflow: hidden; background: #cbc6bb; }
.feature-media img { height: 100%; object-fit: cover; }
.feature-copy h2 { max-width: 12ch; }
.cards { display: grid; gap: 0; margin-top: 2.5rem; border-top: 1px solid var(--ink); }
.card { min-width: 0; padding: 1.5rem 0; border-bottom: 1px solid var(--ink); }
.card-no { display: block; margin-bottom: 1.2rem; color: var(--blue); font-size: .75rem; font-weight: 900; letter-spacing: .12em; }
.card p { margin: .9rem 0 0; color: var(--muted); }
.section--ink .card { border-color: #555b61; }
.section--ink .card p { color: #c8ccd0; }
.prose-grid { display: grid; gap: 2.2rem; }
.prose-grid h2 { max-width: 11ch; }
.text-section { padding-block: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--line); }
.text-section .section-number { color: var(--blue); font-size: .8rem; font-weight: 900; letter-spacing: .13em; }
.text-section h2 { max-width: 14ch; margin: .75rem 0 1.5rem; font-size: clamp(2rem, 4.6vw, 4.4rem); }
.text-section h3 { margin: 2rem 0 .7rem; }
.text-section p { max-width: var(--measure); }
.fact-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.fact { padding: 1.1rem; border-left: .35rem solid var(--amber); background: var(--white); }
.fact strong { display: block; margin-bottom: .35rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-list { display: grid; gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.contact-list li { padding-top: 1rem; border-top: 1px solid currentColor; }
.contact-list span { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .72; }
.contact-list a { font-size: clamp(1rem, 2vw, 1.35rem); overflow-wrap: anywhere; }
.page-hero { padding-block: clamp(3.5rem, 8vw, 8rem); border-bottom: 1px solid var(--ink); }
.page-hero h1 { max-width: 13ch; font-size: clamp(3.2rem, 8vw, 7.2rem); }
.page-hero--media { display: grid; gap: 2rem; }
.page-hero figure { margin: 0; }
.page-hero figure img { aspect-ratio: 16/10; object-fit: cover; }
.aside-cta { margin-block: var(--space); padding: clamp(1.5rem, 5vw, 4rem); background: var(--blue); color: #fff; }
.aside-cta h2 { max-width: 12ch; font-size: clamp(2.2rem, 5vw, 4.8rem); }
.aside-cta p { max-width: 42rem; margin-top: 1rem; color: #e1e7ff; }
.aside-cta .button { border-color: #fff; background: #fff; color: var(--ink); }
.site-footer { padding-block: 3.5rem 2rem; background: #0b0d10; color: #f3f0e8; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand img { width: 3.5rem; height: 3.5rem; margin-bottom: 1rem; filter: invert(1); }
.footer-brand p { max-width: 30rem; color: #b7bdc3; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.footer-links h2 { margin-bottom: .8rem; font-family: Arial, Helvetica, sans-serif; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a { display: block; min-height: 2.3rem; color: #d9dde0; text-decoration: none; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid #3e4247; color: #9ea4aa; font-size: .82rem; }
.not-found { min-height: 62vh; display: grid; align-items: center; }
.not-found h1 { color: var(--blue); font-size: clamp(5rem, 18vw, 13rem); }

@media (min-width: 48rem) {
  .brand-tag { display: block; }
  .button-row { display: flex; flex-wrap: wrap; }
  .button { min-width: 11rem; }
  .hero-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: end; }
  .hero-media { min-height: 34rem; }
  .rule-head { grid-template-columns: 1fr 1fr; align-items: end; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery figure:nth-child(3n) { grid-column: 1 / -1; }
  .gallery figure:nth-child(3n) .gallery-media { aspect-ratio: 2 / 1; }
  .feature, .prose-grid, .page-hero--media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature--reverse .feature-media { order: 2; }
  .cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--two .card:nth-child(odd) { padding-right: 1.5rem; border-right: 1px solid var(--ink); }
  .cards--two .card:nth-child(even) { padding-left: 1.5rem; }
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr; }
}

@media (min-width: 64rem) {
  .mobile-nav { display: none; }
  .desktop-nav { display: flex; align-items: center; gap: clamp(.8rem, 1.5vw, 1.5rem); }
  .desktop-nav a { display: inline-flex; min-width: 2.75rem; min-height: 2.75rem; align-items: center; justify-content: center; padding: .55rem .25rem; font-size: .78rem; font-weight: 800; letter-spacing: .045em; text-decoration: none; text-transform: uppercase; }
  .desktop-nav a[aria-current='page'] { box-shadow: inset 0 -.18rem var(--blue); }
  .desktop-nav .nav-cta { padding-inline: .85rem; background: var(--blue); color: #fff; }
  .cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards--three .card { padding: 1.7rem; border-right: 1px solid var(--ink); }
  .cards--three .card:nth-child(3n) { border-right: 0; }
  .text-section { display: grid; grid-template-columns: minmax(12rem, .65fr) minmax(0, 1.35fr); gap: 3rem; }
  .text-section .section-number { padding-top: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
