:root {
  color-scheme: light;
  --ink: #0b0d0c;
  --paper: #f4f2eb;
  --acid: #d8ff58;
  --mist: #dce9e7;
  --muted: #5e625f;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.6rem 0.8rem;
  transform: translateY(-160%);
  background: var(--acid);
  border: 1px solid var(--ink);
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }
.shell { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
header { border-bottom: 1px solid var(--ink); }

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--acid);
}

.brand-mark svg { width: 24px; height: 24px; }
nav ul { display: flex; gap: clamp(1rem, 3vw, 2.25rem); margin: 0; padding: 0; list-style: none; }
nav a { text-decoration: none; font-size: 0.875rem; font-weight: 700; }
nav a:hover { text-decoration: underline; text-underline-offset: 0.3em; }

.hero {
  min-height: min(720px, calc(100vh - 82px));
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, 0.5fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  padding: clamp(5rem, 11vw, 9rem) 0 clamp(3.25rem, 7vw, 5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 0.65rem;
  border-radius: 99px;
  background: var(--acid);
  border: 1px solid var(--ink);
}

h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(4rem, 11vw, 9.5rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.075em;
}

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

.hero-note { align-self: end; padding: 1.4rem 0 0; border-top: 1px solid var(--ink); }
.hero-note p { margin: 0; max-width: 28rem; font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.45; }
.hero-note .location { display: block; margin-top: 2rem; color: var(--muted); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.hero-note .home-link { display: inline-block; margin-top: 2rem; font-weight: 800; text-underline-offset: 0.3em; }

section { scroll-margin-top: 1rem; }
.portfolio { padding: clamp(5rem, 9vw, 8rem) 0; }
.section-head { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; margin-bottom: clamp(3rem, 7vw, 5rem); }
.kicker { margin: 0; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
h2 { max-width: 800px; margin: 0; font-size: clamp(2.4rem, 5.8vw, 5.6rem); line-height: 0.95; letter-spacing: -0.055em; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.product { position: relative; min-height: 410px; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.4rem, 3vw, 2.2rem); border-right: 1px solid var(--ink); transition: background 180ms ease, color 180ms ease; }
.product:last-child { border-right: 0; }
.product:nth-child(2) { background: var(--mist); }
.product:hover { background: var(--acid); }
.product-number { width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 0.75rem; font-weight: 800; }
.product h3 a { text-decoration: none; }
.product h3 a::after { content: ""; position: absolute; inset: 0; }
.product h3 { margin: 0; font-size: clamp(2rem, 3.8vw, 3.9rem); line-height: 0.9; letter-spacing: -0.055em; }
.product p { margin: 1.2rem 0 0; max-width: 27rem; font-size: 1rem; }
.product-meta { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid currentColor; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

.about { display: grid; grid-template-columns: 1.2fr 0.8fr; min-height: 580px; border-bottom: 1px solid var(--ink); }
.about-copy { padding: clamp(4rem, 8vw, 7rem) clamp(2rem, 7vw, 7rem) clamp(4rem, 8vw, 7rem) max(1rem, calc((100vw - var(--max)) / 2)); }
.about-copy h2 { margin-top: 2rem; }
.about-copy p { max-width: 700px; margin: 2rem 0 0; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.45; }

.profile { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 6rem) max(1rem, calc((100vw - var(--max)) / 2)) clamp(3rem, 7vw, 6rem) clamp(2rem, 5vw, 5rem); background: var(--acid); border-left: 1px solid var(--ink); }
.profile h3 { margin: 0 0 2rem; font-size: 1.1rem; }
.profile dl { margin: 0; }
.profile-row { display: grid; grid-template-columns: 1fr 1.5fr; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--ink); }
.profile-row:last-child { border-bottom: 1px solid var(--ink); }
.profile dt { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.profile dd { margin: 0; font-weight: 650; }

footer { padding: 2rem 0; background: var(--ink); color: var(--paper); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.footer-inner p { margin: 0; font-size: 0.86rem; }
.footer-name { font-weight: 800; }

@media (max-width: 820px) {
  .nav { min-height: 72px; }
  nav ul { gap: 1rem; }
  nav a { font-size: 0.8rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 3.5rem; padding-top: 5rem; }
  .hero-note { max-width: 34rem; }
  .section-head { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product { min-height: 330px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .product:last-child { border-bottom: 0; }
  .about { grid-template-columns: 1fr; }
  .about-copy { padding-inline: 1rem; }
  .profile { padding-inline: 1rem; border-left: 0; border-top: 1px solid var(--ink); }
}

@media (max-width: 560px) {
  .shell { width: min(calc(100% - 1.25rem), var(--max)); }
  .brand span:last-child { max-width: 6rem; line-height: 1; }
  h1 { font-size: clamp(3.7rem, 20vw, 6.2rem); }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product { transition: none; }
}
