:root {
  --ink: #0b1620;
  --navy: #061725;
  --navy-2: #17324a;
  --paper: #eef4f7;
  --ivory: #e2ebf0;
  --ice: #d8e5ec;
  --gold: #b89245;
  --gold-text: #7c5b27;
  --gold-soft: #ddca9c;
  --muted: #46596b;
  --line: rgba(8, 24, 37, 0.16);
  --gold-line: rgba(184, 146, 69, 0.2);
  --platinum: #f4f8fa;
  --mist: #c6d5df;
  --steel: #758b9d;
  --glass-bg: rgba(224, 235, 242, 0.56);
  --glass-bg-strong: rgba(243, 248, 250, 0.74);
  --glass-dark: rgba(7, 26, 44, 0.86);
  --glass-line: rgba(255, 255, 255, 0.62);
  --glass-shine: rgba(255, 255, 255, 0.78);
  --shadow: 0 26px 72px rgba(28, 50, 70, 0.17);
  --shadow-deep: 0 34px 96px rgba(20, 38, 54, 0.2);
  --glow: 0 0 0 1px rgba(184, 146, 69, 0.1), 0 16px 42px rgba(184, 146, 69, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-premium: cubic-bezier(0.18, 0.9, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  position: relative;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(118deg, rgba(229, 238, 243, 0.98) 0%, rgba(196, 214, 226, 0.96) 37%, rgba(224, 234, 241, 0.98) 64%, rgba(181, 202, 218, 0.94) 100%),
    linear-gradient(180deg, var(--platinum), var(--mist));
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(126deg, transparent 0 18%, rgba(255, 255, 255, 0.18) 18% 19%, transparent 19% 41%, rgba(74, 126, 148, 0.08) 41% 42%, transparent 42% 100%),
    linear-gradient(54deg, transparent 0 58%, rgba(184, 146, 69, 0.08) 58% 59%, transparent 59% 100%),
    repeating-linear-gradient(90deg, rgba(7, 26, 44, 0.026) 0 1px, transparent 1px 128px);
  opacity: 0.72;
  pointer-events: none;
}

main,
.footer {
  position: relative;
  z-index: 1;
}

img {
  display: block;
  max-width: 100%;
}

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

section[id] {
  scroll-margin-top: 96px;
}

::selection {
  background: rgba(200, 164, 90, 0.28);
  color: var(--ink);
}

a:focus-visible {
  outline: 3px solid rgba(200, 164, 90, 0.42);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus-visible {
  width: auto;
  height: auto;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  clip-path: none;
  color: var(--paper);
  font-weight: 800;
  white-space: normal;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

html.js .reveal-on-scroll {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 44px, 0) scale(0.965);
  animation: none;
  transition:
    opacity 0.78s var(--ease-premium),
    transform 0.92s var(--ease-premium);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.js[data-scroll-direction="up"] .reveal-on-scroll {
  transform: translate3d(0, -34px, 0) scale(0.97);
}

html.js .reveal-on-scroll.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

html.js[data-scroll-direction="up"] .reveal-on-scroll.is-visible,
html.js[data-scroll-direction="down"] .reveal-on-scroll.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

.container {
  width: min(92vw, 1160px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 14px 0 10px;
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
  transition: background 0.24s var(--ease), padding 0.24s var(--ease);
}

html[data-scrolled="true"] .site-header {
  padding-top: 10px;
  background: linear-gradient(180deg, rgba(224, 237, 247, 0.82), rgba(224, 237, 247, 0));
}

.nav {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.78rem;
  min-height: 68px;
  padding: 0.54rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(205, 226, 241, 0.5)),
    linear-gradient(180deg, rgba(235, 244, 250, 0.68), rgba(204, 222, 237, 0.48));
  box-shadow:
    inset 0 1px 0 var(--glass-shine),
    inset 0 -18px 46px rgba(190, 213, 231, 0.26),
    0 1px 0 rgba(255, 255, 255, 0.72),
    var(--shadow-deep);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  transition: min-height 0.24s var(--ease), padding 0.24s var(--ease), background 0.24s var(--ease), box-shadow 0.24s var(--ease);
  animation: nav-drop-in 0.82s 0.04s var(--ease-premium) both;
}

.nav::after {
  content: "";
  position: absolute;
  inset: 1px 14% auto;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), rgba(198, 160, 86, 0.4), transparent);
  opacity: 0.78;
  transform: translateX(-16%) scaleX(0.72);
  transform-origin: center;
  animation: nav-glint 6.8s var(--ease-premium) infinite;
  pointer-events: none;
}

html[data-scrolled="true"] .nav {
  min-height: 60px;
  background:
    linear-gradient(135deg, rgba(244, 249, 252, 0.72), rgba(204, 225, 240, 0.56)),
    rgba(224, 236, 246, 0.58);
  box-shadow:
    inset 0 1px 0 var(--glass-shine),
    inset 0 -14px 38px rgba(190, 213, 231, 0.24),
    0 20px 62px rgba(34, 58, 81, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-width: 0;
  gap: 0.72rem;
  color: var(--ink);
  font-weight: 780;
  white-space: nowrap;
}

.brand img {
  width: 46px;
  height: 46px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(245, 249, 252, 0.76), rgba(207, 227, 241, 0.38)),
    var(--glass-bg);
  object-fit: contain;
  box-shadow: inset 0 1px 0 var(--glass-shine), 0 12px 30px rgba(42, 67, 91, 0.1);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

html[data-scrolled="true"] .brand img {
  width: 40px;
  height: 40px;
}

.brand span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand:hover img {
  box-shadow: inset 0 1px 0 var(--glass-shine), 0 16px 38px rgba(42, 67, 91, 0.14);
  transform: translateY(-1px) scale(1.04);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.72rem;
  min-width: 0;
}

.quick-menu {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-items: center;
  gap: 0.12rem;
  overflow: hidden;
  min-height: 42px;
  padding: 0.24rem;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(239, 247, 252, 0.58), rgba(204, 225, 240, 0.32)),
    rgba(221, 235, 246, 0.38);
  box-shadow: inset 0 1px 0 var(--glass-shine), inset 0 -10px 24px rgba(190, 213, 231, 0.18), 0 12px 34px rgba(34, 58, 81, 0.1);
  backdrop-filter: blur(16px) saturate(1.16);
  -webkit-backdrop-filter: blur(16px) saturate(1.16);
  isolation: isolate;
}

.quick-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(112deg, transparent 16%, rgba(255, 255, 255, 0.7) 43%, rgba(196, 220, 237, 0.48) 51%, transparent 68%);
  opacity: 0.62;
  transform: translateX(-120%);
  transition: transform 0.52s var(--ease);
}

.quick-menu:hover::before,
.quick-menu:focus-within::before {
  transform: translateX(120%);
}

.quick-menu a {
  position: relative;
  z-index: 1;
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 34px;
  padding: 0 0.86rem;
  border-radius: 999px;
  color: rgba(13, 23, 34, 0.66);
  font-size: 0.88rem;
  font-weight: 760;
  white-space: nowrap;
  transition: background 0.22s var(--ease-premium), color 0.22s var(--ease-premium), transform 0.22s var(--ease-premium), box-shadow 0.22s var(--ease-premium);
}

.quick-menu a::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(198, 160, 86, 0), var(--gold), rgba(198, 160, 86, 0));
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s var(--ease);
}

