:root {
  color-scheme: light;
  --paper: #f5f2e7;
  --white: #fffdf4;
  --ink: #22261b;
  --muted: #54594b;
  --olive: #303b25;
  --dark: #242e20;
  --accent: #dba63f;
  --rule: #d5d5c3;
  --sans: 'DM Sans', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.65; word-break: keep-all; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
img { display: block; width: 100%; height: auto; }
:focus-visible { outline: 3px solid #af6829; outline-offset: 4px; }
.wrap { width: min(100% - 104px, 1256px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; top: 8px; left: 8px; padding: 8px 16px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--rule); }
.header-row { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { font: 400 42px/.9 var(--serif); letter-spacing: -.035em; white-space: nowrap; }
.wordmark span { color: #ad781e; }
.navigation { display: flex; align-items: center; gap: clamp(18px, 3.5vw, 49px); font-size: 14px; font-weight: 700; }
.navigation a:hover, .back-top:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-contact { border: 1px solid #a3a690; padding: 8px 13px; }
.nav-contact span { padding-left: 8px; }
.menu-button { padding: 7px 12px; border: 1px solid #a3a690; background: transparent; }

.hero-layout { min-height: 575px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr); }
.hero-copy { align-self: center; padding: 62px 32px 67px 0; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; line-height: 1.3; }
.hero-copy .eyebrow, .section-intro .eyebrow { color: #5a674a; }
h1, h2 { line-height: 1.15; letter-spacing: -.069em; font-weight: 700; }
h1 { margin: 24px 0; font-size: clamp(38px, 4.82vw, 74px); }
h1 span { color: #9c6a1d; }
h2 { font-size: clamp(34px, 4vw, 57px); }
.hero-description { max-width: 365px; color: var(--muted); font-size: 17px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 13px 18px; min-height: 47px; border: 1px solid transparent; font-size: 14px; font-weight: 700; line-height: 1.45; }
.button-dark { background: var(--dark); color: var(--white); }
.button-dark:hover { background: #3d4b2d; }
.hero-copy .button { margin-top: 30px; }
.hero-figure { position: relative; align-self: stretch; min-height: 100%; overflow: hidden; background: #3b4028; }
.hero-figure img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 60% 53%; }
.hero-figure figcaption { position: absolute; right: 15px; bottom: 15px; padding: 2px 7px; color: var(--white); background: #202218c9; font-size: 11px; }
.process-line { background: #e9e8d7; border-top: 1px solid #d4d5c0; border-bottom: 1px solid #d4d5c0; }
.process-line-inner { min-height: 64px; display: flex; justify-content: center; align-items: center; gap: clamp(12px, 6vw, 106px); color: var(--olive); font-weight: 700; font-size: 14px; }
.line-arrow { font-size: 22px; font-weight: 400; color: #636f52; }

.section { padding-block: clamp(66px, 8vw, 112px); scroll-margin-top: 20px; }
.product, .about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 58px; }
.section-intro h2, .tech h2, .contact h2 { margin-top: 16px; }
.section-body { color: var(--muted); }
.lead { color: var(--ink); font-size: clamp(19px, 2.1vw, 27px); font-weight: 700; line-height: 1.5; letter-spacing: -.035em; }
.lead + p { margin-top: 14px; }
.facts { margin-top: 28px; border-top: 1px solid var(--rule); }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-weight: 700; color: var(--ink); }
.product-image { margin-top: 24px; overflow: hidden; }
.product-image img { max-height: 380px; width: 100%; object-fit: contain; object-position: center; background: #edeadd; }
.product-image figcaption { color: var(--muted); padding-top: 6px; font-size: 12px; }

.tech { background: var(--dark); color: var(--white); scroll-margin-top: 0; }
.tech .eyebrow, .contact .eyebrow { color: #af9d63; }
.tech-intro { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 44px; }
.tech-intro > p { color: #dedfce; max-width: 365px; }
.steps { margin-top: 35px; }
.step-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #74816a; }
.step-tabs button { padding: 14px clamp(7px, 2vw, 24px); text-align: left; color: var(--white); border: 0; border-right: 1px solid #74816a; background: transparent; font-weight: 700; }
.step-tabs button:last-child { border-right: 0; }
.step-tabs button[aria-selected="true"] { color: var(--dark); background: #e4b65b; }
.step-tabs button:not([aria-selected="true"]):hover { background: #35452f; }
.step-tabs span { margin-right: 10px; font-size: 13px; }
.step-panel { min-height: 186px; display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 24px; align-items: center; padding: 26px clamp(17px, 4vw, 53px); border: 1px solid #74816a; }
.step-tabs:not([hidden]) + .step-panels .step-panel { border-top: 0; }
.step-panel + .step-panel { border-top: 0; }
.step-number { color: #e4b65b; font: 400 clamp(56px, 8vw, 99px)/1 var(--serif); }
.step-panel h3 { margin-bottom: 8px; font-size: clamp(21px, 3vw, 34px); line-height: 1.28; letter-spacing: -.045em; }
.step-panel p:not(.step-number) { color: #dedfce; max-width: 625px; }

.leader { margin-top: 24px; padding: 17px 0 0; border-top: 1px solid var(--rule); }
.leader-name { color: var(--ink); font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.leader-name span { font-size: 16px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.leader-roles { margin-bottom: 8px; color: var(--ink); font-weight: 700; }
.company-project { font-weight: 600; }
.contact { background: #e6e7d3; scroll-margin-top: 0; }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 58px; }
.contact .eyebrow { color: #4f623b; }
.contact h2 + p { margin-top: 15px; color: #464b3c; }
.contact-details { margin-top: 22px; }
.contact-details div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; padding-block: 6px; }
.contact-details dt { font-weight: 700; }
.contact-details dd { overflow-wrap: anywhere; }
.contact-details a { text-decoration: underline; text-underline-offset: 4px; }
.office { padding: 15px 0; border-bottom: 1px solid #bcc0a8; }
.office:first-child { padding-top: 0; }
.office h3 { font-size: 17px; line-height: 1.45; }
.office address { margin-top: 5px; color: #464b3c; font-size: 14px; font-style: normal; word-break: normal; }
.contact-action { padding: 15px 0 0; }
.contact-action details { background: #f6f4e8; border: 1px solid #bcc0a8; }
.contact-action summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; font-weight: 700; list-style: none; }
.contact-action summary::-webkit-details-marker { display: none; }
.contact-action summary::after { content: '+'; font-size: 23px; font-weight: 400; line-height: 1; }
.contact-action details[open] summary::after { content: '−'; }
.brief-form { padding: 0 18px 18px; }
.brief-form p { color: var(--muted); font-size: 14px; }
.brief-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 12px; margin-top: 12px; }
.brief-fields label { display: grid; gap: 3px; font-size: 13px; font-weight: 700; }
.brief-fields label:last-child { grid-column: 1 / -1; }
.brief-fields input, .brief-fields select, .brief-fields textarea { padding: 8px; min-width: 0; width: 100%; color: var(--ink); background: #fffdf5; border: 1px solid #a8ad95; border-radius: 0; }
.brief-fields textarea { min-height: 84px; resize: vertical; }
.brief-form .button { margin-top: 13px; }
.brief-result { margin-top: 12px; }
.brief-result textarea { display: block; width: 100%; min-height: 140px; padding: 9px; border: 1px solid #a8ad95; background: #fffdf5; color: var(--ink); }
.brief-tools { display: flex; gap: 10px; }
.button-outline { background: transparent; border-color: #a0a687; }
.button-outline:hover { background: #eeedda; }
.brief-status { min-height: 24px; margin-top: 4px; }

footer { background: #eeebdf; border-top: 1px solid var(--rule); }
.footer-row { min-height: 100px; display: flex; gap: 24px; align-items: center; }
.footer-row .wordmark { font-size: 33px; }
.footer-row p, .back-top { font-size: 13px; color: #54594b; }
.back-top { margin-left: auto; white-space: nowrap; }

@media (max-width: 1020px) {
  .wrap { width: min(100% - 64px, 1256px); }
  .hero-layout { min-height: 495px; }
  .hero-copy { padding-block: 48px; }
  .product, .about, .contact-layout { gap: 35px; }
  .tech-intro { gap: 24px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 42px); }
  .header-row { min-height: 61px; flex-wrap: wrap; gap: 0; }
  .wordmark { font-size: 36px; }
  .navigation { flex-basis: 100%; display: grid; gap: 1px; padding: 4px 0 12px; }
  .navigation a { padding: 9px 0; }
  .nav-contact { border: 0; }
  .hero-layout { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 42px 0 34px; }
  h1 { margin: 15px 0; font-size: clamp(37px, 7.9vw, 53px); }
  .hero-break { display: none; }
  .hero-description { font-size: 16px; }
  .hero-copy .button { margin-top: 20px; }
  .hero-figure { aspect-ratio: 1.35; margin-bottom: 20px; min-height: 0; }
  .hero-figure img { object-position: 55% 54%; }
  .process-line-inner { min-height: 53px; }
  .section { padding-block: 55px; }
  .product, .about, .contact-layout, .tech-intro { grid-template-columns: 1fr; gap: 18px; }
  .contact-locations { padding-top: 12px; }
  .tech-intro > p { max-width: none; }
  .steps { margin-top: 24px; }
  .step-tabs button { font-size: 13px; }
  .step-tabs span { margin-right: 2px; font-size: 11px; }
  .step-panel { min-height: 162px; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 18px 11px; }
  .step-number { font-size: 44px; }
  .step-panel p:not(.step-number) { font-size: 14px; }
  .footer-row { gap: 12px; min-height: 76px; }
  .footer-row .wordmark { font-size: 26px; }
  .footer-row p, .back-top { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
