:root {
  --bg: #f5f1e8;
  --surface: #ece4d5;
  --ink: #181512;
  --muted: rgba(24, 21, 18, 0.72);
  --line: rgba(24, 21, 18, 0.12);
  --accent: #9f7a43;
  --accent-soft: rgba(159, 122, 67, 0.14);
  --shadow: 0 30px 80px rgba(37, 26, 14, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 248, 239, 0.7) transparent;
  background: #111111;
}

html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  background: rgba(255, 248, 239, 0.7);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background-color: #111111;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 32%),
    linear-gradient(180deg, #f8f4ec 0%, var(--bg) 100%);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(1.25rem + env(safe-area-inset-top)) 2rem 1.25rem;
  mix-blend-mode: normal;
  transition: transform 220ms ease, background-color 220ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 13, 10, 0.44), transparent);
  z-index: -1;
  transition: opacity 220ms ease;
}

.site-header[data-header-visible="false"] {
  transform: translateY(-100%);
}

.site-header[data-menu-open="true"] {
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(18px);
}

.site-header[data-menu-open="true"]::before {
  opacity: 1;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.92), rgba(245, 241, 232, 0.82));
}

.site-header[data-in-hero="true"] .brand-lockup {
  opacity: 0;
  pointer-events: none;
}

.brand-lockup,
.brand-lockup-spacer,
.menu-toggle {
  position: relative;
  z-index: 2;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 249, 239, 0.88);
  transition: opacity 180ms ease;
}

.brand-lockup-spacer {
  width: 3rem;
  height: 2.75rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 1.3rem;
  height: 2px;
  border-radius: 999px;
  background: #fff8ef;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header[data-menu-open="true"] .menu-toggle span:nth-child(1) {
  transform: translateY(0.4rem) rotate(45deg);
}

.site-header[data-menu-open="true"] .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header[data-menu-open="true"] .menu-toggle span:nth-child(3) {
  transform: translateY(-0.4rem) rotate(-45deg);
}

.site-header[data-menu-open="true"] .menu-toggle span {
  background: rgba(24, 21, 18, 0.88);
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 249, 239, 0.88);
}

.hero {
  position: relative;
  min-height: 100svh;
  height: 100svh;
  padding-top: env(safe-area-inset-top);
  overflow: clip;
  background: #111111;
}

.hero-media,
.hero-media img,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  transform: scale(1.06);
  animation: heroScale 9s ease-out forwards;
  display: block;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(13, 10, 7, 0.78) 0%, rgba(13, 10, 7, 0.54) 38%, rgba(13, 10, 7, 0.18) 100%),
    linear-gradient(180deg, rgba(13, 10, 7, 0.26), rgba(13, 10, 7, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
  width: min(42rem, calc(100% - 3rem));
  margin-left: clamp(1.5rem, 6vw, 5rem);
  padding: calc(7rem + env(safe-area-inset-top)) 0 calc(3rem + env(safe-area-inset-bottom));
  color: #fff8ef;
}

.brand-kicker,
.eyebrow,
.service-item span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand-kicker {
  margin: 0;
  opacity: 0;
  animation: rise 700ms ease-out 120ms forwards;
}

.hero h1,
.hero h2,
.hero-copy,
.hero-actions,
.section,
.service-item,
.proof-item {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 800ms ease-out forwards;
}

.hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4.4rem, 11vw, 9.2rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  animation-delay: 180ms;
}

.hero h2 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.96;
  font-weight: 600;
  animation-delay: 280ms;
}

.hero-copy {
  max-width: 34rem;
  margin: 0.4rem 0 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 248, 239, 0.8);
  animation-delay: 380ms;
}

.hero-copy-mobile {
  display: none;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.4rem;
  animation-delay: 480ms;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.3rem;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

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

.button-primary {
  background: #f7efe2;
  color: #191511;
}

.button-secondary {
  color: #fff8ef;
  border-color: rgba(255, 248, 239, 0.4);
  background: rgba(255, 248, 239, 0.06);
  backdrop-filter: blur(10px);
}

.section {
  padding: 6rem 1.5rem;
  animation-timeline: view();
  animation-range: entry 12% cover 28%;
}

.intro,
.proof,
.contact,
.team {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), transparent 34%),
    radial-gradient(circle at top right, rgba(159, 122, 67, 0.08), transparent 28%),
    transparent;
}

