:root {
  --bg: #070707;
  --soft: #10100f;
  --panel: #151412;
  --panel-2: #1c1914;
  --text: #f7f1e7;
  --muted: #b5aa9a;
  --quiet: #7d7468;
  --gold: #c9a84c;
  --gold-2: #e6c566;
  --line: #2a2720;
  --blue: #8aa5b8;
  --green: #8c9d74;
  --max: 1180px;
}

html[data-theme="light"] {
  --bg: #f4efe4;
  --soft: #ebe1d0;
  --panel: #fff8ec;
  --panel-2: #eadcc4;
  --text: #15120d;
  --muted: #625947;
  --quiet: #8a7d68;
  --gold: #a77c24;
  --gold-2: #8a641a;
  --line: #d8c9ad;
  --blue: #4d7188;
  --green: #69764c;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
[id] { scroll-margin-top: 80px; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
.theme-image-light { display: none; }
html[data-theme="light"] .theme-image-dark { display: none; }
html[data-theme="light"] .theme-image-light { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.onehub-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--gold);
  color: #050505;
  padding: 10px 14px;
  z-index: 1000;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 7, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
html[data-theme="light"] .site-header {
  background: rgba(244, 239, 228, 0.92);
}
.nav-shell {
  width: min(calc(100% - 48px), 1360px);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: Georgia, serif;
  font-weight: 700;
}
.brand-text { font-size: 18px; }
.brand-text strong { font-family: Georgia, serif; font-size: 21px; }
.brand-text span { color: var(--gold); font-weight: 700; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.desktop-nav > a,
.nav-drop-button {
  color: var(--muted);
  background: none;
  border: 0;
  padding: 28px 0;
  cursor: pointer;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}
.desktop-nav > a:hover,
.desktop-nav > a.active,
.nav-drop-button:hover,
.nav-drop-button.active { color: var(--gold); }

.nav-dropdown { position: relative; }
.dropdown-panel {
  position: absolute;
  top: 72px;
  left: 50%;
  width: 330px;
  transform: translateX(-50%) translateY(10px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  background: #0c0c0b;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.18s ease;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
}
html[data-theme="light"] .dropdown-panel {
  background: var(--panel);
}
.industry-menu { width: 390px; }
.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel,
.nav-drop-button[aria-expanded="true"] + .dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-panel a {
  display: block;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}
.dropdown-panel a:last-child { border-bottom: 0; }
.dropdown-panel a:hover { background: rgba(201, 168, 76, 0.08); }
.dropdown-panel strong {
  display: block;
  font-family: Georgia, serif;
  color: var(--text);
  margin-bottom: 4px;
}
.dropdown-panel span {
  display: block;
  color: var(--quiet);
  font-size: 12px;
  line-height: 1.5;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-link,
.theme-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--gold);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  background: transparent;
  cursor: pointer;
}
.theme-toggle span { grid-area: 1 / 1; }
.icon-link svg,
.theme-toggle svg,
.social-icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
.icon-link svg {
  width: 18px;
  height: 18px;
  transform: translateY(0.5px);
}
.social-icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.65;
}
html:not([data-theme="light"]) .theme-moon { display: none; }
html[data-theme="light"] .theme-sun { display: none; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: var(--gold);
}
.mobile-menu {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 76px;
  bottom: 0;
  z-index: 1000;
  height: calc(100vh - 76px);
  height: calc(100dvh - 76px);
  background: var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: 0.18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-gold { background: var(--gold); color: #080808; }
.button-gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.button-outline { color: var(--gold); background: transparent; }
.button-outline:hover { background: rgba(201, 168, 76, 0.1); }
.compact { min-height: 42px; padding: 0 18px; font-size: 12px; }

.hero {
  width: min(calc(100% - 64px), 1360px);
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 64px;
  padding: 72px 0;
  position: relative;
}
.hero-banner {
  width: 100%;
  min-height: calc(100vh - 76px);
  padding: 92px max(32px, calc((100% - 1280px) / 2));
  grid-template-columns: minmax(0, 760px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.97) 0%, rgba(7, 7, 7, 0.83) 43%, rgba(7, 7, 7, 0.15) 100%),
    linear-gradient(0deg, rgba(201, 168, 76, 0.12), transparent 28%),
    url("home-hero-clean-dark.png") center right / cover no-repeat;
}
html[data-theme="light"] .hero-banner {
  background:
    linear-gradient(90deg, rgba(244, 239, 228, 0.98) 0%, rgba(244, 239, 228, 0.86) 45%, rgba(244, 239, 228, 0.18) 100%),
    linear-gradient(0deg, rgba(167, 124, 36, 0.14), transparent 30%),
    url("home-hero-clean-light.png") center right / cover no-repeat;
}
.hero-banner .hero-media { display: none; }
.hero-banner .hero-copy { padding: 34px 0; }
.hero-banner h1 {
  font-size: clamp(54px, 6vw, 92px);
  max-width: 760px;
}
.hero-banner p { max-width: 650px; }
.hero:before {
  content: "ONEHUB.PRO";
  position: absolute;
  left: -20px;
  bottom: 18px;
  font-family: Georgia, serif;
  font-size: 130px;
  color: var(--gold);
  opacity: 0.035;
  pointer-events: none;
}
.hero-copy, .hero-media { position: relative; z-index: 1; min-width: 0; }
.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  margin: 0 0 16px;
}
.hero h1,
.section h2,
.footer-cta h2,
.quote-section blockquote {
  font-family: Georgia, serif;
  font-weight: 700;
  margin: 0;
}
.hero h1 {
  font-size: 72px;
  line-height: 1.02;
  max-width: 720px;
  overflow-wrap: break-word;
}
.hero p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  max-width: 640px;
}
.hero-actions, .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero-media {
  min-height: 480px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  background: var(--panel);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
}
.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.section {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
  padding: 105px 0;
}
.soft {
  width: 100%;
  max-width: none;
  padding-left: max(32px, calc((100% - var(--max)) / 2));
  padding-right: max(32px, calc((100% - var(--max)) / 2));
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: end;
  margin-bottom: 44px;
}
.section h2, .footer-cta h2 {
  font-size: 46px;
  line-height: 1.15;
}
.section p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 16px;
}

