:root {
  --bg: #f0eadf;
  --bg-2: #d8cdbd;
  --ink: #182433;
  --muted: #65707d;
  --line: rgba(24, 36, 51, 0.12);
  --accent: #e68a3d;
  --accent-deep: #18283c;
  --panel: rgba(10, 17, 26, 0.72);
  --panel-strong: #111c2b;
  --shadow: 0 28px 90px rgba(11, 21, 35, 0.16);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Manrope, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 14% 10%, rgba(230, 138, 61, 0.18), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(16, 30, 47, 0.12), transparent 28%),
    linear-gradient(180deg, #fcf7f0 0%, var(--bg) 46%, #e0d3c1 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { line-height: 1.7; }
ul { margin: 0; padding-left: 18px; }
li + li { margin-top: 10px; }

.page-haze {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.page-haze span {
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.58;
}
.page-haze span:nth-child(1) { width: 430px; height: 430px; left: -140px; top: 100px; background: rgba(230, 138, 61, 0.16); }
.page-haze span:nth-child(2) { width: 340px; height: 340px; right: -100px; top: 240px; background: rgba(17, 28, 43, 0.12); }
.page-haze span:nth-child(3) { width: 280px; height: 280px; left: 35%; bottom: -100px; background: rgba(245, 234, 214, 0.9); }

.site-header,
.section,
.site-footer,
.hero-inner,
.intro-grid,
.band,
.gallery-grid,
.timeline,
.faq-grid,
.closing-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  background: rgba(251, 246, 237, 0.72);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.site-header.is-scrolled {
  background: rgba(251, 246, 237, 0.94);
  box-shadow: 0 16px 40px rgba(11, 21, 35, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  position: relative;
  background: linear-gradient(145deg, #16263c, #e68a3d);
  box-shadow: var(--shadow);
}
.brand-mark i {
  position: absolute;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: rgba(255, 251, 247, 0.94);
}
.brand-mark i:first-child { left: 17px; }
.brand-mark i:last-child { right: 17px; opacity: 0.6; }
.brand-copy { display: grid; }
.brand strong { font-size: 1rem; letter-spacing: 0.01em; }
.brand small { font-size: 0.78rem; color: var(--muted); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 16px;
  border: 1px solid rgba(19, 37, 58, 0.1);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.88);
  box-shadow: 0 14px 40px rgba(17, 31, 49, 0.08);
}
.site-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}
.site-nav a:hover { color: var(--ink); }
.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent-deep);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 251, 248, 0.94);
  box-shadow: var(--shadow);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
}
.menu-toggle span + span { margin-top: 6px; }

.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 100svh;
  overflow: clip;
}
.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img {
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.96) contrast(0.98);
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 18, 31, 0.84) 0%, rgba(8, 18, 31, 0.54) 34%, rgba(8, 18, 31, 0.14) 72%, rgba(8, 18, 31, 0.3) 100%),
    linear-gradient(180deg, rgba(8, 14, 24, 0.12) 0%, rgba(8, 14, 24, 0.56) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(260px, 0.58fr);
  gap: 28px;
  align-items: start;
  padding: 54px 0 68px;
}
.hero-copy {
  align-self: start;
  color: #f6fbff;
  padding-right: 24px;
}
.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(233, 246, 255, 0.82);
}
.hero h1,
.section h2,
.closing-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: -0.045em;
  line-height: 0.93;
}
.hero h1 {
  max-width: 10.6ch;
  font-size: clamp(3.15rem, 5.8vw, 4.95rem);
}
.hero-text {
  max-width: 54ch;
  margin: 18px 0 0;
  font-size: 1.03rem;
  color: rgba(242, 248, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: linear-gradient(145deg, #f0a15d, #d8772f);
  color: #111c2b;
}
.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #f7fbff;
  background: rgba(255, 255, 255, 0.04);
}
.closing-actions .button-secondary {
  border-color: rgba(255, 248, 239, 0.5);
  color: #fff8ef;
  background: transparent;
}

.hero-aside {
  align-self: start;
  padding: 22px 22px 18px;
  color: #f7fbff;
  background: linear-gradient(180deg, rgba(9, 21, 34, 0.68), rgba(9, 21, 34, 0.42));
  border: 1px solid rgba(255, 245, 233, 0.14);
  border-left: 3px solid rgba(99, 199, 255, 0.54);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(9, 10, 10, 0.18);
  max-width: 390px;
  justify-self: end;
}
.aside-label {
  margin: 0 0 14px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(239, 248, 255, 0.84);
}
.hero-aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-aside li {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 1rem;
  color: rgba(245, 250, 255, 0.96);
}
.hero-aside li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }

