/* ==========================================================================
   Salt & Lava — styles
   Palette drawn from Lanzarote: salt, sand, dune, volcanic ochre,
   the Atlantic, sea foam and basalt.
   ========================================================================== */

:root {
  --salt: #F6F2EB;
  --salt-2: #FBF8F3;
  --sand: #E8DCC8;
  --dune: #C9B496;
  --ochre: #B0714A;
  --ochre-deep: #8C5232;   /* AA-safe ochre for small text */
  --atlantic: #3F6B6E;
  --atlantic-deep: #2F5356;
  --foam: #B8CCC7;
  --basalt: #26221F;
  --basalt-soft: #4A433D;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --maxw: 1240px;
  --section-y: clamp(5rem, 11vw, 9.5rem);
  --header-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-slow: cubic-bezier(.16, 1, .3, 1);

  --photo-grade: saturate(.9) sepia(.08) contrast(.98);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--salt);
  color: var(--basalt);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 300; line-height: 1.08; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--foam); color: var(--basalt); }

/* Film grain over everything — subtle, calm texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--basalt); color: var(--salt); padding: .6rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ochre-deep);
  margin-bottom: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: .9rem;
}
.eyebrow span { color: var(--basalt-soft); letter-spacing: .1em; }
.eyebrow span::after {
  content: ""; display: inline-block; width: 2.2rem; height: 1px; background: currentColor;
  vertical-align: middle; margin-left: .9rem; opacity: .5;
}
.section-title { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem); letter-spacing: -.01em; }
.section-title em { color: var(--atlantic); }
.section-title--sm { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.2rem); }
.section-intro { max-width: 38rem; margin-top: 1.6rem; color: var(--basalt-soft); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { text-align: center; }
.section-head--center .section-intro { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--basalt); --btn-bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .8rem 2rem;
  border: 1px solid var(--btn-bd); border-radius: 0;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--sans); font-size: .75rem; font-weight: 400;
  letter-spacing: .26em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn--ghost { --btn-fg: var(--salt); --btn-bd: rgba(246, 242, 235, .75); }
.btn--ghost:hover { --btn-bg: var(--salt); --btn-fg: var(--basalt); }
.btn--atlantic { --btn-bg: var(--atlantic); --btn-fg: var(--salt); --btn-bd: var(--atlantic); }
.btn--atlantic:hover { --btn-bg: var(--atlantic-deep); --btn-bd: var(--atlantic-deep); }
.btn[disabled] { opacity: .6; cursor: progress; }

.pill {
  display: inline-flex; align-items: center;
  padding: .55rem 1.2rem; border: 1px solid currentColor; border-radius: 999px;
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--salt);
  transition: background-color .6s var(--ease), color .6s var(--ease), box-shadow .6s var(--ease);
}
.site-header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h); padding-inline: var(--gutter);
}
.site-header.is-scrolled {
  background: rgba(246, 242, 235, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  color: var(--basalt);
  box-shadow: 0 1px 0 rgba(38, 34, 31, .08);
}
.site-header.menu-open { background: transparent; box-shadow: none; color: var(--basalt); backdrop-filter: none; }

.site-nav__list { display: none; gap: 2.2rem; }
.site-nav__list a, .site-header .icon-link {
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; text-decoration: none;
  position: relative; padding-block: .4rem;
}
.site-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.site-nav__list a:hover::after, .site-nav__list a[aria-current="true"]::after { transform: scaleX(1); }

.wordmark {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.05rem, .9rem + .6vw, 1.4rem);
  letter-spacing: .38em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  padding-left: .38em; /* optically balance trailing letter-spacing */
}
.wordmark span { font-style: italic; text-transform: none; letter-spacing: .1em; }