.quick-menu a:hover,
.quick-menu a:focus-visible {
  background:
    linear-gradient(145deg, rgba(244, 249, 252, 0.72), rgba(203, 225, 240, 0.4)),
    rgba(224, 237, 247, 0.38);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 24px rgba(34, 58, 81, 0.08);
  transform: translateY(-1px);
  outline: 0;
}

.quick-menu a:hover::before,
.quick-menu a:focus-visible::before {
  transform: scaleX(1);
}

.quick-menu__text {
  min-width: 0;
}

.nav-button,
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 44px;
  padding: 0 1.18rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  isolation: isolate;
  transition: transform 0.26s var(--ease-premium), background 0.26s var(--ease-premium), border-color 0.26s var(--ease-premium), color 0.26s var(--ease-premium), box-shadow 0.26s var(--ease-premium);
}

.nav-button::before,
.button::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.72) 42%, transparent 64%);
  opacity: 0.68;
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
}

.nav-button:hover::before,
.button:hover::before {
  transform: translateX(130%);
}

.nav-button {
  justify-self: end;
  min-height: 40px;
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(135deg, rgba(7, 26, 44, 0.94), rgba(18, 48, 71, 0.88));
  color: var(--paper);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 14px 34px rgba(7, 26, 44, 0.2);
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
}

html[data-scrolled="true"] .nav-button {
  min-height: 38px;
}

.nav-button:hover,
.button:hover {
  box-shadow: 0 22px 52px rgba(42, 67, 91, 0.24);
  transform: translateY(-3px) scale(1.015);
}

.nav-button:active,
.button:active,
.quick-menu a:active {
  transform: translateY(0) scale(0.985);
}

.hero,
.services-section,
.gallery-section,
.contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(230, 240, 247, 0.98) 0%, rgba(199, 218, 232, 0.96) 38%, rgba(226, 237, 246, 0.98) 72%, rgba(188, 209, 225, 0.96) 100%),
    repeating-linear-gradient(118deg, rgba(63, 93, 119, 0.085) 0 1px, transparent 1px 44px);
  background-size: 150% 150%, 220px 220px;
  background-position: 0% 50%, 0 0;
  color: var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 22px;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 54px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -60px 130px rgba(159, 190, 214, 0.24),
    0 34px 100px rgba(24, 44, 63, 0.14);
  pointer-events: none;
}

.hero::after,
.services-section::after,
.gallery-section::after,
.contact-section::after {
  content: "";
  position: absolute;
  inset: -24%;
  z-index: 0;
  background:
    linear-gradient(108deg, transparent 32%, rgba(255, 255, 255, 0.46) 43%, transparent 52%),
    linear-gradient(108deg, transparent 56%, rgba(185, 212, 232, 0.5) 63%, transparent 71%);
  mix-blend-mode: screen;
  pointer-events: none;
  transform: translateX(-42%) rotate(0.001deg);
  animation: hero-sweep 13.5s var(--ease) infinite;
}

.services-section::after {
  animation-delay: -2.8s;
}

.gallery-section::after {
  animation-delay: -5.6s;
}

.contact-section::after {
  animation-delay: -8.4s;
}

html.js .hero::after,
html.js .services-section::after,
html.js .gallery-section::after,
html.js .contact-section::after,
html.js .hero-copy::before,
html.js .contact-grid::before,
html.js .contact-grid::after {
  animation-play-state: paused;
}

html.js .hero.is-ambient-active::after,
html.js .services-section.is-ambient-active::after,
html.js .gallery-section.is-ambient-active::after,
html.js .contact-section.is-ambient-active::after,
html.js .hero.is-ambient-active .hero-copy::before,
html.js .contact-section.is-ambient-active .contact-grid::before,
html.js .contact-section.is-ambient-active .contact-grid::after {
  animation-play-state: running;
}

.services-section > .container,
.gallery-section > .container,
.contact-section > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1040px);
  justify-content: center;
  gap: 1.1rem;
  align-items: center;
  min-height: clamp(610px, 78vh, 760px);
  padding: 104px 0 76px;
  text-align: center;
}

.hero-copy {
  position: relative;
  isolation: isolate;
  max-width: 1040px;
  min-width: 0;
  margin-inline: auto;
  animation: hero-stage-in 0.9s 0.04s var(--ease-premium) both;
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: 49%;
  left: 50%;
  z-index: -1;
  width: clamp(230px, 26vw, 390px);
  aspect-ratio: 1;
  background: url("logo-mark-192.png") center / contain no-repeat;
  filter: saturate(0.78) blur(0.2px);
  opacity: 0.07;
  transform: translate(-50%, -50%) scale(1);
  animation: seal-breathe 7s ease-in-out infinite;
  pointer-events: none;
}

