/* ============================================================
   FIDAMSEL — Photography · Videography · Content Creation
   Luxury black & gold design system
   ============================================================ */

:root {
  --black: #070605;
  --black-2: #0d0b09;
  --black-3: #14110d;
  --ink: #1a160f;
  --gold: #d4af37;
  --gold-soft: #c9a24b;
  --gold-pale: #f3e3ae;
  --gold-deep: #8a6d1f;
  --gold-grad: linear-gradient(120deg, #f7e7b4 0%, #d4af37 38%, #a87f22 70%, #f0d98c 100%);
  --cream: #f4eede;
  --text: #cfc8b8;
  --text-dim: #97907f;
  --line: rgba(212, 175, 55, 0.16);
  --line-strong: rgba(212, 175, 55, 0.38);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-gold: 0 10px 40px -12px rgba(212, 175, 55, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.75;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--black); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* subtle grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0.05;
  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'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

.container { width: min(1240px, 92%); margin: 0 auto; }

/* ---------- Typography helpers ---------- */

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 11.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 400;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold-grad);
}
.eyebrow--center::after {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold-grad);
}

.h-display, .h-1, .h-2, .h-3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.08;
}
.h-display { font-size: clamp(46px, 7.2vw, 104px); letter-spacing: 0.01em; }
.h-1 { font-size: clamp(40px, 5.4vw, 72px); }
.h-2 { font-size: clamp(32px, 3.8vw, 52px); }
.h-3 { font-size: clamp(24px, 2.4vw, 32px); }

