/* Gangavati Tiles — architectural showroom styles
   One theme: navy bands (header, hero, page tops, statement, footer) over ivory pages,
   with antique gold as the accent. */

:root {
  color-scheme: light;

  /* Brand colours */
  --navy: #12283d;
  --navy-deep: #0f2437;
  --ivory: #f5f1e8;
  --gold: #c9a96e;
  --gold-light: #dcc08c;
  --gold-ink: #7d6232;
  --brand: #1b5080;

  /* Ivory pages (default) */
  --bg: var(--ivory);
  --surface: #ffffff;
  --surface-2: #ece6d9;
  --text: #12283d;
  --text-secondary: #55626e;
  --accent: var(--gold-ink);
  --link: var(--brand);
  --solid: var(--navy);
  --on-solid: #f4efe6;
  --border: rgba(18, 40, 61, 0.13);
  --border-strong: rgba(18, 40, 61, 0.3);
  --focus: #1b5080;
  --danger: #a33f30;
  --paper: #ffffff;
  --accent-text: var(--navy-deep);

  /* Type */
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --fs-display: clamp(3rem, 6.6vw, 6.6rem);
  --fs-h1: clamp(2.6rem, 5vw, 4.6rem);
  --fs-h2: clamp(2.1rem, 3.6vw, 3.4rem);
  --fs-h3: clamp(1.7rem, 2.4vw, 2.3rem);
  --fs-lg: 1.35rem;
  --fs-body: 1.05rem;
  --fs-sm: 0.94rem;
  --fs-xs: 0.82rem;
  --fs-label: 0.72rem;
  --track: 0.18em;

  /* Shape and motion */
  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --header-h: 5.25rem;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 22px 48px -28px rgba(18, 40, 61, 0.45);
  --glow: 0 14px 34px -14px rgba(201, 169, 110, 0.75);
  --glass: rgba(15, 36, 55, 0.92);
  --glass-page: rgba(245, 241, 232, 0.9);
  --catalogue-aspect: 3 / 2;
}

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

[hidden] {
  display: none !important;
}

/* Navy bands */
.site-header,
.mobile-menu,
.hero,
.page-hero,
.statement,
.site-footer,
.space,
.mosaic a {
  --text: #f4efe6;
  --text-secondary: #b9c9d8;
  --accent: var(--gold);
  --link: var(--gold);
  --solid: var(--gold);
  --on-solid: var(--navy-deep);
  --border: rgba(244, 239, 230, 0.14);
  --border-strong: rgba(244, 239, 230, 0.32);
  --focus: var(--gold);
  color: var(--text);
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  scrollbar-color: #b9b1a0 var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  /* Numbers sit on the baseline at capital height (the serif's default figures dip below it) */
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  overflow-x: clip;
}

/* Atmosphere: soft brand light and a faint tile grid behind every page */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(60rem 38rem at 92% 8%, rgba(27, 80, 128, 0.07), transparent 62%),
    radial-gradient(46rem 34rem at -10% 55%, rgba(201, 169, 110, 0.12), transparent 62%);
}

body::after {
  background-image:
    linear-gradient(to right, rgba(18, 40, 61, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 40, 61, 0.045) 1px, transparent 1px);
  background-size: 7.5rem 7.5rem;
  -webkit-mask-image: radial-gradient(80rem 60rem at 100% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(80rem 60rem at 100% 30%, #000 0%, transparent 70%);
}

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

button,
input,
textarea,
select {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

h1, h2, h3, h4, p {
  text-wrap: balance;
}

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
}

p {
  margin: 0;
}

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

::selection {
  background: var(--brand);
  color: #ffffff;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--gold);
  color: var(--accent-text);
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(1440px, calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.wrap-wide {
  width: min(1680px, calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.1rem;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--accent);
  text-wrap: nowrap;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.statement .eyebrow {
  justify-content: center;
}

.lede {
  color: var(--text-secondary);
  font-size: var(--fs-body);
  max-width: 38rem;
}

.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-head h2,
.page-hero h1,
.intro h2,
.statement h2,
.visit-copy h2,
.reasons h2 {
  margin: 0;
  font-size: var(--fs-h1);
}

.section-head p:last-child {
  margin: 0;
  color: var(--text-secondary);
}

/* Header */

/* Glass header: clear over the navy page top, frosted once the page scrolls,
   with a slow line of light running along its lower edge. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(15, 36, 55, 0.5), rgba(15, 36, 55, 0.08));
  color: var(--text);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(6px) saturate(130%);
  backdrop-filter: blur(6px) saturate(130%);
  transition: background-color 450ms ease, border-color 450ms ease, box-shadow 450ms ease,
    -webkit-backdrop-filter 450ms ease, backdrop-filter 450ms ease;
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 450ms ease;
}

.site-header::before {
  inset: 0;
  background: linear-gradient(115deg, rgba(116, 172, 217, 0.16), rgba(116, 172, 217, 0) 40%, rgba(201, 169, 110, 0.07) 100%);
}

.site-header::after {
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.95), rgba(244, 239, 230, 0.8), transparent) no-repeat;
  background-size: 45% 100%;
  animation: header-sheen 7s linear infinite;
}

.site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(18, 40, 61, 0.93), rgba(15, 36, 55, 0.86));
  border-bottom-color: rgba(244, 239, 230, 0.16);
  box-shadow: 0 14px 34px -20px rgba(15, 36, 55, 0.75);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}

.site-header.is-scrolled::before,
.site-header.is-scrolled::after {
  opacity: 1;
}

body.is-locked .site-header {
  background: var(--navy-deep);
}

@keyframes header-sheen {
  from { background-position: -80% 0; }
  to { background-position: 180% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header::after { animation: none; background-size: 100% 100%; }
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(1680px, calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.logo img {
  height: 54px;
  width: auto;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul,
.mobile-menu ul,
.footer-nav ul {
  display: flex;
  gap: 1.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  position: relative;
  text-decoration: none;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  transition: color 250ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--text);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 1.5rem;
}

.menu-toggle,
.hero__btn,
.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  transition: border-color 250ms ease, background-color 250ms ease, color 250ms ease;
}

.menu-toggle:hover,
.hero__btn:hover,
.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.menu-toggle {
  display: none;
  position: relative;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: transform 250ms ease, opacity 250ms ease;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle__bars::before { top: -5px; }
.menu-toggle__bars::after { top: 5px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.js .mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: fixed;
  z-index: 35;
  inset: var(--header-h) 0 0 0;
  background: var(--navy-deep);
  color: var(--text);
  padding: 2.5rem var(--gutter) 2rem;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 300ms ease, transform 300ms var(--ease), visibility 300ms ease;
}

.js .mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mobile-menu ul {
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-menu ul a {
  display: block;
  padding: 0.35rem 0;
  text-decoration: none;
  font-family: var(--serif);
  font-size: var(--fs-h1);
  line-height: 1.05;
}

.mobile-menu ul a[aria-current="page"] {
  color: var(--accent);
}

.mobile-menu .btn {
  align-self: flex-start;
  margin-top: 1.5rem;
}

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  line-height: 1;
  border-radius: var(--radius-sm);
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease, transform 250ms var(--ease), box-shadow 250ms ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--accent-text);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.btn--header {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
  min-height: 42px;
  padding-inline: 1.05rem;
}

.btn--header:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--accent-text);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(241, 236, 226, 0.1);
  border-color: var(--text);
}

.btn--line {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn--line:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.short-label { display: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--accent);
  color: var(--text);
  text-decoration: none;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 250ms var(--ease);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .text-link:hover svg { transform: translateX(5px); }
}

.media-zoom {
  overflow: hidden;
  display: block;
  background: var(--surface);
}

.media-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 700ms var(--ease);
}

/* Catalogue sheets are white PDF pages: frame them as evenly lit plates. */
img.catalogue-img {
  object-fit: contain;
  object-position: center;
  background: var(--paper);
  transition: transform 700ms var(--ease);
}

.catalogue-card__media,
.feature__media,
.gallery .shot button,
.intro__figure {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.feature__media:has(.catalogue-img),
.catalogue-card__media:has(.catalogue-img) {
  height: auto;
  min-height: 0;
  aspect-ratio: var(--catalogue-aspect);
}

.media-zoom:has(.catalogue-img) {
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.space,
.mosaic a {
  border-radius: var(--radius);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .media-zoom:hover img:not(.catalogue-img) { transform: scale(1.05); }
  .media-zoom:hover img.catalogue-img { transform: scale(1.02); }
}

/* Hero */

.hero {
  position: relative;
  height: 100svh;
  margin-top: calc(var(--header-h) * -1);
  min-height: 38rem;
  background: var(--navy-deep);
  color: var(--text);
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 800ms ease, visibility 800ms ease;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__slide img.catalogue-img {
  object-fit: cover;
  object-position: center;
  background: var(--navy-deep);
  filter: none;
}

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 36, 55, 0.9) 0%, rgba(15, 36, 55, 0.55) 46%, rgba(15, 36, 55, 0.12) 100%),
    linear-gradient(180deg, rgba(15, 36, 55, 0.92) 0%, rgba(15, 36, 55, 0.2) 26%, rgba(15, 36, 55, 0) 45%, rgba(15, 36, 55, 0.88) 100%);
  pointer-events: none;
}

.hero__content {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 18%;
  max-width: 40rem;
}

.hero__content .eyebrow {
  color: var(--accent);
}

.hero h1,
.hero h2 {
  margin: 0 0 1.1rem;
  color: var(--text);
  font-size: var(--fs-display);
  line-height: 0.94;
}

.hero__content p {
  max-width: 34rem;
  color: rgba(241, 236, 226, 0.88);
  font-size: var(--fs-body);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero__controls {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  margin-left: -6px;
  bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero__btn {
  background: rgba(15, 36, 55, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero__btn svg {
  width: 18px;
  height: 18px;
}

.hero.is-paused .icon-pause,
.hero:not(.is-paused) .icon-play {
  display: none;
}

.hero__dots {
  display: flex;
  align-items: center;
}

.hero__dot {
  width: 56px;
  height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  position: relative;
}

.hero__dot::before,
.hero__dot::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: 2px;
  border-radius: 2px;
  background: rgba(241, 236, 226, 0.4);
}

/* the current slide's dash fills with gold while the slide is showing */
.hero__dot::after {
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

.hero__dot[aria-selected="true"]::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: no-preference) {
  .hero:not(.is-paused) .hero__dot[aria-selected="true"]::after {
    animation: hero-progress 6s linear;
  }
}

@keyframes hero-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__slide.is-active img {
    animation: hero-zoom 16s var(--ease) forwards;
  }
}

@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

/* Intro */

.intro__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 5rem);
  align-items: end;
}

.intro__figure {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.intro__figure img:not(.catalogue-img) {
  width: 100%;
  height: min(78vh, 820px);
  object-fit: cover;
}

.intro__figure .catalogue-img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro figcaption,
.caption {
  margin-top: 0.7rem;
  color: var(--text-secondary);
  font-size: var(--fs-xs);
  letter-spacing: var(--track);
  text-transform: uppercase;
}

.intro__copy h2 {
  margin-bottom: 1.25rem;
}

.intro__copy p + p {
  margin-top: 1rem;
}

/* Spaces */

.spaces__layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: minmax(240px, 32vh) minmax(240px, 32vh) minmax(220px, 28vh);
  gap: 0.7rem;
}

.space {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  min-height: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.space--living { grid-row: 1 / span 2; }
.space--outdoor { grid-column: 1; }
.space--commercial { grid-column: 2; }

.space img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transition: transform 800ms var(--ease);
}

.space img.catalogue-img {
  object-fit: cover;
  object-position: center;
  background: var(--paper);
  width: 100%;
  height: 100%;
}

.space::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 36, 55, 0) 35%, rgba(15, 36, 55, 0.88) 100%);
}

.space__label {
  position: absolute;
  z-index: 1;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--serif);
  font-size: var(--fs-h3);
  line-height: 1;
}

.space__label small {
  font-family: var(--sans);
  font-size: var(--fs-label);
  letter-spacing: var(--track);
  text-transform: uppercase;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .space:hover img { transform: scale(1.05); }
}

/* Featured */

.feature {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.feature.is-flip .feature__media { order: 2; }

.feature__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  height: min(56vh, 520px);
  overflow: hidden;
  text-decoration: none;
}

.feature__media img:not(.catalogue-img) {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 800ms var(--ease);
}

.feature__media .catalogue-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature__texture {
  position: absolute;
  width: min(34%, 220px);
  height: 180px;
  right: 1rem;
  bottom: 1rem;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.feature__copy h3 {
  margin: 0 0 1rem;
  font-size: var(--fs-h2);
}

.feature__copy p {
  color: var(--text-secondary);
}

.feature__index {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-size: var(--fs-label);
  letter-spacing: var(--track);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .feature__media:hover img:first-child { transform: scale(1.04); }
}

/* Statement */

.statement {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--text);
  text-align: center;
}

.statement__media {
  position: absolute;
  inset: 0;
}

.statement__media img,
.parallax__img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  transform: translate3d(0, -6%, 0);
}

