/* ── Design tokens — blue & gold ─────────────────────────── */
:root {
  --bg: #07101f;
  --bg-elevated: #0c1a32;
  --bg-card: #102240;
  --border: rgba(91, 143, 212, 0.18);
  --text: #f0f4fa;
  --text-muted: rgba(200, 215, 240, 0.65);
  --blue: #1e5a9e;
  --blue-bright: #3d7ec8;
  --blue-glow: rgba(61, 126, 200, 0.25);
  --accent: #d4af37;
  --accent-light: #e8c96a;
  --accent-dim: rgba(212, 175, 55, 0.15);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --container: min(1120px, calc(100% - 3rem));
  --header-h: 5.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset & base ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding-block: clamp(5rem, 12vw, 8rem);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.section-header {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  max-width: 32rem;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #07101f;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, #f0d78a 100%);
}

.btn-ghost {
  border-color: var(--border);
  background: transparent;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.btn-full {
  width: 100%;
}

.link-arrow {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  transition: opacity 0.3s;
}

.link-arrow:hover {
  opacity: 0.75;
}

.link-arrow-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s;
}

.site-header.scrolled {
  background: rgba(7, 16, 31, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.logo img {
  display: block;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 12px rgba(212, 175, 55, 0.2));
}

.logo-text {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.logo--header img {
  height: clamp(3.25rem, 8vw, 4.25rem);
  max-width: min(200px, 42vw);
}

.logo--footer img {
  height: clamp(2.75rem, 6vw, 3.5rem);
  max-width: min(180px, 38vw);
}

.logo--footer .logo-text {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.25s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.55rem 1.1rem !important;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text) !important;
}

.nav-cta:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-block: calc(var(--header-h) + 3rem) 4rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 31, 0.92) 0%, rgba(7, 16, 31, 0.55) 45%, rgba(7, 16, 31, 0.25) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 40%),
    radial-gradient(ellipse 70% 55% at 75% 15%, rgba(212, 175, 55, 0.12), transparent 55%),
    radial-gradient(ellipse 65% 50% at 15% 75%, var(--blue-glow), transparent 50%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-style: italic;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--blue-bright), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--blue-bright), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  right: max(1.5rem, calc((100% - var(--container)) / 2 + 0rem));
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--blue-bright), var(--accent));
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── Stats ───────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-block: 3.5rem;
  border-block: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Work / productions ──────────────────────────────────── */
.work {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.work-header-copy {
  max-width: 36rem;
}

.work-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.work-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.work-reel-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.work-card {
  cursor: pointer;
  group: work;
}

.work-card--featured {
  margin-bottom: 1.5rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(91, 143, 212, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.work-card--featured .work-thumb {
  aspect-ratio: 21 / 9;
}

.work-card:hover .work-thumb,
.work-card:focus-visible .work-thumb {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.work-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s;
}

.work-card:hover .work-thumb img,
.work-card:focus-visible .work-thumb img {
  transform: scale(1.04);
  filter: brightness(0.75);
}

.work-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, rgba(7, 16, 31, 0.35) 0%, transparent 40%, rgba(7, 16, 31, 0.55) 100%);
  pointer-events: none;
}

.work-category {
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(7, 16, 31, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 2px;
  backdrop-filter: blur(8px);
}

.work-play {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  align-self: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.work-play-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(7, 16, 31, 0.85);
  border: 2px solid var(--accent);
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.work-play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent var(--accent-light);
}

.work-play-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

.work-card:hover .work-play,
.work-card:focus-visible .work-play {
  opacity: 1;
  transform: translateY(0);
}

.work-meta {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 0.25rem 0;
}

.work-index {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--accent);
  opacity: 0.7;
  line-height: 1.3;
  min-width: 1.5rem;
}

.work-meta h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
  transition: color 0.25s;
}

.work-card:hover .work-meta h3,
.work-card:focus-visible .work-meta h3 {
  color: var(--accent-light);
}

