/* ============================================
   Kapal Oasis · Website Stylesheet
   Brand: stone + ink. QT Weise + JetBrains Mono.
   Design Department · 2026
   ============================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'QT Weise';
  src: url('../fonts/QTWeise.otf') format('opentype');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'QT Weise';
  src: url('../fonts/QTWeise-Italic.otf') format('opentype');
  font-weight: 400 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'QT Weise';
  src: url('../fonts/QTWeise-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand palette */
  --c-stone: #CFC9C0;        /* primary background */
  --c-stone-deep: #B8B0A4;   /* subtle dividers */
  --c-stone-soft: #D9D4CC;   /* lighter wash */
  --c-mid: #9A9692;          /* secondary text, muted */
  --c-ink: #404040;          /* primary text and paragraphs */
  --c-ink-soft: #404040;     /* paragraphs (kept name for compat) */
  --c-heading: #9A9692;      /* all headings on stone */

  /* Fonts */
  --f-serif: 'QT Weise', 'Cormorant Garamond', Georgia, serif;
  --f-mono: 'JetBrains Mono', 'IBM Plex Mono', monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;
  --space-2xl: 10rem;

  --container-max: 1320px;
  --container-narrow: 880px;

  /* Single gutter token. Every horizontally-padded wrapper references this
     so the header's logo-to-button width equals every section's content width. */
  --gutter: 2rem;

  --transition: 400ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (max-width: 880px) {
  :root { --gutter: 1.75rem; }
}
@media (max-width: 560px) {
  :root { --gutter: 1.5rem; }
}

/* ---------- Base reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--c-ink);
  background: var(--c-stone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* defensive against any element sneaking wider than viewport */
  max-width: 100vw;
}
* { min-width: 0; } /* prevent flex/grid children from forcing horizontal overflow */

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition), opacity var(--transition); }
a:hover { color: var(--c-mid); }
button { font-family: inherit; cursor: pointer; }
.br-mobile { display: none; } /* line break that only applies on mobile */

/* ---------- Legal pages ---------- */
.legal-copy > p { margin-bottom: 1.1rem; }
.legal-copy .eyebrow { display: inline-block; margin-bottom: 1.5rem; }
.legal-h {
  font-family: var(--f-serif);
  font-size: 1.4rem;
  font-style: normal;
  color: var(--c-heading);
  margin-top: 2.5rem;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}
.legal-sub {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--c-ink);
  margin-top: 1.75rem;
  margin-bottom: 0.6rem;
}
.legal-list { list-style: disc; padding-left: 1.4rem; margin: 0.5rem 0 1.4rem; }
.legal-list li { margin-bottom: 0.55rem; line-height: 1.65; }
.legal-updated { margin-top: 2.5rem; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--c-mid); text-transform: uppercase; }

/* ---------- Blog / articles ---------- */
.article-meta { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-mid); margin-bottom: 1.75rem; }
.article-dek { font-family: var(--f-serif); font-style: italic; font-size: 1.25rem; line-height: 1.6; color: var(--c-ink-soft); margin-bottom: 2rem; }
.data-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: 0.95rem; }
.data-table th, .data-table td { text-align: left; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--c-stone-deep); vertical-align: top; }
.data-table th { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink); }
.article-sources__title { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--c-stone-deep); font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink); margin-bottom: 0.85rem; }
.article-sources { font-size: 0.92rem; color: var(--c-ink-soft); font-style: italic; line-height: 1.6; list-style: disc; padding-left: 1.3rem; }
.article-sources li { margin-bottom: 0.5rem; }
.blog-card { display: block; border: 1px solid var(--c-stone-deep); transition: background var(--transition); }
.blog-card:hover { background: var(--c-stone-soft); }
.blog-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms ease; }
.blog-card:hover .blog-card__media img { transform: scale(1.04); }
.blog-card__body { padding: 1.75rem; }
.blog-card__kicker { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-ink); }
.blog-card__title { font-family: var(--f-serif); font-size: 1.5rem; color: var(--c-heading); margin: 0.6rem 0 0.6rem; line-height: 1.2; }
.blog-card__more { display: inline-block; margin-top: 1.1rem; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink); border-bottom: 1px solid var(--c-ink); padding-bottom: 2px; }
.blog-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.blog-card__date { font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-mid); white-space: nowrap; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 760px) { .blog-grid { grid-template-columns: 1fr; } }
/* Category filter chips */
.cat-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.cat-chip { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink); padding: 0.5rem 1rem; border: 1px solid var(--c-stone-deep); background: transparent; cursor: pointer; transition: background var(--transition), color var(--transition); }
.cat-chip:hover { background: var(--c-stone-soft); }
.cat-chip.is-active { background: var(--c-ink); color: var(--c-stone); border-color: var(--c-ink); }