.eyebrow,
.section-label,
.contact-links .contact-text > span {
  color: var(--gold-text);
  font-size: 0.74rem;
  font-weight: 760;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 0.92rem;
  color: var(--gold-text);
  animation: hero-piece-in 0.8s 0.08s var(--ease-premium) both;
}

.hero h1,
h2 {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 740;
  line-height: 1.08;
  text-wrap: balance;
}

.hero h1 {
  max-width: 1030px;
  margin-inline: auto;
  margin-bottom: 1.2rem;
  color: var(--ink);
  font-size: 5.85rem;
  letter-spacing: 0;
  text-shadow: 0 20px 52px rgba(38, 66, 90, 0.16);
  animation: hero-title-in 1.08s 0.14s var(--ease-premium) both;
}

.hero-lead {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 1.45rem;
  color: rgba(11, 22, 32, 0.7);
  font-size: 1.2rem;
  line-height: 1.72;
  animation: hero-piece-in 0.92s 0.3s var(--ease-premium) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.95rem;
  animation: hero-piece-in 0.92s 0.42s var(--ease-premium) both;
}

.hero-actions .button {
  min-height: 50px;
  padding-inline: 1.42rem;
  font-size: 0.98rem;
}

.button-primary {
  border-color: rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(7, 26, 44, 0.95), rgba(18, 48, 71, 0.9));
  color: var(--paper);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -18px 36px rgba(0, 0, 0, 0.13),
    0 22px 58px rgba(7, 26, 44, 0.25);
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
}

.button-primary:hover {
  border-color: rgba(198, 160, 86, 0.44);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(135deg, rgba(10, 35, 58, 0.96), rgba(18, 55, 82, 0.92));
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.58);
  background:
    linear-gradient(145deg, rgba(239, 247, 252, 0.66), rgba(202, 225, 241, 0.38)),
    rgba(222, 235, 246, 0.42);
  color: var(--ink);
  box-shadow: inset 0 1px 0 var(--glass-shine), 0 12px 34px rgba(42, 67, 91, 0.08);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}

.button-secondary:hover {
  border-color: rgba(198, 160, 86, 0.36);
  color: var(--ink);
}

.section {
  padding: 64px 0;
}

.section-head {
  display: grid;
  gap: 0.92rem;
  max-width: 780px;
  margin-bottom: 1.9rem;
}

.section-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold-text);
}

.section-label::after {
  content: "";
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, rgba(198, 160, 86, 0), var(--gold), transparent);
  animation: label-line 2.4s ease-in-out infinite;
}

h2 {
  color: var(--ink);
  font-size: 3.35rem;
  letter-spacing: 0;
}

.services-section {
  min-height: auto;
}

.services-section,
.gallery-section,
.contact-section,
.footer {
  content-visibility: auto;
}

.services-section {
  contain-intrinsic-size: auto 720px;
}

.gallery-section {
  contain-intrinsic-size: auto 820px;
}

.contact-section {
  contain-intrinsic-size: auto 620px;
}

.footer {
  contain-intrinsic-size: auto 150px;
}

.contact-section {
  min-height: auto;
  padding-top: 46px;
  padding-bottom: 54px;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.62), transparent 34%),
    radial-gradient(circle at 88% 74%, rgba(182, 208, 226, 0.28), transparent 30%),
    linear-gradient(120deg, rgba(229, 239, 247, 0.98) 0%, rgba(214, 229, 241, 0.96) 46%, rgba(236, 244, 249, 0.98) 100%);
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 24px max(2vw, 18px);
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 58px;
  background:
    linear-gradient(145deg, rgba(250, 253, 255, 0.62), rgba(217, 232, 243, 0.32)),
    rgba(238, 247, 252, 0.34);
  box-shadow:
    inset 0 1px 0 var(--glass-shine),
    inset 0 -42px 98px rgba(154, 185, 210, 0.14),
    0 34px 98px rgba(24, 44, 63, 0.11);
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  pointer-events: none;
}

.showcase-viewport {
  min-width: 0;
}

.showcase-meter {
  display: none;
}

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

.gallery-viewport {
  width: 100%;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  position: relative;
  --accent: var(--gold);
  --accent-line: rgba(198, 160, 86, 0.62);
  --accent-soft: rgba(198, 160, 86, 0.12);
  min-width: 0;
  overflow: hidden;
  min-height: 168px;
  padding: 1.48rem;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(247, 251, 253, 0.6), rgba(190, 213, 228, 0.34)),
    rgba(216, 229, 238, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    inset 0 -28px 62px rgba(145, 174, 196, 0.13),
    0 24px 68px rgba(22, 42, 60, 0.14);
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  transition: background 0.42s var(--ease-premium), box-shadow 0.42s var(--ease-premium), transform 0.42s var(--ease-premium), border-color 0.42s var(--ease-premium);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 1.4rem auto;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.34s var(--ease);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, transparent 0%, transparent 36%, rgba(255, 255, 255, 0.42) 49%, transparent 62%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-80%);
  transition: opacity 0.22s var(--ease), transform 0.6s var(--ease);
}

