:root {
  --ink: #123f46;
  --muted: #465f63;
  --bg: #ffffff;
  --surface: #f4f8f8;
  --line: #d3dfe0;
  --brand: #196e76;
  --brand-deep: #196e76;
  --accent: #196e76;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 400 1rem/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: .2em; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 10; padding: .7rem 1rem; background: var(--accent); color: #07191c; }
.skip-link:focus { top: 1rem; }

.site-header, footer {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-header { min-height: 6.5rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .8rem; font-size: 1.15rem; font-weight: 750; letter-spacing: -.02em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 2.2rem; aspect-ratio: 1; border-radius: 50%; color: var(--bg); background: var(--accent); font-size: .68rem; font-weight: 900; letter-spacing: -.05em; }
nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
nav a { color: var(--muted); font-size: .9rem; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--ink); }

main { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; }
.hero { min-height: min(690px, calc(100svh - 6.5rem)); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 6rem 0; max-width: 950px; }
.hero-heading { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.eyebrow { margin: 0 0 1.4rem; color: var(--brand); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(3.4rem, 8vw, 7.6rem); line-height: .9; letter-spacing: -.07em; font-weight: 800; }
h1 span { color: var(--brand); }
.station-clock { width: clamp(8rem, 15vw, 12.5rem); aspect-ratio: 1; flex: 0 0 auto; }
.clock-face {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg);
}
.clock-marks {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: var(--brand);
}
.clock-hand { position: absolute; z-index: 2; left: 50%; bottom: 50%; display: block; transform-origin: 50% 100%; transform: translateX(-50%) rotate(0deg); border-radius: 999px; }
.clock-hour { width: 4.5%; height: 27%; background: var(--brand); }
.clock-minute { width: 3.2%; height: 38%; background: var(--brand); }
.clock-second { width: 1.7%; height: 42%; background: #d8222a; }
.clock-second::after { content: ""; position: absolute; left: 50%; top: 100%; width: 520%; aspect-ratio: 1; border-radius: 50%; background: #d8222a; transform: translate(-50%, -25%); }
.clock-pin { position: absolute; z-index: 3; left: 50%; top: 50%; width: 7%; aspect-ratio: 1; border-radius: 50%; background: var(--brand); transform: translate(-50%, -50%); }
.intro { max-width: 720px; margin: 2.4rem 0 2.2rem; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.65; }
.button { display: inline-flex; gap: .9rem; align-items: center; padding: .9rem 1.2rem; background: var(--accent); color: var(--bg); border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(212,240,101,.16); }

.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services article { padding: 2.5rem; min-height: 250px; }
.services article + article { border-left: 1px solid var(--line); }
.services span { color: var(--brand); font: 700 .72rem/1 monospace; }
.services h2 { margin: 3.5rem 0 .5rem; font-size: 1.5rem; letter-spacing: -.03em; }
.services p { margin: 0; color: var(--muted); }

.contact { margin: 8rem 0; padding: clamp(2rem, 6vw, 5rem); background: linear-gradient(135deg, var(--brand-deep), #123b40); border-radius: 1.25rem; }
.contact h2 { max-width: 720px; margin: 0 0 2.2rem; font-size: clamp(2.2rem, 5vw, 4.5rem); line-height: 1.02; letter-spacing: -.055em; }
.contact .eyebrow { color: #bde9e5; }
.contact > a { font-size: clamp(1.15rem, 3vw, 1.75rem); font-weight: 750; }

.legal { display: grid; grid-template-columns: minmax(180px, .6fr) minmax(0, 1.4fr); gap: clamp(2rem, 7vw, 8rem); padding: 7rem 0; border-top: 1px solid var(--line); }
.legal-heading h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 4rem); letter-spacing: -.055em; }
.legal-copy { max-width: 760px; }
.legal-copy h3 { margin: 2.6rem 0 .7rem; font-size: 1.12rem; }
.legal-copy h3:first-of-type { margin-top: 0; }
.legal-copy p, .legal-copy address { color: var(--muted); }
.legal-copy address { font-style: normal; }
.legal-copy a { color: var(--ink); }
.legal-copy .stand { margin-top: 0; color: var(--brand); font-size: .85rem; }

footer { min-height: 8rem; padding: 2rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-brand { color: var(--ink); }

@media (max-width: 760px) {
  .site-header { min-height: 5.5rem; }
  .site-header nav a:not(:first-child) { display: none; }
  .hero { min-height: auto; padding: 5rem 0 6rem; }
  .services { grid-template-columns: 1fr; }
  .services article { min-height: auto; padding: 2rem 0; }
  .services article + article { border-left: 0; border-top: 1px solid var(--line); }
  .services h2 { margin-top: 1.8rem; }
  .contact { margin: 5rem 0; }
  .legal { grid-template-columns: 1fr; padding: 5rem 0; }
  footer { align-items: flex-start; flex-direction: column; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

.logo { display: block; width: 15rem; max-width: 100%; height: auto; }
.brand { max-width: 100%; }
.site-header { flex-wrap: wrap; padding: 1.2rem 0; }
.contact { color: white; }
.eyebrow, .services span { font-size: .875rem; }
.hero { min-height: auto; padding: 5rem 0; }
h1 { font-size: clamp(2.6rem, 7vw, 6.5rem); line-height: 1.05; letter-spacing: -.045em; }
.button:hover, .button:focus-visible { box-shadow: 0 8px 24px #196e7626; }
a { overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid #196e76; outline-offset: 5px; }
.contact :focus-visible { outline-color: white; }
@media(max-width:760px) {
  .site-header { gap: 1rem; }
  .site-header nav { width: 100%; gap: 1.2rem; }
  .site-header nav a:not(:first-child) { display: inline; }
  .hero-heading { grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: end; }
  .station-clock { width: clamp(5.5rem, 23vw, 7.5rem); margin-bottom: .35rem; }
}

@media(max-width:480px) {
  .hero-heading { grid-template-columns: 1fr; }
  .station-clock { justify-self: end; width: 6rem; margin-top: .5rem; }
}
