@font-face {
  font-family: Geist;
  src: url('/assets/geist-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url('/assets/geist-medium.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #080f17;
  --text: #edf1f5;
  --muted: #a4b0bd;
  --accent: #bfd2e3;
  --line: #293440;
  --gutter: clamp(1.5rem, 5vw, 5rem);
  --font: Geist, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #bfd2e3; color: #080f17; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
a:hover { color: #fff; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
address { font-style: normal; }
img { display: block; max-width: 100%; }
.skip-link {
  position: fixed; top: 1rem; left: var(--gutter); z-index: 10;
  padding: 0.5rem 1rem; background: var(--text); color: var(--bg);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: var(--bg); }
.shell {
  min-height: 100svh;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
}
.site-header {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 44px; margin-left: -0.55rem;
  text-decoration: none; font-size: 1.125rem;
  font-weight: 500; letter-spacing: -0.035em;
}
.brand img { width: 42px; height: 42px; }
.footer-nav a {
  display: inline-flex; min-height: 44px; align-items: center;
  color: var(--muted); font-size: 0.875rem; text-decoration: none;
}
.footer-nav a:hover, a[aria-current='page'] { color: var(--text); }
a[aria-current='page'] { text-decoration: underline; text-underline-offset: 0.5em; }

/* A compact identity keeps the center focused on the mark and name. */
.home-shell { display: grid; grid-template-rows: 1fr; }
.home-main {
  grid-area: 1 / 1;
  display: grid; place-items: center;
  min-height: max(100dvh, 28rem);
}
.home-shell .site-footer {
  grid-area: 1 / 1; align-self: end; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}
.home-shell .footer-email { justify-self: center; }
.home-shell .footer-nav { justify-self: end; }
.hero { width: fit-content; max-width: 100%; }
.hero-identity { display: flex; align-items: baseline; gap: 0.055em; }
/* Geist's C measures 0.726em above and 0.016em below the baseline. */
.hero-mark {
  position: relative; flex: 0 0 0.742em; width: 0.742em; height: 0.742em;
  overflow: hidden; transform: translateY(0.016em);
}
.hero-mark img {
  position: absolute; width: 193.75%; height: 193.75%; max-width: none;
  left: -46.875%; top: -46.875%;
}
.hero h1 {
  font-size: 6rem;
  font-weight: 500; line-height: 1.12; letter-spacing: -0.045em;
  margin: 0;
}
.footer-email {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--accent); font-size: 0.8125rem;
  text-decoration-color: #536171; text-underline-offset: 0.4em;
}
.footer-email:hover { text-decoration-color: currentColor; }
.contact-link {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.875rem; min-height: 48px; margin-top: 2.25rem;
  padding: 0.35rem 1.25rem;
  border: 1px solid #536171; border-radius: 4px;
  color: var(--text); font-size: 0.875rem; text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.contact-link:hover { background: #15212e; border-color: #a4b0bd; }
.contact-link svg { width: 16px; height: 16px; }
.site-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem 2rem; min-height: 96px; padding: 1rem 0;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8125rem;
}
.site-footer p { margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 2rem; }
.footer-nav a { font-size: 0.8125rem; }

/* Supporting pages keep business details readable and easy to locate. */
.page-main {
  flex: 1; width: 100%;
  padding: clamp(3rem, 8vw, 7rem) 0 clamp(5rem, 10vw, 9rem);
}
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 4rem;
}
.page-heading h1, .legal-content h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.75rem, 4.8vw, 4.5rem);
  font-weight: 400; line-height: 1.1; letter-spacing: -0.055em;
}
.page-heading p { margin: 0; max-width: 22rem; color: var(--muted); }
.rows { margin: 0; border-top: 1px solid var(--line); }
.rows > div {
  display: grid;
  grid-template-columns: minmax(7rem, 0.75fr) minmax(0, 1.5fr);
  gap: 1.25rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line);
}
.rows dt { color: var(--muted); font-size: 0.875rem; }
.rows dd { margin: 0; overflow-wrap: anywhere; }
.rows dd a { text-decoration-color: #536171; }
.legal-content { width: min(100%, 43rem); margin: 0 auto; }
.legal-content .date { margin: 0 0 3.5rem; color: var(--muted); font-size: 0.875rem; }
.legal-content h2 { margin: 2.5rem 0 0.75rem; font-weight: 500; font-size: 1.125rem; letter-spacing: -0.02em; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content p { margin: 0 0 1rem; }
.legal-content ul { padding-left: 1.25rem; }
.legal-content li + li { margin-top: 0.5rem; }
.legal-content a { color: var(--text); }
.error-main { display: grid; align-content: center; }
.error-main .contact-link { justify-self: start; }
@media (max-width: 760px) {
  .site-header { min-height: 88px; }
  .hero h1 { font-size: clamp(3.75rem, 17vw, 4.5rem); }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 0.25rem; padding: 1.25rem 0; }
  .home-shell .site-footer { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .home-shell .footer-nav { justify-self: center; justify-content: center; }
  .footer-nav { gap: 0.25rem 1.5rem; }
  .page-layout { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .rows > div { grid-template-columns: minmax(5.5rem, 0.7fr) minmax(0, 1.3fr); gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
@media print {
  :root { color-scheme: light; --bg: #fff; --text: #111; --muted: #333; --line: #aaa; }
  .site-header, .site-footer, .skip-link { display: none; }
  .page-main { padding: 0; }
  .page-layout { display: block; }
  .page-heading { margin-bottom: 2rem; }
  .legal-content { width: 100%; }
  a { color: #111; }
}
