:root {
  --bg-0: #f8fcff;
  --bg-1: #eef7ff;
  --bg-2: #e6f1ff;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(31, 70, 109, 0.33);
  --line-soft: rgba(31, 70, 109, 0.22);
  --text: #12253a;
  --muted: #4b647d;
  --primary: #0078c9;
  --accent: #ff7a45;
  --accent-soft: #ffb072;
  --ok-bg: #d9f4e8;
  --ok-line: #2f9d72;
  --focus: #ffcb5e;
  --shadow-deep: 0 22px 54px rgba(17, 57, 90, 0.15);
  --hero-shadow: 0 14px 30px rgba(17, 57, 90, 0.11), 0 36px 72px rgba(17, 57, 90, 0.1);
  --page-layer-a: rgba(67, 154, 217, 0.22);
  --page-layer-b: rgba(255, 165, 122, 0.2);
  --pattern-line: rgba(10, 56, 97, 0.08);
  --dot-color: rgba(30, 74, 112, 0.12);
  --link-hover: #005f9f;
  --header-bg: linear-gradient(180deg, rgba(248, 252, 255, 0.94), rgba(248, 252, 255, 0.8));
  --nav-active: #0f2f4f;
  --toggler-filter: none;
  --cta-text: #2b1507;
  --hero-base: #dbeafb;
  --hero-overlay:
    linear-gradient(92deg, rgba(243, 248, 255, 0.92) 0%, rgba(231, 241, 253, 0.84) 37%, rgba(210, 227, 246, 0.44) 58%, rgba(210, 227, 246, 0.22) 100%),
    radial-gradient(circle at 83% 20%, rgba(255, 122, 69, 0.2), transparent 40%);
  --hero-overlay-glow:
    linear-gradient(120deg, rgba(0, 120, 201, 0.08), transparent 28%, transparent 70%, rgba(255, 176, 114, 0.14)),
    linear-gradient(180deg, rgba(206, 222, 240, 0) 58%, rgba(206, 222, 240, 0.48) 100%);
  --kicker: #2a5f89;
  --hero-sub: #37536d;
  --metric-border: rgba(31, 70, 109, 0.22);
  --metric-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(247, 251, 255, 0.92));
  --metric-title: #1a4c78;
  --chip-border: rgba(31, 70, 109, 0.34);
  --chip-text: #23496c;
  --chip-bg: rgba(245, 250, 255, 0.88);
  --card-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 250, 255, 0.95));
  --card-border: rgba(25, 66, 102, 0.28);
  --card-hover-border: rgba(21, 89, 140, 0.52);
  --hero-frame: rgba(23, 80, 124, 0.36);
  --list-text: #2f4e6b;
  --gallery-overlay: linear-gradient(180deg, transparent, rgba(8, 22, 42, 0.88) 55%);
  --gallery-tag: #a8d8f0;
  --gallery-heading: #eaf8ff;
  --command-bg: rgba(244, 250, 255, 0.96);
  --command-text: #1f3d59;
  --command-code: #ab4f1f;
  --contact-link: #20476b;
  --form-label: #27486a;
  --placeholder: #6f8da9;
  --input-focus-bg: rgba(255, 255, 255, 0.98);
  --danger-text: #b2403a;
  --legal-strong: #163c62;
  --mobile-nav-bg: rgba(248, 252, 255, 0.96);
  --radius-l: 1.6rem;
  --radius-m: 1.1rem;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg-0: #030711;
  --bg-1: #081528;
  --bg-2: #0b1f34;
  --surface: rgba(7, 20, 36, 0.72);
  --surface-strong: rgba(6, 16, 31, 0.9);
  --line: rgba(149, 223, 255, 0.26);
  --line-soft: rgba(149, 223, 255, 0.14);
  --text: #eaf8ff;
  --muted: #a8c8d9;
  --primary: #6be8ff;
  --accent: #ff7a45;
  --accent-soft: #ffb072;
  --ok-bg: #103d30;
  --ok-line: #2ca57a;
  --focus: #ffe58f;
  --shadow-deep: 0 28px 70px rgba(0, 0, 0, 0.45);
  --hero-shadow: 0 16px 34px rgba(0, 0, 0, 0.34), 0 44px 92px rgba(0, 0, 0, 0.3);
  --page-layer-a: rgba(107, 232, 255, 0.24);
  --page-layer-b: rgba(255, 122, 69, 0.22);
  --pattern-line: rgba(255, 255, 255, 0.1);
  --dot-color: rgba(255, 255, 255, 0.2);
  --link-hover: #b2f4ff;
  --header-bg: linear-gradient(180deg, rgba(3, 10, 19, 0.88), rgba(3, 10, 19, 0.65));
  --nav-active: #d8f5ff;
  --toggler-filter: invert(1);
  --cta-text: #2b1507;
  --hero-base: #081425;
  --hero-overlay:
    linear-gradient(92deg, rgba(3, 11, 20, 0.92) 0%, rgba(5, 15, 28, 0.84) 37%, rgba(7, 20, 36, 0.44) 58%, rgba(7, 20, 36, 0.22) 100%),
    radial-gradient(circle at 83% 20%, rgba(255, 122, 69, 0.26), transparent 40%);
  --hero-overlay-glow:
    linear-gradient(120deg, rgba(107, 232, 255, 0.18), transparent 28%, transparent 70%, rgba(255, 176, 114, 0.14)),
    linear-gradient(180deg, rgba(5, 15, 27, 0) 58%, rgba(5, 15, 27, 0.48) 100%);
  --kicker: #9cd8e9;
  --hero-sub: #b7d1df;
  --metric-border: rgba(149, 223, 255, 0.3);
  --metric-bg: linear-gradient(180deg, rgba(9, 24, 43, 0.62), rgba(7, 19, 34, 0.76));
  --metric-title: #b6efff;
  --chip-border: rgba(178, 244, 255, 0.52);
  --chip-text: #d4f7ff;
  --chip-bg: rgba(7, 19, 36, 0.8);
  --card-bg: linear-gradient(180deg, rgba(11, 28, 49, 0.72), rgba(6, 16, 31, 0.9));
  --card-border: rgba(149, 223, 255, 0.2);
  --card-hover-border: rgba(149, 223, 255, 0.5);
  --hero-frame: rgba(149, 223, 255, 0.24);
  --list-text: #d8eff8;
  --gallery-overlay: linear-gradient(180deg, transparent, rgba(3, 9, 18, 0.92) 55%);
  --gallery-tag: #b6efff;
  --gallery-heading: #eaf8ff;
  --command-bg: rgba(8, 20, 35, 0.86);
  --command-text: #d6eff8;
  --command-code: #ffd3b7;
  --contact-link: #d8eff8;
  --form-label: #d8eff8;
  --placeholder: #84abc0;
  --input-focus-bg: rgba(7, 20, 36, 0.93);
  --danger-text: #ffbfba;
  --legal-strong: #d9f2ff;
  --mobile-nav-bg: rgba(5, 14, 27, 0.93);
}