.h-2 em, .h-1 em, .h-display em {
  font-style: italic;
  font-weight: 400;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { font-size: 19px; color: var(--text); max-width: 62ch; }

.section { padding: clamp(90px, 11vw, 150px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 20px; color: var(--text-dim); }

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 38px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  overflow: hidden;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.45s var(--ease);
}
.btn svg { width: 15px; height: 15px; transition: transform 0.45s var(--ease); }
.btn:hover svg { transform: translateX(6px); }

.btn--gold {
  background: var(--gold-grad);
  background-size: 200% 100%;
  color: #171207;
  box-shadow: var(--shadow-gold);
  transition: background-position 0.6s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.btn--gold:hover {
  background-position: 100% 0;
  transform: translateY(-3px);
  box-shadow: 0 18px 50px -12px rgba(212, 175, 55, 0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--gold-pale);
  border: 1px solid var(--line-strong);
}
.btn--ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn--ghost { z-index: 0; }
.btn--ghost:hover { color: #171207; border-color: transparent; }
.btn--ghost:hover::before { transform: scaleX(1); }

.btn--dark {
  background: var(--black);
  color: var(--gold-pale);
}
.btn--dark:hover { transform: translateY(-3px); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  transition: gap 0.4s var(--ease), color 0.4s var(--ease);
}
.link-more:hover { gap: 20px; color: var(--gold-pale); }

/* ---------- Preloader ---------- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader-word {
  font-family: var(--serif);
  /* sized off the viewport so all 8 letters always fit on one line */
  font-size: clamp(19px, 6vw, 54px);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  color: var(--cream);
  white-space: nowrap;
  max-width: 100%;
}
.preloader-word span {
  display: inline-block;
  opacity: 0;
  animation: letterIn 0.7s var(--ease) forwards;
}
@keyframes letterIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.preloader-line {
  width: 200px;
  height: 1px;
  background: rgba(212, 175, 55, 0.2);
  overflow: hidden;
}
.preloader-line::after {
  content: "";
  display: block;
  height: 100%;
  background: var(--gold-grad);
  animation: lineFill 1.1s var(--ease) forwards 0.25s;
  transform: scaleX(0);
  transform-origin: left;
}
@keyframes lineFill { to { transform: scaleX(1); } }
body.no-preloader .preloader { display: none; }

/* ---------- Header ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.5s ease, box-shadow 0.5s ease, padding 0.5s ease;
  padding: 26px 0;
}
.header.is-scrolled {
  padding: 14px 0;
  background: rgba(7, 6, 5, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo { display: flex; align-items: center; gap: 14px; }
/* Real brand logo assets */
.logo-lockup { height: 46px; width: auto; display: block; transition: height 0.5s var(--ease); }
.header.is-scrolled .logo-lockup { height: 38px; }
.logo-mark-img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; transition: width 0.5s var(--ease), height 0.5s var(--ease); }
.header.is-scrolled .logo-mark-img { width: 42px; height: 42px; }
.footer-brand .logo-mark-img { width: 44px; height: 44px; }
@media (max-width: 900px) {
  .logo-lockup { height: 38px; }
  .logo-mark-img { width: 42px; height: 42px; }
}
.logo-mark {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  transform: rotate(45deg);
  transition: transform 0.6s var(--ease), border-color 0.4s ease;
  flex-shrink: 0;
}
.logo-mark span {
  transform: rotate(-45deg);
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo:hover .logo-mark { transform: rotate(225deg); border-color: var(--gold); }
.logo-name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.28em;
  color: var(--cream);
  line-height: 1;
}
.logo-tag {
  display: block;
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.34em;
  color: var(--gold-soft);
  margin-top: 6px;
  text-transform: uppercase;
}

/* Parent-company strip above the photography header */
.group-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 51;
  background: #040403;
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 9px 20px;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.group-strip a {
  color: var(--gold-soft);
  transition: color 0.3s ease;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 1px;
}
.group-strip a:hover { color: var(--gold-pale); }
/* The strip is fixed, so the header must always sit BELOW it — otherwise the
   header slides under the strip on scroll and the logo/button get clipped. */
.site-photo .header,
.site-photo .header.is-scrolled { top: 34px; }
@media (max-width: 620px) {
  .group-strip { font-size: 8.5px; letter-spacing: 0.14em; padding: 7px 14px; }
  .site-photo .header,
  .site-photo .header.is-scrolled { top: 29px; }
}

/* ---- Two brands, two headers ---- */
/* Group: restrained, corporate — wide muted tagline, outlined mark */
.header--group .logo-tag {
  font-size: 8px;
  letter-spacing: 0.46em;
  color: var(--text-dim);
}
.header--group .logo-name { letter-spacing: 0.32em; }
.header--group.is-scrolled { background: rgba(7, 6, 5, 0.94); }

/* Photography: warmer, artistic — italic serif tagline, solid gold mark */
.header--photo .logo-mark {
  background: var(--gold-grad);
  border-color: transparent;
}
.header--photo .logo-mark span {
  background: none;
  -webkit-text-fill-color: #171207;
  color: #171207;
}
.header--photo .logo-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: none;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.header--photo .logo-name { letter-spacing: 0.24em; }
.header--photo .nav a:not(.btn) { font-size: 11.5px; letter-spacing: 0.22em; }
.header--photo.is-scrolled { box-shadow: 0 1px 0 var(--line-strong); }

.btn--sm { padding: 12px 26px; font-size: 11px; }

.nav { display: flex; align-items: center; gap: 38px; }
.nav a:not(.btn) {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--text);
  padding: 6px 0;
  transition: color 0.35s ease;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--gold-pale); }
.nav a:not(.btn):hover::after, .nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav .btn { padding: 13px 28px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  width: 46px;
  height: 46px;
  cursor: pointer;
  position: relative;
  z-index: 60;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--gold-pale);
  margin: 5px auto;
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse at 30% 40%, #241c0e 0%, var(--black) 65%);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  animation: kenburns 22s var(--ease) infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.14) translate(-1.5%, 1.5%); }
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(7, 6, 5, 0.86) 0%, rgba(7, 6, 5, 0.42) 52%, rgba(7, 6, 5, 0.2) 100%),
    linear-gradient(to top, var(--black) 0%, transparent 34%),
    linear-gradient(to bottom, rgba(7, 6, 5, 0.62) 0%, transparent 28%);
}

