/* ==========================================================================
   THE ATLAS 擎海 — Replica stylesheet（深藍配色版）
   設計語言：深藍主調 + 冷白背景 + 淺藍強調，沉穩專業。
     background  #f5f8fb | ink #102a43 | primary #16324f
     accent      #b8d0e8 | secondary #e6eef5 | border #d8e3ed
   Type: Noto Serif TC (display) + Noto Sans TC (body)
   Line-heights and radii mirror the Tailwind v4 scale used by the original.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --background: #f5f8fb;
  --foreground: #102a43;
  --ink: #102a43;
  --card: #ffffff;
  --primary: #16324f;
  --primary-foreground: #f5f8fb;
  --secondary: #e6eef5;
  --secondary-foreground: #16324f;
  --muted: #e6eef5;
  --muted-foreground: #5c7186;
  --accent: #b8d0e8;
  --accent-foreground: #102a43;
  --destructive: #b23b3b;
  --border: #d8e3ed;

  /* Tailwind v4 derives these from --radius (.625rem) */
  --radius: 0.625rem;
  --radius-2xl: 1.125rem; /* calc(--radius * 1.8) = 18px */
  --radius-3xl: 1.375rem; /* calc(--radius * 2.2) = 22px */

  --font-sans: "Noto Sans TC", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-serif: "Noto Serif TC", "Songti TC", Georgia, serif;

  --container: 80rem; /* 1280px — max-w-7xl */

  /* Tailwind v4 transition defaults */
  --tw-duration: 0.15s; /* --default-transition-duration */
  --tw-ease: cubic-bezier(0.4, 0, 0.2, 1); /* --default-transition-timing-function */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* ease-[cubic-bezier(.16,1,.3,1)] */

  /* Tailwind v4 transition-property values */
  --tw-transition-transform: transform, translate, scale, rotate;
  --tw-transition-colors: color, background-color, border-color, outline-color,
    text-decoration-color, fill, stroke;
  --tw-transition-opacity: opacity;

  /* Tailwind v4 keeps four inert shadow layers around every real shadow so
     that ring/inset utilities can compose with it. */
  --tw-shadow-reset: 0 0 #0000, 0 0 #0000, 0 0 #0000, 0 0 #0000;
  --shadow-sm: var(--tw-shadow-reset) 0 1px 3px 0 rgb(0 0 0 / 0.1),
    0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: var(--tw-shadow-reset) 0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: var(--tw-shadow-reset) 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: var(--tw-shadow-reset) 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: var(--tw-shadow-reset) 0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* Tailwind v4 type scale: --text-X--line-height */
  --lh-xs: 1.3333; /* text-xs */
  --lh-sm: 1.4286; /* text-sm */
  --lh-base: 1.5; /* text-base */
  --lh-lg: 1.5556; /* text-lg */
  --lh-xl: 1.4; /* text-xl */
  --lh-2xl: 1.3333; /* text-2xl */
  --lh-3xl: 1.2; /* text-3xl */
  --lh-4xl: 1.1111; /* text-4xl */
  --lh-tight: 1.25; /* leading-tight */
  --lh-snug: 1.375; /* leading-snug */
  --lh-relaxed: 1.625; /* leading-relaxed */
}

/* ---------- 2. Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

/* Original base layer: * { border-color: var(--border) } */
* {
  border-color: var(--border);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: var(--lh-base);
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked {
  overflow: hidden;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  vertical-align: middle;
  display: block;
}

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

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

h1,
h2,
h3 {
  font-size: inherit;
  font-weight: inherit;
}

/* Tailwind v4 preflight parity: form controls inherit typography and have
   no native chrome. */
button,
input,
optgroup,
select,
textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  background-color: transparent;
  border-radius: 0;
}

button {
  cursor: pointer;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--accent);
  color: var(--accent-foreground);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}

.section {
  padding-block: 6rem;
}

@media (min-width: 768px) {
  .section {
    padding-block: 8rem;
  }
}

/* Page wrapper — original: <main class="relative bg-background pb-14"> */
.site-main {
  position: relative;
  background: var(--background);
  padding-bottom: 3.5rem;
}

