@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/lexend-var.woff2") format("woff2-variations"),
    url("/fonts/lexend.woff2") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-var.woff2") format("woff2-variations"),
    url("/fonts/plus-jakarta-sans.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
}

:root {
  --blue: #0067ff;
  --blue-deep: #005ee9;
  --blue-soft: #9ec5ff;
  --red: #ef4036;
  --heading: #0f172a;
  --ink: #222222;
  --text: #364151;
  --muted: #5b6573;
  --tint: #e7f6ff;
  --line: #d1dae5;
  --paper: #f4f6f8;
  --white: #ffffff;
  --night: #070614;
  --night-2: #10131a;
  --header: #070614;
  --radius: 6px;
  --shadow: 0 12px 32px rgba(7, 6, 20, 0.08);
  --font-body: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Lexend", "Plus Jakarta Sans", sans-serif;
  --font-accent: "Instrument Serif", "Georgia", serif;
  --max: 1180px;
  --inner-header: linear-gradient(135deg, rgb(210, 234, 251) 0%, rgb(255, 228, 228) 100%);
  --header-pad-y: 22px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-deep);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--heading);
  overflow-wrap: break-word;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 80;
  background: var(--white);
  padding: 10px 14px;
  color: var(--heading);
  border: 2px solid var(--blue);
}

.wrap,
.topbar-inner,
.nav-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Design switcher — injected on every page */
.design-bar {
  position: relative;
  z-index: 60;
  background: #0b1220;
  color: #d7e0ea;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  line-height: 1.4;
  overflow: hidden;
}

.design-bar-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding: 8px 16px;
  box-sizing: border-box;
}

.design-bar p {
  margin: 0;
  color: #c5d0dc;
}

.design-bar-short {
  display: none;
}

.design-bar strong {
  color: #ffffff;
  font-weight: 650;
}

.design-bar-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.design-bar button {
  min-height: 36px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #e8eef4;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.design-bar button[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.design-bar button:hover {
  border-color: #fff;
}

.design-bar.is-compact .design-bar-inner {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 8px 12px 10px;
}

.design-bar.is-compact .design-bar-full {
  display: none;
}

.design-bar.is-compact .design-bar-short {
  display: block;
  font-size: 12px;
}

.design-bar.is-compact .design-bar-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  gap: 6px;
}

.design-bar.is-compact button {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 0 4px;
  font-size: 11px;
  letter-spacing: 0.03em;
}

.topbar {
  font-size: 13px;
  letter-spacing: 0.02em;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 18px;
}

body.is-home .topbar {
  position: relative;
  z-index: 32;
  background: rgba(7, 6, 20, 0.72);
  color: #f2f6fa;
}

body.is-home .topbar a {
  color: #f2f6fa;
}

body.is-inner .topbar {
  background: var(--white);
  color: var(--heading);
  border-bottom: 1px solid var(--line);
}

body.is-inner .topbar a {
  color: var(--heading);
}

.site-header {
  z-index: 30;
}

