/* Kronosystem - kronosystem.com */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../assets/fonts/manrope-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Spline Sans Mono"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../assets/fonts/spline-sans-mono-latin-wght-normal.woff2") format("woff2"); }

:root {
  --blue: #18468b;        /* logo blue */
  --blue-deep: #0f2c58;
  --orange: #ea5b18;      /* logo orange (graphics, large text only) */
  --orange-text: #b8430c; /* orange for small text, AA on white/paper */
  --ink: #142238;
  --muted: #4d5a6c;
  --paper: #f5f3ee;
  --white: #fff;
  --line: #dcd8cf;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul, figure, address { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }
img, svg { display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 20;
  background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 6px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font: 500 .8125rem/1.2 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange-text);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid var(--blue);
  background: var(--blue); color: #fff;
  font: 700 1rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.top.is-stuck { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: block; flex: 0 0 auto; }
.logo { width: clamp(170px, 24vw, 260px); height: auto; aspect-ratio: 774 / 191; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.nav a:not(.btn) { font-weight: 600; font-size: .9375rem; text-decoration: none; color: var(--muted); }
.nav a:not(.btn):hover { color: var(--blue); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.375rem, 5.4vw, 4.25rem);
  line-height: 1.04; letter-spacing: -.03em; font-weight: 800;
  color: var(--blue);
  text-wrap: balance;
}
.lead { margin-top: 24px; max-width: 34em; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: var(--muted); }
.cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Clock */
.clock { justify-self: center; width: min(100%, 420px); }
.clock svg { width: 100%; height: auto; overflow: visible; }
.clock-echo { fill: none; stroke: var(--orange); stroke-width: 14; opacity: .16; }
.clock-face { fill: #fff; stroke: var(--blue); stroke-width: 2.5; }
.ticks line { stroke: var(--blue); stroke-linecap: round; }
.ticks .t-min { stroke-width: 1.2; opacity: .45; }
.ticks .t-hr { stroke-width: 3; }
.ticks .t-q { stroke: var(--orange); stroke-width: 4; }
.hand { transform-origin: 120px 120px; transform-box: view-box; }
.hand line { stroke-linecap: round; }
.hand-h line { stroke: var(--blue); stroke-width: 7; }
.hand-m line { stroke: var(--blue); stroke-width: 4.5; }
.hand-s line { stroke: var(--orange); stroke-width: 2; }
.hand-s circle { fill: var(--orange); }
.clock-read {
  margin-top: 18px; text-align: center;
  font: 500 .8125rem/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.clock-read time { color: var(--blue); font-weight: 600; font-variant-numeric: tabular-nums; margin-left: .4em; }

/* Section heads */
.sec-head h2 {
  margin-top: 14px;
  font-size: clamp(1.875rem, 3.6vw, 2.75rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 800;
  text-wrap: balance;
}
.sec-head .sub { margin-top: 14px; font-size: 1.125rem; }

/* Services */
.services { background: var(--paper); padding: clamp(64px, 9vw, 120px) 0; }
.services .sec-head h2 { color: var(--blue); }
.svc { margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); counter-reset: svc; }
.svc li {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 8px 32px; align-items: baseline;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.svc-n { font: 600 .9375rem/1 var(--mono); color: var(--orange-text); font-variant-numeric: tabular-nums; }
.svc h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.2; letter-spacing: -.015em; font-weight: 700; }
.svc p { color: var(--muted); }
.also {
  margin-top: 28px; font: 400 .875rem/1.6 var(--mono); color: var(--muted);
}
.also span { color: var(--orange-text); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-right: .6em; }

/* Contact */
.contact { background: var(--blue); color: #fff; padding: clamp(64px, 9vw, 120px) 0; }
.contact .eyebrow { color: #ffb48f; }
.contact .sub { color: #c9d6ea; }
.cards { margin-top: clamp(32px, 5vw, 48px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; overflow: hidden; }
.cards li { background: var(--blue); padding: 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cards .k { font: 500 .75rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #c9d6ea; }
.cards .v { font-size: 1.1875rem; font-weight: 700; line-height: 1.35; text-decoration: none; overflow-wrap: anywhere; }
.cards a.v:hover { text-decoration: underline; text-underline-offset: 4px; }
.cards .map { margin-top: auto; padding-top: 6px; font-size: .9375rem; font-weight: 600; color: #ffb48f; text-underline-offset: 3px; }

/* Footer */
.foot { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); font-size: .875rem; color: var(--muted); }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.foot-mark { width: 52px; height: auto; aspect-ratio: 324 / 307; }
.foot strong { color: var(--ink); }
.foot a { color: var(--blue); }
.copy { font-family: var(--mono); font-size: .8125rem; }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .clock { width: min(72%, 320px); }
  .svc li { grid-template-columns: 3rem minmax(0, 1fr); }
  .svc li p { grid-column: 2; }
}
@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .top-in { min-height: 64px; }
  .cta .btn { flex: 1 1 100%; }
  .cards { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .clock { width: min(64%, 240px); }
}
@media (max-width: 380px) {
  .btn-sm { padding: 0 12px; font-size: .875rem; }
  .logo { width: 150px; }
}
@media print {
  .top { position: static; }
  .clock, .skip-link { display: none; }
  .contact { background: none; color: var(--ink); }
  .cards li { background: none; }
}