/* ---------- Typography ---------- */
.eyebrow,
.h4 {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink);
  display: inline-block;
}

h1, .h1,
h2, .h2 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-style: normal;
  color: var(--c-heading);
  letter-spacing: 0;
  line-height: 1.05;
}
h1 em, h2 em, .h1 em, .h2 em { font-style: normal; }

h1, .h1 {
  font-size: clamp(3rem, 7.2vw, 6.25rem);
  letter-spacing: -0.01em;
  line-height: 1.02;
}
h2, .h2 {
  font-size: clamp(2.15rem, 4.3vw, 3.5rem);
  letter-spacing: -0.005em;
  line-height: 1.08;
}

h3, .h3 {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.3;
  color: var(--c-heading);
  letter-spacing: 0;
}

.accent {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--c-ink-soft);
}

p {
  font-family: var(--f-serif);
  color: var(--c-ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  letter-spacing: 0.05em;
}
p.lede {
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--c-ink);
}
p.bold {
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--c-ink);
}

.small {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--c-mid);
  text-transform: uppercase;
}

/* ---------- Layout ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
/* Vertical-only longhand so combining .section with .container doesn't clobber the horizontal padding via shorthand cascade. */
.section { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.section-tight { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }

.center { text-align: center; }
.center-x { margin-left: auto; margin-right: auto; }

/* ---------- Diamond divider ---------- */
.diamond-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 3.5rem auto;
  max-width: 360px;
  opacity: 0.55;
}
.diamond-divider::before,
.diamond-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--c-ink);
}
.diamond-divider svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.diamond-divider svg path {
  fill: var(--c-ink);
}
.diamond-divider--wide {
  max-width: 100%;
  margin: 1rem auto 2.5rem;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: background var(--transition), padding var(--transition), border var(--transition);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand-logo {
  display: inline-block;
  width: 180px;
  height: auto;
  position: relative;
}
.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity var(--transition);
}
.brand-logo .brand-logo__dark { position: absolute; inset: 0; opacity: 0; }
.site-header.scrolled .brand-logo .brand-logo__light { opacity: 0; }
.site-header.scrolled .brand-logo .brand-logo__dark { opacity: 1; position: relative; }
.site-header.scrolled .brand-logo .brand-logo__light { position: absolute; inset: 0; }

/* Header default state (over hero: transparent, cream logo and nav) */
.site-header:not(.scrolled) .nav a,
.site-header:not(.scrolled) .nav button {
  color: var(--c-stone);
}
.site-header:not(.scrolled) .btn--ghost {
  border-color: var(--c-stone);
  color: var(--c-stone);
}
.site-header:not(.scrolled) .btn--ghost:hover {
  background: var(--c-stone);
  color: var(--c-ink);
}