.site-header__actions { display: flex; justify-content: flex-end; align-items: center; gap: 1.2rem; }
.site-header__actions .pill { display: none; }
.site-header:not(.is-scrolled) .pill:hover { background: var(--salt); color: var(--basalt); border-color: var(--salt); }
.site-header.is-scrolled .pill:hover { background: var(--basalt); color: var(--salt); border-color: var(--basalt); }
/* EN / ES language toggle */
.lang-toggle { display: flex; align-items: center; gap: .2rem; font-size: .68rem; letter-spacing: .18em; }
.lang-toggle span { opacity: .5; }
.lang-toggle button {
  background: none; border: 0; padding: .6rem .3rem; cursor: pointer; color: inherit;
  font: inherit; letter-spacing: inherit; opacity: .6; transition: opacity .3s var(--ease);
}
.lang-toggle button:hover { opacity: 1; }
.lang-toggle button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: .35em; }
@media (max-width: 479px) { .site-header__actions .icon-link { display: none; } }
@media (max-width: 399px) {
  .wordmark { font-size: .95rem; letter-spacing: .22em; padding-left: .22em; }
  .lang-toggle { letter-spacing: .06em; gap: 0; }
}
.icon-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.icon-link svg .fill { fill: currentColor; stroke: none; }

.menu-toggle {
  width: 44px; height: 44px; margin-left: -10px; padding: 0;
  background: none; border: 0; cursor: pointer; display: grid; place-items: center;
}
.menu-toggle__lines, .menu-toggle__lines::before {
  display: block; width: 26px; height: 1px; background: currentColor; position: relative;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-toggle__lines { background: transparent; }
.menu-toggle__lines::before { content: ""; position: absolute; top: -4px; }
.menu-toggle__lines::after {
  content: ""; position: absolute; left: 0; top: 4px; width: 26px; height: 1px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--salt);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3rem;
  padding: var(--header-h) var(--gutter) 3rem;
  animation: menu-in .6s var(--ease-slow);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { text-align: center; display: grid; gap: 1.2rem; }
.mobile-menu a {
  font-family: var(--serif); font-size: clamp(2.6rem, 10vw, 3.6rem); font-weight: 300; text-decoration: none;
}
.mobile-menu a:hover { font-style: italic; color: var(--atlantic); }
.mobile-menu__note { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ochre-deep); text-align: center; }
@keyframes menu-in { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .site-nav__list { display: flex; }
  .site-header__actions .pill { display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--salt);
  isolation: isolate;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 15rem;
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--basalt); }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: var(--photo-grade) saturate(.72) brightness(.86);
}
.hero__wash {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(38, 34, 31, .46), transparent 75%),
    linear-gradient(180deg, rgba(38, 34, 31, .45) 0%, rgba(38, 34, 31, .12) 32%, rgba(120, 82, 50, .18) 70%, rgba(38, 34, 31, .5) 100%);
}

.hero__content { text-align: center; max-width: 52rem; }
.hero__arc {
  width: min(30rem, 86vw); margin: 0 auto -.4rem; overflow: visible;
  fill: var(--salt);
}
.hero__arc text {
  font-family: var(--sans); font-size: 15px; font-weight: 400; letter-spacing: .42em; text-transform: uppercase;
}
.hero__title {
  font-size: clamp(2.9rem, 1.4rem + 6.4vw, 6.1rem);
  font-weight: 300; letter-spacing: -.015em; line-height: 1;
  text-shadow: 0 2px 40px rgba(38, 34, 31, .25);
}
.hero__title-line { display: block; }
.hero__title em { font-weight: 300; color: var(--sand); }
.hero__lede {
  max-width: 32rem; margin: 1.8rem auto 2.4rem;
  font-size: clamp(.98rem, .9rem + .3vw, 1.1rem); color: rgba(246, 242, 235, .9);
}

/* Category row — three labels spread across a hairline */
.hero__categories {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 9.5rem;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-bottom: .9rem;
  border-bottom: 1px solid rgba(246, 242, 235, .45);
}
.hero__categories a {
  font-size: .68rem; letter-spacing: .32em; text-transform: uppercase; text-decoration: none;
  position: relative; transition: color .4s var(--ease);
}
.hero__categories a::before {
  content: ""; position: absolute; left: 0; right: .32em; bottom: -.95rem; height: 1px;
  background: var(--salt); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.hero__categories a:hover::before { transform: scaleX(1); }

/* Frosted "first glimpse" card */
.glimpse {
  display: none;
  position: absolute; right: var(--gutter); bottom: 13.5rem;
  width: 16.5rem; padding: 1.1rem 1.1rem 1rem;
  background: rgba(38, 34, 31, .28);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  border: 1px solid rgba(246, 242, 235, .22);
  border-radius: 18px;
}
.glimpse__title { font-family: var(--serif); font-style: italic; font-size: 1.15rem; margin-bottom: .7rem; text-align: center; }
.glimpse__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.glimpse__item {
  position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 8px;
  background: rgba(246, 242, 235, .14); box-shadow: inset 0 0 0 1px rgba(246, 242, 235, .25);
}
.glimpse__item::before { content: attr(data-label); font-family: var(--serif); font-style: italic; font-size: .95rem; }
.glimpse__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); }
.glimpse__item.is-empty img { display: none; }
.glimpse__link {
  display: block; margin-top: .9rem; padding: .55rem; text-align: center; border-radius: 999px;
  background: rgba(246, 242, 235, .14); font-size: .7rem; letter-spacing: .14em; text-decoration: none;
  transition: background-color .4s var(--ease);
}
.glimpse__link:hover { background: rgba(246, 242, 235, .28); }
/* Shown only on screens wide and tall enough to keep it clear of the headline */
@media (min-width: 1440px) and (min-height: 860px) { .glimpse { display: block; } }