body.is-home .site-header {
  position: sticky;
  top: 0;
  background: rgba(7, 6, 20, 0.78);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body.is-home .site-header.is-stuck {
  background: rgba(7, 6, 20, 0.92);
}

body.is-inner .site-header {
  position: sticky;
  top: 0;
  background: var(--inner-header);
  border-bottom: 1px solid rgba(209, 218, 229, 0.8);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: var(--header-pad-y);
  min-height: 104px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  display: block;
  width: auto;
}

body.is-home .logo-on-light,
body.is-inner .logo-on-dark {
  display: none;
}

body.is-home .logo-on-dark {
  height: 56px;
}

body.is-inner .logo-on-light {
  height: 42px;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
}

body.is-home .nav-toggle {
  color: var(--white);
}

body.is-inner .nav-toggle {
  color: var(--heading);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

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

.menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu > li {
  position: relative;
}

.menu > li > a,
.menu > li > button.menu-link {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

body.is-home .menu > li > a,
body.is-home .menu > li > button.menu-link {
  color: #f4f7fb;
}

body.is-inner .menu > li > a,
body.is-inner .menu > li > button.menu-link {
  color: var(--heading);
}

.menu > li > a.menu-link::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.55;
}

body.is-home .menu > li > a:hover,
body.is-home .menu > li > button.menu-link:hover,
body.is-home .menu > li > a[aria-current="page"],
body.is-home .menu a.is-active {
  color: var(--white);
}

body.is-inner .menu > li > a:hover,
body.is-inner .menu > li > button.menu-link:hover,
body.is-inner .menu > li > a[aria-current="page"],
body.is-inner .menu a.is-active {
  color: var(--blue);
}

.submenu,
.mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 20;
}

.mega {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
  min-width: min(560px, calc(100vw - 48px));
  padding: 22px 26px;
}

.menu > li:nth-last-child(-n + 3) > .submenu {
  left: auto;
  right: 0;
}

.menu > li:hover > .submenu,
.menu > li:focus-within > .submenu,
.menu > li.is-open > .submenu,
.menu > li:hover > .mega,
.menu > li:focus-within > .mega,
.menu > li.is-open > .mega {
  display: block;
}

.menu > li:hover > .mega,
.menu > li:focus-within > .mega,
.menu > li.is-open > .mega {
  display: grid;
}

.mega-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mega-title a {
  color: var(--heading);
}

.mega ul,
.submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.submenu a,
.mega a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.submenu a {
  padding: 10px 18px;
}

.submenu a:hover,
.mega a:hover {
  color: var(--blue);
}

.nav-cta {
  margin-left: 8px;
  min-height: 44px;
}

body.is-home .nav-cta.btn-ghost {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  min-width: 148px;
}

body.is-home .nav-cta.btn-ghost:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--heading);
}

.hero {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(5, 6, 10, 0.55) 0%, rgba(5, 6, 10, 0.62) 42%, rgba(5, 6, 10, 0.78) 100%),
    url("/images/home/story.jpeg") center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
  text-align: center;
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 108px 0 128px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  background: rgba(0, 103, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 9px 16px;
  border-radius: 999px;
  max-width: 100%;
  white-space: normal;
  line-height: 1.35;
}

.hero h1 {
  margin: 22px auto 22px;
  max-width: 18ch;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 600;
  color: var(--white);
}

.lede {
  max-width: 62ch;
  margin: 28px auto 32px;
  color: #d5dde6;
  font-size: 18px;
  overflow-wrap: break-word;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue-deep);
  color: var(--white);
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: #d1322a;
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.btn-light {
  background: #e8eef4;
  color: var(--ink);
}

.btn-light:hover {
  background: var(--white);
  color: var(--ink);
}

.btn-outline {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-text {
  padding: 0;
  min-height: 44px;
  background: none;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.section {
  padding: 80px 0;
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
}

.section-intro {
  max-width: 62ch;
  margin: 0 0 36px;
  color: var(--muted);
}

.center {
  text-align: center;
}

.center .section-intro {
  margin-left: auto;
  margin-right: auto;
}

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

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.why-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.why-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
}

.why-card > div {
  padding: 22px 22px 22px 0;
}

.why-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.why-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.consult {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 22px;
}

.feature-list article h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.feature-list article p {
  margin: 0;
  color: var(--muted);
}

.consult-photo {
  min-height: 420px;
  background: url("/images/home/process.jpeg") center / cover no-repeat;
  border-radius: 4px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.process-item {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
}

.process-num {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
}

.process-item h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.process-item p {
  margin: 0;
  color: var(--muted);
}

.story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.story img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.banner {
  background:
    linear-gradient(90deg, rgba(5, 6, 10, 0.88), rgba(27, 142, 205, 0.55)),
    url("/images/home/cta.jpeg") center / cover no-repeat;
  color: var(--white);
  padding: 72px 0;
}

.banner h2,
.banner p,
.cta-band h2,
.cta-band h3 {
  color: var(--white);
}

.banner h2 mark {
  background: transparent;
  color: var(--red);
  font-style: inherit;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.quote {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow);
}

.stars {
  color: #f5b301;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.quote p {
  margin: 0 0 18px;
  color: var(--text);
}

.quote footer {
  font-size: 14px;
  color: var(--muted);
}

.quote strong {
  display: block;
  color: var(--ink);
}

.cta-band {
  background: var(--night);
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}

.cta-band h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 40px);
}

