/* ==========================================================================
   Poelo Shipping Ltd — style.css
   Design system: maritime corporate · deep navy · brass gold accent
   Type: Manrope (display) / Inter (body)
   ========================================================================== */

:root {
  /* Color tokens */
  --navy-950: #06182a;
  --navy-900: #0a2440;
  --navy-800: #0e3257;
  --navy-700: #15466f;
  --blue: #2e7db2;
  --blue-light: #8fc1e3;
  --gold: #c99b3f;
  --gold-light: #e3b45c;
  --gold-pale: #f3e3c2;
  --bg: #f5f8fa;
  --surface: #ffffff;
  --ink: #0e1b28;
  --muted: #46596a;
  --line: #dce5ec;
  --on-navy: #eaf2f8;
  --on-navy-muted: #aac0d1;

  /* Type */
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Layout */
  --container: 1160px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(10, 36, 64, 0.08);
  --shadow-md: 0 6px 24px rgba(10, 36, 64, 0.12);
  --shadow-lg: 0 16px 48px rgba(6, 24, 42, 0.22);

  /* Z-scale */
  --z-nav: 50;
  --z-lightbox: 80;
}

/* ---------- Reset / base ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
}

h3 {
  font-size: 1.22rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--navy-700);
}

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

::selection {
  background: var(--gold-pale);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy-950);
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.lede {
  font-size: 1.08rem;
  color: var(--muted);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 48px;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-950);
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy-950);
  box-shadow: 0 6px 18px rgba(201, 155, 63, 0.35);
}

.btn-outline-light {
  border-color: rgba(234, 242, 248, 0.55);
  color: var(--on-navy);
}

.btn-outline-light:hover {
  border-color: var(--on-navy);
  background: rgba(234, 242, 248, 0.1);
  color: #ffffff;
}

.btn-navy {
  background: var(--navy-900);
  color: var(--on-navy);
}

.btn-navy:hover {
  background: var(--navy-700);
  color: #ffffff;
}

.btn-outline {
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.btn-outline:hover {
  background: var(--navy-900);
  color: var(--on-navy);
}

/* ---------- Navbar ---------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  background: rgba(6, 24, 42, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(234, 242, 248, 0.08);
}

.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0.7rem 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--on-navy);
  font-family: var(--font-display);
}

.brand:hover {
  color: #ffffff;
}

.brand-mark {
  width: auto;
  height: 38px;
  flex: none;
}

.brand-name {
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  line-height: 1.1;
  color: #ffffff;
}

.brand-sub {
  display: inline;
  margin-left: 0.45em;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: inherit;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 0.55rem 0.85rem;
  color: var(--on-navy-muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(234, 242, 248, 0.08);
}

.nav-links a[aria-current="page"] {
  color: var(--gold-light);
}

.nav-cta {
  margin-left: 0.5rem;
}

.nav-cta .btn {
  padding: 0.55rem 1.25rem;
  min-height: 42px;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--on-navy);
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    background: var(--navy-950);
    border-bottom: 1px solid rgba(234, 242, 248, 0.1);
    padding: 0.75rem 24px 1.25rem;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 0.85rem;
    font-size: 1rem;
  }

  .nav-cta {
    margin: 0.5rem 0 0;
  }

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

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--navy-950);
  color: var(--on-navy);
  padding-block: 9rem 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 60%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 24, 42, 0.82) 0%, rgba(6, 24, 42, 0.55) 45%, rgba(6, 24, 42, 0.92) 100%),
    linear-gradient(100deg, rgba(6, 24, 42, 0.85) 0%, rgba(6, 24, 42, 0.25) 70%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #ffffff;
  max-width: 15ch;
}

.hero .lede {
  color: var(--on-navy-muted);
  max-width: 54ch;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

/* Page hero (interior pages) */

.page-hero {
  position: relative;
  background: var(--navy-950);
  color: var(--on-navy);
  padding-block: 9.5rem 4rem;
  overflow: hidden;
}

.page-hero .hero-bg {
  opacity: 0.9;
}

.page-hero h1 {
  color: #ffffff;
  max-width: 20ch;
}

.page-hero .lede {
  color: var(--on-navy-muted);
  max-width: 58ch;
}

/* ---------- Stats strip ---------- */

