:root {
  --bg: #e7e2da;
  --paper: #f6f2ea;
  --ink: #171817;
  --moss: #66705b;
  --wine: #7a3d4d;
  --blue: #aebfd2;
  --sand: #cdb896;
  --line: rgba(23,24,23,.18);
  --muted: rgba(23,24,23,.62);
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 999;
  pointer-events: none;
}

.progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-weight: 700;
  letter-spacing: .16em;
  font-size: 19px;
}

#site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 13px;
}

.nav-cta {
  padding: 11px 15px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.menu-button {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
}

.hero {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 760px;
  padding: 78px 0 30px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  grid-template-rows: 1fr auto;
  gap: 72px;
  align-items: center;
}

.hero-copy {
  max-width: 790px;
}

.eyebrow,
.project-no,
.project-type,
.studio-label,
.contact-bottom,
footer,
.hero-card-top,
.hero-card-bottom span {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 10px;
  font-weight: 600;
}

.hero h1,
.section-heading h2,
.studio-copy h2 {
  margin: 18px 0 24px;
  font-size: clamp(72px, 8vw, 128px);
  line-height: .84;
  letter-spacing: -.06em;
  font-weight: 700;
}

.hero h1 span,
.section-heading h2 span {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  color: var(--wine);
  letter-spacing: -.04em;
}

.hero-intro {
  max-width: 610px;
  margin: 0;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.48;
  color: var(--muted);
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.button.dark {
  background: var(--ink);
  color: var(--paper);
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}

.text-link span {
  transition: transform .2s ease;
}

.text-link:hover span {
  transform: translate(3px, 2px);
}

.hero-art {
  display: grid;
  place-items: center;
}

.hero-card {
  width: min(100%, 520px);
  aspect-ratio: .82;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  box-shadow: 16px 16px 0 var(--blue);
  transform: rotate(1deg);
  transition: transform .25s ease;
}

.hero-card-top,
.hero-card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.hero-card-bottom {
  align-items: end;
}

.hero-card-bottom strong {
  font-size: 34px;
  line-height: .95;
}

.hero-shape {
  position: relative;
  overflow: hidden;
  background: var(--moss);
}

.orb {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--sand);
  right: 10%;
  top: 12%;
}

.plane {
  position: absolute;
  left: -12%;
  width: 124%;
  border-radius: 50% 50% 0 0;
}

.plane-one {
  height: 42%;
  bottom: 13%;
  background: #8a957d;
  transform: rotate(-7deg);
}

.plane-two {
  height: 32%;
  bottom: -5%;
  background: var(--wine);
  transform: rotate(5deg);
}

.hero-strip {
  grid-column: 1 / -1;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 10px;
}

.statement-section {
  padding: 100px max(24px, calc((100vw - 1440px) / 2));
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: .24fr 1fr;
  gap: 60px;
}

.statement-index {
  display: flex;
  gap: 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(246,242,234,.55);
}

.statement-index p {
  margin: 0;
}

.statement {
  max-width: 1080px;
}

.statement p {
  margin: 0;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 500;
  color: rgba(246,242,234,.58);
}

.statement span {
  color: var(--paper);
}

.work-section,
.services-section {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
  padding: 130px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr .35fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}

.section-heading h2 {
  font-size: clamp(58px, 6.7vw, 104px);
  line-height: .9;
}

.section-heading > p {
  margin: 0 0 6px;
  max-width: 430px;
  line-height: 1.65;
  color: var(--muted);
  font-size: 13px;
}

.projects {
  display: grid;
  gap: 70px;
}

.project-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.project-visual {
  min-height: 620px;
  position: relative;
  overflow: hidden;
  transition: transform .35s ease;
}

.project-nh {
  background: #b8c0b0;
  display: grid;
  place-items: center;
}

.nh-site {
  width: 74%;
  max-width: 880px;
  min-height: 410px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 24px;
  box-shadow: 14px 14px 0 var(--wine);
}

.nh-topline {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: .08em;
  font-weight: 600;
}

.nh-main {
  min-height: 315px;
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 30px;
  align-items: end;
}

.nh-main p {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 66px);
  line-height: .92;
  letter-spacing: -.05em;
  font-weight: 700;
}

.nh-block {
  height: 75%;
  background: var(--moss);
  border-radius: 45% 45% 0 0;
}