.service-card:hover {
  z-index: 1;
  border-color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(145deg, rgba(244, 249, 252, 0.7), rgba(190, 216, 233, 0.44)),
    rgba(219, 233, 242, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -30px 68px rgba(145, 174, 196, 0.15),
    0 38px 96px rgba(22, 42, 60, 0.22),
    0 0 0 1px rgba(198, 160, 86, 0.08);
  transform: translateY(-8px) scale(1.012);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  animation: glass-sheen 0.92s var(--ease-premium) both;
}

.service-card:nth-child(2) {
  animation-delay: 0.06s;
}

.service-card:nth-child(3) {
  animation-delay: 0.12s;
}

.service-card:nth-child(4) {
  animation-delay: 0.18s;
}

.service-card:nth-child(5) {
  animation-delay: 0.24s;
}

.service-card:nth-child(6) {
  animation-delay: 0.3s;
}

.service-card h3 {
  position: relative;
  margin-bottom: 0.82rem;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 720;
  line-height: 1.38;
  overflow-wrap: break-word;
  transition: color 0.34s var(--ease-premium), transform 0.34s var(--ease-premium);
}

.service-card p {
  color: rgba(70, 89, 107, 0.9);
  font-size: 0.95rem;
  line-height: 1.66;
  overflow-wrap: break-word;
  transition: color 0.34s var(--ease-premium), transform 0.34s var(--ease-premium);
}

.service-card:hover h3 {
  color: var(--navy);
  transform: translateY(-2px);
}

.service-card:hover p {
  color: rgba(48, 70, 89, 0.96);
  transform: translateY(-1px);
}

.subpage-body {
  min-height: 100vh;
}

.subpage-header {
  position: sticky;
}

.gallery-section {
  padding: clamp(38px, 6vw, 76px) 0;
}

.gallery-section .gallery-shell {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
}

.story-gallery {
  --story-gap: 0;
  --story-radius: 42px;
  position: relative;
  display: grid;
  place-items: center;
  width: min(88vw, 430px);
  aspect-ratio: 9 / 16;
  height: auto;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--story-radius);
  background:
    radial-gradient(circle at 22% 12%, rgba(255, 255, 255, 0.72), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(196, 224, 242, 0.44), transparent 34%),
    linear-gradient(145deg, rgba(248, 252, 254, 0.58), rgba(188, 213, 232, 0.22)),
    rgba(219, 233, 244, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    inset 0 -28px 80px rgba(154, 185, 210, 0.16),
    0 32px 96px rgba(24, 44, 63, 0.14);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  contain: layout paint;
}

.story-list {
  display: contents;
}

.story-card {
  position: absolute;
  inset: var(--story-gap);
  padding: 0;
  border: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 24% 10%, rgba(255, 255, 255, 0.62), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.54), rgba(203, 224, 240, 0.28)),
    rgba(222, 235, 245, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.66),
    0 22px 62px rgba(18, 38, 56, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(54px, 0, 0) scale(0.94);
  transition:
    opacity 0.62s var(--ease-premium),
    transform 0.68s var(--ease-premium),
    box-shadow 0.42s var(--ease-premium),
    border-color 0.42s var(--ease-premium);
}

.story-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(198, 160, 86, 0.46), rgba(135, 185, 214, 0.44), rgba(255, 255, 255, 0.58));
  opacity: 0.42;
}

.story-card.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

html.js .story-card.reveal-on-scroll,
html.js[data-scroll-direction="up"] .story-card.reveal-on-scroll,
html.js .story-card.reveal-on-scroll.is-visible {
  transition:
    opacity 0.62s var(--ease-premium),
    transform 0.68s var(--ease-premium),
    box-shadow 0.42s var(--ease-premium);
}

html.js .story-card.reveal-on-scroll:not(.is-active),
html.js .story-card.reveal-on-scroll.is-visible:not(.is-active) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(54px, 0, 0) scale(0.94);
}

html.js .story-card.reveal-on-scroll.is-active,
html.js .story-card.reveal-on-scroll.is-visible.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.story-card.is-exiting {
  opacity: 0;
  visibility: visible;
  transform: translate3d(-54px, 0, 0) scale(0.94);
}

.story-card.is-active:hover {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 34px 88px rgba(18, 38, 56, 0.22);
  transform: translateY(-6px) scale(1.01);
}

.story-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.32), transparent 30%),
    linear-gradient(145deg, rgba(231, 244, 251, 0.48), rgba(111, 151, 177, 0.18)),
    linear-gradient(180deg, rgba(9, 31, 48, 0.14), rgba(9, 31, 48, 0.28)),
    rgba(202, 224, 239, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    inset 0 -84px 120px rgba(4, 15, 24, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.12);
}

.story-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transform: none;
  transition: transform 0.7s var(--ease-premium), opacity 0.7s var(--ease-premium);
}

.story-card.is-active .story-media {
  animation: story-media-enter 1.08s var(--ease-premium) both;
}

video.story-media {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(145deg, rgba(219, 237, 248, 0.72), rgba(68, 108, 136, 0.34));
}

.story-card--cool .story-media {
  object-position: 44% center;
}

.story-card--gold .story-media {
  object-position: 58% center;
}

.story-card--dark .story-media {
  object-position: 70% center;
}

.story-card--soft .story-media {
  object-position: 28% center;
}

.story-frame::before,
.story-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.story-frame::before {
  background:
    linear-gradient(180deg, rgba(4, 14, 23, 0.28), rgba(4, 14, 23, 0.02) 34%, rgba(4, 14, 23, 0.04) 64%, rgba(4, 14, 23, 0.34)),
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.24), transparent 23%),
    linear-gradient(110deg, transparent 0 36%, rgba(255, 255, 255, 0.1) 46%, transparent 58% 100%);
}

.story-frame::after {
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 32%),
    linear-gradient(315deg, rgba(198, 160, 86, 0.16), transparent 34%);
  mix-blend-mode: screen;
  opacity: 0.44;
}

.story-card.is-active:hover .story-media {
  transform: none;
}

.story-progress {
  position: absolute;
  top: 0.88rem;
  right: 0.9rem;
  left: 0.9rem;
  z-index: 3;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  box-shadow:
    0 1px 8px rgba(4, 14, 23, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.story-progress::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(232, 244, 252, 0.94));
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.46);
}

.story-gallery.is-story-visible .story-card.is-active .story-progress::before {
  animation: story-progress var(--story-duration, 5.8s) linear forwards;
}

.story-brand {
  position: absolute;
  top: 1.55rem;
  left: 0.9rem;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0.18rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(216, 235, 248, 0.42)),
    rgba(240, 248, 252, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84), 0 12px 30px rgba(4, 14, 23, 0.22);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
}

.story-brand img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
}

