/* ==========================================================================
   LAMEL — Beyond the Ordinary
   Design tokens follow the LAMEL Brand Identity Guide:
   Black 60% · Gold 20% · White 15% · Stone 5%
   Montserrat (headings) · Poppins (body)
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License — see assets/fonts). No visitor data is sent to Google. */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/poppins-latin-300-italic.woff2") format("woff2"); }

:root {
  --black: #000000;
  --ink: #080808;
  --charcoal: #1f1f1f;
  --charcoal-2: #141414;
  --gold: #d4af37;
  --gold-soft: #c6a667;
  --gold-hover: #e3c45c;
  --white: #ffffff;
  --stone: #e6e6e6;
  --ivory: #f7f4ee;
  --text: #d6d6d6;
  --muted: #9a9a9a;
  --text-dark: #1f1f1f;
  --muted-dark: #555555;
  --line: rgba(255, 255, 255, 0.09);
  --line-gold: rgba(212, 175, 55, 0.35);

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--gold); color: var(--black); padding: .75rem 1rem;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
}
.skip-link:focus { top: 1rem; }

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

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * 0.6) 0; }
.section--charcoal { background: var(--charcoal-2); }
.section--light { background: var(--white); color: var(--text-dark); }
.section--ivory { background: var(--ivory); color: var(--text-dark); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--white);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.section--light h1, .section--light h2, .section--light h3,
.section--ivory h1, .section--ivory h2, .section--ivory h3 { color: var(--black); }

.display {
  font-weight: 700;
  font-size: clamp(2.6rem, 7.4vw, 5.6rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
}
.h2 {
  font-weight: 700;
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  text-transform: uppercase;
}
.h3 { font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.4rem); }
.gold { color: var(--gold); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--font-head); font-weight: 600;
  font-size: .72rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 1.25rem;
}
/* Gold marker bar — taken from the section-heading style in the LAMEL brand guide */
.eyebrow::before { content: ""; width: 3px; height: 1.1em; background: var(--gold); }
.section--light .eyebrow, .section--ivory .eyebrow { color: var(--black); }

.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--text); max-width: 38rem; margin: 1.5rem 0 0; }
.section--light .lead, .section--ivory .lead { color: var(--muted-dark); }
p { margin: 0 0 1rem; }
.small { font-size: .85rem; color: var(--muted); }
.section--light .small, .section--ivory .small { color: var(--muted-dark); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.section-head--split {
  max-width: none; display: flex; flex-wrap: wrap; gap: 1.5rem 3rem;
  align-items: flex-end; justify-content: space-between;
}
.section-head--split > div { max-width: 36rem; flex: 1 1 22rem; }
.section-head--split > .lead { flex: 0 1 28rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 52px; padding: .95rem 1.75rem;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; line-height: 1.2; text-align: center;
  border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--outline { border-color: var(--line-gold); color: var(--white); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--charcoal); }
.section--light .btn--outline, .section--ivory .btn--outline { color: var(--black); border-color: rgba(0,0,0,.25); }
.section--light .btn--outline:hover, .section--ivory .btn--outline:hover { border-color: var(--black); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.25rem; }

.text-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .74rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.text-link span { transition: transform .3s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(0, 0, 0, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 36px; width: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  font-family: var(--font-head); font-weight: 500; font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--stone);
  padding: .5rem 0; transition: color .25s var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--gold); }
.nav .btn { min-height: 44px; padding: .7rem 1.2rem; font-size: .7rem; }