.or {
  margin: 16px 0 8px;
  color: #8b95a3;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.cta-band h3 {
  margin: 0;
  font-size: 22px;
}

.cta-band a {
  color: var(--white);
}

.page-hero {
  background:
    linear-gradient(100deg, rgba(5, 6, 10, 0.9), rgba(5, 6, 10, 0.7)),
    url("/images/home/office.png") center / cover no-repeat;
  color: var(--white);
  padding: 64px 0 56px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 5vw, 52px);
  color: var(--white);
}

.page-hero p {
  margin: 0;
  max-width: 62ch;
  color: #d5dde6;
}

.prose {
  max-width: 76ch;
}

.prose p,
.prose li {
  color: var(--text);
}

.prose ul {
  padding-left: 1.2em;
}

.service-grid,
.price-grid,
.logo-grid {
  display: grid;
  gap: 22px;
}

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

.service-card,
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow);
}

.service-card h3,
.price-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.service-card p,
.price-card p,
.price-card li {
  color: var(--muted);
}

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

.price {
  margin: 16px 0;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--ink);
}

.logo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
}

.logo-grid img {
  max-height: 72px;
  width: auto;
  margin: 0 auto;
  display: block;
  filter: grayscale(0.2);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 36px;
  padding: 56px 0 72px;
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span,
.field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.req {
  color: var(--red);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  min-height: 1.4em;
  font-size: 15px;
}

.form-status.error {
  color: var(--red);
}

.form-status.ok {
  color: #1b6b3a;
}

.aside {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
}

.aside h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.aside p,
.aside address {
  margin: 0 0 14px;
  font-style: normal;
  color: var(--muted);
}

.notice-box {
  background: var(--paper);
  border-left: 4px solid var(--blue);
  padding: 18px 20px;
  margin: 0 0 24px;
}

.site-footer {
  background: var(--night);
  color: #c5ced8;
  padding: 40px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #222833;
}

.site-footer h2 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
}

.site-footer p,
.site-footer address {
  margin: 0;
  font-style: normal;
  font-size: 14px;
}

.site-footer a {
  color: #dbe6f0;
}

.legal {
  padding-top: 18px;
  font-size: 13px;
  color: #8b95a3;
}

.legal a {
  color: #b7c2ce;
}

.not-found {
  min-height: 48vh;
  padding: 80px 0;
}

.offer-hero {
  background:
    linear-gradient(100deg, rgba(5, 6, 10, 0.88), rgba(5, 6, 10, 0.55)),
    url("/images/home/hoopshr-photo.jpeg") center / cover no-repeat;
}

.partner-logo {
  max-width: 220px;
  margin-bottom: 18px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: auto;
  bottom: 16px;
  transform: none;
  z-index: 45;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  width: min(360px, calc(100% - 32px));
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

body.has-cookie .hero-actions,
body.has-cookie .cta-row {
  position: relative;
  z-index: 46;
  margin-bottom: 24px;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 180px;
  color: var(--heading);
  font-size: 14px;
  font-weight: 600;
}

.cookie-prefs {
  display: flex;
  gap: 10px;
  font-size: 13px;
}

.price-hero {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 20px;
}

.price-hero strong {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--heading);
}

.include-list li {
  margin-bottom: 8px;
}

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

@media (max-width: 1440px) {
  .wrap,
  .topbar-inner,
  .nav-inner,
  .footer-inner {
    width: min(var(--max), calc(100% - 48px));
  }
}

@media (max-width: 1100px) and (min-width: 981px) {
  .menu > li > a,
  .menu > li > button.menu-link {
    padding: 12px 8px;
    font-size: 12px;
  }

  .nav-inner {
    gap: 12px;
  }
}

