:root {
  --paper: #f0efe9;
  --ink: #161b18;
  --muted: #667069;
  --line: #cfd3cc;
  --accent: #d8ff54;
  --panel: #e7e8e1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.shell { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}
.mark { display: flex; align-items: center; gap: 12px; font-weight: 680; letter-spacing: -.02em; }
.mark::before { content: ""; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); border: 1px solid var(--ink); }
.nav-links { display: flex; gap: 28px; color: var(--muted); }
.nav-links a:hover, .text-link:hover { color: var(--ink); }

.hero { padding: 100px 0 86px; }
.eyebrow { margin: 0 0 22px; color: var(--muted); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 1050px;
  margin-bottom: 40px;
  font: 500 clamp(54px, 9.6vw, 126px)/.9 Georgia, "Times New Roman", serif;
  letter-spacing: -.065em;
}
.highlight { display: inline-block; position: relative; z-index: 0; }
.highlight::after { content: ""; position: absolute; z-index: -1; left: -.02em; right: -.03em; bottom: .05em; height: .18em; background: var(--accent); transform: rotate(-1deg); }
.intro { display: grid; grid-template-columns: 1fr minmax(280px, 510px); gap: 40px; align-items: end; }
.intro p { margin: 0; color: var(--muted); font-size: clamp(18px, 2.1vw, 25px); }
.availability { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.availability::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #55a96d; box-shadow: 0 0 0 4px #d7e6d8; }

.section { padding: 78px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 30px; margin-bottom: 38px; }
.section-head h2 { font: 500 clamp(34px, 5vw, 58px)/1 Georgia, serif; letter-spacing: -.04em; }
.section-head p { color: var(--muted); max-width: 420px; }

.projects { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.project { position: relative; min-height: 390px; padding: 28px; background: var(--panel); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.project:nth-child(1) { grid-column: span 7; background: #202824; color: #f5f4ed; }
.project:nth-child(2) { grid-column: span 5; }
.project:nth-child(3) { grid-column: span 5; }
.project:nth-child(4) { grid-column: span 7; background: #dce4ff; }
.project-meta { display: flex; justify-content: space-between; gap: 15px; color: inherit; opacity: .68; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.project h3 { max-width: 560px; margin: 0; font: 500 clamp(31px, 4vw, 58px)/.97 Georgia, serif; letter-spacing: -.04em; }
.orb { position: absolute; width: 210px; height: 210px; right: -28px; top: 52px; border-radius: 50%; border: 38px solid var(--accent); opacity: .85; }
.grid-art { position: absolute; inset: 64px 26px auto auto; width: 180px; height: 180px; background: repeating-linear-gradient(90deg, transparent 0 21px, var(--ink) 22px 23px), repeating-linear-gradient(0deg, transparent 0 21px, var(--ink) 22px 23px); opacity: .13; transform: rotate(9deg); }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { padding: 26px 0 8px; border-top: 1px solid var(--ink); }
.service b { display: block; margin-bottom: 24px; font: 500 26px Georgia, serif; }
.service p { color: var(--muted); }

.footer { padding: 74px 0 38px; background: var(--ink); color: var(--paper); }
.footer h2 { max-width: 900px; margin-bottom: 60px; font: 500 clamp(45px, 8vw, 98px)/.92 Georgia, serif; letter-spacing: -.055em; }
.footer-row { display: flex; justify-content: space-between; gap: 30px; padding-top: 22px; border-top: 1px solid #465049; color: #b8c0ba; }

.page { min-height: calc(100vh - 78px); padding: 100px 0; }
.page h1 { max-width: 900px; }
.prose { max-width: 720px; color: var(--muted); font-size: 20px; }
.notes { margin-top: 70px; }
.note { display: grid; grid-template-columns: 150px 1fr; gap: 30px; padding: 24px 0; border-top: 1px solid var(--line); }
.note time { color: var(--muted); font-size: 13px; }
.note h2 { font: 500 30px Georgia, serif; }

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1180px); }
  .nav { min-height: 68px; }
  .nav-links { gap: 16px; font-size: 14px; }
  .hero { padding: 70px 0 64px; }
  .intro { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .section-head { display: block; }
  .projects { display: block; }
  .project { min-height: 330px; margin-bottom: 14px; }
  .services { grid-template-columns: 1fr; }
  .footer-row, .note { display: block; }
  .note time { display: block; margin-bottom: 8px; }
}