/* Group cinematic hero */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: saturate(1.05) contrast(1.05);
}
@media (max-width: 820px) {
  /* Mobile uses a portrait crop of the video already centred on the sign, so the
     framing is handled — here we just let more of the sign glow through. */
  .hero { min-height: 86vh; }
  .hero-video { object-position: center; opacity: 0.62; }
  .hero--group .hero-veil {
    background:
      radial-gradient(ellipse 120% 70% at 50% 32%, rgba(7,6,5,0.28) 0%, rgba(7,6,5,0.62) 62%, rgba(7,6,5,0.82) 100%),
      linear-gradient(to bottom, rgba(7,6,5,0.35) 0%, transparent 30%, rgba(7,6,5,0.9) 82%);
  }
}
.hero .embers {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero--group .hero-content { position: relative; z-index: 2; }
.hero--group .hero-veil {
  background:
    radial-gradient(ellipse 95% 80% at 42% 45%, rgba(7,6,5,0.34) 0%, rgba(7,6,5,0.68) 74%, rgba(7,6,5,0.88) 100%),
    linear-gradient(to right, rgba(7,6,5,0.7) 0%, rgba(7,6,5,0.34) 55%, rgba(7,6,5,0.48) 100%),
    linear-gradient(to bottom, var(--black) 0%, transparent 26%);
}
/* The photography hero is a still photograph, not the group's video. The
   heavy scrim above exists to keep text legible over moving footage; a bright
   still only needs a soft left-side gradient, so the picture stays luminous. */
.site-photo .hero--group .hero-veil {
  background:
    linear-gradient(to right, rgba(7,6,5,0.82) 0%, rgba(7,6,5,0.42) 46%, rgba(7,6,5,0.12) 100%),
    linear-gradient(to bottom, rgba(7,6,5,0.55) 0%, transparent 26%, transparent 64%, rgba(7,6,5,0.72) 100%);
}
.site-photo .hero--group .hero-bg img { opacity: 0.9; }

.service-card--feature { background: linear-gradient(180deg, rgba(212,175,55,0.07), var(--black-2)); }
.service-card--feature::before { transform: scaleX(1); }

/* Section with a faint atmospheric background image (set --secbg inline). */
.section--bg { position: relative; isolation: isolate; }
.section--bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--secbg);
  background-size: cover;
  background-position: center;
  opacity: 0.16;
}
.section--bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, rgba(7,6,5,0.55), rgba(7,6,5,0.9) 100%),
    linear-gradient(to bottom, var(--black), rgba(7,6,5,0.6) 20%, rgba(7,6,5,0.6) 80%, var(--black));
}

.hero-content { padding: 160px 0 120px; max-width: 900px; }
.hero .h-display { margin: 10px 0 30px; }
.hero .h-display .line {
  display: block;
  overflow: hidden;
}
.hero .h-display .line span {
  display: block;
  transform: translateY(110%);
  animation: heroLine 1.1s var(--ease) forwards;
}
.hero .h-display .line:nth-child(2) span { animation-delay: 0.15s; }
.hero .h-display .line:nth-child(3) span { animation-delay: 0.3s; }
@keyframes heroLine { to { transform: none; } }

.hero-sub {
  max-width: 56ch;
  color: var(--text);
  font-size: 18px;
  margin-bottom: 44px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }

.hero-side {
  position: absolute;
  right: 4%;
  bottom: 130px;
  writing-mode: vertical-rl;
  font-size: 10.5px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-side::after {
  content: "";
  width: 1px;
  height: 70px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-scroll i {
  width: 1px;
  height: 52px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.hero-scroll i::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--gold);
  animation: scrollDrop 2.2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0% { top: -50%; }
  70%, 100% { top: 110%; }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  min-height: 66vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 70px;
}
.page-hero .hero-content { padding: 180px 0 0; }
/* Inner-page hero images sat too high and drew the eye upward. Anchor the crop
   lower-centre and deepen the veil so the photo reads as atmosphere behind the title. */
/* Image fills the hero evenly (like the home hero) instead of fading to a black
   lower half. Even radial veil keeps the title readable without a hard black band. */
.page-hero .hero-bg img { object-position: center 42%; opacity: 0.74; }
.page-hero .hero-veil {
  background:
    radial-gradient(ellipse 110% 95% at 62% 42%, rgba(7,6,5,0.2) 0%, rgba(7,6,5,0.5) 68%, rgba(7,6,5,0.72) 100%),
    linear-gradient(to right, rgba(7,6,5,0.72) 0%, rgba(7,6,5,0.24) 58%, rgba(7,6,5,0.3) 100%),
    linear-gradient(to bottom, var(--black) 0%, transparent 24%, transparent 74%, rgba(7,6,5,0.74) 100%);
}
@media (max-width: 820px) {
  .page-hero .hero-bg img { object-position: center 42%; }
}
.breadcrumb {
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 26px;
}
.breadcrumb a { color: var(--gold-soft); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--gold-pale); }
.breadcrumb span { margin: 0 12px; color: var(--gold-deep); }

