:root {
  --bg: #f3eee7;
  --paper: #faf7f2;
  --ink: #171717;
  --muted: #70695f;
  --line: rgba(23, 23, 23, .16);
  --dark: #0d0f12;
  --dark-2: #171a1e;
  --white: #fffaf2;
  --accent: #b89973;
  --accent-2: #d9c0a0;
  --radius: 26px;
  --shadow: 0 24px 90px rgba(15, 15, 15, .18);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .04;
  z-index: 1000;
  background-image: radial-gradient(#000 1px, transparent 1px);
  background-size: 3px 3px;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 52px);
  color: var(--white);
  transition: background .3s ease, color .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header.is-scrolled {
  background: rgba(250, 247, 242, .86);
  color: var(--ink);
  box-shadow: 0 16px 50px rgba(0, 0, 0, .08);
  backdrop-filter: blur(18px);
  padding-block: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  font-size: 15px;
  letter-spacing: -.06em;
}
.brand-text {
  font-size: 12px;
  line-height: 1.05;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: 14px;
}
.nav a {
  opacity: .82;
  transition: opacity .2s ease;
}
.nav a:hover { opacity: 1; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  margin: 6px auto;
  transition: transform .25s ease;
}

.section { padding: clamp(78px, 10vw, 140px) 0; }
.section-dark {
  background: var(--dark);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}
.hero-overlay {
  background:
    radial-gradient(circle at 74% 24%, rgba(184,153,115,.22), transparent 34%),
    linear-gradient(90deg, rgba(9,10,12,.92) 0%, rgba(9,10,12,.70) 42%, rgba(9,10,12,.24) 100%),
    linear-gradient(0deg, rgba(9,10,12,.96) 0%, transparent 42%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .46fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  padding: 150px 0 92px;
}
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 18px;
}
h1, h2, h3 { margin: 0; line-height: .98; letter-spacing: -.055em; }
h1 {
  max-width: 820px;
  font-size: clamp(52px, 10vw, 126px);
}
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(42px, 7.3vw, 92px);
}
h3 {
  font-size: clamp(24px, 2.1vw, 34px);
}
.lead {
  max-width: 660px;
  font-size: clamp(20px, 2.1vw, 29px);
  margin: 28px 0 0;
  color: rgba(255,250,242,.86);
}
.hero-actions,
.contact-card .btn { margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -.01em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #171717;
  background: var(--accent-2);
}
.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255,250,242,.34);
  margin-left: 10px;
}
.hero-card {
  padding: 28px;
  border: 1px solid rgba(255,250,242,.20);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, .08);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0,0,0,.22);
}
.card-number {
  font-size: clamp(62px, 7vw, 92px);
  line-height: .8;
  font-weight: 900;
  letter-spacing: -.09em;
  color: var(--accent-2);
}
.hero-card p { margin: 18px 0 0; }
.muted { color: rgba(255,250,242,.70); }
.divider {
  height: 1px;
  background: rgba(255,250,242,.18);
  margin: 24px 0;
}
.scroll-hint {
  position: absolute;
  right: 42px;
  bottom: 36px;
  z-index: 3;
  color: rgba(255,250,242,.54);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.split,
.person-grid,
.personal-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}
.media-stack { position: relative; }
.media-stack img,
.person-photo img,
.family-collage img,
.work-strip img,
.project-card img {
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}
.media-stack img { aspect-ratio: 4/5; }
.floating-note {
  position: absolute;
  right: -18px;
  bottom: 28px;
  max-width: 270px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(250,247,242,.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0,0,0,.16);
  font-weight: 800;
}
.copy p {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--muted);
}
.copy h2 + p,
.person-copy h2 + p { margin-top: 28px; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: #403a34;
  background: rgba(255,255,255,.35);
}

.section-services { position: relative; overflow: hidden; }
.section-services::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,153,115,.20), transparent 60%);
  right: -180px;
  top: -180px;
}
.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}
.section-head p:last-child {
  color: rgba(255,250,242,.70);
  font-size: 20px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  min-height: 310px;
  padding: 26px;
  border: 1px solid rgba(255,250,242,.14);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,250,242,.10), rgba(255,250,242,.045));
}
.service-card span,
.project-card span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--accent-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
}
.service-card h3 { font-size: 28px; }
.service-card p { color: rgba(255,250,242,.70); }