/* Header scrolled state (stone bg, dark logo and nav) */
.site-header.scrolled {
  background: rgba(207, 201, 192, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--c-stone-deep);
  padding: 1rem 0;
}
.site-header.scrolled .nav a,
.site-header.scrolled .nav button { color: var(--c-ink); }
.site-header.scrolled .btn--ghost { border-color: var(--c-ink); color: var(--c-ink); }
.site-header.scrolled .btn--ghost:hover { background: var(--c-ink); color: var(--c-stone); }

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav a,
.nav button {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  border: none;
  padding: 0.4rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--c-stone);
  transition: color var(--transition), opacity var(--transition);
}
.nav a:hover,
.nav button:hover { opacity: 0.7; color: inherit; }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown__toggle::after {
  content: "▾";
  font-size: 0.6rem;
  display: inline-block;
  transform: translateY(1px);
}
.dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--c-stone);
  border: 1px solid var(--c-stone-deep);
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  padding: 0.5rem 0;
  z-index: 10;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 0.85rem 1.5rem;
  color: var(--c-ink) !important;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  border-bottom: 1px solid transparent;
}
.dropdown a:hover {
  background: var(--c-stone-soft);
  color: var(--c-ink) !important;
  opacity: 1;
}
.dropdown a:not(:last-child) {
  border-bottom: 1px solid rgba(64, 64, 64, 0.08);
}

.nav-cta { display: flex; align-items: center; gap: 1rem; }

.menu-toggle {
  display: none;
  color: var(--c-stone);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  border: none;
  padding: 0.5rem 0.85rem;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.site-header.scrolled .menu-toggle { color: var(--c-ink); }

/* When the mobile menu is open, the header sits over the cream nav background.
   Force the toggle to ink + outline so the Close action is always visible. */
body.menu-open .site-header,
body.menu-open .site-header.scrolled { background: transparent; backdrop-filter: none; border-bottom-color: transparent; }
body.menu-open .menu-toggle {
  color: var(--c-ink) !important;
  border: 1px solid var(--c-ink);
}
body.menu-open .nav-cta .btn { display: none; }
body.menu-open .brand-logo .brand-logo__light { opacity: 0; position: absolute; inset: 0; }
body.menu-open .brand-logo .brand-logo__dark { opacity: 1; position: relative; }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--c-stone);
  z-index: 99;
  display: none;
  flex-direction: column;
  padding: 5rem 2.5rem 2.5rem;
  gap: 0;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
/* Every item (including the former Ownership sub-pages) reads as a regular
   italic page link, sized to fit the whole list above the fold. */
.mobile-nav a,
.mobile-nav__group a {
  display: block;
  font-family: var(--f-serif);
  font-size: 1.35rem;
  font-style: italic;
  text-transform: none;
  text-align: center;
  color: var(--c-ink);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--c-stone-deep);
  letter-spacing: 0.02em;
}
.mobile-nav__group {
  padding-left: 0;
  display: flex;
  flex-direction: column;
}
/* The parent "Ownership" link already points here, so drop the duplicate sub-link */
.mobile-nav__group a[href="ownership.html"] { display: none; }
/* No divider under the final link (Enquire) */
.mobile-nav > a:last-child { border-bottom: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1rem 2rem;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--c-ink);
  color: var(--c-stone);
  border: 1px solid var(--c-ink);
  transition: all var(--transition);
  text-align: center;
}
.btn:hover { background: transparent; color: var(--c-ink); }
.btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-ink);
}
.btn--ghost:hover { background: var(--c-ink); color: var(--c-stone); }
.btn--ghost-light {
  background: transparent;
  color: var(--c-stone);
  border-color: var(--c-stone);
}
.btn--ghost-light:hover { background: var(--c-stone); color: var(--c-ink); }
.btn--light {
  background: var(--c-stone);
  color: var(--c-ink);
  border-color: var(--c-stone);
}
.btn--light:hover { background: transparent; color: var(--c-stone); border-color: var(--c-stone); }

