@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

:root {
  --night: #101010;
  --night-deep: #0c0c0c;
  --paper: #f5f1e9;
  --ink: #1c1917;
  --soft-ink: #5b524d;
  --cream: #f8f2e9;
  --muted: #bfb5ab;
  --copper: #ffc08b;
  --rust: #923c22;
  --line: #d5c9ba;
  --dark-line: #39312b;
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 1rem/1.55 var(--sans); }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1, h2 { line-height: .94; letter-spacing: -.025em; }
h2 { font-size: clamp(3.55rem, 7vw, 6.55rem); }
h3 { line-height: 1.06; }
em { font-weight: inherit; }
button, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #b05130; outline-offset: 5px; }
.dark :focus-visible, .site-header :focus-visible { outline-color: var(--copper); }
::selection { background: #ffc08b; color: #16100e; }

.shell { width: min(100% - 112px, 1260px); margin-inline: auto; }
.dark { background: var(--night); color: var(--cream); }
.paper { background: var(--paper); }
.section { padding-block: clamp(72px, 9vw, 136px); }
.eyebrow { display: flex; align-items: center; gap: 11px; text-transform: uppercase; letter-spacing: .12em; font-size: .71rem; line-height: 1.4; font-weight: 700; margin-bottom: 22px; }
.eyebrow span { width: 16px; height: 1px; background: currentColor; flex: 0 0 16px; }
.accent, .dark h2 em { color: var(--copper); }
.rust, .paper h2 em { color: var(--rust); }

.skip-link { position: fixed; z-index: 10; top: 8px; left: 8px; transform: translateY(-180%); color: var(--ink); background: var(--copper); padding: 10px 16px; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 5; top: 0; background: #101010; color: var(--cream); border-bottom: 1px solid #28231f; }
.header-inner { min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; justify-self: start; width: fit-content; font-size: 1.02rem; font-weight: 700; letter-spacing: -.035em; white-space: nowrap; }
.wordmark-accent { color: var(--copper); }
.mark { width: 17px; height: 17px; display: inline-block; background: center / contain no-repeat url("assets/mark.png"); flex: 0 0 17px; }
.nav { display: flex; align-items: center; gap: clamp(20px, 3.6vw, 55px); color: var(--muted); font-size: .88rem; }
.nav a:hover, .footer-top:hover { color: var(--copper); }
.header-cta { justify-self: end; }

.button { min-height: 51px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; border: 1px solid transparent; font-size: .87rem; font-weight: 700; line-height: 1.2; white-space: nowrap; transition: background-color .18s, color .18s, border-color .18s; }
.arrow { position: relative; display: inline-block; width: 11px; height: 11px; flex: 0 0 11px; color: inherit; vertical-align: -.04em; }
.arrow::before { content: ""; position: absolute; top: 1px; right: 1px; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; }
.arrow::after { content: ""; position: absolute; top: 1px; right: 1px; width: 11px; height: 1.5px; background: currentColor; transform-origin: right center; transform: rotate(-45deg); }
.arrow-down-right { transform: rotate(80deg); }
.arrow-down { transform: rotate(135deg); }
.arrow-up { transform: rotate(-45deg); }
.button-outline { min-height: 41px; padding-inline: 15px; border-color: #725947; color: var(--cream); }
.button-outline:hover { border-color: var(--copper); color: var(--copper); }
.button-primary { color: #19120f; background: var(--copper); }
.button-primary:hover { background: #ffcca1; }
.text-button { color: var(--cream); padding-inline: 10px; }
.text-button:hover { color: var(--copper); }
.actions { display: flex; align-items: center; gap: 17px; flex-wrap: wrap; }

.hero { overflow: hidden; position: relative; isolation: isolate; }
.hero-inner { position: relative; display: grid; align-items: center; min-height: clamp(525px, 47vw, 705px); padding-block: 68px 72px; }
.hero-copy { position: relative; z-index: 1; width: min(100%, 780px); }
.hero h1 { color: var(--cream); font-size: clamp(4.25rem, 8.3vw, 8.4rem); }
.hero h1 em { color: var(--copper); white-space: nowrap; }
.hero-description { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.14rem); max-width: 465px; margin: 26px 0 31px; }
.hero-visual { position: absolute; z-index: 0; inset: 0 -5% 0 40%; background: center right 31% / cover no-repeat url("assets/forge.webp"); }
.hero-visual::after { content: ""; position: absolute; inset: -1px; background: linear-gradient(90deg, #101010 0%, #101010eb 9%, #10101081 28%, transparent 58%), linear-gradient(0deg, #101010 0%, transparent 19%, transparent 85%, #101010 100%), linear-gradient(270deg, #101010 0%, transparent 11%); }
.hero-footer { position: relative; border-top: 1px solid var(--dark-line); display: flex; justify-content: space-between; gap: 12px 24px; padding-block: 17px; color: var(--muted); font-size: .84rem; }
.hero-footer p span { color: var(--copper); margin-inline: 7px; }
.hero-footer a:hover { color: var(--copper); }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 7.5vw, 120px); align-items: end; }
.section-intro { margin-bottom: clamp(33px, 5vw, 65px); }
.intro-note { max-width: 455px; color: var(--soft-ink); font-size: clamp(1rem, 1.65vw, 1.15rem); padding-bottom: 4px; }
.method { border-top: 1px solid var(--line); }
.method details { border-bottom: 1px solid var(--line); }
.method summary { list-style: none; display: grid; grid-template-columns: minmax(40px, 76px) 1fr 32px; gap: 15px; align-items: center; padding: 21px 6px 21px 0; cursor: pointer; }
.method summary::-webkit-details-marker { display: none; }
.method summary:hover .step-title { color: var(--rust); }
.step-number { color: var(--rust); font-size: .78rem; letter-spacing: .1em; font-weight: 700; }
.step-title { font: 400 clamp(2.05rem, 3.8vw, 3.1rem)/1.02 var(--serif); display: flex; align-items: baseline; gap: 8px 26px; flex-wrap: wrap; }
.step-title small { color: var(--soft-ink); font: 600 .77rem/1.4 var(--sans); }
.disclosure { position: relative; height: 29px; width: 29px; border: 1px solid var(--line); border-radius: 50%; color: var(--rust); }
.disclosure::before, .disclosure::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.disclosure::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .disclosure::after { display: none; }
.step-body { display: grid; grid-template-columns: 1fr 1fr; gap: 16px clamp(24px, 5vw, 74px); padding: 1px 44px 26px min(7.5vw, 91px); color: var(--soft-ink); }
.step-body p { max-width: 49ch; }
.step-output { border-left: 1px solid var(--line); padding-left: 20px; }
.step-output strong { display: block; color: var(--ink); margin-bottom: 4px; }
.section-footnote { color: var(--soft-ink); margin-top: 18px; font-size: .88rem; }

.fit-section { background: #181311; }
.fit-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 7vw, 105px); align-items: center; }
.fit-grid > div:first-child > p:last-child, .contact-grid > div:first-child > p:last-child { margin-top: 20px; color: var(--muted); max-width: 42ch; }
.fit-card { border: 1px solid #604637; padding: clamp(17px, 3.1vw, 37px); background: #201916; }
.fit-controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border: 1px solid #614a3c; }
.fit-controls button { min-height: 41px; color: var(--cream); font-size: .81rem; line-height: 1.2; font-weight: 700; border: 1px solid transparent; background: transparent; padding: 6px 3px; }
.fit-controls button:hover { border-color: #9e7158; }
.fit-controls button[aria-pressed="true"] { background: var(--copper); color: #21140e; }
.fit-result { margin: 23px 0 18px; min-height: 159px; }
.fit-result h3 { font-size: clamp(1.92rem, 3vw, 2.63rem); }
.fit-result p { margin-top: 11px; color: var(--muted); font-size: .92rem; }
.inline-link { display: inline-flex; align-items: center; gap: 10px; color: var(--rust); font-weight: 700; font-size: .9rem; width: fit-content; }
.inline-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.dark .inline-link { color: var(--copper); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.service-card { display: flex; flex-direction: column; align-items: start; padding: 29px clamp(16px, 3vw, 43px) 30px; min-height: 253px; }
.service-card:first-child { padding-left: 0; }
.service-card:last-child { padding-right: 0; }
.service-card + .service-card { border-left: 1px solid var(--line); }
.service-card h3 { font-size: clamp(2rem, 3.45vw, 3.16rem); margin-bottom: 15px; }
.service-card p { max-width: 39ch; color: var(--soft-ink); margin-bottom: 23px; }
.service-card a { margin-top: auto; }
.about-inner { padding-block: 35px 65px; border-top: 1px solid var(--line); }
.about h2 { font-size: clamp(3.5rem, 6vw, 5.3rem); }
.about p:last-child { max-width: 52ch; color: var(--soft-ink); }

.contact { padding-block: clamp(61px, 9vw, 124px); }
.contact-box { min-width: 0; max-width: 475px; padding: clamp(18px, 4vw, 34px); background: #1a1715; border: 1px solid #59463a; }
.contact-box label { display: block; font-weight: 700; margin-bottom: 10px; }
.contact-box select { appearance: auto; color-scheme: dark; display: block; width: 100%; min-height: 49px; padding: 10px 13px; color: var(--cream); background: #100e0d; border: 1px solid #735b4d; border-radius: 0; font-size: .9rem; }
.contact-box .button { width: 100%; margin-top: 13px; }
.contact-box .button[hidden] { display: none; }
.contact-note { color: var(--muted); margin-top: 10px; font-size: .86rem; }
.direct-email { display: inline-block; margin-top: 9px; color: var(--copper); font-size: .86rem; text-decoration: underline; text-underline-offset: 3px; }
.site-footer { background: var(--night-deep); }
.footer-inner { min-height: 77px; border-top: 1px solid var(--dark-line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 13px 25px; color: var(--muted); padding-block: 18px; font-size: .83rem; }
.site-footer .wordmark { color: var(--cream); }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 72px); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 101px; }
  .shell { width: calc(100% - 40px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 0 12px; padding-block: 9px 0; }
  .header-cta { grid-column: 2; grid-row: 1; gap: 9px; }
  .nav { grid-row: 2; grid-column: 1 / -1; justify-content: start; gap: 26px; min-height: 39px; }
  .nav a { display: flex; align-items: center; min-height: 39px; }
  .hero-inner { padding-block: 55px 45px; min-height: 0; }
  .hero h1 { font-size: clamp(3.6rem, 11vw, 6rem); }
  .hero-visual { inset: 0 -7% 0 12%; opacity: .63; background-position: 55% center; }
  .hero-visual::after { background: linear-gradient(90deg, #101010, #101010ad 26%, #1010102b 67%, #10101033), linear-gradient(0deg, #101010, #101010ab 20%, transparent 59%, #101010b3); }
  .hero-footer { flex-wrap: wrap; padding-block: 14px; }
  .split, .fit-grid, .contact-grid { grid-template-columns: 1fr; }
  .section { padding-block: 63px; }
  .eyebrow { margin-bottom: 15px; }
  .step-body { padding-left: 53px; padding-right: 15px; }
  .method summary { grid-template-columns: 38px 1fr 32px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:first-child, .service-card:last-child { min-height: 0; padding: 22px 0 23px; }
  .service-card + .service-card { border-left: 0; border-top: 1px solid var(--line); }
  .service-card p { margin-bottom: 14px; }
  .about-inner { padding-bottom: 45px; }
}

@media (max-width: 480px) {
  .header-inner { column-gap: 8px; }
  .header-cta { padding-inline: 10px; font-size: .78rem; }
  .site-header .wordmark { gap: 7px; font-size: .92rem; }
  .hero h1 { font-size: clamp(2.95rem, 14vw, 3.6rem); }
  .hero-description { margin: 19px 0 24px; }
  .actions { gap: 5px 12px; }
  .button { gap: 10px; }
  .hero .button-primary { padding-inline: 12px; }
  .hero .text-button { padding-inline: 3px; }
  .step-body { grid-template-columns: 1fr; }
  .step-output { padding-left: 12px; }
  .step-title { gap: 5px; flex-direction: column; }
}

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

.legacy-anchor { display: block; height: 0; }
