:root {
  --bg: #0A1128;
  --bg-soft: #101b3b;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(212, 175, 55, 0.18);
  --text: #F5F5F5;
  --muted: #cfd5df;
  --gold: #D4AF37;
  --gold-strong: #f0cd67;
  --emerald: #046307;
  --emerald-strong: #0a8f0f;
  --emerald-soft: rgba(4, 99, 7, 0.2);
  --gold-soft: rgba(212, 175, 55, 0.18);
  --card-shadow: 0 22px 80px rgba(0, 0, 0, 0.38);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --header-height: 82px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 15%, rgba(4, 99, 7, 0.16), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(212, 175, 55, 0.10), transparent 24%),
    radial-gradient(circle at 18% 80%, rgba(4, 99, 7, 0.10), transparent 22%),
    linear-gradient(180deg, #0A1128 0%, #0d1635 48%, #0A1128 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
  display: block;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* ─── Noise texture overlay ─── */
.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px);
  background-size: 30px 30px, 22px 22px;
  mix-blend-mode: screen;
  z-index: 0;
}

/* ─── Ambient orbs ─── */
.bg-orb {
  position: fixed;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.orb-left {
  left: -6rem;
  top: 8rem;
  background: rgba(4, 99, 7, 0.72);
}

.orb-right {
  right: -6rem;
  top: 4rem;
  background: rgba(212, 175, 55, 0.26);
}

/* ─── Parallax hero background ─── */
.hero-parallax-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  will-change: opacity, transform;
  transition: opacity 0.05s linear;
}

.hero-parallax-img {
  position: absolute;
  inset: -20% 0 -20% 0;   /* oversized so parallax shift doesn't reveal edges */
  background-image: url('hero-bg.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

/* Multi-layer overlay: darkens image, adds brand colour cast, vignette */
.hero-parallax-overlay {
  position: absolute;
  inset: 0;
  background:
    /* vignette edges */
    radial-gradient(ellipse at 50% 50%, transparent 38%, rgba(10, 17, 40, 0.82) 100%),
    /* gold accent top-right */
    radial-gradient(circle at 85% 8%, rgba(212, 175, 55, 0.10), transparent 38%),
    /* emerald accent bottom-left */
    radial-gradient(circle at 12% 90%, rgba(4, 99, 7, 0.14), transparent 36%),
    /* base dark overlay — adjust opacity (currently 0.72) for lighter/darker feel */
    linear-gradient(180deg,
      rgba(10, 17, 40, 0.62) 0%,
      rgba(10, 17, 40, 0.50) 40%,
      rgba(10, 17, 40, 0.70) 70%,
      rgba(10, 17, 40, 0.94) 100%
    );
}

/* ─── Layout container ─── */
.container {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 3.4rem 0;
  position: relative;
  z-index: 2;
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: linear-gradient(180deg, rgba(10, 17, 40, 0.88), rgba(10, 17, 40, 0.68));
  border-bottom: 1px solid rgba(212, 175, 55, 0.10);
  box-shadow: 0 1px 0 rgba(212, 175, 55, 0.06), 0 8px 32px rgba(0, 0, 0, 0.22);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-mark__label {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.header-nav {
  display: none;
  align-items: center;
  gap: 1.4rem;
}

.header-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.header-nav a:hover {
  color: var(--gold-strong);
}

.header-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 999px;
}

.lang-btn {
  min-width: 46px;
  padding: 0.52rem 0.8rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn.is-active {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.28), rgba(212, 175, 55, 0.12));
  color: #fff;
  border: 1px solid rgba(212, 175, 55, 0.16);
}

/* ─── Hero section ─── */
.hero {
  padding-top: clamp(2.2rem, 3.5vw, 4rem);
  /* The hero sits over the parallax background */
  background: transparent;
}

.hero-grid {
  display: grid;
  gap: 1.2rem;
}

/* Cards / surfaces share border + shadow */
.hero-copy,
.hero-showcase,
.hero-card,
.stack-item,
.contact-card,
.principle-card,
.service-card,
.work-card,
.service-drawer,
.lightbox-dialog {
  border: 1px solid rgba(212, 175, 55, 0.10);
  box-shadow: var(--card-shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    linear-gradient(180deg, rgba(16, 27, 59, 0.88), rgba(10, 17, 40, 0.94));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-color: rgba(212, 175, 55, 0.14);
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.28), transparent);
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -4rem -6rem auto;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 70%);
}