.statement__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60rem 30rem at 50% 50%, rgba(15, 36, 55, 0.78), rgba(15, 36, 55, 0.5));
}

.statement__copy {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - (var(--gutter) * 2)));
}

.statement h2 {
  color: var(--text);
  margin-bottom: 1.5rem;
}

/* Reasons: four picture tiles laid in a staggered row. Each lifts and
   reveals its text when pointed at or focused. */

.reasons__head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: end;
}

.reasons__head > p {
  margin: 0;
  color: var(--text-secondary);
}

.reasons__list {
  list-style: none;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  padding: 0 0 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: reason;
}

.reason {
  --text: #f4efe6;
  --text-secondary: #d3dde6;
  --accent: var(--gold);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(22rem, 34vw, 30rem);
  padding: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: var(--text);
  box-shadow: var(--shadow);
  transition: translate 500ms var(--ease), box-shadow 500ms ease;
}

/* `translate` is used (not `transform`) so the scroll-reveal animation cannot cancel it */
.reason:nth-child(even) {
  translate: 0 2.5rem;
}

.reason__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.reason::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 36, 55, 0.25) 0%, rgba(15, 36, 55, 0.55) 45%, rgba(15, 36, 55, 0.94) 100%);
  transition: opacity 500ms ease;
}

/* gold frame that draws itself in */
.reason::after {
  content: "";
  position: absolute;
  inset: 0.6rem;
  border: 1px solid var(--gold);
  border-radius: calc(var(--radius) - 0.4rem);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 450ms ease, transform 600ms var(--ease);
  pointer-events: none;
}

.reason__num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 239, 230, 0.75);
  transition: color 450ms ease, -webkit-text-stroke-color 450ms ease;
}

.reason h3 {
  margin: 0;
  font-size: var(--fs-h3);
  color: var(--text);
}

.reason h3::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  margin-top: 0.9rem;
  background: var(--gold);
  transition: width 500ms var(--ease);
}

.reason p {
  margin-top: 0.9rem;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .reason p {
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 600ms var(--ease), opacity 400ms ease, margin-top 400ms ease;
  }

  .reason:hover,
  .reason:focus-within {
    translate: 0 -0.5rem;
    box-shadow: 0 34px 60px -28px rgba(18, 40, 61, 0.7);
  }

  .reason:nth-child(even):hover,
  .reason:nth-child(even):focus-within {
    translate: 0 2rem;
  }

  .reason:hover .reason__img { transform: scale(1.07); }
  .reason:hover::after { opacity: 0.8; transform: none; }
  .reason:hover h3::after { width: 100%; }
  .reason:hover .reason__num { color: var(--gold); -webkit-text-stroke-color: var(--gold); }

  .reason:hover p,
  .reason:focus-within p {
    max-height: 12rem;
    margin-top: 0.9rem;
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .reasons__list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 0; }
  .reason,
  .reason:nth-child(even) { translate: none; min-height: 20rem; }
  .reason p { max-height: none; margin-top: 0.9rem; opacity: 1; }
}

@media (max-width: 720px) {
  .reasons__head { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 560px) {
  .reasons__list { grid-template-columns: 1fr; }
  .reason,
  .reason:nth-child(even) { min-height: 17rem; }
}

/* Mosaic */

.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 250px 250px;
  gap: 0.7rem;
}

.mosaic a:first-child { grid-row: 1 / span 2; }

.mosaic a {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 180px;
  height: 100%;
}

.mosaic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease);
}

.mosaic img.catalogue-img {
  object-fit: cover;
  background: var(--paper);
  width: 100%;
  height: 100%;
}

.section-link {
  margin-top: 1.5rem;
}

/* Visit */

.visit-block {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.visit-block img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.visit-copy {
  padding: clamp(1.5rem, 3vw, 3rem);
}

.visit-copy h2 { margin-bottom: 1rem; }

.visit-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.visit-list li {
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

.visit-list span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: var(--fs-label);
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--accent);
}

.visit-list a {
  color: var(--text);
}

.hours-pending {
  color: var(--text-secondary);
}

/* Footer */

.site-footer {
  position: relative;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(3rem, 6vw, 5rem) 0 1.5rem;
  background:
    radial-gradient(48rem 22rem at 12% 0%, rgba(27, 80, 128, 0.5), transparent 70%),
    var(--navy-deep);
  overflow: hidden;
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
}

.footer-cta__title {
  margin: 0;
  max-width: none;
  color: var(--text);
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--fs-h1);
  line-height: 1;
  letter-spacing: -0.015em;
}