.work-meta p {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.work-card:focus-visible {
  outline: none;
}

.work-card:focus-visible .work-thumb {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}

/* ── Video modal ─────────────────────────────────────────── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 16, 31, 0.88);
  backdrop-filter: blur(6px);
}

.video-modal-dialog {
  position: relative;
  width: min(960px, 100%);
  z-index: 1;
}

.video-modal-close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}

.video-modal-close:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

.video-modal-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 1rem;
  padding-right: 3rem;
}

.video-modal-player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.video-modal-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Services ────────────────────────────────────────────── */
.services {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.services-grid--wide {
  grid-template-columns: repeat(4, 1fr);
}

.production-banner {
  margin-top: 2rem;
  padding: 2rem 2.25rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(30, 90, 158, 0.12), rgba(212, 175, 55, 0.06));
}

.production-banner h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--accent-light);
}

.production-banner p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 52rem;
}

.service-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  transition: border-color 0.3s, background 0.3s;
}

.service-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  background: linear-gradient(135deg, rgba(30, 90, 158, 0.08), rgba(212, 175, 55, 0.04));
}

.service-num {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── About ───────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 3px;
  overflow: hidden;
}

.about-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--accent);
  opacity: 0.35;
  transform: translate(12px, 12px);
  border-radius: 3px;
  z-index: -1;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* ── Team ────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 720px;
}

.team-card {
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color 0.3s var(--ease);
}

.team-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
}

.team-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.team-card:hover .team-photo img {
  transform: scale(1.03);
}

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.team-role {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 0.75rem;
}

.team-imdb {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-light);
  transition: color 0.25s;
}

.team-imdb:hover {
  color: var(--accent);
}

/* ── Vision ────────────────────────────────────────────────── */
.vision {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.vision-inner {
  max-width: 48rem;
  text-align: center;
  margin-inline: auto;
}

.vision-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.vision-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Behind the scenes ───────────────────────────────────── */
.bts {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.bts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.bts-item {
  margin: 0;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 3 / 4;
}

.bts-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.bts-item:hover img {
  transform: scale(1.04);
}

.about-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.about-role,
.about-tagline,
.contact-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--accent-light);
  margin-bottom: 1.5rem !important;
}

.about-copy p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-copy p em {
  color: var(--text);
  font-style: normal;
  font-weight: 500;
}

.about-imdb {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 2rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 2px;
  background: linear-gradient(135deg, rgba(30, 90, 158, 0.15), rgba(212, 175, 55, 0.08));
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}

.about-imdb:hover {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(30, 90, 158, 0.22), rgba(212, 175, 55, 0.14));
  transform: translateY(-1px);
}

.about-imdb-label {
  color: var(--accent-light);
}

.about-imdb-arrow {
  color: var(--blue-bright);
  font-size: 1rem;
}

.about-list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.about-list li {
  font-size: 0.9rem;
  padding-left: 1.25rem;
  position: relative;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── Process ─────────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  padding: 1.75rem;
  border-top: 1px solid var(--border);
  counter-increment: step;
}

.step-label {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.step-label::before {
  content: counter(step, decimal-leading-zero) " · ";
  color: var(--accent);
  font-size: 0.85rem;
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── Contact ─────────────────────────────────────────────── */
.contact {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.contact-intro > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.contact-details a:hover {
  color: var(--accent);
}

.contact-details span {
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form label span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.75rem 1rem;
  transition: border-color 0.25s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(61, 126, 200, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--accent);
  min-height: 1.25rem;
}

.form-note.error {
  color: #e07070;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.25s;
}

.footer-links a:hover {
  color: var(--text);
}

/* ── Reveal animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .bts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid,
  .services-grid--wide,
  .about-grid,
  .contact-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .services-grid--wide {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 640px) {
  .bts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bts-item {
    aspect-ratio: 1;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .logo--header img {
    max-width: min(160px, 36vw);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.5rem 1.5rem;
    background: rgba(7, 16, 31, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.4s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child a {
    border-bottom: none;
    margin-top: 0.5rem;
    text-align: center;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card--featured .work-thumb {
    aspect-ratio: 16 / 10;
  }

  .services-grid--wide {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }
}
