:root {
  --ink: #0b2238;
  --ink-soft: #1d354b;
  --paper: #fbfaf6;
  --paper-deep: #f1eee7;
  --brass: #a4884f;
  --brass-light: #c8ae72;
  --line: rgba(11, 34, 56, 0.18);
  --line-dark: rgba(251, 250, 246, 0.23);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1240px;
  --gutter: clamp(1.25rem, 4.8vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.6; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; z-index: 100; top: 0.75rem; left: 0.75rem; transform: translateY(-180%); padding: 0.75rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--brass-light); outline-offset: 4px; }

.site-header { position: sticky; z-index: 50; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); background: rgba(251, 250, 246, 0.94); backdrop-filter: blur(14px); }
.wordmark { font-family: var(--serif); font-size: clamp(1rem, 1.8vw, 1.35rem); font-weight: 700; letter-spacing: 0.22em; line-height: 1; text-decoration: none; text-transform: uppercase; }
.site-nav { display: flex; gap: clamp(1.5rem, 3.5vw, 3.5rem); }
.site-nav a, .site-footer nav a { position: relative; font-size: 0.9rem; text-decoration: none; }
.site-nav a::after, .site-footer nav a::after, .text-link::after { position: absolute; right: 0; bottom: -0.3rem; left: 0; height: 1px; background: currentColor; content: ""; transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-footer nav a:hover::after, .site-footer nav a:focus-visible::after, .text-link:hover::after, .text-link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-button { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.75fr); min-height: min(720px, calc(100vh - 76px)); border-bottom: 1px solid var(--line); }
.hero__content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(5rem, 10vw, 9rem) var(--gutter); }
.hero h1 { max-width: 820px; margin: 0; font-family: var(--serif); font-size: clamp(3.7rem, 7vw, 7.7rem); font-weight: 500; letter-spacing: -0.055em; line-height: 0.87; }
.hero__content > p { max-width: 620px; margin: 2rem 0 0; font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.45; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 1.35rem; padding: 0.8rem 1.25rem; border: 1px solid var(--ink); font-size: 0.95rem; font-weight: 600; text-decoration: none; transition: background 160ms ease, color 160ms ease, transform 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { border-color: var(--brass); background: var(--brass); color: #fff; }
.button--primary:hover { background: #8f743e; }
.button--secondary:hover { background: var(--ink); color: #fff; }
.hero__visual { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 4vw, 4rem) 0; border-left: 1px solid var(--brass); background: linear-gradient(135deg, rgba(241, 238, 231, 0.1), var(--paper-deep)); color: #6c8293; }
.hero__visual p { margin: 0; color: var(--ink); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.28em; line-height: 1.9; text-transform: uppercase; }
.hero__visual p::after { display: block; width: 28px; height: 1px; margin-top: 1rem; background: var(--brass); content: ""; }
.hero__visual svg { width: 125%; max-width: none; transform: translateX(-12%); opacity: 0.62; }

.section-shell { width: min(100%, calc(var(--max) + var(--gutter) * 2)); margin: 0 auto; padding: clamp(5rem, 9vw, 8.5rem) var(--gutter); }
.dark-section { background: var(--ink); color: var(--paper); }
.thread-section { position: relative; }
.thread { position: absolute; top: 0; bottom: 0; left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); width: 1px; background: var(--brass); pointer-events: none; }
.thread span { position: absolute; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--brass-light); transform: translate(-50%, -50%); }
.thread span:nth-child(1) { top: 8%; } .thread span:nth-child(2) { top: 24%; } .thread span:nth-child(3) { top: 40%; } .thread span:nth-child(4) { top: 56%; } .thread span:nth-child(5) { top: 72%; } .thread span:nth-child(6) { top: 88%; }
.thread--light { opacity: 0.75; }
.section-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr); gap: clamp(2rem, 6vw, 6rem); padding-left: clamp(2rem, 5vw, 4.5rem); }
.section-label { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.15rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; }
.section-label::after { width: 62px; height: 1px; background: var(--brass); content: ""; }
.section-intro h2, .company h2, .business-model h2, .legal-hero h1 { max-width: 760px; margin: 0; font-family: var(--serif); font-size: clamp(2.7rem, 5vw, 5.1rem); font-weight: 500; letter-spacing: -0.045em; line-height: 0.98; }
.section-intro > p { align-self: center; margin: 2.5rem 0 0; color: rgba(251, 250, 246, 0.8); }
.product-list { margin-top: 2.75rem; padding-left: clamp(2rem, 5vw, 4.5rem); }
.product-row { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: clamp(1rem, 3vw, 2.3rem); align-items: center; min-height: 104px; padding: 1rem 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; }
a.product-row { transition: background 160ms ease, padding 160ms ease; }
a.product-row:hover { padding-right: 1rem; padding-left: 1rem; background: rgba(255, 255, 255, 0.045); }
.product-mark { display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid rgba(200, 174, 114, 0.5); background: rgba(255, 255, 255, 0.035); color: var(--brass-light); font-family: var(--serif); font-size: 2rem; }
.product-row strong { display: block; font-family: var(--serif); font-size: clamp(1.4rem, 2.1vw, 2rem); font-weight: 500; line-height: 1.2; }
.product-row small { display: block; margin-top: 0.18rem; color: rgba(251, 250, 246, 0.72); font-size: 0.96rem; }
.row-arrow { color: var(--brass-light); font-size: 1.6rem; transition: transform 160ms ease; }
a.product-row:hover .row-arrow { transform: translateX(5px); }
.row-note { color: rgba(251, 250, 246, 0.55); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

.section-intro--split > p { color: var(--ink-soft); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); margin: 4rem 0 0 clamp(2rem, 5vw, 4.5rem); }
.principle { min-height: 230px; padding: 0 clamp(1.5rem, 3vw, 3rem); border-left: 1px solid var(--line); }
.principle:first-child { padding-left: 0; border-left: 0; }
.principle__number { color: var(--brass); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.24em; }
.principle h3 { margin: 2.5rem 0 1rem; font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 500; }
.principle p { max-width: 300px; margin: 0; color: #425466; }

.business-model { border-block: 1px solid var(--line); background: var(--paper-deep); }
.business-model__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr); gap: clamp(3rem, 8vw, 9rem); }
.business-model h2 { font-size: clamp(2.65rem, 4.6vw, 4.6rem); }
.business-model__copy p { margin: 0 0 1.4rem; color: #344b5f; font-size: 1.05rem; }
.text-link { position: relative; display: inline-block; margin-top: 0.75rem; color: var(--ink); font-weight: 700; text-decoration: none; }

.company__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr); gap: clamp(3rem, 8vw, 8rem); padding-left: calc(var(--gutter) + clamp(2rem, 5vw, 4.5rem)); }
.company__grid > div > p:last-child { max-width: 600px; margin: 1.5rem 0 0; color: #425466; font-size: 1.08rem; }
.contact-card { align-self: center; margin: 0; padding: clamp(1.5rem, 4vw, 2.75rem); border-left: 1px solid var(--brass); font-style: normal; }
.contact-card p { margin: 0 0 1.35rem; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card span { display: block; margin-bottom: 0.2rem; color: #657787; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.contact-card a { text-underline-offset: 0.25em; }
.contact-card__note { color: #657787; font-size: 0.86rem; }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: start; padding: 3.5rem var(--gutter); background: var(--ink); color: var(--paper); }
.wordmark--footer { color: var(--paper); font-size: 1rem; }
.site-footer > div > p { margin: 1rem 0 0; color: rgba(251, 250, 246, 0.55); font-size: 0.67rem; font-weight: 700; letter-spacing: 0.23em; text-transform: uppercase; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; justify-content: flex-end; }
.site-footer nav a { color: rgba(251, 250, 246, 0.8); font-size: 0.8rem; }
.copyright { grid-column: 1 / -1; margin: 1rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); color: rgba(251, 250, 246, 0.52); font-size: 0.76rem; text-align: right; }

.legal-main { min-height: 65vh; }
.legal-hero { padding: clamp(4rem, 8vw, 7.5rem) var(--gutter) clamp(3rem, 5vw, 5rem); border-bottom: 1px solid var(--line); }
.legal-hero__inner { width: min(100%, var(--max)); margin: 0 auto; }
.legal-hero p { max-width: 720px; margin: 1.5rem 0 0; color: #425466; font-size: 1.05rem; }
.legal-content { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: clamp(2rem, 6vw, 7rem); width: min(100%, var(--max)); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(5rem, 9vw, 8rem); }
.legal-meta { color: #657787; font-size: 0.82rem; }
.legal-meta strong { display: block; color: var(--ink); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; }
.legal-content article h2 { margin: 2.6rem 0 0.8rem; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.legal-content article h2:first-child { margin-top: 0; }
.legal-content article h3 { margin: 1.8rem 0 0.5rem; font-size: 1rem; }
.legal-content article p, .legal-content article li { color: #344b5f; }
.legal-content article ul { padding-left: 1.25rem; }
.legal-content article a { text-underline-offset: 0.25em; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

@media (max-width: 800px) {
  .site-header { min-height: 68px; backdrop-filter: none; }
  .menu-button { display: flex; align-items: center; gap: 0.7rem; border: 0; background: transparent; color: var(--ink); font: 700 0.72rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
  .menu-button__lines, .menu-button__lines::before { display: block; width: 24px; height: 1px; background: currentColor; content: ""; transition: transform 160ms ease; }
  .menu-button__lines::before { transform: translateY(-6px); }
  .menu-button[aria-expanded="true"] .menu-button__lines { transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] .menu-button__lines::before { transform: rotate(-90deg); }
  .site-nav { position: fixed; top: 68px; bottom: 0; left: 0; display: flex; visibility: hidden; width: 100%; flex-direction: column; gap: 0; padding: 2rem var(--gutter); background: var(--paper); opacity: 0; pointer-events: none; transform: translateX(1rem); transition: opacity 180ms ease, transform 220ms ease, visibility 220ms; }
  .site-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateX(0); }
  .site-nav a { padding: 1.2rem 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.7rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__content { min-height: 600px; padding-top: 5rem; padding-bottom: 5rem; }
  .hero h1 { font-size: clamp(3.5rem, 15vw, 5.5rem); }
  .hero__visual { min-height: 360px; border-top: 1px solid var(--brass); border-left: 0; }
  .section-intro, .section-intro--split, .business-model__grid, .company__grid { grid-template-columns: 1fr; }
  .section-intro > p { margin-top: 0; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle:first-child { min-height: 0; padding: 2rem 0; border-top: 1px solid var(--line); border-left: 0; }
  .principle h3 { margin-top: 1rem; }
  .company__grid { padding-left: calc(var(--gutter) + 2rem); }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
  .copyright { text-align: left; }
  .legal-content { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .wordmark { font-size: 0.88rem; letter-spacing: 0.16em; }
  .menu-button__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero__content { min-height: 550px; }
  .hero__actions, .button { width: 100%; }
  .thread { left: 1.25rem; }
  .section-intro, .product-list { padding-left: 1.25rem; }
  .product-row { grid-template-columns: 48px minmax(0, 1fr); min-height: 96px; }
  .product-mark { width: 44px; height: 44px; font-size: 1.55rem; }
  .row-arrow, .row-note { grid-column: 2; justify-self: start; }
  .row-note { margin-top: -0.8rem; }
  .principles { margin-left: 1.25rem; }
  .company__grid { padding-left: calc(var(--gutter) + 1.25rem); }
  .contact-card { padding-right: 0; }
  .site-footer nav { flex-direction: column; }
}