.story-meta {
  position: absolute;
  top: 1.66rem;
  right: 4rem;
  left: 3.78rem;
  z-index: 4;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 0;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 12px rgba(4, 14, 23, 0.35);
}

.story-meta strong {
  min-width: 0;
  overflow: hidden;
  font-size: 0.98rem;
  font-weight: 780;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-meta span {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.story-actions {
  display: none;
}

.story-sound-button {
  position: absolute;
  top: 1.5rem;
  right: 0.9rem;
  z-index: 14;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(218, 237, 248, 0.12)),
    rgba(7, 24, 38, 0.3);
  color: rgba(255, 255, 255, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 14px 36px rgba(4, 14, 23, 0.26);
  cursor: pointer;
  touch-action: manipulation;
  backdrop-filter: blur(12px) saturate(1.1);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  transition:
    transform 0.28s var(--ease-premium),
    border-color 0.28s var(--ease-premium),
    background 0.28s var(--ease-premium),
    box-shadow 0.28s var(--ease-premium);
}

.story-sound-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  pointer-events: none;
}

.story-sound-button:hover,
.story-sound-button[aria-pressed="true"] {
  border-color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(218, 237, 248, 0.16)),
    rgba(7, 24, 38, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 18px 44px rgba(4, 14, 23, 0.32);
  transform: translateY(-1px);
}

.story-sound-button:active {
  transform: translateY(0) scale(0.96);
}

.story-hitbox {
  position: absolute;
  top: 0.48rem;
  bottom: 0.48rem;
  z-index: 8;
  width: 50%;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.story-hitbox--prev {
  left: 0.48rem;
}

.story-hitbox--next {
  right: 0.48rem;
}

.story-hitbox:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.72);
  outline-offset: -12px;
  border-radius: 34px;
}

@keyframes story-progress {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.76fr);
  gap: clamp(1.25rem, 3.2vw, 2.5rem);
  align-items: center;
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(250, 253, 255, 0.62), rgba(213, 231, 244, 0.34)),
    rgba(236, 246, 252, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -28px 72px rgba(154, 185, 210, 0.11),
    0 26px 74px rgba(24, 44, 63, 0.1);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

.contact-grid::before,
.contact-grid::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.contact-grid::before {
  top: 50%;
  right: 2%;
  width: min(26vw, 280px);
  aspect-ratio: 1;
  border: 1px solid rgba(198, 160, 86, 0.18);
  border-radius: 42%;
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.54), transparent 26%),
    radial-gradient(circle at 62% 68%, rgba(198, 160, 86, 0.12), transparent 34%),
    rgba(219, 233, 244, 0.12);
  opacity: 0.18;
  transform: translateY(-50%) rotate(8deg);
  animation: contact-orbit 13s ease-in-out infinite;
}

.contact-grid::after {
  right: 8%;
  bottom: -0.8rem;
  width: min(38vw, 420px);
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(198, 160, 86, 0.5), rgba(255, 255, 255, 0.72), transparent);
  opacity: 0.36;
  animation: contact-line-glow 4.8s ease-in-out infinite;
}

.contact-grid > * {
  position: relative;
  z-index: 1;
}

.contact-note {
  max-width: 600px;
  margin-top: 0.72rem;
  color: rgba(44, 64, 82, 0.8);
  line-height: 1.66;
}

.contact-links {
  display: grid;
  gap: 0.62rem;
  min-width: 0;
}

.contact-links a {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  column-gap: 1.18rem;
  gap: 0.12rem;
  min-height: 64px;
  padding: 0.68rem 1rem 0.68rem 0.74rem;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(251, 254, 255, 0.7), rgba(215, 232, 245, 0.32)),
    rgba(241, 249, 253, 0.5);
  box-shadow: inset 0 1px 0 var(--glass-shine), 0 18px 46px rgba(34, 58, 81, 0.1);
  color: var(--ink);
  isolation: isolate;
  overflow-wrap: anywhere;
  overflow: hidden;
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  transition: color 0.3s var(--ease-premium), transform 0.3s var(--ease-premium), background 0.3s var(--ease-premium), box-shadow 0.3s var(--ease-premium), border-color 0.3s var(--ease-premium);
}

.contact-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(112deg, transparent 12%, rgba(255, 255, 255, 0.52) 44%, rgba(198, 160, 86, 0.12) 52%, transparent 68%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-120%);
  transition: opacity 0.32s var(--ease-premium), transform 0.78s var(--ease-premium);
}

.contact-links a > * {
  position: relative;
  z-index: 1;
}

.contact-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(253, 255, 255, 0.82), rgba(217, 234, 246, 0.38)),
    rgba(241, 249, 253, 0.54);
  color: var(--navy);
  box-shadow: inset 0 1px 0 var(--glass-shine), 0 14px 32px rgba(34, 58, 81, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.34s var(--ease-premium), color 0.34s var(--ease-premium), border-color 0.34s var(--ease-premium), box-shadow 0.34s var(--ease-premium), background 0.34s var(--ease-premium);
}

.contact-icon::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(198, 160, 86, 0.24), transparent 48%, rgba(216, 237, 252, 0.46));
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}

.contact-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: 0;
  border: 1px solid rgba(198, 160, 86, 0.22);
  border-radius: inherit;
  opacity: 0;
  transform: scale(0.74);
  transition: opacity 0.34s var(--ease-premium), transform 0.34s var(--ease-premium);
}

.contact-icon svg {
  position: relative;
  z-index: 1;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 0.34s var(--ease-premium), stroke-width 0.34s var(--ease-premium);
}

