:root {
  color-scheme: dark;
  --ink: #0e0e0f;
  --paper: #f2efe8;
  --gold: #c8a24a;
  --dark-gold: #80641f;
  --muted: #b6b2aa;
  --line: #353330;
  --heading: Archivo, "Arial Black", sans-serif;
  --body: Inter, Arial, sans-serif;
  --signature: "Instrument Serif", Georgia, serif;
  --radius-panel: clamp(22px, 2.6vw, 38px);
  --radius-card: clamp(15px, 1.5vw, 23px);
  --radius-control: 13px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 1rem/1.65 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure, blockquote { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 800; }
h2 { font-size: clamp(2.65rem, 5.6vw, 5.45rem); line-height: .98; letter-spacing: -.065em; text-wrap: balance; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
section[id] { scroll-margin-top: 1.5rem; }
.container { width: min(1240px, calc(100% - clamp(36px, 11.1vw, 160px))); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: 8px; left: 12px; background: var(--paper); color: var(--ink); padding: 10px 16px; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.header { position: relative; z-index: 1; border-bottom: 1px solid var(--line); background: #101011; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 74px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; text-transform: uppercase; font: 800 1.1rem/1 var(--heading); letter-spacing: -.025em; }
.brand img { object-fit: contain; }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
nav a, .header-contact, .footer-inner > a:last-child { font-size: .85rem; font-weight: 600; }
nav a { color: var(--muted); }
nav a:hover, .header-contact:hover, .quiet-link:hover, .footer-inner > a:last-child:hover { color: var(--gold); }
.header-contact { padding: 7px 13px; border: 1px solid #c8a24a50; border-radius: var(--radius-control); }
.header-contact span, .quiet-link span { margin-left: 7px; color: var(--gold); }
/* The grid and rails carry the FP geometry around the portrait. */
.hero-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid #c8a24a53;
  background: radial-gradient(ellipse at 79% 45%, #2a2418 0%, #181715 32%, var(--ink) 66%);
}
.hero-stage::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background-image: linear-gradient(#c8a24a11 1px, transparent 1px), linear-gradient(90deg, #c8a24a11 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent 32%, #000 79%);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr);
  gap: clamp(28px, 5.6vw, 80px);
  align-items: center;
  padding-block: clamp(37px, 4.25vw, 64px) clamp(48px, 5vw, 76px);
}
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 11px; font-size: .73rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.eyebrow span { width: 6px; height: 13px; flex: 0 0 auto; background: var(--gold); }
.hero h1 { margin-top: 20px; font-size: clamp(3.05rem, 7.75vw, 7.85rem); line-height: .87; letter-spacing: -.055em; }
.hero h1 span { display: inline-block; }
.signature { margin-top: 17px; color: var(--gold); font: italic 400 clamp(2.25rem, 4.15vw, 4.4rem)/1.06 var(--signature); }
.hero-intro { max-width: 430px; margin-top: 15px; color: var(--muted); font-size: clamp(.98rem, 1.3vw, 1.13rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 26px; }
.button { display: inline-flex; border-radius: var(--radius-control); min-height: 52px; align-items: center; justify-content: space-between; gap: 18px; background: var(--gold); color: var(--ink); padding: 12px 18px; font-size: .86rem; font-weight: 700; line-height: 1.4; }
.button {
  background: linear-gradient(112deg, var(--gold) 40%, #e4c36d 50%, var(--gold) 60%) 100% 50% / 250% 100%;
  box-shadow: 0 0 0 1px #c8a24a34, 0 7px 24px #c8a24a1a;
  transition: background-position .5s ease, box-shadow .25s ease;
}
.button:hover { background-position: 0 50%; box-shadow: 0 0 0 1px #c8a24a75, 0 7px 26px #c8a24a32; }
.button span { font-size: 1.08rem; line-height: 1; }
.quiet-link { font-size: .84rem; font-weight: 600; }
.hero-image { min-width: 0; width: min(100%, 462px); justify-self: end; }
.portrait-frame {
  --frame-inset: clamp(11px, 1.45vw, 21px);
  position: relative;
  padding: var(--frame-inset) calc(var(--frame-inset) + 7px) var(--frame-inset) var(--frame-inset);
  border: 1px solid #c8a24a4d;
  border-radius: var(--radius-panel);
  background: linear-gradient(145deg, #29251e, #171615 46%, #101010 78%, #272319);
  box-shadow: inset 0 1px 0 #f2efe812, 0 18px 54px #0004;
}
.portrait-frame::before, .portrait-frame::after {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  width: 26%;
  height: 14%;
  content: "";
}
.portrait-frame::before { top: -1px; left: -1px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); border-top-left-radius: var(--radius-panel); }
.portrait-frame::after { right: -1px; bottom: -1px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); border-bottom-right-radius: var(--radius-panel); }
.portrait-window { aspect-ratio: 1 / 1.08; overflow: hidden; border-radius: max(10px, calc(var(--radius-panel) - var(--frame-inset))); background: #171717; }
.portrait-window img, .about-image img { width: 100%; height: 100%; object-fit: cover; }
.portrait-window img { object-position: 50% 24%; }
.portrait-rail {
  position: absolute;
  inset: calc(var(--frame-inset) + 13px) 8px calc(var(--frame-inset) + 13px) auto;
  width: 1px;
  background: #c8a24a50;
}
.portrait-rail::before {
  position: absolute;
  top: 16%;
  left: -2px;
  width: 5px;
  height: 13%;
  border-radius: 4px;
  content: "";
  background: var(--gold);
  box-shadow: 0 0 13px #c8a24a9e;
  animation: rail-travel 7s ease-in-out infinite alternate;
}
@keyframes rail-travel { to { transform: translateY(280%); } }
.hero-image figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 12px;
  padding: 10px 0 0;
  color: var(--paper);
}
.hero-image strong { font-family: var(--heading); font-size: .99rem; letter-spacing: -.02em; }
.hero-image figcaption span { font-size: .75rem; color: var(--muted); }

.light { color-scheme: light; background: var(--paper); color: var(--ink); }
.light .eyebrow { color: #5e5e5e; }
.light .eyebrow span { background: #b08d3a; }
.principle { padding-block: clamp(57px, 8.1vw, 122px); }
.principle-grid { display: grid; grid-template-columns: 1fr 2.6fr; gap: 25px 60px; }
.principle .eyebrow { align-self: start; margin-top: .5rem; }
blockquote { max-width: 820px; font: 800 clamp(2rem, 4.2vw, 4.65rem)/1.035 var(--heading); letter-spacing: -.055em; text-wrap: pretty; }
.principle blockquote + p { max-width: 610px; margin-top: 24px; color: #50504e; }

.method, .applications { padding-block: clamp(66px, 8.5vw, 128px); }
.section-intro { display: grid; grid-template-columns: 1fr minmax(225px, 365px); gap: 14px 45px; align-items: end; margin-bottom: 41px; }
.section-intro .eyebrow { grid-column: 1 / -1; }
.section-intro h2 { max-width: 11.6ch; text-wrap: pretty; }
.section-intro > p:last-child { color: var(--muted); margin-bottom: 3px; }
.steps {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #131313;
}
.steps details + details { border-top: 1px solid var(--line); }
.steps details:first-child { border-radius: var(--radius-card) var(--radius-card) 0 0; }
.steps details:last-child { border-radius: 0 0 var(--radius-card) var(--radius-card); }
.steps summary { list-style: none; display: grid; grid-template-columns: 62px minmax(146px, .85fr) minmax(185px, 1.7fr) 32px; gap: 10px 17px; align-items: center; min-height: 89px; padding: 13px 12px; cursor: pointer; }
.steps summary::-webkit-details-marker { display: none; }
.steps summary { transition: background-color .2s ease; }
.steps summary:hover { background-color: #1e1b15; }
.steps details:first-child summary, .steps details:last-child:not([open]) summary { border-radius: inherit; }
.steps summary:focus-visible { outline-offset: -4px; }
.steps details[open] {
  background: linear-gradient(90deg, #c8a24a1b, #c8a24a04 68%, transparent);
  box-shadow: inset 3px 0 var(--gold);
}
.step-letter { color: var(--gold); font: 800 2.3rem/1 var(--heading); }
.step-name { font: 800 clamp(1.21rem, 2.25vw, 2.14rem)/1.15 var(--heading); letter-spacing: -.035em; }
.step-desc { color: var(--muted); font-size: .94rem; }
.step-toggle { position: relative; width: 29px; height: 29px; border: 1px solid #545049; border-radius: 50%; }
.step-toggle::before, .step-toggle::after { position: absolute; top: 50%; left: 50%; width: 9px; height: 1px; content: ""; background: var(--paper); transform: translate(-50%, -50%); }
.step-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .step-toggle::after { display: none; }
.reveal:not([open]) summary { box-shadow: inset 2px 0 #c8a24a65; }
.steps details[open] .step-toggle { border-color: var(--gold); }
.step-example { padding: 0 48px 22px 91px; max-width: 850px; }
.step-example span { color: var(--gold); font-weight: 700; font-size: .68rem; text-transform: uppercase; letter-spacing: .13em; }
.step-example p { color: var(--paper); margin-top: 3px; font-size: .93rem; }
.reveal-note { display: grid; grid-template-columns: minmax(155px, 1fr) 2.2fr; gap: 6px 20px; padding: 18px 0 0 12px; }
.reveal-note strong { color: var(--gold); }
.reveal-note p { color: var(--muted); max-width: 670px; font-size: .95rem; }

.about { padding-block: clamp(58px, 8vw, 116px); }
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(27px, 8vw, 125px); align-items: center; }
.about-image {
  aspect-ratio: 4 / 4.35;
  overflow: hidden;
  border: 1px solid #80641f54;
  border-radius: var(--radius-panel);
  background: #211a17;
}
.about-image img { object-position: 50% 41%; }
.about-copy h2 { margin-top: 13px; }
.about-copy p:not(.eyebrow) { margin-top: 15px; color: #50504e; }
.about-copy p.about-lead { color: var(--ink); font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.28rem); margin-top: 22px; }
.about-copy em { color: var(--ink); font-weight: 600; }
.field-photos {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(9px, 1.45vw, 20px);
  margin-bottom: clamp(18px, 2.5vw, 33px);
}
.field-photos img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 360px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.field-photos img:last-child { object-position: 44% 50%; }
.application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: linear-gradient(160deg, #191815, #121212 74%);
}
.application-grid article { padding: clamp(17px, 2vw, 29px); }
.application-grid article + article { border-left: 1px solid var(--line); }
.application-grid h3 { font-size: clamp(1.26rem, 2vw, 1.9rem); letter-spacing: -.04em; line-height: 1.1; }
.application-grid p { color: var(--muted); margin-top: 12px; font-size: .93rem; }

.contact { padding-bottom: clamp(40px, 7vw, 96px); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 23px 35px;
  align-items: end;
  padding: clamp(24px, 5vw, 70px);
  border: 1px solid #c8a24a51;
  border-radius: var(--radius-panel);
  background: radial-gradient(ellipse at 90% 100%, #362b17, #181715 62%);
}
.contact h2 { font-size: clamp(2.45rem, 5.25vw, 5rem); margin-top: 12px; max-width: 12ch; text-wrap: pretty; }
.contact p:last-child { margin-top: 14px; color: var(--muted); }
footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 78px; }
.footer-inner p { color: var(--muted); font-size: .73rem; letter-spacing: .09em; text-transform: uppercase; }

@media (max-width: 850px) {
  .hero { gap: 25px; }
  .hero h1 { font-size: clamp(2.8rem, 7.8vw, 4.4rem); }
  .portrait-rail { right: 6px; }
  .section-intro { grid-template-columns: 1fr; }
  .section-intro > p:last-child { max-width: 490px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle .eyebrow { margin-top: 0; }
}
@media (max-width: 650px) {
  .header-inner { min-height: 0; display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding-top: 13px; }
  .header nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 12px; margin-top: 10px; border-top: 1px solid var(--line); }
  .header nav a { display: grid; align-items: center; min-height: 43px; font-size: .76rem; }
  .header .brand img { width: 28px; height: 30px; }
  .header-contact { grid-column: 2; grid-row: 1; font-size: .78rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 29px; }
  .hero h1 { font-size: clamp(3.2rem, 14.4vw, 5.35rem); }
  .hero-stage::before { mask-image: linear-gradient(130deg, transparent 26%, #000 94%); }
  .hero-image { justify-self: center; }
  .portrait-window { aspect-ratio: 1 / 1.09; }
  .hero-image figcaption { gap: 2px 10px; }
  .hero-actions { margin-top: 25px; }
  .section-intro { margin-bottom: 25px; }
  .steps summary { grid-template-columns: 29px 1fr 29px; gap: 4px 9px; min-height: 0; padding: 13px 9px; }
  .step-letter { grid-column: 1; grid-row: 1; font-size: 1.53rem; }
  .step-name { grid-column: 2; grid-row: 1; }
  .step-desc { grid-column: 2; grid-row: 2; font-size: .83rem; line-height: 1.5; }
  .step-toggle { grid-column: 3; grid-row: 1 / 3; }
  .step-example { padding: 0 23px 17px 47px; }
  .step-example p { font-size: .85rem; }
  .reveal-note { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-image { grid-row: 2; aspect-ratio: 4 / 3.7; }
  .contact .button { justify-self: start; }
  .application-grid { grid-template-columns: 1fr; }
  .application-grid article { padding: 19px; }
  .application-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .field-photos img { aspect-ratio: 4 / 3; }
  .footer-inner { flex-wrap: wrap; gap: 5px 10px; padding-block: 15px; }
  .footer-inner p { order: 3; width: 100%; }
  .footer-inner .brand { font-size: .91rem; }
  .footer-inner > a:last-child { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .portrait-rail::before { animation: none; }
  .button, .steps summary { transition: none; }
}