/* ─── Typography ─── */
.eyebrow,
.micro-tag,
.form-shell__eyebrow,
.contact-card__label,
.principle-card__number {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-title,
.section-title,
#serviceDrawerTitle,
#lightboxTitle,
.hero-card__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5.9rem);
  margin-top: 0.75rem;
  max-width: 12ch;
}

.hero-text,
.section-copy,
.drawer-description,
#lightboxDescription,
.contact-card__text,
.principle-card p,
.service-card__description,
.work-card__description,
.form-shell__placeholder p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.hero-text {
  margin-top: 1rem;
  max-width: 36rem;
}

.hero-actions,
.contact-actions,
.drawer-actions,
.lightbox-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

/* ─── Buttons ─── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.36), rgba(212, 175, 55, 0.16));
  border: 1px solid rgba(212, 175, 55, 0.32);
  color: #fff;
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.12);
}

.btn--primary:hover {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.46), rgba(212, 175, 55, 0.22));
  box-shadow: 0 6px 32px rgba(212, 175, 55, 0.20);
}

.btn--secondary {
  background: linear-gradient(180deg, rgba(4, 99, 7, 0.22), rgba(4, 99, 7, 0.12));
  border: 1px solid rgba(4, 99, 7, 0.36);
  color: #fff;
  box-shadow: 0 4px 24px rgba(4, 99, 7, 0.08);
}

.btn--secondary:hover {
  background: linear-gradient(180deg, rgba(4, 99, 7, 0.32), rgba(4, 99, 7, 0.18));
}

.btn--block {
  width: 100%;
}

/* ─── Hero bullet points ─── */
.hero-points {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.hero-points li {
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-points li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
}

/* ─── Hero showcase cards ─── */
.hero-showcase {
  display: grid;
  gap: 1rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 1.3rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, rgba(16, 27, 59, 0.88), rgba(4, 99, 7, 0.14));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  min-height: 220px;
}

.hero-card > .micro-tag {
  position: absolute;
  top: 1.3rem;
  left: 1.3rem;
  z-index: 2;
}

.hero-card--tall {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-card--tall::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: calc(var(--radius-lg) - 10px);
  border: 1px solid rgba(212, 175, 55, 0.08);
  pointer-events: none;
}

.hero-card__content {
  position: relative;
  z-index: 1;
}

.hero-card__kicker {
  color: var(--gold);
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
}

.hero-card__title {
  font-size: clamp(2rem, 7vw, 3rem);
  max-width: 10ch;
}

.hero-card--stack {
  display: grid;
  gap: 1rem;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.stack-item {
  padding: 1.2rem;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(16, 27, 59, 0.88), rgba(4, 99, 7, 0.12));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.stack-item p {
  margin: 0.65rem 0 0;
  color: var(--text);
  font-weight: 600;
  line-height: 1.5;
}

/* ─── Section headers ─── */
.section-head {
  display: grid;
  gap: 0.8rem;
}

.section-title-row {
  display: grid;
  gap: 0.8rem;
}

.section-title {
  font-size: clamp(2.15rem, 6vw, 4.2rem);
}

/* ─── Grid layouts ─── */
.services-grid,
.works-grid,
.service-portfolio-grid,
.principles-grid,
.order-grid {
  display: grid;
  gap: 1rem;
}

.services-grid {
  margin-top: 1.3rem;
}

/* ─── Service cards ─── */
.service-card {
  position: relative;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(16, 27, 59, 0.95), rgba(4, 99, 7, 0.10));
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -2rem -2rem auto;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.14), transparent 70%);
}

.service-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.service-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(4, 99, 7, 0.22), rgba(4, 99, 7, 0.10));
  border: 1px solid rgba(4, 99, 7, 0.28);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  flex: 0 0 auto;
}

