/*
  Base stylesheet for landing page layout
  - Minimal reset
  - CSS variables for themeing
  - Responsive grid + utilities
  - Sections styled to match premium editorial layout
*/

/* Reset */
* { box-sizing: border-box; }
html, body { height: 100%; }
body, h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

/* Theme */
:root {
  --bg: #f0f0f0;          /* warm paper */
  --bg-soft: #f6f4f1;      /* cards */
  --text: #3a3a3a;         /* charcoal */
  --subhead: #5a5a5a;      /* subtitle/nav */
  --muted: #7a7a7a;        /* secondary/labels */
  --accent: #d12420;       /* brand red */
  --border: #e3ddd1;       /* light divider */
  --maxw: 1240px;
  --gutter: 24px;
  --radius: 0px;
  --leading: 1.6;
  --header-h: 95px;        /* used for header, logo, and megamenu placement */
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Open Sans", "Avenir", "Montserrat", "Poppins", "Raleway", sans-serif;
  font-weight: 300;
  line-height: var(--leading);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .title, .hero-title {
  font-family: "Montserrat", "Avenir", "Poppins", "Raleway", "Open Sans", sans-serif;
  font-weight: 300;
}

a { color: inherit; text-decoration: none; }
.muted { color: var(--muted); }

/* Layout */
.container { width: min(100% - 2*var(--gutter), var(--maxw)); margin-inline: auto; }
.stack > * + * { margin-top: var(--stack, 16px); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--cluster, 16px); align-items: center; }
.grid { display: grid; gap: var(--gap, 24px); }

/* Mobile gallery rail */
.mobile-gallery {
  padding-top: 10px;
}

.gallery-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery-rail::-webkit-scrollbar {
  height: 6px;
}

.gallery-rail::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
}

.contact-layout {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  align-content: start;
}

.contact-info {
  grid-column: auto;
}

.contact-form-card {
  width: 100%;
  max-width: 920px;
  justify-self: stretch;
  align-self: start;
  margin-top: 0;
  grid-column: auto;
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: minmax(280px, 480px) minmax(360px, 560px);
    justify-content: center;
  }
  .contact-info {
    grid-column: 1;
  }
  .contact-form-card {
    justify-self: end;
    grid-column: 2;
  }
}

.gallery-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  scroll-snap-align: start;
  background: #e6e6e6;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.45) 100%);
}

.gallery-caption {
  position: absolute;
  inset: auto 18px 16px 18px;
  z-index: 1;
  color: #fff;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.gallery-caption h3 {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 300;
}

@media (min-width: 900px) {
  .gallery-rail {
    grid-auto-columns: minmax(320px, 1fr);
  }
}