.service-strip {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 52px;
  overflow: hidden;
  border-top: 1px solid rgba(19, 37, 58, 0.12);
  border-bottom: 1px solid rgba(19, 37, 58, 0.12);
  background: linear-gradient(180deg, #0f2237, #17324f);
}
.service-strip-track {
  display: flex;
  width: max-content;
  height: 100%;
  will-change: transform;
  animation: service-strip-scroll 46s linear infinite;
}
.service-strip-group {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #eaf7ff;
  font-size: 0.74rem;
  font-weight: 800;
}
.service-strip-group span { flex: 0 0 auto; }
.service-strip-group span:nth-child(even) { color: rgba(234, 247, 255, 0.45); }
.service-strip:hover .service-strip-track { animation-play-state: paused; }

.section { padding-top: clamp(82px, 10vw, 124px); }
.gallery.section { padding-top: clamp(58px, 7.2vw, 88px); }
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: end;
  margin-bottom: 28px;
}
.section-head h2 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}
.section-head .eyebrow { color: var(--accent); }

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}
.intro-copy { padding-right: 24px; }
.intro-copy h2 {
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  max-width: 12ch;
}
.intro-copy p {
  max-width: 58ch;
  color: var(--muted);
}
.intro-points {
  margin-top: 22px;
  padding-left: 20px;
  color: var(--ink);
}
.intro-visual {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 245, 0.92);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.intro-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 22% center;
}

.service-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(220px, 280px);
  gap: 20px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.service-index {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 5px;
}
.service-row h3 {
  margin: 0 0 8px;
  font-size: 1.26rem;
}
.service-row p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}
.service-note {
  color: var(--accent-deep);
  font-weight: 700;
  line-height: 1.5;
  padding-top: 2px;
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.94fr);
  gap: 26px;
  align-items: center;
}
.band-copy {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(10, 19, 31, 0.92), rgba(17, 33, 49, 0.92));
  color: #f6fbff;
  box-shadow: var(--shadow);
}
.band-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.35rem, 5vw, 4.1rem);
}
.band-copy p {
  max-width: 58ch;
  color: rgba(240, 246, 252, 0.88);
}
.band-copy ul {
  margin-top: 20px;
  padding-left: 18px;
  color: rgba(240, 246, 252, 0.92);
}
.band-visual {
  width: min(calc(100% - 32px), var(--max));
  margin-right: auto;
  margin-left: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 90px rgba(9, 6, 4, 0.26);
}
.band-visual img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: 18% center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: minmax(220px, 1fr) minmax(220px, 1fr) minmax(240px, auto);
  grid-template-areas:
    "feature feature feature feature feature feature support1 support1 support1 support1 support1 support1"
    "feature feature feature feature feature feature support2 support2 support2 support2 support2 support2"
    "wide wide wide wide wide wide wide wide wide wide wide wide";
  gap: 18px;
  align-items: start;
}
.gallery-grid figure {
  margin: 0;
  align-self: start;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 249, 243, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-width: 0;
  min-height: 0;
}
.gallery-card {
  position: relative;
  height: 100%;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
  transform-origin: center center;
}
.gallery-feature { grid-area: feature; }
.gallery-support-one { grid-area: support1; }
.gallery-support-two { grid-area: support2; }
.gallery-wide { grid-area: wide; }
.gallery-feature img {
  aspect-ratio: 4 / 5.5;
  object-position: 50% 42%;
}
.gallery-support-one img {
  aspect-ratio: 16 / 10;
  object-position: 58% center;
}
.gallery-support-two img {
  aspect-ratio: 16 / 10;
  object-position: 46% center;
}
.gallery-wide img {
  aspect-ratio: 16 / 6.8;
  object-position: 52% 44%;
}
.gallery-card:hover img { transform: scale(1.04); }

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 18px;
}
.timeline-track {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
}
.timeline-step {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 251, 247, 0.86);
  box-shadow: 0 16px 42px rgba(16, 20, 14, 0.08);
}
.timeline-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  margin-bottom: 18px;
  background: linear-gradient(145deg, #8bd8ff, #4fb7ef);
  color: #102235;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.timeline-step h3 { margin: 0 0 8px; font-size: 1.12rem; }
.timeline-step p { margin: 0; color: var(--muted); }

.faq-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 30px;
  align-items: start;
}
.faq-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
}
.faq-copy p {
  max-width: 58ch;
  color: var(--muted);
}
.faq-list {
  display: grid;
  gap: 16px;
}
details {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 245, 0.9);
  box-shadow: 0 16px 42px rgba(16, 20, 14, 0.08);
  padding: 0 20px;
}
summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 800;
  font-size: 1.02rem;
}
summary::-webkit-details-marker { display: none; }
details p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 60ch;
}