/* Square scroll button */
.hero__scroll {
  position: absolute; left: 50%; bottom: 4.6rem; transform: translateX(-50%);
  width: 3.25rem; height: 3.25rem; display: grid; place-items: center;
  background: var(--atlantic); color: var(--salt);
  transition: background-color .4s var(--ease);
  z-index: 2;
}
.hero__scroll:hover { background: var(--atlantic-deep); }
.hero__scroll svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.2; animation: nudge 2.8s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

.hero__wave {
  position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px);
  fill: var(--salt);
}

@media (max-width: 640px) {
  .hero { padding-bottom: 13rem; }
  .hero__categories { bottom: 8.5rem; }
  .hero__categories a { font-size: .6rem; letter-spacing: .2em; }
  .hero__scroll { bottom: 3.6rem; width: 2.9rem; height: 2.9rem; }
}

/* ==========================================================================
   Collection
   ========================================================================== */
.collection .section-head { display: grid; gap: 0; }
@media (min-width: 960px) {
  .collection .section-head { grid-template-columns: 1.2fr 1fr; column-gap: 4rem; align-items: end; }
  .collection .section-head .eyebrow { grid-column: 1 / -1; }
  .collection .section-intro { margin: 0 0 .4rem; }
}

.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.4rem; }
.chip {
  padding: .55rem 1.3rem; border: 1px solid var(--dune); border-radius: 999px; background: transparent;
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; cursor: pointer;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.chip:hover { border-color: var(--basalt); }
.chip[aria-pressed="true"] { background: var(--basalt); border-color: var(--basalt); color: var(--salt); }

/* Phones and touch screens: a calm 2-column grid of square tiles */
.gallery {
  --gap: clamp(.6rem, 1.2vw, 1rem);
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tile { position: relative; margin: 0; overflow: hidden; background: var(--sand); aspect-ratio: 1; min-width: 0; }
.tile[hidden] { display: none; }

/* Mouse users on wider screens: one row per category, and hovering a tile
   widens its column and deepens its row (JS sets the track sizes) */
.gallery--expand {
  --row-h: clamp(190px, 20vw, 270px);
  height: calc(var(--rows, 3) * var(--row-h) + (var(--rows, 3) - 1) * var(--gap));
  transition: grid-template-columns .55s var(--ease), grid-template-rows .55s var(--ease);
}
.gallery--expand .tile { aspect-ratio: auto; min-height: 0; }
@media (prefers-reduced-motion: reduce) { .gallery--expand { transition: none; } }
.tile__btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.tile__btn img { position: relative; z-index: 1; }

/* Blank tile shown until the product photo is added */
.tile__placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; gap: .5rem; text-align: center;
  background: var(--sand); box-shadow: inset 0 0 0 1px var(--dune); outline: 1px solid var(--dune); outline-offset: -12px;
  color: var(--basalt-soft);
}
.tile__placeholder span { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); color: var(--basalt); }
.tile__placeholder small { font-size: .58rem; letter-spacing: .2em; padding-inline: 1.4rem; text-transform: uppercase; color: var(--ochre-deep); }
.tile--empty .tile__btn { cursor: default; }
.tile--empty .tile__btn img { display: none; }
.tile--empty::after { opacity: 0 !important; }
.tile--empty figcaption { opacity: 1; transform: none; color: var(--basalt); }
.tile--empty .tile__placeholder { padding-bottom: 1.5rem; }

