/* Anvil Gold & Copper: holding site. One stylesheet, no build step. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Neutrals */
  --paper: #F4F1EC;
  --card: #FBF9F5;
  --stone: #EAE4DA;
  --stone-2: #E2DBCF;
  --line-2: #CFC6B8;
  --slate: #45423D;
  --muted: #655F57;
  --graphite: #1E2023;
  --iron: #141518;
  /* Brand accents */
  --copper: #A65A2A;
  --copper-ink: #8E4B22;
  --copper-light: #C27A43;
  --copper-bright: #D08A52;
  --brass: #B8954F;
  /* On dark */
  --on-dark: #F4F1EC;
  --on-dark-2: #B9B2A7;

  --font: "Inter", ui-sans-serif, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(20, 21, 24, .05), 0 16px 36px -18px rgba(20, 21, 24, .35);
  --radius: 14px;
  --wrap: 1200px;
  --gutter: clamp(16px, 5vw, 48px);
  --header-h: 64px;

  /* Spacing scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --section: clamp(56px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
main:has(.notfound) { background: var(--graphite); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: var(--copper-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover, a:focus-visible { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }
.on-dark :focus-visible { outline-color: var(--copper-bright); }
.band :focus-visible { outline-color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--graphite); color: var(--on-dark);
  padding: var(--s-3) var(--s-5); border-radius: 999px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--s-3); outline-color: var(--copper-bright); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* Labels / eyebrows */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3;
  color: var(--copper-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--copper); flex: none; }