@media (max-width: 1024px) {
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .why-grid,
  .consult,
  .process-grid,
  .story,
  .quotes,
  .service-grid,
  .price-grid,
  .split,
  .contact-layout,
  .footer-grid,
  .logo-grid {
    grid-template-columns: 1fr;
  }

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

  .why-card img {
    min-height: 200px;
  }

  .why-card > div {
    padding: 22px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    padding: 12px 20px 24px;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    max-height: min(80vh, 720px);
    overflow: auto;
  }

  body.is-home .primary-nav {
    background: #0c1016;
    border-bottom-color: #222833;
  }

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

  .menu {
    flex-direction: column;
    align-items: stretch;
  }

  .menu > li > a,
  .menu > li > button.menu-link {
    width: 100%;
    justify-content: space-between;
  }

  body.is-home .menu > li > a,
  body.is-home .menu > li > button.menu-link {
    color: #f4f7fb;
  }

  .submenu,
  .mega {
    position: static;
    display: none;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 12px;
  }

  .menu > li.is-open > .submenu {
    display: block;
  }

  .menu > li.is-open > .mega {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.is-home .submenu a,
  body.is-home .mega a,
  body.is-home .mega-title a {
    color: #d5dde6;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    width: auto;
    bottom: 10px;
    flex-wrap: nowrap;
    padding: 8px 10px;
    gap: 8px;
  }

  .cookie-banner p {
    flex: 1 1 auto;
    font-size: 13px;
  }

  .cookie-prefs .btn {
    min-height: 40px;
    padding: 0 10px;
    font-size: 12px;
  }

  body.has-cookie .hero-inner {
    padding-bottom: 80px;
  }

  body.has-cookie .hero-actions,
  body.has-cookie .cta-row {
    margin-bottom: 88px;
  }

  .nav-cta {
    margin: 12px 0 0;
  }

  .hero-inner {
    padding: 56px 0 72px;
  }

  .name-row {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: sticky;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .page-hero {
    padding: 44px 0 40px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero .eyebrow,
  .page-hero .eyebrow {
    letter-spacing: 0.08em;
    font-size: 12px;
  }

  .design-bar-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 12px 10px;
  }

  .design-bar-full {
    display: none;
  }

  .design-bar-short {
    display: block;
    font-size: 12px;
  }

  .design-bar-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
  }

  .design-bar button {
    width: 100%;
    min-height: 40px;
    padding: 0 4px;
    font-size: 11px;
    letter-spacing: 0.03em;
  }

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

  .hero-actions,
  .cta-row {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .topbar-inner a[href^="mailto"] {
    display: none;
  }

  .wrap,
  .topbar-inner,
  .nav-inner,
  .footer-inner {
    width: calc(100% - 28px);
  }

  body.is-home .logo-on-dark,
  [data-design="cinema"] .logo-on-dark {
    height: 46px;
  }

  .hero-inner {
    padding: 44px 0 56px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-timeline: none !important;
  }

  .btn:hover {
    transform: none;
  }
}

/* ==========================================================================
   Craft layer — shared foundations + Classic refinement
   Added 2026-08-14. Motion is opt-in, GPU-only (transform/opacity/filter),
   and every effect degrades to the previous static design.
   ========================================================================== */

:root {
  /* Motion */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.5, 1);
  --dur-fast: 150ms;
  --dur: 260ms;
  --dur-slow: 620ms;

  /* Layered elevation — one soft ambient + one tight contact shadow */
  --lift-1: 0 1px 2px rgba(7, 6, 20, 0.06), 0 8px 20px rgba(7, 6, 20, 0.06);
  --lift-2: 0 2px 4px rgba(7, 6, 20, 0.07), 0 18px 44px rgba(7, 6, 20, 0.12);
  --lift-blue: 0 2px 4px rgba(0, 103, 255, 0.1), 0 18px 44px rgba(0, 103, 255, 0.16);

  /* Fluid type steps — 1.25 ratio, viewport-aware */
  --step--1: clamp(13px, 0.2vw + 12.4px, 14px);
  --step-0: clamp(16px, 0.25vw + 15.2px, 17px);
  --step-1: clamp(19px, 0.5vw + 17.4px, 22px);
  --step-2: clamp(23px, 1vw + 20px, 28px);
  --step-3: clamp(28px, 2vw + 22px, 42px);
  --step-4: clamp(36px, 4vw + 22px, 64px);
}

@property --sheen {
  syntax: "<percentage>";
  inherits: false;
  initial-value: -40%;
}

/* --- Typography craft ---------------------------------------------------- */

h1,
h2,
h3 {
  text-wrap: balance;
}

.lede,
.section-intro,
.prose p,
.prose li,
.why-card p,
.process-item p,
.service-card p,
.quote p {
  text-wrap: pretty;
}

.process-num,
.price,
.price-hero strong {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* --- Focus: visible, branded, never clipped ------------------------------ */

:where(a, button, [role="button"], summary):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

body.is-home :where(a, button):focus-visible,
.banner :where(a, button):focus-visible,
.cta-band :where(a, button):focus-visible,
.site-footer :where(a, button):focus-visible {
  outline-color: #ffffff;
}

/* --- Buttons: sheen sweep + honest press --------------------------------- */

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  translate: var(--mag-x, 0) var(--mag-y, 0);
  transition:
    background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    box-shadow var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out),
    translate 320ms var(--ease-out-expo);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    transparent var(--sheen),
    rgba(255, 255, 255, 0.22) calc(var(--sheen) + 18%),
    transparent calc(var(--sheen) + 38%)
  );
  transition: --sheen 620ms var(--ease-out);
  pointer-events: none;
}

