/* Two A Tech: warm graphite and platinum. Wrister blue only inside #wrister. */

@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-latin-opsz-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-latin-opsz-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0f0e0d;
  --card: #181614;
  --border: #2c2926;
  --hairline: rgba(216, 207, 194, 0.11);
  --text: #f4f1ec;
  --muted: #b5ada3;
  --faint: #7d766d;
  --accent: #d8cfc2;
  --wrister: #0799ff;
  --button: #f5f1ea;
  --serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  counter-reset: section;
}

/* Fine grain over everything, like a printed catalogue */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--accent); color: var(--bg); }

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(15, 14, 13, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand img { height: 30px; width: auto; display: block; }
nav { display: flex; align-items: center; gap: 30px; font-size: 14px; letter-spacing: 0.02em; }
nav a { color: var(--muted); transition: color 0.2s; }
nav a:hover { color: var(--text); }
nav .pill { border: 1px solid var(--border); border-radius: 999px; padding: 6px 16px; color: var(--text); transition: border-color 0.2s, background-color 0.2s; }
nav .pill:hover { border-color: var(--accent); background: rgba(216, 207, 194, 0.06); }

/* Dial: a minute track with a seconds dot sweeping once a minute */
.dial { position: absolute; left: 50%; top: 50%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; color: var(--accent); }
.dial svg { display: block; width: 100%; height: 100%; overflow: visible; }
.dial .ring { fill: none; stroke: currentColor; stroke-opacity: 0.1; stroke-width: 1; }
.dial .minutes { fill: none; stroke: currentColor; stroke-opacity: 0.18; }
.dial .hours { fill: none; stroke: currentColor; stroke-opacity: 0.42; }
.dial .sweep { transform-box: view-box; transform-origin: 50% 50%; animation: sweep 60s linear infinite; }
.dial .sweep circle { fill: currentColor; filter: drop-shadow(0 0 4px currentColor); }
@keyframes sweep { to { transform: rotate(360deg); } }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 120px 0 136px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(ellipse 48% 46% at 50% 44%, rgba(230, 215, 195, 0.12), transparent 72%);
}
.hero .dial { top: 47%; width: min(900px, 165vw); z-index: -1; }
.hero-logo { display: block; width: min(300px, 62vw); height: auto; margin: 0 auto; }
.hero h1 {
  margin: 56px auto 0; max-width: 15ch;
  font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 6.6vw, 88px);
  line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p { margin: 30px auto 0; max-width: 36ch; font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); text-wrap: balance; }

.buttons { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--button); color: #0f0e0d; font-weight: 600; font-size: 16px; letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, border-color 0.2s;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(245, 241, 234, 0.45); }
.button.ghost { background: transparent; color: var(--text); border: 1px solid rgba(244, 241, 236, 0.28); }
.button.ghost:hover { border-color: var(--text); background: rgba(244, 241, 236, 0.04); box-shadow: none; }

/* Sections */
.section { position: relative; padding: 136px 0; border-top: 1px solid var(--hairline); }
.eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before {
  counter-increment: section; content: counter(section, decimal-leading-zero);
  padding-right: 14px; border-right: 1px solid var(--border);
  color: var(--faint); letter-spacing: 0.08em; font-variant-numeric: tabular-nums;
}
h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.7vw, 50px);
  line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance;
}
.body p { color: var(--muted); max-width: 60ch; text-wrap: pretty; }
.body p + p { margin-top: 18px; }
.body .lead { font-size: 22px; line-height: 1.5; color: var(--text); }
.body .statement {
  margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border);
  font-family: var(--serif); font-style: italic; font-size: clamp(23px, 2.1vw, 29px); line-height: 1.32;
  color: var(--text);
}
.columns { display: grid; gap: 36px; }