.nav-toggle {
  display: none; background: none; border: 0; width: 48px; height: 48px;
  align-items: center; justify-content: center; cursor: pointer; margin-right: -10px;
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--white); position: relative; transition: background .3s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 24px; height: 1.5px; background: var(--white);
  transition: transform .35s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .brand img { height: 30px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--black);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 1.5rem var(--gutter) 2.5rem; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: var(--black); }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a {
    display: block; font-size: 1.15rem; letter-spacing: .08em; padding: 1.05rem 0;
    border-bottom: 1px solid var(--line); color: var(--white);
  }
  .nav .btn { margin-top: 2rem; min-height: 54px; font-size: .78rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
  display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(ellipse 60% 55% at 78% 45%, rgba(212,175,55,.10), transparent 70%), var(--black);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 .line { display: block; }
.hero .lead { max-width: 33rem; }

.hero-visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.hero-visual figure { margin: 0; overflow: hidden; background: #050505; border: 1px solid var(--line); }
.hero-visual .hv-main { grid-column: 1 / -1; aspect-ratio: 16 / 12; }
.hero-visual .hv-main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero-visual .hv-sm { aspect-ratio: 1 / 1; }
.hero-visual .hv-sm img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  font-family: var(--font-head); font-size: .66rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--white); background: rgba(0,0,0,.6); padding: .45rem .7rem;
}
.hero-visual figure { position: relative; }

@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: 3.5rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { gap: 10px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + clamp(3.5rem, 9vw, 7rem)) 0 clamp(3rem, 7vw, 5.5rem);
  background: radial-gradient(ellipse 55% 70% at 85% 0%, rgba(212,175,55,.09), transparent 70%), var(--black);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero .display { font-size: clamp(2.3rem, 6vw, 4.6rem); max-width: 16ch; }

/* ---------- Brand pattern (from the brand guide: repeating symbol, tone-on-tone) ---------- */
.has-pattern { position: relative; isolation: isolate; }
.has-pattern::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("../brand/emblem.webp");
  background-size: 64px auto; background-repeat: space;
  opacity: .035;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

/* ---------- Media frames ---------- */
.frame { margin: 0; overflow: hidden; background: #050505; position: relative; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.frame.fit-contain img { object-fit: contain; }
.ratio-1 { aspect-ratio: 1 / 1; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-43 { aspect-ratio: 4 / 3; }

/* Empty state for images that have not been supplied or fail to load */
.img-placeholder, .frame.img-missing {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  text-align: center; padding: 1.5rem;
  background:
    repeating-linear-gradient(135deg, rgba(212,175,55,.05) 0 1px, transparent 1px 14px),
    #0b0b0b;
  border: 1px dashed var(--line-gold); color: var(--gold-soft);
}
.img-placeholder strong, .frame.img-missing::after {
  font-family: var(--font-head); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600;
}
.img-placeholder span { font-size: .82rem; color: var(--muted); max-width: 22ch; }
.frame.img-missing img { display: none; }
.frame.img-missing::after { content: "Image to be added"; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.cat-card { position: relative; display: block; overflow: hidden; background: #050505; border: 1px solid var(--line); }
.cat-card .frame { aspect-ratio: 4 / 5; }
.cat-card .frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.88) 100%);
}
.cat-card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.5rem 1.4rem 1.4rem; }
.cat-card-num { font-family: var(--font-head); font-size: .7rem; letter-spacing: .25em; color: var(--gold); display: block; margin-bottom: .5rem; }
.cat-card h3 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.cat-card .text-link { margin-top: .9rem; }
.cat-card:hover .frame img { transform: scale(1.05); }
.cat-card { transition: border-color .4s var(--ease); }
.cat-card:hover { border-color: var(--line-gold); }

@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card .frame { aspect-ratio: 5 / 4; }
}

