:root {
  --canvas: #f4efe6;
  --surface: #fffaf1;
  --surface-strong: #ece2d2;
  --ink: #181610;
  --muted: #676052;
  --line: #d6c8b5;
  --deep: #102822;
  --deep-soft: #18382f;
  --copper: #a6633d;
  --green: #516d54;
  --blue: #2d5b73;
  --max: 1180px;
  --side: clamp(18px, 5vw, 72px);
  font-family:
    "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(24, 22, 16, 0.06) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(rgba(24, 22, 16, 0.035) 1px, transparent 1px) 0 0 / 96px 96px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 62%);
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
}

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  padding: 10px 14px;
  font-weight: 760;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 96px;
  padding: 10px var(--side);
  border-bottom: 1px solid rgba(24, 22, 16, 0.11);
  background: rgba(244, 239, 230, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(54px, 7.2vw, 84px);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
}

img.brand-mark {
  display: block;
  object-fit: contain;
  object-position: center;
}

.brand-name {
  font-weight: 760;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.93rem;
}

.site-nav a {
  padding: 8px 11px;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  padding: 8px 13px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 6vw, 86px);
  width: min(var(--max), calc(100% - var(--side) * 2));
  min-height: calc(86svh - 68px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 78px) 0 clamp(38px, 5vw, 64px);
}

.hero-content {
  min-width: 0;
  max-width: 100%;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 820;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before,
.section-label::before {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: currentColor;
  content: "";
}

h1 {
  max-width: 900px;
  margin-top: 24px;
  font-size: clamp(3.2rem, 6.4vw, 6.1rem);
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.05rem, 1.3vw, 1.24rem);
  line-height: 1.22;
  letter-spacing: 0;
}

.hero-text {
  max-width: 720px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 760;
  line-height: 1;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border: 1px solid var(--deep);
  background: var(--deep);
  color: var(--surface);
}

.button.secondary {
  border: 1px solid rgba(24, 22, 16, 0.22);
  background: rgba(255, 250, 241, 0.52);
}

.hero-panel {
  position: relative;
  align-self: center;
  min-height: 520px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(24, 22, 16, 0.16);
  background: var(--surface);
  box-shadow: 0 28px 70px rgba(34, 28, 18, 0.11);
}

.hero-panel::before {
  position: absolute;
  inset: 14px;
  pointer-events: none;
  border: 1px solid rgba(24, 22, 16, 0.08);
  content: "";
}

.studio-card {
  position: relative;
  display: grid;
  min-height: 190px;
  align-content: end;
  padding: 26px;
  background: var(--deep);
  color: var(--surface);
}

.card-label {
  position: absolute;
  top: 22px;
  left: 26px;
  color: #cbbca6;
  font-size: 0.76rem;
  font-weight: 820;
  text-transform: uppercase;
}

.studio-card p {
  max-width: 320px;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.04;
}

.hero-proof {
  display: grid;
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid rgba(24, 22, 16, 0.14);
}

.hero-proof div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(24, 22, 16, 0.12);
}

.hero-proof strong {
  color: var(--ink);
}

.hero-proof span {
  color: var(--muted);
}

.studio-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.studio-note span {
  padding: 7px 10px;
  border: 1px solid rgba(24, 22, 16, 0.14);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.statement,
.service-section,
.audience-section,
.methods,
.work-section,
.stack-section,
.contact-section {
  width: min(var(--max), calc(100% - var(--side) * 2));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 124px) 0;
  border-top: 1px solid rgba(24, 22, 16, 0.16);
}

.statement {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(34px, 7vw, 92px);
}

.statement-copy {
  max-width: 840px;
}

.statement-copy p {
  max-width: 760px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.2rem);
}

.section-intro {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(34px, 7vw, 92px);
  margin-bottom: clamp(34px, 5vw, 58px);
}

.service-list {
  display: grid;
  border-top: 1px solid rgba(24, 22, 16, 0.18);
}

.service-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 70px);
  padding: clamp(24px, 4vw, 38px) 0;
  border-bottom: 1px solid rgba(24, 22, 16, 0.14);
}

.service-row > span {
  color: var(--copper);
  font-size: 0.88rem;
  font-weight: 820;
}

.service-row p,
.method-grid p,
.work-table p,
.stack-lines p,
.audience-copy p,
.contact-copy p {
  max-width: 760px;
  margin-top: 10px;
  color: var(--muted);
}

.audience-copy {
  max-width: 760px;
  margin: calc(clamp(34px, 5vw, 58px) * -0.45) 0 clamp(28px, 4vw, 44px) min(352px, 30%);
}

.methods {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 78px);
  padding-right: clamp(0px, 3vw, 46px);
  padding-left: clamp(0px, 3vw, 46px);
  background: var(--deep);
  color: var(--surface);
}

.methods .section-label,
.methods p {
  color: #cbbca6;
}

.method-grid {
  display: grid;
  gap: 1px;
  background: rgba(255, 250, 241, 0.16);
}

.method-grid div {
  padding: 24px;
  background: var(--deep-soft);
}

.work-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(24, 22, 16, 0.18);
  border-left: 1px solid rgba(24, 22, 16, 0.18);
}

.work-table article {
  min-height: 280px;
  padding: clamp(24px, 3.5vw, 36px);
  border-right: 1px solid rgba(24, 22, 16, 0.18);
  border-bottom: 1px solid rgba(24, 22, 16, 0.18);
  background: rgba(255, 250, 241, 0.38);
}

.work-type {
  display: block;
  margin-bottom: 36px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 820;
  text-transform: uppercase;
}

.work-table small {
  display: block;
  margin-top: 28px;
  color: var(--blue);
  font-weight: 780;
}

.stack-lines {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(24, 22, 16, 0.18);
}