.btn:hover::before,
.btn:focus-visible::before {
  --sheen: 110%;
}

.btn-blue:hover {
  box-shadow: var(--lift-blue);
}

.btn:active {
  transform: translateY(0);
  transition-duration: 60ms;
}

/* Text links: underline that draws in rather than blinking on */

.btn-text {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--dur) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.btn-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: currentColor;
  scale: 0 1;
  transform-origin: left;
  transition: scale var(--dur) var(--ease-out);
}

.btn-text:hover::after,
.btn-text:focus-visible::after {
  scale: 1 1;
}

.btn-text:hover {
  gap: 10px;
}

/* --- Nav: an indicator instead of a colour flip -------------------------- */

.menu > li > a,
.menu > li > button.menu-link {
  position: relative;
  transition: color var(--dur-fast) var(--ease-out);
}

.menu > li > a::before,
.menu > li > button.menu-link::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: currentColor;
  scale: 0 1;
  transform-origin: left;
  transition: scale var(--dur) var(--ease-out);
}

.menu > li:hover > a::before,
.menu > li:focus-within > a::before,
.menu > li:hover > button.menu-link::before,
.menu > li:focus-within > button.menu-link::before,
.menu > li > a[aria-current="page"]::before {
  scale: 1 1;
}

body.is-inner .menu > li > a::before,
body.is-inner .menu > li > button.menu-link::before {
  background: var(--blue);
}

.site-header {
  transition: background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.site-header.is-stuck {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 32px rgba(7, 6, 20, 0.18);
}

.nav-inner {
  transition: min-height var(--dur) var(--ease-out), padding-block var(--dur) var(--ease-out);
}

.brand img {
  transition: height var(--dur) var(--ease-out);
}

/* Dropdowns arrive rather than appear */

.menu > li:hover > .submenu,
.menu > li:focus-within > .submenu,
.menu > li.is-open > .submenu,
.menu > li:hover > .mega,
.menu > li:focus-within > .mega,
.menu > li.is-open > .mega {
  animation: dh-menu-in 180ms var(--ease-out) backwards;
}

@keyframes dh-menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.submenu a,
.mega a {
  transition: color var(--dur-fast) var(--ease-out), padding-left var(--dur-fast) var(--ease-out);
}

.submenu a:hover,
.mega a:hover {
  padding-left: 24px;
}

.mega a:hover {
  padding-left: 6px;
}

/* --- Hero: depth without noise ------------------------------------------ */

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(80% 55% at 50% 8%, rgba(0, 103, 255, 0.24), transparent 62%),
    radial-gradient(120% 90% at 50% 120%, rgba(5, 6, 10, 0.62), transparent 58%);
}

.hero-inner > * {
  animation: dh-rise 620ms var(--ease-out-expo) backwards;
}

