:root {
  --ink: #10212b;
  --muted: #53656f;
  --paper: #f5f2e9;
  --paper-strong: #fffdf7;
  --line: #d9d5ca;
  --teal: #0c766f;
  --teal-dark: #07534f;
  --coral: #df6b4e;
  --blue: #315b83;
  --shadow: 0 20px 60px rgba(16, 33, 43, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 83% 8%, rgba(12, 118, 111, .11), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10; background: #fff; padding: .75rem 1rem; }
.skip-link:focus { left: 8px; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(16, 33, 43, .16);
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 750; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: var(--ink); font-size: 13px; letter-spacing: .04em; }
nav { display: flex; align-items: center; gap: 26px; }
nav a { text-decoration: none; font-size: 14px; font-weight: 650; color: #31464f; }
nav a:hover { color: var(--teal); }
.nav-cta { padding: 9px 15px; border: 1px solid var(--ink); border-radius: 999px; }

main, footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.hero { min-height: 650px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr); align-items: center; gap: 80px; padding: 72px 0; }
.eyebrow { margin: 0 0 16px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.045em; }
.hero-copy, .hero-note, .project-card, .project-content { min-width: 0; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(58px, 8vw, 104px); font-weight: 500; }
h1 span { color: var(--teal); }
.hero-lead { max-width: 760px; margin: 30px 0 0; color: #40555f; font-size: clamp(18px, 2.2vw, 24px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 750; }
.button-primary { color: #fff; background: var(--teal); }
.button-primary:hover { background: var(--teal-dark); }
.button-secondary { border: 1px solid rgba(16, 33, 43, .25); background: rgba(255,255,255,.38); }
.hero-note { align-self: end; margin-bottom: 56px; padding: 28px; border: 1px solid rgba(16, 33, 43, .16); border-radius: 24px; background: rgba(255,253,247,.74); box-shadow: var(--shadow); }
.hero-note p { margin: 0 0 9px; color: var(--muted); }
.hero-note strong { display: block; margin-bottom: 18px; font-family: Georgia, serif; font-size: 24px; line-height: 1.25; }
.status-dot { display: block; width: 10px; height: 10px; margin-bottom: 20px; border-radius: 50%; background: #38a169; box-shadow: 0 0 0 6px rgba(56,161,105,.12); }

.featured, .areas, .about, .more-work { padding: 110px 0; border-top: 1px solid rgba(16, 33, 43, .16); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 42px; }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 64px); font-weight: 500; }
.text-link { text-underline-offset: 5px; font-weight: 700; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-card { overflow: hidden; border: 1px solid rgba(16, 33, 43, .14); border-radius: 28px; background: var(--paper-strong); box-shadow: 0 8px 30px rgba(16,33,43,.05); }
.project-card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; }
.project-visual { display: block; min-height: 300px; overflow: hidden; background: #dbe9e5; }
.project-visual img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; transition: transform .35s ease; }
.project-card:hover .project-visual img { transform: scale(1.018); }
.project-content { padding: 30px; }
.project-card-wide .project-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 58px); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag { padding: 5px 10px; border-radius: 999px; color: #465861; background: #edf0ed; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.tag-public { color: #07534f; background: #dcefeb; }
.tag-local { color: #5f3b18; background: #f5e5cc; }
.tag-essay { color: #603c4a; background: #f0dfe5; }
.project-content h3 { margin: 0; font-family: Georgia, serif; font-size: 35px; font-weight: 500; }
.project-content p { margin: 17px 0 25px; color: var(--muted); }
.card-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: auto; }
.card-links a { color: var(--teal-dark); font-size: 14px; font-weight: 800; text-underline-offset: 4px; }

.area-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.area-card { min-height: 245px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s ease, transform .2s ease; }
.area-card:hover { background: var(--paper-strong); transform: translateY(-3px); }
.area-card span { color: var(--coral); font-family: ui-monospace, monospace; font-size: 12px; }
.area-card h3 { margin: 54px 0 12px; font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.area-card p { margin: 0; color: var(--muted); font-size: 14px; }

.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.about-copy { font-size: 19px; color: #3f545e; }
.about-copy p { margin-top: 0; }
.about-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.about-links a { color: var(--teal-dark); font-weight: 800; text-underline-offset: 5px; }
.more-work h2 { margin-bottom: 36px; }
.more-links { border-top: 1px solid var(--line); }
.more-links a { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 22px 8px; border-bottom: 1px solid var(--line); text-decoration: none; }
.more-links a:hover { color: var(--teal); }
.more-links span { color: var(--muted); }

footer { min-height: 130px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid rgba(16, 33, 43, .16); color: var(--muted); font-size: 13px; }
footer div { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { text-underline-offset: 4px; }

.content-shell {
  width: min(860px, calc(100% - 40px));
  min-height: calc(100vh - 214px);
  padding: clamp(56px, 8vw, 92px) 0 100px;
}
.content-shell h1 {
  margin: 0 0 34px;
  font-size: clamp(44px, 7vw, 72px);
}
.content-shell h2 {
  margin: 54px 0 18px;
  font-size: clamp(28px, 4vw, 40px);
}
.content-shell h3 {
  margin: 38px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}
.content-shell p,
.content-shell li {
  color: #3f545e;
  font-size: 17px;
}
.content-shell p { margin: 0 0 20px; }
.content-shell ul,
.content-shell ol { padding-left: 1.4rem; }
.content-shell li { margin-bottom: 10px; }
.content-shell a {
  color: var(--teal-dark);
  font-weight: 650;
  text-underline-offset: 4px;
}
.content-shell code {
  padding: .15em .35em;
  border-radius: 6px;
  background: rgba(16, 33, 43, .08);
}
.content-shell blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 22px;
  border-left: 4px solid var(--teal);
}

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 30px; padding: 80px 0; }
  .hero-note { align-self: auto; margin: 0; max-width: 520px; }
  .project-card-wide { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .site-header, main, footer { width: min(100% - 28px, 1180px); }
  .content-shell { width: min(100% - 28px, 860px); }
  .site-header { min-height: 72px; }
  .brand span:last-child { display: none; }
  h1 { font-size: clamp(46px, 13vw, 56px); }
  .hero-note { width: 100%; overflow-wrap: anywhere; }
  .hero { padding: 60px 0 76px; }
  .featured, .areas, .about, .more-work { padding: 78px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .project-grid, .area-grid { grid-template-columns: 1fr; }
  .project-card-wide { grid-column: auto; }
  .project-visual, .project-visual img { min-height: 240px; }
  .more-links a { grid-template-columns: 1fr; gap: 4px; }
  footer { align-items: start; flex-direction: column; justify-content: center; padding: 30px 0; }
}

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