.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.9fr 1.2fr;
  gap: 2.5rem;
}

.footer-logo {
  height: 72px;
  width: auto;
  margin-bottom: 1rem;
}

.site-footer p,
.site-footer address {
  color: var(--text-secondary);
  max-width: 26rem;
}

.site-footer .footer-cta__title {
  color: var(--text);
  max-width: none;
}

.site-footer a {
  text-decoration: none;
}

.footer-nav a,
.site-footer address + p a,
.fine-print a {
  transition: color 200ms ease;
}

.footer-nav a:hover,
.site-footer address + p a:hover,
.visit-list a:hover,
.fine-print a:hover {
  color: var(--accent);
}

.footer-nav ul {
  flex-direction: column;
  gap: 0.5rem;
}

.footer-label {
  margin: 0 0 1rem;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
}

.social-list {
  display: flex;
  gap: 0.6rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.social-link {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text);
  transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease, transform 250ms var(--ease);
}

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

.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-2px);
}

/* The outlined wordmark sits behind the footer content, not in its own row */
.footer-wordmark {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 0;
  margin: 0;
  max-width: none !important;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(6rem, 24vw, 26rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: transparent !important;
  -webkit-text-stroke: 1px rgba(244, 239, 230, 0.11);
  user-select: none;
  pointer-events: none;
}

.site-footer > .wrap {
  position: relative;
  z-index: 1;
}

.fine-print {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: 1rem 6rem 0 0;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: var(--fs-xs);
}

.fine-print p { margin: 0; }

/* WhatsApp: round green button with a soft pulse and a "Talk to us?" label */

.whatsapp-float {
  position: fixed;
  z-index: 45;
  right: 1.1rem;
  bottom: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.whatsapp-float__icon {
  position: relative;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 0 0 9px rgba(37, 211, 102, 0.2), 0 0 0 20px rgba(37, 211, 102, 0.09);
  transition: transform 250ms var(--ease);
}

.whatsapp-float__icon::before,
.whatsapp-float__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.5);
  animation: wa-pulse 2.6s ease-out infinite;
}

.whatsapp-float__icon::after {
  animation-delay: 1.3s;
}

.whatsapp-float__icon svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float__label {
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(244, 239, 230, 0.22);
  border-radius: var(--radius-pill);
  background: var(--navy-deep);
  color: #ffffff;
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-float__icon {
  transform: scale(1.07);
}

@keyframes wa-pulse {
  from { transform: scale(1); opacity: 0.65; }
  to { transform: scale(2.1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float__icon::before,
  .whatsapp-float__icon::after { animation: none; opacity: 0; }
}

body.is-locked .whatsapp-float {
  visibility: hidden;
}

/* Inner pages */

.page-hero {
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  background:
    radial-gradient(50rem 24rem at 90% 0%, rgba(27, 80, 128, 0.55), transparent 70%),
    var(--navy);
}

.page-hero h1 {
  max-width: 16ch;
}

.page-hero .lede {
  margin-top: 1.25rem;
}

.prose {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
  color: var(--text-secondary);
}

.prose strong {
  color: var(--text);
  font-weight: 500;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.split img {
  width: 100%;
  height: min(72vh, 760px);
  object-fit: cover;
}

.split img,
.split .media-zoom {
  border-radius: var(--radius);
}

.split--top { align-items: start; }

.philosophy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}

.philosophy article {
  padding: 2rem 2rem 2rem 0;
}

.philosophy article + article {
  padding-left: 2rem;
  border-left: 1px solid var(--border);
}

.philosophy h2 {
  margin: 0 0 1rem;
  font-size: var(--fs-h2);
}

/* Catalogue */

.demo-note {
  margin: 1.5rem 0 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  padding: 1rem 0;
  background: var(--glass-page);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.filter-open { display: none; }

.filter-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: flex-end;
}

.filter-group p {
  margin: 0 0 0.45rem;
  font-size: var(--fs-label);
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--text-secondary);
}

.filter-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.filter-group button,
.gallery-filters button,
.chip button,
.reset-filters {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-secondary);
  padding: 0.35rem 0.85rem;
  font-size: var(--fs-sm);
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.filter-group button:hover,
.gallery-filters button:hover,
.reset-filters:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.filter-group button[aria-pressed="true"],
.gallery-filters button[aria-pressed="true"] {
  color: var(--on-solid);
  background: var(--solid);
  border-color: var(--solid);
}

.filter-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 1.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.4rem 0.15rem 0.85rem;
  font-size: var(--fs-xs);
}

.chip button {
  min-height: 32px;
  min-width: 32px;
  padding: 0;
  color: var(--text);
}

/* Collections: a grid of picture cards. The whole card is the link. */
.catalogue {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
  counter-reset: card;
}

.catalogue-card {
  --text: #f4efe6;
  --text-secondary: #d3dde6;
  --accent: var(--gold);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: var(--text);
  box-shadow: var(--shadow);
  counter-increment: card;
  transition: translate 500ms var(--ease), box-shadow 500ms ease;
}

.catalogue-card__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  height: auto;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.catalogue-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.catalogue-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 36, 55, 0.3) 0%, rgba(15, 36, 55, 0) 30%, rgba(15, 36, 55, 0.35) 58%, rgba(15, 36, 55, 0.94) 100%);
}

.catalogue-card::after {
  content: "";
  position: absolute;
  inset: 0.6rem;
  border: 1px solid var(--gold);
  border-radius: calc(var(--radius) - 0.4rem);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 450ms ease, transform 600ms var(--ease);
  pointer-events: none;
}

.catalogue-card__num {
  position: absolute;
  top: 1.1rem;
  left: 1.4rem;
  font-family: var(--serif);
  font-size: var(--fs-lg);
  color: var(--gold);
}

.catalogue-card__num::before {
  content: counter(card, decimal-leading-zero);
}

.catalogue-card__body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
}

.catalogue-card h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
  color: var(--text);
}

.catalogue-card h2 a {
  text-decoration: none;
}

/* stretch the title link over the whole card */
.catalogue-card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.catalogue-card .meta-row {
  margin: 0;
  gap: 0.4rem 0.9rem;
  color: var(--gold);
}

.catalogue-card .meta-row span + span::before {
  content: "·";
  margin-right: 0.9rem;
  color: var(--text-secondary);
}

.catalogue-card__go {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong, rgba(244, 239, 230, 0.4));
  border-color: rgba(244, 239, 230, 0.45);
  border-radius: 50%;
  color: var(--text);
  transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease, transform 500ms var(--ease);
}

.catalogue-card__go svg {
  width: 18px;
  height: 18px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .catalogue-card:hover {
    translate: 0 -0.4rem;
    box-shadow: 0 34px 60px -28px rgba(18, 40, 61, 0.7);
  }

  .catalogue-card:hover .catalogue-card__media img { transform: scale(1.07); }
  .catalogue-card:hover::after { opacity: 0.8; transform: none; }
}

.catalogue-card:hover .catalogue-card__go,
.catalogue-card:focus-within .catalogue-card__go {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  transform: rotate(-45deg);
}

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

@media (max-width: 600px) {
  .catalogue { grid-template-columns: 1fr; gap: 1rem; }
  .catalogue-card { aspect-ratio: 5 / 4; }
}

/* Page top with pictures: text on the left, three overlapping tiles on the right */
.page-hero__split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.75rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
}

.hero-stats strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1;
  color: var(--gold);
}

.hero-stats span {
  display: block;
  margin-top: 0.45rem;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--text-secondary);
}

.page-hero__art {
  position: relative;
  height: clamp(17rem, 27vw, 25rem);
}

.page-hero__tile {
  position: absolute;
  width: 46%;
  height: 78%;
  object-fit: cover;
  border: 1px solid rgba(201, 169, 110, 0.55);
  border-radius: var(--radius);
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.65);
}

.page-hero__tile--1 { left: 0; top: 16%; rotate: -6deg; }
.page-hero__tile--2 { left: 27%; top: 0; z-index: 2; height: 88%; }
.page-hero__tile--3 { right: 0; top: 20%; rotate: 6deg; }

@media (prefers-reduced-motion: no-preference) {
  .page-hero__tile { animation: tile-float 7s ease-in-out infinite; }
  .page-hero__tile--2 { animation-delay: -2.3s; }
  .page-hero__tile--3 { animation-delay: -4.6s; }
}

@keyframes tile-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -0.7rem; }
}

@media (max-width: 900px) {
  .page-hero__split { grid-template-columns: 1fr; }
  .page-hero__art { height: clamp(13rem, 52vw, 19rem); max-width: 30rem; }
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: var(--fs-xs);
  letter-spacing: var(--track);
  text-transform: uppercase;
}

.empty-state {
  padding: 4rem 0;
  text-align: center;
}

.empty-state h2 {
  margin: 0 0 0.75rem;
  font-size: var(--fs-h2);
}