[data-theme="light"] {
  color-scheme: light;
  --light-image-filter: saturate(0.84) contrast(0.9) brightness(1.08);
  --light-image-opacity: 0.94;
}

[data-theme="light"] .story-image img,
[data-theme="light"] .hosting-card > img,
[data-theme="light"] .service-card img,
[data-theme="light"] .gallery-tile img {
  filter: var(--light-image-filter);
  opacity: var(--light-image-opacity);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Outfit", "Trebuchet MS", sans-serif;
  background: radial-gradient(circle at 18% -10%, var(--page-layer-a), transparent 40%),
    radial-gradient(circle at 80% 8%, var(--page-layer-b), transparent 36%),
    linear-gradient(165deg, var(--bg-0) 0%, var(--bg-1) 44%, var(--bg-2) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
  background-image: repeating-linear-gradient(
    115deg,
    var(--pattern-line) 0,
    var(--pattern-line) 1px,
    transparent 1px,
    transparent 22px
  );
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.1;
  background-image: radial-gradient(circle, var(--dot-color) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

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

.skip-link {
  position: fixed;
  left: 0.8rem;
  top: -4rem;
  z-index: 999;
  color: #031320;
  background: var(--focus);
  border-radius: 0.5rem;
  padding: 0.55rem 0.8rem;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.8rem;
}

a:hover,
 a:focus-visible {
  color: var(--link-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(14px);
  background: var(--header-bg);
}

.navbar {
  padding: 0.85rem 0;
}

.brand-mark {
  font-family: "Syne", "Verdana", sans-serif;
  color: var(--text) !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
}

.brand-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  display: inline-block;
  background: conic-gradient(from 210deg, var(--accent), var(--primary), #89c8ff, var(--accent));
  box-shadow: 0 0 26px rgba(107, 232, 255, 0.65);
}

.nav-link {
  color: var(--muted);
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  bottom: 0.16rem;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: 1px solid var(--line);
}

.navbar-toggler-icon {
  filter: var(--toggler-filter);
}

.navbar-collapse {
  align-items: center;
}

.nav-link.is-active {
  color: var(--nav-active);
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-item-cta {
  margin-left: 0.2rem;
}

.btn-nav-cta {
  display: inline-block;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(255, 176, 114, 0.58);
  color: var(--cta-text);
  background: linear-gradient(132deg, var(--accent-soft), var(--accent));
  font-size: 0.88rem;
  line-height: 1.2;
  font-weight: 700;
}

.btn-nav-cta:hover,
.btn-nav-cta:focus-visible {
  color: var(--cta-text);
  filter: brightness(1.05);
}

.theme-toggle-item {
  display: flex;
  align-items: center;
}

.theme-toggle {
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1;
}

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

.theme-toggle-icon {
  width: 0.92rem;
  height: 0.92rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  position: relative;
}

[data-theme="dark"] .theme-toggle-icon::after {
  content: "";
  position: absolute;
  top: 0.06rem;
  right: 0.06rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: currentColor;
}

.site-main {
  padding-bottom: 3rem;
}

.hero-stage,
.story-section,
.services-section,
.gallery-section,
.hosting-section,
.contact-section,
.legal-section {
  padding: 3.8rem 0;
}

.hero-stage {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  padding-top: 5rem;
  padding-bottom: 1.6rem;
}

.story-section {
  padding-top: 2.8rem;
  padding-bottom: 2.4rem;
}

.hosting-section {
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
}

.mesh-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(30px);
  pointer-events: none;
  mix-blend-mode: screen;
}

.orb-a {
  width: min(48vw, 630px);
  height: min(48vw, 630px);
  left: -10%;
  top: -14%;
  background: radial-gradient(circle at 32% 35%, rgba(107, 232, 255, 0.55), rgba(107, 232, 255, 0));
  animation: driftA 16s ease-in-out infinite alternate;
}

.orb-b {
  width: min(40vw, 520px);
  height: min(40vw, 520px);
  right: -8%;
  top: 4%;
  background: radial-gradient(circle at 42% 45%, rgba(255, 122, 69, 0.45), rgba(255, 122, 69, 0));
  animation: driftB 13s ease-in-out infinite alternate;
}

.hero-composition {
  position: relative;
  min-height: clamp(420px, 62vw, 590px);
  border-radius: calc(var(--radius-l) + 0.2rem);
  overflow: hidden;
  border: 1px solid var(--hero-frame);
  box-shadow: var(--hero-shadow);
  background: var(--hero-base);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-composition::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: var(--hero-overlay);
}

.hero-composition::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: var(--hero-overlay-glow);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(62ch, 60%);
  padding: clamp(1.25rem, 2.5vw, 2.1rem);
}

.kicker {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: var(--kicker);
}

.hero-title {
  position: relative;
  margin: 0;
  max-width: 13ch;
  font-family: "Syne", "Verdana", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 4.5vw, 4.35rem);
  text-wrap: balance;
}

.hero-subtitle {
  position: relative;
  margin: 1rem 0 0;
  max-width: 52ch;
  color: var(--hero-sub);
  font-size: 1rem;
  line-height: 1.52;
}

.hero-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.78rem;
  margin-top: 1.45rem;
}

.hero-actions .btn-main {
  min-width: 12.5rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.76rem 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.24s ease, filter 0.2s ease;
}

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

.btn-main {
  background: linear-gradient(132deg, var(--accent-soft), var(--accent));
  color: #261406;
  box-shadow: 0 13px 32px rgba(255, 122, 69, 0.38);
}

.btn-main:hover,
.btn-main:focus-visible {
  color: #261406;
  filter: brightness(1.04);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--text);
  border-color: var(--line);
}