.trust-strip {
  width: min(calc(100% - 64px), var(--max));
  margin: -36px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--panel);
}
.trust-strip.inline { margin: 0 auto; }
.trust-strip article {
  padding: 26px;
  border-right: 1px solid var(--line);
}
.trust-strip article:last-child { border-right: 0; }
.trust-strip strong {
  display: block;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 34px;
  margin-bottom: 8px;
}
.trust-strip span { color: var(--muted); }

.service-rows {
  border-top: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.service-row > span {
  font-family: Georgia, serif;
  color: var(--gold);
  font-size: 44px;
}
.service-row h3,
.card h3,
.case-card h3,
.industry-card h3,
.pillar h2,
.process-grid h3,
.footer-main h3 {
  font-family: Georgia, serif;
  margin: 0;
}
.service-row h3 { font-size: 30px; }
.service-row p { margin: 8px 0 14px; }
.service-row b { color: var(--gold); }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-list span {
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 12px;
}

.section-split,
.brand-board,
.industry-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-image {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.theme-process-image {
  display: block;
  background: url("home-process-dark.webp") center / cover no-repeat;
}
html[data-theme="light"] .theme-process-image {
  background-image: url("home-process-light.webp");
}
.theme-story-image {
  display: block;
  background: url("home-why-dark.webp") center / cover no-repeat;
}
html[data-theme="light"] .theme-story-image {
  background-image: url("home-why-light.webp");
}
.system-map,
.note-panel,
.board-preview,
.wireframe,
.dashboard,
.premium-dashboard,
.funnel,
.contact-visual {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 28px;
}
.system-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.system-map article,
.note-panel p,
.board-preview span,
.wireframe span,
.funnel span,
.contact-visual p {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  font-family: Georgia, serif;
}
.note-panel { display: grid; gap: 12px; }

.premium-dashboard {
  min-height: 440px;
  display: grid;
  align-content: end;
  gap: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.34);
}
.premium-dashboard:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, transparent 0 38%, rgba(201, 168, 76, 0.08) 38% 39%, transparent 39%),
    linear-gradient(180deg, transparent, rgba(201, 168, 76, 0.10));
  pointer-events: none;
}
.dash-grid,
.dash-line,
.proof-score {
  position: relative;
  z-index: 1;
}
.dash-line {
  height: 150px;
  border: 1px solid var(--line);
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(201, 168, 76, 0.72) 18.4%, transparent 19.2% 34%, rgba(201, 168, 76, 0.55) 34.4%, transparent 35.2% 52%, rgba(201, 168, 76, 0.8) 52.4%, transparent 53.2%),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(255, 255, 255, 0.04) 55px),
    var(--panel-2);
}
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.dash-grid article {
  border: 1px solid var(--line);
  background: var(--panel-2);
  padding: 18px;
}
.dash-grid b {
  display: block;
  color: var(--text);
  font-family: Georgia, serif;
  font-size: 22px;
  margin-bottom: 5px;
}
.dash-grid span { color: var(--muted); }
.proof-score {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.proof-score span {
  min-height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 38px;
  background: var(--panel-2);
}

.cards-3,
.cards-4,
.pillar-grid,
.comparison,
.industry-grid,
.case-grid,
.process-grid,
.platform-grid,
.work-list,
.story-grid,
.capability-matrix {
  display: grid;
  gap: 18px;
}
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4,
.comparison { grid-template-columns: repeat(4, 1fr); }
.pillar-grid { grid-template-columns: repeat(3, 1fr); }
.industry-grid { grid-template-columns: repeat(3, 1fr); }
.case-grid { grid-template-columns: repeat(3, 1fr); }
.case-grid.large { grid-template-columns: repeat(2, 1fr); }
.process-grid { grid-template-columns: repeat(4, 1fr); }
.platform-grid { grid-template-columns: repeat(4, 1fr); }
.story-grid { grid-template-columns: repeat(3, 1fr); }
.capability-matrix { grid-template-columns: repeat(4, 1fr); }
.work-list { grid-template-columns: 1fr; gap: 28px; }
.process-grid article,
.story-grid article,
.capability-matrix article,
.card,
.pillar,
.comparison article,
.industry-card,
.industry-services,
.case-card,
.platform-grid article,
.contact-side article {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 26px;
  border-radius: 6px;
}
.card,
.pillar,
.industry-card { min-height: 230px; }
.card:hover,
.industry-card:hover,
.case-card:hover,
.pillar:hover {
  border-color: rgba(201, 168, 76, 0.75);
}
.mini {
  color: var(--gold) !important;
  font-size: 12px !important;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 12px !important;
}
.card h3,
.case-card h3,
.industry-card h3 { font-size: 25px; }
.platform-grid h3 {
  font-family: Georgia, serif;
  font-size: 23px;
  margin: 0 0 10px;
}
.story-grid span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 40px;
}
.story-grid h3,
.capability-matrix h3 {
  font-family: Georgia, serif;
  margin: 12px 0;
  font-size: 25px;
}
.capability-matrix p {
  margin: 10px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
}
.work-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) 1.08fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
}
.work-card img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}
.work-card > div {
  padding: clamp(28px, 4vw, 52px);
}
.work-card h3 {
  font-family: Georgia, serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  margin: 0 0 12px;
}
.work-card strong {
  display: block;
  color: var(--gold);
  margin-bottom: 18px;
}
.work-card p b { color: var(--text); }
.pillar span,
.process-grid span {
  display: block;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 36px;
  margin-bottom: 18px;
}
.pillar h2 { font-size: 34px; }