.person-section { overflow: hidden; }
.person-grid { align-items: start; }
.person-grid.reverse .person-photo { order: 2; }
.person-photo img {
  aspect-ratio: 4/5;
  object-position: center;
}
.person-copy p {
  font-size: clamp(18px, 1.5vw, 21px);
  color: var(--muted);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 34px 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,.35);
}
.stats div {
  padding: 18px 16px;
  border-right: 1px solid var(--line);
}
.stats div:last-child { border-right: 0; }
.stats strong {
  display: block;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -.06em;
}
.stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}
blockquote {
  margin: 34px 0 0;
  padding: 24px 28px;
  border-left: 4px solid var(--accent);
  background: rgba(184,153,115,.12);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.035em;
}
.work-strip {
  display: grid;
  grid-template-columns: 1.1fr .8fr 1fr;
  gap: 16px;
  margin-top: 36px;
}
.work-strip img {
  height: 300px;
}
.person-section-alt {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-light { grid-template-columns: repeat(2, 1fr); }
.clean-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 18px;
}
.clean-list li::before {
  content: "— ";
  color: var(--accent);
  font-weight: 800;
}

.projects-section { background: #0f1011; }
.section-head-wide {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 32px;
  max-width: none;
  align-items: end;
}
.section-head-wide .eyebrow { grid-column: 1 / -1; margin-bottom: -12px; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.project-card {
  display: grid;
  grid-template-columns: minmax(180px, .9fr) minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border: 1px solid rgba(255,250,242,.13);
  border-radius: var(--radius);
  background: rgba(255,250,242,.06);
  transition: transform .25s ease, background .25s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  background: rgba(255,250,242,.09);
}
.project-card img {
  height: 250px;
  box-shadow: none;
}
.project-card span { margin-bottom: 14px; }
.project-card h3 { font-size: 26px; }
.project-card p { color: rgba(255,250,242,.70); }
.wide-quote {
  margin-top: 34px;
  text-align: center;
  border-left: 0;
  border-top: 1px solid rgba(255,250,242,.18);
  border-bottom: 1px solid rgba(255,250,242,.18);
  background: transparent;
  color: var(--accent-2);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 52px);
}

.personal-section { background: linear-gradient(180deg, var(--bg), #ece2d7); }
.family-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.family-collage .big { grid-column: 1 / -1; aspect-ratio: 16/10; }
.family-collage img { height: 260px; }
.human-quote {
  max-width: 960px;
  margin: 58px auto 0;
  text-align: center;
  border-left: 0;
  color: #705c48;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  background: rgba(255,255,255,.38);
}

.contacts-section {
  background:
    radial-gradient(circle at 20% 0%, rgba(184,153,115,.20), transparent 32%),
    var(--dark);
}
.contact-grid { align-items: end; }
.contacts-section h2 { max-width: 760px; }
.contacts-section p { max-width: 560px; color: rgba(255,250,242,.72); font-size: 20px; }
.contact-card {
  justify-self: end;
  width: min(100%, 430px);
  padding: 30px;
  border: 1px solid rgba(255,250,242,.16);
  border-radius: var(--radius);
  background: rgba(255,250,242,.08);
}
.contact-card > a:not(.btn) {
  display: block;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1.1;
}
.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.contact-socials span {
  border: 1px solid rgba(255,250,242,.18);
  border-radius: 999px;
  padding: 9px 12px;
  color: rgba(255,250,242,.72);
}
.footer {
  padding: 26px 0;
  background: #090a0c;
  color: rgba(255,250,242,.56);
  font-size: 14px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 1020px) {
  .hero-grid,
  .split,
  .person-grid,
  .personal-grid,
  .contact-grid,
  .section-head-wide { grid-template-columns: 1fr; }
  .hero-grid { align-items: start; }
  .hero-card { max-width: 520px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .person-grid.reverse .person-photo { order: 0; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-card { justify-self: start; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--max)); }
  .site-header { padding: 12px 14px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 74px 14px auto 14px;
    display: grid;
    gap: 0;
    padding: 12px;
    background: rgba(250,247,242,.96);
    color: var(--ink);
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0,0,0,.18);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav a { padding: 14px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  body.nav-open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { min-height: 92vh; }
  .hero-grid { padding: 116px 0 62px; }
  .hero-actions { display: grid; gap: 10px; }
  .btn { width: 100%; }
  .btn-ghost { margin-left: 0; }
  .scroll-hint { display: none; }
  .floating-note { position: static; margin-top: -24px; width: calc(100% - 20px); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .work-strip { grid-template-columns: 1fr; }
  .work-strip img { height: 230px; }
  .project-card { grid-template-columns: 1fr; }
  .project-card img { height: 220px; }
  .family-collage { grid-template-columns: 1fr; }
  .family-collage .big { aspect-ratio: auto; }
  .family-collage img { height: auto; max-height: 520px; }
  .footer-grid { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .project-card, .site-header { transition: none; }
}