.hero-metrics {
  position: relative;
  margin: 1.4rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.hero-metrics div {
  padding: 0.72rem;
  border-radius: var(--radius-m);
  border: 1px solid var(--metric-border);
  background: var(--metric-bg);
  backdrop-filter: blur(4px);
}

.hero-metrics dt {
  margin: 0;
  font-family: "Syne", "Verdana", sans-serif;
  color: var(--metric-title);
  font-size: 1.05rem;
}

.hero-metrics dd {
  margin: 0.24rem 0 0;
  color: var(--muted);
  line-height: 1.3;
  font-size: 0.84rem;
}

.hero-chip {
  position: absolute;
  z-index: 3;
  border: 1px solid var(--chip-border);
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--chip-text);
  background: var(--chip-bg);
  padding: 0.34rem 0.7rem;
  backdrop-filter: blur(8px);
}

.hero-chip-top {
  top: 1rem;
  right: 1rem;
}

.hero-chip-bottom {
  right: 1rem;
  bottom: 1rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 1rem;
  align-items: center;
}

.split-layout-reverse {
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
}

.story-image,
.hosting-card,
.contact-card,
.legal-card,
.service-card,
.gallery-tile {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-l);
  background: var(--card-bg);
  box-shadow: var(--shadow-deep);
}