.services {
  background:
    linear-gradient(180deg, rgba(159, 122, 67, 0.08), rgba(159, 122, 67, 0.02)),
    var(--surface);
}

.section-heading {
  display: grid;
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto 3rem;
}

.section-heading h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.section-heading p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

.intro-list,
.proof-grid {
  display: grid;
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.intro-list p,
.proof-item p {
  margin: 0;
  padding: 1rem 0;
  font-size: 1.08rem;
  border-bottom: 1px solid var(--line);
  animation-delay: 120ms;
}

.service-list {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 32rem);
  gap: 3.5rem;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  animation-timeline: view();
  animation-range: entry 12% cover 24%;
}

.service-panel-reverse .service-copy {
  order: 2;
}

.service-panel-reverse .service-visual {
  order: 1;
}

.service-copy {
  display: grid;
  gap: 1rem;
  max-width: 33rem;
}

.service-copy h4,
.service-copy p {
  margin: 0;
}

.service-copy h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.98;
}

.service-copy p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.service-points {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.45rem;
}

.service-points li::marker {
  color: var(--accent);
}

.service-visual {
  position: relative;
}

.visual-shell {
  min-height: 24rem;
  padding: 1.2rem;
  border: 1px solid rgba(24, 21, 18, 0.08);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.44)),
    #efe5d5;
  box-shadow: var(--shadow);
}

.visual-header {
  width: 6rem;
  height: 0.5rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: rgba(24, 21, 18, 0.12);
}

.lead-flow {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  padding: 0.35rem 0;
}

.flow-card,
.custom-node {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0 1rem;
  border-radius: 1rem;
  background: rgba(255, 248, 239, 0.88);
  color: #26484b;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 40px rgba(38, 72, 75, 0.08);
}

.flow-source {
  min-width: 9.5rem;
  min-height: 3.25rem;
  padding-inline: 1.2rem;
  border-radius: 1.15rem;
  background: rgba(255, 251, 246, 0.96);
}

.flow-ai {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  width: min(100%, 19rem);
  min-height: 4.75rem;
  padding: 1rem 1.4rem;
  border-radius: 1.5rem;
  background: #26484b;
  color: #fff8ef;
  box-shadow: 0 24px 48px rgba(38, 72, 75, 0.2);
}

.flow-ai-meta {
  color: rgba(255, 248, 239, 0.62);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-ai-title {
  font-size: 1rem;
}

.flow-ai-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.flow-ai-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.05rem 0.8rem;
  border: 1px solid rgba(255, 248, 239, 0.18);
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.08);
  color: rgba(255, 248, 239, 0.82);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.flow-line {
  width: 2px;
  height: 2.35rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(38, 72, 75, 0.14), rgba(38, 72, 75, 0.34));
}

.flow-result {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  width: min(100%, 19rem);
  min-height: 5.1rem;
  padding: 1rem 1.35rem 1.05rem;
  border-radius: 1.25rem;
  background: rgba(255, 251, 246, 0.94);
}

