@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=IBM+Plex+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ink: #271814;
  --oxblood: #661F2B;
  --oxblood-deep: #43151D;
  --cream: #F5F0E7;
  --paper: #FFFDF8;
  --line: #D8CDBD;
  --gold: #8A5F20;
  --white: #FFFFFF;
  --muted: #71635C;
  --muted-light: #A39284;
  --success: #41644B;
  --danger: #9A352E;
  --shadow-soft: 0 16px 40px rgba(39,24,20,.09);
  --shadow-deep: 0 24px 70px rgba(39,24,20,.18);
  --shell: 1320px;
  --gutter: clamp(1rem, 3vw, 4rem);
  --section-space: clamp(4rem, 9vw, 9rem);
  --measure: 68ch;
  --radius: 2px;
  --photo-radius: 10px;
  --header-height: 5.5rem;
  --deku-a89: 'DM Serif Display', Georgia, serif;
  --deku-13c: 'Manrope', Arial, sans-serif;
  --deku-8b5: 'IBM Plex Mono', 'Courier New', monospace;
  --text-xs: clamp(.68rem, .65rem + .08vw, .75rem);
  --text-sm: clamp(.8rem, .76rem + .15vw, .92rem);
  --text-base: clamp(.95rem, .91rem + .2vw, 1.08rem);
  --text-lg: clamp(1.14rem, 1.03rem + .5vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.1vw, 2.3rem);
  --text-2xl: clamp(2rem, 1.5rem + 2.1vw, 4rem);
  --text-3xl: clamp(2.45rem, 1.8rem + 3vw, 5.8rem);
  --text-display: clamp(2.7rem, 2rem + 4.4vw, 7.2rem);
  --leading-tight: 1.02;
  --leading-heading: 1.1;
  --leading-body: 1.65;
  --leading-loose: 1.85;
  --tracking-tight: -.035em;
  --tracking-normal: 0;
  --tracking-wide: .08em;
  --ease-smooth: cubic-bezier(.22, .61, .36, 1);
  --ease-settle: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --duration-fast: 160ms;
  --duration-base: 280ms;
  --duration-slow: 700ms;
  --duration-reveal: 900ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; scroll-padding-block-start: 3.5rem; background: var(--cream); }
body { min-width: 320px; margin: 0; overflow-x: hidden; color: var(--ink); background: var(--cream); font-family: var(--deku-13c); font-size: var(--text-base); line-height: var(--leading-body); text-rendering: optimizeLegibility; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { color: inherit; font: inherit; }
button, select { cursor: pointer; }
button { border: 0; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .12em; }
::selection { color: var(--paper); background: var(--oxblood); }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--deku-a89); font-weight: 400; letter-spacing: var(--tracking-tight); line-height: var(--leading-heading); text-wrap: balance; }
h1 { font-size: var(--text-display); line-height: var(--leading-tight); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
p { max-width: var(--measure); }
p + p { margin-top: 1.1em; }
ul, ol { padding-left: 1.3em; }
strong { font-weight: 700; }
small { font-size: var(--text-sm); }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { margin-top: 2.5em; }
.prose h3 { margin-top: 2em; }
.prose ul, .prose ol { display: grid; gap: .55em; }
.prose blockquote { border-left: 2px solid var(--gold); padding: .25rem 0 .25rem 1.25rem; color: var(--oxblood); font-family: var(--deku-a89); font-size: var(--text-xl); line-height: 1.2; }
.prose code, code, kbd { padding: .12em .35em; background: var(--cream); font-family: var(--deku-8b5); font-size: .88em; }
.prose table, .rufefb4 { max-width: 100%; overflow-x: auto; }
.prose table { border-collapse: collapse; min-width: 38rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .8rem; text-align: left; vertical-align: top; }
.prose th { color: var(--oxblood); font-family: var(--deku-8b5); font-size: var(--text-xs); font-weight: 500; letter-spacing: var(--tracking-wide); text-transform: uppercase; }

.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; transform: translateY(-150%); padding: .75rem 1rem; background: var(--gold); color: var(--ink); font-weight: 700; transition: transform var(--duration-fast) var(--ease-smooth); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(100% - (2 * var(--gutter)), var(--shell)); margin-inline: auto; }
.full-bleed { width: 100%; }
.section { padding-block: var(--section-space); }
.section--tight { padding-block: clamp(3rem, 6vw, 6rem); }
.stack > * + * { margin-top: var(--stack-space, 1.5rem); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster-gap, 1rem); }
.grid { display: grid; min-width: 0; }
.grid > * { min-width: 0; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
.measure { width: min(100%, var(--measure)); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.icon { width: 1.1em; height: 1.1em; flex: 0 0 auto; fill: currentColor; }
.mono { font-family: var(--deku-8b5); }
.eyebrow, .meta { color: var(--oxblood); font-family: var(--deku-8b5); font-size: var(--text-xs); font-weight: 500; letter-spacing: var(--tracking-wide); line-height: 1.4; text-transform: uppercase; }
.rule { border-top: 1px solid var(--line); }
.gold-rule { width: 4.5rem; height: 2px; background: var(--gold); }
.surface-paper { background: var(--paper); }
.surface-oxblood { color: var(--cream); background: var(--oxblood); }
.surface-oxblood h1, .surface-oxblood h2, .surface-oxblood h3, .surface-oxblood h4 { color: var(--cream); }
.surface-oxblood .eyebrow, .page-intro--oxblood .eyebrow, .offer-band .eyebrow, .offer-band .section-marker, .offer-band .offer-note strong, .seal, .stamp-label { color: #E4BD76; }

@media (max-width: 760px) {
  :root { --header-height: 4.75rem; }
  .split { grid-template-columns: 1fr; }
  .section { padding-block: clamp(3.75rem, 12vw, 5.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* supplemental foundations */
:root {
  --space-1: .35rem;
  --space-2: .65rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6rem;
  --content-wide: 86rem;
  --content-narrow: 46rem;
  --border-strong: #BBAA96;
}

[hidden] { display: none !important; }
main { display: block; min-width: 0; }
section, article, aside, header, footer, nav { min-width: 0; }
address { font-style: normal; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; }
hr { height: 1px; margin: 0; border: 0; background: var(--line); }
button:disabled, input:disabled, select:disabled, textarea:disabled { cursor: not-allowed; opacity: .58; }

.flow > * + * { margin-top: var(--flow-space, 1.25rem); }
.inset { padding-inline: var(--gutter); }
.content-wide { width: min(100%, var(--content-wide)); margin-inline: auto; }
.content-narrow { width: min(100%, var(--content-narrow)); margin-inline: auto; }
.align-end { align-items: end; }
.justify-between { justify-content: space-between; }
.text-oxblood { color: var(--oxblood); }
.text-muted { color: var(--muted); }
.bg-paper { background-color: var(--paper); }
.bg-cream { background-color: var(--cream); }

@media (max-width: 480px) {
  .cluster { align-items: stretch; }
  .cluster > a, .cluster > button { max-width: 100%; }
  .spec-row { grid-template-columns: 1fr; gap: .35rem; }
  .feature-item { grid-template-columns: 3rem minmax(0, 1fr); }
}