.contact-text {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.contact-text > span,
.contact-links strong {
  transition: color 0.28s var(--ease-premium), transform 0.28s var(--ease-premium);
}

.contact-links a::after {
  content: "→";
  display: none;
  position: absolute;
  top: 50%;
  right: 1rem;
  z-index: 1;
  color: var(--gold);
  opacity: 0;
  transform: translate(-8px, -50%);
  transition: opacity 0.3s var(--ease-premium), transform 0.3s var(--ease-premium);
}

.contact-links a:hover::before {
  animation: glass-sheen 0.96s var(--ease-premium) both;
}

.contact-links a:hover {
  background:
    linear-gradient(145deg, rgba(253, 255, 255, 0.78), rgba(220, 236, 248, 0.44)),
    rgba(244, 250, 253, 0.58);
  border-color: rgba(198, 160, 86, 0.32);
  box-shadow:
    inset 0 1px 0 var(--glass-shine),
    inset 0 -20px 48px rgba(166, 194, 216, 0.14),
    0 30px 78px rgba(34, 58, 81, 0.18),
    0 0 0 1px rgba(198, 160, 86, 0.08);
  color: var(--ink);
  transform: translateY(-6px) scale(1.012);
}

.contact-links a:hover .contact-icon {
  border-color: rgba(198, 160, 86, 0.34);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(218, 235, 247, 0.42)),
    rgba(232, 214, 168, 0.2);
  box-shadow:
    inset 0 1px 0 var(--glass-shine),
    0 18px 44px rgba(34, 58, 81, 0.16),
    0 0 0 1px rgba(198, 160, 86, 0.16),
    0 0 30px rgba(198, 160, 86, 0.16);
  color: var(--gold-text);
  transform: translateY(-3px) scale(1.08);
}

.contact-links a:hover .contact-icon svg {
  stroke-width: 2;
  transform: scale(1.08);
}

.contact-links a:hover .contact-icon::after {
  opacity: 1;
  transform: scale(1);
  animation: contact-ring-pulse 1.45s ease-in-out infinite;
}

.contact-links a:hover .contact-text > span,
.contact-links a:hover strong {
  transform: translateX(2px);
}

.contact-links a:hover .contact-icon::before {
  opacity: 1;
}

.contact-links a:hover::after {
  opacity: 1;
  transform: translate(0, -50%);
  animation: arrow-pulse 0.95s ease-in-out infinite;
}

.contact-links strong {
  color: rgba(9, 24, 38, 0.92);
  font-size: 1rem;
  line-height: 1.45;
}

.footer {
  padding: 1.15rem 0 calc(1.15rem + env(safe-area-inset-bottom));
  border-top: 0;
  background:
    linear-gradient(180deg, rgba(210, 227, 240, 0), rgba(201, 219, 234, 0.5)),
    transparent;
  color: var(--muted);
}

.footer-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas: "copy home dock";
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  width: min(92vw, 860px);
  min-height: 0;
  margin-inline: auto;
  padding: 0.5rem 0.62rem 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(247, 251, 253, 0.66), rgba(203, 224, 240, 0.34)),
    rgba(221, 234, 245, 0.42);
  box-shadow:
    inset 0 1px 0 var(--glass-shine),
    inset 0 -12px 30px rgba(166, 194, 216, 0.11),
    0 18px 52px rgba(34, 58, 81, 0.12);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

.footer-shell::before {
  content: "";
  position: absolute;
  inset: 1px 16% auto;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), rgba(198, 160, 86, 0.34), transparent);
  pointer-events: none;
}

.footer-home-button,
.footer-copy {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(241, 248, 252, 0.72), rgba(202, 224, 240, 0.32)),
    rgba(221, 234, 245, 0.46);
  box-shadow: inset 0 1px 0 var(--glass-shine), 0 10px 26px rgba(34, 58, 81, 0.08);
  color: var(--navy);
}

.footer-home-button {
  grid-area: home;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(135deg, rgba(7, 26, 44, 0.94), rgba(18, 48, 71, 0.88));
  color: var(--paper);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 34px rgba(7, 26, 44, 0.16);
  overflow: hidden;
  transition: color 0.28s var(--ease-premium), transform 0.28s var(--ease-premium), background 0.28s var(--ease-premium), box-shadow 0.28s var(--ease-premium), border-color 0.28s var(--ease-premium);
}

.footer-home-button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 48%, rgba(184, 146, 69, 0.2));
  opacity: 0.88;
  pointer-events: none;
}

.footer-home-button svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  transition: transform 0.28s var(--ease-premium), stroke-width 0.28s var(--ease-premium);
}

.footer-contact-dock {
  grid-area: dock;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 42px);
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-contact-link {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(241, 248, 252, 0.74), rgba(202, 224, 240, 0.34)),
    rgba(221, 234, 245, 0.5);
  box-shadow: inset 0 1px 0 var(--glass-shine), 0 12px 30px rgba(34, 58, 81, 0.09);
  color: var(--navy);
  transition: color 0.28s var(--ease-premium), transform 0.28s var(--ease-premium), background 0.28s var(--ease-premium), box-shadow 0.28s var(--ease-premium), border-color 0.28s var(--ease-premium);
}

.footer-contact-link::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 48%, rgba(184, 146, 69, 0.18));
  opacity: 0;
  transition: opacity 0.28s var(--ease-premium);
}

.footer-contact-link svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  transition: transform 0.28s var(--ease-premium), stroke-width 0.28s var(--ease-premium);
}

.footer-contact-link--whatsapp svg {
  width: 21px;
  height: 21px;
}

.footer-contact-link:hover {
  background:
    linear-gradient(145deg, rgba(244, 249, 252, 0.78), rgba(205, 227, 241, 0.44)),
    rgba(224, 237, 247, 0.6);
  box-shadow: inset 0 1px 0 var(--glass-shine), 0 18px 44px rgba(34, 58, 81, 0.14);
  color: var(--gold-text);
  transform: translateY(-4px) scale(1.06);
}

.footer-contact-link:hover::before {
  opacity: 1;
}

.footer-contact-link:hover svg {
  stroke-width: 2.1;
  transform: scale(1.12);
}

.footer-contact-link:active {
  transform: translateY(0) scale(0.96);
}

.footer-copy {
  grid-area: copy;
  justify-self: start;
  min-width: 0;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(11, 22, 32, 0.66);
  font-size: 0.76rem;
  font-weight: 720;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}

