:root {
  --ink: #1a1814;
  --ink-soft: #3d3933;
  --paper: #f6f1ea;
  --paper-2: #efe7dc;
  --clay: #c2410c;
  --clay-dark: #9a3412;
  --muted: #6f6a62;
  --line: rgba(26, 24, 20, 0.12);
  --line-strong: rgba(26, 24, 20, 0.22);
  --white: #fffaf5;
  --shadow: 0 24px 50px -28px rgba(26, 24, 20, 0.45);
  --radius: 18px;
  --header-h: 4.5rem;
  --wrap: 72rem;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 1.05rem;
  min-height: 100dvh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
dl {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

@media (min-width: 720px) {
  .wrap {
    width: min(100% - 4rem, var(--wrap));
  }

  .header-inner {
    padding-inline: 2rem;
  }
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 999px;
}

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

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--clay);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--clay-dark);
}

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

.btn-ghost:hover {
  background: var(--paper-2);
}

.btn-full {
  width: 100%;
  border: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1rem;
}

.eyebrow.light {
  color: #f0b199;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin-bottom: 0.85rem;
}

.section-head p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px var(--ink);
}

.header-inner {
  width: min(100%, var(--wrap));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  flex-shrink: 0;
}

.brand-mark span {
  background: var(--ink);
  border-radius: 1px;
}

.brand-mark span:nth-child(2),
.brand-mark span:nth-child(3) {
  background: var(--clay);
}

.brand-mark span:nth-child(4) {
  background: color-mix(in srgb, var(--ink) 28%, transparent);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-place {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.6rem;
}

.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:not(.nav-cta):hover {
  color: var(--clay);
}

.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--clay);
}

.menu-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

body.nav-open .menu-btn span:first-child {
  transform: translateY(4px) rotate(45deg);
}

body.nav-open .menu-btn span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 24, 20, 0.35);
  z-index: 30;
}

@media (min-width: 760px) {
  .menu-btn,
  .nav-backdrop {
    display: none !important;
  }

  .nav {
    display: flex;
  }
}

@media (max-width: 759px) {
  .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    width: 100%;
    height: calc(100dvh - var(--header-h));
    background: var(--paper);
    padding: 1.5rem 1.5rem 2rem;
    gap: 0.4rem;
    transform: translateX(110%);
    transition: transform 0.35s var(--ease);
    z-index: 35;
    border-left: 0;
  }

  body.nav-open .nav {
    transform: translateX(0);
  }

  .nav a {
    font-size: 1.35rem;
    font-family: var(--display);
    padding: 0.7rem 0;
    width: 100%;
  }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    font-family: var(--font) !important;
    font-size: 1rem !important;
  }
}

/* Hero */
.hero {
  padding: 2.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5.1rem);
  max-width: 14ch;
  margin-bottom: 1.2rem;
}

.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 38rem;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 8.5rem 7rem;
  gap: 0.7rem;
  width: 100%;
  min-height: 16.5rem;
}