.font-serif {
  font-family: var(--font-serif);
}

.text-balance {
  text-wrap: balance;
}

/* Section eyebrow — small tracked label preceded by a rule */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: var(--lh-sm);
  letter-spacing: 0.35em;
  color: var(--primary);
}

.eyebrow::before {
  content: "";
  height: 1px;
  width: 2rem;
  background: var(--accent);
  flex: none;
}

.eyebrow--center {
  justify-content: center;
  color: var(--accent);
  letter-spacing: 0.4em;
}

.eyebrow--center::before {
  display: none;
}

/* Heading scale — text-4xl on mobile, text-5xl from md up */
.h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  line-height: var(--lh-4xl);
  color: var(--foreground);
}

@media (min-width: 768px) {
  .h2 {
    font-size: 3rem;
    line-height: 1;
  }
}

.h2--tight {
  line-height: var(--lh-tight);
}

.h2--light {
  color: #fff;
}

.h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: var(--lh-xl);
  color: var(--foreground);
}

.lead {
  font-size: 1.125rem;
  line-height: var(--lh-relaxed);
  color: var(--muted-foreground);
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 500;
  line-height: var(--lh-base);
  white-space: nowrap;
  /* The original's plain buttons use `transition-transform` (0.15s default) */
  transition: var(--tw-transition-transform) var(--tw-duration) var(--tw-ease);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn--md {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  /* most md buttons use transition-transform */
  transition: var(--tw-transition-transform) var(--tw-duration) var(--tw-ease);
}

/* Drawer CTAs — original: px-6 py-3.5 text-base */
.btn--drawer {
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  /* drawer CTAs use transition-transform or transition-colors */
  transition: var(--tw-transition-transform) var(--tw-duration) var(--tw-ease);
}

/* Footer CTAs — original: px-6 py-3 text-sm */
.btn--sm {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  line-height: var(--lh-sm);
  transition: var(--tw-transition-transform) var(--tw-duration) var(--tw-ease);
}

.btn--accent {
  background: var(--accent);
  color: var(--accent-foreground);
}

.btn--accent:hover {
  transform: scale(1.03);
}

.btn--primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn--primary:hover {
  transform: scale(1.02);
}

.btn--outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  /* original: transition-colors */
  transition: var(--tw-transition-colors) var(--tw-duration) var(--tw-ease);
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn--ghost {
  border: 1px solid rgb(255 255 255 / 0.6);
  background: rgb(255 255 255 / 0.05);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  /* original: transition-colors */
  transition: var(--tw-transition-colors) var(--tw-duration) var(--tw-ease);
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 0.15);
}

.btn--shadow {
  box-shadow: var(--shadow-lg);
}

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

.nav__cta.btn--shadow {
  box-shadow: var(--shadow-sm);
}

.nav__cta.btn--shadow:hover {
  box-shadow: var(--shadow-md);
}

/* Hero CTAs use `transition-all duration-300` in the original. */
.btn--hero {
  transition: all 0.3s var(--tw-ease);
}

/* The drawer's accent CTA scales to 1.02 (not 1.03) in the original. */
.btn--drawer.btn--accent:hover {
  transform: scale(1.02);
}

.btn svg {
  flex: none;
}

.icon-4 {
  width: 1rem;
  height: 1rem;
}

.icon-5 {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-6 {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-7 {
  width: 1.75rem;
  height: 1.75rem;
}

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: all 0.5s var(--tw-ease);
}

.site-header.is-scrolled {
  background: rgb(245 248 251 / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: var(--lh-xl);
  font-weight: 600;
  letter-spacing: 0.3em;
  color: #fff;
  transition: var(--tw-transition-colors) var(--tw-duration) var(--tw-ease);
}

.brand__zh {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  line-height: var(--lh-sm);
  letter-spacing: 0.5em;
  color: rgb(255 255 255 / 0.8);
  transition: var(--tw-transition-colors) var(--tw-duration) var(--tw-ease);
}

.site-header.is-scrolled .brand__name {
  color: var(--foreground);
}

.site-header.is-scrolled .brand__zh {
  color: var(--primary);
}

.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav__links {
    display: flex;
  }
}

.nav__link {
  font-size: 0.875rem;
  line-height: var(--lh-sm);
  letter-spacing: 0.025em;
  color: rgb(255 255 255 / 0.85);
  transition: var(--tw-transition-colors) var(--tw-duration) var(--tw-ease);
}

.nav__link:hover {
  color: var(--accent);
}

.site-header.is-scrolled .nav__link {
  color: var(--muted-foreground);
}

.site-header.is-scrolled .nav__link:hover {
  color: var(--primary);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  line-height: var(--lh-sm);
  font-weight: 500;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--tw-ease);
}