.footer-seo {
  width: min(88vw, 620px);
  margin: 0.5rem auto 0;
  color: rgba(70, 89, 107, 0.5);
  font-size: 0.56rem;
  font-weight: 560;
  line-height: 1.38;
  text-align: center;
}

.footer-home-button:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(135deg, rgba(10, 35, 58, 0.96), rgba(18, 55, 82, 0.92));
  border-color: rgba(184, 146, 69, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 18px 42px rgba(7, 26, 44, 0.2);
  color: var(--paper);
  transform: translateY(-2px);
}

.footer-home-button:hover svg {
  stroke-width: 2.1;
  transform: scale(1.08);
}

.footer-home-button:active {
  transform: translateY(0) scale(0.98);
}

html.js .hero-copy::before,
html.js .contact-grid::before,
html.js .contact-grid::after {
  animation-play-state: paused;
}

html.js .hero.is-ambient-active .hero-copy::before,
html.js .contact-section.is-ambient-active .contact-grid::before,
html.js .contact-section.is-ambient-active .contact-grid::after {
  animation-play-state: running;
}

html.effects-lite .hero::after,
html.effects-lite .services-section::after,
html.effects-lite .gallery-section::after,
html.effects-lite .contact-section::after,
html.effects-lite .contact-grid::before,
html.effects-lite .contact-grid::after {
  display: none;
}

html.effects-lite .nav::after,
html.effects-lite .hero-copy::before,
html.effects-lite .section-label::after {
  animation: none;
}

html.effects-lite .nav,
html.effects-lite .contact-grid,
html.effects-lite .footer-shell {
  backdrop-filter: blur(12px) saturate(1.06);
  -webkit-backdrop-filter: blur(12px) saturate(1.06);
}