.case-card {
  padding: 0;
  overflow: hidden;
}
.refined-case {
  min-height: auto;
}
.case-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.case-visual {
  height: 250px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(201, 168, 76, 0.14), transparent 35%),
    #090908;
}
.case-visual:before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(201, 168, 76, 0.18);
  pointer-events: none;
}
.case-visual:after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 38px;
  height: 42px;
  background:
    linear-gradient(90deg, rgba(201, 168, 76, 0.75) 0 12%, transparent 12% 18%, rgba(201, 168, 76, 0.42) 18% 34%, transparent 34% 42%, rgba(201, 168, 76, 0.6) 42% 58%, transparent 58% 67%, rgba(201, 168, 76, 0.34) 67% 86%, transparent 86%),
    linear-gradient(0deg, rgba(255,255,255,0.04), rgba(255,255,255,0.04));
  opacity: 0.75;
}
.case-visual span {
  position: relative;
  z-index: 1;
  display: block;
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: rgba(247, 241, 231, 0.04);
}
.case-visual span:first-child {
  grid-row: span 2;
  background:
    linear-gradient(125deg, transparent 0 20%, rgba(201, 168, 76, 0.66) 21%, transparent 23% 42%, rgba(201, 168, 76, 0.42) 43%, transparent 45%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 42px),
    rgba(247, 241, 231, 0.04);
}
.case-visual span:nth-child(4) {
  grid-column: 1 / -1;
  min-height: 42px;
}
.case-visual.commerce span:nth-child(2),
.case-visual.growth span:nth-child(3) {
  background: rgba(201, 168, 76, 0.18);
}
html[data-theme="light"] .case-visual {
  background:
    linear-gradient(135deg, rgba(167, 124, 36, 0.13), transparent 34%),
    #fff8ec;
}
html[data-theme="light"] .case-visual:before,
html[data-theme="light"] .case-visual span {
  border-color: rgba(167, 124, 36, 0.24);
}
html[data-theme="light"] .case-visual span {
  background: rgba(167, 124, 36, 0.055);
}
html[data-theme="light"] .case-visual span:first-child {
  background:
    linear-gradient(125deg, transparent 0 20%, rgba(167, 124, 36, 0.32) 21%, transparent 23% 42%, rgba(167, 124, 36, 0.20) 43%, transparent 45%),
    repeating-linear-gradient(90deg, rgba(21,18,13,0.045) 0 1px, transparent 1px 42px),
    rgba(167, 124, 36, 0.045);
}
html[data-theme="light"] .case-visual.commerce span:nth-child(2),
html[data-theme="light"] .case-visual.growth span:nth-child(3) {
  background: rgba(167, 124, 36, 0.13);
}
.case-card div { padding: 24px; }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.filter-bar button {
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.filter-bar button:hover,
.filter-bar button:focus-visible,
.filter-bar button.active {
  border-color: var(--gold);
  color: var(--gold);
  outline: none;
}
.work-card.is-hidden {
  display: none;
}

.board-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.board-preview span:first-child {
  grid-column: 1 / -1;
  min-height: 120px;
  display: grid;
  place-items: center;
  font-size: 28px;
}
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.before-after article {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 28px;
}
.before-after span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 28px;
}
.wireframe {
  display: grid;
  gap: 10px;
}
.wireframe span { min-height: 48px; }
.dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dashboard article {
  border: 1px solid var(--line);
  background: var(--panel-2);
  padding: 24px;
}
.dashboard span { color: var(--muted); }
.dashboard strong {
  display: block;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 34px;
  margin-top: 12px;
}
.funnel {
  display: grid;
  gap: 12px;
}
.funnel span:nth-child(1) { width: 100%; }
.funnel span:nth-child(2) { width: 88%; }
.funnel span:nth-child(3) { width: 76%; }
.funnel span:nth-child(4) { width: 64%; }
.funnel span:nth-child(5) { width: 52%; }
.industry-services {
  display: grid;
  gap: 10px;
}
.industry-services p {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
}
.compact .industry-card { min-height: 180px; }