.closing {
  overflow: clip;
}
.closing-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  align-items: stretch;
  min-height: 520px;
  padding: 0;
}
.closing-copy,
.closing-actions,
.closing-meta {
  color: #fff9f2;
}
.closing-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 58px 54px 54px;
  background: linear-gradient(180deg, #0f2138 0%, #11263c 100%);
}
.closing-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.1rem, 4.4vw, 3.7rem);
}
.closing-copy p {
  max-width: 52ch;
  color: rgba(255, 249, 242, 0.9);
}
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.closing-actions,
.closing-meta {
  opacity: 1;
  transform: none;
}
.closing-actions .button { min-width: 0; }
.closing-meta {
  display: grid;
  gap: 4px;
  margin-top: 14px;
}
.closing-meta span {
  font-size: 0.84rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 248, 239, 0.72);
}
.closing-meta strong { color: #fff8ef; }
.closing-side {
  min-height: 100%;
}
.closing-side img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% center;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 0 34px;
  color: var(--muted);
}
.site-footer strong { color: var(--ink); }

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes service-strip-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@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;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1120px) {
  .hero-inner,
  .band,
  .faq-grid,
  .closing-inner,
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .hero-inner {
    padding-top: 44px;
    padding-bottom: 60px;
  }
  .hero-copy { padding-right: 0; max-width: 760px; }
  .hero-aside { max-width: 540px; justify-self: start; }
  .section-head {
    grid-template-columns: 1fr;
  }
  .timeline {
    grid-template-columns: 1fr 1fr;
  }
  .closing-inner { padding: 0; }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 0;
  }
  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 28px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .menu-toggle { display: inline-block; }
  .site-nav a { padding: 8px 6px; }
  .nav-cta { text-align: center; }
  .hero-inner { padding: 36px 0 52px; }
  .hero h1 { max-width: 8.4ch; font-size: clamp(2.9rem, 15vw, 4.2rem); }
  .hero-text { font-size: 0.98rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-aside { width: 100%; }
  .section { padding-top: 72px; }
  .service-row,
  .closing-inner {
    grid-template-columns: 1fr;
  }
  .service-row {
    padding: 22px 0;
  }
  .timeline { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "feature"
      "support1"
      "support2"
      "wide";
  }
  .gallery-feature img,
  .gallery-support-one img,
  .gallery-support-two img,
  .gallery-wide img {
    aspect-ratio: 16 / 10;
    object-position: center center;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .closing-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 0;
  }
  .closing-copy {
    padding: 36px 22px 34px;
  }
  .closing-side {
    width: 100%;
  }
  .closing-side img {
    aspect-ratio: 16 / 10;
    min-height: 0;
    object-position: 45% center;
  }
}