.nav__cta.btn--shadow {
  box-shadow: var(--shadow-sm);
}

.nav__cta:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .nav__cta {
    display: inline-flex;
  }
}

.icon-btn {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgb(255 255 255 / 0.4);
  color: #fff;
  cursor: pointer;
  transition: var(--tw-transition-colors) var(--tw-duration) var(--tw-ease);
}

.icon-btn:hover {
  background: rgb(255 255 255 / 0.1);
}

.site-header.is-scrolled .icon-btn {
  border-color: var(--border);
  color: var(--foreground);
}

.site-header.is-scrolled .icon-btn:hover {
  background: var(--secondary);
}

/* ---------- 6. Mobile drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--tw-ease);
}

.drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgb(10 28 48 / 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.drawer__panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 86%;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  background: var(--background);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-2xl);
  /* Tailwind v4 slides the panel with the `translate` property, not transform */
  translate: 100% 0;
  transition: var(--tw-transition-transform) 0.5s var(--ease-out);
}

.drawer.is-open .drawer__panel {
  translate: 0 0;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer__title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: var(--lh-lg);
  letter-spacing: 0.3em;
  color: var(--primary);
}

.drawer__close {
  border-color: var(--border);
  color: var(--foreground);
}

.drawer__close:hover {
  background: var(--secondary);
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 2.5rem;
}

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  /* original: border-b border-border/70 */
  border-color: color-mix(in oklab, var(--border) 70%, transparent);
  border-bottom-width: 1px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: var(--lh-2xl);
  color: var(--foreground);
  transition: var(--tw-transition-colors) var(--tw-duration) var(--tw-ease);
}

.drawer__link:hover {
  color: var(--primary);
}

.drawer__arrow {
  color: var(--primary);
  opacity: 0;
  transition: opacity var(--tw-duration) var(--tw-ease);
}

.drawer__link:hover .drawer__arrow {
  opacity: 1;
}

.drawer__foot {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 2rem;
  margin-top: auto;
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgb(10 28 48 / 0.7),
    rgb(10 28 48 / 0.35),
    rgb(10 28 48 / 0.8)
  );
}

.hero__scrim--side {
  background: linear-gradient(
    to right,
    rgb(10 28 48 / 0.6),
    transparent,
    transparent
  );
}

.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 7rem 1.25rem 8rem;
}

@media (min-width: 768px) {
  .hero__inner {
    padding-inline: 2rem;
  }
}

.hero__copy {
  max-width: 48rem;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  line-height: var(--lh-sm);
  letter-spacing: 0.4em;
  color: var(--accent);
}

.hero__eyebrow::before {
  content: "";
  height: 1px;
  width: 2.5rem;
  background: var(--accent);
  flex: none;
}

.hero__title {
  font-family: var(--font-serif);
  color: #fff;
}

.hero__title-en {
  display: block;
  font-size: 3.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
}

@media (min-width: 768px) {
  .hero__title-en {
    font-size: 6rem;
  }
}

.hero__title-zh {
  display: block;
  margin-top: 0.5rem;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  line-height: 1;
}

@media (min-width: 768px) {
  .hero__title-zh {
    font-size: 4.5rem;
  }
}

.hero__tagline {
  margin-top: 2rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: var(--lh-2xl);
  letter-spacing: 0.35em;
  color: rgb(255 255 255 / 0.9);
}

@media (min-width: 768px) {
  .hero__tagline {
    font-size: 1.875rem;
    line-height: var(--lh-3xl);
  }
}