.flow-result-status {
  color: rgba(38, 72, 75, 0.74);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-result-time {
  color: rgba(38, 72, 75, 0.7);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.flow-result-owner {
  color: #26484b;
  font-size: 1rem;
  font-weight: 700;
}

.review-flow {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  padding: 0.35rem 0;
}

.review-source {
  min-width: 10.25rem;
  min-height: 3.25rem;
  padding-inline: 1.2rem;
  border-radius: 1.15rem;
  background: rgba(255, 251, 246, 0.96);
}

.review-request {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  width: min(100%, 19rem);
  min-height: 4.75rem;
  padding: 1rem 1.4rem;
  border-radius: 1.5rem;
  background: #26484b;
  color: #fff8ef;
  box-shadow: 0 24px 48px rgba(38, 72, 75, 0.2);
}

.review-request-meta {
  color: rgba(255, 248, 239, 0.62);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-request-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.review-request-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.review-request-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.05rem 0.8rem;
  border: 1px solid rgba(255, 248, 239, 0.18);
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.08);
  color: rgba(255, 248, 239, 0.82);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.review-result {
  display: grid;
  gap: 0.45rem;
  width: min(100%, 20.25rem);
  padding: 1.25rem 1.3rem;
  border-radius: 1.4rem;
  background: rgba(255, 251, 246, 0.94);
  box-shadow: 0 18px 40px rgba(38, 72, 75, 0.08);
}

.review-stars {
  color: #b9853e;
  font-size: 1.32rem;
  letter-spacing: 0.12em;
}

.review-quote {
  margin: 0;
  color: #26484b;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  text-wrap: balance;
}

.review-published {
  color: rgba(38, 72, 75, 0.66);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.review-average {
  color: #26484b;
  font-size: 1rem;
  font-weight: 700;
}

.custom-flow {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  padding: 0.35rem 0;
}

.custom-systems {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  width: min(100%, 18.5rem);
}

.custom-system {
  min-height: 3.35rem;
  padding-inline: 0.95rem;
  border-radius: 1.05rem;
  background: rgba(255, 251, 246, 0.94);
  font-size: 0.9rem;
}

.custom-solution {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  width: min(100%, 19rem);
  min-height: 4.8rem;
  padding: 1rem 1.35rem;
  border-radius: 1.5rem;
  background: #26484b;
  color: #fff8ef;
  box-shadow: 0 24px 48px rgba(38, 72, 75, 0.2);
}

.custom-solution-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.custom-solution-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.custom-solution-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.05rem 0.8rem;
  border: 1px solid rgba(255, 248, 239, 0.18);
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.08);
  color: rgba(255, 248, 239, 0.82);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.custom-result {
  display: grid;
  gap: 0.35rem;
  width: min(100%, 20.25rem);
  padding: 1.2rem 1.3rem 1.1rem;
  border-radius: 1.4rem;
  background: rgba(255, 251, 246, 0.94);
  box-shadow: 0 18px 40px rgba(38, 72, 75, 0.08);
}

.custom-result-title {
  color: #26484b;
  font-size: 1rem;
  font-weight: 700;
}

.custom-result-copy {
  color: rgba(38, 72, 75, 0.72);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
}

.custom-result-status {
  color: rgba(38, 72, 75, 0.58);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-top: 0;
  border-top: 0;
}

.proof-item {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.proof-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(24, 21, 18, 0.46);
}

.proof-item h4 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.4;
  font-weight: 600;
}

.proof-item p {
  padding: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--muted);
  border-bottom: 0;
}

.proof-intro-mobile {
  display: none;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(18rem, 24rem));
  justify-content: center;
  gap: 4.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.team-heading {
  max-width: 52rem;
  grid-template-columns: 1fr;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(24, 21, 18, 0.12);
}

.team-heading-copy {
  display: grid;
  gap: 0.9rem;
}

.team-heading-panel {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding-top: 0.3rem;
}

.team-panel-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(24, 21, 18, 0.58);
}

.team-panel-text {
  margin: 0;
  max-width: 24rem;
  color: rgba(24, 21, 18, 0.74);
  font-size: 0.98rem;
  line-height: 1.7;
}

.team-panel-link {
  width: fit-content;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid rgba(24, 21, 18, 0.36);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  align-content: start;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(24, 21, 18, 0.12);
}

.team-image {
  aspect-ratio: 4 / 4.65;
  width: min(100%, 20.5rem);
  margin: 0 auto;
  overflow: hidden;
  background: rgba(230, 220, 204, 0.9);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}

.team-copy {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  min-width: 0;
  width: min(100%, 20.5rem);
  margin: 0 auto;
}

.team-copy h4,
.team-copy p {
  margin: 0;
}

.team-meta {
  display: block;
}

.team-meta p {
  color: rgba(24, 21, 18, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-copy h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.35rem, 3vw, 3.15rem);
  line-height: 0.96;
}

.team-copy .team-lead {
  color: rgba(24, 21, 18, 0.82);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
}

.team-copy .team-bio {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.78;
  max-width: 30rem;
}

.team-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(24, 21, 18, 0.08);
}

.team-focus p {
  position: relative;
  padding-left: 0.95rem;
  color: rgba(24, 21, 18, 0.7);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-focus p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.35rem;
  height: 1px;
  background: rgba(24, 21, 18, 0.42);
}

.contact {
  padding-bottom: 7rem;
}

.contact-layout {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 33rem);
  gap: 3.5rem;
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 2rem;
}

.contact-heading {
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.9rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(24, 21, 18, 0.18);
  border-radius: 0;
  padding: 0.7rem 0 0.6rem;
  font: inherit;
  color: var(--ink);
  background: transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

.form-field input {
  min-height: 2.7rem;
}

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

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(24, 21, 18, 0.38);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: rgba(159, 122, 67, 0.72);
  color: #120f0d;
}

.contact-submit {
  width: 100%;
  margin-top: 0.5rem;
  box-shadow: none;
}