.stats {
  background: var(--navy-900);
  color: var(--on-navy);
  padding-block: 2.2rem;
  border-top: 1px solid rgba(234, 242, 248, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat {
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--on-navy-muted);
  letter-spacing: 0.04em;
}

@media (max-width: 760px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Cards / grids ---------- */

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 980px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {

  .grid-3,
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: #c5d4df;
}

.card h3 {
  margin-bottom: 0.45em;
}

.card p {
  color: var(--muted);
  font-size: 0.97rem;
  margin: 0;
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-900);
  color: var(--gold-light);
  margin-bottom: 1.1rem;
}

.icon-badge svg {
  width: 26px;
  height: 26px;
}

/* ---------- Vessel gallery ---------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}

.filter-chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  min-height: 42px;
}

.filter-chip:hover {
  border-color: var(--navy-700);
  color: var(--navy-900);
}

.filter-chip.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--on-navy);
}

.vessel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 980px) {
  .vessel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .vessel-grid {
    grid-template-columns: 1fr;
  }
}

.vessel-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.vessel-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #c5d4df;
}

.vessel-card.hidden {
  display: none;
}

.vessel-thumb {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-900);
}

.vessel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.vessel-card:hover .vessel-thumb img {
  opacity: 0.88;
}

.vessel-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(6, 24, 42, 0.82);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.vessel-info {
  padding: 1.1rem 1.3rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.vessel-info h3 {
  font-size: 1.02rem;
  margin: 0;
}

.vessel-info svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex: none;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  background: rgba(4, 14, 24, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox figure {
  margin: 0;
  max-width: 1100px;
  width: 100%;
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.lightbox figcaption {
  color: var(--on-navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  margin-top: 1rem;
}

.lightbox figcaption span {
  display: block;
  color: var(--on-navy-muted);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(234, 242, 248, 0.12);
  border: 0;
  border-radius: 999px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-navy);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(234, 242, 248, 0.25);
}

.lightbox-close svg {
  width: 22px;
  height: 22px;
}

/* ---------- Split sections ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

@media (max-width: 880px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.8rem;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--muted);
}

.check-list svg {
  width: 21px;
  height: 21px;
  color: var(--gold);
  flex: none;
  margin-top: 3px;
}

.check-list strong {
  color: var(--ink);
}

/* ---------- Listing (for sale) ---------- */

.listing {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}

@media (max-width: 880px) {
  .listing {
    grid-template-columns: 1fr;
  }
}

.listing-media {
  position: relative;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 2.5rem;
}

.listing-media svg {
  width: min(70%, 360px);
  height: auto;
  color: rgba(234, 242, 248, 0.5);
}

.listing-media .photo-note {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.8rem;
  color: var(--on-navy-muted);
  background: rgba(6, 24, 42, 0.6);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}

.listing-body {
  padding: clamp(1.6rem, 3vw, 2.6rem);
}

.price-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}

.price-tag small {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: 0.4rem;
}

.status-pill {
  display: inline-block;
  background: #e7f4ec;
  color: #1c6b3c;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0 1.6rem;
  font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.6rem 0.4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  width: 42%;
}

.spec-table td {
  color: var(--muted);
}

/* ---------- Values / leadership ---------- */

.value-card {
  border-top: 3px solid var(--gold);
}

.leader-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem;
  align-items: center;
  background: var(--navy-900);
  color: var(--on-navy);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

@media (max-width: 640px) {
  .leader-card {
    grid-template-columns: 1fr;
  }
}

.leader-card h3 {
  color: #ffffff;
  margin-bottom: 0.2em;
}

.leader-card .role {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.leader-card p {
  color: var(--on-navy-muted);
  margin: 0;
}

.leader-avatar {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: var(--navy-700);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  flex: none;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  color: var(--on-navy);
  text-align: center;
}

.cta-band h2 {
  color: #ffffff;
}

.cta-band .lede {
  color: var(--on-navy-muted);
  max-width: 52ch;
  margin-inline: auto;
}

.cta-band .hero-actions {
  justify-content: center;
}

/* ---------- Contact ---------- */

.contact-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.contact-card a {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
  font-size: 1.05rem;
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--blue);
}

.contact-card .label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

.form-field input,
.form-field textarea {
  font: inherit;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(46, 125, 178, 0.18);
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.9rem;
}

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

.footer {
  background: var(--navy-950);
  color: var(--on-navy-muted);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer h4 {
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.footer p {
  font-size: 0.94rem;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer ul a {
  color: var(--on-navy-muted);
  font-size: 0.94rem;
}

.footer ul a:hover {
  color: var(--gold-light);
}

.footer-contact a {
  color: var(--on-navy);
  font-weight: 600;
}

.footer-contact a:hover {
  color: var(--gold-light);
}

.social-row {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(234, 242, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-navy-muted);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.social-row a:hover {
  color: var(--navy-950);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.social-row svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(234, 242, 248, 0.1);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.86rem;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Utility ---------- */

.bg-white {
  background: var(--surface);
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}