.service-card__title {
  margin: 0.9rem 0 0.45rem;
  font-size: 1.35rem;
  line-height: 1.15;
}

.service-card__description {
  min-height: 4.75rem;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.service-chip,
.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.service-card__button {
  color: var(--text);
  font-weight: 700;
}

.service-card__button::after {
  content: "↗";
  margin-left: 0.45rem;
}

/* ─── Works toolbar ─── */
.works-toolbar {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.filter-chip {
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.filter-chip.is-active {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.10));
  color: #fff;
  border-color: rgba(212, 175, 55, 0.28);
}

.text-btn {
  color: var(--gold-strong);
  font-weight: 700;
}

.works-grid,
.service-portfolio-grid {
  margin-top: 1.2rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* ─── Work cards ─── */
.work-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(16, 27, 59, 0.95), rgba(4, 99, 7, 0.08));
}

.work-card__media {
  aspect-ratio: 4 / 5;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.16), transparent 30%),
    linear-gradient(160deg, #121c40 0%, #0A1128 38%, #0d1b39 100%);
  position: relative;
}

.work-card__media--video::before,
.work-card__media--embed::before {
  content: "▶";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 1.4rem;
  background: rgba(10, 17, 40, 0.78);
  border: 1px solid rgba(212, 175, 55, 0.16);
  z-index: 2;
}

.work-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
}

.work-card__placeholder span {
  display: inline-flex;
  flex-direction: column;
  gap: 0.45rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 0.9;
  color: rgba(245, 245, 245, 0.94);
}

.work-card__placeholder small {
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.work-card__image,
.work-card__video,
.lightbox-image,
.lightbox-video,
.work-card__embed,
.lightbox-embed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.work-card__body {
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
}

.work-card__title {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.work-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.work-card__service {
  color: var(--gold-strong);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.work-card__type {
  color: var(--muted);
  font-size: 0.78rem;
}

/* ─── Principles section ─── */
.principles-section {
  padding-top: 2rem;
}

.principles-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.principle-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(16, 27, 59, 0.94), rgba(4, 99, 7, 0.10));
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.principle-card:hover {
  border-color: rgba(212, 175, 55, 0.18);
  transform: translateY(-2px);
}

.principle-card h3 {
  margin: 0.7rem 0 0.55rem;
  font-size: 1.25rem;
}

/* ─── Order / Contacts section ─── */
.order-grid {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.order-copy {
  max-width: 900px;
}

.contact-card {
  margin-top: 1.35rem;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(16, 27, 59, 0.96), rgba(4, 99, 7, 0.12));
  border-color: rgba(212, 175, 55, 0.14);
}

.contact-card__title {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-strong);
  transition: color 0.2s ease;
}

.contact-card__title:hover {
  color: #fff;
}

/* ─── Sticky mobile CTA ─── */
.sticky-mobile-cta {
  position: sticky;
  bottom: 0;
  z-index: 24;
  padding: 0.75rem 1rem 1rem;
  background: linear-gradient(180deg, rgba(10, 17, 40, 0), rgba(10, 17, 40, 0.96) 36%);
}

/* ─── Drawer & Lightbox ─── */
.service-drawer,
.drawer-backdrop,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.drawer-backdrop,
.lightbox-backdrop {
  background: rgba(2, 5, 12, 0.72);
  backdrop-filter: blur(6px);
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.service-drawer {
  inset: auto 0 0 0;
  max-height: 92vh;
  border-radius: 28px 28px 0 0;
  background:
    linear-gradient(180deg, rgba(10, 17, 40, 0.97), rgba(10, 17, 40, 0.98)),
    linear-gradient(180deg, rgba(4, 99, 7, 0.12), transparent);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.45);
  overflow: auto;
}

.drawer-inner {
  padding: 1.2rem 1rem 2rem;
}

.drawer-close,
.lightbox-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.16);
  font-size: 1.7rem;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.drawer-close:hover,
.lightbox-close:hover {
  background: rgba(212, 175, 55, 0.10);
  border-color: rgba(212, 175, 55, 0.28);
}