/* ---------- Marquee ---------- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  overflow: hidden;
  background: var(--black-2);
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track span {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.4);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 64px;
}
.marquee-track span::after {
  content: "✦";
  -webkit-text-stroke: 0;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.6em;
}
.marquee-track span:nth-child(odd) {
  -webkit-text-stroke: 0;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- About split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 6vw, 100px);
  align-items: center;
}
.split--rev > .split-media { order: 2; }

.split-media { position: relative; }
.frame {
  position: relative;
  overflow: hidden;
}
.frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(244, 238, 222, 0.28);
  pointer-events: none;
  transition: inset 0.6s var(--ease);
}
.frame:hover::after { inset: 22px; }
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform 1.2s var(--ease);
}
.frame:hover img { transform: scale(1.06); }

.split-media .frame--main { width: 82%; }
.frame--float {
  position: absolute;
  right: 0;
  bottom: -60px;
  width: 52%;
  border: 10px solid var(--black);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}
.frame--float img { aspect-ratio: 1 / 1; }

.media-badge {
  position: absolute;
  top: -34px;
  right: 6%;
  width: 128px;
  height: 128px;
  z-index: 2;
  animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.media-badge svg { width: 100%; height: 100%; }
.media-badge text {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  fill: var(--gold-soft);
}
.media-badge .badge-star { fill: var(--gold); font-size: 20px; }

.dropcap::first-letter {
  font-family: var(--serif);
  font-size: 4.4em;
  line-height: 0.78;
  float: left;
  margin: 8px 16px 0 0;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.split-body p + p { margin-top: 20px; }
.split-body .h-2 { margin-bottom: 26px; }
.split-body .link-more, .split-body .btn { margin-top: 38px; }

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 54px 20px;
  text-align: center;
  border-left: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.stat:first-child { border-left: none; }
.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(212, 175, 55, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.stat:hover::before { opacity: 1; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(44px, 4.6vw, 68px);
  line-height: 1;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- Service cards ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--black-2);
  padding: 56px 44px 50px;
  position: relative;
  overflow: hidden;
  transition: background 0.6s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.service-card:hover { background: var(--black-3); }
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.3em;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 30px;
}
.service-card .h-3 { margin-bottom: 18px; transition: color 0.4s ease; }
.service-card:hover .h-3 {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.service-card p { color: var(--text-dim); font-size: 15px; margin-bottom: 26px; }
.service-card ul li {
  font-size: 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.service-card ul li::before {
  content: "✦";
  font-size: 9px;
  color: var(--gold);
}
.service-card .link-more { margin-top: 30px; }

/* ---------- Portfolio grid ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 18px;
}
.work-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--black-3);
}
.work-item--tall { grid-row: span 2; }
.work-item--wide { grid-column: span 2; }
.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.8s ease;
  filter: saturate(0.97) contrast(1.01);
}
.work-item:hover img { transform: scale(1.08); filter: saturate(1.05); }
.work-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 6, 5, 0.9) 0%, transparent 55%);
  opacity: 0.65;
  transition: opacity 0.5s ease;
}
.work-item:hover::after { opacity: 1; }
.work-cap {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  z-index: 2;
  transform: translateY(12px);
  opacity: 0.85;
  transition: transform 0.55s var(--ease), opacity 0.55s ease;
}
.work-item:hover .work-cap { transform: none; opacity: 1; }
.work-cap em {
  display: block;
  font-family: var(--serif);
  font-style: normal;
  font-size: 24px;
  color: var(--cream);
  line-height: 1.2;
}
.work-cap small {
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.work-item .work-plus {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(244, 238, 222, 0.4);
  display: grid;
  place-items: center;
  color: var(--cream);
  font-size: 18px;
  font-weight: 300;
  opacity: 0;
  transform: rotate(-90deg) scale(0.7);
  transition: all 0.5s var(--ease);
}
.work-item:hover .work-plus { opacity: 1; transform: none; }

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 54px;
}
.filter-btn {
  background: none;
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 12px 26px;
  cursor: pointer;
  transition: all 0.4s ease;
}
.filter-btn:hover { color: var(--gold-pale); border-color: var(--line-strong); }
.filter-btn.is-active {
  background: var(--gold-grad);
  color: #171207;
  border-color: transparent;
  font-weight: 500;
}
.work-item.is-hidden { display: none; }

/* ---------- Why choose ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(36px, 4vw, 60px) clamp(30px, 4vw, 56px);
}
.why-item { position: relative; padding-left: 74px; }
.why-item .why-num {
  position: absolute;
  left: 0;
  top: 2px;
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.55);
}
.why-item h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 10px;
}
.why-item p { font-size: 15px; color: var(--text-dim); }

/* ---------- Values ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value-card {
  background: var(--black-2);
  padding: 44px 42px;
  display: flex;
  gap: 28px;
  transition: background 0.5s ease;
  position: relative;
  overflow: hidden;
}
.value-card:hover { background: var(--black-3); }
.value-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold-grad);
  transform: scaleY(0);
  transition: transform 0.6s var(--ease);
}
.value-card:hover::after { transform: scaleY(1); }
.value-num {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  flex-shrink: 0;
  padding-top: 4px;
}
.value-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 8px;
}
.value-card p { font-size: 15px; color: var(--text-dim); }

/* ---------- Quote band ---------- */