.story-image,
.hosting-card {
  margin: 0;
  overflow: hidden;
}

.story-image img,
.hosting-card > img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  max-height: 360px;
  object-fit: cover;
}

.story-copy h2,
.section-head h2,
.hosting-copy h2,
.contact-copy h2,
.legal-card h1 {
  margin: 0;
  font-family: "Syne", "Verdana", sans-serif;
  line-height: 1.03;
  text-wrap: balance;
  font-size: clamp(1.65rem, 3.2vw, 2.8rem);
}

.story-copy p,
.hosting-copy p,
.contact-copy p,
.legal-card p {
  margin-top: 0.78rem;
  color: var(--muted);
}

.story-list {
  margin: 0.95rem 0 0;
  padding-left: 1.08rem;
  color: var(--list-text);
  display: grid;
  gap: 0.36rem;
}

.section-head {
  max-width: 64ch;
}

.services-grid {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-hover-border);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.service-content {
  padding: 1rem;
}

.service-content h3 {
  margin: 0;
  font-family: "Syne", "Verdana", sans-serif;
  font-size: 1.32rem;
}

.service-content p {
  margin: 0.56rem 0 0;
  color: var(--muted);
}

.service-content ul {
  margin: 0.74rem 0 0;
  padding-left: 1rem;
  color: var(--list-text);
  display: grid;
  gap: 0.34rem;
}

.gallery-grid {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.gallery-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 176, 114, 0.58);
}

.gallery-tall {
  min-height: 540px;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
  background: var(--gallery-overlay);
}

.gallery-tag {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.74rem;
  color: var(--gallery-tag);
}

.gallery-overlay h3 {
  margin: 0.44rem 0 0;
  font-family: "Syne", "Verdana", sans-serif;
  font-size: 1.18rem;
  max-width: 28ch;
  color: var(--gallery-heading);
}

.hosting-card {
  padding-bottom: 0.65rem;
}

.command-block {
  margin: 0.65rem 0.8rem 0;
  padding: 0.62rem;
  border-radius: 0.86rem;
  border: 1px solid var(--line-soft);
  background: var(--command-bg);
}

.command-block p {
  margin: 0 0 0.36rem;
  color: var(--command-text);
}