.quote-section {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto 105px;
  border-left: 3px solid var(--gold);
  padding: 34px 0 34px 34px;
}
.quote-section blockquote {
  font-size: 38px;
  line-height: 1.25;
  margin-bottom: 16px;
}
.quote-section span { color: var(--gold); }
.cta-panel {
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  background: var(--panel);
  padding: 46px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 30px;
}
.contact-form h2 { grid-column: 1 / -1; margin: 0 0 10px; font-family: Georgia, serif; font-size: 34px; }
.contact-form .eyebrow { grid-column: 1 / -1; }
.contact-form label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  background: #0b0b0a;
  color: var(--text);
  padding: 14px;
  border-radius: 4px;
}
html[data-theme="light"] .contact-form input,
html[data-theme="light"] .contact-form select,
html[data-theme="light"] .contact-form textarea {
  background: #fffdf8;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .full,
.contact-form button,
.contact-form .form-status,
.contact-form input[type="hidden"] { grid-column: 1 / -1; }
.form-status {
  display: none;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--muted);
}
.form-status.success {
  display: block;
  border-color: rgba(140, 157, 116, 0.55);
  color: var(--green);
}
.form-status.error {
  display: block;
  border-color: rgba(196, 92, 74, 0.55);
  color: #c45c4a;
}
.contact-form.is-submitting button {
  opacity: 0.72;
  pointer-events: none;
}
.contact-side {
  display: grid;
  gap: 18px;
}
.contact-side a { color: var(--gold); }

.site-footer {
  border-top: 1px solid var(--line);
  background: #090909;
}
html[data-theme="light"] .site-footer { background: var(--soft); }
.footer-cta {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
  padding: 76px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.footer-cta p { color: var(--muted); line-height: 1.75; max-width: 620px; }
.footer-main {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
  padding: 60px 0;
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 1fr 1fr;
  gap: 50px;
}
.footer-main p,
.footer-main a {
  display: block;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 8px;
}
.footer-main a:hover { color: var(--gold); }
.footer-main h3 { font-size: 18px; margin-bottom: 16px; }
.footer-brand { margin-bottom: 18px; }
.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.socials a.social-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  margin: 0;
}
.socials a.social-icon:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.10);
}
.footer-bottom {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
  padding: 24px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--quiet);
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.footer-bottom a { color: var(--muted); margin-right: 14px; }

