:root {
  --ink: #1b2129;
  --ink-deep: #12161c;
  --ink-soft: #242b36;
  --gold: #fabb5d;
  --gold-bright: #ffc65f;
  --gold-deep: #b58f60;
  --gold-dim: rgba(250, 187, 93, 0.16);
  --cream: #f1eadb;
  --cream-2: #f7f3ea;
  --muted: rgba(241, 234, 219, 0.7);
  --line: rgba(241, 234, 219, 0.14);
  --line-gold: rgba(250, 187, 93, 0.45);
  --serif: "Amiri", "Times New Roman", serif;
  --sans: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --latin: "Cormorant Garamond", "Times New Roman", serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --header: 86px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

button, input, textarea, select { font: inherit; color: inherit; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.25;
  margin: 0;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; }

button { cursor: pointer; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ink-deep); }
::-webkit-scrollbar-thumb {
  background: #3d3428;
  border: 2px solid var(--ink-deep);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip {
  position: absolute;
  top: -4rem;
  inset-inline-start: 1rem;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 999px;
}

.skip:focus { top: 1rem; }

.wrap {
  width: min(1160px, calc(100% - 2.6rem));
  margin-inline: auto;
}

.section { padding-block: clamp(4.2rem, 8vw, 7.4rem); }

.muted { color: var(--muted); }

.gold { color: var(--gold); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: currentColor;
}

.section-head {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.section-head h2,
.page-hero h1,
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
}

.lede {
  font-size: 1.12rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 40rem;
}

.band {
  background:
    radial-gradient(900px 280px at 100% 0%, rgba(250, 187, 93, 0.16), transparent 60%),
    var(--cream);
  color: var(--ink);
}

.band h2,
.band h3,
.band .hero-float b { color: var(--ink); }

.band p,
.band li { color: rgba(27, 33, 41, 0.78); }

.band .eyebrow { color: var(--ink); }
.band .eyebrow::before { background: var(--gold-deep); }
.band .muted { color: rgba(27, 33, 41, 0.62); }

.ornament {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.ornament span {
  width: 2.4rem;
  height: 1px;
  background: var(--gold);
}

.ornament i {
  width: 0.42rem;
  height: 0.42rem;
  background: var(--gold);
  transform: rotate(45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.15rem;
  padding: 0.75rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 500;
  line-height: 1;
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.btn svg { width: 1.05rem; height: 1.05rem; }

.btn:hover { background: var(--gold-bright); transform: translateY(-2px); }

.btn-line {
  background: transparent;
  color: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line-gold);
}

.btn-line:hover { background: var(--gold-dim); }

.band .btn-line {
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(27, 33, 41, 0.28);
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
}

.btn-ink:hover { background: #0e1319; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.2rem;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.15rem;
  font-weight: 500;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  transform-origin: 100% 50%;
  transform: scaleX(0);
  z-index: 80;
}

.wipe {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: var(--ink-deep);
  animation: wipeOut 0.9s cubic-bezier(0.76, 0, 0.24, 1) 0.18s forwards;
  pointer-events: none;
}

.wipe img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 42%;
  box-shadow: 0 0 0 1px var(--line-gold);
}

body.wipe-done .wipe { visibility: hidden; }

body.is-leaving .wipe {
  visibility: visible;
  animation: wipeIn 0.46s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

@keyframes wipeOut {
  to { transform: translateY(-101%); }
}

@keyframes wipeIn {
  from { transform: translateY(101%); }
  to { transform: translateY(0); }
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;
  transition: background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(18, 22, 28, 0.94);
  border-bottom-color: rgba(250, 187, 93, 0.16);
}

.header-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 42%;
  box-shadow: 0 0 0 1px rgba(250, 187, 93, 0.35);
  transition: transform 0.5s ease;
}

.brand:hover img { transform: rotate(-8deg); }

.brand strong {
  display: block;
  font-family: var(--latin);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s ease;
}

.nav-toggle.is-open span:first-child { transform: translateY(3.75px) rotate(40deg); }
.nav-toggle.is-open span:last-child { transform: translateY(-3.75px) rotate(-40deg); }

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.nav-panel a { font-size: 0.98rem; }

.nav-panel a[aria-current="page"]:not(.btn) { color: var(--gold); }

.nav-cta { margin-inline-start: 0.35rem; }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header) + 1.2rem);
  padding-bottom: 4rem;
  overflow: hidden;
  background:
    radial-gradient(700px 420px at 10% 20%, rgba(250, 187, 93, 0.14), transparent 60%),
    radial-gradient(500px 320px at 90% 80%, rgba(241, 234, 219, 0.06), transparent 55%),
    var(--ink);
}

