/* FAOUZI MOLD — palette taken from the logo: navy #051E47 and frost #F2F4F8 */
:root {
  --navy: #051e47;
  --navy-deep: #031331;
  --navy-soft: #13306a;
  --frost: #f2f4f8;
  --paper: #ffffff;
  --ice: #dfe5ef;
  --line: #d3dae6;
  --ink: #0b1630;
  --slate: #4c5a78;
  --on-navy: #f2f4f8;
  --on-navy-muted: #b9c4d9;
  --navy-glow: #0b2a5e;
  --frost-line: rgba(242, 244, 248, .35);
  --frost-hairline: rgba(242, 244, 248, .18);
  --frost-wash: rgba(242, 244, 248, .06);
  --scrim: 3, 19, 49;            /* navy-deep as RGB, for photo caption fades */
  --shadow: 5, 30, 71;           /* navy as RGB, for shadows */

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
::selection { background: var(--navy); color: var(--frost); }
.hero-title, .hero-lede, .cta-title { text-wrap: balance; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.icon { width: 1.15em; height: 1.15em; flex: none; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--slate);
}

.title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--navy);
  text-wrap: balance;
}
.title em, .cta-title em { font-style: italic; color: var(--navy-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-light { background: var(--frost); color: var(--navy); }
.btn-light:hover { background: var(--ice); }
.btn-ghost { color: var(--on-navy); border: 1px solid var(--frost-line); }
.btn-ghost:hover { border-color: var(--on-navy); }
.btn-lg { min-height: 3.625rem; padding: 0 2.125rem; font-size: 1rem; }

:focus-visible { outline: 2px solid var(--navy-soft); outline-offset: 3px; }
.hero :focus-visible, .cta :focus-visible { outline-color: var(--frost); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 55% 60% at 74% 50%, var(--navy-glow) 0%, rgba(var(--shadow), 0) 70%),
    var(--navy);
  background-color: var(--navy);
  color: var(--on-navy);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 26px var(--gutter);
  font-size: 0.875rem;
}
.nav-place { color: var(--on-navy-muted); letter-spacing: .04em; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  display: inline-block;
  padding: 12px 0;
  color: var(--on-navy-muted);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--on-navy); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--frost-line);
  border-radius: 999px;
  color: var(--on-navy);
  text-decoration: none;
  font-weight: 600;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.nav-cta:hover { border-color: var(--on-navy); background: var(--frost-wash); }

.hero-body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 24px var(--gutter) 96px;
}
.hero-logo {
  width: clamp(112px, 11vw, 150px);
  animation: rise 1s var(--ease) both;
}
.hero-title {
  margin-top: clamp(28px, 4vh, 44px);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 4.6vw, 4.125rem);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--on-navy);
  animation: rise 1s .15s var(--ease) both;
}
.hero-title em { font-style: italic; color: var(--on-navy-muted); }
.hero-lede {
  margin-top: 22px;
  max-width: 44ch;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--on-navy-muted);
  animation: rise 1s .25s var(--ease) both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  animation: rise 1s .35s var(--ease) both;
}

/* The whole chain in photos: 3D model, printed master, mold, finished piece.
   Centred in its half of the hero; the width follows the screen height so it stays above the fold. */
.hero-chain {
  justify-self: center;
  width: min(100%, 480px, max(300px, calc(75vh - 268px)));
  margin: 0;
  animation: rise 1.2s .45s var(--ease) both;
}
.chain-intro {
  max-width: 34ch;
  margin: 0 auto 24px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3125rem;
  line-height: 1.35;
  color: var(--on-navy);
  text-wrap: balance;
}
/* Project switcher: one tab per project shown in the chain */
.chain-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  margin: 0 auto 18px;
  padding: 4px;
  border: 1px solid var(--frost-hairline);
  border-radius: 22px;
}
.chain-tab {
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--on-navy-muted);
  font: 500 0.8125rem/1 var(--sans);
  letter-spacing: .02em;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.chain-tab:hover { color: var(--on-navy); }
.chain-tab[aria-selected="true"] { background: var(--frost); color: var(--navy); }

.chain-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: start;
}
/* Four steps sit two by two, so each photo is large */
.chain-steps--4 { grid-template-columns: repeat(2, 1fr); gap: 18px 16px; }
.chain-steps.is-switching { animation: rise .6s var(--ease) both; }
.chain-card:nth-child(2) { margin-top: 36px; }
.chain-card:nth-child(3) { margin-top: 72px; }
.chain-steps--4 .chain-card:nth-child(n) { margin-top: 0; }