.drawer-backdrop {
  display: none;
}

/* Detail */

.collection-panel,
.collection-missing { display: none; }

html[data-collection="all"] .collection-panel { display: block; }
html[data-collection="3d"] [id="3d"],html[data-collection="book-match"] [id="book-match"],html[data-collection="carving-matt"] [id="carving-matt"],html[data-collection="dc-4x2"] [id="dc-4x2"],html[data-collection="decor"] [id="decor"],html[data-collection="endless-1"] [id="endless-1"],html[data-collection="endless-2"] [id="endless-2"],html[data-collection="glame"] [id="glame"],html[data-collection="light-dark"] [id="light-dark"],html[data-collection="marble"] [id="marble"],html[data-collection="matt"] [id="matt"],html[data-collection="paper-matt"] [id="paper-matt"],html[data-collection="rico"] [id="rico"] { display: block; }
html[data-collection="missing"] .collection-missing { display: block; }
html:not([data-collection="all"]) .collection-name { display: none; }

address { font-style: normal; }

.detail-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding-bottom: 3rem;
}

.detail-media__title {
  margin: 0 0 1rem;
  font-size: var(--fs-h3);
}

.detail-media__grid + .detail-media__title {
  margin-top: 2.5rem;
}

.detail-media__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.detail-media button {
  display: block;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--paper);
  cursor: zoom-in;
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.detail-media__grid--rooms button {
  aspect-ratio: 3 / 2;
}

.detail-media__grid--rooms button:first-child {
  grid-column: 1 / -1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-media__grid--designs button {
  aspect-ratio: 2 / 1;
}

.detail-media .caption {
  margin-top: 1rem;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .detail-media button:hover img { transform: scale(1.04); }
}

.detail-copy {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.detail-copy h2,
.missing-panel h1 {
  margin: 0 0 1rem;
  font-size: var(--fs-h2);
}

.spec-list {
  margin: 1.5rem 0;
  padding: 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
}

.spec-list dt {
  margin: 0;
  font-size: var(--fs-label);
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--accent);
}

.spec-list dd {
  margin: 0;
  color: var(--text-secondary);
}

.catalogue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.35rem 0 1rem;
}

.related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
}

.related a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  font-size: var(--fs-sm);
}

.stack-gap { margin-top: 3rem; }

/* Gallery */

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.4rem;
  margin: 1.5rem 0 1.25rem;
}

/* Inspiration: a Pinterest-style wall. Pictures flow down columns and are
   cropped to a repeating mix of tall, square and wide shapes. */
.gallery {
  columns: 4;
  column-gap: 1rem;
}

.shot {
  position: relative;
  break-inside: avoid;
  margin: 0 0 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: 0 14px 30px -22px rgba(18, 40, 61, 0.55);
  transition: translate 400ms var(--ease), box-shadow 400ms ease;
}

.shot.is-hidden { display: none; }

.shot button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  aspect-ratio: 4 / 5;
}

.shot:nth-child(7n + 2) button { aspect-ratio: 3 / 2; }
.shot:nth-child(7n + 3) button { aspect-ratio: 1 / 1; }
.shot:nth-child(7n + 4) button { aspect-ratio: 2 / 3; }
.shot:nth-child(7n + 5) button { aspect-ratio: 4 / 3; }
.shot:nth-child(7n + 6) button { aspect-ratio: 3 / 4; }
.shot:nth-child(7n + 7) button { aspect-ratio: 5 / 4; }

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease);
}

.shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 2.5rem 1rem 0.85rem;
  background: linear-gradient(180deg, rgba(15, 36, 55, 0), rgba(15, 36, 55, 0.88));
  color: #f4efe6;
  font-size: var(--fs-xs);
  font-weight: 400;
  line-height: 1.4;
  pointer-events: none;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .shot figcaption {
    opacity: 0;
    translate: 0 0.5rem;
    transition: opacity 350ms ease, translate 450ms var(--ease);
  }

  .shot:hover,
  .shot:focus-within {
    translate: 0 -4px;
    box-shadow: 0 26px 44px -24px rgba(18, 40, 61, 0.7);
  }

  .shot:hover img { transform: scale(1.06); }

  .shot:hover figcaption,
  .shot:focus-within figcaption {
    opacity: 1;
    translate: none;
  }
}

@media (max-width: 1300px) {
  .gallery { columns: 3; }
}

@media (max-width: 900px) {
  .gallery { columns: 2; column-gap: 0.65rem; }
  .shot { margin-bottom: 0.65rem; border-radius: var(--radius-sm); }
  .shot figcaption { padding: 1.75rem 0.65rem 0.55rem; }
}

.lightbox {
  width: min(1100px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
}

.lightbox::backdrop {
  background: rgba(15, 36, 55, 0.82);
}

.lightbox__frame {
  display: grid;
  grid-template-rows: 1fr auto;
  max-height: calc(100vh - 2rem);
}

.lightbox img {
  width: 100%;
  max-height: calc(100vh - 8rem);
  object-fit: contain;
  background: var(--paper);
}

.lightbox__caption {
  margin: 0;
  padding: 0.9rem 4.5rem;
  color: var(--text-secondary);
  text-align: center;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
}

.lightbox__close { top: 0.75rem; right: 0.75rem; }
.lightbox__prev { top: 50%; left: 0.75rem; transform: translateY(-50%); }
.lightbox__next { top: 50%; right: 0.75rem; transform: translateY(-50%); }

body.is-locked { overflow: hidden; }

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.form-panel,
.form-note,
.form-status {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2vw, 2rem);
}

.form-note,
.form-status {
  margin-bottom: 1rem;
}

.form-note h2,
.form-status h2,
.missing-panel h1 {
  margin: 0 0 0.6rem;
  font-size: var(--fs-h2);
}

.form-note p,
.form-status p {
  color: var(--text-secondary);
}

.filter-close,
.filter-drawer-head { display: none; }

.form-grid {
  display: grid;
  gap: 1rem;
}

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

label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: var(--fs-label);
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--text-secondary);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  padding: 0.9rem 0.95rem;
  font-size: var(--fs-body);
  border-radius: var(--radius-sm);
  transition: border-color 250ms ease, box-shadow 250ms ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(209, 180, 136, 0.18);
  outline: none;
}

textarea { min-height: 9rem; resize: vertical; }

.field-error {
  min-height: 1.1rem;
  margin: 0.35rem 0 0;
  color: var(--danger);
  font-size: var(--fs-xs);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--danger);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.map-frame {
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: min(52vh, 460px);
  border: 0;
}

/* Reveal */

.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 700ms ease, transform 700ms var(--ease);
}

.js .reveal.will-reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(24px);
}

/* Responsive */

@media (max-width: 1100px) {
  .footer-grid,
  .section-head,
  .philosophy {
    grid-template-columns: 1fr 1fr;
  }

  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; }
  .mosaic a:first-child { grid-row: auto; grid-column: 1 / -1; height: 320px; }
}

@media (max-width: 1023px) {
  :root { --header-h: 4.5rem; }
  .logo img { height: 44px; }
  .js .primary-nav { display: none; }
  .js .menu-toggle { display: grid; }
  .header-tools { margin-left: auto; }
  .primary-nav ul { flex-wrap: wrap; gap: 0.7rem 1rem; }
  .intro__grid,
  .split,
  .visit-block,
  .feature,
  .catalogue-card,
  .detail-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .feature.is-flip .feature__media,
  .catalogue-card.is-flip .catalogue-card__media { order: 0; }
  .feature__media img,
  .intro__figure img,
  .split img { height: 62vw; min-height: 260px; }
  .detail-copy { position: static; }
  .spaces__layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 220px 220px 220px;
  }
  .space--living { grid-row: auto; grid-column: 1 / -1; min-height: 280px; }
  .space--outdoor,
  .space--commercial { grid-column: auto; }
}

@media (max-width: 860px) {
  .wide-label { display: none; }
  .short-label { display: inline; }
}

@media (max-width: 720px) {
  .section-head,
  .philosophy,
  .form-row,
  .spaces__layout,
  .mosaic {
    grid-template-columns: 1fr;
  }
  .philosophy article + article {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--border);
  }
  .spaces__layout { grid-template-rows: none; }
  .space,
  .space--living { min-height: 240px; grid-column: auto; }
  .hero { min-height: 32rem; }
  .hero__content { bottom: 22%; }
  .hero h1, .hero h2 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .spec-list div { grid-template-columns: 1fr; gap: 0.2rem; }
  .feature__texture { width: 38%; height: 120px; }
  .lightbox__caption { padding-inline: 1rem; }
  .lightbox__prev { left: 0.4rem; }
  .lightbox__next { right: 0.4rem; }
}