.command-block code {
  color: var(--command-code);
  font-size: 0.86rem;
  word-break: break-word;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 1rem;
  align-items: start;
}

.contact-copy h2 {
  max-width: 19ch;
}

.contact-link {
  color: var(--contact-link);
}

.contact-card,
.legal-card {
  padding: 1.2rem;
}

.contact-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-label {
  color: var(--form-label);
  font-weight: 500;
}

.form-control {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-soft);
}

.form-control::placeholder {
  color: var(--placeholder);
}

.form-control:focus {
  color: var(--text);
  border-color: rgba(149, 223, 255, 0.7);
  background: var(--input-focus-bg);
  box-shadow: 0 0 0 0.2rem rgba(107, 232, 255, 0.24);
}

.text-danger {
  color: var(--danger-text) !important;
}

.alert-success {
  border: 1px solid var(--ok-line);
  background: var(--ok-bg);
  color: var(--ok-line);
}

.legal-card strong {
  color: var(--legal-strong);
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
}

.legal-card p {
  line-height: 1.62;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 2.8rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  text-align: center;
}

.footer-brand {
  font-size: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 1.5rem;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-social {
  display: flex;
  gap: 1.1rem;
}

.footer-social-link {
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.68s ease, transform 0.68s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes driftA {
  from {
    transform: translate3d(-4%, 0, 0) scale(1);
  }
  to {
    transform: translate3d(5%, 3%, 0) scale(1.06);
  }
}

@keyframes driftB {
  from {
    transform: translate3d(3%, -2%, 0) scale(1);
  }
  to {
    transform: translate3d(-2%, 4%, 0) scale(1.08);
  }
}

@media (max-width: 1199.98px) {
  .hero-content {
    width: min(66ch, 64%);
  }

  .hero-title {
    max-width: 14ch;
  }

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

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

  .gallery-tall {
    min-height: 300px;
  }
}

@media (max-width: 991.98px) {
  .hero-stage {
    padding-top: 4.2rem;
    padding-bottom: 1.3rem;
  }

  .split-layout,
  .split-layout-reverse,
  .services-grid,
  .contact-shell,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-title,
  .contact-copy h2 {
    max-width: 100%;
  }

  .hero-composition {
    min-height: clamp(460px, 78vw, 620px);
  }

  .hero-composition::before {
    background: var(--hero-overlay);
  }

  .hero-content {
    width: 100%;
    padding: 1.15rem 1rem;
  }

  .hero-subtitle {
    max-width: 56ch;
    font-size: 0.97rem;
  }

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

  .hero-chip-top {
    top: 0.75rem;
    right: 0.75rem;
  }

  .hero-chip-bottom {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .story-section,
  .hosting-section {
    padding-top: 2.6rem;
    padding-bottom: 2.1rem;
  }

  .story-image img,
  .hosting-card > img {
    max-height: none;
  }

  .gallery-tile,
  .gallery-tall {
    min-height: 280px;
  }

  .navbar-collapse {
    margin-top: 0.7rem;
    border: 1px solid var(--line-soft);
    border-radius: 0.9rem;
    padding: 0.6rem;
    background: var(--mobile-nav-bg);
  }

  .nav-item-cta {
    margin-left: 0;
    margin-top: 0.2rem;
  }

  .btn-nav-cta {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .hero-stage,
  .story-section,
  .services-section,
  .gallery-section,
  .hosting-section,
  .contact-section,
  .legal-section {
    padding: 3.1rem 0;
  }

  .hero-stage {
    padding-bottom: 1rem;
  }

  .hero-composition {
    min-height: 0;
    aspect-ratio: auto;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 10vw, 2.65rem);
  }

  .hero-actions {
    margin-top: 1.1rem;
  }

  .hero-metrics {
    margin-top: 1rem;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .hero-chip {
    position: static;
    display: inline-block;
    margin: 0.15rem 0 0 1rem;
  }

  .btn-main,
  .btn-nav-cta {
    width: 100%;
    text-align: center;
  }

  .contact-card,
  .legal-card,
  .service-content {
    padding: 1rem;
  }

  .service-card img {
    height: 190px;
  }
}

@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-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