.quote-band {
  text-align: center;
  padding: clamp(100px, 12vw, 170px) 0;
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(212, 175, 55, 0.07), transparent),
    var(--black-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-band--bg { isolation: isolate; }
.quote-band--bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--secbg);
  background-size: cover;
  background-position: center;
  opacity: 0.14;
}
.quote-band .qmark {
  font-family: var(--serif);
  font-size: 120px;
  line-height: 0.4;
  display: block;
  margin-bottom: 34px;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quote-band blockquote {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  max-width: 24ch;
  margin: 0 auto;
  line-height: 1.35;
}
.quote-band cite {
  display: block;
  margin-top: 34px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--gold-grad);
  color: #171207;
  padding: clamp(80px, 9vw, 130px) 0;
}
.cta-band::before {
  content: "FIDAMSEL";
  position: absolute;
  right: -2%;
  bottom: -22%;
  font-family: var(--serif);
  font-size: clamp(120px, 20vw, 300px);
  letter-spacing: 0.05em;
  color: rgba(23, 18, 7, 0.07);
  pointer-events: none;
  white-space: nowrap;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  flex-wrap: wrap;
  position: relative;
}
.cta-band .h-1 { color: #171207; }
.cta-band .h-1 em {
  background: none;
  color: #171207;
  -webkit-text-fill-color: currentColor;
  font-style: italic;
}
.cta-band p { color: rgba(23, 18, 7, 0.75); margin-top: 16px; max-width: 50ch; font-weight: 400; }

/* ---------- Team ---------- */

.team-band {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(50px, 6vw, 90px);
  align-items: center;
}
.team-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.team-collage .frame:nth-child(2) { margin-top: 44px; }
.team-collage .frame img { aspect-ratio: 3 / 4; }

/* ---------- Process / timeline ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  counter-reset: step;
}
.process-step { position: relative; padding-top: 34px; }
.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: -40px;
  height: 1px;
  background: var(--line);
}
.process-step:last-child::before { right: 0; }
.process-step::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--gold-grad);
}
.process-step h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--cream);
  font-weight: 500;
  margin-bottom: 10px;
}
.process-step h3 small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.36em;
  color: var(--gold-soft);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.process-step p { font-size: 14.5px; color: var(--text-dim); }

/* ---------- Service detail sections ---------- */

.svc-detail { border-top: 1px solid var(--line); }
.svc-detail:first-of-type { border-top: none; }
.svc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 40px;
  margin-top: 34px;
}
.svc-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  font-size: 15.5px;
  color: var(--text);
  transition: color 0.35s ease, padding-left 0.35s var(--ease);
}
.svc-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
  flex-shrink: 0;
  transition: background 0.35s ease;
}
.svc-list li:hover { color: var(--gold-pale); padding-left: 8px; }
.svc-list li:hover::before { background: var(--gold); }

