:root {
  --ink: #18201d;
  --muted: #65706b;
  --paper: #f4f4ed;
  --paper-dark: #e5e8df;
  --lime: #d6f35b;
  --orange: #ff8d5c;
  --line: rgba(24, 32, 29, 0.16);
  --mono: "DM Mono", monospace;
  --sans: "Space Grotesk", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.page-shell { overflow: hidden; }

.site-header,
.hero,
.work-section,
.about-section,
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 5vw;
  padding-right: 5vw;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
}

.wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.wordmark span { color: var(--orange); }

nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 3vw, 42px);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
}

nav a, .text-link, .social-links a { transition: color 180ms ease; }
nav a:hover, .text-link:hover, .social-links a:hover { color: var(--orange); }
.nav-link { border-bottom: 1px solid var(--ink); padding-bottom: 4px; }

.hero {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
  min-height: 620px;
  padding-bottom: 90px;
  padding-top: 90px;
}

.eyebrow {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  margin: 0 0 26px;
  text-transform: uppercase;
}

.status-dot {
  background: #75b751;
  border-radius: 50%;
  display: inline-block;
  height: 8px;
  margin-right: 8px;
  width: 8px;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  font-size: clamp(3.4rem, 8vw, 7.7rem);
  letter-spacing: -0.09em;
  line-height: 0.9;
  margin-bottom: 34px;
}

h1 em, h2 em { color: var(--orange); font-style: normal; }

.hero-intro {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.55;
  max-width: 420px;
}

.hero-actions { align-items: center; display: flex; gap: 28px; margin-top: 40px; }

.button {
  border-radius: 99px;
  display: inline-flex;
  font-family: var(--mono);
  font-size: 0.72rem;
  gap: 22px;
  padding: 16px 20px;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: var(--orange); }
.text-link { border-bottom: 1px solid var(--ink); font-family: var(--mono); font-size: 0.72rem; padding-bottom: 5px; text-transform: uppercase; }

.hero-mark { height: 410px; justify-self: center; position: relative; width: 410px; }
.mark-ring, .mark-core { border-radius: 50%; display: block; position: absolute; }
.mark-ring { border: 1px solid var(--ink); height: 100%; left: 0; top: 0; width: 100%; }
.mark-ring-one { transform: rotate(25deg) scaleY(0.58); }
.mark-ring-two { border-color: var(--orange); transform: rotate(-25deg) scaleY(0.58); }
.mark-core { background: var(--lime); height: 100px; left: calc(50% - 50px); top: calc(50% - 50px); width: 100px; }
.mark-label { bottom: 30px; font-family: var(--mono); font-size: 0.66rem; left: 50%; line-height: 1.4; position: absolute; text-align: center; text-transform: uppercase; transform: translateX(-50%); }

.marquee { background: var(--lime); border-bottom: 1px solid var(--ink); border-top: 1px solid var(--ink); overflow: hidden; padding: 18px 0; white-space: nowrap; }
.marquee-track { animation: slide 30s linear infinite; display: inline-flex; gap: 28px; min-width: max-content; }
.marquee span { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; }
.marquee b { color: var(--orange); font-size: 1.2rem; font-weight: 400; }
@keyframes slide { to { transform: translateX(-50%); } }

.work-section { padding-bottom: 150px; padding-top: 145px; }
.section-heading { align-items: end; display: flex; justify-content: space-between; }
.section-heading h2 { font-size: clamp(3rem, 6.3vw, 6rem); margin-bottom: 70px; }
.section-heading .eyebrow { margin-bottom: 70px; }
.project-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.project-card { display: block; padding: 25px; transition: transform 220ms ease; }
.project-card:hover { transform: translateY(-8px); }
.project-card-dark { background: var(--ink); color: var(--paper); }
.project-card-light { background: var(--paper-dark); }
.project-topline { display: flex; font-family: var(--mono); font-size: 0.63rem; justify-content: space-between; opacity: 0.65; text-transform: uppercase; }
.project-visual { height: 350px; margin: 38px 0 28px; overflow: hidden; position: relative; }
.display-visual { background: #2f3934; }
.display-window { border: 1px solid rgba(244,244,237,.55); display: block; position: absolute; }
.display-window-back { height: 185px; left: 24%; top: 16%; transform: rotate(-9deg); width: 52%; }
.display-window-front { background: var(--lime); height: 185px; left: 30%; top: 27%; transform: rotate(9deg); width: 52%; }
.display-cursor { color: var(--ink); font-size: 3rem; left: 48%; position: absolute; top: 43%; transform: rotate(-25deg); }
.mirth-visual { background: var(--orange); }
.mirth-sun { background: var(--lime); border-radius: 50%; height: 150px; left: 50%; position: absolute; top: 29%; transform: translateX(-50%); width: 150px; }
.mirth-line { background: var(--ink); display: block; height: 1px; left: 0; position: absolute; transform-origin: center; width: 100%; }
.mirth-line-one { top: 50%; transform: rotate(18deg); }
.mirth-line-two { top: 50%; transform: rotate(-32deg); }
.mirth-line-three { top: 50%; transform: rotate(76deg); }
.project-info h3 { font-size: clamp(1.45rem, 2.5vw, 2rem); letter-spacing: -0.06em; margin-bottom: 12px; }
.project-info h3 span { color: var(--orange); font-size: 0.8em; }
.project-info p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; margin-bottom: 0; max-width: 380px; }
.project-card-dark .project-info p { color: #aab5ae; }

.about-section { border-top: 1px solid var(--line); padding-bottom: 150px; padding-top: 35px; }
.about-content { display: grid; gap: 10%; grid-template-columns: 1fr 0.8fr; padding-top: 80px; }
.about-content h2 { font-size: clamp(3rem, 6.5vw, 6.5rem); }
.about-copy { padding-top: 22px; }
.about-copy p { color: var(--muted); font-size: 1.05rem; line-height: 1.65; max-width: 420px; }
.social-links { display: flex; gap: 26px; margin-top: 40px; }
.social-links a { border-bottom: 1px solid var(--ink); font-family: var(--mono); font-size: 0.7rem; padding-bottom: 5px; text-transform: uppercase; }

.site-footer { border-top: 1px solid var(--line); display: flex; font-family: var(--mono); font-size: 0.63rem; justify-content: space-between; padding-bottom: 30px; padding-top: 22px; text-transform: uppercase; }
.footer-star { color: var(--orange); font-size: 1rem; margin-left: 4px; }

@media (max-width: 700px) {
  .site-header { padding-top: 22px; }
  nav a:not(.nav-link) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-bottom: 75px; padding-top: 90px; }
  .hero-mark { height: 260px; margin-top: 20px; width: 260px; }
  .mark-core { height: 68px; left: calc(50% - 34px); top: calc(50% - 34px); width: 68px; }
  .mark-label { bottom: 10px; }
  .section-heading { display: block; }
  .section-heading .eyebrow, .section-heading h2 { margin-bottom: 38px; }
  .work-section { padding-bottom: 90px; padding-top: 90px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-visual { height: 280px; }
  .about-section { padding-bottom: 90px; }
  .about-content { display: block; padding-top: 35px; }
  .about-copy { padding-top: 0; }
  .site-footer { gap: 20px; line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .button, .project-card { transition: none; }
}