.tile__btn img {
  width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade);
  transition: transform 1.4s var(--ease-slow), filter 1s var(--ease);
}
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(38, 34, 31, .55));
  opacity: 0; transition: opacity .7s var(--ease);
}
.tile figcaption {
  position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 1; pointer-events: none;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; color: var(--salt);
  opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.tile__name { font-family: var(--serif); font-size: 1.35rem; font-style: italic; line-height: 1.2; }
.tile__cat { font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; white-space: nowrap; }
.tile:hover .tile__btn img, .tile:focus-within .tile__btn img { transform: scale(1.04); }
.tile:hover::after, .tile:focus-within::after,
.tile:hover figcaption, .tile:focus-within figcaption { opacity: 1; transform: none; }
@media (hover: none) {
  .tile::after, .tile figcaption { opacity: 1; transform: none; }
  .tile__name { font-size: 1.1rem; }
}

/* ==========================================================================
   Story & inspiration
   ========================================================================== */
.story { background: var(--salt-2); padding-bottom: 0; }
.story__split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .story__split { grid-template-columns: 1fr 1.05fr; gap: clamp(3rem, 7vw, 7rem); } }
.story__text p:not(.eyebrow):not(.signature) { color: var(--basalt-soft); max-width: 34rem; }
.story__text .section-title { margin-bottom: 2rem; }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--ochre-deep); margin-top: 2rem; }

.story__media { margin: 0; }
.story__frame { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; background: var(--sand); }
.story__frame img { width: 100%; height: 118%; object-fit: cover; filter: var(--photo-grade); will-change: transform; }
.story__media figcaption {
  margin-top: 1rem; font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--basalt-soft);
}

.inspiration { padding-top: var(--section-y); }
.inspiration__grid { display: grid; gap: 3rem 2rem; }
@media (min-width: 760px) { .inspiration__grid { grid-template-columns: repeat(3, 1fr); } }
.insp-card__img { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 1.6rem; background: var(--sand); }
.insp-card:nth-child(2) .insp-card__img { border-radius: 999px 999px 0 0; }
@media (min-width: 760px) { .insp-card:nth-child(2) { margin-top: 3.5rem; } }
.insp-card__img img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); transition: transform 1.6s var(--ease-slow); }
.insp-card:hover .insp-card__img img { transform: scale(1.04); }
.insp-card__num { font-family: var(--serif); font-style: italic; color: var(--ochre-deep); font-size: 1.2rem; margin-bottom: .2rem; }
.insp-card h4 { font-size: 2rem; margin-bottom: .8rem; }
.insp-card p:last-child { color: var(--basalt-soft); max-width: 24rem; }

.quote-band {
  position: relative; margin: var(--section-y) 0 0; overflow: hidden; isolation: isolate;
  min-height: clamp(26rem, 70vh, 40rem); display: grid; place-content: center; text-align: center;
  padding: 6rem var(--gutter); color: var(--salt); background: var(--basalt);
}
.quote-band__bg {
  position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; z-index: -2;
  filter: var(--photo-grade) brightness(.62); will-change: transform;
}
.quote-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(38, 34, 31, .25); }
.quote-band blockquote { margin: 0 auto; max-width: 54rem; }
.quote-band blockquote p {
  font-family: var(--serif); font-style: italic; font-weight: 300; line-height: 1.22;
  font-size: clamp(1.8rem, 1.2rem + 2.8vw, 3.4rem); margin: 0;
}
.quote-band__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(30px, 5vw, 70px); fill: var(--sand); }
.quote-band blockquote .quote-band__translation {
  max-width: 36rem; margin: 1.4rem auto 0;
  font-family: var(--sans); font-style: normal; font-weight: 300; font-size: .95rem; line-height: 1.6;
  color: rgba(246, 242, 235, .78);
}
html[lang="es"] .quote-band blockquote .quote-band__translation { display: none; }
.quote-band figcaption { margin-top: 2rem; font-size: .7rem; letter-spacing: .34em; text-transform: uppercase; color: var(--sand); }


/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--sand); }
.contact .section-title em { color: var(--ochre-deep); }

.contact__grid { max-width: 46rem; margin-inline: auto; }

