@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/roboto-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/roboto-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --night: #1d1330;
  --night-soft: #2c2045;
  --ink: #1f1a2b;
  --text: #39334a;
  --muted: #625c72;
  --paper: #fbfaf7;
  --tint: #f1eee8;
  --line: #ddd8ce;
  --violet: #5b2b8f;
  --gold: #f4c531;
  --on-night: #f5f2fa;
  --on-night-muted: #c9c1d8;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
html:has(dialog[open]) { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.6 Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; text-wrap: balance; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--violet); text-underline-offset: 3px; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.section :focus-visible, dialog :focus-visible { outline-color: var(--violet); }

.container { width: min(100%, 1160px); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 8px 14px;
  background: #fff;
  color: var(--ink);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* Header */
.site-header { background: var(--night); color: var(--on-night); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.wordmark { color: #fff; font-size: 1.65rem; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; }
.wordmark span { color: var(--gold); }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { color: var(--on-night); font-size: 0.95rem; font-weight: 500; text-decoration: none; }
.site-header nav a:hover { color: var(--gold); }
.site-header nav .nav-contact { padding: 7px 16px; border: 1px solid rgb(255 255 255 / 40%); border-radius: 4px; }

/* Hero */
.hero { padding-block: 64px 96px; background: var(--night); color: var(--on-night); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.eyebrow { color: var(--gold); font-size: 0.95rem; font-weight: 600; }
.hero h1 { margin-top: 14px; color: #fff; font-size: clamp(2.75rem, 6.2vw, 5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
.hero-lead { max-width: 37rem; margin-top: 26px; color: var(--on-night-muted); font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.5; }
.glance { border: 1px solid rgb(255 255 255 / 16%); border-radius: 8px; background: var(--night-soft); }
.glance > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 16px; padding: 18px 26px; }
.glance > div + div { border-top: 1px solid rgb(255 255 255 / 12%); }
.glance dt { color: var(--on-night-muted); font-size: 0.92rem; }
.glance dd { color: #fff; font-weight: 500; }
.glance .glance-status dd { color: var(--gold); }

/* Sections */
.section { padding-block: 88px; }
.section-tint { background: var(--tint); }
.kicker { color: var(--violet); font-size: 0.95rem; font-weight: 600; }
.section-title, .split-heading h2 { margin-top: 8px; font-size: clamp(2rem, 4vw, 3rem); font-weight: 750; letter-spacing: -0.02em; }

.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; }
.split-heading { position: sticky; top: 32px; align-self: start; }

.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 40px; }
.services article { padding-block: 26px; border-top: 2px solid var(--ink); }
.services h3 { font-size: 1.4rem; font-weight: 650; }
.services p { margin-top: 8px; color: var(--muted); }

.standards > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding-block: 18px; border-top: 1px solid var(--line); }
.standards > div:last-child { border-bottom: 1px solid var(--line); }
.standards dt { color: var(--ink); font-weight: 650; }
.standards dd { color: var(--muted); }

/* Contact */
.contact { padding-block: 88px; background: var(--night); color: var(--on-night); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 72px; align-items: end; }
.contact h2 { margin-top: 12px; color: #fff; font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.025em; }
.contact-email { display: inline-block; margin-top: 28px; color: var(--gold); font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 600; overflow-wrap: anywhere; }
.contact-note { max-width: 34rem; margin-top: 22px; color: var(--on-night-muted); font-size: 1.1rem; }
.contact-details h3 { color: #fff; font-size: 1.05rem; font-weight: 600; }
.contact-details address { margin-top: 8px; color: var(--on-night-muted); font-size: 0.92rem; font-style: normal; }
.contact-logo { width: 222px; margin-top: 28px; }

/* Footer */
.footer { padding-block: 22px; background: #150d24; color: var(--on-night-muted); font-size: 0.9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer a { color: inherit; text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer button { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; font: inherit; }
.footer a:hover, .footer button:hover { color: #fff; text-decoration: underline; }

/* Cookie consent */
.cookie-banner { position: fixed; inset: auto 0 0; z-index: 10; padding-block: 14px; background: #fff; box-shadow: 0 -6px 24px rgb(29 19 48 / 18%); color: var(--text); font-size: 0.9rem; }
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; }
.cookie-actions { display: flex; flex: none; gap: 8px; }
.cookie-actions button { padding: 9px 18px; border: 1px solid var(--ink); border-radius: 4px; background: #fff; color: var(--ink); cursor: pointer; font: 600 0.9rem/1.3 Roboto, Arial, sans-serif; }
.cookie-actions button[data-consent="granted"] { background: var(--ink); color: #fff; }
.cookie-actions button:hover { background: var(--tint); color: var(--ink); }

/* Dialog */
dialog { width: min(900px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow: hidden; border: 0; border-radius: 8px; color: var(--text); box-shadow: 0 18px 60px rgb(0 0 0 / 35%); }
dialog[open] { display: flex; }
dialog:focus-visible { outline: 0; }
dialog::backdrop { background: rgb(0 0 0 / 55%); }
.dialog-box { display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 0; }
.dialog-box > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px 8px; }
.dialog-box h2 { font-size: 1.4rem; font-weight: 700; }
.dialog-x { padding: 0 6px; border: 0; background: none; color: #555; cursor: pointer; font-size: 1.75rem; line-height: 1; }
.dialog-body { padding: 8px 24px 12px; overflow-y: auto; font-size: 0.96rem; }
.dialog-body p + p { margin-top: 12px; }
.dialog-footer { display: flex; justify-content: flex-end; padding: 8px 16px 14px; }
.dialog-footer button { padding: 9px 14px; border: 0; border-radius: 4px; background: none; color: inherit; cursor: pointer; font: 600 0.9rem/1.4 Roboto, Arial, sans-serif; }
.dialog-footer button:hover { background: var(--tint); }

.legal { overflow-wrap: anywhere; }
.legal h3 { margin: 24px 0 8px; font-size: 1.1rem; font-weight: 650; }
.legal h3:first-child { margin-top: 4px; }
.legal ol { margin: 0; padding-left: 24px; list-style: decimal; }
.legal ul { margin: 4px 0; padding-left: 20px; list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal ol + p { margin-top: 12px; }

@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .split-heading { position: static; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-inline: 16px; }
  .header-inner { min-height: 64px; }
  .nav-optional { display: none; }
  .hero { padding-block: 40px 60px; }
  .section, .contact { padding-block: 60px; }
  .services { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .standards > div { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .glance > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 20px; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions button { flex: 1; }
}