@media (max-width: 767px) {
  .js .filter-open,
  .js .filter-close { display: inline-flex; }
  .js .filter-drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
  .js .filter-panel {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(100%, 26rem);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    margin: 0;
    padding: 1.25rem 1.25rem 2rem;
    background: var(--bg);
    color: var(--text);
    border-left: 1px solid var(--border);
    overflow: auto;
    transform: translateX(104%);
    visibility: hidden;
    transition: transform 320ms var(--ease), visibility 320ms ease;
  }
  .js .filter-panel.is-open {
    transform: none;
    visibility: visible;
  }
  .js .drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 45;
    border: 0;
    background: rgba(15, 36, 55, 0.55);
  }
  .js .drawer-backdrop[hidden] { display: none; }
  .filter-bar { position: static; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide,
  .hero__slide img,
  .media-zoom img,
  .space img,
  .feature__media img,
  .text-link svg,
  .js .mobile-menu,
  .js .filter-panel,
  .reveal.is-in,
  .btn {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal.will-reveal:not(.is-in),
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
  .statement__media img,
  .parallax__img {
    height: 100%;
    transform: none;
  }
}

@media (max-width: 800px) {
  .statement__media img,
  .parallax__img {
    height: 100%;
    transform: none;
  }
}

/* Small fixes that depend on rules above */
.site-footer .footer-label {
  color: var(--accent);
}

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

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-cta__actions { width: 100%; flex-direction: column; }
  .footer-cta__actions .btn { width: 100%; }
}

.visit-block img.catalogue-img {
  object-fit: cover;
}

/* Phone and small tablet refinements */

@media (max-width: 1023px) {
  .intro__figure .catalogue-img {
    height: auto;
    min-height: 0;
  }

  .visit-block img {
    height: 56vw;
    min-height: 0;
    max-height: 22rem;
  }
}

@media (max-width: 720px) {
  .section { padding: 3.75rem 0; }

  .intro__copy { order: -1; }

  .statement { min-height: 70vh; }

  .page-hero { padding-top: calc(var(--header-h) + 2.75rem); }

  .feature { padding: 1.75rem 0; }

  .site-footer { padding-top: 3rem; }

}

@media (max-width: 560px) {
  .hero__actions,
  .catalogue-actions,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn,
  .catalogue-actions .btn,
  .form-actions .btn,
  .visit-copy .btn,
  .mobile-menu .btn {
    width: 100%;
  }

  .mobile-menu .btn { align-self: stretch; }

  .hero__content { bottom: 16%; }

  .filter-bar { align-items: center; }
}


.map-link {
  margin-top: 0;
}

/* Footer contact lines with icons */
.footer-contact {
  margin-top: 0.6rem;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  transition: color 200ms ease;
  overflow-wrap: anywhere;
}

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

.footer-contact svg {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--gold);
}

.visit-list a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

.form-status .form-actions {
  margin: 1rem 0;
}

/* Back to top: a navy and gold round button stacked above the WhatsApp button */
.to-top {
  position: fixed;
  z-index: 44;
  right: 1.45rem;
  bottom: 8.4rem;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--gold);
  box-shadow: 0 10px 24px -10px rgba(15, 36, 55, 0.7);
  transition: opacity 300ms ease, translate 400ms var(--ease), background-color 250ms ease, color 250ms ease;
}

.to-top svg {
  width: 20px;
  height: 20px;
}

.to-top:hover {
  background: var(--gold);
  color: var(--navy-deep);
  translate: 0 -3px;
}

.js .to-top:not(.is-visible) {
  opacity: 0;
  translate: 0 0.75rem;
  pointer-events: none;
}

body.is-locked .to-top {
  visibility: hidden;
}

/* Inspiration tiles show a soft tone, not a white box, while a picture loads */
.gallery .shot button {
  border: 0;
  border-radius: 0;
  background: var(--surface-2);
  box-shadow: none;
}

/* Split page tops: keep long headings and the filter row comfortable beside the tiles */
.page-hero--split h1 {
  max-width: 14ch;
}

.page-hero--split .gallery-filters {
  margin-bottom: 0.75rem;
}

@media (max-width: 900px) {
  .page-hero--split h1 { max-width: none; }
  .page-hero__art { margin-top: 0.5rem; }
}

/* Card numbers sit on a small navy chip so they read over light pictures too */
.catalogue-card__num {
  top: 1rem;
  left: 1rem;
  padding: 0.15rem 0.7rem 0.2rem;
  border: 1px solid rgba(201, 169, 110, 0.55);
  border-radius: var(--radius-pill);
  background: rgba(15, 36, 55, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  line-height: 1.2;
}

@media (max-width: 600px) {
  /* shorter cards need a deeper fade so the size and finish line stays readable */
  .catalogue-card::before {
    background: linear-gradient(180deg, rgba(15, 36, 55, 0.2) 0%, rgba(15, 36, 55, 0.15) 30%, rgba(15, 36, 55, 0.8) 62%, rgba(15, 36, 55, 0.96) 100%);
  }
}

/* Page tops: instead of flat navy, slow drifting light over a tiled floor
   that recedes to the horizon and glides towards the viewer. */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-deep);
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.page-hero::before {
  inset: -25%;
  z-index: -2;
  background:
    radial-gradient(38rem 26rem at 22% 32%, rgba(27, 80, 128, 0.85), transparent 62%),
    radial-gradient(28rem 20rem at 82% 22%, rgba(201, 169, 110, 0.24), transparent 62%),
    radial-gradient(34rem 24rem at 68% 88%, rgba(116, 172, 217, 0.28), transparent 62%);
  filter: blur(12px);
}

.page-hero::after {
  left: -60%;
  right: -60%;
  bottom: -6%;
  height: 150%;
  z-index: -1;
  background-image:
    linear-gradient(rgba(201, 169, 110, 0.7) 3px, transparent 3px),
    linear-gradient(90deg, rgba(201, 169, 110, 0.7) 2px, transparent 2px);
  background-size: 7rem 7rem;
  transform: perspective(30rem) rotateX(58deg);
  transform-origin: center bottom;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 78%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 78%);
  opacity: 0.6;
}

@media (prefers-reduced-motion: no-preference) {
  .page-hero::before { animation: hero-light 22s ease-in-out infinite alternate; }
  .page-hero::after { animation: hero-floor 9s linear infinite; }
}

@keyframes hero-light {
  0% { transform: translate3d(-4%, -2%, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(5%, 3%, 0) rotate(8deg) scale(1.08); }
  100% { transform: translate3d(-2%, 5%, 0) rotate(-6deg) scale(1.04); }
}

@keyframes hero-floor {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 7rem, 0 7rem; }
}

/* About page */
.section-title {
  margin: 0 0 0.25rem;
  font-size: var(--fs-h2);
  color: var(--text);
}

.tick-list {
  list-style: none;
  margin: 0.25rem 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.tick-list li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--text);
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 1.1rem;
  height: 0.55rem;
  border-left: 2px solid var(--gold-ink);
  border-bottom: 2px solid var(--gold-ink);
  transform: rotate(-45deg) scale(0.75);
  transform-origin: left center;
}

.range-line {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--accent);
}

.stats-band {
  --text: #f4efe6;
  --text-secondary: #b9c9d8;
  --accent: var(--gold);
  --border: rgba(244, 239, 230, 0.14);
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  background:
    radial-gradient(44rem 22rem at 12% 0%, rgba(27, 80, 128, 0.6), transparent 70%),
    var(--navy-deep);
  color: var(--text);
}

.stats-grid {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}

.stats-grid li {
  padding: 1.75rem 1rem 0.25rem 0;
}

.stats-grid li + li {
  padding-left: 1.25rem;
  border-left: 1px solid var(--border);
}

.stats-grid strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 1;
  color: var(--gold);
}

.stats-grid li > span {
  display: block;
  margin-top: 0.7rem;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--text-secondary);
}

.directors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.director {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: center;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.director img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.director h3 {
  margin: 0;
  font-size: var(--fs-h3);
}

.director__role {
  margin-top: 0.4rem;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--accent);
}

.director blockquote {
  position: relative;
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.director blockquote::before {
  content: "\201C";
  position: absolute;
  top: -0.35em;
  right: 0;
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.5;
}

.values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.value {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-family: var(--serif);
  font-size: var(--fs-lg);
  line-height: 1.15;
  transition: translate 400ms var(--ease), border-color 300ms ease, box-shadow 400ms ease;
}

.value svg {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--gold-ink);
}