html.effects-lite .quick-menu,
html.effects-lite .nav-button,
html.effects-lite .button,
html.effects-lite .contact-section::before,
html.effects-lite .service-card,
html.effects-lite .story-gallery,
html.effects-lite .story-brand,
html.effects-lite .story-sound-button,
html.effects-lite .contact-links a,
html.effects-lite .contact-icon {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nav-drop-in {
  from {
    opacity: 0;
    transform: translateY(-24px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-stage-in {
  from {
    opacity: 0;
    transform: scale(0.975);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hero-title-in {
  from {
    opacity: 0;
    clip-path: inset(0 0 76% 0);
    transform: translateY(42px) scale(0.975);
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-piece-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glass-sheen {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }

  42% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes story-media-enter {
  from {
    opacity: 0.82;
    transform: scale(1.028);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes page-grid-drift {
  from {
    background-position: 0 0, 0 0, 0 0;
    opacity: 0.74;
  }

  to {
    background-position: 5vw -3vh, -4vw 3vh, 44px 0;
    opacity: 0.9;
  }
}

@keyframes section-ambient {
  from {
    background-position: 0% 50%, 0 0;
  }

  to {
    background-position: 100% 48%, 54px 0;
  }
}

@keyframes nav-glint {
  0%,
  35%,
  100% {
    opacity: 0.44;
    transform: translateX(-18%) scaleX(0.42);
  }

  58% {
    opacity: 0.95;
    transform: translateX(18%) scaleX(1);
  }
}

@keyframes hero-sweep {
  0%,
  32% {
    transform: translateX(-58%) rotate(0.001deg);
  }

  70%,
  100% {
    transform: translateX(58%) rotate(0.001deg);
  }
}

@keyframes seal-breathe {
  0%,
  100% {
    opacity: 0.055;
    transform: translate(-50%, -50%) scale(0.98);
  }

  50% {
    opacity: 0.09;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@keyframes label-line {
  0%,
  100% {
    transform: scaleX(0.55);
    transform-origin: left;
    opacity: 0.6;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes arrow-pulse {
  0%,
  100% {
    transform: translate(0, -50%);
  }

  50% {
    transform: translate(4px, -50%);
  }
}

@keyframes contact-card-in {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.975);
  }

  62% {
    opacity: 1;
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes contact-orbit {
  0%,
  100% {
    border-radius: 42% 58% 56% 44%;
    opacity: 0.42;
    transform: translateY(-50%) rotate(8deg) scale(0.98);
  }

  50% {
    border-radius: 56% 44% 42% 58%;
    opacity: 0.62;
    transform: translateY(-50%) rotate(-5deg) scale(1.04);
  }
}

@keyframes contact-line-glow {
  0%,
  100% {
    opacity: 0.34;
    transform: scaleX(0.72);
  }

  50% {
    opacity: 0.74;
    transform: scaleX(1);
  }
}

@keyframes contact-ring-pulse {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.88);
  }

  50% {
    opacity: 0.78;
    transform: scale(1.08);
  }
}

@keyframes contact-soft-pop {
  from {
    opacity: 0;
    transform: translateY(-50%) rotate(16deg) scale(0.86);
  }
}

@media (max-width: 1080px) {
  html {
    scroll-padding-top: 92px;
  }

  section[id] {
    scroll-margin-top: 92px;
  }

  .nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
    padding: 0.58rem 0.68rem;
  }

  .nav-actions {
    justify-self: end;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.45rem;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 86px;
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: 4.65rem;
  }

  h2 {
    font-size: 2.85rem;
  }

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

  .story-gallery {
    --story-gap: 0;
    --story-radius: 40px;
    width: min(88vw, 410px);
  }

}

@media (max-width: 720px) {
  body {
    padding-bottom: 0;
  }

  html {
    scroll-padding-top: 140px;
  }

  section[id] {
    scroll-margin-top: 140px;
  }

  .container {
    width: min(92vw, 1160px);
  }

  .nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.52rem;
    min-height: auto;
    padding: 0.52rem 0.58rem;
    border-radius: 30px;
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
  }

  .brand {
    gap: 0.56rem;
    font-size: 0.96rem;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .nav-button {
    min-height: 38px;
    padding: 0 0.82rem;
    font-size: 0.84rem;
  }

  .nav-actions {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
    width: 100%;
    gap: 0.52rem;
    justify-content: stretch;
    justify-self: stretch;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .quick-menu {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 38px;
    gap: 0.08rem;
    padding: 0.2rem;
  }

  .quick-menu a {
    justify-items: center;
    min-height: 32px;
    padding: 0 0.38rem;
    font-size: 0.74rem;
  }

  .nav-actions .nav-button {
    flex: 0 0 auto;
    min-width: 86px;
  }

  .hero::before {
    inset: 10px;
    border-radius: 30px;
  }

  .hero-grid {
    min-height: 520px;
    padding: 62px 0 44px;
  }

  .hero h1 {
    font-size: 2.9rem;
    line-height: 1.09;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }

  .hero-lead {
    margin-bottom: 1.16rem;
    font-size: 1.04rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem;
  }

  .hero-actions .button {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding-inline: 0.55rem;
    font-size: 0.86rem;
  }

  .section {
    padding: 42px 0;
  }

  .gallery-section {
    padding: 46px 0;
  }

  .story-gallery {
    --story-gap: 0;
    --story-radius: 34px;
    width: min(88vw, 390px);
  }

  .story-card {
    padding: 0;
  }

  .story-frame {
    border-radius: inherit;
  }

  .story-brand {
    width: 38px;
    height: 38px;
  }

  .story-sound-button {
    top: 1.42rem;
    right: 0.72rem;
    width: 40px;
    height: 40px;
  }

  .story-sound-button svg {
    width: 19px;
    height: 19px;
  }

  .story-meta {
    right: 3.35rem;
    left: 3.42rem;
  }

  .story-meta strong {
    font-size: 0.9rem;
  }
  .section-head {
    margin-bottom: 1.1rem;
  }

  h2 {
    font-size: 2.12rem;
    line-height: 1.1;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 0.68rem;
  }

  .service-card {
    min-height: auto;
    border-radius: 26px;
  }

  .service-card {
    padding: 1rem;
  }

  .service-card h3 {
    margin-bottom: 0.34rem;
    font-size: 1.05rem;
    line-height: 1.34;
  }

  .service-card p {
    font-size: 0.9rem;
    line-height: 1.56;
  }

  .contact-grid {
    padding: 1rem;
    border-radius: 30px;
  }

  .contact-section::before {
    inset: 14px 10px;
    border-radius: 38px;
  }

  .contact-links a {
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 1rem;
    min-height: 62px;
    padding: 0.64rem 0.72rem;
    border-radius: 24px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .contact-icon svg {
    width: 19px;
    height: 19px;
  }

  .contact-links a::after {
    display: none;
  }

  .footer {
    padding-bottom: calc(1.15rem + env(safe-area-inset-bottom));
  }

  .footer-shell {
    grid-template-columns: auto auto;
    grid-template-areas:
      "home dock"
      "copy copy";
    justify-content: center;
    width: min(92vw, 330px);
    min-height: 0;
    padding: 0.48rem 0.5rem 0.38rem;
    border-radius: 24px;
    gap: 0.38rem 0.46rem;
  }

  .footer-home-button {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
  }

  .footer-home-button svg {
    width: 18px;
    height: 18px;
  }

  .footer-contact-dock {
    grid-template-columns: repeat(4, 38px);
    gap: 0.3rem;
  }

  .footer-contact-link {
    width: 38px;
    height: 38px;
  }

  .footer-contact-link svg {
    width: 18px;
    height: 18px;
  }

  .footer-copy {
    justify-self: center;
    min-height: 30px;
    padding-inline: 0.4rem;
    font-size: 0.64rem;
    text-align: center;
  }

  .footer-seo {
    width: min(82vw, 280px);
    margin-top: 0.42rem;
    font-size: 0.5rem;
    line-height: 1.3;
  }

}

@media (max-width: 390px) {
  .brand span {
    max-width: none;
  }

  .nav-button {
    padding: 0 0.58rem;
  }

  .nav-actions {
    gap: 0.38rem;
    padding: 0;
  }

  .quick-menu a {
    padding: 0 0.52rem;
    font-size: 0.76rem;
  }

  .hero h1 {
    font-size: 2.42rem;
  }

  h2 {
    font-size: 1.96rem;
  }

  .footer-shell {
    width: min(94vw, 304px);
    gap: 0.34rem 0.38rem;
  }

  .footer-home-button {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .footer-contact-dock {
    grid-template-columns: repeat(4, 36px);
    gap: 0.28rem;
  }

  .footer-contact-link {
    width: 36px;
    height: 36px;
  }

  .footer-copy {
    font-size: 0.66rem;
  }

  .footer-seo {
    width: min(82vw, 240px);
    font-size: 0.48rem;
  }

}

@media (hover: none) {
  .contact-links a:hover,
  .nav-button:hover,
  .button:hover,
  .brand:hover img,
  .quick-menu a:hover,
  .contact-links a:hover .contact-icon,
  .contact-links a:hover .contact-icon svg,
  .contact-links a:hover .contact-icon::after,
  .contact-links a:hover .contact-text > span,
  .contact-links a:hover strong,
  .service-card:hover span,
  .service-card:hover h3,
  .service-card:hover p,
  .service-card:hover,
  .story-card.is-active:hover,
  .story-card.is-active:hover .story-media,
  .footer-home-button:hover,
  .footer-contact-link:hover,
  .footer-contact-link:hover svg {
    transform: none;
  }

  .contact-links a:hover::before {
    opacity: 0;
    transform: translateX(-120%);
  }

  .contact-links a:hover::before,
  .service-card:hover::after {
    animation: none;
  }

  .contact-links a:hover .contact-icon::after {
    opacity: 0;
    animation: none;
  }

  .service-card:hover {
    box-shadow: inset 0 1px 0 var(--glass-shine), 0 22px 64px rgba(42, 67, 91, 0.1);
  }
}

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

  html.js .reveal-on-scroll,
  html.js[data-scroll-direction="up"] .reveal-on-scroll,
  html.js .reveal-on-scroll.is-visible {
    opacity: 1;
    filter: none;
    transform: none;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
