/* =========================================================================
   Skytte Visuals — Stylesheet
   Warm beige + dusty blue · editorial photography portfolio
   ========================================================================= */

:root {
  --cream:      #F6F1E7;
  --cream-2:    #EFE8DA;
  --sand:       #E1D6C2;
  --paper:      #FCFAF4;

  --blue:       #8BA1AD;
  --blue-soft:  #AEC0C9;
  --blue-deep:  #435A66;
  --blue-ink:   #2E3F47;

  --ink:        #262726;
  --muted:      #6A655D;

  --maxw: 1280px;
  --gutter: clamp(22px, 5.5vw, 80px);

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans:  "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.19, 1, .22, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--blue-deep); color: var(--cream); }

/* ------------------------------ Layout --------------------------------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: 1500px; }
.section { padding-block: clamp(72px, 11vw, 150px); }
.section--tight { padding-block: clamp(48px, 7vw, 90px); }
.section--tint { background: var(--cream-2); }
.section--ink { background: var(--blue-ink); color: var(--cream); }

/* ------------------------------ Type ----------------------------------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.04; color: var(--blue-ink); letter-spacing: .1px; }
h1 { font-size: clamp(2.9rem, 8vw, 6.5rem); }
h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
em { font-style: italic; }
p { color: var(--ink); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.32rem); color: var(--muted); max-width: 56ch; line-height: 1.6; }

.eyebrow {
  font-family: var(--sans); font-size: .74rem; letter-spacing: .34em;
  text-transform: uppercase; color: var(--blue-deep); font-weight: 600;
  display: flex; align-items: center; gap: 14px; margin-bottom: 1.3rem;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--blue); flex: none; }
.eyebrow.center { justify-content: center; }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }

/* ------------------------------ Buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .7em; position: relative;
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 1.1em 2.1em; cursor: pointer; overflow: hidden;
  transition: color .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
  border: 1px solid var(--blue-deep); background: var(--blue-deep); color: var(--cream);
}
.btn--solid:hover { background: var(--blue-ink); border-color: var(--blue-ink); }
.btn--ghost { background: transparent; color: var(--blue-deep); }
.btn--ghost:hover { background: var(--blue-deep); color: var(--cream); }
.btn__arrow { transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* Text link with animated underline */
.tlink {
  font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue-deep); display: inline-flex; align-items: center; gap: 10px;
}
.tlink::after { content: ""; height: 1px; width: 26px; background: currentColor; transition: width .4s var(--ease); }
.tlink:hover::after { width: 44px; }

/* ------------------------------ Media wrapper -------------------------- */
.media { position: relative; overflow: hidden; background: var(--cream-2); }
.media picture { display: contents; } /* let the <img> size against .media, not the picture box */
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .9s var(--ease), filter .9s var(--ease); }
.media--hover:hover img { transform: scale(1.055); }
/* Fade + soft blur-up as each image loads (only when JS is active, so images
   are never invisible if scripts fail to run) */
html.js .media img:not(.loaded) { opacity: 0; filter: blur(12px); transform: scale(1.02); }
.media img.loaded { opacity: 1; filter: none; }
.ratio-4-5 { aspect-ratio: 4/5; }
.ratio-3-2 { aspect-ratio: 3/2; }
.ratio-2-3 { aspect-ratio: 2/3; }
.ratio-1-1 { aspect-ratio: 1/1; }
.ratio-16-9 { aspect-ratio: 16/9; }
.ratio-3-4 { aspect-ratio: 3/4; }

