:root {
  --ink: #14231d;
  --muted: #5d6a64;
  --paper: #fbfaf6;
  --mist: #eef3ef;
  --sage: #2e6f5b;
  --sage-dark: #194b3f;
  --coral: #d86f55;
  --gold: #d8a841;
  --line: rgba(20, 35, 29, 0.14);
  --shadow: 0 24px 70px rgba(20, 35, 29, 0.13);
  --ease-out: cubic-bezier(0.2, 0.85, 0.25, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Newsreader", Georgia, serif;
  font-size: 18px;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 12% 18%, rgba(216, 168, 65, 0.16), transparent 28%),
    radial-gradient(circle at 86% 72%, rgba(216, 111, 85, 0.13), transparent 30%);
  animation: atmosphere 14s var(--ease-out) infinite alternate;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  animation: dropIn 0.8s var(--ease-out) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
}

.brand-logo {
  width: clamp(128px, 14vw, 178px);
  height: auto;
  max-height: 46px;
  object-fit: contain;
  transition: filter 0.35s ease, transform 0.35s var(--ease-out);
}

.brand:hover .brand-logo {
  filter: drop-shadow(0 10px 18px rgba(46, 111, 91, 0.22));
  transform: translateY(-1px);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: transform 0.35s var(--ease-out), background 0.35s var(--ease-out);
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.06);
  background: var(--sage);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-width: max-content;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s var(--ease-out);
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--mist);
  color: var(--ink);
}

.site-nav a:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 79px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(36px, 8vw, 88px);
}

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

.hero-media {
  object-fit: cover;
  animation: cinematicZoom 18s var(--ease-out) infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(20, 35, 29, 0.9), rgba(20, 35, 29, 0.54), rgba(20, 35, 29, 0.16)),
    linear-gradient(0deg, rgba(20, 35, 29, 0.56), rgba(20, 35, 29, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  color: white;
}

.hero-content > * {
  animation: riseIn 0.9s var(--ease-out) both;
}

.hero-content > :nth-child(2) {
  animation-delay: 0.12s;
}

.hero-content > :nth-child(3) {
  animation-delay: 0.24s;
}

.hero-content > :nth-child(4) {
  animation-delay: 0.36s;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-hero .eyebrow {
  color: #f2b08e;
}

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

h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 960px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 6.4vw, 5.8rem);
  font-weight: 700;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.4rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.hero p {
  max-width: 670px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hero-actions,
.cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, background 0.25s ease;
}

.button.primary {
  background: var(--sage);
  color: white;
  box-shadow: 0 16px 34px rgba(46, 111, 91, 0.24);
}

.button.primary:hover {
  background: var(--sage-dark);
  box-shadow: 0 20px 42px rgba(46, 111, 91, 0.34);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.58);
  color: white;
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

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

.section {
  padding: clamp(56px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
}

.intro-grid p {
  color: var(--muted);
  font-size: 1.25rem;
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.metrics-band div {
  min-height: 170px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--sage-dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.metrics-band div::after {
  position: absolute;
  inset: auto -40% -70% -40%;
  height: 130px;
  content: "";
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(-8deg);
  transition: transform 0.45s var(--ease-out);
}

.metrics-band div:hover::after {
  transform: translateY(-24px) rotate(-8deg);
}

.metrics-band strong {
  display: block;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 1;
}

.metrics-band span {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.feature-card {
  min-height: 245px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 34px rgba(20, 35, 29, 0.06);
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s ease, border-color 0.32s ease;
}

.feature-card:hover {
  border-color: rgba(46, 111, 91, 0.36);
  box-shadow: 0 24px 54px rgba(20, 35, 29, 0.12);
  transform: translateY(-8px);
}

.feature-card.large {
  min-height: 285px;
}

.feature-card svg,
.values-panel svg,
.contact-methods svg {
  width: 28px;
  height: 28px;
  margin-bottom: 22px;
  color: var(--sage);
  stroke-width: 1.7;
  transition: transform 0.32s var(--ease-out), color 0.32s ease;
}

.feature-card:hover svg,
.values-panel article:hover svg {
  color: var(--coral);
  transform: scale(1.14) rotate(-5deg);
}

.feature-card p,
.story-copy p,
.split-section p,
.contact-copy p,
.contact-image p,
.values-panel p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background: var(--mist);
}

.split-section img,
.page-hero img {
  width: 100%;
  height: min(520px, 58vw);
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.6s var(--ease-out), filter 0.6s ease;
}

.split-section:hover img,
.page-hero:hover img {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.025);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sage-dark);
  font-weight: 700;
}

.text-link svg {
  transition: transform 0.25s var(--ease-out);
}

.text-link:hover svg {
  transform: translateX(5px);
}

.text-link svg {
  width: 18px;
  height: 18px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(64px, 10vw, 128px) clamp(20px, 5vw, 72px);
  background: var(--mist);
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 6.6rem);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 76px);
}