.stack-lines p {
  max-width: none;
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(24, 22, 16, 0.14);
}

.stack-lines strong {
  display: inline-block;
  min-width: 150px;
  color: var(--ink);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: start;
  border-bottom: 1px solid rgba(24, 22, 16, 0.16);
}

.contact-copy .button {
  margin-top: 28px;
}

.contact-section-clean {
  display: block;
}

.contact-section-clean .contact-copy {
  max-width: 760px;
  margin-left: min(352px, 30%);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px var(--side);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a:hover {
  color: var(--ink);
}

.legal-page {
  width: min(880px, calc(100% - var(--side) * 2));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0 clamp(72px, 10vw, 124px);
}

.legal-hero {
  padding-bottom: clamp(34px, 5vw, 58px);
  border-bottom: 1px solid rgba(24, 22, 16, 0.16);
}

.legal-hero h1 {
  max-width: none;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

.legal-hero p {
  max-width: 720px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.18rem);
}

.legal-content {
  padding-top: clamp(34px, 5vw, 58px);
}

.legal-content h2 {
  margin-top: 38px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.2;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-top: 12px;
  color: var(--muted);
}

.legal-content a {
  color: var(--blue);
  font-weight: 760;
}

.final-page .hero {
  min-height: calc(82svh - 68px);
  padding-top: clamp(34px, 5vw, 62px);
}

.final-page h1 {
  max-width: 980px;
  font-size: clamp(3rem, 5.6vw, 5.35rem);
}

.final-page .hero-panel {
  min-height: auto;
}

.final-page .studio-card {
  min-height: 210px;
  padding-top: 58px;
}

.final-page .hero-proof div {
  grid-template-columns: minmax(125px, 0.38fr) minmax(0, 1fr);
}

.work-result {
  color: var(--deep);
  font-weight: 760;
}

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: var(--side);
    left: var(--side);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 24px 60px rgba(24, 22, 16, 0.16);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .hero,
  .statement,
  .section-intro,
  .methods,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: auto;
  }

  .work-table {
    grid-template-columns: 1fr;
  }

  .final-page .hero-panel {
    display: block;
  }

  .contact-section-clean .contact-copy {
    margin-left: 0;
  }

  .audience-copy {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  html,
  body {
    overflow-x: clip;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .hero {
    width: min(var(--max), calc(100% - 36px));
    padding-top: 34px;
    padding-bottom: 38px;
  }

  h1 {
    font-size: clamp(2.18rem, 10.5vw, 2.82rem);
    line-height: 1.02;
  }

  .hero-text {
    margin-top: 22px;
    font-size: 1.02rem;
  }

  .hero-actions {
    margin-top: 24px;
  }

  h2 {
    font-size: clamp(1.86rem, 8.8vw, 2.58rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .hero-actions .button,
  .contact-copy .button {
    width: 100%;
  }

  .eyebrow,
  .section-label {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .eyebrow::before,
  .section-label::before {
    display: none;
  }

  body:not(.final-page) .hero-panel {
    display: block;
    min-height: auto;
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body:not(.final-page) .hero-panel::before,
  body:not(.final-page) .studio-card,
  body:not(.final-page) .studio-note {
    display: none;
  }

  body:not(.final-page) .hero-proof {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 0;
    border-top: 0;
  }

  body:not(.final-page) .hero-proof div {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 14px 12px;
    border: 1px solid rgba(24, 22, 16, 0.13);
    background: rgba(255, 250, 241, 0.56);
  }

  body:not(.final-page) .hero-proof strong {
    display: block;
    color: var(--deep);
    font-size: 0.86rem;
    line-height: 1.15;
  }

  body:not(.final-page) .hero-proof span {
    display: block;
    margin-top: 0;
    font-size: 0.78rem;
    line-height: 1.32;
  }

  .final-page .hero-panel {
    padding: 18px;
  }

  .final-page .studio-card {
    min-height: 150px;
    padding: 48px 20px 22px;
  }

  .final-page .studio-card p {
    font-size: 1.5rem;
  }

  .final-page .hero-proof div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 14px 0;
  }

  .section-intro {
    gap: 18px;
    margin-bottom: 28px;
  }

  .section-intro > *,
  .statement > *,
  .service-row > div,
  .methods > *,
  .contact-section > * {
    min-width: 0;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
    border: 1px solid rgba(24, 22, 16, 0.13);
    background: rgba(255, 250, 241, 0.46);
  }

  .service-list {
    gap: 12px;
    border-top: 0;
  }

  .service-row > span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(166, 99, 61, 0.28);
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.75);
    font-size: 0.78rem;
  }

  .service-row h3 {
    font-size: 1.12rem;
  }

  .service-row p,
  .statement-copy p,
  .method-grid p,
  .work-table p,
  .stack-lines p,
  .audience-copy p,
  .contact-copy p {
    font-size: 0.98rem;
  }

  .statement,
  .service-section,
  .audience-section,
  .methods,
  .work-section,
  .stack-section,
  .contact-section {
    width: min(var(--max), calc(100% - 36px));
    padding: 58px 0;
  }

  .methods {
    padding-right: 18px;
    padding-left: 18px;
  }

  .work-section {
    overflow: hidden;
  }

  .work-table {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    border: 0;
    padding-bottom: 4px;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .work-table article {
    flex: 0 0 min(86vw, 318px);
    min-height: 340px;
    border: 1px solid rgba(24, 22, 16, 0.16);
    scroll-snap-align: start;
  }

  .work-type {
    margin-bottom: 24px;
  }

  .work-table small {
    margin-top: 22px;
  }

  .stack-lines strong {
    display: block;
    min-width: 0;
    margin-bottom: 4px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-page {
    width: min(var(--max), calc(100% - 36px));
    padding-top: 48px;
  }
}