/* ------------------------------ Header --------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header.scrolled {
  background: rgba(246, 241, 231, .88); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); padding-block: 14px; box-shadow: 0 1px 0 var(--sand);
}
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand__logo { display: block; width: auto; }
.site-header .brand__logo { height: 38px; }
/* Header defaults to the dark logo (on cream / when scrolled) */
.site-header .brand__logo--light { display: none; }
/* Over the dark hero (transparent header, not scrolled) → white logo */
.site-header.on-hero:not(.scrolled) .brand__logo--dark { display: none; }
.site-header.on-hero:not(.scrolled) .brand__logo--light { display: block; }
/* Footer is dark → always white logo */
.site-footer .brand__logo { height: 52px; }
.site-footer .brand__logo--dark { display: none; }
.site-header.on-hero:not(.scrolled) .brand,
.site-header.on-hero:not(.scrolled) .nav > a,
.site-header.on-hero:not(.scrolled) .lang-toggle { color: var(--cream); }
.site-header.on-hero:not(.scrolled) .brand span { color: var(--blue-soft); }
.site-header.on-hero:not(.scrolled) .nav-toggle span { background: var(--cream); }
.site-header.on-hero:not(.scrolled) .lang-toggle { border-color: rgba(246,241,231,.45); }

.nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 46px); }
.nav > a {
  font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink); position: relative; padding-block: 5px;
}
.nav > a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: currentColor; transition: width .4s var(--ease); }
.nav > a:hover::after, .nav > a.active::after { width: 100%; }

/* Client portal — small understated utility link, set apart from page links */
.nav-portal { font-size: .68rem !important; opacity: .72; margin-left: 4px; }
.nav-portal:hover { opacity: 1; }

.lang-toggle {
  font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .12em;
  border: 1px solid var(--sand); background: transparent; color: var(--ink);
  padding: .55em .85em; cursor: pointer; transition: all .4s var(--ease);
}
/* The active language is bright + bold + underlined; the other dims out. */
.lang-toggle__opt { opacity: .38; transition: opacity .3s var(--ease); }
.lang-toggle__opt.is-active { opacity: 1; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.lang-toggle__sep { opacity: .4; margin: 0 .32em; }
/* Hover styling only where there's a real pointer. On a phone, :hover sticks
   after a tap and leaves the toggle solid blue, hiding which language is active. */
@media (hover: hover) {
  .lang-toggle:hover { background: var(--blue-deep); color: var(--cream); border-color: var(--blue-deep); }
  .lang-toggle:hover .lang-toggle__opt { opacity: .7; }
  .lang-toggle:hover .lang-toggle__opt.is-active { opacity: 1; }
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; z-index: 101; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); transition: .4s var(--ease); }

/* ------------------------------ Hero ----------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-active { opacity: 1; animation: heroZoom 8s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero__slide.is-active { animation: none; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(46,63,71,.55) 0%, rgba(46,63,71,.18) 45%, transparent 80%),
    linear-gradient(180deg, rgba(46,63,71,.10) 0%, transparent 40%, rgba(46,63,71,.68) 100%); }
/* Fine film grain over the hero */
.hero__grain { position: absolute; inset: 0; z-index: -1; opacity: .22; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E"); }
.hero__inner { padding-bottom: clamp(56px, 9vw, 120px); padding-top: 120px; max-width: 1000px; text-shadow: 0 1px 24px rgba(30,42,48,.35); }
.hero .eyebrow { color: rgba(246,241,231,.92); }
.hero .eyebrow::before { background: var(--blue-soft); }
.hero h1 { color: var(--cream); font-weight: 500; font-size: clamp(2.3rem, 4.4vw, 3.9rem); line-height: 1.08; max-width: 17ch; text-wrap: balance; }
.hero h1 em { color: var(--blue-soft); }
.hero .lead { color: rgba(246,241,231,.92); margin-top: 1.4rem; font-size: clamp(1.05rem, 1.4vw, 1.22rem); max-width: 46ch; }
.hero__cta { margin-top: 2.6rem; display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn--ghost { color: var(--cream); border-color: rgba(246,241,231,.55); }
.hero .btn--ghost:hover { background: var(--cream); color: var(--blue-ink); border-color: var(--cream); }
.hero__meta {
  position: absolute; top: 50%; right: var(--gutter); transform: translateY(-50%) rotate(90deg); transform-origin: right center;
  font-size: .68rem; letter-spacing: .35em; text-transform: uppercase; color: rgba(246,241,231,.7);
}

/* ------------------------------ Editorial Index hero ------------------- */
.index-hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; color: var(--cream); }
.index-hero__bgs { position: absolute; inset: 0; z-index: -3; background: var(--blue-ink); }
.index-hero__bg { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.index-hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 8s var(--ease); }
.index-hero__bg.active { opacity: 1; }
.index-hero__bg.active img { transform: scale(1); }
.index-hero::after { content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(46,63,71,.62) 0%, rgba(46,63,71,.42) 42%, rgba(46,63,71,.80) 100%); }
.index-hero__inner { padding: 130px 0 clamp(40px, 6vw, 70px); width: 100%; }
.index-hero .eyebrow { color: rgba(246,241,231,.85); }
.index-hero .eyebrow::before { background: var(--blue-soft); }
.index-hero__tag { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.4rem); font-style: italic; color: rgba(246,241,231,.92); margin: .4rem 0 1.6rem; max-width: 24ch; }

