@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/cinzel-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin.woff2") format("woff2");
}
:root {
  --canvas: #fafaf9;
  --ink: #171717;
  --ink-soft: #57534e;
  --muted: #78716c;
  --line: #d6d3d1;
  --accent: #b93826;
  --display: "Cinzel", Georgia, serif;
  --body: "Montserrat", Arial, sans-serif;
  --reading: "Courier New", Courier, monospace;
  --page: min(calc(100% - 96px), 1240px);
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; scroll-padding-top: 105px; }
body { min-width: 320px; margin: 0; background: var(--canvas); -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: var(--canvas); }
a { color: inherit; text-underline-offset: 5px; }
button { color: inherit; font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: 0; text-wrap: balance; }
h1 em, h2 em { color: var(--accent); font-style: normal; }
p { margin: 0 0 20px; font-family: var(--reading); font-size: 1rem; line-height: 1.7; }
.skip-link { position: fixed; z-index: 200; top: 12px; left: 12px; padding: 12px; transform: translateY(-160%); background: var(--ink); color: white; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; z-index: 100; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 82px; padding: 16px max(48px, calc((100vw - 1240px) / 2)); border-bottom: 1px solid var(--line); background: var(--canvas); }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.brand img { display: block; width: 140px; height: 42px; object-fit: contain; }
.site-footer .brand img { width: 160px; height: 48px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.site-nav a:hover { text-decoration: underline; }
.site-nav .language-link { padding-left: 20px; border-left: 1px solid var(--line); color: var(--accent); }
.menu-toggle { display: none; min-height: 44px; gap: 14px; align-items: center; border: 0; padding: 0; background: transparent; font-size: .72rem; font-weight: 600; text-transform: uppercase; cursor: pointer; }
.menu-toggle span { font-size: 1.3rem; }
.hero, .section, .section-inner, .site-footer { width: var(--page); margin-inline: auto; }
.hero { padding-top: clamp(64px,8vw,112px); }
.kicker, .number { color: var(--muted); font-family: var(--body); font-size: .67rem; font-weight: 600; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; }
.kicker { margin: 0 0 26px; }
.hero h1 { max-width: 1100px; font-size: clamp(2.5rem,5.6vw,5rem); line-height: 1.1; }
.hero-bottom { display: grid; grid-template-columns: minmax(0,720px) auto; align-items: end; justify-content: space-between; gap: 50px; margin-top: 42px; }
.hero-copy p { color: var(--ink-soft); }
.hero-copy p:last-child { margin-bottom: 0; font-size: .92rem; }
.hero-lede { max-width: 720px; font-family: var(--body); font-size: clamp(1rem,1.4vw,1.15rem); line-height: 1.7; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: space-between; gap: 26px; padding: 15px 20px; border: 1px solid var(--ink); border-radius: 0; background: var(--ink); color: white; font-family: var(--body); font-size: .67rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: background-color .18s; }
.button:hover { background: var(--accent); border-color: var(--accent); }
.hero-index { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 58px; border-block: 1px solid var(--ink); }
.hero-index a { display: flex; gap: 22px; align-items: center; min-height: 70px; padding: 16px 24px; font-family: var(--body); font-size: .78rem; font-weight: 500; text-decoration: none; }
.hero-index a:first-child { padding-left: 0; }
.hero-index a + a { border-left: 1px solid var(--line); }
.hero-index a:hover { color: var(--accent); }
.hero-index span { color: var(--muted); font-size: .64rem; }
.section { padding-block: clamp(64px,8vw,108px); }
.section-heading { margin-bottom: 46px; }
.section-heading h2, .contact h2 { font-size: clamp(2rem,3.7vw,3.5rem); line-height: 1.17; }
.applications { padding-bottom: 72px; }
.application { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px,8vw,115px); padding-block: 44px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.application:last-child { border-bottom: 1px solid var(--line); }
.application-identity { display: flex; align-items: center; gap: 22px; margin-bottom: 24px; }
.application-icon { display: block; flex: 0 0 80px; width: 80px; height: 80px; object-fit: contain; }
.application-heading .number { display: block; }
.application-heading h3 { font-size: clamp(1.65rem,2.7vw,2.45rem); line-height: 1.25; }
.application-copy > p { color: var(--ink-soft); }
.application-copy p:last-child { margin-bottom: 0; }
.application-copy .outcome { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink); font-family: var(--body); font-size: .86rem; font-weight: 500; line-height: 1.65; }
.feature-list { margin: 0; padding-left: 20px; color: var(--ink-soft); font-family: var(--reading); font-size: .95rem; line-height: 1.65; }
.feature-list li { padding: 0 0 9px 4px; }
.section-dark { background: var(--ink); color: var(--canvas); }
.section-dark .kicker, .section-dark .number { color: #bcb7b2; }
.section-inner { padding-block: clamp(64px,8vw,100px); }
.section-dark h2 em { color: #e56d58; }
.journey { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; padding: 0; border-top: 1px solid #62605d; list-style: none; }
.journey li { padding: 26px 28px 12px 0; }
.journey li + li { padding-left: 28px; border-left: 1px solid #62605d; }
.journey h3 { margin: 30px 0 16px; font-size: clamp(1.15rem,1.8vw,1.6rem); line-height: 1.35; }
.journey p { color: #d6d3d1; font-size: .93rem; }
.connection-close { margin: 30px 0 0; padding-top: 28px; border-top: 1px solid #62605d; font-family: var(--body); font-size: 1rem; }
.implementation { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(40px,8vw,115px); }
.implementation .section-heading { margin: 0; }
.implementation-copy { align-self: center; color: var(--ink-soft); }
.implementation-copy p:last-child { margin: 0; }
.contact-inner { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 70px; align-items: center; }
.contact h2 { margin-bottom: 28px; }
.contact p:not(.kicker) { max-width: 620px; color: #d6d3d1; }
.contact-action { border-block: 1px solid #8c8782; padding: 26px 0; }
.contact-action .contact-label { display: block; margin-bottom: 16px; color: #d6d3d1; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-action .contact-email { display: block; margin-bottom: 14px; font-size: clamp(.94rem,1.6vw,1.25rem); font-weight: 500; overflow-wrap: anywhere; }
.contact-action small { display: block; color: #bcb7b2; font-size: .78rem; line-height: 1.7; }
.site-footer { display: grid; grid-template-columns: auto 1fr auto; gap: 12px 46px; align-items: center; padding-block: 30px; }
.site-footer p { margin: 0; color: var(--ink-soft); font-family: var(--body); font-size: .7rem; }
.site-footer > a:last-of-type { display: inline-flex; min-height: 44px; align-items: center; font-size: .7rem; }
.site-footer small { grid-column: 2; color: var(--muted); font-size: .64rem; }
.not-found-main { width: var(--page); max-width: 900px; margin: 100px auto; }
.not-found-main h1 { font-size: clamp(2.2rem,5vw,4rem); margin-bottom: 32px; }
.not-found-main .hero-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 32px; }
.not-found-main aside { margin-top: 48px; color: var(--ink-soft); font-size: .88rem; line-height: 1.7; }
@media (max-width: 980px) {
  :root { --page: calc(100% - 56px); }
  .site-header { padding-inline: 28px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: .6rem; }
  .hero-bottom { grid-template-columns: 1fr; gap: 28px; }
  .hero-bottom .button { justify-self: start; }
  .contact-inner { gap: 42px; }
}
@media (max-width: 760px) {
  :root { --page: calc(100% - 36px); }
  html { scroll-padding-top: 88px; }
  .site-header { min-height: 70px; padding: 12px 18px; }
  .menu-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 18px 18px; border-bottom: 1px solid var(--line); background: var(--canvas); }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 48px; border-bottom: 1px solid var(--line); font-size: .7rem; }
  .site-nav .language-link { border-left: 0; padding-left: 0; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(2.1rem,7.8vw,3.55rem); }
  .hero-bottom { margin-top: 30px; }
  .kicker { font-size: .6rem; margin-bottom: 20px; }
  .hero-lede { font-size: 1rem; }
  .hero-index { margin-top: 36px; }
  .hero-index a { flex-direction: column; align-items: start; gap: 9px; min-height: 86px; padding: 16px 12px; font-size: .64rem; }
  .section-heading { margin-bottom: 34px; }
  .application, .implementation { grid-template-columns: 1fr; gap: 26px; }
  .application { padding-block: 34px; }
  .application-identity { gap: 18px; margin-bottom: 20px; }
  .application-heading h3 { font-size: 1.8rem; }
  p { font-size: .96rem; }
  .journey { grid-template-columns: 1fr; }
  .journey li, .journey li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid #62605d; }
  .journey h3 { margin-top: 16px; font-size: 1.35rem; }
  .journey p { margin: 0; }
  .connection-close { border-top: 0; margin-top: 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 28px; }
  .contact h2 { font-size: 2rem; }
  .site-footer { grid-template-columns: 1fr auto; gap: 14px 20px; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
  .site-footer small { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