/* Wrister keeps its own blue */
#wrister { --accent: var(--wrister); }
#wrister .eyebrow::before { color: var(--faint); }
#wrister .lead { margin-top: 28px; max-width: 34ch; font-size: 22px; line-height: 1.5; text-wrap: pretty; }
#wrister .tagline { margin-top: 28px; font-size: 22px; font-weight: 600; line-height: 1.35; color: var(--wrister); }
#wrister .soon {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px;
  padding: 7px 15px 7px 13px; border: 1px solid rgba(7, 153, 255, 0.55); border-radius: 999px;
  color: var(--wrister); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
}
.soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--wrister); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(7, 153, 255, 0.7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(7, 153, 255, 0); } }
#wrister .button { display: flex; width: fit-content; margin-top: 36px; background: var(--wrister); color: #04111f; }
#wrister .button:hover { box-shadow: 0 14px 36px -12px rgba(7, 153, 255, 0.65); }
#wrister .more { margin-top: 16px; max-width: 46ch; color: var(--muted); text-wrap: pretty; }
.phone {
  justify-self: center; width: 100%; max-width: 320px; overflow: hidden;
  border: 10px solid #24211e; border-radius: 46px; background: #000;
  box-shadow: 0 0 0 1px var(--border), 0 40px 90px -30px rgba(7, 153, 255, 0.45);
}
.phone img { display: block; width: 100%; height: auto; }
.wrister-mark {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; place-items: center; width: 100%; aspect-ratio: 1;
  border: 1px solid var(--border); border-radius: 28px;
  background: radial-gradient(circle at 50% 50%, rgba(7, 153, 255, 0.2), rgba(7, 153, 255, 0.04) 45%, transparent 70%), #0a0c0f;
}
.wrister-mark .dial { width: 88%; color: var(--wrister); z-index: -1; }
.wrister-mark img { display: block; width: 66%; height: auto; }

/* What's next */
.next { text-align: center; padding: 168px 0; overflow: hidden; isolation: isolate; }
.next::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(230, 215, 195, 0.08), transparent 70%);
}
.next .eyebrow { justify-content: center; }
.next h2 { margin: 0 auto; max-width: 13ch; font-size: clamp(42px, 6.2vw, 84px); line-height: 1.02; }
.next p:not(.eyebrow) { margin: 32px auto 0; max-width: 44ch; font-size: clamp(19px, 1.7vw, 22px); color: var(--muted); text-wrap: balance; }

/* Team */
.team { margin-top: 60px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.member { display: flex; flex-direction: column; overflow: hidden; background: var(--card); border: 1px solid var(--border); border-radius: 22px; }
.member img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; background: #2b2927; }
.member .info { padding: 26px 28px 30px; }
.member h3 { font-size: 19px; font-weight: 600; line-height: 1.3; text-wrap: balance; }
.member .role { margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.member .bio { margin-top: 16px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* Contact */
.contact { text-align: center; padding: 160px 0; }
.contact .eyebrow { justify-content: center; }
.contact h2 { font-size: clamp(54px, 8vw, 112px); line-height: 1; }
address { margin-top: 36px; font-style: normal; color: var(--muted); line-height: 1.8; }
address span { display: block; text-wrap: balance; }
address strong { color: var(--text); font-weight: 600; }
address a { color: var(--text); border-bottom: 1px solid var(--border); transition: border-color 0.2s; }
address a:hover { border-color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding: 56px 0 64px; font-size: 13.5px; line-height: 1.75; color: var(--faint); }
.site-footer .wrap { display: grid; gap: 20px 48px; align-items: start; }
.site-footer img { width: 36px; height: auto; opacity: 0.8; }
.site-footer p { max-width: 76ch; text-wrap: balance; }
.site-footer a { color: var(--muted); transition: color 0.2s; }
.site-footer a:hover { color: var(--text); }

/* Motion: an entrance for the hero, and sections that rise into view where the browser supports it */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .hero .wrap > * { animation: rise 1s var(--ease) both; }
  .hero .wrap > :nth-child(2) { animation-delay: 0.12s; }
  .hero .wrap > :nth-child(3) { animation-delay: 0.24s; }
  .hero .wrap > :nth-child(4) { animation-delay: 0.36s; }
  .hero .dial { animation: fade 2s ease 0.3s both; }
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dial .sweep, .soon::before { animation: none; }
}

@media (min-width: 960px) {
  .columns { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 88px; align-items: start; }
  .columns .head { position: sticky; top: 124px; }
  .columns .body { padding-top: 46px; }
  .member h3 { min-height: 2.6em; }
  #wrister .columns { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .site-footer .wrap { grid-template-columns: auto minmax(0, 1fr) auto; }
  .site-footer .social { text-align: right; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  nav .hide-sm { display: none; }
  .hero { padding: 80px 0 96px; }
  .hero h1 { margin-top: 44px; }
  .section { padding: 96px 0; }
  .body .lead { font-size: 20px; }
  .next, .contact { padding: 112px 0; }
  .member img { aspect-ratio: 4 / 3; object-position: 50% 22%; }
  .team { margin-top: 44px; }
}