.index-list { border-top: 1px solid rgba(246,241,231,.28); }
.index-row { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); padding: clamp(13px, 2vw, 24px) 0; border-bottom: 1px solid rgba(246,241,231,.28); color: var(--cream); position: relative; transition: opacity .45s var(--ease), padding-left .45s var(--ease); }
.index-list:hover .index-row { opacity: .4; }
.index-list .index-row:hover { opacity: 1; padding-left: clamp(8px, 1.5vw, 22px); }
.index-row__num { font-family: var(--sans); font-size: .74rem; letter-spacing: .2em; opacity: .75; width: 2.4ch; flex: none; }
.index-row__name { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 6.5vw, 4.8rem); line-height: 1; flex: 1; }
.index-row__meta { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; opacity: .72; display: none; }
@media (min-width: 720px) { .index-row__meta { display: block; } }
.index-row__arrow { font-size: clamp(1.3rem, 2vw, 1.8rem); opacity: 0; transform: translateX(-12px); transition: .45s var(--ease); flex: none; }
.index-row:hover .index-row__arrow { opacity: 1; transform: translateX(0); }
.index-row__thumb { width: 58px; height: 44px; object-fit: cover; border-radius: 2px; flex: none; display: block; }
@media (min-width: 720px) { .index-row__thumb { display: none; } }
.index-hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: clamp(24px, 4vw, 46px); flex-wrap: wrap; }
.index-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.index-hero .btn--ghost { color: var(--cream); border-color: rgba(246,241,231,.55); }
.index-hero .btn--ghost:hover { background: var(--cream); color: var(--blue-ink); border-color: var(--cream); }
.index-hero__scroll { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(246,241,231,.7); }

/* ------------------------------ Editorial statement -------------------- */
.statement p { font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 4vw, 3.1rem); line-height: 1.2; color: var(--blue-ink); max-width: 22ch; }
.statement .accent { color: var(--blue); font-style: italic; }
.statement__meta { margin-top: clamp(24px, 3vw, 40px); display: flex; gap: clamp(24px, 4vw, 52px); flex-wrap: wrap; }
.statement__meta div { max-width: 30ch; }
.statement__meta h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 8px; }
.statement__meta p { font-family: var(--sans); font-size: .98rem; font-weight: 400; color: var(--muted); line-height: 1.6; max-width: none; }

/* Page hero (inner pages) */
.page-hero { padding: clamp(150px, 22vh, 230px) 0 clamp(46px, 7vw, 84px); background: var(--cream-2); border-bottom: 1px solid var(--sand); }