@media (max-width: 1120px) {
  .nav-shell {
    justify-content: flex-start;
    gap: 16px;
  }
  .nav-actions { margin-left: 0; }
  .desktop-nav, .nav-actions .compact { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu {
    top: 76px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    background: var(--bg);
    padding: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid var(--line);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  }
  body.menu-open .mobile-menu { display: block; }
  .mobile-menu a,
  .mobile-menu summary {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    text-transform: uppercase;
    font-weight: 800;
    cursor: pointer;
  }
  .mobile-menu details a {
    padding-left: 18px;
    color: var(--muted);
    text-transform: none;
    font-weight: 500;
  }
  .mobile-contact {
    margin-top: 24px;
    border: 1px solid var(--line);
    padding: 18px;
  }
  .hero,
  .section-head,
  .section-split,
  .brand-board,
  .industry-detail {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
    padding-top: 54px;
  }
  .hero h1 { font-size: 54px; max-width: 12ch; }
  .hero-banner {
    width: 100%;
    padding-left: 32px;
    padding-right: 32px;
    grid-template-columns: 1fr;
    background-position: center;
  }
  .hero-banner h1 { max-width: 720px; }
  .cards-4, .comparison, .industry-grid, .process-grid, .platform-grid, .story-grid, .capability-matrix { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid, .cards-3, .case-grid { grid-template-columns: 1fr; }
  .footer-cta,
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-shell,
  .hero,
  .section,
  .trust-strip,
  .quote-section,
  .footer-cta,
  .footer-main,
  .footer-bottom {
    width: min(calc(100% - 32px), var(--max));
  }
  .nav-shell {
    gap: 12px;
    position: relative;
  }
  .brand { gap: 10px; }
  .brand-text { font-size: 16px; }
  .brand-text strong { font-size: 20px; }
  .nav-actions {
    display: flex !important;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-left: auto;
    gap: 8px;
    flex: 0 0 auto;
  }
  .theme-toggle,
  .menu-toggle {
    width: 38px;
    height: 38px;
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.08);
    color: var(--gold);
  }
  .theme-toggle { display: grid !important; }
  .menu-toggle { display: block !important; }
  .hero:before { font-size: 66px; }
  .hero h1 {
    font-size: 31px;
    line-height: 1.08;
    max-width: 11.5ch;
    overflow-wrap: break-word;
    text-wrap: balance;
  }
  .hero { overflow: hidden; }
  .hero-copy,
  .work-card > div { min-width: 0; }
  .hero:not(.hero-banner) h1 { max-width: 11.5ch; }
  .hero-banner {
    min-height: auto;
    padding: 68px 16px 82px;
    background:
      linear-gradient(180deg, rgba(7, 7, 7, 0.98) 0%, rgba(7, 7, 7, 0.88) 58%, rgba(7, 7, 7, 0.45) 100%),
      url("home-hero-clean-dark.png") center bottom / cover no-repeat;
  }
  html[data-theme="light"] .hero-banner {
    background:
      linear-gradient(180deg, rgba(244, 239, 228, 0.98) 0%, rgba(244, 239, 228, 0.88) 58%, rgba(244, 239, 228, 0.45) 100%),
      url("home-hero-clean-light.png") center bottom / cover no-repeat;
  }
  .hero-banner h1 { max-width: 100%; }
  .hero-banner h1 { font-size: 39px; }
  .nav-actions .icon-link { display: none; }
  .hero p { font-size: 16px; }
  .hero-media,
  .hero-media img { min-height: 300px; }
  .split-image { max-height: 280px; }
  .section { padding: 74px 0; }
  .soft { padding-left: 16px; padding-right: 16px; }
  .section h2, .footer-cta h2 { font-size: 34px; }
  .trust-strip,
  .cards-4,
  .comparison,
  .industry-grid,
  .process-grid,
  .platform-grid,
  .story-grid,
  .capability-matrix,
  .dashboard,
  .footer-cta,
  .footer-main,
  .footer-bottom,
  .contact-form,
  .before-after,
  .system-map,
  .board-preview {
    grid-template-columns: 1fr;
  }
  .premium-dashboard { min-height: 360px; }
  .dash-grid,
  .proof-score { grid-template-columns: 1fr; }
  .trust-strip article { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip article:last-child { border-bottom: 0; }
  .service-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .button { width: 100%; }
  .work-card {
    grid-template-columns: 1fr;
  }
  .work-card img {
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }
  .quote-section {
    padding-left: 22px;
    margin-bottom: 74px;
  }
  .quote-section blockquote { font-size: 28px; }
  .footer-bottom { display: block; }
}

@media (max-width: 520px) {
  .nav-actions .compact { display: none; }
}