.watermark {
  position: absolute;
  inset-inline-start: -2vw;
  top: 22%;
  font-family: var(--latin);
  font-size: clamp(6rem, 22vw, 16rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(250, 187, 93, 0.18);
  pointer-events: none;
  user-select: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  min-height: calc(100svh - var(--header) - 5.5rem);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero .lede { margin-top: 1.2rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  list-style: none;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.hero-points strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.hero-points span { color: var(--muted); font-size: 0.92rem; }

.hero-visual { position: relative; }

.frame {
  position: relative;
  border-radius: 30px 30px 120px 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.frame img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  background: var(--ink-soft);
}

.frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(250, 187, 93, 0.38);
  border-radius: inherit;
  pointer-events: none;
}

.hero-float {
  position: absolute;
  inset-inline-start: -1.4rem;
  bottom: 1.6rem;
  width: min(250px, 78%);
  padding: 1rem 1.05rem 1.05rem;
  background: var(--cream);
  color: var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-float b {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.hero-float span {
  display: block;
  margin-top: 0.2rem;
  color: rgba(27, 33, 41, 0.72);
  font-size: 0.92rem;
}

.ticker {
  overflow: hidden;
  direction: ltr;
  border-block: 1px solid rgba(250, 187, 93, 0.2);
  background: var(--ink-deep);
  padding-block: 0.9rem;
}

.ticker span { direction: rtl; }

.ticker-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  animation: ticker 36s linear infinite;
}

.ticker span {
  color: var(--cream);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.ticker i {
  color: var(--gold);
  font-style: normal;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.intro-grid,
.story-grid,
.contact-grid,
.chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 4.5rem);
  align-items: center;
}

.facts {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
  list-style: none;
}

.facts li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.facts b,
.step-no,
.surface b,
.principle b {
  font-family: var(--latin);
  font-weight: 500;
  color: var(--gold-deep);
  letter-spacing: 0.08em;
}

.band .facts b,
.band .ship-card span { color: var(--ink); }

.service-grid,
.surface-grid,
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card,
.surface,
.principle,
.ship-card,
.shot {
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.45s ease, border-color 0.45s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-gold);
}

.service-card .media { overflow: hidden; aspect-ratio: 4 / 3; }

.service-card img,
.tile img,
.shot img,
.chapter-media img,
.bleed img {
  width: 100%;
  object-fit: cover;
  background: #141a22;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.service-card img,
.tile img { height: 100%; }

.chapter-media img,
.bleed img,
.shot img { height: auto; }

.service-card:hover img { transform: scale(1.06); }

.service-card .copy,
.surface,
.principle,
.ship-card { padding: 1.25rem 1.3rem 1.4rem; }

.service-card span,
.ship-card span {
  display: block;
  color: var(--gold);
  font-family: var(--latin);
  letter-spacing: 0.12em;
}

.service-card h3,
.surface h3,
.principle h3,
.ship-card h3,
.chapter h2 { font-size: clamp(1.7rem, 2.4vw, 2.15rem); margin: 0.35rem 0 0.45rem; }

.bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: 250px 250px;
  gap: 0.85rem;
}

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  min-height: 220px;
  isolation: isolate;
}

.tile.span-tall { grid-row: span 2; }

.tile img {
  position: absolute;
  inset: 0;
  transition: transform 0.8s ease;
}

.tile:hover img { transform: scale(1.06); }

.tile span {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 2.4rem 1.1rem 1rem;
  background: linear-gradient(transparent, rgba(12, 16, 22, 0.88));
}

.tile strong { display: block; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.tile small { color: var(--gold); letter-spacing: 0.08em; }

.occasion-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  list-style: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(27, 33, 41, 0.16);
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.3s ease, transform 0.3s ease;
}

.pill:hover { background: var(--gold); transform: translateY(-2px); }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
}

.steps::before {
  content: "";
  position: absolute;
  top: 2rem;
  inset-inline: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.steps li {
  position: relative;
  padding: 3.4rem 0.4rem 0.4rem;
}

.step-no {
  position: absolute;
  top: 0;
  inset-inline-start: 0.4rem;
  width: 3.3rem;
  height: 3.3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 1px var(--line-gold);
  color: var(--gold);
}

.steps h3 { font-size: 1.7rem; margin-bottom: 0.35rem; }

.ship-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
}

.ship-card { border-radius: 26px; background: rgba(255, 255, 255, 0.35); }

.ship-mark {
  width: 120px;
  display: grid;
  place-items: center;
}

.ship-mark svg { width: 100px; height: 100px; }

.quote-band { text-align: center; }

.quote {
  max-width: 18em;
  margin-inline: auto;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
}

.quote footer {
  margin-top: 1.2rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: rgba(27, 33, 41, 0.62);
}

.ig-block {
  display: grid;
  justify-items: start;
  gap: 0.4rem;
}

.ig-block strong {
  font-family: var(--latin);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.45s ease;
}

.ig-block:hover strong { background-size: 100% 1px; }