.on-dark .eyebrow { color: var(--copper-bright); }
.on-dark .eyebrow::before { background: var(--brass); }
.band .eyebrow { color: #fff; }
.band .eyebrow::before { background: #fff; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 236, .95);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--stone-2);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: var(--header-h); }
.wordmark {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--graphite); text-decoration: none;
  font-size: 15px; font-weight: 650; letter-spacing: .005em; white-space: nowrap;
}
.wordmark:hover, .wordmark:focus-visible { color: var(--graphite); }
.nav ul { display: flex; gap: var(--s-1); list-style: none; margin: 0 calc(-1 * var(--s-3)) 0 0; padding: 0; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3);
  color: var(--slate); font-size: 14.5px; font-weight: 500; text-decoration: none; border-radius: 999px;
}
.nav a:hover, .nav a:focus-visible { color: var(--copper-ink); text-decoration: underline; text-decoration-thickness: 1px; }
.nav a:active { color: var(--graphite); }
.nav a[aria-current="page"] { color: var(--copper-ink); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1.2 var(--font); letter-spacing: .005em; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible, .btn-primary:active { background: var(--copper-ink); color: #fff; }
.btn-outline { border-color: rgba(244, 241, 236, .4); color: var(--on-dark); background: transparent; }
.btn-outline:hover, .btn-outline:focus-visible, .btn-outline:active { border-color: var(--on-dark); background: rgba(244, 241, 236, .06); color: var(--on-dark); }
.btn-dark { background: var(--graphite); color: var(--paper); }
.btn-dark:hover, .btn-dark:focus-visible, .btn-dark:active { background: var(--iron); color: var(--paper); }

.arrow { display: inline-block; transition: transform .18s ease; }

/* ── Hero (home) ────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--graphite); color: var(--on-dark);
}
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(56px, 10vw, 112px) clamp(64px, 10vw, 120px); }
.hero-copy { max-width: 600px; }
.lockup { width: 100%; max-width: 540px; height: auto; margin-top: var(--s-6); overflow: visible; }
.lockup text { fill: var(--on-dark); font-family: var(--font); }
.rule { width: 64px; height: 2px; background: var(--brass); margin: clamp(28px, 4vw, 40px) 0 var(--s-5); border: 0; }
.statement { font-size: clamp(20px, 2.3vw, 26px); line-height: 1.35; font-weight: 500; letter-spacing: -.01em; max-width: 30ch; }
.support { margin-top: var(--s-4); color: var(--on-dark-2); font-size: clamp(16px, 1.3vw, 17px); max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* Topographic contours: baked paths, copper-light, drawn in once on load. */
.topo {
  position: absolute; z-index: 0; pointer-events: none;
  width: 150%; max-width: none; height: auto; left: 10%; top: 2%;
  fill: none; stroke: var(--copper-light); stroke-width: 2.2; opacity: .13;
}
.topo .ix { stroke-width: 3.4; }
.notfound .wrap { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 900px) {
  .hero { min-height: calc(85vh - var(--header-h)); display: flex; align-items: center; }
  .hero .wrap { width: 100%; }
  .topo { width: auto; height: 135%; left: auto; right: -14%; top: 50%; transform: translateY(-50%); opacity: .16; stroke-width: 1.6; }
  .topo .ix { stroke-width: 2.6; }
}

/* ── Sections ───────────────────────────────────────────── */
.section { padding-block: var(--section); }
.section-stone { background: var(--stone); }
.section-head { display: flex; flex-direction: column; gap: var(--s-3); margin-bottom: var(--s-6); }
.section-head h2:not(.eyebrow) { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 650; letter-spacing: -.015em; }

/* News card (home) */
.news-card {
  display: grid; gap: var(--s-3); max-width: 820px;
  padding: clamp(24px, 3.5vw, 36px);
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--graphite); text-decoration: none;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.news-card:hover, .news-card:focus-visible { box-shadow: var(--shadow); border-color: var(--stone-2); }
.news-card:active { transform: translateY(1px); }
.news-card time { color: var(--muted); font-size: 14px; font-weight: 500; }
.news-card h3 { font-size: clamp(19px, 2vw, 23px); line-height: 1.35; font-weight: 600; letter-spacing: -.01em; }
.news-card .more { color: var(--copper-ink); font-weight: 600; font-size: 15px; margin-top: var(--s-2); }
.news-card:hover .arrow, .news-card:focus-visible .arrow { transform: translateX(4px); }

/* Contact band */
.band { background: var(--copper); color: #fff; }
.band h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 650; letter-spacing: -.015em; color: #fff; }
.contact-grid { display: grid; gap: var(--s-6); margin-top: var(--s-7); }
@media (min-width: 768px) { .contact-grid { grid-template-columns: auto auto; justify-content: start; column-gap: clamp(48px, 8vw, 120px); } }
.contact-item { display: grid; gap: var(--s-2); }
.contact-item .label { font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.contact-item a {
  display: inline-flex; align-items: center; min-height: 48px;
  color: #fff; font-size: clamp(20px, 5.4vw, 32px); font-weight: 500; letter-spacing: -.01em; line-height: 1.2;
  text-decoration: none; overflow-wrap: anywhere;
}
.contact-item a:hover, .contact-item a:focus-visible, .contact-item a:active { text-decoration: underline; text-decoration-thickness: 2px; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--iron); color: var(--on-dark-2); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-6); padding-block: var(--s-6); }
.site-footer p { margin: 0; }
.site-footer a { color: var(--copper-bright); display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .foot-meta { display: flex; align-items: center; gap: var(--s-4); }
.print-only { display: none; }

/* ── Inner page hero ────────────────────────────────────── */
.page-hero { background: var(--graphite); color: var(--on-dark); }
.page-hero .wrap { padding-block: clamp(48px, 7vw, 88px); }
.page-hero h1 { margin-top: var(--s-4); font-size: clamp(30px, 4.4vw, 48px); line-height: 1.12; font-weight: 700; letter-spacing: -.022em; max-width: 24ch; }
.page-hero.release h1 { font-size: clamp(26px, 3.4vw, 40px); max-width: 30ch; line-height: 1.18; }
.page-hero .meta { margin-top: var(--s-4); color: var(--on-dark-2); font-size: 15px; font-weight: 500; }
.page-hero p.lead { margin-top: var(--s-4); color: var(--on-dark-2); max-width: 52ch; }

/* ── News listing ───────────────────────────────────────── */
.news-list { border-top: 1px solid var(--line-2); max-width: 980px; }
.news-list article { border-bottom: 1px solid var(--line-2); }
.news-row {
  display: grid; gap: var(--s-2); grid-template-columns: 1fr auto; align-items: start;
  padding: var(--s-5) var(--s-3); margin-inline: calc(-1 * var(--s-3));
  color: var(--graphite); text-decoration: none; border-radius: 4px;
  transition: background-color .18s ease;
}
.news-row:hover, .news-row:focus-visible, .news-row:active { background: var(--stone); }
.news-row time { grid-column: 1 / -1; color: var(--muted); font-size: 14px; font-weight: 500; }
.news-row h2 { font-size: clamp(18px, 2vw, 21px); line-height: 1.35; font-weight: 600; letter-spacing: -.01em; }
.news-row p { grid-column: 1; margin-top: var(--s-1); color: var(--slate); font-size: 15.5px; line-height: 1.55; }
.news-row .arrow { grid-column: 2; grid-row: 2 / span 2; align-self: center; color: var(--copper-ink); font-size: 20px; padding-left: var(--s-4); }
.news-row:hover .arrow, .news-row:focus-visible .arrow { transform: translateX(4px); }
@media (min-width: 768px) {
  .news-row { grid-template-columns: 190px 1fr auto; column-gap: var(--s-6); padding-block: var(--s-6); }
  .news-row time { grid-column: 1; grid-row: 1 / span 2; padding-top: 3px; }
  .news-row h2 { grid-column: 2; }
  .news-row p { grid-column: 2; }
  .news-row .arrow { grid-column: 3; grid-row: 1 / span 2; }
}

/* ── Release ────────────────────────────────────────────── */
.release-section { padding-top: clamp(32px, 5vw, 56px); }
.release-body { max-width: 68ch; }
.back-link {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px;
  color: var(--copper-ink); font-weight: 600; font-size: 15px; text-decoration: none;
}
.back-link:hover, .back-link:focus-visible, .back-link:active { text-decoration: underline; }
.back-link:hover .arrow, .back-link:focus-visible .arrow { transform: translateX(-4px); }
.prose { margin-top: var(--s-6); }
.prose p { font-size: 17px; line-height: 1.72; color: var(--graphite); }
.prose p + p { margin-top: 1.15em; }
.boilerplate { margin-top: var(--s-7); padding-top: var(--s-6); border-top: 1px solid var(--line-2); color: var(--slate); font-size: 14.5px; line-height: 1.65; }
.boilerplate h2 { font-size: 15px; font-weight: 650; color: var(--graphite); margin-bottom: var(--s-2); }
.boilerplate p + p, .boilerplate p + h2, .boilerplate h2 + p { margin-top: var(--s-2); }
.boilerplate .block + .block { margin-top: var(--s-5); }
.boilerplate .disclaimer { font-size: 13.5px; color: var(--muted); }
.release-foot { margin-top: var(--s-7); }

/* ── 404 ────────────────────────────────────────────────── */
.notfound .actions { margin-top: var(--s-6); }

/* ── Load-in motion (CSS only, so it runs the same with JS off) ── */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.rise { animation: rise .6s cubic-bezier(.2, .7, .2, 1) both; }
.rise-2 { animation-delay: .08s; }
.rise-3 { animation-delay: .16s; }
.rise-4 { animation-delay: .24s; }
.topo path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .95s cubic-bezier(.4, 0, .2, 1) forwards; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .topo path { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ── Print (investors print releases) ───────────────────── */
@media print {
  @page { margin: 18mm 16mm; }
  * { background: #fff !important; color: #000 !important; box-shadow: none !important; animation: none !important; }
  body { font-size: 11pt; display: block; min-height: 0; }
  .skip-link, .nav, .btn, .actions, .back-link, .topo, .site-footer .foot-meta, .release-foot { display: none !important; }
  .site-header { position: static; border: 0; }
  .site-header .wrap { min-height: 0; padding: 0; }
  .wordmark { font-size: 13pt; font-weight: 700; min-height: 0; }
  .page-hero .wrap, .section { padding: 12pt 0 !important; }
  .wrap { max-width: none; padding: 0; }
  .eyebrow::before { display: none; }
  .page-hero h1 { font-size: 18pt; max-width: none; }
  .prose p { font-size: 11pt; line-height: 1.5; }
  .boilerplate { border-top: 1px solid #000; font-size: 9.5pt; }
  .site-footer .wrap { padding: 12pt 0 0; display: block; }
  .print-only { display: block; margin-top: 4pt; }
  a { text-decoration: none; }
}
