:root {
  color-scheme: light;
  --paper: #f3efe5;
  --paper-bright: #fffdf7;
  --ink: #1b1c19;
  --muted: #62635b;
  --line: #cbc5b7;
  --moss: #294437;
  --moss-soft: #dbe4db;
  --gold: #d7a733;
  --rust: #a9482e;
  --shadow: 0 24px 70px rgba(27, 28, 25, .10);
  --radius: 24px;
  --content: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 5%, rgba(215, 167, 51, .16), transparent 26rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: inherit; }
a:hover { text-decoration-thickness: 2px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .7rem 1rem;
  background: var(--ink);
  color: white;
  border-radius: 999px;
}

.skip-link:focus { top: 1rem; }

.shell {
  width: min(calc(100% - 36px), var(--content));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 850;
  letter-spacing: -.02em;
}

.brand-mark { width: 48px; height: 30px; object-fit: contain; }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: .93rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, .65);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.hero {
  min-height: 68vh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: center;
  gap: clamp(36px, 8vw, 110px);
  padding: 70px 0 100px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--rust);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1, h2, h3 { margin-top: 0; line-height: 1.05; letter-spacing: -.045em; }
h1 { max-width: 850px; margin-bottom: 24px; font-size: clamp(3.4rem, 9vw, 7.6rem); font-weight: 900; }
h2 { margin-bottom: 18px; font-size: clamp(2.3rem, 5vw, 4.6rem); font-weight: 880; }
h3 { margin-bottom: 9px; font-size: 1.35rem; }

.lede { max-width: 670px; margin: 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.35rem); }

.hero-art {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 46% 46% 30% 30% / 38% 38% 20% 20%;
  background: var(--paper-bright);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.hero-art::before { width: 360px; height: 360px; top: -155px; left: -90px; background: var(--gold); }
.hero-art::after { width: 210px; height: 210px; right: -55px; bottom: -60px; border: 44px solid rgba(41,68,55,.14); }

.hero-vulture {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 1;
  width: min(86%, 390px);
  height: auto;
  transform: translate(-50%, -48%) rotate(-3deg);
  filter: drop-shadow(0 18px 18px rgba(0,0,0,.18));
}

.art-label {
  position: absolute;
  left: 28px;
  bottom: 25px;
  z-index: 2;
  color: var(--moss);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section { padding: 100px 0; border-top: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(30px, 8vw, 120px); align-items: start; }
.section-copy { max-width: 720px; color: var(--muted); font-size: 1.12rem; }
.section-copy p:first-child { margin-top: 0; }

.project-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: clamp(28px, 7vw, 90px);
  padding: clamp(30px, 6vw, 74px);
  border-radius: var(--radius);
  background: var(--paper-bright);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.project-card::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -160px;
  top: -160px;
  border: 48px solid var(--moss-soft);
  border-radius: 50%;
}

.project-kicker { margin: 0 0 16px; color: var(--rust); font-weight: 850; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; }
.project-card h2 { font-size: clamp(3rem, 7vw, 6.2rem); }
.project-card p { max-width: 610px; color: var(--muted); font-size: 1.12rem; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 19px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-weight: 820;
}
.button.secondary { background: transparent; color: var(--ink); }
.button:hover { transform: translateY(-1px); }

.project-notes { align-self: end; position: relative; z-index: 1; }
.note { padding: 15px 0; border-top: 1px solid var(--line); }
.note strong { display: block; font-size: .93rem; }
.note span { color: var(--muted); font-size: .9rem; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.value { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,253,247,.52); }
.value p { margin: 0; color: var(--muted); }

.site-footer { padding: 40px 0 55px; border-top: 1px solid var(--line); }
.footer-grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.footer-grid p { max-width: 560px; margin: 8px 0 0; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: flex-end; }
.footer-links a { color: var(--muted); }

.page-hero { padding: 65px 0 70px; }
.page-hero h1 { max-width: 900px; font-size: clamp(3rem, 8vw, 6.5rem); }
.page-hero .lede { max-width: 780px; }

.app-band {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 7vw, 90px);
  align-items: center;
  padding: clamp(32px, 7vw, 80px);
  border-radius: var(--radius);
  background: var(--moss);
  color: white;
  overflow: hidden;
}
.app-band p { color: #dbe4db; }
.paper-stack { position: relative; min-height: 330px; }
.paper {
  position: absolute;
  inset: 8% 12%;
  border-radius: 18px;
  background: var(--paper-bright);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
}
.paper:nth-child(1) { transform: rotate(-8deg) translate(-20px, 5px); opacity: .56; }
.paper:nth-child(2) { transform: rotate(5deg) translate(22px, -3px); opacity: .82; }
.paper:nth-child(3) { display: grid; place-content: center; color: var(--moss); font-size: 5.2rem; font-weight: 950; }
.paper:nth-child(3)::after { content: "F"; }

.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.feature { padding: 24px 0; border-top: 2px solid var(--ink); }
.feature p { margin: 0; color: var(--muted); }

.prose { max-width: 820px; padding-bottom: 90px; }
.prose section { padding: 30px 0; border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(1.65rem, 4vw, 2.35rem); letter-spacing: -.03em; }
.prose p, .prose li { color: #4f514a; }
.prose ul { padding-left: 1.2rem; }
.prose a { color: var(--moss); font-weight: 750; }
.meta { color: var(--muted); font-size: .92rem; }
.contact-box { padding: 28px; border-radius: 18px; background: var(--moss); color: white; }
.contact-box p { color: #dbe4db; }
.contact-box a { color: white; }
.breadcrumbs { display: flex; gap: 10px; align-items: center; margin-bottom: 28px; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { font-weight: 700; text-decoration: none; }

@media (max-width: 820px) {
  .hero, .project-card, .app-band, .section-intro { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 45px; }
  .hero-art { min-height: 350px; }
  .values, .feature-list { grid-template-columns: 1fr; }
  .project-notes { margin-top: 10px; }
}

@media (max-width: 620px) {
  .site-nav a:not(.nav-primary) { display: none; }
  .site-header { padding-block: 18px; }
  .hero { padding-bottom: 72px; }
  .hero-art { min-height: 315px; border-radius: 38% 38% 26% 26% / 32% 32% 18% 18%; }
  .section { padding: 72px 0; }
  .footer-grid { display: block; }
  .footer-links { justify-content: flex-start; margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover { transform: none; }
}