.contact-assurance {
  margin: 0.1rem 0 0;
  color: rgba(24, 21, 18, 0.58);
  font-size: 0.9rem;
  line-height: 1.5;
}

.site-footer {
  padding: 0 1.5rem 2.5rem;
  background:
    linear-gradient(180deg, rgba(42, 29, 18, 0.92), rgba(28, 18, 11, 0.98)),
    #24170f;
}

.footer-inner,
.footer-base {
  max-width: 72rem;
  margin: 0 auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(12rem, 0.7fr) minmax(14rem, 0.7fr);
  gap: 2rem;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(255, 248, 239, 0.14);
}

.footer-brand,
.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.footer-brand p:not(.footer-label),
.footer-base p,
.footer-links a,
.footer-contact a {
  margin: 0;
  color: rgba(255, 248, 239, 0.78);
  line-height: 1.7;
}

.footer-brand p {
  max-width: 28rem;
}

.footer-label,
.footer-base p:first-child {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 248, 239, 0.52);
}

.footer-links a,
.footer-contact a {
  width: fit-content;
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: #fff8ef;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  margin-top: 0.4rem;
  padding: 0 1.2rem;
  border: 1px solid rgba(255, 248, 239, 0.22);
  background: rgba(255, 248, 239, 0.08);
  color: #fff8ef;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 248, 239, 0.1);
}

.subpage {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 32%),
    linear-gradient(180deg, #f8f4ec 0%, var(--bg) 100%);
}

.subpage .site-header {
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(18px);
}

.subpage .site-header::before {
  opacity: 1;
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.92), rgba(245, 241, 232, 0.82));
}

.subpage .site-nav {
  color: rgba(24, 21, 18, 0.82);
}

.subpage .menu-toggle span {
  background: rgba(24, 21, 18, 0.88);
}

.policy-page {
  padding-top: 8rem;
  padding-bottom: 6rem;
}

.policy-shell {
  width: min(100%, 62rem);
  margin: 0 auto;
}

.policy-heading {
  width: min(38rem, 100%);
  margin: 0 0 4rem;
  text-align: left;
}

.policy-heading h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
}

.privacy-content {
  position: relative;
  display: grid;
  gap: 1.6rem;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border: 1px solid rgba(24, 21, 18, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.5)),
    rgba(239, 229, 213, 0.6);
  box-shadow: var(--shadow);
}