/* Legal / prose pages (terms, privacy) */
.legal { max-width: 820px; margin-inline: auto; }
.legal__updated { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.legal .clause { margin-top: clamp(30px, 4vw, 46px); }
.legal .clause h2 { font-size: clamp(1.25rem, 2.1vw, 1.6rem); color: var(--blue-ink); margin-bottom: 12px; display: flex; gap: 14px; align-items: baseline; }
.legal .clause h2 .no { font-family: var(--serif); font-style: italic; color: var(--blue); font-size: 1.1em; flex: none; }
.legal p { color: var(--muted); line-height: 1.75; margin-bottom: 12px; }
.legal a { color: var(--blue-deep); text-decoration: underline; }
.legal .note { background: var(--paper); border: 1px solid var(--sand); border-left: 3px solid var(--blue); border-radius: 4px; padding: 16px 20px; font-size: .92rem; color: var(--muted); }
.page-hero h1 { margin-bottom: 1.4rem; }
.page-hero .lead { margin-top: 0; }

/* ------------------------------ Marquee strip -------------------------- */
.strip { border-block: 1px solid var(--sand); background: var(--paper); overflow: hidden; }
.strip__row { display: flex; gap: 60px; align-items: center; padding: 20px 0; white-space: nowrap; animation: marquee 28s linear infinite; }
.strip__row span { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 2rem); color: var(--blue-deep); font-style: italic; }
.strip__row i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: none; display: inline-block; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ------------------------------ Services (editorial) ------------------- */
.svc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 56px); }
.svc {
  padding-top: 26px; border-top: 1px solid var(--sand);
  transition: border-color .5s var(--ease);
}
.svc:hover { border-color: var(--blue-deep); }
.svc__num { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--blue); }
.svc h3 { margin: 12px 0 12px; }
.svc p { color: var(--muted); font-size: 1rem; }

/* ------------------------------ Editorial feature grid ----------------- */
.feat { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); }
.feat-card { position: relative; display: block; overflow: hidden; }
.feat-card .media { width: 100%; height: 100%; }
.feat-card__cap { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(20px, 2.5vw, 36px); display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
  background: linear-gradient(180deg, transparent 35%, rgba(46,63,71,.78) 100%); }
.feat-card__cap .k { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--blue-soft); font-weight: 600; margin-bottom: 6px; display: block; }
.feat-card h3 { color: var(--cream); }
.feat-card__arrow { color: var(--cream); font-size: 1.4rem; transition: transform .4s var(--ease); flex: none; }
.feat-card:hover .feat-card__arrow { transform: translate(4px, -4px); }
/* spans */
.feat-a { grid-column: span 7; }
.feat-b { grid-column: span 5; }
.feat-c { grid-column: span 5; }
.feat-d { grid-column: span 7; }
.feat-a .media { aspect-ratio: 3/2.15; }
.feat-b .media { aspect-ratio: 4/4.3; }
.feat-c .media { aspect-ratio: 4/4.3; }
.feat-d .media { aspect-ratio: 3/2.15; }
/* Three-up variant */
.feat--three { grid-template-columns: repeat(3, 1fr); }
.feat--three .feat-card { grid-column: auto; }
.feat--three .feat-card .media { aspect-ratio: 4/5; }

/* ------------------------------ Split about ---------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 86px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media .media { aspect-ratio: 4/5; }
.split__body h2 { margin-bottom: clamp(1.2rem, 2.4vw, 1.8rem); }
.split__body p { color: var(--muted); }
.split__body p + p { margin-top: 1.15rem; }
.stats { display: flex; gap: clamp(28px, 4vw, 56px); margin-top: 2.4rem; flex-wrap: wrap; }
.stat b { font-family: var(--serif); font-size: 2.7rem; color: var(--blue-deep); display: block; line-height: 1; }
.stat span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------ Portfolio gallery ---------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(34px, 5vw, 56px); }
.filter {
  font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: .75em 1.35em; border: 1px solid var(--sand); background: transparent; color: var(--muted);
  cursor: pointer; transition: .35s var(--ease);
}
.filter:hover { color: var(--blue-deep); border-color: var(--blue); }
.filter.active { background: var(--blue-deep); color: var(--cream); border-color: var(--blue-deep); }

.gallery { columns: 3; column-gap: clamp(16px, 2vw, 26px); }
.g-item { break-inside: avoid; margin-bottom: clamp(16px, 2vw, 26px); cursor: pointer; position: relative; }
.g-item .media img { transition: transform .9s var(--ease), filter .5s var(--ease); }
.g-item:hover .media img { transform: scale(1.045); }
.g-item__tag { position: absolute; left: 14px; bottom: 14px; z-index: 2; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--cream); background: rgba(46,63,71,.6); padding: 5px 10px; opacity: 0; transition: opacity .4s var(--ease); backdrop-filter: blur(4px); }
.g-item:hover .g-item__tag { opacity: 1; }
.g-item.hide { display: none; }

/* ------------------------------ CTA band ------------------------------- */
.cta-band { text-align: center; }
.cta-band .lead { margin: 1.1rem auto 2.2rem; }
.section--ink h2, .section--ink .stat b { color: var(--cream); }
.section--ink .lead { color: rgba(246,241,231,.82); }
.section--ink .btn--ghost { color: var(--cream); border-color: rgba(246,241,231,.55); }
.section--ink .btn--ghost:hover { background: var(--cream); color: var(--blue-ink); border-color: var(--cream); }
.section--ink .eyebrow { color: var(--blue-soft); }
.section--ink .eyebrow::before { background: var(--blue-soft); }