.value:hover {
  translate: 0 -4px;
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.name-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.name-list li {
  padding: 0.6rem 1.15rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: var(--fs-sm);
  font-weight: 400;
}

.name-list--gold li {
  border-color: var(--gold);
  background: transparent;
  color: var(--gold-ink);
  font-weight: 500;
}

.locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.location {
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.location h3 {
  margin: 0 0 0.9rem;
  font-size: var(--fs-h3);
}

.location address {
  color: var(--text-secondary);
  max-width: 26rem;
}

.footer-label--next {
  margin-top: 1.5rem;
}

@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1rem; }
  .stats-grid li:nth-child(4) { padding-left: 0; border-left: 0; }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .directors { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid li:nth-child(4) { padding-left: 1.25rem; border-left: 1px solid var(--border); }
  .stats-grid li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .locations { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .director { grid-template-columns: 1fr; }
  .director img { max-width: 14rem; }
}

/* About page, second pass: moving band, editorial director rows, contrast cards, moving client rows, journey */
.ticker {
  overflow: hidden;
  margin-top: calc(clamp(1.5rem, 3vw, 2.5rem) * -1);
  border-bottom: 1px solid rgba(201, 169, 110, 0.35);
  background: var(--navy);
  color: var(--gold);
}

.ticker__track {
  display: flex;
  width: max-content;
  padding: 0.95rem 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  line-height: 1;
  white-space: nowrap;
}

.ticker__track span {
  padding: 0 1.6rem;
}

.ticker__track span::after {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  margin-left: 3.2rem;
  border: 1px solid currentColor;
  transform: rotate(45deg) translateY(-0.15em);
}

.leaders {
  display: grid;
  gap: clamp(3rem, 7vw, 6rem);
}

.leader {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.leader--flip .leader__photo { order: 2; }
.leader--flip { grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.55fr); }

.leader__photo {
  position: relative;
  margin: 0;
  rotate: -2.5deg;
  transition: rotate 600ms var(--ease);
}

.leader--flip .leader__photo { rotate: 2.5deg; }

.leader__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  translate: 0.9rem 0.9rem;
  transition: translate 600ms var(--ease);
}

.leader__photo img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.leader:hover .leader__photo { rotate: 0deg; }
.leader:hover .leader__photo::before { translate: 0.45rem 0.45rem; }

.leader blockquote {
  position: relative;
  margin: 0;
  padding-top: 3.25rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.5vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: pretty;
}

.leader blockquote::before {
  content: "\201C";
  position: absolute;
  top: -0.1em;
  left: -0.04em;
  font-size: 6rem;
  line-height: 1;
  color: var(--gold);
}

.leader__name {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-family: var(--serif);
  font-size: var(--fs-lg);
  color: var(--text);
}

.leader__role {
  margin-top: 0.2rem;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--accent);
}

.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.duo__card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: translate 500ms var(--ease);
}

.duo__card:hover { translate: 0 -0.4rem; }

.duo__card--navy {
  --text: #f4efe6;
  --text-secondary: #b9c9d8;
  --accent: var(--gold);
  border-color: transparent;
  background:
    radial-gradient(30rem 18rem at 100% 0%, rgba(27, 80, 128, 0.7), transparent 70%),
    var(--navy-deep);
  color: var(--text);
}

.duo__card h2 {
  margin: 0 0 1rem;
  font-size: var(--fs-h2);
  color: var(--text);
}

.duo__card p:not(.eyebrow) {
  color: var(--text-secondary);
}

.duo__num {
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  font-family: var(--serif);
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  opacity: 0.45;
}

.value:hover {
  background: var(--navy);
  color: #f4efe6;
}

.value:hover svg {
  color: var(--gold);
}

.value {
  transition: translate 400ms var(--ease), border-color 300ms ease, box-shadow 400ms ease, background-color 300ms ease, color 300ms ease;
}

.marquee {
  display: flex;
  overflow: hidden;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  flex: none;
  display: flex;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.marquee__track li {
  padding: 0.9rem 1.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-family: var(--serif);
  font-size: var(--fs-lg);
  white-space: nowrap;
}

.partners {
  margin-top: 2.5rem;
}

.journey {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(4rem, 0.35fr) minmax(0, 1fr);
  align-items: center;
}

.journey__stop {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.journey__stop h3 {
  margin: 0 0 0.9rem;
  font-size: var(--fs-h3);
}

.journey__stop address {
  color: var(--text-secondary);
}

.journey__pin {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
}

.journey__pin svg {
  width: 1.4rem;
  height: 1.4rem;
}

.journey__line {
  position: relative;
  height: 2px;
  background-image: linear-gradient(90deg, var(--gold) 50%, transparent 50%);
  background-size: 14px 2px;
}

.journey__line span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(201, 169, 110, 0.25);
  translate: -50% -50%;
}

@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: marquee-left 36s linear infinite; }
  .marquee__track { animation: marquee-left 34s linear infinite; }
  .marquee--reverse .marquee__track { animation-direction: reverse; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
  .journey__line { animation: journey-dash 1.2s linear infinite; }
  .journey__line span { animation: journey-dot 3.5s ease-in-out infinite; }
}

@keyframes marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - 0.75rem)); }
}

@keyframes journey-dash {
  to { background-position: 14px 0; }
}

@keyframes journey-dot {
  0% { left: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
  .marquee__track { flex-wrap: wrap; }
  .marquee__track[aria-hidden="true"] { display: none; }
  .ticker__track { width: auto; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 900px) {
  .leader,
  .leader--flip { grid-template-columns: 1fr; gap: 2rem; }
  .leader--flip .leader__photo { order: 0; }
  .leader__photo { max-width: 15rem; }
  .duo { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .journey__line { width: 2px; height: 3.5rem; margin: 0 auto; background-image: linear-gradient(180deg, var(--gold) 50%, transparent 50%); background-size: 2px 14px; animation: none; }
  .journey__line span { display: none; }
}

/* Page tops, third pass: the picture is laid as a wall of tiles.
   Each tile is one piece of the same photo; they drop in one after another,
   and press in when pointed at. */
.page-hero--mosaic::after {
  display: none;
}

.page-hero--mosaic {
  min-height: clamp(26rem, 62vh, 40rem);
  display: flex;
  align-items: center;
}

.page-hero__copy {
  position: relative;
  z-index: 2;
}

.page-hero__copy > div:first-child,
.page-hero__copy > :not(div) {
  max-width: min(36rem, 46%);
}

.page-hero__mosaic {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 66%;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 5px;
  padding: 5px 0;
  perspective: 60rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 22%, #000 48%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 22%, #000 48%);
}

.page-hero__mosaic i {
  display: block;
  border-radius: 3px;
  background-image: var(--hero-img);
  background-repeat: no-repeat;
  background-size: calc(800% + 35px) calc(400% + 15px);
  background-position: calc(var(--c) / 7 * 100%) calc(var(--r) / 3 * 100%);
  box-shadow: inset 0 0 0 1px rgba(244, 239, 230, 0.1);
  transition: transform 450ms var(--ease), filter 450ms ease;
}

.page-hero__mosaic i:hover {
  transform: scale(0.9);
  filter: brightness(1.25);
  transition-duration: 120ms;
}

/* navy wash so the heading always reads, with a gold seam along the bottom */
.page-hero--mosaic .page-hero__mosaic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 36, 55, 0.55) 0%, rgba(15, 36, 55, 0.1) 30%, rgba(15, 36, 55, 0.25) 100%);
  pointer-events: none;
}

.page-hero--mosaic {
  border-bottom: 1px solid rgba(201, 169, 110, 0.5);
}

@media (prefers-reduced-motion: no-preference) {
  .page-hero__mosaic i {
    animation: tile-lay 900ms var(--ease) both;
    animation-delay: calc((var(--c) + var(--r) * 1.4) * 70ms + 150ms);
  }
}

@keyframes tile-lay {
  0% { opacity: 0; transform: translateY(-1.5rem) rotateX(75deg) scale(0.9); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .page-hero--mosaic { display: block; min-height: 0; }
  .page-hero__copy > div:first-child,
  .page-hero__copy > :not(div) { max-width: none; }
  .page-hero__mosaic {
    width: 100%;
    opacity: 0.5;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(8, 1fr);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 85%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 85%);
  }
  /* on a narrow screen the same 32 tiles are stacked 4 across and 8 down */
  .page-hero__mosaic i {
    background-size: calc(400% + 15px) calc(800% + 35px);
    background-position: calc(mod(var(--c), 4) / 3 * 100%) calc((var(--r) * 2 + round(down, var(--c) / 4)) / 7 * 100%);
  }
}

/* still band of product types for visitors who turn motion off */
@media (prefers-reduced-motion: reduce) {
  .ticker__track { flex-wrap: nowrap; justify-content: flex-start; overflow: hidden; }
}

/* About: core values as a navy band with six glass cards beside a sticky heading */
.creed-band {
  --text: #f4efe6;
  --text-secondary: #b9c9d8;
  --accent: var(--gold);
  --border: rgba(244, 239, 230, 0.14);
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  background:
    radial-gradient(46rem 26rem at 100% 0%, rgba(27, 80, 128, 0.65), transparent 70%),
    radial-gradient(30rem 20rem at 0% 100%, rgba(201, 169, 110, 0.12), transparent 70%),
    var(--navy-deep);
  color: var(--text);
}