.hero__sub {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: var(--lh-sm);
  letter-spacing: 0.3em;
  color: rgb(255 255 255 / 0.7);
}

@media (min-width: 768px) {
  .hero__sub {
    font-size: 1rem;
    line-height: var(--lh-base);
  }
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
  }
}

/* Scroll-down chevron — original: absolute inset-x-0 bottom-24 md:bottom-10 */
.hero__scroll {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6rem;
  display: flex;
  justify-content: center;
}

.hero__scroll svg {
  color: rgb(255 255 255 / 0.7);
  animation: bounce 1s infinite;
}

@media (min-width: 768px) {
  .hero__scroll {
    bottom: 2.5rem;
  }
}

@keyframes bounce {
  0%,
  to {
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    transform: translateY(-25%);
  }
  50% {
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    transform: none;
  }
}

/* ---------- 8. Full-bleed image bands ---------- */
.band {
  position: relative;
  overflow: hidden;
}

.band__media {
  position: relative;
  height: 70vh;
  min-height: 460px;
}

.band__media--tall {
  height: auto;
  min-height: 78vh;
}

.band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgb(10 28 48 / 0.8),
    rgb(10 28 48 / 0.2),
    transparent
  );
}

.band__scrim--club {
  background: linear-gradient(
    to top,
    rgb(10 28 48 / 0.85),
    rgb(10 28 48 / 0.2),
    rgb(10 28 48 / 0.4)
  );
}

.band__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
}

.band__caption-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 1.25rem 3.5rem;
}

@media (min-width: 768px) {
  .band__caption-inner {
    padding: 0 2rem 5rem;
  }
}

.band__kicker {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: var(--lh-sm);
  letter-spacing: 0.35em;
  color: var(--accent);
}

.band__title {
  max-width: 42rem;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: var(--lh-3xl);
  color: #fff;
}

@media (min-width: 768px) {
  .band__title {
    font-size: 3rem;
    line-height: var(--lh-snug);
  }
}

.band__body {
  max-width: 36rem;
  margin-top: 1.25rem;
  line-height: var(--lh-relaxed);
  color: rgb(255 255 255 / 0.8);
}

/* ---------- 9. Overview ---------- */
.overview {
  display: grid;
  gap: 3.5rem;
}

@media (min-width: 1024px) {
  .overview {
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
  }
}

@media (min-width: 1024px) {
  .overview__head {
    grid-column: span 5;
  }

  .overview__body {
    grid-column: span 7;
  }
}

.overview__body p + p {
  margin-top: 1.5rem;
}

.overview__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .overview__actions {
    flex-direction: row;
  }
}

/* ---------- 10. Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 3.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background: var(--border);
}

@media (min-width: 1024px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats__cell {
  background: var(--card);
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.stats__value {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  line-height: var(--lh-4xl);
  font-weight: 600;
  color: var(--primary);
}

@media (min-width: 768px) {
  .stats__value {
    font-size: 3rem;
    line-height: 1;
  }
}

.stats__label {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: var(--lh-base);
  font-weight: 500;
  color: var(--foreground);
}

.stats__note {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: var(--lh-sm);
  color: var(--muted-foreground);
}

/* ---------- 11. Transport ---------- */
.transport {
  background: rgb(230 238 245 / 0.6);
}

.transport__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .transport__grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

@media (min-width: 1024px) {
  .transport__intro {
    grid-column: span 4;
  }

  .transport__cards {
    grid-column: span 8;
  }
}

.transport__lede {
  margin-top: 1.5rem;
  line-height: var(--lh-relaxed);
  color: var(--muted-foreground);
}