.lightbox {
  display: grid;
  place-items: center;
  padding: 1rem;
}

.lightbox-dialog {
  position: relative;
  z-index: 2;
  width: min(100%, 1100px);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(10, 17, 40, 0.97), rgba(10, 17, 40, 0.99));
}

.lightbox-media {
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(160deg, #121c40 0%, #0A1128 38%, #102553 100%);
}

.lightbox-copy {
  padding: 1.1rem;
  display: grid;
  gap: 0.7rem;
}

/* ─── Visibility transitions ─── */
.drawer-backdrop,
.lightbox {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.drawer-backdrop.is-visible,
.lightbox.is-visible {
  opacity: 1;
  visibility: visible;
}

.service-drawer {
  transform: translateY(100%);
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.45s ease;
}

.service-drawer.is-visible {
  transform: translateY(0);
  visibility: visible;
}

.lightbox-dialog {
  opacity: 0;
  transform: scale(0.96) translateY(12px);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.lightbox.is-visible .lightbox-dialog {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.is-hidden {
  display: none !important;
}

/* ─── Reveal animations ─── */
.reveal-up {
  animation: revealUp 0.9s ease both;
}

.delay-1 {
  animation-delay: 0.12s;
}

.delay-2 {
  animation-delay: 0.22s;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Card hover states ─── */
.service-card {
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  border-color: rgba(212, 175, 55, 0.24);
  transform: translateY(-3px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.work-card {
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
  border-color: rgba(212, 175, 55, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

/* ─── Responsive breakpoints ─── */
@media (min-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 48px));
  }

  .section {
    padding: 4rem 0;
  }

  .header-nav {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: stretch;
  }

  .hero-copy {
    padding: 2.5rem;
  }

  .section-title-row {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works-grid,
  .service-portfolio-grid,
  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sticky-mobile-cta {
    display: none;
  }

  .drawer-inner {
    padding: 1.6rem 1.6rem 2.4rem;
  }

  .lightbox-dialog {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  }

  .lightbox-media {
    min-height: 620px;
  }

  .lightbox-copy {
    padding: 1.4rem;
    align-content: start;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 5rem 0;
  }

  .hero-copy,
  .contact-card,
  .service-card,
  .principle-card,
  .work-card {
    border-radius: 30px;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .works-grid,
  .service-portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .principles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-drawer {
    inset: 1rem 1rem 1rem auto;
    width: min(660px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    border-radius: 32px;
    transform: translateX(100%);
  }

  .service-drawer.is-visible {
    transform: translateX(0);
  }
}

/* ─── Focus accessibility ─── */
.btn:focus-visible,
.lang-btn:focus-visible,
.filter-chip:focus-visible,
.service-card__button:focus-visible,
.drawer-close:focus-visible,
.lightbox-close:focus-visible,
.header-nav a:focus-visible,
.work-card__trigger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ─── Footer ─── */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(212, 175, 55, 0.08);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-brand {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-strong);
}

.footer-copy {
  color: var(--muted);
  font-size: 0.78rem;
  opacity: 0.6;
}

/* ─── Explore-style media system ─── */
.work-card__trigger {
  all: unset;
  display: block;
  width: 100%;
  cursor: pointer;
}

.work-card__media {
  aspect-ratio: var(--media-aspect, 4 / 5);
  position: relative;
  overflow: hidden;
}

.media-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-fill--contain {
  object-fit: contain;
  background: #070d20;
}

.media-badge,
.media-open-indicator,
.media-sound-btn,
.media-carousel__nav-btn,
.external-preview__link,
.media-fallback-link {
  position: relative;
  z-index: 4;
}

.media-badge,
.media-open-indicator {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: rgba(10, 17, 40, 0.72);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-badge {
  top: 0.8rem;
  left: 0.8rem;
}

.media-open-indicator {
  top: 0.8rem;
  right: 0.8rem;
  width: 36px;
  min-height: 36px;
  padding: 0;
  font-size: 1rem;
  letter-spacing: 0;
}

.media-video-shell,
.pdf-preview,
.external-preview,
.media-carousel,
.lightbox-media-inner {
  position: absolute;
  inset: 0;
}

.media-video,
.external-preview__frame,
.lightbox-frame {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
  background: #070d20;
}

.media-video {
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.work-card:hover .media-video,
.work-card:hover .media-fill {
  transform: scale(1.02);
}

.media-video-shell.has-fallback .media-video {
  display: none;
}

.media-sound-btn,
.media-fallback-link {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 17, 40, 0.75);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.media-sound-btn span:first-child {
  font-size: 1rem;
}

.media-fallback-link {
  text-decoration: none;
}

.media-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.media-carousel__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
}

.media-carousel__slide > * {
  position: absolute;
  inset: 0;
}

.media-carousel__nav {
  position: absolute;
  inset: 50% 0.8rem auto 0.8rem;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 5;
}

.media-carousel__nav-btn {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 17, 40, 0.75);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
}

.media-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  transform: translateX(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(10, 17, 40, 0.5);
  backdrop-filter: blur(8px);
}

.media-carousel__dot {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.32);
}

.media-carousel__dot.is-active {
  background: var(--gold-strong);
  border-color: rgba(212, 175, 55, 0.48);
}

.external-preview__viewport,
.external-preview__viewport iframe,
.pdf-preview--lightbox,
.lightbox-media-inner {
  position: absolute;
  inset: 0;
}

.external-preview__frame {
  width: 160%;
  height: 160%;
  transform: scale(0.625);
  transform-origin: top left;
  pointer-events: none;
}

.external-preview--lightbox .external-preview__frame {
  width: 100%;
  height: 100%;
  transform: none;
  pointer-events: auto;
}

.external-preview__toolbar {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.external-preview__link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(4, 99, 7, 0.34);
  background: rgba(4, 99, 7, 0.24);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.pdf-preview--lightbox .lightbox-frame,
.external-preview--lightbox .external-preview__viewport {
  position: absolute;
  inset: 0;
}

.lightbox-media {
  aspect-ratio: var(--media-aspect, 4 / 5);
  position: relative;
  min-height: min(82vh, 860px);
}

.lightbox-media-inner {
  position: relative;
}

.lightbox-media .media-badge,
.lightbox-media .media-open-indicator {
  display: none;
}

.lightbox-media .media-video,
.lightbox-media .media-fill,
.lightbox-media .lightbox-frame,
.lightbox-media .external-preview__frame {
  object-fit: contain;
}

.lightbox-media .media-video-shell,
.lightbox-media .pdf-preview,
.lightbox-media .external-preview,
.lightbox-media .media-carousel {
  position: absolute;
  inset: 0;
}

.lightbox-media .media-sound-btn,
.lightbox-media .external-preview__toolbar,
.lightbox-media .media-carousel__nav,
.lightbox-media .media-carousel__dots {
  z-index: 8;
}

.lightbox-media .media-sound-btn {
  left: 1rem;
  bottom: 1rem;
}

.work-card__description {
  margin-top: 0;
}

.lightbox-copy {
  overflow-y: auto;
}

@media (max-width: 719px) {
  .external-preview__frame {
    width: 190%;
    height: 190%;
    transform: scale(0.525);
  }

  .media-badge,
  .media-open-indicator,
  .media-sound-btn,
  .media-carousel__nav-btn,
  .external-preview__link,
  .media-fallback-link {
    transform: scale(0.96);
    transform-origin: center;
  }
}

@media (min-width: 1024px) {
  .lightbox-dialog {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.52fr);
  }
}

/* ─── Drive video poster mode ─── */
.media-video-shell--poster {
  cursor: pointer;
  background: #070d20;
}

.media-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.work-card:hover .media-video-poster {
  transform: scale(1.03);
}

.media-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(10, 17, 40, 0.78);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #fff;
  font-size: 1.35rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.media-video-shell--iframe {
  background: #070d20;
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-up,
  .btn,
  .header-nav a,
  .filter-chip,
  .service-card,
  .work-card,
  .service-drawer,
  .drawer-backdrop,
  .lightbox,
  .lightbox-dialog,
  .hero-parallax-bg {
    animation: none !important;
    transition: none !important;
  }
}