.creed-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.creed-head {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.creed-head h2 {
  margin: 0 0 1.25rem;
  font-size: var(--fs-h1);
  color: var(--text);
}

.creed-head p:not(.eyebrow) {
  color: var(--text-secondary);
}

.creed-head__count {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-size: clamp(6rem, 13vw, 12rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 169, 110, 0.55);
}

.creeds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.creed {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.5rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(244, 239, 230, 0.045);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: translate 500ms var(--ease), border-color 400ms ease, background-color 400ms ease;
}

/* a gold wash that rises from the bottom edge on hover */
.creed::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 600ms var(--ease);
}

.creed:nth-child(even) {
  translate: 0 1.75rem;
}

.creed__num {
  position: absolute;
  top: 0.9rem;
  right: 1.25rem;
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 239, 230, 0.3);
  transition: -webkit-text-stroke-color 400ms ease, color 400ms ease;
}

.creed__icon {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(201, 169, 110, 0.55);
  border-radius: 50%;
  color: var(--gold);
  transition: background-color 400ms ease, color 400ms ease, rotate 600ms var(--ease);
}

.creed__icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.creed h3 {
  margin: 0 0 0.6rem;
  font-size: var(--fs-h3);
  color: var(--text);
}

.creed p {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.creed:hover {
  border-color: rgba(201, 169, 110, 0.6);
  background: rgba(244, 239, 230, 0.08);
}

.creed:hover::before { transform: scaleX(1); }
.creed:hover .creed__icon { background: var(--gold); color: var(--navy-deep); rotate: -8deg; }
.creed:hover .creed__num { color: var(--gold); -webkit-text-stroke-color: var(--gold); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .creed:hover { translate: 0 -0.35rem; }
  .creed:nth-child(even):hover { translate: 0 1.4rem; }
}

/* About: clients as a wall of logo tiles */
.clients-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.clients-head h2 {
  margin: 0;
  font-size: var(--fs-h1);
}

.clients {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.client {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: clamp(1rem, 2vw, 1.75rem);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  transition: background-color 400ms ease;
}

.client img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1) opacity(0.62);
  transition: filter 450ms ease, transform 600ms var(--ease);
}

.client--text span {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  color: var(--text-secondary);
  transition: color 400ms ease;
}

.client:hover {
  background: #ffffff;
}

.client:hover img {
  filter: none;
  transform: scale(1.08);
}

.client--text:hover span { color: var(--brand); }

.partner-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1.2;
  color: var(--text);
}

.partner-list li + li::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 2.5rem;
  border: 1px solid var(--gold-ink);
  transform: rotate(45deg) translateY(-0.2em);
}

.partners {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--border);
}

@media (max-width: 1100px) {
  .creed-layout { grid-template-columns: 1fr; }
  .creed-head { position: static; }
  .creed-head__count { display: none; }
  .clients { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .creeds { grid-template-columns: 1fr; }
  .creed:nth-child(even) { translate: none; }
  .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partner-list { flex-direction: column; gap: 0.4rem; }
  .partner-list li + li::before { display: none; }
}

@media (max-width: 420px) {
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Product band, second design: oversized words on ivory, alternately solid navy
   and gold outline, with small gold tiles between them. */
.ticker {
  margin-top: calc(clamp(1.5rem, 3vw, 2.5rem) * -1);
  padding: clamp(1.25rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--navy);
}

.ticker__track {
  align-items: center;
  padding: 0;
  font-size: clamp(2.6rem, 7vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.ticker__track span {
  display: inline-flex;
  align-items: center;
  padding: 0;
}

.ticker__track span:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-ink);
  font-style: italic;
}

.ticker__track span::after {
  content: "";
  flex: none;
  display: block;
  width: 0.2em;
  height: 0.2em;
  margin: 0 0.55em;
  border: 0;
  background: var(--gold);
  transform: rotate(45deg);
}

/* Directors' photos come from small originals: show them no larger than they can carry */
.leader,
.leader--flip {
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
}

.leader--flip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 17rem);
}

@media (max-width: 900px) {
  .leader,
  .leader--flip { grid-template-columns: 1fr; }
}

/* Client logo tiles: equal cells, logos held inside them */
.client {
  aspect-ratio: auto;
  height: clamp(6.5rem, 11vw, 9.5rem);
  overflow: hidden;
}

.client img {
  max-width: 72%;
  max-height: 58%;
}