.hero-inner > :nth-child(1) { animation-delay: 40ms; }
.hero-inner > :nth-child(2) { animation-delay: 110ms; }
.hero-inner > :nth-child(3) { animation-delay: 180ms; }
.hero-inner > :nth-child(4) { animation-delay: 250ms; }

@keyframes dh-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

.hero .eyebrow {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 18px rgba(0, 103, 255, 0.28);
}

/* --- Section rhythm ------------------------------------------------------ */

.section h2 {
  position: relative;
}

.section-intro {
  font-size: var(--step-1);
  line-height: 1.5;
}

/* --- Cards: the single biggest upgrade ----------------------------------- */

.why-card,
.process-item,
.quote,
.service-card,
.price-card {
  position: relative;
  transition:
    transform var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
}

.why-card:hover,
.quote:hover,
.service-card:hover,
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 103, 255, 0.4);
  box-shadow: var(--lift-2);
}

.why-card img {
  transition: transform 640ms var(--ease-out-expo), filter 640ms var(--ease-out);
  will-change: transform;
}

.why-card:hover img {
  transform: scale(1.05);
}

/* Process: a hairline that fills blue as you arrive */

.process-item {
  overflow: hidden;
}

.process-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--blue);
  scale: 1 0;
  transform-origin: top;
  transition: scale var(--dur-slow) var(--ease-out-expo);
}

.process-item:hover::before,
.process-item.reveal-in::before {
  scale: 1 1;
}

.process-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--lift-1);
}

.process-num {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.process-num::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--blue);
  opacity: 0.45;
  translate: 6px -8px;
  transition: width var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}

.process-item:hover .process-num::after {
  width: 40px;
  opacity: 1;
}

/* Consult + story imagery */

.consult-photo,
.story img {
  transition: transform 700ms var(--ease-out-expo);
}

.story {
  overflow: clip;
}

.story:hover img {
  transform: scale(1.02);
}

/* Quotes */

.stars {
  background: linear-gradient(92deg, #f5b301, #ffd469);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.quote {
  overflow: hidden;
}

.quote::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), rgba(0, 103, 255, 0));
  scale: 0 1;
  transform-origin: left;
  transition: scale var(--dur-slow) var(--ease-out-expo);
}

.quote:hover::before {
  scale: 1 1;
}

/* --- Banner + CTA band --------------------------------------------------- */

.banner {
  position: relative;
}

.banner::before,
.banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}

.banner::before { top: 0; }
.banner::after { bottom: 0; }

.banner h2 mark {
  position: relative;
  white-space: nowrap;
}

.cta-band {
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 120% at 50% 0%, rgba(0, 103, 255, 0.22), transparent 70%);
}

.cta-band .wrap {
  position: relative;
}

/* --- Footer -------------------------------------------------------------- */

.site-footer a {
  transition: color var(--dur-fast) var(--ease-out);
}

.site-footer a:hover {
  color: #ffffff;
}

.legal a:hover {
  color: #ffffff;
}

/* --- Cookie + preview chrome -------------------------------------------- */

.cookie-banner {
  box-shadow: var(--lift-2);
  animation: dh-rise 420ms var(--ease-out-expo) backwards;
}

.design-bar button {
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

/* --- Reveal: JS-driven fallback + native scroll-driven upgrade ----------- */

.reveal-pending {
  opacity: 0;
  transform: translateY(16px);
}

.reveal-in {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out-expo);
  transition-delay: calc(var(--i, 0) * 70ms);
}

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .why-card,
    .process-item,
    .quote,
    .service-card,
    .price-card {
      animation: dh-reveal auto var(--ease-out) backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 46%;
    }

    @keyframes dh-reveal {
      from {
        opacity: 0;
        transform: translateY(18px);
      }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inner > *,
  .cookie-banner {
    animation: none;
  }

  .why-card:hover,
  .quote:hover,
  .service-card:hover,
  .price-card:hover,
  .process-item:hover {
    transform: none;
  }

  .why-card:hover img,
  .story:hover img {
    transform: none;
  }

  .btn {
    translate: none;
  }
}
