:root {
  --paper: #f2efe8;
  --ink: #171713;
  --acid: #ff5b35;
  --muted: #77766e;
  --line: rgba(23, 23, 19, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
::selection { background: var(--acid); color: #fff; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 20;
  height: 84px;
  max-width: 1460px;
  margin: auto;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-flex;
  width: fit-content;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.08em;
}
.logo-dot { color: var(--acid); }
.site-header nav { display: flex; gap: 34px; color: #4d4d47; font-size: 14px; }
.site-header nav a, .text-link, footer a { transition: color .2s ease; }
.site-header nav a:hover, .text-link:hover, footer a:hover { color: var(--acid); }
.header-cta {
  justify-self: end;
  border-bottom: 1px solid currentColor;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 700;
}
.menu-button { display: none; }

.hero {
  max-width: 1460px;
  min-height: 690px;
  margin: auto;
  padding: 78px 5vw 90px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 7vw;
  align-items: center;
  overflow: hidden;
}
.eyebrow, .section-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; }
.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 5px rgba(255, 91, 53, .14);
}
.hero h1 {
  margin: 0;
  font-size: clamp(64px, 7.8vw, 124px);
  line-height: .84;
  letter-spacing: -.075em;
  font-weight: 820;
}
.hero h1 span { color: var(--acid); }
.hero-intro {
  max-width: 570px;
  margin: 38px 0 0;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.55;
  color: #56564f;
}
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 40px; }
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 220px;
  gap: 24px;
  background: var(--ink);
  color: #fff;
  padding: 17px 20px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s ease, background .2s ease;
}
.primary-button:hover { transform: translateY(-3px); background: var(--acid); }
.text-link { font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--line); padding-bottom: 5px; }