.tile {
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.tile-label {
  position: absolute;
  left: 1rem;
  bottom: 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tile-photo {
  grid-row: 1 / 3;
  background:
    linear-gradient(180deg, transparent 30%, rgba(26, 24, 20, 0.55)),
    radial-gradient(circle at 30% 20%, #f4c7ae, transparent 45%),
    linear-gradient(145deg, #2a241e, #6b4334 55%, #c2410c);
  color: var(--white);
}

.tile-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3.1rem;
  height: 3.1rem;
  border: 1.5px solid rgba(255, 250, 245, 0.7);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.tile-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent var(--white);
}

.tile-clay {
  background: var(--clay);
  color: var(--white);
}

.tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 8px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.tile-grid span {
  background: var(--ink);
  border-radius: 4px;
  opacity: 0.9;
}

.tile-grid span:nth-child(2),
.tile-grid span:nth-child(3) {
  background: var(--clay);
}

.tile-grid span:nth-child(4) {
  opacity: 0.18;
}

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

@media (min-width: 760px) {
  .hero {
    padding: 4.5rem 0 5rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 2.5rem;
  }

  .hero-mosaic {
    grid-template-rows: 11rem 9rem;
    min-height: 20.5rem;
  }
}

@media (min-width: 900px) {
  .hero-grid {
    gap: 4rem;
  }

  .hero-mosaic {
    grid-template-rows: 12rem 10rem;
    min-height: 22.5rem;
  }
}

/* Strip */
.strip {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
}

.strip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  padding: 1rem 0;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}

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

/* Services */
.services {
  padding: 4.5rem 0 2rem;
}

.service-list {
  display: grid;
  gap: 1rem;
}

.service {
  display: grid;
  gap: 0.6rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

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

.service-num {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--clay);
}

.service h3 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  margin-bottom: 0.55rem;
}

.service-body p {
  color: var(--ink-soft);
  max-width: 40rem;
}

.service ul {
  list-style: none;
  padding: 0;
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
}

@media (min-width: 800px) {
  .services {
    padding: 6rem 0 3rem;
  }

  .service {
    grid-template-columns: 5rem 1fr;
    gap: 1.5rem;
    padding: 2.1rem 0;
  }
}

/* Engagements */
.engagements {
  padding: 3rem 0 4.5rem;
}

.engage-grid {
  display: grid;
  gap: 1rem;
}

.engage {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.4rem 1.3rem 1.5rem;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.engage:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--clay) 45%, var(--line));
}

.engage h3 {
  font-size: 1.55rem;
  margin-bottom: 0.55rem;
}

.engage p {
  color: var(--muted);
}

@media (min-width: 760px) {
  .engage-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }

  .engage {
    padding: 1.7rem 1.6rem 1.8rem;
  }
}

/* Process */
.process {
  padding: 4.5rem 0;
  background: var(--ink);
  color: var(--paper);
}

.process .eyebrow {
  color: #f0b199;
}

.process .section-head p:last-child {
  color: #c9c1b6;
}

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: none;
}

.steps li {
  padding-top: 1.3rem;
  border-top: 1px solid rgba(246, 241, 234, 0.14);
}

.step-num {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #f0b199;
  margin-bottom: 0.7rem;
}

.steps h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.steps p {
  color: #c9c1b6;
  max-width: 28rem;
}

@media (min-width: 760px) {
  .process {
    padding: 6rem 0;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .steps li {
    padding-top: 0;
    border-top: 0;
    border-left: 1px solid rgba(246, 241, 234, 0.14);
    padding-left: 1.6rem;
  }

  .steps li:first-child {
    border-left: 0;
    padding-left: 0;
  }
}

/* Contact */
.contact {
  padding: 4.5rem 0 5rem;
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact h2 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin-bottom: 0.9rem;
}

.contact-copy > p:nth-of-type(2) {
  color: var(--muted);
  max-width: 32rem;
}

.contact-facts {
  margin-top: 2rem;
  display: grid;
  gap: 1.2rem;
}

.contact-facts dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-facts a {
  color: var(--clay);
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

.contact-facts a:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  padding: 1.3rem;
  display: grid;
  gap: 0.95rem;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font-size: 16px;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231a1814' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 6 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--clay);
  outline-offset: 1px;
  border-color: var(--clay);
}

.form-status {
  min-height: 1.2rem;
  font-size: 0.9rem;
  color: var(--clay-dark);
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 760px) {
  .contact {
    padding: 6rem 0 6.5rem;
  }

  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.5rem;
    align-items: start;
  }

  .contact-form {
    padding: 1.7rem;
  }
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #c9c1b6;
  padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom));
}

.footer-grid {
  display: grid;
  gap: 1.3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer .brand-mark span:first-child,
.site-footer .brand-mark span:nth-child(4) {
  background: var(--paper);
}

.footer-name {
  color: var(--paper);
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.3rem;
}

.footer-nav a {
  text-decoration: none;
  color: var(--paper);
  font-weight: 500;
}

.footer-nav a:hover {
  color: #f0b199;
}

.footer-copy {
  font-size: 0.85rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .footer-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .hero-mosaic {
    grid-template-rows: 7.5rem 6.2rem;
  }

  .contact-form {
    padding: 1.05rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
