:root {
  --paper: #f7f4ed;
  --paper2: #fffdf9;
  --ink: #1a1917;
  --ink2: #57534a;
  --line: #e2dcce;
  --accent: #c05f3c;
  --moss: #3d4f3c;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

img { max-width: 100%; display: block; }

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

a:hover { color: var(--accent); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper2);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
}

.skip-link:focus { top: 12px; color: var(--paper2); }

.page {
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(192, 95, 60, 0.1), transparent 62%),
    radial-gradient(900px 520px at 4% 12%, rgba(61, 79, 60, 0.07), transparent 60%),
    var(--paper);
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes growLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(12px);
  background: rgba(247, 244, 237, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.header .nd-logo { flex: 0 0 auto; }

.header .nd-logo:hover { opacity: 0.72; color: var(--nd-ink); }

.nd-logo {
  --nd-ink: #1a1917;
  --nd-sub: #57534a;
  --nd-rule: #c05f3c;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.17em;
  color: var(--nd-ink);
  font-size: 64px;
  line-height: 1;
}

.nd-logo__name {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1em;
  letter-spacing: -0.01em;
}

.nd-logo__rule {
  width: 3.4em;
  height: 1px;
  background: var(--nd-rule);
}

.nd-logo__sub {
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.28em;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  padding-left: 0.42em;
  color: var(--nd-sub);
}

.nd-logo--on-dark {
  --nd-ink: #fbf8f1;
  --nd-sub: rgba(251, 248, 241, 0.75);
}

.nd-logo--compact {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.06em;
  font-size: 24px;
}

.nd-logo--compact .nd-logo__rule { display: none; }

.nd-logo--compact .nd-logo__sub {
  font-size: 0.4em;
  letter-spacing: 0.34em;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: var(--ink2);
}

.nav a { color: var(--ink2); }
.nav a:hover { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  padding: 15px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-sm {
  padding: 11px 20px;
  font-size: 14px;
  flex: 0 0 auto;
}

.btn-dark {
  background: var(--ink);
  color: var(--paper2);
}

.btn-dark:hover {
  background: var(--accent);
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(192, 95, 60, 0.75);
}

.btn-accent:hover {
  background: var(--ink);
  color: var(--paper2);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--paper2);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline-light {
  border-color: rgba(243, 239, 230, 0.28);
  color: #f3efe6;
}

.btn-outline-light:hover {
  border-color: #fbf8f1;
  color: #fbf8f1;
}

.btn-arrow {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 19px;
  line-height: 1;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--paper2);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

/* Hero */
.hero {
  padding-top: 74px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}

.hero-copy { animation: riseIn 0.8s var(--ease) both; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.7);
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink2);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}

h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(50px, 6.1vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 26px 0 0;
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

.lede {
  font-size: 19px;
  line-height: 1.62;
  color: var(--ink2);
  max-width: 52ch;
  margin: 26px 0 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  animation: fadeIn 1s ease 0.15s both;
}

.media {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #ddd8cc;
}

.media img,
.media picture,
.media picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
  box-shadow: 0 30px 60px -34px rgba(26, 25, 23, 0.45);
}

.media-half { aspect-ratio: 4 / 3; }

.stats {
  margin-top: 76px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-num {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.01em;
}

.stat-num span {
  font-size: 24px;
  color: var(--ink2);
}

.stat-label {
  font-size: 13px;
  color: var(--ink2);
  margin-top: 8px;
  letter-spacing: 0.04em;
}

/* Sections */
.section { padding-top: 80px; }
.section-lg { padding-top: 92px; }
.section-xl { padding-top: 96px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.section-head h2,
.serif-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}

.kicker {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink2);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper2);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  color: inherit;
}

.card:hover {
  border-color: var(--accent);
  color: inherit;
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ddd8cc;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card:hover .card-media img { transform: scale(1.04); }

.card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink2);
}

.card-num {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 20px;
  letter-spacing: 0;
  color: var(--accent);
  text-transform: none;
}

.card h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
  margin: 0;
}

.card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink2);
  margin: 0;
}

.card-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
}

.card-foot span { color: var(--ink2); }
.card-foot strong { font-weight: 600; }

/* Case band */
.case {
  margin-top: 88px;
  background: var(--ink);
  color: #f3efe6;
}

.case-inner { padding: 78px 32px 84px; }

.case h2 { color: #fbf8f1; }

.case .kicker { color: rgba(243, 239, 230, 0.55); }

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 44px;
  background: rgba(243, 239, 230, 0.16);
}

.case-item { background: var(--ink); }

.case-item:first-child { padding: 34px 30px 30px 0; }
.case-item:nth-child(2) { padding: 34px 30px; }
.case-item:last-child { padding: 34px 0 30px 30px; }

.case-num {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 38px;
  line-height: 1;
  color: var(--accent);
}

.case-item h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 20px 0 12px;
  letter-spacing: -0.005em;
}

.case-item p {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(243, 239, 230, 0.72);
  margin: 0;
}

/* Projects */
.project-head {
  display: flex;
  align-items: center;
  gap: 20px;
}