/* ------------------------------ Contact -------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(38px, 5vw, 80px); }
.contact-info li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--sand); align-items: flex-start; }
.contact-info li:last-child { border-bottom: 0; }
.contact-info .k { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-deep); font-weight: 600; min-width: 92px; padding-top: 3px; }
.contact-info .v a:hover { color: var(--blue-deep); text-decoration: underline; }
.socials { display: flex; gap: 14px; margin-top: 28px; }
.socials a { width: 46px; height: 46px; border: 1px solid var(--sand); border-radius: 50%; display: grid; place-items: center; transition: .4s var(--ease); color: var(--blue-deep); }
.socials a:hover { background: var(--blue-deep); color: var(--cream); border-color: var(--blue-deep); transform: translateY(-3px); }

.form { background: var(--paper); border: 1px solid var(--sand); padding: clamp(28px, 4vw, 46px); }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 9px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--sand); background: var(--cream);
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(139,161,173,.22); }
.field textarea { resize: vertical; min-height: 140px; }
.form .btn { width: 100%; justify-content: center; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form .hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form__status { margin-top: 16px; text-align: center; font-size: .95rem; }
.form__status.is-ok { color: var(--blue-deep); font-weight: 600; }
.form__status.is-err { color: #b4402f; }

/* ------------------------------ Footer --------------------------------- */
.site-footer { background: var(--blue-deep); color: rgba(246,241,231,.82); padding-block: clamp(56px, 8vw, 96px) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 44px; }
.site-footer .brand { color: var(--cream); font-size: 1.9rem; display: block; margin-bottom: 16px; }
.site-footer .brand span { color: var(--blue-soft); }
.footer-grid p { color: rgba(246,241,231,.62); font-size: .96rem; max-width: 34ch; }
.footer-col h4 { color: var(--cream); font-family: var(--sans); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer-col a { color: rgba(246,241,231,.72); font-size: .96rem; display: block; padding: 5px 0; transition: color .3s, padding-left .3s; }
.footer-col a:hover { color: var(--cream); padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(246,241,231,.14); margin-top: 48px; padding-top: 26px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: rgba(246,241,231,.5); }
.footer-bottom a { color: rgba(246,241,231,.68); transition: color .3s var(--ease); }
.footer-bottom a:hover { color: var(--cream); }

/* ------------------------------ Lightbox ------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(38,39,38,.95); display: none; align-items: center; justify-content: center; padding: 3vw; }
.lightbox.open { display: flex; }
.lightbox__inner { max-width: 88vw; max-height: 88vh; }
.lightbox__inner img { max-width: 88vw; max-height: 82vh; width: auto; height: auto; object-fit: contain; }
.lightbox__cap { color: rgba(246,241,231,.8); text-align: center; margin-top: 16px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }
.lightbox__close { position: absolute; top: 24px; right: 30px; background: none; border: 0; color: var(--cream); font-size: 2.2rem; cursor: pointer; line-height: 1; z-index: 3; transition: transform .3s var(--ease); }
.lightbox__close:hover { transform: rotate(90deg); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(246,241,231,.08); border: 1px solid rgba(246,241,231,.3); color: var(--cream); width: 52px; height: 52px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; transition: .3s var(--ease); z-index: 3; }
.lb-nav:hover { background: var(--cream); color: var(--blue-ink); }
.lb-prev { left: clamp(12px, 3vw, 40px); }
.lb-next { right: clamp(12px, 3vw, 40px); }
.lightbox__count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: rgba(246,241,231,.6); font-size: .74rem; letter-spacing: .2em; }

/* Floating "view" cursor over gallery items (desktop pointer only) */
.cursor-dot { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; background: rgba(67,90,102,.92); color: var(--cream); display: grid; place-items: center; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; opacity: 0; transform: scale(.4); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.cursor-dot.show { opacity: 1; transform: scale(1); }

/* --------------------------- Video section --------------------------- */
.video-section:not(:has(.video-item)) { display: none; } /* hide when there are no videos */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(18px, 2.5vw, 32px); margin-top: clamp(22px, 3vw, 38px); max-width: 560px; margin-inline: auto; }
.video-item { position: relative; border-radius: 4px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.video-item video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --------------------------- Clients marquee ------------------------- */
.marquee { overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content;
  animation: marquee-scroll 160s linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
/* Two identical groups, each at least one screen wide, laid out with even
   spacing. translateX(-50%) = exactly one group, so the loop is seamless AND
   the strip is never empty, on any screen width. */
.marquee__group { display: flex; align-items: center; flex: 0 0 auto; }
.marquee__group > * { margin-right: clamp(44px, 6vw, 96px); flex: none; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee__item { font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.85rem); color: var(--blue-deep);
  opacity: .6; letter-spacing: .3px; white-space: nowrap; transition: opacity .3s var(--ease); flex: none; }
.marquee__item:hover { opacity: 1; }
/* Logos are pre-rendered as uniform dusty-blue monochrome PNGs on transparent bg. */
.marquee__logo { height: clamp(24px, 2.7vw, 34px); width: auto; object-fit: contain; flex: none;
  opacity: .62; transition: opacity .3s var(--ease); }
.marquee__logo:hover { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee__group { min-width: 0; flex-wrap: wrap; justify-content: center; } }

/* --------------------------- Testimonials --------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.quote { border-top: 1px solid var(--sand); padding-top: 28px; }
.quote p { font-family: var(--serif); font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.4; color: var(--blue-ink); font-style: italic; }
.quote__by { margin-top: 22px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.quote__by b { color: var(--blue-deep); font-weight: 600; }

/* Single featured testimonial */
.quote-lead { max-width: 900px; margin-inline: auto; text-align: center; }
.quote-lead__mark { font-family: var(--serif); font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: .5; color: var(--blue-soft); display: block; margin-bottom: 8px; }
.quote-lead p { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.45rem, 2.8vw, 2.3rem); line-height: 1.34; color: var(--blue-ink); white-space: pre-line; }
.quote-lead__by { margin-top: 30px; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.quote-lead__by b { color: var(--blue-deep); }

/* Testimonial slider */
.tslider { position: relative; max-width: 1000px; margin-inline: auto; }
.tslide { display: none; }
.tslide.is-active { display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: clamp(230px, 32vh, 330px); animation: tfade .6s var(--ease); }
@keyframes tfade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tslider__nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--blue); font-size: 2rem; line-height: 1; cursor: pointer; padding: 12px; transition: color .3s var(--ease); z-index: 2; }
.tslider__nav:hover { color: var(--blue-deep); }
.tslider__prev { left: -8px; } .tslider__next { right: -8px; }
.tslider__dots { display: flex; gap: 11px; justify-content: center; margin-top: 36px; }
.tslider__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sand); border: 0; padding: 0; cursor: pointer; transition: background .3s var(--ease), transform .3s var(--ease); }
.tslider__dot.is-active { background: var(--blue-deep); transform: scale(1.35); }
@media (max-width: 720px) { .tslider__nav { display: none; } }

