/* Ported from the "Design 2" Claude Design. The design is the source of truth
   for layout, colour and motion; inline style attributes became classes so the
   Content-Security-Policy can stay free of 'unsafe-inline'. */

:root {
  --bg: #050505;
  --panel: #0a0a0a;
  --ink: #f2efe9;
  --muted: #c9c6bf;
  --dim: #8a8a86;
  --line: #2c2c2a;
  --line-faint: #1c1c1a;
  --accent: #ff5200;

  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Archivo", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --pad: clamp(18px, 4vw, 30px);
  --nav-h: 70px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, p, ul { margin: 0; }
ul { list-style: none; padding: 0; }

.accent { color: var(--accent); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #0a0a0a;
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 12px;
}
.skip:focus { left: 0; color: #0a0a0a; }

.frame {
  max-width: 1180px;
  margin: 0 auto;
  background: var(--panel);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 100vh;
}

/* ---------- nav ---------- */

/* Sticky only where the nav stays one line. Wrapped over three rows on a
   phone it is ~230px tall and swallows a third of the viewport. */
@media (min-width: 900px) {
  .nav { position: sticky; top: 0; }
}

.nav {
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  padding: 16px var(--pad);
  background: var(--panel);
  border-bottom: 1px solid var(--line-faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--dim);
}

.nav-mark { color: var(--ink); font-weight: 600; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
}
.nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--accent); }
.nav-links .strong { font-weight: 600; }
.nav-links .accent { color: var(--accent); }

.nav-clock { white-space: nowrap; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(48px, 9vw, 74px) var(--pad) 44px;
  overflow: hidden;
}

.eyebrow {
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.hero-title { font-weight: 400; }

.hero-line {
  display: block;
  font-family: var(--display);
  font-size: clamp(76px, 18vw, 224px);
  line-height: 0.84;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}

/* Without text-stroke, `color: transparent` would render the word invisible
   rather than merely unstyled — so only go transparent where stroke lands. */
@supports not (-webkit-text-stroke: 1px #000) {
  .outline, .caps-ghost, .contact-big { color: var(--ink); }
  .caps-ghost { opacity: 0.12; }
}

.hero-badge {
  position: absolute;
  right: clamp(10px, 5vw, 60px);
  top: clamp(60px, 10vw, 100px);
  width: clamp(92px, 14vw, 150px);
  height: clamp(92px, 14vw, 150px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge-ring {
  position: absolute;
  inset: 0;
  border: 1.5px dashed var(--accent);
  border-radius: 50%;
  animation: spin 14s linear infinite;
}

.hero-badge-text {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-align: center;
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 40px;
  margin-top: 46px;
}

.hero-blurb {
  max-width: 460px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--muted);
}

.ul {
  color: var(--ink);
  border-bottom: 1.5px solid var(--accent);
}

.hero-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--dim);
  text-align: right;
}

/* ---------- tickers ---------- */

.tickers { position: relative; height: 120px; overflow: hidden; margin-top: 10px; }

.ticker { position: absolute; left: -40px; right: -40px; overflow: hidden; }

.ticker-a {
  top: 24px;
  transform: rotate(-2deg);
  background: var(--accent);
  color: #0a0a0a;
}
.ticker-a .ticker-run {
  animation-duration: 18s;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.04em;
  padding: 8px 0;
  text-transform: uppercase;
}
.ticker-a span { padding-right: 30px; }

.ticker-b {
  top: 64px;
  transform: rotate(1.4deg);
  background: var(--ink);
  color: #0a0a0a;
}
.ticker-b .ticker-run {
  animation-duration: 26s;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  padding: 9px 0;
}
.ticker-b span { padding-right: 24px; }

.ticker-run {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation-name: tick;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* ---------- section furniture ---------- */

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.sec-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--accent);
}

.sec-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--dim);
}


/* ---------- rows (work + garage) ---------- */

.work { padding: 70px var(--pad) 0; scroll-margin-top: var(--nav-h); }

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.25s ease;
}
.row-last { border-bottom: 0; }
.row-sm { padding: 28px 0; }

.row-link:hover { padding-left: 18px; color: var(--ink); }
.row-link:hover .row-title { color: var(--accent); }
.row-link:hover .row-title.outline { color: transparent; -webkit-text-stroke: 1.5px var(--accent); }