/* Editorial geometry */
.mosaic { display: grid; gap: clamp(16px, 2vw, 28px); }
.mosaic .large, .mosaic .small { overflow: hidden; }
.mosaic .large img, .mosaic .small img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .group { display: grid; gap: clamp(12px, 1.6vw, 18px); }
.text-panel { background: transparent; padding: clamp(14px, 1.6vw, 18px) 0 0; border-top: 1px solid var(--border); }
.text-panel h3 { font-family: "Montserrat", "Avenir", "Poppins", "Raleway", "Open Sans", sans-serif; font-weight: 300; font-size: clamp(18px, 2.2vw, 28px); line-height: 1.2; }
.text-panel p { color: var(--text); opacity: .85; }
.figure { display: block; }
.figure figcaption { color: var(--muted); font-size: 12px; margin-top: 6px; }
.mini-gallery {
  width: min(100%, 680px);
  justify-self: center;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.gallery-viewport {
  width: min(100%, 680px);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  background: #e7e3dc;
  scroll-behavior: smooth;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
}
.gallery-slide {
  margin: 0;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid #bdb7ac;
  border-radius: 999px;
  background: rgba(240, 240, 240, 0.92);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
}
.gallery-arrow:hover {
  border-color: #8e8576;
  transform: translateY(-1px);
}
.gallery-arrow span {
  font-size: 28px;
  line-height: 1;
}
@media (max-width: 767px) {
  .mini-gallery {
    gap: 8px;
  }
  .gallery-arrow {
    width: 36px;
    height: 36px;
  }
}
.tiles-square {
  width: min(100%, 680px);
  aspect-ratio: 1 / 1;
  justify-self: center;
}
@media (min-width: 992px) {
  .mosaic { grid-template-columns: repeat(12, 1fr); align-items: start; }
  /* pattern A: large left, stacked right */
  .mosaic.a .large { grid-column: 1 / span 7; }
  .mosaic.a .small { grid-column: 8 / -1; }
  /* pattern B: large right, stacked left */
  .mosaic.b .large { grid-column: 6 / -1; }
  .mosaic.b .small { grid-column: 1 / span 5; }
}

/* Header */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; padding: 0; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.header .brand { margin-left: -12px; height: var(--header-h); }
.brand-wordmark { font-family: "Raleway", "Avenir", "Montserrat", "Poppins", "Open Sans", sans-serif; font-weight: 300; font-size: 32px; letter-spacing: .01em; }
.nav { display: none; justify-self: end; }
.nav > a { display: none; }
.nav-list { display: flex; align-items: center; gap: 22px; list-style: none; padding: 0; margin: 0; }
.nav-item { position: relative; }
.nav-link { color: var(--subhead); transition: color .2s ease; font-size: 13px; letter-spacing: .08em; }
.nav-link:hover, .nav-item:focus-within > .nav-link { color: var(--text); }
.nav-item + .nav-item { position: relative; }
.nav-item + .nav-item::before { content: ""; position: absolute; left: -12px; top: 50%; transform: translateY(-50%); width: 1px; height: 14px; background: var(--border); }
.cta { display: none; }
.lang { justify-self: end; color: var(--muted); font-size: 14px; }

.nav-toggle { top: 100%;display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid #bdb7ac; border-radius: 999px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: transparent; color: var(--subhead); cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.nav-toggle:hover { border-color: #8e8576; }
.nav-toggle-bars { position: relative; width: 18px; height: 2px; background: currentColor; display: inline-block; transition: background .2s ease; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform .3s ease, top .3s ease, opacity .3s ease; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle.is-active .nav-toggle-bars { background: transparent; }
.nav-toggle.is-active .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-active .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
.nav-toggle-label { font-weight: 600; letter-spacing: .12em; }

body.nav-open { overflow: hidden; }
body.nav-open::before { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 55; pointer-events: auto; }

@media (max-width: 767px) {
  .header-inner { grid-template-columns: auto 1fr; }
  .lang { display: none; }
  .header .brand {
    margin-left: -4px;
  }
  .nav-toggle {
    justify-self: end;
    padding: 10px 14px;
    gap: 8px;
  }
  .nav { display: block; position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; background: var(--bg); padding: 24px var(--gutter) 36px; box-shadow: 0 30px 60px rgba(0,0,0,0.15); transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, transform .3s ease; max-height: calc(100vh - var(--header-h)); overflow-y: auto; z-index: 70; }
  .nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 18px; }
  .nav-item + .nav-item::before { display: none; }
  .nav-link { font-size: 14px; }
  .has-dropdown .dropdown { display: none; position: static; left: auto; right: auto; top: auto; width: 100%; max-width: none; background: transparent; border: 0; box-shadow: none; padding: 12px 0 0; }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown-inner { padding: 0; grid-template-columns: 1fr; gap: 12px; }
  .dropdown-links { gap: 8px; }
  .dropdown-links a { font-size: 16px; }
  .dropdown-cards { display: none; }
  .menu-card { border: 0; padding: 0; }
}

/* Dropdown / Mega menu */
.header { position: sticky; top: 0; z-index: 60; }
/* Make the megamenu span the viewport and align under the header */
.has-dropdown .dropdown { display: none; position: fixed; left: 0; right: 0; top: calc(var(--header-h) + 1px); width: 100vw; max-width: 100%; transform: none;
  background: var(--bg-soft);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  box-shadow: none; z-index: 80;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.dropdown-inner { width: min(100% - 2*var(--gutter), var(--maxw)); margin-inline: auto; padding: 28px 0; display: grid; gap: 24px; grid-template-columns: 240px 1fr; background: var(--bg-soft); }
.dropdown-links { display: grid; gap: 14px; align-content: start; }
.dropdown-links a { font-family: "Montserrat", "Avenir", "Poppins", "Raleway", "Open Sans", sans-serif; font-size: 18px; font-weight: 300; }
.dropdown-cards { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); align-items: start; }
.dropdown[aria-label="About submenu"] .dropdown-inner { grid-template-columns: 1fr; }
.dropdown[aria-label="About submenu"] .dropdown-cards { width: min(100%, 1040px); margin-inline: auto; }
.menu-card { border-left: 2px solid #bdb7ac; padding-left: 16px; }
.menu-card .kicker { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.menu-card a { display: inline-block; font-family: "Montserrat", "Avenir", "Poppins", "Raleway", "Open Sans", sans-serif; font-size: 22px; font-weight: 300; line-height: 1.2; }
.menu-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 12px; border: 1px solid var(--border); }

@media (max-width: 767px) {
  .header {
    height: auto;
    min-height: 82px;
  }
  .header-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 10px 0;
    min-height: 0;
  }
  .header .brand {
    margin-left: -18px;
    height: auto;
    justify-self: start;
    align-self: center;
  }
  .brand-logo {
    width: 52px;
    height: auto;
    max-height: 52px;
  }
  .nav-toggle {
    justify-self: end;
    padding: 10px 14px;
  }
  .nav {
    display: none;
  }
  .nav.is-open {
    display: block;
    position: fixed;
    inset: var(--header-h) 0 0;
    background: var(--bg);
    padding: 20px var(--gutter) 32px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    overflow-y: auto;
    z-index: 70;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-item + .nav-item::before {
    display: none;
  }
  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    font-size: 14px;
    letter-spacing: .1em;
  }
  .has-dropdown > .nav-link::after {
    content: "+";
    font-size: 20px;
    line-height: 1;
    color: var(--muted);
    transition: transform .2s ease;
  }
  .has-dropdown.open > .nav-link::after {
    content: "−";
  }
  .nav .has-dropdown .dropdown {
    display: none;
    position: static;
    inset: auto;
    width: 100%;
    max-width: none;
    padding: 0 0 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .nav .has-dropdown:hover .dropdown,
  .nav .has-dropdown:focus-within .dropdown {
    display: none;
  }
  .nav .has-dropdown.open .dropdown {
    display: block;
  }
  .nav .dropdown-inner {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    background: transparent;
  }
  .nav .dropdown-links {
    gap: 0;
  }
  .nav .dropdown-links a {
    display: block;
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .nav .dropdown-links a:last-child {
    border-bottom: 0;
  }
  .nav .dropdown-cards {
    display: none;
  }
  .nav .dropdown[aria-label="About submenu"] .dropdown-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .nav .dropdown[aria-label="About submenu"] .menu-card {
    display: block;
    padding: 10px 0;
    border-left: 0;
  }
  .nav .dropdown[aria-label="About submenu"] .menu-card img {
    display: none;
  }
  .nav .dropdown[aria-label="About submenu"] .menu-card a {
    font-size: 15px;
    line-height: 1.35;
    display: block;
  }
  .brand-logo {
    width: clamp(110px, 38vw, 180px);
    height: auto;
    max-height: 56px;
  }
}

@media (max-width: 767px) {
  .page-nosotros .section {
    padding: 28px 0;
  }
  .page-nosotros .section:first-of-type {
    padding-top: 20px;
  }
  .page-nosotros .container {
    width: min(100% - 32px, var(--maxw));
  }
  .page-nosotros .container.stack > .lead {
    font-size: 15px;
    line-height: 1.7;
    max-width: 100%;
  }
  .page-nosotros .heritage-figure {
    max-width: 100%;
  }
  .page-nosotros .heritage-figure img {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }
  .page-nosotros .heritage-figure figcaption {
    margin-top: 10px;
    font-size: 13px;
  }
  .page-nosotros .mosaic {
    gap: 18px;
    align-items: start;
  }
  .page-nosotros .mosaic .large,
  .page-nosotros .mosaic .small {
    width: 100%;
  }
  .page-nosotros .mosaic .large {
    order: 1;
  }
  .page-nosotros .mosaic .small {
    order: 2;
  }
  .page-nosotros .mini-gallery {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
  }
  .page-nosotros .gallery-viewport {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
  }
  .page-nosotros .gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    background: rgba(240, 240, 240, 0.95);
  }
  .page-nosotros .gallery-arrow:hover {
    transform: translateY(-50%);
  }
  .page-nosotros .gallery-arrow-prev {
    left: 10px;
  }
  .page-nosotros .gallery-arrow-next {
    right: 10px;
  }
  .page-nosotros .tiles-square {
    width: 100%;
    max-width: 100%;
    border-radius: 18px;
  }
  .page-nosotros .text-panel {
    padding: 18px 16px;
    border: 1px solid var(--border);
    border-top: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(246, 244, 241, 0.92);
  }
  .page-nosotros .text-panel p {
    font-size: 15px;
    line-height: 1.7;
  }
  .page-nosotros .small.group {
    gap: 14px;
  }
  .page-nosotros .footer-grid,
  .page-nosotros .footer-left {
    gap: 20px;
  }
  .page-nosotros .footer-right {
    justify-self: start;
    text-align: left;
  }
  .page-nosotros .footer-sections {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .page-nosotros .footer-brands {
    gap: 14px !important;
  }
  .page-nosotros .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .page-home .philosophy .ph-grid,
  .page-home .circle-grid {
    justify-items: center;
  }
  .page-home .philosophy .ph-copy,
  .page-home .circle-copy {
    max-width: 36rem;
    margin-inline: auto;
    text-align: center;
  }
  .page-home .philosophy .ph-copy h3,
  .page-home .circle-copy h3,
  .page-home .philosophy .ph-copy p,
  .page-home .circle-copy p {
    text-align: center;
  }
}

/* Hero */
.hero { position: relative; min-height: 86vh; display: grid; place-items: end start; }
.hero.minimal { min-height: unset; display: block; text-align: center; padding: clamp(60px, 12vw, 140px) 0 40px; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.95) contrast(1.05); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.65) 70%, rgba(0,0,0,.8)); }
.hero-content { position: relative; padding: 56px var(--gutter); width: 100%; }
.hero.minimal .hero-content { padding: 0 var(--gutter); }
.hero-kicker { color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.hero-title { font-size: clamp(32px, 6vw, 64px); font-weight: 600; line-height: 1.1; margin-top: 12px; max-width: 20ch; }
.hero-wordmark { font-family: "Raleway", "Avenir", "Montserrat", "Poppins", "Open Sans", sans-serif; font-weight: 300; font-size: clamp(48px, 8vw, 112px); line-height: 1; letter-spacing: .01em; }
.hero-subbrand { font-family: "Open Sans", "Avenir", "Montserrat", "Poppins", "Raleway", sans-serif; font-weight: 300; font-size: clamp(18px, 1.6vw, 28px); margin-top: 12px; color: var(--subhead); }
.hero-quote { margin-top: clamp(32px, 6vw, 72px); }
.hero-quote blockquote { font-family: "Raleway", "Avenir", "Montserrat", "Poppins", "Open Sans", sans-serif; font-weight: 300; color: var(--text); font-size: clamp(24px, 3.6vw, 56px); line-height: 1.2; max-width: 26ch; margin: 0 auto; }
.hero-actions { justify-content: center; }
.btn.outline { background: transparent; border-color: #bdb7ac; color: #37393b; }
.btn.outline:hover { border-color: #8e8576; }
.hero-sub { color: var(--muted); max-width: 60ch; margin-top: 16px; }
.hero.minimal .hero-sub {
  text-align: center;
  margin-inline: auto;
}
.hero.minimal .hero-sub {
  text-align: center;
  margin-inline: auto;
}
.hero-actions { margin-top: 28px; display: flex; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid #bdb7ac; border-radius: 999px; color: var(--text); background: transparent; transition: all .2s; }
.btn:hover { border-color: #8e8576; transform: translateY(-1px); }
.btn.primary { background: #37393b; color: #fff; border-color: #37393b; }

/* Editorial section */
.section { padding: clamp(40px, 6vw, 96px) 0; }
.section-header { margin-bottom: 24px; }
.eyebrow { color: var(--muted); letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.title { font-size: clamp(22px, 3.4vw, 36px); font-weight: 600; line-height: 1.2; }
.lead { color: var(--muted); max-width: 70ch; }

/* Cards grid */
.cards { grid-template-columns: repeat(12, 1fr); }
.card { grid-column: span 12; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.card-media { aspect-ratio: 16/10; background: #111; }
.card-body { padding: 18px; }
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; }
.contact-layout .contact-info { grid-column: auto; }
.contact-layout .contact-form-card { grid-column: auto; }
@media (min-width: 960px) {
  .contact-layout .contact-info { grid-column: 1; }
  .contact-layout .contact-form-card { grid-column: 2; }
}

/* Full-bleed banner */
.banner { position: relative; border-block: 1px solid var(--border); }
.banner img { width: 100%; height: clamp(240px, 62vh, 680px); object-fit: cover; }
.banner .legend { position: absolute; bottom: 20px; left: 20px; color: #e8e8e8; background: #00000080; padding: 8px 10px; border-radius: 6px; font-size: 12px; }

/* Quote */
.quote { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: clamp(40px, 8vw, 120px) 0; }
.quote blockquote { font-size: clamp(22px, 3vw, 34px); font-weight: 300; line-height: 1.2; font-family: "Raleway", "Avenir", "Montserrat", "Poppins", "Open Sans", sans-serif; }
.quote cite { display: block; margin-top: 14px; color: var(--muted); font-style: normal; }

/* Two-column editorial */
.two-col { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
.two-col .media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.two-col .copy { max-width: 60ch; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 32px 0 48px; color: var(--muted); }
.footer-top { display: grid; gap: 24px; grid-template-columns: 1fr; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; font-size: 13px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }

/* Utilities */
.center { text-align: center; }
.spacer { height: clamp(24px, 6vw, 64px); }
.hidden { display: none !important; }

/* Responsive */
@media (min-width: 768px) {
  .nav { display: flex; position: static; background: transparent; padding: 0; opacity: 1; visibility: visible; pointer-events: auto; transform: none; max-height: none; overflow: visible; grid-column: 3 / 4; }
  .nav-toggle { display: none; }
  body.nav-open::before { display: none; }
  .cta { display: inline-flex; }
  .cards .card { grid-column: span 6; }
  .two-col { grid-template-columns: 1.1fr 1fr; }
}
@media (min-width: 1080px) {
  .cards .card { grid-column: span 4; }
}

/* Highlights page */
.highlights-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 24px); }
.hl-card { grid-column: span 12; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.hl-media { aspect-ratio: 16/10; background: #111; }
.hl-media img { width: 100%; height: 100%; object-fit: cover; }
.hl-body { padding: 14px; }
.hl-body h3 { font-size: 18px; font-weight: 600; margin: 0 0 4px; }
.hl-body p { color: var(--muted); font-size: 14px; }
@media (min-width: 768px) {
  .hl-card { grid-column: span 6; }
}
@media (min-width: 1080px) {
  .hl-card.span-4 { grid-column: span 4; }
  .hl-card.span-6 { grid-column: span 6; }
  .hl-card.span-8 { grid-column: span 8; }
}

/* Intro split (indoor header section) */
.intro-grid { display: grid; gap: clamp(18px, 3vw, 40px); grid-template-columns: 1fr; align-items: center; }
.intro-media img { width: 100%; height: auto; display: block; border: 1px solid var(--border); border-radius: var(--radius); }
.showroom-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: block;
}
@media (min-width: 992px) {
  .intro-grid { grid-template-columns: 7fr 5fr; }
}

/* Holistic product band */
.holistic .blockquote { border-left: 2px solid var(--border); padding-left: 18px; color: #4b4d4f; max-width: 90ch; }
.product-cards { display: grid; gap: clamp(18px, 3vw, 28px); grid-template-columns: 1fr; }
.product-card { background: #f5f3ee; border: 1px solid var(--border); }
.product-card .pc-media { background: #fff; border-bottom: 1px solid var(--border); position: relative; }
.product-card .pc-media img,
.product-card .pc-media video {
  width: 100%;
  height: clamp(200px, 36vw, 420px);
  object-fit: contain;
  display: block;
  background: #fff;
  transition: transform 220ms ease;
}
.showroom-cards .pc-media img {
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.product-card .pc-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  color: #6a6a6a;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.product-card .pc-zoom:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}
.product-card .pc-zoom svg { width: 22px; height: 22px; }
.product-card.is-zoomed .pc-media img { transform: scale(1.08); }

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 48px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
  z-index: 999;
}
.image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.image-lightbox-content {
  position: relative;
  max-width: min(1100px, 95vw);
  max-height: 90vh;
}
.image-lightbox img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border);
  display: block;
}
.image-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: #6a6a6a;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}
.product-card .pc-caption { background: #efede8; padding: 20px; border-left: 2px solid #bdb7ac; position: relative; }
.product-card .pc-title { font-family: "Montserrat", "Avenir", "Poppins", "Raleway", "Open Sans", sans-serif; font-weight: 300; font-size: 24px; margin: 0 0 4px; }
.product-card .pc-sub { letter-spacing: .12em; font-size: 12px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.product-card .pc-meta { font-size: 12px; color: #6a6a6a; }
@media (min-width: 992px) {
  .product-cards { grid-template-columns: repeat(3, 1fr); }
}

/* Philosophy section */
.philosophy .ph-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; color: var(--subhead); }
.philosophy .ph-nav li { display: inline-flex; align-items: center; }
.philosophy .ph-nav li + li::before { content: "|"; margin: 0 10px; color: var(--subhead); opacity: .7; }
.philosophy .ph-nav span,
.philosophy .ph-nav a {
  text-decoration: none;
  font-weight: 500;
  color: inherit;
}
.philosophy .ph-grid { display: grid; gap: clamp(18px, 3vw, 36px); grid-template-columns: 1fr; align-items: center; }
.philosophy .ph-hero .circle { width: min(100%, 820px); max-width: 620px; aspect-ratio: 1 / 1; border-radius: 9999px; overflow: hidden; margin: 0 auto; border: 1px solid var(--border); }
.philosophy .ph-hero img { width: 100%; height: 100%; object-fit: cover; }
.philosophy .ph-copy { max-width: 52ch; }
.material-library-grid { display: grid; gap: clamp(18px, 3vw, 28px); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.material-card { border: 1px solid var(--border); border-radius: 28px; padding: clamp(18px, 3vw, 28px); background: var(--bg-soft); box-shadow: 0 15px 40px rgba(0,0,0,0.08); display: flex; flex-direction: column; gap: 10px; }
.material-card h3 { margin: 0; font-size: clamp(20px, 3vw, 30px); }
.material-card p { margin: 0; }
.material-card .material-type { letter-spacing: .16em; text-transform: uppercase; font-size: 12px; color: var(--muted); }
@media (min-width: 992px) {
  .philosophy .ph-grid { grid-template-columns: 1.2fr .8fr; }
  .philosophy .ph-hero { padding-left: clamp(0px, 6vw, 120px); }
}

/* Circle split utility (reusable) */
.circle-grid { display: grid; gap: clamp(18px, 3vw, 36px); grid-template-columns: 1fr; align-items: center; }
.circle-hero .circle { width: min(100%, 820px); max-width: 720px; aspect-ratio: 1 / 1; border-radius: 9999px; overflow: hidden; margin: 0 auto; border: 1px solid var(--border); }
.circle-hero img { width: 100%; height: 100%; object-fit: cover; }
.circle-copy { max-width: 60ch; }
@media (min-width: 992px) {
  .circle-grid { grid-template-columns: 1fr 1fr; }
  .circle-split.right .circle-hero { order: 2; padding-right: clamp(0px, 6vw, 120px); }
  .circle-split.right .circle-copy { order: 1; padding-left: clamp(0px, 4vw, 40px); }
  .circle-split.left .circle-hero { order: 1; padding-left: clamp(0px, 6vw, 120px); }
  .circle-split.left .circle-copy { order: 2; padding-right: clamp(0px, 4vw, 40px); text-align: left; }
}

/* Slightly larger circle for Innovation */
#innovation .circle-hero .circle { width: min(100%, 820px); max-width: 720px; }

/* Pair gallery (two large images with captions) */
.pair-grid { display: grid; gap: clamp(18px, 3vw, 40px); grid-template-columns: 1fr; align-items: start; }
.pair-grid figure { margin: 0; }
.pair-grid img { width: 100%; height: auto; display: block; border: 1px solid var(--border); border-radius: var(--radius); }
@media (min-width: 992px) {
  .pair-grid { grid-template-columns: 1.2fr 0.8fr; }
  .pair-grid figure:last-child { justify-self: end; width: 88%; }
}

/* Dark footer layout */
.footer.dark { background: #2f3235; color: #d7d9dc; border-top: none; padding: 48px 0 28px; }
.footer.dark a { color: #c6c9cc; }
.footer.dark a:hover { color: #fff; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
.footer-left { display: grid; gap: 24px; }
.footer-social .ico { width: 30px; height: 30px; border-radius: 999px; background: #3a3d40; color: #eaecef; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; border: 1px solid #45484b; }
.footer-sections { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.footer-section .section-title { padding: 8px 0; border-bottom: 1px solid #494c4f; font-weight: 600; letter-spacing: .04em; color: var(--subhead); }
.footer-brands .brandmark { color: #c6c9cc; border-left: 1px solid #494c4f; padding-left: 16px; }
.footer-brands .brandmark:first-child { border: 0; padding-left: 0; }
.footer-card .card-title { font-weight: 600; margin-bottom: 6px; }
.footer-right { justify-self: end; text-align: right; }
.footer.dark .brand-wordmark { font-family: "Raleway", "Avenir", "Montserrat", "Poppins", "Open Sans", sans-serif; font-size: 28px; font-weight: 300; margin-bottom: 14px; }
.footer-quick a { display: block; }
.footer.dark .btn.small { padding: 8px 12px; font-size: 12px; border-color: #6a6e72; color: #e0e3e6; }
.footer.dark .btn.small:hover { border-color: #a0a5a9; }
.footer.dark .footer-bottom { border-top: 1px solid #44484b; margin-top: 28px; padding-top: 18px; color: #aab0b5; }
@media (min-width: 1080px) {
  .footer-grid { grid-template-columns: 2fr 1fr; }
}

/* Statement section (Design Thinking) */
.statement { padding: clamp(56px, 10vw, 160px) 0; }
.statement-title { font-family: "Montserrat", "Avenir", "Poppins", "Raleway", "Open Sans", sans-serif; font-size: clamp(34px, 5vw, 64px); font-weight: 300; letter-spacing: .01em; }
.statement-sub { font-family: "Open Sans", "Avenir", "Montserrat", "Poppins", "Raleway", sans-serif; font-size: clamp(16px, 2vw, 22px); color: var(--text); }

/* Scroll reveal animations */
[data-reveal] { opacity: 0; will-change: transform, opacity; transition: transform 700ms cubic-bezier(.2,.7,.2,1), opacity 700ms ease; transition-delay: var(--reveal-delay, 0ms); }
[data-reveal="up"] { transform: translateY(24px); }
[data-reveal="left"] { transform: translateX(24px); }
[data-reveal="right"] { transform: translateX(-24px); }
[data-reveal="fade"] { transform: none; }
[data-reveal="zoom"] { transform: scale(.96); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

.page-gallery {
  --header-h: 64px;
}

.page-gallery .header-inner {
  min-height: 64px;
  padding: 16px 0;
}