/* ---------- Featured work grid ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense;
  gap: clamp(.75rem, 1.6vw, 1.25rem);
}
.feature-item { position: relative; margin: 0; overflow: hidden; background: #050505; border: 1px solid var(--line); aspect-ratio: 1 / 1; }
.feature-item.is-wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.feature-item.is-big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.feature-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature-item.fit-contain img { object-fit: contain; }
.feature-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.9));
  font-family: var(--font-head);
  transform: translateY(6px); opacity: .92; transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.feature-item figcaption b { display: block; color: var(--white); font-weight: 600; font-size: .92rem; }
.feature-item figcaption span { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.feature-item:hover img { transform: scale(1.04); }
.feature-item:hover figcaption { transform: none; opacity: 1; }

@media (max-width: 600px) {
  .feature-item figcaption { padding: 2rem .7rem .6rem; }
  .feature-item:not(.is-big):not(.is-wide) figcaption span { display: none; }
  .feature-item figcaption b { font-size: .78rem; line-height: 1.3; }
  .hero-visual .hv-sm .hero-caption { display: none; }
  .gift-grid { grid-template-columns: repeat(2, 1fr); }
  .gift-card-body { padding: 1rem .9rem 1.1rem; }
  .gift-card p { display: none; }
}
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item.is-big { grid-row: span 1; aspect-ratio: 1 / 1; }
  .feature-item.is-wide { aspect-ratio: 2 / 1; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { padding: 2rem 1.6rem 1.8rem; border-top: 2px solid var(--gold); background: var(--white); }
.section--light .step { background: var(--ivory); }
.step-num { font-family: var(--font-head); font-weight: 700; font-size: 2.4rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 1.4rem; }
.step h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .75rem; }
.step p { font-size: .94rem; margin: 0; color: var(--muted-dark); }
.section--dark-steps .step { background: #0b0b0b; border: 1px solid var(--line); border-top: 2px solid var(--gold); }
.section--dark-steps .step p { color: var(--text); }

@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split--rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media .frame { border: 1px solid var(--line); }
.split-media .frame-inset {
  position: absolute; width: 42%; right: -6%; bottom: -10%;
  border: 6px solid var(--black); box-shadow: 0 30px 60px rgba(0,0,0,.6);
}
.split--rev .split-media .frame-inset { right: auto; left: -6%; }
.checklist { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .9rem; align-items: baseline; }
.checklist li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg) translateY(-2px); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--rev .split-media { order: 0; }
  .split-media .frame-inset { width: 40%; right: 4%; bottom: -8%; }
  .split--rev .split-media .frame-inset { left: 4%; }
  .split-media { margin-bottom: 2rem; }
}

/* ---------- Gift cards ---------- */
.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.gift-card { background: #070707; border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .4s var(--ease); }
.gift-card:hover { border-color: var(--line-gold); }
.gift-card:hover .frame img { transform: scale(1.04); }
.gift-card-body { padding: 1.35rem 1.3rem 1.5rem; }
.gift-card .tag { font-family: var(--font-head); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.gift-card h3 { font-size: 1.02rem; font-weight: 600; margin: .45rem 0 .5rem; }
.gift-card p { font-size: .88rem; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .gift-grid { grid-template-columns: repeat(2, 1fr); } }


.quote-block { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.2; color: var(--white); text-transform: none; max-width: 22ch; }

/* ---------- Family section ---------- */
.family-names { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.family-names li {
  font-family: var(--font-head); font-weight: 600; font-size: .7rem; letter-spacing: .22em;
  padding: .55rem .9rem; border: 1px solid var(--line-gold); color: var(--gold);
}

/* ---------- CTA band ---------- */
.cta-band { text-align: center; background: var(--black); border-top: 1px solid var(--line); }
.cta-band .display { font-size: clamp(2rem, 5.6vw, 4.2rem); max-width: 18ch; margin: 0 auto; }
.cta-band .lead { margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }
.cta-emblem { width: 56px; margin: 0 auto 2rem; }

/* ---------- Services page ---------- */
.service-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.5rem; }
.service-nav a {
  font-family: var(--font-head); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: .7rem 1rem; border: 1px solid var(--line); color: var(--stone); transition: border-color .3s, color .3s;
}
.service-nav a:hover { border-color: var(--gold); color: var(--gold); }
.service { padding: clamp(3.5rem, 8vw, 6.5rem) 0; border-bottom: 1px solid var(--line); scroll-margin-top: var(--header-h); }
.service:nth-child(even) { background: var(--charcoal-2); }
.service-index { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .3em; color: var(--gold); display: block; margin-bottom: 1rem; }
.service-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.service-thumbs .frame { border: 1px solid var(--line); }
.note {
  margin-top: 1.5rem; padding: 1rem 1.15rem; border-left: 2px solid var(--gold);
  background: rgba(212,175,55,.06); font-size: .88rem; color: var(--stone);
}
.section--light .note, .section--ivory .note { color: var(--muted-dark); background: rgba(212,175,55,.1); }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter-btn {
  background: transparent; border: 1px solid var(--line); color: var(--stone); cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .75rem 1.1rem; min-height: 44px; transition: border-color .25s, color .25s, background-color .25s;
}
.filter-btn:hover { border-color: var(--gold-soft); color: var(--white); }
.filter-btn[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--black); }
@media (max-width: 640px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) .4rem; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex: none; }
}

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.work-card { background: #070707; border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .4s var(--ease), opacity .4s var(--ease), transform .4s var(--ease); }
.work-card:hover { border-color: var(--line-gold); }
.work-card .frame { cursor: zoom-in; }
.work-card:hover .frame img { transform: scale(1.04); }
.work-card-body { padding: 1.35rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.work-card .tag { font-family: var(--font-head); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.work-card h3 { font-size: 1.08rem; font-weight: 600; margin: .45rem 0 .55rem; }
.work-card p { font-size: .9rem; color: var(--muted); margin: 0 0 1.3rem; }
.work-card .btn { margin-top: auto; align-self: flex-start; min-height: 46px; padding: .75rem 1.15rem; font-size: .68rem; }
.work-card.is-hidden { display: none; }
.work-card.is-entering { opacity: 0; transform: translateY(10px); }
.work-card.is-placeholder .frame { cursor: default; }
.work-empty { display: none; padding: 3rem 0; text-align: center; color: var(--muted); }
.work-empty.is-visible { display: block; }
@media (max-width: 980px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); width: 100%; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0,0,0,.92); }
.lightbox img { width: 100%; max-height: 82vh; object-fit: contain; background: #050505; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 0 0; color: var(--white); font-family: var(--font-head); font-size: .85rem; }
.lightbox-close {
  background: none; border: 1px solid var(--line-gold); color: var(--white); cursor: pointer;
  font-family: var(--font-head); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; padding: .6rem 1rem; min-height: 44px;
}
.lightbox-close:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Process (How it works page) ---------- */
.process { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.process li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.process .num { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--gold); line-height: 1; }
.process h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: .5rem; }
.process p { margin: 0; max-width: 42rem; }
@media (max-width: 560px) { .process li { grid-template-columns: 3.2rem 1fr; gap: 1rem; } .process .num { font-size: 1.5rem; } }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.info-card { padding: 2rem 1.7rem; border: 1px solid rgba(0,0,0,.1); background: var(--white); }
.section--charcoal .info-card, .info-card--dark { background: #0b0b0b; border-color: var(--line); }
.info-card h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 .9rem; }
.info-card p { font-size: .93rem; }
.info-card p:last-child { margin-bottom: 0; }
.info-card .label { font-family: var(--font-head); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: .9rem; }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-copy { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 38rem; }
.about-copy p { margin-bottom: 1.3rem; }
.about-copy .pull { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.2rem, 2.3vw, 1.6rem); color: var(--white); line-height: 1.35; }
.about-copy .closing { font-family: var(--font-head); font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.values div { background: var(--black); padding: 2rem 1.5rem; }
.values h3 { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .6rem; }
.values p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { border: 1px solid var(--line-gold); padding: 2rem 1.8rem; background: #070707; }
.contact-card h2 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: .7rem; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.contact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.contact-list .k { font-family: var(--font-head); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.contact-list a { color: var(--white); border-bottom: 1px solid var(--line-gold); }
.contact-list a:hover { color: var(--gold); }
.contact-list .pending { color: var(--muted); font-style: italic; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-head); font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin-bottom: .5rem; }
.field label .opt { color: var(--muted); font-weight: 500; letter-spacing: .1em; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; background: #0b0b0b; color: var(--white); border: 1px solid var(--line);
  border-radius: 2px; padding: .95rem 1rem; font-family: var(--font-body); font-size: 1rem; font-weight: 300;
  transition: border-color .25s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #c96a5a; }
.field .err { display: block; color: #e08a7a; font-size: .8rem; margin-top: .35rem; min-height: 0; }
.form-status { grid-column: 1 / -1; font-size: .9rem; padding: .9rem 1rem; border-left: 2px solid var(--gold); background: rgba(212,175,55,.06); display: none; }
.form-status.is-visible { display: block; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); border-top: 1px solid var(--line); padding: clamp(3.5rem, 8vw, 5.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-logo { width: 150px; margin-bottom: 1.4rem; }
.site-footer h3 { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer li, .site-footer p { font-size: .9rem; color: var(--muted); }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .8rem; color: var(--muted); }
.footer-bottom .footer-legal { display: inline-flex; gap: .4rem; flex-wrap: wrap; }
.footer-bottom .footer-legal a { color: var(--muted); text-decoration: none; }
.footer-bottom .footer-legal a:hover { color: var(--gold); }
.footer-bottom .footer-legal button { all: unset; cursor: pointer; }
.footer-bottom .tagline { font-family: var(--font-head); letter-spacing: .3em; text-transform: uppercase; font-size: .66rem; color: var(--gold-soft); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 90;
  display: inline-flex; align-items: center; gap: .6rem;
  height: 56px; padding: 0 1.25rem 0 1.05rem; border-radius: 28px;
  background: var(--gold); color: var(--black);
  font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
  transition: transform .4s var(--ease), opacity .4s var(--ease), background-color .3s;
}
.wa-float svg { width: 22px; height: 22px; }
.wa-float:hover { background: var(--gold-hover); }
.wa-float.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
/* On desktop the sticky header keeps a WhatsApp button in view, so the floating button is only used on phones and tablets */
@media (min-width: 1081px) { .wa-float { display: none; } }
@media (max-width: 600px) {
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .wa-float .wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Toast (shown when a setting such as the WhatsApp number is not yet configured) */
.toast {
  position: fixed; left: 50%; bottom: 5.5rem; z-index: 150; transform: translate(-50%, 20px);
  width: min(92vw, 30rem); background: var(--charcoal); color: var(--white);
  border: 1px solid var(--line-gold); padding: 1rem 1.2rem; font-size: .9rem; line-height: 1.5;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast b { color: var(--gold); font-weight: 500; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .1s; }
.js .reveal-d2 { transition-delay: .2s; }
.js .reveal-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .frame img, .feature-item img { transform: none !important; }
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000;
  background: var(--charcoal-2);
  border-top: 1px solid var(--line-gold);
  box-shadow: 0 -18px 50px rgba(0, 0, 0, .55);
  transform: translateY(110%);
  transition: transform .45s var(--ease);
  padding: 1.35rem var(--gutter) calc(1.35rem + env(safe-area-inset-bottom));
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__inner {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  flex-wrap: wrap; justify-content: space-between;
}
.cookie-banner__text { flex: 1 1 32rem; min-width: 0; }
.cookie-banner__text h2 {
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 .45rem;
}
.cookie-banner__text p {
  margin: 0; font-size: .875rem; line-height: 1.65; color: var(--text);
  max-width: 68ch;
}
.cookie-banner__text a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__text a:hover { color: var(--gold-hover); }
.cookie-banner__actions { display: flex; gap: .75rem; flex: 0 0 auto; flex-wrap: wrap; }
.cookie-banner__actions .btn { white-space: nowrap; }

@media (max-width: 640px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1 1 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: none; }
}

/* ==========================================================================
   LEGAL PAGES (privacy policy)
   ========================================================================== */
.legal { max-width: 46rem; font-size: 1rem; }
.legal h2 {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--white);
  margin: 2.75rem 0 .9rem; padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 {
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  color: var(--gold); margin: 1.6rem 0 .5rem;
}
.legal p, .legal li { color: var(--text); line-height: 1.75; }
.legal p { margin-bottom: 1.1rem; }
.legal ul { margin: 0 0 1.3rem; padding-left: 1.15rem; list-style: disc; }
.legal li { margin-bottom: .55rem; padding-left: .25rem; }
.legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--gold-hover); }
.legal strong { color: var(--white); font-weight: 500; }
.legal .updated {
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 2.5rem;
}
.legal .note {
  border-left: 2px solid var(--line-gold); padding: 1.1rem 0 .1rem 1.35rem;
  margin: 0 0 1.75rem; color: var(--muted); font-size: .92rem;
}
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1.75rem; font-size: .9rem; }
.legal th, .legal td {
  text-align: left; padding: .7rem .9rem .7rem 0;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.legal th { color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .07em; }
.legal td { color: var(--text); }