.svc-tag {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(90px, 12vw, 170px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.25);
  position: absolute;
  top: 40px;
  right: 0;
  pointer-events: none;
  user-select: none;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.loc-card {
  border: 1px solid var(--line);
  background: var(--black-2);
  padding: 52px 48px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.5s ease, transform 0.5s var(--ease);
}
.loc-card:hover { border-color: var(--line-strong); transform: translateY(-6px); }
.loc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-grad);
}
.loc-flag {
  font-size: 30px;
  margin-bottom: 20px;
  display: block;
}
.loc-card h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 6px;
}
.loc-card .loc-sub {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 30px;
}
.loc-row {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  font-size: 15px;
}
.loc-row svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 4px;
  stroke: var(--gold);
}
.loc-row a { color: var(--text); transition: color 0.3s; }
.loc-row a:hover { color: var(--gold-pale); }
.loc-row .loc-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

/* Form */
.contact-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(50px, 6vw, 90px);
  align-items: start;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 10px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--black-2);
  border: 1px solid var(--line);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  padding: 15px 18px;
  outline: none;
  transition: border-color 0.4s ease, background 0.4s ease;
  border-radius: 0;
}
.field select { appearance: none; cursor: pointer; }
.field select option { background: var(--black-2); }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  background: var(--black-3);
}
.form-note { font-size: 13px; color: var(--text-dim); margin-top: 18px; }

.email-list { margin-top: 40px; }
.email-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  font-size: 14.5px;
  flex-wrap: wrap;
}
.email-list li span { color: var(--text-dim); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.email-list li a { color: var(--gold-soft); transition: color 0.3s; }
.email-list li a:hover { color: var(--gold-pale); }

.socials { display: flex; gap: 14px; margin-top: 36px; }
.socials a {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: all 0.4s var(--ease);
}
.socials a svg { width: 18px; height: 18px; fill: var(--gold-soft); transition: fill 0.4s; }
.socials a:hover { background: var(--gold-grad); border-color: transparent; transform: translateY(-4px); }
.socials a:hover svg { fill: #171207; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(212, 175, 55, 0.05), transparent),
    var(--black-2);
  padding: clamp(70px, 8vw, 100px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(40px, 5vw, 70px);
  padding-bottom: 70px;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 26px;
}
.footer-brand .logo { margin-bottom: 24px; }
.footer-brand p { font-size: 14.5px; color: var(--text-dim); max-width: 34ch; }
.footer-slogan {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--gold-pale);
  margin-top: 22px;
  line-height: 1.5;
}
.footer ul li { margin-bottom: 13px; }
.footer ul a {
  font-size: 14.5px;
  color: var(--text-dim);
  transition: color 0.3s, padding-left 0.3s var(--ease);
}
.footer ul a:hover { color: var(--gold-pale); padding-left: 8px; }
.footer-contact li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 15px;
}
.footer-contact li strong {
  color: var(--text);
  font-weight: 400;
  display: block;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}
.footer-bottom .gold-text { font-weight: 400; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(7, 6, 5, 0.94);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure {
  max-width: min(1100px, 88vw);
  max-height: 84vh;
  position: relative;
}
.lightbox img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border: 1px solid var(--line-strong);
  padding: 10px;
  background: var(--black-2);
}
.lightbox figcaption {
  margin-top: 18px;
  text-align: center;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--cream);
}
.lightbox figcaption small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 6px;
}
.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--gold-pale);
  width: 52px;
  height: 52px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.35s ease;
  z-index: 2;
}
.lb-btn:hover { background: var(--gold-grad); color: #171207; border-color: transparent; }
.lb-prev { left: 3vw; }
.lb-next { right: 3vw; }
.lb-close {
  position: absolute;
  top: 4vh;
  right: 3vw;
  transform: none;
}

/* ---------- Content videos ---------- */
/* A clip must occupy exactly the space its still would, so slots stay
   interchangeable — swapping an image for a video shifts no layout. */
.frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  display: block;
  transition: transform 1.2s var(--ease);
}
.frame:hover video { transform: scale(1.06); }
.frame--float video { aspect-ratio: 1 / 1; }
.team-collage .frame video { aspect-ratio: 3 / 4; }
.hero-bg video.hero-video { aspect-ratio: auto; }
.work-item video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }
.reveal[data-delay="5"] { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  /* the blanket rule above does not cover smooth scrolling */
  html { scroll-behavior: auto; }
}