.values-panel {
  display: grid;
  gap: 16px;
}

.values-panel article {
  padding: 24px;
  border-left: 4px solid var(--gold);
  background: white;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.values-panel article:hover {
  box-shadow: 0 18px 42px rgba(20, 35, 29, 0.1);
  transform: translateX(8px);
}

.culture-band,
.cta-band {
  background: var(--ink);
  color: white;
}

.culture-band h2,
.cta-band h2 {
  max-width: 900px;
}

.culture-copy {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.2rem;
}

.process-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.process-card {
  position: relative;
  display: grid;
  min-height: 210px;
  align-content: center;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: white;
  cursor: pointer;
  font: inherit;
  overflow: hidden;
  text-align: left;
  transition: transform 0.32s var(--ease-out), background 0.32s ease, border-color 0.32s ease;
}

.process-card::before {
  position: absolute;
  inset: auto -30% -45% -30%;
  height: 120px;
  content: "";
  background: rgba(216, 111, 85, 0.18);
  transform: rotate(-8deg);
  transition: transform 0.35s var(--ease-out);
}

.process-card:hover,
.process-card:focus-visible {
  border-color: rgba(242, 176, 142, 0.7);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  transform: translateY(-8px);
}

.process-card:hover::before,
.process-card:focus-visible::before {
  transform: translateY(-22px) rotate(-8deg);
}

.process-card svg,
.process-card strong {
  position: relative;
  z-index: 1;
}

.process-card svg {
  width: 34px;
  height: 34px;
  margin: 0 0 24px;
  color: #f2b08e;
  stroke-width: 1.6;
  transition: transform 0.32s var(--ease-out);
}

.process-card:hover svg,
.process-card:focus-visible svg {
  transform: scale(1.14) rotate(-6deg);
}

.process-card strong {
  font-size: 1.55rem;
  line-height: 1;
}

body.modal-open {
  overflow: hidden;
}

.process-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.process-modal.open {
  display: flex;
}

.process-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 25, 20, 0.68);
  backdrop-filter: blur(10px);
}

.process-modal-card {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
  animation: modalRise 0.34s var(--ease-out) both;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  cursor: pointer;
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  background: rgba(46, 111, 91, 0.1);
  color: var(--sage);
}

.modal-icon svg {
  width: 30px;
  height: 30px;
}

.process-modal-card h2 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.modal-description {
  color: var(--muted);
  font-size: 1.25rem;
}

.modal-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.modal-detail-grid div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.modal-detail-grid h3 {
  font-size: 1.2rem;
}

.modal-detail-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-list {
  background: var(--paper);
}

.marketing-island {
  background:
    linear-gradient(180deg, rgba(238, 243, 239, 0.96), rgba(251, 250, 246, 0.98)),
    radial-gradient(circle at 20% 25%, rgba(216, 168, 65, 0.18), transparent 32%),
    radial-gradient(circle at 76% 70%, rgba(46, 111, 91, 0.14), transparent 34%);
}

.marketing-island .section-heading {
  max-width: 850px;
}

.marketing-island .section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.2rem;
}

.island-map {
  position: relative;
  min-height: 570px;
  margin-top: 38px;
  overflow: hidden;
  border: 1px solid rgba(20, 35, 29, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(238, 243, 239, 0.68)),
    repeating-linear-gradient(
      45deg,
      rgba(20, 35, 29, 0.035) 0,
      rgba(20, 35, 29, 0.035) 1px,
      transparent 1px,
      transparent 18px
    );
  box-shadow: var(--shadow);
}

.island-map::before {
  position: absolute;
  inset: 8% 5%;
  content: "";
  border-radius: 48% 52% 45% 55% / 56% 42% 58% 44%;
  background:
    radial-gradient(circle at 28% 35%, rgba(216, 168, 65, 0.26), transparent 24%),
    radial-gradient(circle at 70% 52%, rgba(216, 111, 85, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(46, 111, 91, 0.22), rgba(255, 255, 255, 0.4));
  filter: blur(0.2px);
  animation: islandFloat 8s var(--ease-out) infinite alternate;
}

.island-map::after {
  position: absolute;
  right: 34px;
  bottom: 28px;
  z-index: 1;
  width: 140px;
  height: 140px;
  content: "";
  border: 1px solid rgba(20, 35, 29, 0.12);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(20, 35, 29, 0.12) 49%, rgba(20, 35, 29, 0.12) 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(20, 35, 29, 0.12) 49%, rgba(20, 35, 29, 0.12) 51%, transparent 52%);
  opacity: 0.7;
}