.project-field {
  background: #d7c37d;
  display: grid;
  place-items: center;
}

.field-title {
  position: absolute;
  left: -4%;
  bottom: -5%;
  font-size: clamp(140px, 21vw, 300px);
  font-weight: 700;
  line-height: .72;
  color: rgba(23,24,23,.08);
  letter-spacing: -.08em;
}

.field-card {
  width: 68%;
  min-height: 62%;
  background: var(--wine);
  color: var(--paper);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotate(-2deg);
  box-shadow: 12px 12px 0 var(--blue);
  position: relative;
  z-index: 2;
}

.field-card span,
.field-card small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.field-card strong {
  font-size: clamp(44px, 5vw, 74px);
  line-height: .88;
  letter-spacing: -.05em;
}

.project-common {
  background: var(--blue);
  display: grid;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  padding: 48px;
}

.common-circle {
  font-size: clamp(150px, 18vw, 240px);
  color: var(--wine);
}

.common-text {
  display: grid;
  gap: 18px;
}

.common-text strong {
  font-size: clamp(48px, 5vw, 76px);
  line-height: .84;
  letter-spacing: -.05em;
}

.common-text span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.project-meta {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 20px;
}

.project-meta h3 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -.035em;
}

.project-meta p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.services-section {
  border-top: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.service-card {
  min-height: 320px;
  padding: 22px;
  border: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transition: transform .25s ease, background .25s ease;
}

.service-card:nth-child(2) { background: var(--blue); }
.service-card:nth-child(3) { background: #c7cfbd; }
.service-card:nth-child(4) { background: #d9c9b6; }

.service-card span {
  font-size: 10px;
  letter-spacing: .12em;
}

.service-card h3 {
  margin: auto 0 16px;
  font-size: 52px;
  letter-spacing: -.05em;
}

.service-card p {
  margin: 0;
  line-height: 1.55;
  color: var(--muted);
}

.service-card b {
  margin-top: 18px;
  align-self: flex-end;
  font-weight: 400;
  font-size: 20px;
}

.studio-section {
  padding: 130px max(24px, calc((100vw - 1440px) / 2));
  background: #d9d1c7;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
  align-items: center;
}

.studio-panel {
  width: min(100%, 520px);
  min-height: 620px;
  background: var(--wine);
  color: var(--paper);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 14px 14px 0 var(--moss);
}

.studio-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 160px 160px;
  gap: 10px;
}

.studio-block {
  border: 1px solid rgba(246,242,234,.4);
}

.block-one {
  background: var(--blue);
  grid-row: span 2;
}

.block-two {
  background: var(--sand);
}

.block-three {
  background: var(--moss);
}

.studio-panel > p {
  margin: auto 0 0;
  font-size: 54px;
  line-height: .9;
  letter-spacing: -.05em;
  font-weight: 600;
}

.studio-copy h2 {
  font-size: clamp(64px, 7vw, 104px);
}

.studio-large {
  margin: 0 0 28px;
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.studio-copy > p:not(.eyebrow):not(.studio-large) {
  max-width: 680px;
  line-height: 1.7;
  color: var(--muted);
}

.values {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.contact-section {
  padding: 110px max(24px, calc((100vw - 1440px) / 2)) 70px;
  background: var(--wine);
  color: var(--paper);
}

.contact-top,
.contact-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.contact-top {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(246,242,234,.35);
}

.contact-main {
  padding: 90px 0 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: end;
}

.contact-main p {
  margin: 0;
  font-size: clamp(78px, 9vw, 146px);
  line-height: .8;
  letter-spacing: -.07em;
  font-weight: 700;
}

.contact-main a {
  justify-self: end;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(36px, 4vw, 58px);
  border-bottom: 1px solid var(--paper);
}

.contact-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(246,242,234,.35);
}

footer {
  min-height: 78px;
  padding: 0 max(24px, calc((100vw - 1440px) / 2));
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: center;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .7s cubic-bezier(.2,.7,.2,1),
    transform .7s cubic-bezier(.2,.7,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-in {
  animation: enter .8s cubic-bezier(.2,.7,.2,1) both;
}

.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover:hover) and (pointer:fine) {
  .hero-art:hover .hero-card {
    transform: rotate(.2deg) translateY(-4px);
  }

  .project:hover .project-visual {
    transform: translateY(-6px);
  }

  .service-card:hover {
    transform: translateY(-6px);
    background: var(--ink);
    color: var(--paper);
  }

  .service-card:hover p {
    color: rgba(246,242,234,.7);
  }
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .work-section,
  .services-section {
    width: min(100% - 30px, 1440px);
  }

  .menu-button { display: block; }

  #site-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 15px;
    right: 15px;
    z-index: 20;
    background: var(--paper);
    border: 1px solid var(--ink);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
  }

  #site-nav.open { display: flex; }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    margin-top: 10px;
  }

  .statement-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .project-pair {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .studio-section {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-main {
    grid-template-columns: 1fr;
  }

  .contact-main a {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .work-section,
  .services-section {
    width: calc(100% - 24px);
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-intro {
    font-size: 18px;
  }

  .hero-card {
    width: 92%;
  }

  .hero-card-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-strip {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .statement-section {
    padding: 80px 16px;
  }

  .statement p {
    font-size: 38px;
  }

  .work-section,
  .services-section {
    padding: 90px 0;
  }

  .section-heading h2 {
    font-size: 58px;
  }

  .project-visual {
    min-height: 430px;
  }

  .nh-site {
    width: 84%;
  }

  .nh-main {
    grid-template-columns: 1fr;
  }

  .nh-block {
    height: 120px;
  }

  .field-card {
    width: 78%;
  }

  .project-common {
    grid-template-columns: 1fr;
  }

  .common-circle {
    position: absolute;
    opacity: .28;
  }

  .common-text {
    position: relative;
    z-index: 2;
  }

  .project-meta {
    grid-template-columns: 42px 1fr;
  }

  .project-type {
    grid-column: 2;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 250px;
  }

  .studio-section {
    padding: 90px 16px;
  }

  .studio-panel {
    min-height: 520px;
  }

  .studio-panel > p {
    font-size: 44px;
  }

  .values {
    grid-template-columns: 1fr 1fr;
  }

  .contact-section {
    padding: 80px 16px 54px;
  }

  .contact-top,
  .contact-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-main {
    padding: 72px 0 84px;
  }

  .contact-main p {
    font-size: 72px;
  }

  .contact-main a {
    font-size: 32px;
    overflow-wrap: anywhere;
  }

  footer {
    grid-template-columns: 1fr;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .progress { display: none; }
  .hero-in { animation: none; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-card,
  .project-visual,
  .service-card,
  .text-link span {
    transition: none !important;
    transform: none !important;
  }
}


/* --- V4 polish pass --- */

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.wordmark > span {
  display: inline-block;
}

.wordmark i {
  display: inline-block;
  width: 16px;
  height: 4px;
  border-radius: 999px;
  background: var(--wine);
  transform: translateY(1px);
  transition: width .24s ease;
}

.wordmark:hover i {
  width: 27px;
}

.site-header {
  position: relative;
}

.site-header::after {
  content: "M / 26";
  position: absolute;
  left: 0;
  bottom: -25px;
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .42;
}

.hero {
  padding-top: 94px;
}

.hero-signature {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: -22px;
  padding-bottom: 4px;
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .52;
}

.hero-card {
  box-shadow: 14px 14px 0 var(--blue);
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wine);
  right: 20px;
  top: 20px;
}

.hero-card {
  position: relative;
}

.statement p {
  max-width: 1040px;
}

.project-meta h3 {
  font-weight: 600;
}

.project-type {
  opacity: .56;
}

.service-card {
  overflow: hidden;
  position: relative;
}

.service-card::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  right: -32px;
  top: -32px;
  border: 1px solid currentColor;
  opacity: .12;
}

.studio-panel {
  position: relative;
}

.studio-panel::after {
  content: "M";
  position: absolute;
  right: 26px;
  top: 18px;
  font-family: var(--serif);
  font-size: 44px;
  font-style: italic;
  opacity: .28;
}

.contact-main a {
  transition: opacity .2s ease;
}

.contact-main a:hover {
  opacity: .68;
}

@media (max-width: 620px) {
  .site-header::after {
    display: none;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-signature {
    flex-direction: column;
    margin-top: -8px;
    gap: 8px;
  }
}