.project-num {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
}

.project-line {
  flex: 1;
  height: 1px;
  background: var(--line);
  transform-origin: left;
}

.project-line.grow { animation: growLine 0.9s var(--ease) both; }

.project-grid {
  display: grid;
  gap: 56px;
  margin-top: 28px;
  align-items: start;
}

.project-grid.split-a { grid-template-columns: 0.92fr 1.08fr; }
.project-grid.split-b { grid-template-columns: 1.08fr 0.92fr; }

.project-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 3.9vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}

.project-text {
  font-size: 17px;
  line-height: 1.66;
  color: var(--ink2);
  margin: 20px 0 0;
}

.project-text em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 19px;
}

.rows { margin-top: 30px; }

.row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}

.row:last-child { border-bottom: 1px solid var(--line); }

.row span { color: var(--ink2); }

.row strong {
  font-weight: 600;
  text-align: right;
}

.row .accent { color: var(--accent); }

.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.frame {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.frame-hero {
  aspect-ratio: 3 / 2;
  box-shadow: 0 26px 50px -34px rgba(26, 25, 23, 0.5);
}

.frame-plan { aspect-ratio: 16 / 11; background: var(--paper2); }
.frame-sq { aspect-ratio: 1 / 1; }

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.note {
  background: var(--paper2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 26px;
}

.note-title {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink2);
  margin-bottom: 16px;
}

.bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bullet {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.55;
}

.bullet i {
  width: 6px;
  height: 6px;
  background: var(--accent);
  margin-top: 8px;
  flex: 0 0 auto;
  font-style: normal;
}

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

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13.5px;
  background: var(--paper);
}

.note p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink2);
  margin: 16px 0 0;
}

.compare-title { margin: 0 0 30px; }

/* Compare */
.compare-wrap {
  overflow-x: auto;
  background: var(--paper2);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.compare {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr 1fr;
  min-width: 760px;
}

.compare div {
  padding: 16px 20px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
}

.compare div:nth-child(4n + 1) {
  font-size: 14px;
  color: var(--ink2);
}

.compare .head {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.compare .head.label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink2);
  font-weight: 400;
}

.compare .col { border-left: 1px solid var(--line); }

.compare .last { border-bottom: none; }

/* Process */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.step-num {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.steps h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 12px 0 8px;
}

.steps p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink2);
  margin: 0;
}

/* Contact */
.contact-panel {
  background: var(--ink);
  color: #f3efe6;
  border-radius: 20px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.contact-glow {
  position: absolute;
  inset: auto -80px -140px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 95, 60, 0.35), transparent 65%);
  pointer-events: none;
}

.contact-copy,
.contact-card { position: relative; }

.contact-copy .kicker { color: rgba(243, 239, 230, 0.55); }

.contact-copy h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  margin: 18px 0 0;
  color: #fbf8f1;
}

.contact-copy > p {
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(243, 239, 230, 0.72);
  margin: 20px 0 0;
  max-width: 46ch;
}

.fineprint {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(243, 239, 230, 0.45);
  margin: 26px 0 0;
}

.contact-card {
  background: #fbf8f1;
  color: var(--ink);
  border-radius: 14px;
  padding: 34px 34px 30px;
}

.person {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.person-name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-top: 16px;
}

.person-role {
  font-size: 14px;
  color: var(--ink2);
  margin-top: 3px;
}

.contact-rows { margin-top: 26px; }

.contact-rows .row { font-size: 14.5px; }

.contact-rows a {
  font-weight: 600;
  color: var(--ink);
}

.contact-rows a:hover { color: var(--accent); }

.email-highlight {
  margin-top: 22px;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 10px;
}

.email-highlight .label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink2);
}

.email-highlight a {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  word-break: break-word;
}

/* Footer */
.footer {
  padding: 44px 32px 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink2);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-note {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer .dot { width: 6px; height: 6px; }

@media (max-width: 980px) {
  .hero-grid,
  .project-grid.split-a,
  .project-grid.split-b,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cards,
  .stats,
  .case-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .case-item:first-child,
  .case-item:nth-child(2),
  .case-item:last-child {
    padding: 28px 8px 28px 0;
  }

  h1 { font-size: clamp(40px, 9vw, 64px); }
}

@media (max-width: 780px) {
  .wrap,
  .case-inner,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav,
  .header .btn { display: none; }

  .header.is-open .nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(247, 244, 237, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
  }

  .header.is-open .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .header.is-open .btn {
    display: inline-flex;
    margin-top: 16px;
    width: 100%;
  }

  .menu-toggle { display: block; }

  .nd-logo--compact { font-size: 22px; }

  .cards,
  .stats,
  .case-grid,
  .steps,
  .pair {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 40px; }
  .hero-grid { gap: 28px; }
  .stats { margin-top: 40px; }
  .section,
  .section-lg,
  .section-xl { padding-top: 56px; }
  .case { margin-top: 56px; }
  .contact-panel { padding: 32px 22px; border-radius: 16px; }
  .contact-card { padding: 24px; }
  .cta-row .btn { width: 100%; }
}
