:root {
  --bg: #090806;
  --ink: #f7efe4;
  --muted: #c8baaa;
  --soft: #ede1d4;
  --line: rgba(151, 119, 78, 0.28);
  --line-strong: rgba(183, 139, 80, 0.52);
  --gold: #b98542;
  --gold-light: #d9b173;
  --brown: #4a3021;
  --panel: #12100d;
  --paper: #efe5da;
  --paper-2: #d9c8b8;
  --shadow: rgba(0, 0, 0, 0.42);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.vogue-body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(185, 133, 66, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #15100d 0%, var(--bg) 46%, #0d0b09 100%);
  background-size: 96px 96px, auto;
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(100% - 40px, 1180px);
  margin: 18px auto 0;
  padding: 14px 18px;
  border: 1px solid transparent;
  background: rgba(9, 8, 6, 0.18);
  backdrop-filter: blur(20px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(9, 8, 6, 0.82);
  transform: translateY(-4px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-monogram,
.footer-logo {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-style: italic;
  line-height: 1;
  color: var(--gold-light);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: rgba(247, 239, 228, 0.78);
  font-size: 0.78rem;
}

.primary-nav a {
  transition: color 160ms ease;
}

.primary-nav a:hover {
  color: var(--gold-light);
}

.header-action,
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 0 20px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.header-action {
  color: var(--gold-light);
}

.header-action:hover,
.btn:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.site-main {
  min-height: 100vh;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 160px 20px 96px;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(239, 229, 218, 0.98) 0%, rgba(239, 229, 218, 0.92) 47%, rgba(37, 25, 17, 0.96) 47.2%, rgba(8, 7, 6, 0.98) 100%);
  color: #17120e;
}

.hero-section::before {
  content: "";
  position: absolute;
  right: 42%;
  top: -120px;
  width: 280px;
  height: 120%;
  border-right: 1px solid rgba(185, 133, 66, 0.4);
  transform: rotate(8deg);
  pointer-events: none;
}

.hero-aura {
  position: absolute;
  right: 40px;
  top: 120px;
  width: 360px;
  height: 520px;
  border: 1px solid rgba(217, 177, 115, 0.36);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  opacity: 0.7;
}

.hero-layout,
.vogue-section,
.experience-panel,
.authority-section,
.cta-box,
.footer-inner {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100% - 48px, 1420px);
  grid-template-columns: minmax(390px, 0.82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: 28px;
}

.chapter {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.chapter b {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 0;
}

.chapter i {
  width: 34px;
  height: 1px;
  background: currentColor;
}

.hero-copy h1,
.section-heading h1,
.section-heading h2,
.split-heading h2,
.authority-copy h2,
.local-card h2,
.cta-box h2 {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 650px;
  font-size: 4.9rem;
}

.hero-copy h1 span {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

.hero-copy p,
.section-heading p,
.split-heading p,
.authority-copy p,
.local-card p,
.cta-box p {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(23, 18, 14, 0.7);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn-primary {
  border-color: var(--gold);
  background: linear-gradient(135deg, #dca24a, #b98542);
  color: #120e0a;
  box-shadow: 0 18px 42px rgba(185, 133, 66, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #efbd67, #c59048);
  border-color: var(--gold-light);
  color: #100d0a;
}

.btn-secondary {
  border-color: rgba(23, 18, 14, 0.3);
  color: #17120e;
}

.hero-showcase {
  position: relative;
  min-height: 650px;
}

.browser-frame,
.phone-frame,
.hero-badge,
.diagnostic-grid article,
.service-list article,
.before-after article,
.search-card,
.cta-box {
  border-radius: 8px;
}

.browser-frame {
  position: absolute;
  right: -16px;
  top: 18px;
  width: min(100%, 760px);
  overflow: hidden;
  border: 1px solid rgba(217, 177, 115, 0.36);
  background: #0f0c0a;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.68);
}

.hero-device {
  border-width: 9px;
  border-color: rgba(25, 24, 23, 0.98);
  border-radius: 20px;
  transform: perspective(1200px) rotateY(-7deg) rotateZ(-2deg);
  transform-origin: center right;
}

.hero-device::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -3%;
  bottom: -54px;
  height: 72px;
  border-radius: 0 0 34px 34px;
  background: linear-gradient(180deg, #2b2521, #0d0a08 72%);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.72);
  transform: skewX(-10deg);
}

.hero-device .browser-top {
  display: none;
}

.browser-top {
  display: grid;
  grid-template-columns: 10px 10px 10px 1fr;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(217, 177, 115, 0.18);
}

.browser-top span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(217, 177, 115, 0.45);
}

.browser-top small {
  justify-self: center;
  color: rgba(247, 239, 228, 0.42);
  font-size: 0.68rem;
}

.browser-canvas {
  padding: 0;
  background: #090806;
}

.site-preview {
  min-height: 470px;
  padding: 34px 42px;
  border: 1px solid rgba(247, 239, 228, 0.06);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.72) 47%, rgba(0, 0, 0, 0.16) 100%),
    url("../images/hero-office-screen.png") 50% 50% / cover no-repeat;
}

.preview-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(247, 239, 228, 0.62);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.preview-nav strong {
  margin-right: auto;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.preview-nav strong em,
.phone-screen strong em {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  place-items: center;
  border: 1px solid rgba(217, 177, 115, 0.65);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.22rem;
  font-style: italic;
  line-height: 1;
}

.preview-hero {
  max-width: 410px;
  margin-top: 88px;
}

.preview-hero span {
  color: var(--gold-light);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.preview-hero h2 {
  margin: 18px 0 28px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 3.45rem;
  line-height: 1.06;
  letter-spacing: 0;
}

.preview-hero mark {
  background: transparent;
  color: var(--gold);
  font-style: italic;
}

.preview-metric {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  width: min(100%, 330px);
  padding: 18px 22px;
  border: 1px solid rgba(217, 177, 115, 0.24);
  border-radius: 8px;
  background: rgba(8, 7, 6, 0.72);
  backdrop-filter: blur(12px);
}

.preview-metric b {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
}

.preview-metric p {
  margin: 0;
  color: rgba(247, 239, 228, 0.86);
  font-size: 0.88rem;
  line-height: 1.5;
}

.phone-frame {
  position: absolute;
  right: -28px;
  bottom: 16px;
  width: 224px;
  min-height: 420px;
  padding: 10px;
  border: 4px solid rgba(25, 24, 23, 0.98);
  border-radius: 24px;
  background: #0c0a08;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.78);
}

.phone-speaker {
  width: 46px;
  height: 5px;
  margin: 0 auto 12px;
  border-radius: 4px;
  background: rgba(247, 239, 228, 0.22);
}

.phone-screen {
  min-height: 392px;
  padding: 24px 20px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.94)),
    url("../images/hero-office-screen.png") 64% center / cover no-repeat;
  color: var(--ink);
}

.phone-screen strong {
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: 0.64rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.phone-screen strong em {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  font-size: 1rem;
}

.phone-screen span {
  display: block;
  margin-top: 44px;
  color: var(--gold-light);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.phone-screen h3 {
  margin: 20px 0 34px;
  font-family: var(--serif);
  font-size: 2.15rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.phone-screen ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.phone-screen li {
  position: relative;
  padding-left: 34px;
  color: rgba(247, 239, 228, 0.84);
  font-size: 0.84rem;
  font-style: italic;
  line-height: 1.45;
}

.phone-screen li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(217, 177, 115, 0.48);
  border-radius: 50%;
  background: rgba(217, 177, 115, 0.08);
}

.vogue-section {
  padding: 112px 0;
}

.section-heading {
  max-width: 830px;
}

.section-heading h1,
.section-heading h2,
.split-heading h2,
.authority-copy h2,
.local-card h2,
.cta-box h2 {
  font-size: 3.75rem;
}

.problem-section .section-heading p,
.services-section .split-heading p,
.method-section .split-heading p,
.local-card p,
.cta-box p {
  color: rgba(247, 239, 228, 0.64);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 56px;
  border: 1px solid var(--line);
  background: var(--line);
}

.diagnostic-grid article {
  min-height: 245px;
  padding: 34px;
  background: linear-gradient(180deg, #13100d, #0b0908);
}

.diagnostic-grid span,
.service-list small,
.search-card small {
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.diagnostic-grid h3,
.service-list h3,
.timeline h3,
.before-after span,
.search-card h3 {
  margin: 18px 0 12px;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0;
}

.diagnostic-grid p,
.service-list p,
.timeline p,
.before-after li,
.search-card p {
  color: rgba(247, 239, 228, 0.58);
  font-size: 0.95rem;
  line-height: 1.72;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 60px;
  align-items: end;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 62px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-list article {
  min-height: 320px;
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  background: rgba(247, 239, 228, 0.02);
  transition: background 180ms ease, transform 180ms ease;
}

.service-list article:last-child {
  border-right: 0;
}

.service-list article:hover {
  background: rgba(185, 133, 66, 0.08);
  transform: translateY(-4px);
}

.portfolio-section {
  padding-top: 34px;
}

.case-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1.08fr) minmax(0, 0.86fr);
  gap: 1px;
  margin-top: 62px;
  border: 1px solid var(--line);
  background: var(--line);
}

.case-showcase article {
  min-height: 330px;
  padding: 34px;
  background: linear-gradient(180deg, rgba(247, 239, 228, 0.045), rgba(10, 8, 6, 0.92));
}

.case-showcase small {
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.case-showcase h3 {
  margin: 24px 0 16px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
}

.case-showcase p {
  margin: 0;
  color: rgba(247, 239, 228, 0.58);
  font-size: 0.95rem;
  line-height: 1.72;
}

.case-device {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  background: linear-gradient(145deg, rgba(185, 133, 66, 0.18), rgba(14, 11, 9, 0.96)) !important;
}

.case-device > div {
  display: flex;
  gap: 7px;
  padding: 12px 14px;
  border: 1px solid rgba(217, 177, 115, 0.26);
  border-bottom: 0;
  background: #0d0a08;
}

.case-device > div span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(217, 177, 115, 0.55);
}

.case-device section {
  flex: 1;
  padding: 32px;
  border: 1px solid rgba(217, 177, 115, 0.26);
  background:
    radial-gradient(circle at 76% 24%, rgba(217, 177, 115, 0.2), transparent 28%),
    linear-gradient(135deg, #47301f, #11100d 58%, #070605);
}

.case-device strong {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
}

.case-device h4 {
  max-width: 420px;
  margin: 54px 0 34px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0;
}

.case-device i {
  display: block;
  height: 46px;
  margin-top: 12px;
  border: 1px solid rgba(247, 239, 228, 0.08);
  background: rgba(247, 239, 228, 0.045);
}

.experience-section {
  padding: 112px 20px;
  background: var(--paper);
  color: #17120e;
}

.experience-panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 58px;
  align-items: center;
}

.section-heading.compact p {
  color: rgba(23, 18, 14, 0.7);
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(74, 48, 33, 0.2);
}

.type-grid span {
  min-height: 94px;
  padding: 26px;
  border-right: 1px solid rgba(74, 48, 33, 0.16);
  border-bottom: 1px solid rgba(74, 48, 33, 0.16);
  color: rgba(23, 18, 14, 0.8);
  font-family: var(--serif);
  font-size: 1.55rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 62px;
  border: 1px solid var(--line);
}

.timeline article {
  min-height: 300px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}

.timeline article:last-child {
  border-right: 0;
}

.timeline b {
  color: rgba(217, 177, 115, 0.58);
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 500;
}

.perception-section {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #080706;
}

.perception-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.92) 0%, rgba(8, 7, 6, 0.68) 32%, rgba(8, 7, 6, 0.08) 70%),
    linear-gradient(180deg, rgba(8, 7, 6, 0) 0%, rgba(8, 7, 6, 0.62) 100%),
    url("../images/brand-perception-office.png") center / cover no-repeat;
  transform: scale(1.01);
}

.perception-content {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.perception-content h2 {
  max-width: 650px;
  margin: 24px 0 0;
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0;
}

.perception-content p {
  max-width: 560px;
  margin: 26px 0 0;
  color: rgba(247, 239, 228, 0.72);
  font-size: 1.08rem;
  line-height: 1.75;
}

.authority-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(400px, 1.14fr);
  gap: 68px;
  align-items: center;
  padding: 116px 0;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
}

.before-after article {
  padding: 34px;
  min-height: 360px;
  background: rgba(247, 239, 228, 0.03);
}

.before-after article + article {
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(185, 133, 66, 0.13), rgba(247, 239, 228, 0.03));
}

.before-after ul {
  display: grid;
  gap: 18px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.before-after li {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(247, 239, 228, 0.08);
}

.local-section {
  padding-top: 0;
}

.local-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 56px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.search-card {
  padding: 28px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, #18120e, #0b0908);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.26);
}

.search-card strong {
  display: block;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(217, 177, 115, 0.24);
  color: rgba(247, 239, 228, 0.72);
  font-size: 1.05rem;
}

.search-card article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  margin-top: 20px;
  padding: 22px;
  border: 1px solid rgba(217, 177, 115, 0.35);
  background: rgba(217, 177, 115, 0.08);
}

.search-card article b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #120e0b;
}

.search-card h3 {
  margin-top: 0;
}

.cta-section {
  padding: 112px 20px;
  background:
    linear-gradient(180deg, rgba(9, 8, 6, 0.2), rgba(9, 8, 6, 1)),
    var(--paper);
}

.cta-box {
  position: relative;
  overflow: hidden;
  padding: 64px;
  border: 1px solid var(--line-strong);
  background: #0e0b09;
  color: var(--ink);
  text-align: center;
}

.cta-box::before {
  content: "INVESTE";
  position: absolute;
  inset: auto 0 14px;
  color: rgba(247, 239, 228, 0.035);
  font-family: var(--serif);
  font-size: 9rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.cta-box .chapter,
.cta-actions {
  justify-content: center;
}

.cta-box h2,
.cta-box p {
  margin-left: auto;
  margin-right: auto;
}

.cta-box p {
  color: rgba(247, 239, 228, 0.68);
}

.cta-box .btn-secondary {
  border-color: rgba(247, 239, 228, 0.28);
  color: var(--ink);
}

.site-footer {
  padding: 42px 20px;
  border-top: 1px solid var(--line);
  background: #080706;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.footer-inner p {
  max-width: 470px;
  margin: 12px 0 0;
  color: rgba(247, 239, 228, 0.56);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  gap: 10px;
  color: rgba(247, 239, 228, 0.72);
  font-size: 0.88rem;
  text-align: right;
}

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

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

  .header-action {
    display: none;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 84px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 18px;
    border: 1px solid var(--line);
    background: rgba(9, 8, 6, 0.96);
  }

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

  .primary-nav a {
    padding: 16px 4px;
    border-bottom: 1px solid rgba(247, 239, 228, 0.08);
  }

  .hero-layout,
  .split-heading,
  .experience-panel,
  .authority-section,
  .local-card {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    width: min(100% - 40px, 1180px);
  }

  .hero-section {
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 47%, #15100d 47.2%, #090806 100%);
  }

  .hero-showcase {
    min-height: 560px;
  }

  .browser-frame {
    left: 0;
    right: auto;
  }

  .hero-device {
    transform: none;
  }

  .phone-frame {
    right: 24px;
  }

  .service-list,
  .case-showcase,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-list article:nth-child(2),
  .timeline article:nth-child(2) {
    border-right: 0;
  }

  .service-list article:nth-child(-n + 2),
  .timeline article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .case-showcase .case-device {
    grid-column: span 2;
    order: -1;
  }
}

@media (max-width: 760px) {
  .site-header,
  .hero-layout,
  .vogue-section,
  .experience-panel,
  .authority-section,
  .cta-box,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    margin-top: 10px;
    padding: 12px;
  }

  .brand-copy strong {
    font-size: 0.78rem;
  }

  .brand-copy small {
    display: none;
  }

  .hero-section {
    padding-top: 132px;
    padding-bottom: 72px;
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 58%, #15100d 58.2%, #090806 100%);
  }

  .hero-copy h1 {
    max-width: calc(100vw - 72px);
    font-size: 2.72rem;
    line-height: 1.04;
  }

  .hero-copy p {
    max-width: 280px;
    font-size: 0.96rem;
  }

  .section-heading h1,
  .section-heading h2,
  .split-heading h2,
  .authority-copy h2,
  .local-card h2,
  .cta-box h2 {
    font-size: 2.65rem;
  }

  .hero-copy p,
  .section-heading p,
  .split-heading p,
  .authority-copy p,
  .local-card p,
  .cta-box p {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 270px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions .btn-secondary {
    background: rgba(239, 229, 218, 0.78);
  }

  .hero-showcase {
    min-height: 570px;
  }

  .browser-frame {
    top: 20px;
    width: calc(100% - 24px);
  }

  .site-preview {
    min-height: 390px;
    padding: 22px;
  }

  .preview-nav span {
    display: none;
  }

  .preview-hero {
    margin-top: 54px;
  }

  .preview-hero h2 {
    font-size: 2.25rem;
  }

  .preview-metric {
    max-width: 240px;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
  }

  .preview-metric b {
    font-size: 2.35rem;
  }

  .phone-frame {
    right: 0;
    width: 150px;
    min-height: 305px;
  }

  .phone-screen {
    min-height: 278px;
    padding: 18px 13px;
  }

  .phone-screen h3 {
    font-size: 1.55rem;
    margin-bottom: 20px;
  }

  .phone-screen span {
    margin-top: 26px;
  }

  .phone-screen li {
    padding-left: 20px;
    font-size: 0.66rem;
  }

  .phone-screen li::before {
    width: 13px;
    height: 13px;
  }

  .diagnostic-grid,
  .service-list,
  .case-showcase,
  .timeline,
  .before-after,
  .type-grid {
    grid-template-columns: 1fr;
  }

  .service-list article,
  .case-showcase article,
  .timeline article,
  .before-after article,
  .type-grid span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .before-after article + article {
    border-left: 0;
  }

  .diagnostic-grid {
    gap: 0;
  }

  .diagnostic-grid article + article {
    border-top: 1px solid var(--line);
  }

  .local-card {
    padding: 54px 0;
  }

  .case-showcase .case-device {
    grid-column: auto;
  }

  .case-device h4 {
    font-size: 2.25rem;
  }

  .perception-section {
    min-height: 620px;
  }

  .perception-image {
    background:
      linear-gradient(180deg, rgba(8, 7, 6, 0.18) 0%, rgba(8, 7, 6, 0.9) 58%, rgba(8, 7, 6, 0.98) 100%),
      url("../images/brand-perception-office.png") 68% center / cover no-repeat;
  }

  .perception-content {
    align-self: end;
    width: min(100% - 28px, 1180px);
    padding-bottom: 58px;
  }

  .perception-content h2 {
    font-size: 2.65rem;
  }

  .search-card article {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 42px 22px;
  }

  .cta-box::before {
    font-size: 4.5rem;
  }

  .footer-inner {
    display: grid;
  }

  .footer-links {
    text-align: left;
  }
}