.btn-row {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: inherit;
  margin-top: 2.5rem;
}
.center .btn-row { justify-content: center; }

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--c-stone);
  text-align: center;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(32, 30, 28, 0.45) 0%, rgba(32, 30, 28, 0.2) 35%, rgba(32, 30, 28, 0.65) 100%);
}
.hero__inner {
  max-width: 1000px;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-stone);
  opacity: 0.85;
  margin-bottom: 2rem;
  display: inline-block;
}
.hero__title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.6rem, 6vw, 5.25rem);
  line-height: 1.05;
  color: var(--c-stone);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.hero__title em { font-style: normal; }
.hero__sub {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--c-stone);
  opacity: 0.92;
  max-width: 80ch;
  margin: 0 auto;
  letter-spacing: 0.05em;
}
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-stone);
  opacity: 0.85;
  z-index: 1;
}
.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 50px;
  background: var(--c-stone);
  opacity: 0.7;
  margin: 0.8rem auto 0;
}

/* Page hero (sub-pages) */
.hero--page {
  height: 70vh;
  min-height: 560px;
}

/* ---------- Section intro block (editorial) ---------- */
.intro {
  padding: var(--space-xl) 0;
  text-align: center;
}
/* When .intro is also the section container (e.g. homepage), keep the side
   gutter so text never runs to the screen edge on mobile. */
.intro.container { padding-left: var(--gutter); padding-right: var(--gutter); }
.intro__eyebrow { margin-bottom: 1.75rem; }
.intro__title {
  max-width: 22ch;
  margin: 0 auto 1.5rem;
}
.intro__title em { font-style: italic; }
.intro__lede {
  max-width: 58ch;
  margin: 0 auto;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--c-ink-soft);
  line-height: 1.7;
}

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid var(--c-ink);
}
.stat:last-child { border-right: none; }
.stat__eyebrow {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin-bottom: 1rem;
  display: block;
  opacity: 0.7;
}
.stat__figure {
  font-family: var(--f-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1;
  color: var(--c-heading);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.stat__figure em { font-style: normal; }
.stat__label {
  font-size: 0.9rem;
  color: var(--c-ink-soft);
  line-height: 1.5;
  font-style: italic;
  letter-spacing: 0.04em;
}
.stats-footnote {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-mid);
  padding: 1.5rem 1rem;
}
/* Homepage stats: divider lines in the mid tone (not ink), and only as tall
   as the content. Dropping the cell's vertical padding makes each cell — and
   therefore its border — equal to the tallest stat's content height. */
.stats--home .stat { border-right-color: var(--c-mid); }
@media (min-width: 881px) {
  .stats--home .stat {
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
/* Homepage stat labels at the same size as the Selected Projects captions */
.stats--home .stat__label { font-size: 1.25rem; }

/* Pillars shown on a light band (like the homepage stats): no top/bottom rules,
   mid-tone dividers only as tall as the tallest pillar's content. */
.pillars.pillars--band {
  border-top: none;
  border-bottom: none;
}
.pillars--band .pillar { border-right-color: var(--c-mid); }
@media (min-width: 881px) {
  .pillars--band .pillar {
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* Stat labels at caption size (matches our usual italic caption font) */
.stats--cap .stat__label { font-size: 1.05rem; }

/* Top-align pillar content (e.g. ownership pathway) so the numbers sit on one line */
.pillars--top .pillar { justify-content: flex-start; }

/* ---------- Full-bleed image block ---------- */
.fullbleed {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-stone);
  text-align: center;
}
.fullbleed img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.fullbleed__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(32,30,28,0.4) 0%, rgba(32,30,28,0.55) 100%);
}
.fullbleed__inner {
  max-width: 900px;
  padding: 0 var(--gutter);
}
.fullbleed h2 { color: var(--c-stone); margin-bottom: 1.5rem; }
.fullbleed p { color: var(--c-stone); opacity: 0.92; font-style: italic; font-size: 1.2rem; line-height: 1.6; max-width: 56ch; margin: 0 auto; }
.fullbleed .eyebrow { color: var(--c-stone); opacity: 0.85; margin-bottom: 1.75rem; }
/* Footer CTA banners: the inner is a shrink-to-fit flex item, so a short
   heading would squeeze the paragraph. Keep the content column at least
   500px wide on desktop so CTA copy never reads too narrow. */
@media (min-width: 881px) {
  .fullbleed__inner { min-width: 500px; }
}

/* ---------- Two-column editorial ---------- */
.duet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.duet--narrow { gap: 4.5rem; }
.duet__copy { padding: 1rem 0; }
.duet__copy .eyebrow { margin-bottom: 1.5rem; }
.duet__copy h2 { margin-bottom: 1.5rem; }
.duet__copy p { margin-bottom: 1rem; }
.duet__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.duet--reverse .duet__media { order: -1; }

/* ---------- Divider-line list (JetBrains Mono uppercase, no bullets) ---------- */
.bullets {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.bullets li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--c-ink);
  font-family: var(--f-mono);
  font-style: normal;
  font-weight: 400;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--c-ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
/* first list item: no top border (cleaner first-row appearance) */

/* ---------- Product showcase (Resort Studio) ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  align-items: stretch;
  border-top: 1px solid var(--c-ink);
  border-bottom: 1px solid var(--c-ink);
}
.showcase__media {
  position: relative;
  overflow: hidden;
  min-height: 540px;
}
.showcase__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase__copy {
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--c-ink);
}
.showcase__name {
  font-family: var(--f-serif);
  font-size: 2.5rem;
  font-style: normal;
  margin-bottom: 0.4rem;
  color: var(--c-heading);
}
.showcase__price {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-mid);
  margin-bottom: 2rem;
}
.specs {
  list-style: none;
  margin-bottom: 2.5rem;
}
.specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--c-ink);
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 0.7rem;
  line-height: 1.3;
  color: var(--c-ink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
/* first spec row: no top border */
.specs .label {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink);
  font-style: normal;
}

/* Brochure-style wide spec table: full content width, larger row padding */
.specs--wide {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--c-ink);
}
.specs--wide li {
  padding: 0.85rem 0.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.specs--wide .label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}