/* --------------------------- FAQ (accordion) ------------------------ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--sand); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.5rem); color: var(--blue-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.5rem; color: var(--blue); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 24px; max-width: 68ch; }

/* ------------------------------ Cookie banner -------------------------- */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 210; padding: 0 clamp(12px, 4vw, 28px) clamp(12px, 3vw, 24px);
  transform: translateY(130%); transition: transform .5s var(--ease); pointer-events: none; }
.cookie.show { transform: none; pointer-events: auto; }
.cookie__inner { max-width: var(--maxw); margin: 0 auto; background: var(--blue-ink); color: var(--cream);
  border-radius: 8px; padding: 18px 22px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.6); }
.cookie__text { flex: 1; min-width: 240px; font-size: .9rem; line-height: 1.55; color: rgba(246,241,231,.85); }
.cookie__text b { color: var(--cream); font-weight: 600; }
.cookie__link { color: var(--cream); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.cookie__link:hover { color: var(--blue-soft); }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie__btn { font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: .85em 1.5em; border-radius: 3px; cursor: pointer; border: 1px solid; transition: all .3s var(--ease); }
.cookie__btn--accept { background: var(--cream); color: var(--blue-ink); border-color: var(--cream); }
.cookie__btn--accept:hover { background: var(--blue-soft); border-color: var(--blue-soft); }
.cookie__btn--decline { background: transparent; color: var(--cream); border-color: rgba(246,241,231,.45); }
.cookie__btn--decline:hover { background: rgba(246,241,231,.12); }
@media (max-width: 560px) { .cookie__inner { flex-direction: column; align-items: stretch; } .cookie__actions { justify-content: stretch; } .cookie__btn { flex: 1; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .cookie { transition: none; } }

/* ------------------------------ Reveal --------------------------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero__img img { animation: none; } .strip__row { animation: none; } }

/* ------------------------------ Responsive ----------------------------- */
@media (max-width: 960px) {
  .svc-list { grid-template-columns: 1fr; gap: 0; }
  .svc { padding-block: 24px; }
  .feat-a, .feat-b, .feat-c, .feat-d { grid-column: span 12; }
  .feat-a .media, .feat-b .media, .feat-c .media, .feat-d .media { aspect-ratio: 3/2; }
  .feat--three { grid-template-columns: 1fr; }
  .feat--three .feat-card .media { aspect-ratio: 3/2; }
  /* Per-image mobile crop focus, set from the admin (var written into each
     feature <img> by regenerate()). Defaults to centre. */
  .feat-card .media img { object-position: var(--feat-pos, 50% 50%); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--reverse .split__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; }
  .hero__meta { display: none; }
  .quotes { grid-template-columns: 1fr; gap: 0; }
  .quote { padding-block: 26px; }
}
@media (max-width: 780px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 340px); height: 100vh; height: 100dvh; overflow-y: auto;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 26px;
    background: var(--cream); padding: 44px; transform: translateX(100%); transition: transform .5s var(--ease);
    box-shadow: -24px 0 70px -30px rgba(0,0,0,.4);
  }
  .nav.open { transform: translateX(0); }
  /* When scrolled, the header has backdrop-filter, which would make the fixed
     drawer position relative to the header bar (collapsing it). Neutralise the
     filter while the menu is open, and lift the header above the scrim so the
     drawer covers the whole screen and the close button stays tappable. */
  body.nav-open .site-header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; z-index: 300; }
  body.nav-open { overflow: hidden; }
  body.nav-open::before { content: ""; position: fixed; inset: 0; background: rgba(20, 25, 28, .5); z-index: 150; }
  .nav > a, .site-header.on-hero:not(.scrolled) .nav > a { color: var(--ink); font-size: 1rem; }
  .nav .lang-toggle, .site-header.on-hero:not(.scrolled) .nav .lang-toggle { color: var(--ink); border-color: var(--sand); }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header.on-hero:not(.scrolled) .nav-toggle.open span { background: var(--ink); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { justify-content: flex-start; }
}
@media (max-width: 460px) { .gallery { columns: 1; } }