/* ---------- Accessibility ---------- */

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--gold-grad);
  color: #171207;
  padding: 12px 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* A visible focus ring everywhere, without showing it on mouse clicks. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Country flags (emoji flags do not render on Windows) ---------- */

.flag {
  width: 22px;
  height: 11px;
  display: block;
  flex-shrink: 0;
  border: 1px solid rgba(244, 238, 222, 0.22);
}
.flag--lg { width: 42px; height: 21px; }
.footer-contact li > .flag { margin-top: 5px; }
.footer-contact .fc-ico { color: var(--gold); width: 22px; flex-shrink: 0; }
.loc-flag { display: block; margin-bottom: 20px; }

/* ---------- Honest empty gallery state ---------- */

.gallery-empty {
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(212, 175, 55, 0.07), transparent 70%),
    var(--black-2);
  padding: clamp(48px, 7vw, 86px) clamp(24px, 5vw, 60px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.gallery-empty::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold-grad);
}
.gallery-empty .ge-mark { display: block; margin-bottom: 26px; }
.gallery-empty .ge-mark img {
  width: 64px; height: 64px;
  margin: 0 auto;
  opacity: 0.85;
}
.gallery-empty h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 16px;
}
.gallery-empty p {
  color: var(--text-dim);
  font-size: 15.5px;
  max-width: 56ch;
  margin: 0 auto;
}
.ge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 38px;
}

/* ---------- Forms ---------- */

/* Honeypot: off-screen rather than display:none, which some bots detect. */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-status {
  margin-top: 18px;
  font-size: 14px;
  min-height: 22px;
  color: var(--text-dim);
}
.form-status.is-ok  { color: var(--gold-pale); }
.form-status.is-bad { color: #e0a09a; }
.btn.is-busy { opacity: 0.6; cursor: progress; }
.btn:disabled { cursor: not-allowed; }

/* ---------- Portfolio tiles are real buttons (keyboard + screen reader) ---------- */

button.work-item {
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  width: 100%;
  display: block;
  appearance: none;
}
.work-cap { display: block; }
.work-cap small { display: block; }

/* A page hero followed immediately by a section left a tall dead band of black;
   pull the first section up so the eye moves straight into the content. */
.section--tight-top { padding-top: clamp(56px, 6vw, 84px); }
.page-hero { padding-bottom: 54px; }

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 40;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-strong);
  background: rgba(7, 6, 5, 0.8);
  backdrop-filter: blur(8px);
  color: var(--gold-pale);
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.45s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-grad); color: #171207; border-color: transparent; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 50px 40px; }
  .process-step::before { right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .work-item--wide { grid-column: span 2; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(7, 6, 5, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
    z-index: 55;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  /* While the menu is open, strip the header's backdrop-filter/blur. Those
     properties create a containing block that would trap the fixed menu
     inside the header bar once the page is scrolled. */
  body.nav-open .header,
  body.nav-open .header.is-scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: transparent;
    box-shadow: none;
  }
  body.nav-open .group-strip { display: none; }
  body.nav-open .header,
  body.nav-open.site-photo .header { top: 0; }
  .nav a:not(.btn) { font-size: 16px; letter-spacing: 0.3em; }
  .nav-toggle { display: block; }
  .split, .contact-form-wrap, .team-band { grid-template-columns: 1fr; }
  .split--rev > .split-media { order: 0; }
  .split-media { margin-bottom: 50px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: none; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .svc-tag { display: none; }
  .svc-list { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .why-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 320px; }
  .work-item--wide, .work-item--tall { grid-column: auto; grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .frame--float { bottom: -34px; }
  .media-badge { width: 96px; height: 96px; top: -22px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .lb-prev { left: 2vw; }
  .lb-next { right: 2vw; }
  .logo-name { font-size: 18px; }
}