.hero-visual {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; background: var(--line); }
.hero-visual::before { width: 1px; top: -10%; bottom: -10%; left: 50%; }
.hero-visual::after { height: 1px; left: -10%; right: -10%; top: 50%; }
.orbit {
  position: absolute;
  border: 1px dashed rgba(23, 23, 19, .24);
  border-radius: 50%;
  inset: 12%;
  animation: spin 30s linear infinite;
}
.orbit-two { inset: 27%; animation-direction: reverse; animation-duration: 20s; }
.core {
  position: absolute;
  inset: 35%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 18px 50px rgba(23, 23, 19, .22);
}
.core-top { color: var(--acid); font-size: 10px; letter-spacing: .2em; font-weight: 900; }
.core strong { font-size: clamp(26px, 3vw, 44px); letter-spacing: -.06em; }
.core small { color: #aaa9a1; }
.node {
  position: absolute;
  z-index: 3;
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 8px 11px;
  background: var(--paper);
  border: 1px solid var(--line);
  font: 700 10px/1 monospace;
  box-shadow: 0 8px 25px rgba(23, 23, 19, .08);
}
.node i { display: block; width: 6px; height: 6px; background: #55b276; border-radius: 50%; }
.node-a { left: 1%; top: 31%; }
.node-b { right: 4%; top: 20%; }
.node-c { right: 3%; bottom: 22%; }
.visual-label {
  position: absolute;
  top: 5%;
  left: 18%;
  display: flex;
  flex-direction: column;
  font-size: 11px;
  color: var(--muted);
}
.visual-label strong { color: #368553; margin-top: 3px; }
.visual-note { position: absolute; bottom: 4%; left: 20%; margin: 0; font-size: 11px; letter-spacing: .04em; }
@keyframes spin { to { transform: rotate(360deg); } }

.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee div {
  min-width: max-content;
  padding: 22px 5vw;
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.marquee i { color: var(--acid); font-style: normal; }

.section-shell { padding: 120px max(5vw, calc((100vw - 1314px) / 2)); }
.section-kicker { margin: 0 0 58px; color: var(--muted); }
.about-content { display: grid; grid-template-columns: 1.2fr .8fr; gap: 9vw; align-items: start; }
.about-content h2, .section-heading h2, .skills-copy h2 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 78px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.about-text { font-size: 18px; line-height: 1.65; color: #5e5d56; }
.about-text p:first-child { margin-top: 4px; }
.about-text strong { color: var(--ink); }
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 90px;
  border: 1px solid var(--line);
}
.principles article { background: var(--paper); padding: 32px; }
.principles span { color: var(--acid); font: 700 12px monospace; }
.principles h3 { margin: 48px 0 12px; font-size: 20px; }
.principles p { margin: 0; color: var(--muted); line-height: 1.5; }

.projects { background: var(--ink); color: #f5f2eb; }
.section-kicker.light { color: #8b8b83; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 70px; }
.section-heading p { max-width: 390px; color: #9e9d95; line-height: 1.6; margin: 0 0 8px; }
.project-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  padding: 26px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease;
}
.project-card:hover { transform: translateY(-7px); }
.project-card.blue { background: #a9c9ff; }
.project-card.orange { background: #ff865f; }
.project-card.green { background: #b5d8a6; }
.project-top { display: flex; justify-content: space-between; font: 700 12px monospace; }
.project-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(23, 23, 19, .35);
  border-radius: 50%;
  font: 400 18px sans-serif;
}
.project-art {
  position: relative;
  height: 175px;
  margin: 28px 0 36px;
  border: 1px solid rgba(23, 23, 19, .18);
  background-image:
    linear-gradient(rgba(23, 23, 19, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 19, .12) 1px, transparent 1px);
  background-size: 24px 24px;
}
.project-art span, .project-art i, .project-art b {
  position: absolute;
  display: block;
  border: 2px solid var(--ink);
  background: inherit;
}
.project-art span { width: 38%; height: 58%; left: 13%; top: 19%; box-shadow: 8px 8px 0 rgba(23, 23, 19, .18); }
.project-art i { width: 24%; height: 28%; right: 13%; top: 18%; border-radius: 50%; }
.project-art b { width: 30%; height: 12%; right: 10%; bottom: 20%; }
.project-card h3 { margin: 0; font-size: 28px; line-height: 1.05; letter-spacing: -.035em; }
.project-card p { margin: 16px 0 26px; line-height: 1.55; font-size: 14px; }
.project-card ul { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: auto 0 0; list-style: none; }
.project-card li { padding: 7px 10px; border: 1px solid rgba(23, 23, 19, .35); border-radius: 999px; font-size: 11px; font-weight: 700; }

.skills-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9vw; }
.skills-copy p { max-width: 410px; color: var(--muted); line-height: 1.6; margin-top: 26px; }
.skill-list { border-top: 1px solid var(--line); }
.skill-list article {
  display: grid;
  grid-template-columns: 55px 1fr auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.skill-list article > span { font: 700 11px monospace; color: var(--acid); }
.skill-list h3 { margin: 0 0 7px; font-size: 20px; }
.skill-list p { margin: 0; color: var(--muted); font-size: 14px; }
.skill-list i { font-style: normal; font-size: 21px; font-weight: 300; }

.contact { position: relative; overflow: hidden; background: var(--acid); color: var(--ink); text-align: center; }
.contact .section-kicker { color: var(--ink); }
.contact h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(55px, 7.7vw, 112px);
  line-height: .9;
  letter-spacing: -.07em;
}
.contact h2 em { font-family: Georgia, serif; font-weight: 400; }
.contact-note { position: relative; z-index: 1; max-width: 530px; margin: 34px auto; line-height: 1.6; }
.contact-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 34px;
  align-items: center;
  background: var(--ink);
  color: #fff;
  padding: 18px 22px;
  font-weight: 700;
  transition: transform .2s ease;
}
.contact-button:hover { transform: translateY(-4px); }
.contact-mark { position: absolute; inset: -20% 0 auto; color: rgba(255, 255, 255, .14); font: 900 460px/1 Arial; }
.placeholder-note { position: relative; z-index: 1; margin: 18px auto 0; font-size: 11px; opacity: .65; }

footer {
  min-height: 130px;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 13px;
}
footer p { color: var(--muted); }
footer > a:last-child { justify-self: end; font-weight: 700; }

:focus-visible { outline: 3px solid var(--acid); outline-offset: 4px; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    padding: 12px;
    place-content: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--line);
    cursor: pointer;
  }
  .menu-button span { display: block; width: 17px; height: 1px; background: var(--ink); transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-header nav {
    position: fixed;
    inset: 84px 0 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 30px 5vw;
    background: var(--paper);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .site-header nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .site-header nav a { padding: 24px 0; border-bottom: 1px solid var(--line); font-size: 28px; font-weight: 750; }
  .header-cta { margin-left: 14px; }
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-visual { justify-self: center; width: min(82vw, 500px); }
  .about-content, .skills-grid { grid-template-columns: 1fr; }
  .about-text { max-width: 680px; }
  .project-list { grid-template-columns: 1fr; }
  .project-card { min-height: 500px; }
  .project-art { height: 230px; }
  .section-heading { align-items: start; flex-direction: column; }
}

@media (max-width: 600px) {
  .site-header { height: 68px; }
  .site-header nav { inset: 68px 0 0; }
  .header-cta { display: none; }
  .hero { min-height: auto; padding: 54px 5vw 70px; gap: 70px; }
  .hero h1 { font-size: clamp(56px, 18vw, 78px); }
  .hero-intro { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-visual { width: 94vw; margin-right: -3vw; }
  .section-shell { padding-top: 82px; padding-bottom: 82px; }
  .section-kicker { margin-bottom: 38px; }
  .about-content h2, .section-heading h2, .skills-copy h2 { font-size: 42px; }
  .about-text { font-size: 16px; }
  .principles { grid-template-columns: 1fr; margin-top: 55px; }
  .principles h3 { margin-top: 28px; }
  .project-card { min-height: 480px; }
  .project-art { height: 170px; }
  .skills-grid { gap: 45px; }
  .skill-list article { grid-template-columns: 38px 1fr auto; }
  .skill-list p { line-height: 1.5; }
  .contact-mark { font-size: 300px; }
  footer { grid-template-columns: 1fr auto; padding-top: 30px; padding-bottom: 30px; gap: 20px; }
  footer p { grid-column: 1 / -1; grid-row: 2; margin: 0; }
  footer > a:last-child { grid-column: 2; grid-row: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit { animation: none; }
  * { transition-duration: .01ms !important; }
}
