:root {
  --ink: #171412;
  --muted: #6d625c;
  --paper: #f7f2ea;
  --cream: #fffaf2;
  --wine: #8e2f3f;
  --moss: #6f7c63;
  --line: rgba(23, 20, 18, 0.14);
  --shadow: 0 24px 70px rgba(23, 20, 18, 0.16);
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--cream);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-elevated {
  background: rgba(247, 242, 234, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.header-cta,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 14px;
}

.nav {
  gap: 24px;
  font-size: 14px;
}

.header-cta {
  justify-self: end;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.header-cta svg,
.button svg,
.service-card svg,
.check-list svg,
.contact-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 118px clamp(18px, 5vw, 76px) 46px;
  color: var(--cream);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 13, 11, 0.82), rgba(16, 13, 11, 0.42) 46%, rgba(16, 13, 11, 0.12)),
    linear-gradient(0deg, rgba(16, 13, 11, 0.72), rgba(16, 13, 11, 0.04) 58%);
}

.hero-content {
  position: relative;
  max-width: 820px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f3c9bd;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(48px, 8vw, 104px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 68px);
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 250, 242, 0.82);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 780;
  letter-spacing: 0;
}

.button-primary {
  background: var(--wine);
  color: white;
  box-shadow: 0 14px 34px rgba(142, 47, 63, 0.3);
}

.button-secondary {
  border-color: rgba(255, 250, 242, 0.42);
  color: var(--cream);
  backdrop-filter: blur(10px);
}

.hero-stats {
  display: grid;
  max-width: 820px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: rgba(255, 250, 242, 0.2);
}

.hero-stats div {
  min-height: 104px;
  padding: 18px;
  background: rgba(16, 13, 11, 0.34);
  backdrop-filter: blur(16px);
}

.hero-stats dt {
  font-family: Georgia, serif;
  font-size: 34px;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 250, 242, 0.76);
  line-height: 1.35;
}

.section {
  padding: clamp(70px, 9vw, 128px) clamp(18px, 5vw, 76px);
}

.intro-grid,
.section-heading,
.contact,
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.intro p,
.section-heading p,
.split-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.work {
  background: var(--cream);
}

.work-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.work-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ded6cb;
  box-shadow: var(--shadow);
}

.work-card.tall {
  grid-row: span 2;
  min-height: 640px;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.work-card:hover img {
  transform: scale(1.035);
}

.work-card div {
  position: absolute;
  inset: auto 18px 18px;
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(255, 250, 242, 0.28);
  border-radius: var(--radius);
  background: rgba(16, 13, 11, 0.56);
  color: var(--cream);
  backdrop-filter: blur(16px);
}

.work-card span,
.service-card strong {
  color: #f3c9bd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-grid,
.proof-grid,
.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.service-card,
.timeline article,
blockquote,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.62);
}

.service-card {
  min-height: 280px;
  padding: 28px;
}

.service-card.featured {
  background: var(--ink);
  color: var(--cream);
}

.service-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 34px;
  color: var(--wine);
}

.service-card.featured svg {
  color: #f3c9bd;
}

.service-card p,
.timeline p,
blockquote {
  color: var(--muted);
  line-height: 1.62;
}

.service-card.featured p {
  color: rgba(255, 250, 242, 0.74);
}

.split {
  background: #ece5db;
  align-items: center;
}

.split-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.check-list svg {
  margin-top: 3px;
  color: var(--moss);
}

.timeline article {
  min-height: 240px;
  padding: 26px;
}

.timeline span {
  display: block;
  margin-bottom: 46px;
  color: var(--wine);
  font-family: Georgia, serif;
  font-size: 42px;
}

.proof {
  background: var(--ink);
  color: var(--cream);
}

.proof .section-kicker {
  color: #f3c9bd;
}

.proof h2 {
  max-width: 980px;
}

.proof-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

blockquote {
  margin: 0;
  padding: 30px;
  border-color: rgba(255, 250, 242, 0.18);
  background: rgba(255, 250, 242, 0.06);
  color: rgba(255, 250, 242, 0.82);
  font-size: 20px;
}

cite {
  display: block;
  margin-top: 22px;
  color: #f3c9bd;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.contact {
  background: var(--cream);
}

.contact-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(111, 124, 99, 0.28);
  border-radius: var(--radius);
  color: #46553d;
  background: rgba(111, 124, 99, 0.1);
  line-height: 1.45;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  padding: 14px 14px;
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(142, 47, 63, 0.12);
}

.lead-form .button {
  width: 100%;
  margin-top: 4px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #46553d;
  font-weight: 750;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(18px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 96svh;
    padding-top: 104px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(16, 13, 11, 0.82), rgba(16, 13, 11, 0.36)),
      linear-gradient(90deg, rgba(16, 13, 11, 0.78), rgba(16, 13, 11, 0.18));
  }

  .intro-grid,
  .section-heading,
  .contact,
  .split,
  .work-grid,
  .service-grid,
  .proof-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-rows: none;
  }

  .work-card.tall {
    min-height: 460px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 13px;
  }

  .hero {
    min-height: auto;
    padding: 96px 16px 32px;
  }

  h1 {
    font-size: 43px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-copy,
  .intro p,
  .section-heading p,
  .split-copy p,
  .contact-copy p,
  .check-list li {
    font-size: 16px;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

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

  .hero-stats div {
    min-height: 86px;
  }

  .section {
    padding: 58px 16px;
  }

  .work-card,
  .work-card.tall {
    min-height: 360px;
  }

  .footer {
    flex-direction: column;
    padding: 20px 16px;
  }
}
