:root {
  --night: #121212;
  --night-2: #1d1d1d;
  --line: #2e2e2e;
  --amber: #ffb020;
  --amber-hover: #ffc75a;
  --red: #ff4d2e;
  --cream: #fff8ec;
  --sand: #e6dcc8;
  --ember: #6b4a12;
  --muted-dark: #d9d0c0;
  --muted-light: #4a3f33;
  --display: "Syne", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: var(--amber); }
a:hover { color: var(--amber-hover); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--amber); color: var(--night); padding: 10px 16px; z-index: 10; }

/* Logo lockup */
.logo { display: flex; align-items: flex-start; gap: 2px; color: var(--cream); text-decoration: none; font-family: var(--display); }
.logo:hover { color: var(--cream); }
.logo-words { display: flex; flex-direction: column; padding-top: 12px; }
.logo-top { font-size: 17px; font-weight: 800; line-height: 0.9; white-space: nowrap; }
.logo-bottom { display: flex; justify-content: space-between; font-size: 14px; font-weight: 800; line-height: 0.9; color: var(--amber); }

/* Header */
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 16px; font-weight: 500; }
.nav a { color: var(--cream); text-decoration: none; }
.nav a:hover { color: var(--amber); }

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; padding: 16px 28px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; }
.btn-primary { background: var(--amber); color: var(--night); }
.btn-primary:hover { background: var(--amber-hover); color: var(--night); }
.btn-ghost { border-color: var(--cream); color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--night); }
.nav .btn { font-size: 16px; padding: 12px 20px; color: var(--night); }

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 96px; padding-bottom: 120px; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0.14em; color: var(--red); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; }
h1 { font-size: clamp(44px, 7vw, 88px); line-height: 0.98; letter-spacing: -0.02em; }
h2 { font-size: clamp(34px, 4.5vw, 52px); line-height: 1.05; }
h3 { font-size: 22px; }
.lead { margin: 0; font-size: 20px; color: var(--muted-dark); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-mark { flex: 1 1 320px; display: flex; justify-content: center; }
.hero-mark svg { width: 100%; max-width: 420px; height: auto; }

/* Sections */
section { scroll-margin-top: 24px; }
.light { background: var(--cream); color: var(--night); }
.section-pad { padding-top: 104px; padding-bottom: 104px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; margin-bottom: 48px; }
.section-head p { margin: 0; color: var(--muted-dark); }
.light .section-head p { color: var(--muted-light); }

.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 250px; background: #fff; border: 1px solid var(--sand); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card p { margin: 0; font-size: 16px; color: var(--muted-light); }
.icon-tile { width: 44px; height: 44px; border-radius: 12px; background: var(--night); display: flex; align-items: center; justify-content: center; }

.work { display: flex; flex-wrap: wrap; gap: 20px; }
.project { flex: 1 1 340px; text-decoration: none; color: var(--cream); background: var(--night-2); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 12px; transition: border-color .15s, transform .15s; }
.project:hover { color: var(--cream); border-color: var(--amber); transform: translateY(-2px); }
.project.soon { border-style: dashed; border-color: #4a4a4a; }
.project-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.project h3 { font-size: 26px; }
.project p { margin: 0; font-size: 16px; color: var(--muted-dark); }
.project .go { font-size: 15px; font-weight: 700; color: var(--amber); }
.badge { font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--amber); color: var(--night); white-space: nowrap; }
.badge.soon { background: transparent; color: var(--cream); border: 1.5px solid var(--red); padding: 4px 9px; }

.about .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.about-mark { flex: 1 1 280px; display: flex; justify-content: center; }
.about-tile { width: 100%; max-width: 340px; aspect-ratio: 1 / 1; border-radius: 24px; background: var(--night); display: flex; align-items: center; justify-content: center; }
.about-tile svg { width: 66%; height: auto; }
.founder { width: 100%; max-width: 300px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; }
.about-copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about-copy p { margin: 0; color: #2e2820; line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chip { font-size: 14px; font-weight: 700; background: var(--night); color: var(--cream); padding: 8px 14px; border-radius: 999px; }

.contact .wrap { display: flex; flex-wrap: wrap; gap: 48px; }
.contact-copy { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; }
.contact-copy p { margin: 0; color: var(--muted-dark); }
.contact-copy a { font-weight: 700; }
form { flex: 1 1 440px; background: var(--night-2); border: 1px solid var(--line); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
label { font-size: 15px; font-weight: 700; }
input, textarea { font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid #4a4a4a; background: var(--night); color: var(--cream); width: 100%; }
input:focus, textarea:focus { border-color: var(--amber); outline: none; box-shadow: 0 0 0 3px rgba(255, 176, 32, .35); }
textarea { resize: vertical; min-height: 140px; }
form .btn { align-self: flex-start; border: none; }
.hp { display: none; }

.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 32px; padding-bottom: 32px; font-size: 14px; color: #a89f90; }
.site-footer a { color: #a89f90; }
.site-footer a:hover { color: var(--cream); }

/* Plain text pages */
.prose { max-width: 760px; padding-top: 64px; padding-bottom: 104px; }
.prose h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 8px; }
.prose h2 { font-size: 26px; margin-top: 40px; margin-bottom: 8px; }
.prose p, .prose li { color: var(--muted-dark); }
.prose .updated { font-size: 15px; color: #a89f90; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 72px; gap: 40px; }
  .section-pad { padding-top: 72px; padding-bottom: 72px; }
  .card, .project, form { padding: 24px; }
  .nav { gap: 8px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .project { transition: none; }
}