@media (max-width: 560px) {
  .specs--wide li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.9rem 0.1rem;
  }
}

/* 4-up gallery for current development status */
.gallery--quad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery--quad .gallery__item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-stone-soft, #e8e3d8);
}
.gallery--quad .gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}
.gallery--quad .gallery__item:hover img {
  transform: scale(1.04);
}
@media (max-width: 880px) {
  .gallery--quad { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery--quad { grid-template-columns: 1fr; }
}

/* ---------- Pillar tiles ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-ink);
  border-bottom: 1px solid var(--c-ink);
}
.pillars--three { grid-template-columns: repeat(3, 1fr); }
/* Site plan image: comfortable on desktop, full width on mobile so it isn't tiny */
.site-plan-img { width: 80%; height: auto; margin: 0 auto; display: block; }
@media (max-width: 880px) { .site-plan-img { width: 100%; } }
.pillar {
  padding: 2.75rem 2rem;
  border-right: 1px solid var(--c-ink);
  text-align: center;
}
.pillar:last-child { border-right: none; }
.pillar__num {
  font-family: var(--f-serif);
  font-style: normal;
  font-size: clamp(2.75rem, 4vw, 3.5rem);
  display: block;
  color: var(--c-heading);
  margin-bottom: 1rem;
  line-height: 1;
}
.pillar__num em { font-style: normal; }
.pillar__label {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink);
  display: block;
  margin-bottom: 0.6rem;
}
.pillar p {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--c-ink-soft);
}

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--c-ink);
}
/* first FAQ item: no top border */
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 0;
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 0.78rem;
  color: var(--c-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--f-mono);
  color: var(--c-ink);
  font-size: 1.2rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  font-style: normal;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  padding: 0 0 1.25rem;
  font-size: 1rem;
  font-style: normal;
  letter-spacing: 0.05em;
  max-width: 80%;
}