.privacy-content > p,
.privacy-block p,
.privacy-updated {
  margin: 0;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

.privacy-block {
  display: grid;
  gap: 0.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.privacy-block h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.privacy-content a {
  border-bottom: 1px solid rgba(24, 21, 18, 0.28);
}

.privacy-updated {
  padding-top: 1rem;
  color: rgba(24, 21, 18, 0.58);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScale {
  to {
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .hero,
  .hero-content {
    min-height: 100lvh;
  }

  .site-header {
    padding: calc(1rem + env(safe-area-inset-top)) 1rem 1rem;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    min-height: 100svh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    padding: 6rem 1.5rem 2rem;
    font-size: 0.92rem;
    letter-spacing: 0.12em;
    color: rgba(24, 21, 18, 0.82);
    background:
      radial-gradient(circle at top left, rgba(245, 241, 232, 0.96), transparent 32%),
      linear-gradient(180deg, #f8f4ec 0%, var(--bg) 100%);
  }

  .site-header[data-menu-open="true"] .site-nav {
    display: flex;
  }

  .site-header[data-menu-open="true"] .site-nav a {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    width: calc(100% - 2rem);
    margin-left: 1rem;
    justify-content: flex-end;
    padding: calc(9rem + env(safe-area-inset-top)) 0 calc(7.5rem + env(safe-area-inset-bottom));
  }

  .hero-media img {
    object-position: 76% center;
  }

  .hero h1 {
    display: none;
  }

  .hero h2 {
    max-width: 14ch;
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }

  .hero-copy-desktop {
    display: none;
  }

  .hero-copy-mobile {
    display: block;
  }

  .section {
    padding: 4.5rem 1rem;
  }

  .proof .section-heading {
    gap: 1rem;
    margin-bottom: 2.5rem;
  }

  .proof .section-heading p {
    line-height: 1.7;
  }

  .service-panel,
  .proof-grid,
  .team-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .policy-heading {
    margin-bottom: 2.5rem;
  }

  .privacy-content {
    gap: 1.35rem;
    padding: 1.35rem;
  }

  .privacy-block {
    padding-top: 1.15rem;
  }

  .proof-grid {
    gap: 0;
    padding-top: 1.5rem;
  }

  .proof-item {
    gap: 0.45rem;
    padding: 1.5rem 0 0;
  }

  .proof-item + .proof-item {
    margin-top: 1.5rem;
  }

  .proof-item h4 {
    font-size: 1.08rem;
  }

  .proof-item p {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .team-heading,
  .team-card {
    grid-template-columns: 1fr;
  }

  .team-heading {
    gap: 1.5rem;
    padding-bottom: 2rem;
  }

  .team-card {
    gap: 1rem;
    padding-top: 1rem;
  }

  .team-grid {
    gap: 2.25rem;
  }

  .contact-layout {
    gap: 2rem;
  }

  .footer-inner,
  .footer-base {
    grid-template-columns: 1fr;
  }

  .footer-base {
    display: grid;
  }

  .contact-heading {
    gap: 0.75rem;
    margin-bottom: 0;
  }

  .contact-heading h3 {
    font-size: clamp(1.95rem, 8vw, 2.7rem);
    line-height: 0.94;
  }

  .contact-heading p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .contact-form {
    margin-top: 0;
    padding: 0 0 18svh;
    gap: 0.7rem;
  }

  .form-field input {
    min-height: 2.45rem;
  }

  .form-field textarea {
    min-height: 7rem;
  }

  .service-panel {
    gap: 1.5rem;
  }

  .service-panel-reverse .service-copy,
  .service-panel-reverse .service-visual {
    order: initial;
  }

  .visual-shell {
    min-height: 20rem;
  }

  .custom-flow {
    gap: 0.75rem;
    padding: 0.2rem 0;
  }

  .custom-systems {
    width: min(100%, 16.75rem);
    gap: 0.65rem;
  }

  .custom-system {
    min-height: 3rem;
    padding-inline: 0.8rem;
    font-size: 0.84rem;
  }

  .custom-solution {
    width: min(100%, 16.5rem);
    min-height: 4.35rem;
    padding: 0.9rem 1.05rem;
    gap: 0.4rem;
  }

  .custom-solution-badges {
    gap: 0.35rem;
  }

  .custom-result {
    width: min(100%, 17.5rem);
    padding: 1rem 1.05rem 0.95rem;
  }

  .custom-result-copy {
    font-size: 0.88rem;
  }

  .review-flow {
    gap: 0.75rem;
    padding: 0.2rem 0;
  }

  .review-request {
    width: min(100%, 16.5rem);
    min-height: 4.35rem;
    padding: 0.9rem 1.1rem;
    gap: 0.4rem;
  }

  .review-request-badges {
    gap: 0.35rem;
  }

  .review-result {
    width: min(100%, 17.25rem);
    padding: 1.05rem 1.05rem 1rem;
    gap: 0.4rem;
  }

  .review-quote {
    font-size: 0.94rem;
    line-height: 1.4;
  }

  .review-published {
    font-size: 0.74rem;
  }

  .flow-ai {
    width: min(100%, 16.5rem);
    min-height: 4.35rem;
    padding: 0.9rem 1.1rem;
    gap: 0.35rem;
  }

  .flow-ai-badges {
    gap: 0.35rem;
  }

  .flow-result {
    width: min(100%, 16rem);
    min-height: 4.6rem;
    padding: 0.85rem 1.05rem 0.95rem;
  }

  .flow-line {
    height: 1.5rem;
  }

  .flow-result-time {
    font-size: 0.8rem;
  }

  .flow-result-owner {
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .site-header[data-in-footer="true"] .brand-lockup {
    opacity: 0;
    pointer-events: none;
  }

  .site-header[data-in-footer="true"] .brand-lockup-spacer {
    opacity: 0;
    pointer-events: none;
  }

  .site-footer {
    padding: 0 1rem calc(2.75rem + env(safe-area-inset-bottom));
  }

  .proof .section-heading {
    margin-bottom: 2.25rem;
  }

  .proof-intro-desktop {
    display: none;
  }

  .proof-intro-mobile {
    display: block;
  }

  .proof-grid {
    padding-top: 1.6rem;
  }
}

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

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

  .hero h1,
  .hero h2,
  .hero-copy,
  .hero-actions,
  .section,
  .service-panel,
  .proof-item,
  .brand-kicker {
    opacity: 1;
    transform: none;
  }
}
