/* M.Dheep Maldives Salt */

:root {
  --ocean: #0c3540;
  --reef: #0b6e7a;
  --lagoon: #149aa6;
  --aqua: #bfe9e6;
  --mist: #e6f3f2;
  --salt: #f7faf9;
  --gold: #aa8856;
  --gold-dark: #86683a;
  --gold-light: #dcc59f;
  --text: #2f5660;
  --muted: #4a6970;
  --footer: #072730;
  --line: rgba(12, 53, 64, 0.16);

  --serif: "Shippori Mincho", "Hiragino Mincho ProN", Georgia, serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", system-ui, sans-serif;

  --gutter: clamp(24px, 4vw, 48px);
  --header: 84px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--salt);
  color: var(--ocean);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--ocean); }
a:hover { color: var(--reef); }
p { margin: 0; }
dl, dd { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; }
section { scroll-margin-top: var(--header); }

:focus-visible { outline: 2px solid var(--lagoon); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ocean);
  color: #fff;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Primitives */
.wrap {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.pad { padding-block: clamp(96px, 9vw, 136px); }
.cover { width: 100%; height: 100%; object-fit: cover; }

.cap {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--gold-dark);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.eyebrow--centre { justify-content: center; }
.eyebrow--centre::after {
  content: "";
  flex: none;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.eyebrow--dark { color: var(--gold-light); }
.eyebrow--dark::before { background: var(--gold-light); }

/* Shippori Mincho has no italic, so accents change colour instead */
h1 em, h2 em, p em { font-style: normal; }

.h2 {
  font-size: clamp(40px, 4.2vw, 60px);
  line-height: 1.08;
  color: var(--ocean);
}
.h2 em { color: var(--reef); }
.h2--light { color: #fff; }
.h2--light em { color: var(--aqua); }
.h2--sm { font-size: clamp(32px, 3.2vw, 44px); }

.lead {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  max-width: 520px;
}
.small {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 500px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}
.intro > div { display: flex; flex-direction: column; gap: 22px; }
.intro .lead { justify-self: end; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 56px;
  padding: 0 26px;
  border: 1px solid transparent;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.5s, color 0.5s, border-color 0.5s;
}
.btn--deep { background: var(--ocean); color: #fff; }
.btn--deep:hover { background: var(--reef); color: #fff; }
.btn--white { background: #fff; color: var(--ocean); }
.btn--white:hover { background: var(--mist); color: var(--ocean); }
.btn--line { border-color: var(--line); color: var(--ocean); }
.btn--line:hover { border-color: var(--ocean); color: var(--ocean); }

.textlink {
  font-size: 12px;
  color: var(--reef);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  align-self: flex-start;
}

/* Motion */
.rise { opacity: 0; animation: rise 1.6s var(--ease) forwards; }
.d2 { animation-delay: 0.6s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.drift { animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: scale(1.04) translate(0, 0); }
  to { transform: scale(1.1) translate(-1.6%, -1%); }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header__row {
  height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.header__left { display: flex; align-items: center; }
.header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}
.header__nav { display: flex; gap: 28px; font-size: 11px; }
.navlink {
  padding: 6px 0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.5s;
}
.navlink:hover { color: var(--ocean); border-bottom-color: var(--gold); }
.header__cta { height: 46px; padding: 0 20px; font-size: 11px; }
.header__contact-m { display: none; }

.logo-hang {
  position: relative;
  z-index: 45;
  display: block;
  width: 232px;
  height: var(--header);
  text-decoration: none;
  /* The panel is clipped to a pennant shape, which cuts off any border on the
     point, so the outline is drawn as a shadow of the clipped shape instead */
  filter:
    drop-shadow(1px 0 0 rgba(12, 53, 64, 0.32))
    drop-shadow(-1px 0 0 rgba(12, 53, 64, 0.32))
    drop-shadow(0 1px 0 rgba(12, 53, 64, 0.32))
    drop-shadow(0 6px 8px rgba(12, 53, 64, 0.1));
}
.logo-panel {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 22px 16px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 50% 100%, 0 calc(100% - 14px));
  padding-bottom: 30px;
}
.logo-panel img { width: 168px; height: auto; }
.logo-panel .cap { font-size: 8px; letter-spacing: 0.3em; color: var(--gold-dark); }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: -10px;
  padding: 0 10px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border: none;
  background: none;
  cursor: pointer;
}
.menu-btn span[aria-hidden] {
  display: block;
  height: 1.5px;
  background: var(--ocean);
  transition: transform 0.4s, opacity 0.4s;
}
.menu-btn span:nth-child(2) { width: 70%; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.menu-panel {
  position: fixed;
  inset: var(--header) 0 0 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: 72px var(--gutter) 28px;
  background: #fff;
  overflow-y: auto;
}
.menu-panel[hidden] { display: none; }
.menu-panel ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.menu-panel li a {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 26px;
  text-decoration: none;
}
.menu-panel li a i { font-style: normal; font-size: 15px; color: var(--gold); }
.menu-panel li a span:last-child { font-family: var(--sans); font-size: 14px; color: var(--gold); }
.menu-foot { margin-top: auto; padding-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.menu-foot .btn { height: 54px; text-transform: none; letter-spacing: 0.04em; font-size: 14px; }

/* Hero */
.hero {
  position: relative;
  height: min(860px, calc(100svh - var(--header)));
  min-height: 620px;
  overflow: hidden;
  background: #8fd3d6;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 53, 64, 0) 35%, rgba(12, 53, 64, 0.62) 100%),
    linear-gradient(90deg, rgba(12, 53, 64, 0.38), rgba(12, 53, 64, 0) 60%);
}
.hero__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 56px;
}
.hero__copy {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  color: #fff;
}
.hero__copy .eyebrow { color: #fff; font-size: 11px; }
.hero__copy .eyebrow::before { background: #fff; }
.hero h1 {
  font-size: clamp(52px, 6vw, 92px);
  line-height: 1.04;
  color: #fff;
}
.hero h1 em { color: var(--aqua); }
.hero__copy > p:last-child { font-size: 19px; line-height: 1.7; max-width: 520px; }

.seal { flex: none; width: 168px; height: 168px; color: #fff; opacity: 0.94; }
.seal__spin { transform-origin: 100px 100px; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.seal text {
  fill: currentColor;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
}
.seal circle { fill: none; stroke: rgba(255, 255, 255, 0.6); stroke-width: 1; }
.seal .seal__kanji {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: 0.06em;
  text-anchor: middle;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding-bottom: 120px;
}
.facts > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  padding: 22px 20px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}
.facts > div:first-child { padding-left: 0; border-left: none; }
.facts dd { font-family: var(--serif); font-size: 24px; line-height: 1.3; }
.facts dt { font-size: 10px; color: var(--mist); }

/* Story card */
.intro-band { background: #fff; padding-bottom: clamp(72px, 7vw, 104px); }
.story {
  position: relative;
  z-index: 2;
  width: calc(100% - 2 * var(--gutter));
  max-width: 1040px;
  margin: -96px auto 0;
  padding: 64px 72px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  background: #fff;
  text-align: center;
  scroll-margin-top: calc(var(--header) + 24px);
}
.story__head { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.story__head h2 { font-size: clamp(34px, 3.2vw, 46px); line-height: 1.12; }
.story__head h2 em { color: var(--reef); }
.story__text { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.story__text p { font-size: 17px; line-height: 1.85; color: var(--text); }
.story__text .story__lead { font-family: var(--serif); font-size: 22px; line-height: 1.6; color: var(--ocean); }
.story__text .story__close { font-family: var(--serif); font-size: 19px; color: var(--reef); }

.marks {
  list-style: none;
  margin: 0;
  padding: 30px 0 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(170, 136, 86, 0.5);
}
.marks li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
}
.marks li + li { border-left: 1px solid rgba(170, 136, 86, 0.5); }
.marks svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: var(--reef);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.marks .cap { font-size: 10px; letter-spacing: 0.14em; line-height: 1.5; color: var(--muted); }

/* Pillars */
.unique { background: var(--ocean); color: #fff; }
.unique .wrap { display: flex; flex-direction: column; gap: 64px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pillar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 8px 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}
.pillar:first-child { padding-left: 0; border-left: none; }
.pillar__num { font-family: var(--serif); font-size: 22px; color: var(--gold-light); }
.pillar__label { margin-top: -8px; font-size: 10px; line-height: 1.6; color: var(--gold-light); }
.pillar h3 { font-size: 30px; line-height: 1.12; }
.pillar p:last-child { font-size: 16px; line-height: 1.8; color: #d3e8e8; }

/* Harvest (image with card) */
.where {
  position: relative;
  height: 780px;
  overflow: hidden;
  background: var(--mist);
}
.where > img { position: absolute; inset: 0; object-position: 50% 30%; }
.where .wrap { position: relative; height: 100%; display: flex; align-items: center; justify-content: flex-end; }
.where-card {
  width: 540px;
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #fff;
}
.where-card .h2 { font-size: clamp(38px, 3.6vw, 52px); }
.where-card .lead { font-size: 17px; }
.where-card__sign { font-family: var(--serif); font-size: 20px; color: var(--reef); }
.where-card__caption {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}

/* Difference */
.difference { background: #fff; }
.difference .wrap { display: flex; flex-direction: column; gap: 64px; }
.difference__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.difference__media { position: sticky; top: calc(var(--header) + 32px); height: 640px; overflow: hidden; }
.traits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  border-top: 1px solid var(--line);
}
.trait { padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.trait dt {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.2;
}
.trait dt i { flex: none; width: 28px; font-style: normal; font-size: 16px; color: var(--gold); }
.trait dd { padding-left: 42px; font-size: 15.5px; line-height: 1.75; color: var(--text); }
.trait__line { display: block; margin-bottom: 6px; font-size: 10px; color: var(--gold-dark); }

/* Tapes */
.tapes {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #fff;
}
.tape { position: absolute; left: -5%; right: -5%; overflow: hidden; }
.tape-1 {
  top: 36px;
  z-index: 2;
  transform: rotate(-2.4deg);
  background: var(--salt);
  border-block: 1px solid var(--line);
}
.tape-2 { top: 130px; z-index: 1; transform: rotate(1.8deg); background: var(--reef); color: #fff; }
.marquee {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  animation: marq 60s linear infinite;
}
.marquee--rev { animation-direction: reverse; animation-duration: 72s; }
@keyframes marq { to { transform: translateX(-50%); } }
.tape-1 .marquee { gap: 44px; padding: 24px 0 24px 44px; }
.tape-1 .name { font-family: var(--serif); font-size: 32px; line-height: 1; }
.tape-2 .marquee { gap: 36px; padding: 15px 0 15px 36px; }
.tape-2 .name { font-size: 12px; letter-spacing: 0.2em; }
.star { color: var(--gold); font-size: 16px; }
.tape-2 .star { color: var(--gold-light); font-size: 12px; }

/* Product */
.product { background: var(--mist); }
.product .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(72px, 7vw, 104px);
}
.product__img { height: 720px; overflow: hidden; }
.copy-col { display: flex; flex-direction: column; gap: 24px; }
.copy-col > p:not([class]) { font-size: 17px; line-height: 1.8; color: var(--text); max-width: 540px; }
.copy-col .btn { align-self: flex-start; }

.list { border-top: 1px solid var(--line); max-width: 540px; }
.list > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.list dt { flex: none; font-family: var(--serif); font-size: 17px; }
.list dd { color: var(--muted); text-align: right; }

.nutrition-toggle { max-width: 540px; }
.nutrition-toggle summary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 4px 0;
  font-size: 11px;
  color: var(--reef);
  list-style: none;
  cursor: pointer;
  border-bottom: 1px solid currentColor;
}
.nutrition-toggle summary::-webkit-details-marker { display: none; }
.nutrition-toggle summary::after { content: "+"; font-size: 16px; line-height: 1; }
.nutrition-toggle[open] summary::after { content: "\2212"; }
.nutrition-toggle__hide,
.nutrition-toggle[open] .nutrition-toggle__show { display: none; }
.nutrition-toggle[open] .nutrition-toggle__hide { display: inline; }

.nutrition {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  font-size: 15px;
  background: #fff;
}
.nutrition caption {
  padding: 18px 20px 6px;
  background: #fff;
  text-align: left;
  font-family: var(--serif);
  font-size: 19px;
}
.nutrition caption span { margin-left: 8px; font-family: var(--sans); font-size: 13px; color: var(--muted); }
.nutrition th,
.nutrition td { padding: 10px 20px; border-bottom: 1px solid var(--line); }
.nutrition tr:last-child th,
.nutrition tr:last-child td { border-bottom: none; }
.nutrition th { text-align: left; font-weight: 400; }
.nutrition td { text-align: right; font-variant-numeric: tabular-nums; color: var(--reef); }

/* Gallery */
.gallery { position: relative; height: 760px; overflow: hidden; background: var(--ocean); }
.xf { position: absolute; inset: 0; opacity: 0; animation: xf 21s ease-in-out infinite both; }
.xf img { animation: xfkb 21s linear infinite both; }
.xf.s2, .xf.s2 img { animation-delay: 7s; }
.xf.s3, .xf.s3 img { animation-delay: 14s; }
@keyframes xf {
  0% { opacity: 0; }
  6% { opacity: 1; }
  33% { opacity: 1; }
  39% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes xfkb {
  0% { transform: scale(1.02); }
  39% { transform: scale(1.1); }
  100% { transform: scale(1.1); }
}
.xf-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding-top: 120px;
  background: linear-gradient(180deg, rgba(12, 53, 64, 0), rgba(12, 53, 64, 0.5));
}
.xf-cap .wrap { display: block; padding-bottom: 48px; font-size: 13px; letter-spacing: 0.18em; color: #fff; }

/* Belongs */
.belongs { background: var(--salt); }
.belongs .wrap { display: flex; flex-direction: column; gap: 56px; }
.table-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.table-shots figure { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.table-shots img { aspect-ratio: 4 / 3; height: auto; }
.table-shots figcaption { font-size: 10px; color: var(--gold-dark); }
.uses { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.use {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.5s;
}
.use__num { padding-top: 8px; font-family: var(--serif); font-size: 20px; color: var(--gold); }
.use h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; }
.use__body { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.use__line { font-size: 10px; color: var(--gold-dark); }
.use__body p:last-child { font-size: 16px; line-height: 1.75; color: var(--text); }

/* Memory */
.memory { background: #fff; padding-block: clamp(96px, 9vw, 136px) clamp(64px, 6vw, 88px); }
.memory .wrap:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.memory__copy { display: flex; flex-direction: column; gap: 20px; }
.memory__copy > p:not([class]) { font-size: 17px; line-height: 1.8; color: var(--text); max-width: 540px; }
.memory__img { height: 680px; overflow: hidden; }
.refrain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
  max-width: 540px;
  border-top: 1px solid var(--line);
}
.refrain > div { display: flex; flex-direction: column; gap: 2px; padding: 16px 16px 0; border-left: 1px solid var(--line); }
.refrain > div:first-child { padding-left: 0; border-left: none; }
.refrain dt { font-size: 9px; color: var(--gold-dark); }
.refrain dd { font-family: var(--serif); font-size: 20px; color: var(--ocean); }
.memory__tagline {
  margin-top: clamp(64px, 6vw, 96px);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.25;
  text-align: center;
}
.memory__tagline::before {
  content: "✦";
  display: block;
  margin-bottom: 20px;
  font-size: 16px;
  color: var(--gold);
}
.memory__tagline em { color: var(--reef); }

/* Clients */
.clients { background: var(--mist); }
.clients__card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  padding: clamp(32px, 5vw, 72px);
  background: #fff;
  position: relative;
}
.clients__card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(170, 136, 86, 0.55);
  pointer-events: none;
}
.clients__logo {
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px;
  background: var(--salt);
  transition: background 0.5s;
}
.clients__logo:hover { background: var(--mist); }
.clients__logo img { width: 100%; max-width: 320px; }
.clients .copy-col { position: relative; }
.clients .wrap { display: flex; flex-direction: column; gap: 56px; }

/* Contact */
.contact { position: relative; overflow: hidden; background: var(--ocean); }
.contact > img { position: absolute; inset: 0; opacity: 0.4; object-position: 50% 40%; }
.contact .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.contact-copy { display: flex; flex-direction: column; gap: 26px; color: #fff; }
.contact-copy h2 { font-size: clamp(44px, 4.8vw, 68px); line-height: 1.04; color: #fff; }
.contact-copy h2 em { color: var(--aqua); }
.contact-copy p:not(.eyebrow) { font-size: 18px; line-height: 1.75; color: #d3e8e8; max-width: 480px; }
.contact-copy .btn { align-self: flex-start; }
.contact-card { padding: 44px 40px; background: #fff; font-style: normal; }
.contact-card__row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-card__row:first-child { padding-top: 0; }
.contact-card__row:last-child { padding-bottom: 0; border-bottom: none; }
.contact-card h3 { padding-top: 6px; font-size: 10px; color: var(--gold-dark); }
.contact-card p { font-family: var(--serif); font-size: 19px; line-height: 1.6; }
.contact-card a { text-decoration: none; border-bottom: 1px solid var(--line); }

/* Footer */
.footer { background: var(--footer); color: #c4dcdc; }
.footer a { color: #c4dcdc; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding-block: 80px 64px;
}
.footer__brand { display: flex; flex-direction: column; gap: 24px; }
.footer__logo { width: 180px; padding: 14px 18px; background: #fff; }
.footer__tag { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; color: #fff; }
.footer__tag em { color: var(--aqua); }
.footer__nav { display: flex; flex-direction: column; gap: 14px; font-size: 11px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px 32px;
  background: linear-gradient(rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.14)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  font-size: 13px;
}
.footer__bottom .cap { font-size: 10px; color: var(--gold-light); }

/* Tablet */
@media (max-width: 1100px) {
  .header__nav,
  .header__cta { display: none; }
  .menu-btn { display: flex; }
  .header__contact-m {
    display: inline;
    font-size: 11px;
    color: var(--reef);
    text-decoration: none;
  }
  .pillars { grid-template-columns: 1fr; row-gap: 0; }
  .pillar,
  .pillar:first-child {
    padding: 32px 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }
  .traits { grid-template-columns: 1fr; }
  .difference__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .marks { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .marks li:nth-child(4) { border-left: none; }
}

/* Mobile */
@media (max-width: 760px) {
  :root { --gutter: 20px; --header: 60px; }
  .pad { padding-block: 72px; }
  .eyebrow { font-size: 11px; gap: 12px; }
  .eyebrow::before,
  .eyebrow--centre::after { width: 28px; }
  .h2 { font-size: 36px; line-height: 1.1; }
  .lead { font-size: 16px; line-height: 1.75; max-width: none; }
  .intro { grid-template-columns: 1fr; gap: 18px; }
  .intro > div { gap: 18px; }
  .intro .lead { justify-self: start; }

  .header__row { gap: 0; }
  .logo-hang { width: 150px; }
  .logo-panel { gap: 6px; padding: 12px 14px 22px; }
  .logo-panel img { width: 112px; }
  .logo-panel .cap { font-size: 6px; }
  .header__contact-m { font-size: 10px; }
  .menu-panel { padding-top: 56px; }

  .hero { height: 600px; min-height: 0; }
  .hero__bg { object-position: 62% 45%; }
  .hero__row { padding-bottom: 28px; }
  .hero__copy { gap: 14px; }
  .hero__copy .eyebrow { font-size: 10px; line-height: 1.6; }
  .hero__copy .eyebrow::before { display: none; }
  .hero h1 { font-size: 42px; line-height: 1.08; }
  .hero__copy > p:last-child { font-size: 16px; }
  .seal { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 84px; }
  .facts > div { padding: 14px 0 0 16px; }
  .facts > div:nth-child(3) { padding-left: 0; border-left: none; }
  .facts dd { font-size: 19px; }

  .story { width: auto; margin: -56px 16px 0; padding: 32px 20px; gap: 24px; }
  .story__head h2 { font-size: 30px; }
  .story__text p { font-size: 15px; line-height: 1.75; }
  .story__text .story__lead { font-size: 19px; }
  .story__text .story__close { font-size: 17px; }
  .marks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marks li:nth-child(odd) { border-left: none; }
  .marks li:nth-child(4) { border-left: 1px solid rgba(170, 136, 86, 0.5); }
  .marks li:last-child { grid-column: span 2; }
  .marks svg { width: 44px; height: 44px; }

  .unique .wrap { gap: 24px; }
  .pillar,
  .pillar:first-child {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px;
    padding: 24px 0;
  }
  .pillar__num { grid-row: span 3; font-size: 19px; }
  .pillar__label { margin-top: 4px; }
  .pillar h3 { font-size: 25px; }
  .pillar p:last-child { font-size: 15px; line-height: 1.75; }

  .where { height: auto; background: #fff; }
  .where > img { position: static; height: 380px; }
  .where .wrap { display: block; height: auto; padding: 0 16px; }
  .where-card { position: relative; width: auto; margin-top: -64px; padding: 32px 22px 36px; gap: 18px; }
  .where-card .h2 { font-size: 34px; }
  .where-card .lead { font-size: 15.5px; }

  .difference .wrap { gap: 28px; }
  .difference__grid { grid-template-columns: 1fr; gap: 24px; }
  .difference__media { position: static; height: 360px; }
  .trait { padding: 22px 0 24px; }
  .trait dt { font-size: 22px; }
  .trait dd { padding-left: 42px; font-size: 15px; }

  .tapes { height: 180px; }
  .tape { left: -10%; right: -10%; }
  .tape-1 { top: 28px; transform: rotate(-3deg); }
  .tape-1 .marquee { gap: 28px; padding: 16px 0 16px 28px; }
  .tape-1 .name { font-size: 24px; }
  .tape-2 { top: 100px; transform: rotate(2.4deg); }
  .tape-2 .marquee { gap: 22px; padding: 12px 0 12px 22px; }
  .tape-2 .name { font-size: 10px; }

  .product .wrap { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .product__img { height: 420px; }
  .product .copy-col { padding: 48px 20px 72px; gap: 20px; }
  .list > div { font-size: 15px; flex-direction: column; gap: 4px; }
  .list dd { text-align: left; }
  .copy-col .btn { align-self: stretch; height: 54px; padding: 0 22px; }
  .nutrition th,
  .nutrition td { padding: 9px 14px; }
  .nutrition caption { padding: 14px 14px 4px; }

  .gallery { height: 520px; }
  .xf-cap .wrap { padding-bottom: 28px; font-size: 11px; }

  .belongs .wrap { gap: 28px; }
  .table-shots { grid-template-columns: 1fr; gap: 22px; }
  .use { grid-template-columns: 40px minmax(0, 1fr); gap: 10px 8px; padding: 26px 0; }
  .use__num { font-size: 17px; }
  .use h3 { font-size: 24px; }
  .use__body { grid-column: 2; padding-top: 0; }
  .use__body p:last-child { font-size: 15px; }

  .memory { padding-block: 72px 56px; }
  .memory .wrap:first-child { grid-template-columns: 1fr; gap: 36px; }
  .memory__copy > p:not([class]) { font-size: 15.5px; }
  .memory__img { height: 440px; }
  .refrain { grid-template-columns: 1fr; max-width: none; border-top: none; }
  .refrain > div,
  .refrain > div:first-child {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-left: none;
    border-top: 1px solid var(--line);
  }
  .refrain dd { font-size: 20px; }
  .memory__tagline { margin-top: 56px; font-size: 24px; }

  .clients__card { grid-template-columns: 1fr; gap: 28px; padding: 32px 22px; }
  .clients__logo { padding: 28px; }

  .contact .wrap { grid-template-columns: 1fr; gap: 32px; }
  .contact-copy { gap: 18px; }
  .contact-copy h2 { font-size: 40px; }
  .contact-copy p:not(.eyebrow) { font-size: 16px; }
  .contact-copy .btn { align-self: stretch; }
  .contact-card { padding: 28px 20px; }
  .contact-card__row { grid-template-columns: 1fr; gap: 4px; }
  .contact-card p { font-size: 17px; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px 24px; padding-block: 56px 40px; }
  .footer__brand { grid-column: span 2; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; animation: none; }
  .drift,
  .marquee,
  .seal__spin,
  .xf,
  .xf img { animation: none; }
  .xf.s1 { opacity: 1; }
  .menu-btn span[aria-hidden] { transition: none; }
}

/* Shared bits for product content */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.copy-col .actions .btn { align-self: auto; }
.navlink[aria-current="page"] { border-bottom-color: var(--gold); }
.notice {
  max-width: 540px;
  padding: 18px 20px;
  border-left: 2px solid var(--gold);
  background: #fff;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}
.list dd a { color: var(--reef); text-underline-offset: 4px; }

/* Products page */
.page-head { background: #fff; padding-block: clamp(56px, 6vw, 88px) clamp(72px, 7vw, 104px); }
.page-head .wrap { display: flex; flex-direction: column; gap: 48px; }
.crumbs { display: flex; gap: 12px; font-size: 10px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--reef); }
.page-head h1.h2 { font-size: clamp(48px, 5.4vw, 80px); line-height: 1.02; }

.range {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.range__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 12px;
  align-items: baseline;
  text-decoration: none;
}
.range__img {
  grid-column: span 2;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--mist);
}
.range__img img.cover { transition: transform 1.2s var(--ease); }
.range__card:hover .range__img img.cover { transform: scale(1.04); }
.range__img--logo { background: var(--salt); }
.range__img--logo img { width: 78%; }
.range__img--sun { background: linear-gradient(180deg, #f3e7d2, var(--mist)); }
.range__img--crystal { background: linear-gradient(180deg, var(--mist), #cfe9e7); }
.range__img svg,
.item__img--art svg {
  width: 44%;
  fill: none;
  stroke: var(--reef);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.range__num { font-family: var(--serif); font-size: 16px; color: var(--gold); }
.range__name { font-family: var(--serif); font-size: 22px; line-height: 1.25; color: var(--ocean); }
.range__more {
  grid-column: 2;
  font-size: 10px;
  color: var(--reef);
  margin-top: -6px;
}
.range__card:hover .range__name { color: var(--reef); }

.item { background: var(--salt); scroll-margin-top: var(--header); }
.item--mist { background: var(--mist); }
.item .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(72px, 7vw, 104px);
}
.item--flip .item__img { order: 2; }
.item__img { height: 640px; overflow: hidden; }
.item__img--logo,
.item__img--art { display: grid; place-items: center; background: #fff; position: relative; }
.item__img--logo img { width: 62%; max-width: 420px; }
.item__img--sun { background: linear-gradient(180deg, #f3e7d2, #fff); }
.item__img--crystal { background: linear-gradient(180deg, #fff, #d7eeec); }
.item__img--art svg { width: 34%; }
.item__img--logo::before,
.item__img--art::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(170, 136, 86, 0.5);
  pointer-events: none;
}

@media (max-width: 1100px) {
  .range { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
}

@media (max-width: 760px) {
  .page-head { padding-block: 52px 64px; }
  .page-head .wrap { gap: 32px; }
  .page-head h1.h2 { font-size: 44px; }
  .range { gap: 28px 12px; }
  .range__name { font-size: 18px; }
  .range__card { gap: 10px 8px; }
  .item .wrap { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .item--flip .item__img { order: 0; }
  .item__img { height: 400px; }
  .item__img--art,
  .item__img--logo { height: 300px; }
  .item .copy-col { padding: 44px 20px 72px; gap: 20px; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .textlink { align-self: flex-start; }
}

/* Permits and lab reports */
.docs { background: #fff; }
.docs--mist { background: var(--mist); }
.docs .wrap { display: flex; flex-direction: column; gap: 64px; }

.doc-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.doc-facts > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 22px 20px 0;
  border-left: 1px solid var(--line);
}
.doc-facts > div:first-child { padding-left: 0; border-left: none; }
.doc-facts dt { font-size: 10px; color: var(--gold-dark); }
.doc-facts dd { font-family: var(--serif); font-size: 21px; line-height: 1.35; }

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.doc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }

.doc-card { display: flex; flex-direction: column; background: var(--salt); }
.docs--mist .doc-card { background: #fff; }
.doc-card__img {
  display: block;
  height: 300px;
  overflow: hidden;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}
.doc-card__img .cover { object-position: top; transition: transform 1.2s var(--ease); }
.doc-card__img:hover .cover { transform: scale(1.03); }
.doc-card__img--page { height: 460px; }
.doc-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px 28px 32px; flex: 1; }
.doc-card__kicker { font-size: 10px; color: var(--gold-dark); }
.doc-card h3 { font-size: 28px; line-height: 1.2; }
.doc-card .nutrition { margin-top: 0; border: 1px solid var(--line); }
.doc-card .actions { margin-top: auto; padding-top: 6px; gap: 12px; }
.doc-card .btn { height: 48px; padding: 0 20px; gap: 18px; }
.doc-card__alt { font-size: 12px; }
.doc-note { font-size: 13px; line-height: 1.65; color: var(--muted); }

.doc-meta { width: 100%; }
.doc-meta > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.doc-meta dt { color: var(--muted); }
.doc-meta dd { text-align: right; font-variant-numeric: tabular-nums; }

.doc-foot a { color: var(--reef); text-underline-offset: 4px; }
.footer a[aria-current="page"] { color: #fff; }

@media (max-width: 1100px) {
  .doc-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .doc-facts > div:nth-child(3) { padding-left: 0; border-left: none; }
}

@media (max-width: 760px) {
  .docs .wrap { gap: 40px; }
  .doc-grid,
  .doc-grid--3 { grid-template-columns: 1fr; gap: 28px; }
  .doc-facts dd { font-size: 18px; }
  .doc-card__img--page { height: 380px; }
  .doc-card__body { padding: 24px 20px 28px; }
  .doc-card h3 { font-size: 24px; }
  .doc-card .actions { flex-direction: column; align-items: stretch; width: 100%; }
  .doc-meta > div { font-size: 14px; }
}
.page-head + .docs { padding-top: 0; }