.card { background: var(--salt); padding: clamp(1.8rem, 4vw, 3rem); }
.card__eyebrow {
  font-family: var(--sans); font-weight: 400; line-height: 1.5;
  font-size: .68rem; letter-spacing: .32em; text-transform: uppercase; color: var(--ochre-deep); margin-bottom: 1rem;
}

.field { display: grid; gap: .4rem; margin-bottom: 1.2rem; }
.field-row { display: grid; gap: 0 1.2rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--basalt-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 0; border: 0; border-bottom: 1px solid var(--dune); border-radius: 0;
  background: transparent; font-weight: 300; transition: border-color .4s var(--ease);
}
.field textarea { resize: vertical; min-height: 6rem; }
.field select {
  appearance: none; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2326221F' stroke-width='1'/%3E%3C/svg%3E") right .2rem center / 12px no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--atlantic); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 1px 0 var(--atlantic); }

.form-status { min-height: 1.5em; margin: 1rem 0 0; font-size: .9rem; }
.form-status.is-success { color: var(--atlantic); }
.form-status.is-error { color: #9A3B24; }

.contact__details {
  display: grid; gap: 1.4rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem;
  border-top: 1px solid rgba(38, 34, 31, .15);
}
@media (min-width: 760px) { .contact__details { grid-template-columns: repeat(3, 1fr); } }
.contact__details li { display: grid; gap: .2rem; font-family: var(--serif); font-size: 1.35rem; }
.contact__details span { font-family: var(--sans); font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ochre-deep); }
.contact__details a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact__details a:hover { background-size: 100% 1px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--basalt); color: var(--salt); padding-block: 3.5rem; overflow: hidden; }
.site-footer__row {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem;
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(246, 242, 235, .7);
}
.site-footer__row p { margin: 0; }
.site-footer__row ul { display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.site-footer__row a { text-decoration: none; transition: color .3s; }
.site-footer__row a:hover { color: var(--salt); }

/* Short privacy note under the contact form */
.form-privacy { margin: 1.2rem 0 0; font-size: .78rem; line-height: 1.6; color: var(--basalt-soft); }
.form-privacy a { color: var(--atlantic); }

/* ==========================================================================
   Privacy & legal page
   ========================================================================== */
.legal-header {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 1.6rem var(--gutter);
  border-bottom: 1px solid rgba(38, 34, 31, .1);
}
.legal-header .wordmark { grid-column: 2; grid-row: 1; }
.legal-header__lang {
  grid-column: 3; grid-row: 1; justify-self: end; padding: .5rem 0;
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--atlantic);
}
.legal { max-width: 46rem; padding-block: clamp(3rem, 8vw, 6rem); }
.legal .section-title { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); margin-bottom: .6rem; }
.legal h2 { font-size: 1.6rem; margin: 2.4rem 0 .8rem; }
.legal p, .legal li { color: var(--basalt-soft); }
.legal strong { color: var(--basalt); font-weight: 400; }
.legal ul { list-style: disc; padding-left: 1.2rem; margin: 0 0 1.1em; }
.legal li { margin-bottom: .35em; overflow-wrap: anywhere; }
.legal a { color: var(--atlantic); }
.legal__updated { font-size: .85rem; }
.legal__rule { border: 0; border-top: 1px solid rgba(38, 34, 31, .15); margin: 4rem 0; }
.legal__back { margin-top: 3rem; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(38, 34, 31, .94); color: var(--salt);
}
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; animation: menu-in .4s var(--ease); }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 1rem; padding: 4rem 0; min-width: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 10rem); object-fit: contain; filter: var(--photo-grade); }
.lightbox figcaption { font-family: var(--serif); font-style: italic; font-size: 1.4rem; text-align: center; }
.lightbox figcaption small { display: block; font-family: var(--sans); font-style: normal; font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--dune); }
.lightbox button {
  background: none; border: 0; color: var(--salt); cursor: pointer; font-family: var(--serif); font-weight: 300;
  width: 3.5rem; height: 3.5rem; font-size: 2.6rem; line-height: 1; opacity: .75; transition: opacity .3s;
}
.lightbox button:hover { opacity: 1; }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; }

/* ==========================================================================
   Reveal on scroll (only when JS is running)
   ========================================================================== */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 1.2s var(--ease-slow), transform 1.2s var(--ease-slow);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

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