/* Each step is a button that opens the viewer. Several photos in one step sit as a stack. */
.chain-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: zoom-in;
  border-radius: var(--radius);
}
.chain-stack { position: relative; display: block; isolation: isolate; }
.chain-stack img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--navy-glow);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .55);
  transition: transform .5s var(--ease);
}
/* Photos after the first peek out from behind it, fanned slightly */
.chain-stack img + img {
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translate(7px, -7px) rotate(3deg);
  filter: brightness(.7);
}
.chain-stack[data-count]::after {
  content: attr(data-count) " photos";
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(var(--scrim), .72);
  color: var(--frost);
  font: 600 0.6875rem/1.2 var(--sans);
  letter-spacing: .02em;
}
@media (hover: hover) {
  .chain-open:hover .chain-stack img:first-child { transform: translateY(-4px); }
  .chain-open:hover .chain-stack img + img { transform: translate(12px, -10px) rotate(5deg); }
}
.chain-label {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-top: 10px;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--on-navy-muted);
}
.chain-label b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--on-navy);
}

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Clients ---------- */
.clients {
  background: var(--frost);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.client-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 4px;
}

/* Marquee: without JS the list simply wraps; JS duplicates it, scrolls it and lets it be dragged. */
.marquee {
  position: relative;
  margin-top: 28px;
  padding: 6px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
}
.marquee.is-ready {
  cursor: grab;
  touch-action: pan-y;           /* vertical swipes still scroll the page */
  -webkit-user-select: none;
          user-select: none;
}
.marquee.is-dragging { cursor: grabbing; }
.marquee.is-ready .marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee.is-ready .client-list {
  flex-wrap: nowrap;
  gap: 20px;
  padding-right: 20px;           /* same as the gap, so the loop seam is invisible */
}
.marquee.is-ready img { -webkit-user-drag: none; pointer-events: none; }

.client {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 18px;
}
.client img {
  width: calc(var(--w) * .94px);
  height: auto;
  opacity: .82;
  transition: opacity .3s var(--ease);
}
@media (hover: hover) {
  .client:hover img { opacity: 1; }
}
.clients-more {
  margin-top: 26px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1875rem;
  color: var(--slate);
}

/* ---------- Process ---------- */
.process { padding: clamp(88px, 12vw, 150px) 0; }
.process-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}
.steps { margin-top: 48px; border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.step-no {
  padding-top: 3px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
  line-height: 1.6;
  color: var(--navy-soft);
}
.step h3 {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}
.step p { margin-top: 6px; color: var(--slate); max-width: 46ch; }

.process-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.media-card { margin: 0; }
.media-card video, .media-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--ice);
}
.media-card--video { position: relative; }
.video-toggle {
  position: absolute;
  right: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(var(--scrim), .62);
  color: var(--frost);
  cursor: pointer;
  transition: background-color .2s var(--ease);
}
.video-toggle:hover { background: rgba(var(--scrim), .85); }
.video-toggle:focus-visible { outline-color: var(--frost); outline-offset: 2px; }
.video-toggle .icon { width: 18px; height: 18px; }
.video-toggle .icon-play, .video-toggle.is-paused .icon-pause { display: none; }
.video-toggle.is-paused .icon-play { display: block; }
.media-card--offset { margin-top: 64px; }
.media-card figcaption {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--slate);
}

/* ---------- Work ---------- */
.work {
  background: var(--frost);
  padding: clamp(88px, 12vw, 140px) 0;
}
.section-head { text-align: center; margin-bottom: 64px; }
.work-group + .work-group { margin-top: 64px; }
.work-group-title {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  line-height: 1.2;
  color: var(--navy);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.shot { min-width: 0; }
.shot img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--ice);
  transition: transform .9s var(--ease);
}
.shot-cap {
  margin-top: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}
.shot-client {
  display: block;
  margin-top: 2px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--slate);
}
.js .shot img[data-full] { cursor: zoom-in; }
@media (hover: hover) {
  .shot:hover img { transform: translateY(-4px); }
}
.work-more {
  margin-top: 44px;
  text-align: center;
  color: var(--slate);
}
.work-more a {
  display: inline-block;
  padding: 10px 2px;
  color: var(--navy);
  font-weight: 600;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}
.work-more a:hover { text-decoration-color: var(--navy); }