/* ---------- Hero gallery row (e.g. under Resort Studios hero) ---------- */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0.25rem;
  width: 100%;
  height: 60vh;
  min-height: 420px;
  overflow: hidden;
}
.gallery__feature {
  grid-row: span 2;
  overflow: hidden;
}
.gallery__feature img,
.gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 600ms ease;
}
.gallery__feature:hover img,
.gallery__cell:hover img { transform: scale(1.04); }
.gallery__cell { overflow: hidden; }

@media (max-width: 880px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    height: auto;
    min-height: 0;
    grid-auto-rows: 200px;
  }
  .gallery__feature { grid-column: 1 / -1; grid-row: auto; height: 280px; }
  .gallery__btn::after { right: 0.75rem; bottom: 0.75rem; }
}

/* Even gallery: equal cells in a 4-wide grid (no oversized feature) */
.gallery--even {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  height: auto;
  min-height: 0;
}
.gallery--even .gallery__cell { aspect-ratio: 4 / 3; }
@media (max-width: 880px) {
  .gallery--even { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .gallery--even .gallery__cell { aspect-ratio: 4 / 3; }
}

/* Tile caption variant: single-line italic in accent font, left aligned, close to image */
.tile--accent .tile__name {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--c-ink);
  text-align: left;
  margin: 0;
}
.tile--accent .tile__media { margin-bottom: 0.4rem; }

/* ---------- Document grid (3-column text cards, e.g. Brochures) ---------- */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-ink);
  border-bottom: 1px solid var(--c-ink);
}
.doc-card {
  padding: 2.5rem 2rem 2.25rem;
  border-right: 1px solid var(--c-ink);
  border-bottom: 1px solid var(--c-ink);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: transparent;
}
.doc-card:nth-child(3n) { border-right: none; }
/* Remove the bottom border on the final row */
.doc-card:nth-last-child(-n+3):nth-child(3n+1),
.doc-card:nth-last-child(-n+3):nth-child(3n+1) ~ .doc-card { border-bottom: none; }
.doc-card__label {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-mid);
}
.doc-card__title {
  font-family: var(--f-serif);
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--c-heading);
  margin: 0;
}
.doc-card__desc {
  font-family: var(--f-serif);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--c-ink);
  margin: 0;
}
.doc-card__cta {
  margin-top: auto;
  padding-top: 0.5rem;
}
.doc-card__cta a {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--c-ink);
  transition: opacity var(--transition), gap var(--transition);
}
.doc-card__cta a:hover { gap: 0.85rem; }
.doc-card__cta a::after { content: "→"; }
.doc-card--disabled { opacity: 0.45; pointer-events: none; }

@media (max-width: 880px) {
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-card { border-right: 1px solid var(--c-ink); }
  .doc-card:nth-child(3n) { border-right: 1px solid var(--c-ink); }
  .doc-card:nth-child(2n) { border-right: none; }
  .doc-card:nth-last-child(-n+3):nth-child(3n+1),
  .doc-card:nth-last-child(-n+3):nth-child(3n+1) ~ .doc-card { border-bottom: 1px solid var(--c-ink); }
  .doc-card:nth-last-child(-n+2):nth-child(2n+1),
  .doc-card:nth-last-child(-n+2):nth-child(2n+1) ~ .doc-card { border-bottom: none; }
}
@media (max-width: 560px) {
  .doc-grid { grid-template-columns: 1fr; }
  .doc-card { border-right: none !important; border-bottom: 1px solid var(--c-ink) !important; }
  .doc-card:last-child { border-bottom: none !important; }
}