.route-line {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.route-line path {
  fill: none;
  stroke: var(--coral);
  stroke-width: 5;
  stroke-dasharray: 12 14;
  stroke-linecap: round;
  filter: drop-shadow(0 8px 12px rgba(216, 111, 85, 0.22));
  animation: routeTravel 18s linear infinite;
}

.map-node {
  position: absolute;
  z-index: 3;
  width: min(230px, 24vw);
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(20, 35, 29, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(20, 35, 29, 0.12);
  backdrop-filter: blur(12px);
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s ease, border-color 0.32s ease;
}

.map-node:hover {
  border-color: rgba(216, 111, 85, 0.38);
  box-shadow: 0 28px 60px rgba(20, 35, 29, 0.16);
  transform: translateY(-8px) scale(1.02);
}

.map-node::before {
  position: absolute;
  top: -13px;
  left: 22px;
  width: 24px;
  height: 24px;
  content: "";
  border: 4px solid white;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(216, 111, 85, 0.16);
}

.node-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  margin-bottom: 16px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(46, 111, 91, 0.1);
  color: var(--sage-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.map-node svg {
  position: absolute;
  top: 19px;
  right: 18px;
  width: 28px;
  height: 28px;
  color: var(--sage);
  stroke-width: 1.7;
}

.map-node h3 {
  margin-bottom: 8px;
  font-size: 1.55rem;
}

.map-node p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.42;
}

.node-discovery {
  left: 4%;
  bottom: 11%;
}

.node-positioning {
  left: 18%;
  top: 12%;
}

.node-creative {
  left: 34%;
  bottom: 18%;
}

.node-launch {
  left: 48%;
  top: 8%;
}

.node-convert {
  right: 22%;
  top: 27%;
}

.node-measure {
  right: 8%;
  bottom: 13%;
}

.node-optimize {
  right: 3%;
  top: 6%;
}

.cta-band {
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4rem);
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.68fr);
  gap: clamp(28px, 6vw, 76px);
  min-height: calc(100vh - 79px);
  align-items: center;
  padding: clamp(56px, 9vw, 112px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(20, 35, 29, 0.92), rgba(20, 35, 29, 0.73)),
    url("https://images.unsplash.com/photo-1557804506-669a67965ba0?auto=format&fit=crop&w=1800&q=82")
      center/cover;
  color: white;
}

.contact-copy h1 {
  font-size: clamp(2.8rem, 7vw, 6.5rem);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-methods a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: white;
  font-weight: 600;
}

.contact-methods svg {
  margin: 0;
  color: #f2b08e;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 8px;
  background: rgba(251, 250, 246, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
  animation: riseIn 0.85s var(--ease-out) 0.18s both;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  background: white;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease-out);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(46, 111, 91, 0.12);
  outline: none;
  transform: translateY(-1px);
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding: 42px clamp(20px, 5vw, 72px);
  background: #101914;
  color: white;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-brand .brand-logo {
  width: 174px;
  filter: drop-shadow(0 10px 20px rgba(216, 168, 65, 0.16));
}

.site-footer p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: grid;
  gap: 9px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-links a:hover {
  color: white;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger > * {
  transition-delay: calc(var(--stagger-index, 0) * 90ms);
}

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

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

@keyframes cinematicZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes atmosphere {
  from {
    opacity: 0.7;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, -18px, 0);
  }
}

@keyframes routeTravel {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -260;
  }
}

@keyframes islandFloat {
  from {
    transform: translateY(0) rotate(-1deg);
  }
  to {
    transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes modalRise {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 79px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    border-radius: 6px;
  }

  .hero {
    min-height: 720px;
    padding: 96px 22px 42px;
  }

  .intro-grid,
  .split-section,
  .page-hero,
  .story-section,
  .contact-hero,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .metrics-band,
  .card-grid.three,
  .card-grid.two {
    grid-template-columns: 1fr;
  }

  .split-section img,
  .page-hero img {
    height: 320px;
  }

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

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

  .island-map {
    display: grid;
    gap: 18px;
    min-height: auto;
    padding: 26px;
  }

  .island-map::before {
    inset: 12px;
  }

  .island-map::after,
  .route-line {
    display: none;
  }

  .map-node,
  .node-discovery,
  .node-positioning,
  .node-creative,
  .node-launch,
  .node-convert,
  .node-measure,
  .node-optimize {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .map-node {
    min-height: auto;
  }

  .map-node::before {
    top: 24px;
    left: -10px;
  }

  .site-footer {
    gap: 18px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 17px;
  }

  .brand {
    font-size: 1.2rem;
  }

  .brand-logo {
    width: 122px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-actions,
  .cta-band {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .process-map,
  .modal-detail-grid {
    grid-template-columns: 1fr;
  }

  .process-card {
    min-height: 168px;
  }

  .contact-methods a {
    width: 100%;
    overflow-wrap: anywhere;
  }
}