/* ---------- Products ---------- */
.products { padding: clamp(88px, 12vw, 140px) 0; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-lede {
  max-width: 52ch;
  margin: 16px auto 0;
  color: var(--slate);
  text-wrap: balance;
}
.product-list { display: grid; gap: 72px; }
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.product-gallery { min-width: 0; }
.product-main {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--ice);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}
.product-main img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: opacity .2s var(--ease);
}
.product-main.is-swapping img { opacity: 0; }
.product-zoom, .product-count {
  position: absolute;
  display: grid;
  place-items: center;
  background: rgba(var(--scrim), .62);
  color: var(--frost);
}
.product-zoom { top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; transition: background-color .2s var(--ease); }
.product-main:hover .product-zoom { background: rgba(var(--scrim), .85); }
.product-count {
  left: 14px;
  bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--ice);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .2s var(--ease);
}
.thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  opacity: .72;
  transition: opacity .2s var(--ease);
}
.thumb:hover img, .thumb[aria-pressed="true"] img { opacity: 1; }
.thumb[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--navy); }

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
}
.product-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2f8a5b; }
.product-tag--order::before { background: #c98a1b; }
.product-tag--out::before { background: var(--slate); }
.product-empty { max-width: 46ch; margin: 0 auto; text-align: center; color: var(--slate); }
.product-name {
  margin-top: 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 2.875rem);
  line-height: 1.08;
  color: var(--navy);
}
.product-price {
  margin-top: 10px;
  font-size: 1.375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
}
.product-price span { margin-left: 6px; font-size: 0.9375rem; font-weight: 500; color: var(--slate); }
.product-desc { margin-top: 16px; max-width: 46ch; color: var(--slate); }
.product-specs { margin-top: 28px; border-top: 1px solid var(--line); }
.product-specs div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.product-specs dt { color: var(--slate); }
.product-specs dd { color: var(--navy); font-weight: 600; }
.product-info .btn { margin-top: 32px; }
.btn-dark { background: var(--navy); color: var(--frost); }
.btn-dark:hover { background: var(--navy-soft); }

/* ---------- Viewer (lightbox) ---------- */
.viewer {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(var(--scrim), .97);
  color: var(--on-navy);
  overflow: hidden;
}
.viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: fade .3s var(--ease); }
.viewer::backdrop { background: transparent; }
.viewer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
}
.viewer-cap { font-size: 0.9375rem; color: var(--on-navy-muted); }
.viewer-cap b { color: var(--on-navy); font-weight: 600; }
.viewer-close, .viewer-nav {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border: 1px solid var(--frost-hairline);
  border-radius: 50%;
  background: rgba(var(--scrim), .5);
  color: var(--on-navy);
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.viewer-close:hover, .viewer-nav:hover { border-color: var(--on-navy); background: var(--frost-wash); }
.viewer-close .icon, .viewer-nav .icon { width: 22px; height: 22px; }
.viewer-nav:disabled { opacity: .25; cursor: default; }
.viewer-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 0 var(--gutter);
  min-height: 0;
  touch-action: pan-y;
}
.viewer-img {
  justify-self: center;
  max-width: 100%;
  max-height: calc(100vh - 180px);
  max-height: calc(100dvh - 180px);
  object-fit: contain;
  border-radius: var(--radius);
  user-select: none;
  -webkit-user-drag: none;
}
.viewer-thumbs {
  display: flex;
  gap: 8px;
  padding: 16px var(--gutter) 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.viewer-thumbs::before, .viewer-thumbs::after { content: ""; margin: auto; }
.viewer-thumbs::-webkit-scrollbar { display: none; }
.viewer-thumbs button {
  flex: none;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-glow);
  cursor: pointer;
  opacity: .5;
  transition: opacity .2s var(--ease), box-shadow .2s var(--ease);
}
.viewer-thumbs button:hover { opacity: .85; }
.viewer-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--frost); }
.viewer-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.viewer :focus-visible { outline-color: var(--frost); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- CTA ---------- */
.cta {
  background: var(--navy);
  color: var(--on-navy);
  padding: clamp(96px, 13vw, 160px) 0;
  text-align: center;
}
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-mark { width: 72px; opacity: .9; }
.cta-title {
  margin-top: 36px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.05;
}
.cta .cta-title em { color: var(--on-navy-muted); }
.cta-text { margin-top: 1.125rem; font-size: 1.0625rem; color: var(--on-navy-muted); text-wrap: balance; }
.send-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  width: 100%;
  max-width: 760px;
  margin-top: 36px;
  text-align: left;
}
.send-list li {
  padding: 18px 0;
  border-top: 1px solid var(--frost-hairline);
}
.send-list strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3125rem;
  line-height: 1.25;
  color: var(--on-navy);
}
.send-list span {
  display: block;
  margin-top: 4px;
  font-size: 0.9375rem;
  color: var(--on-navy-muted);
}
.cta .btn { margin-top: 38px; }
.cta-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  margin-top: 8px;
  color: var(--on-navy-muted);
  text-decoration: none;
  letter-spacing: .06em;
  font-size: 0.9375rem;
}
.cta-phone:hover { color: var(--on-navy); }
.cta-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--frost-hairline);
  font-size: 0.875rem;
  color: var(--on-navy-muted);
}