.transport__cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .transport__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  height: 100%;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background: var(--card);
  transition: all 0.3s var(--tw-ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card svg {
  color: var(--primary);
}

.card h3 {
  margin-top: 1.25rem;
}

.card p {
  margin-top: 0.75rem;
  line-height: var(--lh-relaxed);
  color: var(--muted-foreground);
}

/* ---------- 12. Figures ---------- */
.figure {
  margin-top: 3rem;
}

.figure--tight {
  margin-top: 2rem;
}

.figure__frame {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
}

.figure__frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.figure__frame--zoom {
  border: 0;
}

.figure__frame--zoom img {
  aspect-ratio: 4 / 3;
  transition: var(--tw-transition-transform) 0.7s var(--tw-ease);
}

.figure__frame--zoom:hover img {
  transform: scale(1.05);
}

.figure__caption {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: var(--lh-sm);
  color: var(--muted-foreground);
}

/* ---------- 13. Lifestyle ---------- */
.lifestyle {
  display: grid;
  align-items: center;
  gap: 3.5rem;
}

@media (min-width: 1024px) {
  .lifestyle {
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
  }
}

.lifestyle__figure {
  order: 2;
  margin-top: 0;
}

@media (min-width: 1024px) {
  .lifestyle__figure {
    order: 1;
  }
}

.lifestyle__body {
  order: 1;
}

@media (min-width: 1024px) {
  .lifestyle__body {
    order: 2;
  }
}

.lifestyle__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.lifestyle__item {
  display: flex;
  gap: 1.25rem;
}

.lifestyle__badge {
  display: flex;
  width: 3rem;
  height: 3rem;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--secondary);
  color: var(--primary);
}

.lifestyle__item p {
  margin-top: 0.5rem;
  line-height: var(--lh-relaxed);
  color: var(--muted-foreground);
}

/* ---------- 14. Register ---------- */
.register__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.register__scrim {
  position: absolute;
  inset: 0;
  background: rgb(10 28 48 / 0.82);
}

.register__inner {
  position: relative;
  max-width: 48rem;
  margin-inline: auto;
  padding: 6rem 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .register__inner {
    padding: 8rem 2rem;
  }
}

.register__body {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: var(--lh-relaxed);
  color: rgb(255 255 255 / 0.8);
}

.register__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.register__actions .btn {
  width: 100%;
}

@media (min-width: 640px) {
  .register__actions {
    flex-direction: row;
  }

  .register__actions .btn {
    width: auto;
  }
}

/* ---------- 15. Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--background);
}

.site-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 3.5rem 1.25rem;
}

@media (min-width: 768px) {
  .site-footer__inner {
    padding-inline: 2rem;
  }
}

.site-footer__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .site-footer__top {
    flex-direction: row;
    align-items: center;
  }
}

.site-footer__brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: var(--lh-2xl);
  letter-spacing: 0.3em;
  color: var(--foreground);
}

.site-footer__tagline {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: var(--lh-sm);
  letter-spacing: 0.3em;
  color: var(--muted-foreground);
}

.site-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .site-footer__contacts {
    flex-direction: row;
  }
}

.site-footer__legal {
  padding-top: 2rem;
}

.site-footer__legal h3 {
  font-size: 0.875rem;
  line-height: var(--lh-sm);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--foreground);
}

.site-footer__legal p {
  margin-top: 1rem;
  font-size: 0.75rem;
  line-height: var(--lh-relaxed);
  color: var(--muted-foreground);
}

/* ---------- 16. Sticky bottom CTA ---------- */
.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  border-top: 1px solid var(--border);
  background: rgb(245 248 251 / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.sticky-cta__grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 48rem;
  margin-inline: auto;
}

.sticky-cta__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  font-size: 0.875rem;
  line-height: var(--lh-sm);
  transition: var(--tw-transition-colors) var(--tw-duration) var(--tw-ease);
}

.sticky-cta__item svg {
  transition: var(--tw-transition-transform) var(--tw-duration) var(--tw-ease);
}

.sticky-cta__item:hover svg {
  transform: scale(1.1);
}

.sticky-cta__wa {
  font-weight: 600;
  background: var(--primary);
  color: var(--primary-foreground);
}

.sticky-cta__wa:hover {
  filter: brightness(1.1);
}

/* ---------- 17. Image grading + reveal ---------- */
.img-grade {
  filter: saturate(1.02) contrast(1.06) brightness(0.97) hue-rotate(-6deg);
}

.js .reveal {
  opacity: 0;
  will-change: opacity, transform;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

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

/* ---------- 18. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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