.row-idx {
  flex: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--dim);
}

.row-body { flex: 1 1 340px; }

.row-title {
  font-family: var(--display);
  font-size: clamp(32px, 5.5vw, 52px);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1;
  transition: color 0.2s ease;
}
.row-title-sm { font-size: clamp(28px, 4.5vw, 44px); }
.row-title.outline { -webkit-text-stroke: 1.5px var(--ink); }

.row-copy {
  margin-top: 12px;
  max-width: 620px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.row-sub {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.row-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--dim);
  text-align: right;
}
.row-meta.accent { color: var(--accent); }

/* ---------- founder deal ---------- */

.deal {
  margin-top: 70px;
  background: var(--accent);
  color: #0a0a0a;
  padding: 64px var(--pad) 68px;
  scroll-margin-top: var(--nav-h);
}
.deal a:hover { color: #0a0a0a; }

.deal-eyebrow {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 600;
}

.deal-title {
  font-family: var(--display);
  font-size: clamp(42px, 8.5vw, 96px);
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.deal-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 40px;
  margin-top: 28px;
}

.deal-copy { max-width: 560px; font-size: 16.5px; line-height: 1.6; font-weight: 500; }

/* The address is spelled out rather than hidden behind a "get in touch"
   button: a mailto does nothing at all when the visitor has no mail handler
   registered, and it fails silently. Readable text always works. */
.deal-mail {
  flex: none;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.8;
  font-weight: 600;
  text-align: right;
}
.deal-mail a {
  display: inline-block;
  background: #0a0a0a;
  color: var(--ink);
  padding: 4px 10px;
  transition: background 0.2s ease, color 0.2s ease;
}
.deal .deal-mail a:hover { background: var(--ink); color: #0a0a0a; }

/* ---------- split panels ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--nav-h);
}

.caps, .numbers { padding: 44px var(--pad); background: var(--panel); }
.caps { position: relative; overflow: hidden; scroll-margin-top: var(--nav-h); }

.caps-ghost {
  position: absolute;
  right: -10px;
  bottom: -24px;
  font-family: var(--display);
  font-size: 200px;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line);
}

.caps-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.caps-note {
  position: relative;
  margin-top: 26px;
  max-width: 420px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  line-height: 1.8;
  color: var(--dim);
}

/* Definition list: each figure is the term, what it counts is the definition.
   Reads correctly to a screen reader, which a pile of spans would not. */
.stats { margin-top: 22px; }

.stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-faint);
}
.stat-last { border-bottom: 0; }

.stat dt {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
}

.stat dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--dim);
  text-align: right;
}

/* ---------- garage ---------- */

.garage {
  border-top: 1px solid var(--line);
  padding: 70px var(--pad) 40px;
  scroll-margin-top: var(--nav-h);
}
.garage .sec-label { display: block; margin-bottom: 8px; }

/* ---------- resume ---------- */

.resume {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding: 22px var(--pad);
  border-top: 1px solid var(--line);
  background: var(--panel);
  transition: background 0.2s ease, color 0.2s ease;
}
.resume:hover { background: var(--ink); color: #0a0a0a; }

.resume-title {
  font-family: var(--display);
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.resume-note {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ---------- contact ---------- */

.contact {
  padding: 70px var(--pad) 26px;
  text-align: center;
  scroll-margin-top: var(--nav-h);
}

.contact-eyebrow {
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--dim);
}

.contact h2 { font-weight: 400; }

.contact-big {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(52px, 11vw, 120px);
  line-height: 0.95;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.contact-big:hover { color: var(--accent); -webkit-text-stroke: 2px var(--accent); }

.contact-mail { margin-top: 22px; }
.contact-mail a {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- footer ---------- */

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  padding: 0 var(--pad) 40px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--dim);
}

.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }

/* ---------- motion ---------- */

@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-run, .hero-badge-ring { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* Narrow screens: the design's right-aligned meta columns read better left. */
@media (max-width: 560px) {
  .hero-meta, .row-meta { text-align: left; }
  .tickers { height: 108px; }
  .ticker-a .ticker-run { font-size: 22px; }
  .caps-ghost { font-size: 140px; }
  .foot { justify-content: flex-start; }
  .foot-links { justify-content: flex-start; }
}