/* ---------- Footer ---------- */
.footer { background: var(--paper); padding: 56px 0 44px; }
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px 32px;
}
.footer-logo { width: 64px; }
.footer-line { color: var(--slate); font-size: 0.875rem; }
.footer-links { display: flex; gap: 1.5rem; font-size: 0.875rem; font-weight: 600; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--navy);
  text-decoration: none;
}
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-copy {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--slate);
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--frost);
  box-shadow: 0 10px 30px rgba(var(--shadow), .28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.9);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s, background-color .2s var(--ease);
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.wa-float:hover { background: var(--navy-soft); }

/* ---------- Page 404 ---------- */
.notfound {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 48px var(--gutter);
  background: var(--navy);
  color: var(--on-navy);
  text-align: center;
}
.notfound-logo { width: 120px; height: auto; }
.notfound-title { margin: 12px 0 0; font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; }
.notfound-text { max-width: 30rem; margin: 0; color: var(--on-navy-muted); }
.notfound-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-body { grid-template-columns: 1fr; gap: 56px; padding-top: 16px; padding-bottom: 72px; }
  .hero-chain { width: min(100%, 520px); }
  .process-grid { grid-template-columns: 1fr; }
  .process-media { max-width: 560px; }
  .product { grid-template-columns: 1fr; }
  .product-gallery { max-width: 560px; }
}

@media (max-width: 720px) {
  /* Phone hero: logo and headline centred, logo larger */
  .hero-copy { display: flex; flex-direction: column; }
  .hero-logo { width: clamp(150px, 46vw, 200px); align-self: center; }
  .hero-title, .hero-lede { text-align: center; }
  .hero-lede { align-self: center; }
  .hero-actions { justify-content: center; align-self: center; width: 100%; }
  .nav-links, .nav-place { display: none; }
  .nav { justify-content: flex-end; padding-top: 20px; }
  .client img { width: calc(var(--w) * .78px); }
  .marquee.is-ready .client-list { gap: 12px; padding-right: 12px; }
  .marquee { -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
                     mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  /* Each family becomes a swipeable row, so the gallery stays three rows long */
  .gallery {
    display: flex;
    gap: 14px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 72%; scroll-snap-align: start; }
  .send-list { grid-template-columns: 1fr; }
  .chain-steps--4 { gap: 16px 12px; }
  .product-thumbs { display: flex; overflow-x: auto; scrollbar-width: none; padding: 2px; }
  .product-thumbs::-webkit-scrollbar { display: none; }
  .product-thumbs li { flex: 0 0 64px; }
  .product-info .btn { width: 100%; }
  .viewer-stage { grid-template-columns: minmax(0, 1fr); padding: 0 8px; }
  .viewer-img { grid-column: 1; grid-row: 1; }
  .viewer-nav { position: absolute; top: 50%; z-index: 1; width: 44px; height: 44px; transform: translateY(-50%); }
  .viewer-prev { left: 8px; }
  .viewer-next { right: 8px; }
  .viewer-thumbs button { width: 48px; height: 48px; }
}

/* Small phones (360x640): a smaller logo keeps the main button above the fold */
@media (max-width: 720px) and (max-height: 700px) {
  .hero-logo { width: clamp(112px, 32vw, 150px); }
}

@media (max-width: 520px) {
  .hero-actions { flex-direction: column; max-width: 340px; }
  .chain-card:nth-child(2) { margin-top: 24px; }
  .chain-card:nth-child(3) { margin-top: 48px; }
  .chain-steps { gap: 8px; }
  .hero-actions .btn { width: 100%; }
  .media-card--offset { margin-top: 40px; }
  .process-media { gap: 12px; }
}

/* Short laptop screens (1280x720, 1366x768): headline, button and both photos stay above the fold */
@media (min-width: 961px) and (max-height: 820px) {
  .nav { padding-top: 16px; padding-bottom: 16px; }
  .hero-body { padding-top: 0; padding-bottom: 48px; }
  .hero-logo { width: min(11vw, 15vh); }
  .hero-title { margin-top: 3vh; font-size: clamp(2.5rem, 7vh, 3.75rem); }
  .hero-lede { margin-top: 16px; }
  .hero-actions { margin-top: 28px; }
  .hero-chain { width: min(100%, max(300px, calc(75vh - 200px))); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