/* ---------- Project tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.tile { color: var(--c-ink); }
.tile__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--c-stone-deep);
}
.tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.tile:hover .tile__media img { transform: scale(1.04); }
.tile__name {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  font-style: normal;
  color: var(--c-heading);
  margin-bottom: 0.3rem;
}
.tile__loc {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-mid);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-ink);
  color: var(--c-stone);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--c-ink);
}
.site-footer p { color: var(--c-stone); opacity: 0.85; }
/* Footer logo: always show the light (cream) version */
.site-footer .brand-logo .brand-logo__dark { display: none; }
.site-footer .brand-logo .brand-logo__light { opacity: 1; position: static; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(207, 201, 192, 0.18);
  margin-bottom: 2rem;
}
.footer-brand { max-width: 38ch; }
.footer-brand .brand-logo { width: 200px; margin-bottom: 1.5rem; }
.footer-brand p {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.65;
  letter-spacing: 0.04em;
}
.footer-col h5 {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-stone);
  margin-bottom: 1.5rem;
  font-weight: 400;
  opacity: 0.7;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.footer-col a {
  font-family: var(--f-serif);
  font-size: 0.98rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--c-stone);
  opacity: 0.85;
}
.footer-col a:hover { opacity: 1; }

.newsletter-form { display: flex; gap: 0.5rem; margin-top: 1rem; }
.newsletter-form input {
  flex: 1;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(207, 201, 192, 0.3);
  background: transparent;
  color: var(--c-stone);
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.newsletter-form input::placeholder { color: rgba(207, 201, 192, 0.5); }
.newsletter-form input:focus { outline: none; border-color: var(--c-stone); }
.newsletter-form button {
  padding: 0.85rem 1.4rem;
  background: var(--c-stone);
  color: var(--c-ink);
  border: 1px solid var(--c-stone);
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.newsletter-form button:hover { background: transparent; color: var(--c-stone); }

.footer-legal {
  font-family: var(--f-serif);
  font-size: 0.7rem;
  font-style: italic;
  color: rgba(207, 201, 192, 0.65);
  line-height: 1.5;
  letter-spacing: 0.04em;
  max-width: none;
  width: 100%;
}
.footer-legal p { font-size: inherit; line-height: inherit; color: inherit; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: 1.5rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(207, 201, 192, 0.18);
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-meta a {
  color: rgba(207, 201, 192, 0.7);
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 0.65rem;
}
.footer-meta a:hover { color: var(--c-stone); opacity: 1; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  margin-top: 0;
  border-top: 1px solid rgba(207, 201, 192, 0.18);
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(207, 201, 192, 0.4);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a {
  color: rgba(207, 201, 192, 0.95);
  font-family: var(--f-mono);
  font-style: normal;
  font-weight: 500;
}
.footer-bottom a:hover { color: var(--c-stone); }

/* ---------- CTA strip ---------- */
.cta-strip {
  text-align: center;
  padding: var(--space-xl) 0;
}
.cta-strip h2 { max-width: 26ch; margin: 0 auto 1.5rem; }
.cta-strip .accent { max-width: 60ch; margin: 0 auto; display: block; }

/* ---------- Anchor scroll offset ---------- */
[id] { scroll-margin-top: 100px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(32, 30, 28, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: 1px solid var(--c-stone);
  color: var(--c-stone);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}
.lightbox__close:hover { background: var(--c-stone); color: var(--c-ink); }
body.lightbox-open { overflow: hidden; }

/* (wireframe banner removed) */

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .duet { grid-template-columns: 1fr; gap: 3rem; }
  .duet__media img { aspect-ratio: 4 / 3; }
  .showcase { grid-template-columns: 1fr; }
  .showcase__copy { border-left: none; border-top: 1px solid var(--c-ink); padding: 2.5rem 1.75rem; }
  .showcase__media { min-height: 380px; }
  .tiles { grid-template-columns: repeat(2, 1fr) !important; gap: 1.25rem; }
}

@media (max-width: 880px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; border: 1px solid currentColor; }
  /* Drop the Enquire button on mobile; Menu sits in its own box (Enquire lives in the menu) */
  .nav-cta .btn--ghost { display: none; }
  /* Give hero content clearance from the fixed header so the eyebrow never tucks under it */
  .hero { padding-top: 5rem; }
  .brand-logo { width: 140px; }
  /* Defensive: never let any image push beyond its container. */
  img { max-width: 100%; }
  /* Stats border lines: tuck inside the container padding so they sit at
     the same horizontal width as the header inner. */
  .container > .stats,
  .container > .pillars,
  .container > .showcase,
  .container > .doc-grid { margin-left: 0; margin-right: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--c-ink); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  /* Force single column on mobile, overriding any inline grid-template-columns
     set per page (prevents multi-column pillar strips overflowing horizontally) */
  .pillars { grid-template-columns: 1fr !important; }
  .pillar { border-right: none; border-bottom: 1px solid var(--c-ink); }
  .pillar:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
  .hero { min-height: 600px; }
  /* Stack the legal links vertically rather than spreading them across a row */
  .footer-meta { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--c-ink); }
  /* Re-assert dividers in single column: the 2-col rule above (nth-last-child)
     has higher specificity and would otherwise strip the line between the
     last two stacked rows (e.g. 20% / 30 nights). */
  .stats .stat:nth-last-child(-n+2) { border-bottom: 1px solid var(--c-ink); }
  .stats .stat:last-child { border-bottom: none; }
  /* Scroll cue overlaps stacked hero buttons on small screens */
  .hero__scroll { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero { min-height: 560px; }
  .brand-logo { width: 120px; }
  .duet { gap: 2.5rem; }
  .duet__media img { aspect-ratio: 4 / 3; }
  .showcase__copy { padding: 2.25rem 1.5rem; }
  /* Stop bullets/specs sitting flush to the edge */
  .bullets, .specs, .snapshot { margin-left: 0; margin-right: 0; }
  .duet__media { margin-left: 0; margin-right: 0; }
  .hero__title { font-size: clamp(2.4rem, 8.5vw, 3.4rem); }
  /* Italic sub/intro text in headers: at least body size on mobile, kept italic */
  .hero__sub { font-size: 1.15rem; }
  /* Force the second sentence onto its own line on mobile */
  .br-mobile { display: inline; }
  .footer-brand p { font-size: 1.05rem; }
}

/* ---------- Footer CTA banner headline (consistent, page-header scale) ---------- */
.cta-banner h2 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.05;
}
/* CTA banner body text: regular (not italic), a little larger than body copy */
.cta-banner p { font-style: normal; font-size: 1.25rem; }
/* Footer CTA banners: let the band grow with content and carry generous
   top/bottom inner padding (overrides the inline fixed heights on each page). */
.cta-banner.fullbleed {
  height: auto !important;
  min-height: 420px;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

/* ---------- Reveal on scroll (fade + rise) ----------
   The hidden state is gated on html.reveal-init, which an inline <head> script
   adds before first paint ONLY when IntersectionObserver is supported and the
   user has not requested reduced motion. js/site.js then adds .is-visible as
   each element scrolls into view. If JS never runs, nothing is hidden. */
@media (prefers-reduced-motion: no-preference) {
  html.reveal-init .hero__inner,
  html.reveal-init .intro,
  html.reveal-init .duet__copy,
  html.reveal-init .duet__media,
  html.reveal-init .stat,
  html.reveal-init .pillar,
  html.reveal-init .tile,
  html.reveal-init .doc-card,
  html.reveal-init .showcase,
  html.reveal-init .gallery__feature,
  html.reveal-init .gallery__cell,
  html.reveal-init .gallery__item,
  html.reveal-init .faq-item,
  html.reveal-init .fullbleed__inner,
  html.reveal-init .cta-strip,
  html.reveal-init [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  html.reveal-init .is-visible {
    opacity: 1 !important;
    transform: none !important;
  }
}