/* About: company profile download beside the visit button */
.profile-download {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn--download svg {
  width: 18px;
  height: 18px;
  transition: translate 300ms var(--ease);
}

.btn--download small {
  padding-left: 0.6rem;
  border-left: 1px solid var(--border-strong);
  font-size: inherit;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.btn--download:hover svg { translate: 0 3px; }
.btn--download:hover small { color: inherit; }

@media (max-width: 560px) {
  .profile-download { flex-direction: column; }
  .profile-download .btn { width: 100%; }
}

/* Rolling counter: each digit is a reel that spins up to its number */
.roll {
  display: inline-flex;
  align-items: flex-start;
  line-height: 1;
}

.roll__window {
  display: inline-block;
  height: 1em;
  overflow: hidden;
}

.roll__reel {
  display: flex;
  flex-direction: column;
  transition: transform 1.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.roll__reel span,
.roll__static {
  display: block;
  height: 1em;
  line-height: 1;
}

/* Home: clients as one moving row of logos */
.clients-home { padding-bottom: clamp(3rem, 6vw, 5rem); }

.inline-link {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.client-run {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  padding: 0.5rem 0 1.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.client-run__track {
  flex: none;
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.client-run__track li {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(9rem, 15vw, 13rem);
  height: clamp(5.5rem, 9vw, 7.5rem);
  padding: 1rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 30px -24px rgba(18, 40, 61, 0.55);
}

.client-run__track img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.client-run__text {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  color: var(--text-secondary);
}

@media (prefers-reduced-motion: no-preference) {
  .client-run__track { animation: marquee-left 42s linear infinite; }
  .client-run:hover .client-run__track { animation-play-state: paused; }
}

@media (prefers-reduced-motion: reduce) {
  .client-run { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
  .client-run__track { flex-wrap: wrap; justify-content: center; }
  .client-run__track[aria-hidden="true"] { display: none; }
}

/* About: a fixed bar of what we make, set into the lower edge of the page top */
.range-bar {
  position: relative;
  z-index: 2;
  margin-top: calc((clamp(1.5rem, 3vw, 2.5rem) + 2.6rem) * -1);
}

.range-bar__list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.range-bar__list li {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.4rem 1.35rem;
  transition: background-color 350ms ease, color 350ms ease;
}

.range-bar__list li + li {
  border-left: 1px solid var(--border);
}

.range-bar__num {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track);
  color: var(--accent);
}

.range-bar__list strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1;
  color: var(--text);
  transition: color 350ms ease;
}

.range-bar__list li:hover {
  background: var(--navy);
}

.range-bar__list li:hover strong { color: #f4efe6; }
.range-bar__list li:hover .range-bar__num { color: var(--gold); }

@media (max-width: 900px) {
  .range-bar__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .range-bar__list li:nth-child(4) { border-left: 0; }
  .range-bar__list li:nth-child(n + 4) { border-top: 1px solid var(--border); }
}

@media (max-width: 480px) {
  .range-bar__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .range-bar__list li:nth-child(4) { border-left: 1px solid var(--border); }
  .range-bar__list li:nth-child(odd) { border-left: 0; }
  .range-bar__list li:nth-child(n + 3) { border-top: 1px solid var(--border); }
}

/* reels inherit the big figure's type, not the small label style */
.roll span {
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: inherit;
}

.roll__window { vertical-align: top; }

/* client logos held inside their tiles */
.client-run__track img {
  max-width: 82%;
  max-height: clamp(2.6rem, 4.6vw, 3.9rem);
}

/* keep a rolling figure and its "+" or "K" on one line */
.stats-grid strong.roll,
strong.roll {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
}

/* Numbering is kept only on the four "Why Gangavati" tiles. Layouts that used to carry a number: */
.range-bar__list li {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1.4rem;
}

.range-bar__list li::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--gold);
  transform: rotate(45deg);
}

.space__label {
  justify-content: flex-start;
}

/* Back-to-top sits exactly above the centre of the WhatsApp button */
.whatsapp-float {
  width: 5.75rem;
}

.to-top {
  right: calc(1.1rem + (5.75rem - 46px) / 2);
  bottom: 8.6rem;
}

/* longer client names in text tiles */
.client--text span,
.client-run__text {
  font-size: var(--fs-lg);
  line-height: 1.15;
  text-align: center;
}

/* nine associated brands: a little smaller so they sit on two tidy lines */
.partner-list {
  font-size: clamp(1.3rem, 2.1vw, 1.9rem);
  gap: 0.6rem 2rem;
}

.partner-list li + li::before { margin-right: 2rem; }

/* Client logos keep moving for every visitor (pauses on hover), including when the
   device asks for reduced motion: the owner wants this row always rotating. */
.client-run__track {
  animation: marquee-left 52s linear infinite;
}

.client-run:hover .client-run__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .client-run {
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-inline: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  }
  .client-run__track { flex-wrap: nowrap; justify-content: flex-start; }
  .client-run__track[aria-hidden="true"] { display: flex; }
  .hero__dot[aria-selected="true"]::after { animation: hero-progress 6s linear; }
}

/* About: production figures beside factory photographs */
.plant {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 0.7fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.plant__figures {
  grid-row: 1 / span 2;
  list-style: none;
  margin: 0;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  border-radius: var(--radius);
  background: radial-gradient(26rem 18rem at 100% 0%, rgba(27, 80, 128, 0.7), transparent 70%), var(--navy-deep);
  box-shadow: var(--shadow);
}

.plant__figures li + li {
  padding-top: 2rem;
  border-top: 1px solid rgba(244, 239, 230, 0.16);
}

.plant__figures strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 4.6vw, 4.6rem);
  line-height: 1;
  color: var(--gold);
}

.plant__figures li > span {
  display: block;
  margin-top: 0.75rem;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: #b9c9d8;
}

.plant__photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.plant__photo--main {
  grid-row: 1 / span 2;
}

.plant__photo img {
  width: 100%;
  height: 100%;
  min-height: 11rem;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.plant__photo:hover img { transform: scale(1.05); }

/* About: who we serve, nine tiles */
.serve {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 0.6rem;
}

.serve__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 1.5rem 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-family: var(--serif);
  font-size: var(--fs-lg);
  line-height: 1.1;
  text-align: center;
  transition: translate 400ms var(--ease), background-color 300ms ease, color 300ms ease, border-color 300ms ease;
}

.serve__item svg {
  width: 2.1rem;
  height: 2.1rem;
  color: var(--gold-ink);
  transition: color 300ms ease;
}

.serve__item:hover {
  translate: 0 -0.3rem;
  background: var(--navy);
  border-color: var(--navy);
  color: #f4efe6;
}

.serve__item:hover svg { color: var(--gold); }

@media (max-width: 1100px) {
  .plant { grid-template-columns: 1fr 1fr; }
  .plant__figures { grid-row: auto; grid-column: 1 / -1; flex-direction: row; gap: 2rem; }
  .plant__figures li { flex: 1; }
  .plant__figures li + li { padding-top: 0; padding-left: 2rem; border-top: 0; border-left: 1px solid rgba(244, 239, 230, 0.16); }
  .plant__photo--main { grid-row: auto; grid-column: 1 / -1; }
  .serve { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .plant__figures { flex-direction: column; }
  .plant__figures li + li { padding: 2rem 0 0; border-left: 0; border-top: 1px solid rgba(244, 239, 230, 0.16); }
  .serve { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* any rolling figure stays on one line, whatever block it sits in */
[data-count].roll {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: flex-start;
}

@media (max-width: 600px) {
  .serve__item { font-size: 1.05rem; padding-inline: 0.25rem; }
}

/* About: who we serve, second design. A picture panel with the heading on it,
   beside a 3 by 3 checkerboard of navy and white tiles. */
.serve-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: stretch;
}

.serve-lead {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 26rem;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--shadow);
  --text: #f4efe6;
  --text-secondary: #d3dde6;
  --accent: var(--gold);
  color: var(--text);
}

.serve-lead img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.serve-lead::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(15, 36, 55, 0.2) 0%, rgba(15, 36, 55, 0.45) 40%, rgba(15, 36, 55, 0.95) 100%);
}

.serve-lead:hover img { transform: scale(1.05); }

.serve-lead__copy {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.serve-lead__copy h2 {
  margin: 0 0 0.9rem;
  font-size: var(--fs-h1);
  color: var(--text);
}

.serve-lead__copy p:not(.eyebrow) {
  color: var(--text-secondary);
}

.serve {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius);
  background: var(--gold);
  box-shadow: var(--shadow);
}

.serve__item {
  justify-content: center;
  gap: 1.1rem;
  min-height: 8.5rem;
  padding: 1.25rem 0.75rem;
  border: 0;
  border-radius: calc(var(--radius) - 8px);
  font-size: clamp(1.2rem, 1.7vw, 1.6rem);
}

.serve__item:nth-child(odd) {
  background: radial-gradient(14rem 9rem at 100% 0%, rgba(27, 80, 128, 0.75), transparent 70%), var(--navy-deep);
  color: #f4efe6;
}

.serve__item:nth-child(odd) svg { color: var(--gold); }

.serve__item svg {
  width: 2.5rem;
  height: 2.5rem;
  transition: color 300ms ease, scale 500ms var(--ease);
}

.serve__item:hover {
  translate: none;
  background: var(--gold);
  color: var(--navy-deep);
}

.serve__item:hover svg {
  color: var(--navy-deep);
  scale: 1.15;
}

@media (max-width: 1100px) {
  .serve-layout { grid-template-columns: 1fr; }
  .serve-lead { min-height: 20rem; }
  .serve { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .serve { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; }
  .serve__item { min-height: 6.5rem; font-size: 1.05rem; gap: 0.7rem; }
  .serve__item svg { width: 1.9rem; height: 1.9rem; }
}

/* Tagline: on the first home slide and under the footer logo */
.hero__tagline {
  font-size: calc(var(--fs-label) * 1.15);
  color: var(--gold-light);
}

.site-footer .footer-brand .footer-tagline {
  margin: 0.9rem 0 0.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--fs-h3);
  line-height: 1.15;
  color: var(--gold);
}

/* Home: customer reviews as a wall of cards */
.review-wall {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 3;
  column-gap: 1rem;
}

.review {
  break-inside: avoid;
  margin: 0 0 1rem;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 30px -24px rgba(18, 40, 61, 0.55);
  transition: translate 400ms var(--ease), box-shadow 400ms ease;
}

.review:hover {
  translate: 0 -0.25rem;
  box-shadow: var(--shadow);
}

.review:nth-child(4n + 1) {
  border-color: transparent;
  background: radial-gradient(22rem 14rem at 100% 0%, rgba(27, 80, 128, 0.75), transparent 70%), var(--navy-deep);
  color: #f4efe6;
}

.review__stars {
  display: flex;
  gap: 0.15rem;
  color: var(--gold);
}

.review__stars svg {
  width: 1.05rem;
  height: 1.05rem;
}

.review blockquote {
  margin: 0.9rem 0 1.25rem;
}

.review blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.5vw, 1.45rem);
  line-height: 1.3;
}

.review__who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review__initial {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--gold-ink);
}

.review:nth-child(4n + 1) .review__initial { color: var(--gold); }

.review__who strong {
  display: block;
  font-weight: 500;
  font-size: var(--fs-sm);
}

.review__who small {
  display: block;
  font-size: var(--fs-label);
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--text-secondary);
}

.review:nth-child(4n + 1) .review__who small { color: #b9c9d8; }

@media (max-width: 1000px) {
  .review-wall { columns: 2; }
}

/* Phones: one row to swipe through instead of twelve stacked cards */
@media (max-width: 720px) {
  .review-wall {
    columns: auto;
    display: flex;
    gap: 0.75rem;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0.25rem var(--gutter) 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .review-wall::-webkit-scrollbar { display: none; }
  .review {
    flex: 0 0 84%;
    margin: 0;
    scroll-snap-align: center;
    max-height: 26rem;
    overflow-y: auto;
  }
}

/* Collections: search by name, beside the filter groups */
.filter-search label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: var(--fs-label);
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--text-secondary);
}

.filter-search__box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
  padding: 0 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.filter-search__box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.25);
}

.filter-search__box svg {
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  color: var(--gold-ink);
}

.filter-search__box input {
  width: 11rem;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--text);
}

@media (max-width: 767px) {
  .filter-search__box input { width: 100%; }
}

/* Contact: call, WhatsApp and email as three tappable cards */
.reach-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.reach {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: translate 350ms var(--ease), border-color 250ms ease, box-shadow 350ms ease;
}

.reach:hover {
  translate: 0 -0.15rem;
  border-color: var(--gold);
  box-shadow: 0 16px 30px -22px rgba(18, 40, 61, 0.6);
}

.reach__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  transition: background-color 250ms ease, color 250ms ease;
}

.reach__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.reach--whatsapp .reach__icon {
  background: #25d366;
  color: #fff;
}

.reach:not(.reach--whatsapp):hover .reach__icon {
  background: var(--gold);
  color: var(--navy-deep);
}

.reach__text {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.reach__text small {
  font-size: var(--fs-label);
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--accent);
}

.reach__text strong {
  font-weight: 500;
  font-size: var(--fs-lg);
  overflow-wrap: anywhere;
}