.page-hero {
  padding-top: calc(var(--header) + 3.2rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(620px 240px at 100% 0%, rgba(250, 187, 93, 0.16), transparent 60%),
    var(--ink);
}

.page-hero .lede { margin-top: 1rem; }

.chapter + .chapter { margin-top: clamp(3rem, 7vw, 5.5rem); }

.chapter.is-flip .chapter-media { order: -1; }

.chapter-media {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.chapter-media img { aspect-ratio: 4 / 3; }

.chapter-copy .lede { margin-top: 0.8rem; }

.surface,
.principle {
  border-radius: 24px;
  min-height: 100%;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.surface:hover,
.principle:hover {
  transform: translateY(-4px);
  border-color: var(--line-gold);
}

.surface svg,
.contact-list svg,
.wa-float svg {
  width: 1.7rem;
  height: 1.7rem;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}

.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  border-radius: 999px;
  min-height: 2.7rem;
  padding: 0.35rem 0.95rem;
}

.chip.is-on,
.chip:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.masonry {
  columns: 3 250px;
  column-gap: 0.9rem;
}

.shot {
  break-inside: avoid;
  margin-bottom: 0.9rem;
  background: transparent;
  border: 0;
}

.shot-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #141a22;
  color: var(--cream);
  text-align: start;
}

.shot img { aspect-ratio: 1; }
.shot.is-tall img { aspect-ratio: 3 / 4; }
.shot.is-wide img { aspect-ratio: 4 / 3; }

.shot-open span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(12, 16, 22, 0.9));
}

.shot-open small { color: var(--gold); letter-spacing: 0.08em; }
.shot-open strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.shot-open:hover img { transform: scale(1.05); }

.lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
  max-width: min(920px, 94vw);
}

.lightbox::backdrop { background: rgba(10, 12, 16, 0.84); }

.lightbox img {
  max-height: 76vh;
  width: auto;
  max-width: 92vw;
  margin-inline: auto;
  border-radius: 18px;
}

.lightbox p {
  margin-top: 0.8rem;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.4rem;
}

.lightbox {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close {
  align-self: end;
  margin-bottom: 0.7rem;
  border: 1px solid var(--line-gold);
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}

.logo-stage {
  display: grid;
  place-items: center;
  margin: 0;
}

.logo-stage img {
  width: min(280px, 70vw);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 46%;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line-gold), var(--shadow);
}

.bleed { margin: 0; }

.bleed img {
  width: min(1160px, calc(100% - 2.6rem));
  margin-inline: auto;
  aspect-ratio: 16 / 8;
  border-radius: 28px;
}

.contact-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: 30px;
  padding: clamp(1.3rem, 3vw, 2.2rem);
}

.contact-card h2 { font-size: clamp(2rem, 3vw, 2.8rem); }

.contact-list {
  display: grid;
  gap: 0.9rem;
  list-style: none;
  margin-top: 1.5rem;
}

.contact-list a {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.contact-list svg { flex: none; }

.contact-list small { display: block; color: rgba(27, 33, 41, 0.6); line-height: 1.4; }
.contact-list b { font-weight: 500; }

.form { display: grid; gap: 1.05rem; margin-top: 1.3rem; }

.field label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(27, 33, 41, 0.22);
  background: transparent;
  color: var(--ink);
  padding: 0.7rem 0;
  border-radius: 0;
}

.field textarea { resize: vertical; min-height: 8rem; }

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #1b2129 50%), linear-gradient(135deg, #1b2129 50%, transparent 50%);
  background-position: 1rem 55%, 1.45rem 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(27, 33, 41, 0.45); }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--gold-deep);
}

.form-note { min-height: 1.5em; font-size: 0.95rem; }

.site-footer {
  padding-top: 3.5rem;
  background: var(--ink-deep);
  border-top: 1px solid rgba(250, 187, 93, 0.16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 2rem;
  padding-bottom: 2.2rem;
}

.footer-grid p { margin-top: 1rem; color: var(--muted); max-width: 28rem; }

.footer-title {
  margin: 0 0 0.7rem;
  color: var(--gold) !important;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.footer-grid a { display: block; padding-block: 0.2rem; }

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1rem 5.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.wa-float {
  position: fixed;
  z-index: 60;
  inset-inline-end: 1.1rem;
  bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.wa-float svg { stroke: var(--ink); width: 1.2rem; height: 1.2rem; }

.rise {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  animation-delay: var(--d, 0s);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--d, 0s);
}

.reveal.in { opacity: 1; transform: none; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 250px; }
  .tile.span-tall { grid-row: span 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .service-grid,
  .surface-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .nav-panel {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    gap: 1.1rem;
    background: #12161c;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .nav-panel.is-open { opacity: 1; visibility: visible; }

  .nav-panel a {
    font-family: var(--serif);
    font-size: 2.1rem;
  }

  .nav-panel .btn {
    font-family: var(--sans);
    font-size: 1rem;
  }

  .hero-grid,
  .intro-grid,
  .story-grid,
  .contact-grid,
  .chapter,
  .ship-grid,
  .footer-grid,
  .service-grid,
  .surface-grid,
  .principle-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .hero { min-height: 0; }

  .hero { padding-bottom: 3rem; }

  .hero-float { inset-inline-start: 0.8rem; bottom: 0.8rem; }

  .chapter.is-flip .chapter-media { order: 0; }

  .ship-mark { width: auto; transform: rotate(90deg); }

  .bento { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .tile.span-tall { grid-row: auto; }

  .masonry { columns: 1; }

  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wa-float {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
  }

  body.menu-open { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .wipe { display: none; }
  .rise,
  .reveal { opacity: 1; transform: none; }
}
