/* =========================================================
   İZMİR EMLAK VİDEO — Cinematic single-page stylesheet
   Palette: charcoal #2E2E2E · gold #EFC336 · blue #46AAE0 · white #FFFFFF
   Display: Bricolage Grotesque · Body/UI: Manrope
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand palette — charcoal #2E2E2E · gold #EFC336 · blue #46AAE0 · white #FFF */
  --bg:        #232323;   /* base (derived slightly darker for depth) */
  --bg-2:      #292929;
  --surface:   #2e2e2e;   /* exact brand charcoal */
  --surface-2: #363636;
  --elev:      #3f3f3f;

  /* Dual accent system — gold (primary) + blue (secondary) */
  --gold:        #efc336;
  --gold-bright: #ffd94e;
  --gold-deep:   #c99a1e;
  --blue:        #46aae0;
  --blue-bright: #74c3ef;
  --blue-deep:   #2c82b6;
  --gold-rgb: 239, 195, 54;
  --blue-rgb: 70, 170, 224;
  --on-accent: #23200c;            /* dark text on gold/blue fills */

  /* Aliases keep the rest of the sheet in sync with the palette */
  --accent:       var(--gold);
  --accent-bright: var(--gold-bright);
  --accent-deep:  var(--gold-deep);
  --sea:          var(--blue);

  /* Text */
  --text:      #ffffff;
  --text-soft: #dcdcdc;
  --text-mute: #a6a6a6;
  --text-faint:#6f6f6f;

  /* Lines & glass */
  --line:        rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --glass:       rgba(46, 46, 46, 0.55);

  /* Accent glows */
  --glow: 0 0 0 1px rgba(var(--gold-rgb),.20), 0 10px 40px -8px rgba(var(--gold-rgb),.35);

  /* Type */
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-brand: "Archivo Black", var(--font-display);

  /* Fluid scale */
  --step--1: clamp(.78rem, .74rem + .2vw, .88rem);
  --step-0:  clamp(1rem, .96rem + .25vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.1rem + .5vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.25rem + 1.2vw, 2.25rem);
  --step-3:  clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  --step-4:  clamp(2.6rem, 1.6rem + 4.6vw, 5.5rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.75rem);
  --radius: 20px;
  --radius-sm: 13px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--accent); color: var(--on-accent); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 200;
  background: var(--accent); color: var(--on-accent); padding: .6rem 1rem; border-radius: 10px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* =========================================================
   Preloader
   ========================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .7s var(--ease), visibility .7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__mark { text-align: center; }
.preloader__logo { height: 74px; width: auto; margin: 0 auto 1.2rem;
  animation: sloganIn .9s var(--ease) both; }
.preloader__word {
  font-family: var(--font-brand); font-weight: 400; letter-spacing: 0;
  font-size: clamp(1.05rem, 3.6vw, 1.55rem); color: var(--text-soft);
}
.preloader__bar {
  display: block; height: 2px; width: 0; margin: 1rem auto .9rem;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: loadbar 1.15s var(--ease) forwards;
}
@keyframes loadbar { to { width: 190px; } }
.preloader__slogan {
  display: block; font-size: clamp(.72rem, 2.4vw, .82rem); font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; color: var(--accent);
  opacity: 0; animation: sloganIn .8s var(--ease) .3s forwards;
}
@keyframes sloganIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(18, 18, 18, .82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--container); margin-inline: auto;
  padding: clamp(.8rem, 2vw, 1.15rem) var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); }
.brand__mark { height: 36px; width: auto; flex: none; object-fit: contain;
  transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: scale(1.07); }
.brand__type { font-family: var(--font-brand); font-weight: 400; font-size: .96rem;
  line-height: 1; letter-spacing: -.01em; color: var(--text); white-space: nowrap; }

.nav__links { display: flex; gap: clamp(1rem, 2.4vw, 2rem); }
.nav__links a { font-size: .93rem; font-weight: 500; color: var(--text-soft); position: relative; padding: .3rem 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--accent); transition: width .35s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: clamp(.6rem, 1.5vw, 1.1rem); }
.lang { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 600; }
.lang__btn { color: var(--text-mute); letter-spacing: .05em; transition: color .25s; }
.lang__btn.is-active { color: var(--accent); }
.lang__btn:hover { color: var(--text); }
.lang__sep { color: var(--text-faint); }

/* Buttons */
.btn {
  --pad-y: .78rem; --pad-x: 1.35rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: var(--pad-y) var(--pad-x); border-radius: 100px;
  font-weight: 600; font-size: .95rem; letter-spacing: .005em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 30px -8px rgba(var(--gold-rgb),.5); }
.btn--primary:hover { background: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(var(--gold-rgb),.65); }
.btn--ghost { color: var(--text); border: 1px solid var(--line-strong); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--lg { --pad-y: 1.05rem; --pad-x: 1.9rem; font-size: 1.02rem; }
.nav__cta { padding: .55rem 1.1rem; font-size: .88rem; }

.nav__burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__burger span { width: 18px; height: 1.6px; background: var(--text); transition: transform .35s var(--ease), opacity .3s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.3px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.3px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(18,18,18,.96); backdrop-filter: blur(18px);
  display: flex; flex-direction: column; justify-content: center; gap: 2rem;
  padding: var(--gutter); text-align: center;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease), opacity .4s, visibility .5s;
}
.drawer.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.drawer__links { display: flex; flex-direction: column; gap: 1.4rem; }
.drawer__links a { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: var(--text-soft); }
.drawer__links a:hover { color: var(--accent); }
.drawer__cta { align-self: center; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: clamp(6rem, 14vh, 9rem); padding-bottom: 4rem;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__aurora {
  position: absolute; inset: -20%;
  background:
    radial-gradient(45% 55% at 22% 18%, rgba(var(--gold-rgb),.28), transparent 60%),
    radial-gradient(40% 50% at 82% 30%, rgba(var(--blue-rgb),.30), transparent 62%),
    radial-gradient(55% 60% at 55% 92%, rgba(var(--blue-rgb),.18), transparent 60%);
  filter: blur(20px);
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(-3%, 2%, 0) scale(1.08); }
  100% { transform: translate3d(3%, -2%, 0) scale(1.04); }
}
.hero__grain {
  position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay; pointer-events: none;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}
.hero__vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 10%, transparent 40%, rgba(18,18,18,.65) 100%),
    linear-gradient(180deg, rgba(18,18,18,.35) 0%, transparent 22%, transparent 60%, var(--bg) 100%);
}

.hero__inner { position: relative; z-index: 2; }
.eyebrow {
  font-size: var(--step--1); font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.2rem;
  display: inline-flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); opacity: .7; }

.hero__title { font-size: var(--step-4); font-weight: 700; max-width: 15ch; margin-bottom: 1.6rem; }
.hero__title .line { display: block; overflow: hidden; }
.reveal-mask { display: inline-block; transform: translateY(110%); }
.hero__title .reveal-mask:nth-child(1) { animation: rise 1s var(--ease) .5s forwards; }
.hero__title .line:nth-child(2) .reveal-mask { animation: rise 1s var(--ease) .66s forwards; }
@keyframes rise { to { transform: translateY(0); } }
.hero__title .line:nth-child(2) .reveal-mask {
  background: linear-gradient(100deg, var(--accent-bright), var(--sea));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

.hero__lead { max-width: 46ch; color: var(--text-soft); font-size: var(--step-1); font-weight: 300; margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 3.4rem; }

.hero__stats { list-style: none; display: flex; flex-wrap: wrap; gap: clamp(1.6rem, 5vw, 3.6rem); }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats b { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.hero__stats span { font-size: var(--step--1); color: var(--text-mute); letter-spacing: .02em; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 1.8rem; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--text-mute);
}
.hero__scroll-line { width: 1px; height: 42px; background: linear-gradient(var(--accent), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: scrolldot 2s ease-in-out infinite; }
@keyframes scrolldot { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }

/* =========================================================
   Marquee
   ========================================================= */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: 1.3rem; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; white-space: nowrap; }
.marquee__group span { font-family: var(--font-display); font-size: clamp(1.1rem, 3vw, 1.7rem); font-weight: 500; color: var(--text-soft); letter-spacing: -.01em; }
.marquee__group .dot { color: var(--accent); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* =========================================================
   Sections shared
   ========================================================= */
.section { padding-block: clamp(4.5rem, 11vw, 9rem); position: relative; }
.section__head { max-width: 62ch; margin-bottom: clamp(2.4rem, 6vw, 4rem); }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; max-width: none; flex-wrap: wrap; }
.section__title { font-size: var(--step-3); margin-bottom: 1rem; max-width: 20ch; }
.section__sub { color: var(--text-mute); font-size: var(--step-1); font-weight: 300; }
.section__note { color: var(--text-faint); font-size: var(--step--1); max-width: 30ch; }

/* =========================================================
   Services — Bento
   ========================================================= */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.8rem, 1.6vw, 1.15rem); }
.card {
  position: relative; grid-column: span 2; overflow: hidden;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 2.6vw, 2.2rem);
  display: flex; flex-direction: column; gap: .7rem;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
  min-height: 230px;
}
.card--lg { grid-column: span 3; grid-row: span 2; }
.card--accent { grid-column: span 3;
  background: linear-gradient(155deg, rgba(var(--gold-rgb),.10), var(--surface) 55%);
  border-color: rgba(var(--gold-rgb),.22);
}
.card--wide { grid-column: span 6; }
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 24px 60px -30px rgba(0,0,0,.9); }
.card--accent:hover { border-color: rgba(var(--gold-rgb),.45); box-shadow: 0 24px 60px -24px rgba(var(--gold-rgb),.28); }
.card__icon {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  color: var(--accent); background: rgba(var(--gold-rgb),.08); border: 1px solid rgba(var(--gold-rgb),.2);
  margin-bottom: .3rem;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: var(--step-1); font-weight: 600; }
.card p { color: var(--text-mute); font-size: .96rem; max-width: 42ch; }
.card__media {
  margin-top: auto; height: 120px; border-radius: 12px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--surface-2), var(--bg));
  border: 1px solid var(--line);
}
.card__media::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 90% at 20% 20%, rgba(var(--gold-rgb),.35), transparent 55%),
    radial-gradient(70% 80% at 90% 80%, rgba(var(--blue-rgb),.45), transparent 60%);
  opacity: .8; transition: transform .8s var(--ease); transform: scale(1.05);
}
.card:hover .card__media::before { transform: scale(1.18) rotate(2deg); }
.card__media[data-media="drone"]::after,
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.25'/%3E%3C/svg%3E");
  mix-blend-mode: overlay; opacity: .5;
}

/* =========================================================
   Work / Portfolio tiles
   ========================================================= */
.work__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: clamp(.8rem, 1.6vw, 1.15rem); }
.tile {
  position: relative; grid-column: span 2; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); display: flex; align-items: flex-end;
  padding: 1.4rem; isolation: isolate;
  background: var(--surface);
  transition: transform .5s var(--ease), border-color .4s;
}
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(80% 70% at 30% 20%, rgba(var(--blue-rgb),.55), transparent 60%),
    radial-gradient(90% 80% at 80% 90%, rgba(var(--gold-rgb),.35), transparent 60%),
    linear-gradient(160deg, var(--surface-2), var(--bg));
  transition: transform .9s var(--ease);
}
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 35%, rgba(18,18,18,.82) 100%);
}
.tile:hover { transform: translateY(-4px); border-color: rgba(var(--gold-rgb),.35); }
.tile:hover::before { transform: scale(1.12); }
.tile__tag {
  position: absolute; top: 1rem; left: 1rem;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
  padding: .35rem .7rem; border-radius: 100px;
  background: rgba(18,18,18,.55); border: 1px solid var(--line-strong); color: var(--blue);
  backdrop-filter: blur(6px);
}
.tile__meta { display: flex; flex-direction: column; gap: .15rem; }
.tile__meta b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.tile__meta i { font-style: normal; font-size: .82rem; color: var(--text-soft); }

/* =========================================================
   Çalışma Bölgesi / Coverage
   ========================================================= */
.area__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.area__media { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: grid; place-items: center; }
.area__frame { position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 30% 25%, rgba(var(--gold-rgb),.32), transparent 60%),
    radial-gradient(80% 70% at 80% 90%, rgba(var(--blue-rgb),.5), transparent 60%),
    linear-gradient(160deg, var(--surface-2), var(--bg));
  animation: drift 26s ease-in-out infinite alternate;
}
.area__radar { position: relative; z-index: 1; width: 62%; height: auto; color: var(--text); }
.area__radar .area__ping { transform-origin: 100px 100px; animation: ping 3s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(2.3); opacity: 0; } }
.area__badge {
  position: absolute; bottom: 1rem; left: 1rem; z-index: 2;
  font-size: .68rem; letter-spacing: .24em; font-weight: 700; text-transform: uppercase;
  padding: .4rem .8rem; border-radius: 100px; color: var(--blue);
  background: rgba(18,18,18,.55); border: 1px solid var(--line-strong); backdrop-filter: blur(6px);
}
.area__body .section__title { max-width: 16ch; }
.area__body > p { color: var(--text-soft); max-width: 52ch; }
.area__pills { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.8rem 0 1.1rem; }
.area__pill {
  font-size: .9rem; font-weight: 600; padding: .5rem 1rem; border-radius: 100px;
  border: 1px solid var(--line-strong); color: var(--text-soft); background: rgba(255,255,255,.02);
  transition: transform .3s var(--ease), border-color .3s, color .3s, background .3s;
}
.area__pill:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--text); }
.area__pill--key { color: var(--gold); border-color: rgba(var(--gold-rgb),.4); background: rgba(var(--gold-rgb),.06); }
.area__pill--key:hover { border-color: var(--gold); color: var(--gold-bright); }
.area__note { color: var(--text-faint); font-size: var(--step--1); }

/* =========================================================
   Contact / CTA
   ========================================================= */
.contact { text-align: center; overflow: hidden; }
.contact__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.contact__glow {
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: min(760px, 90%); aspect-ratio: 1; z-index: 0;
  background: radial-gradient(circle, rgba(var(--gold-rgb),.22), transparent 62%);
  filter: blur(30px); pointer-events: none;
}
.contact__inner > * { position: relative; z-index: 1; }
.contact__title { font-size: var(--step-3); font-weight: 700; max-width: 18ch; margin-bottom: 1.3rem; }
.contact__lead { color: var(--text-soft); font-size: var(--step-1); font-weight: 300; max-width: 48ch; margin-bottom: 2.3rem; }
.contact__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-bottom: 2rem; }
.contact__meta { display: flex; align-items: center; gap: 1rem; color: var(--text-mute); font-size: .95rem; flex-wrap: wrap; justify-content: center; }
.contact__meta a { transition: color .25s; }
.contact__meta a:hover { color: var(--accent); }

/* =========================================================
   Footer
   ========================================================= */
.footer { border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 6vw, 4rem); background: var(--bg-2); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap; }
.footer__brand { display: flex; flex-direction: column; gap: .8rem; }
.footer__slogan { font-family: var(--font-display); font-weight: 500; font-size: .95rem; letter-spacing: .01em;
  background: linear-gradient(100deg, var(--accent-bright), var(--sea)); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; }
.footer__links { display: flex; gap: clamp(1rem, 2.5vw, 2rem); flex-wrap: wrap; }
.footer__links a { font-size: .9rem; color: var(--text-mute); transition: color .25s; }
.footer__links a:hover { color: var(--accent); }
.footer__copy { font-size: .85rem; color: var(--text-faint); width: 100%; padding-top: 1.4rem; border-top: 1px solid var(--line); }

/* =========================================================
   Floating WhatsApp
   ========================================================= */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem); z-index: 80;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #ffffff;
  background: linear-gradient(150deg, var(--blue-bright), var(--blue-deep));
  box-shadow: 0 10px 30px -6px rgba(var(--blue-rgb),.55);
  transform: translateY(30px) scale(.6); opacity: 0;
  transition: transform .5s var(--ease), opacity .5s, box-shadow .3s;
}
.wa-float.is-in { transform: translateY(0) scale(1); opacity: 1; }
.wa-float:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 16px 40px -6px rgba(var(--blue-rgb),.7); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--blue); animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* =========================================================
   Modal (showreel)
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(12,12,12,.86); backdrop-filter: blur(10px); }
.modal__body { position: relative; width: min(960px, 100%); }
.modal__close { position: absolute; top: -3rem; right: 0; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--text); font-size: 1rem; display: grid; place-items: center; }
.modal__close:hover { border-color: var(--accent); color: var(--accent); }
.modal__video { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, var(--surface-2), var(--bg)); transform: scale(.94); transition: transform .5s var(--ease); }
.modal.is-open .modal__video { transform: scale(1); }
.modal__video video, .modal__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal__placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; padding: 1.5rem; }
.modal__placeholder svg { width: 64px; height: 64px; color: var(--accent); }
.modal__placeholder p { color: var(--text-soft); max-width: 34ch; }
.modal__placeholder code { font-size: .8rem; color: var(--text-mute); background: var(--surface); padding: .35rem .7rem; border-radius: 8px; border: 1px solid var(--line); }

/* =========================================================
   Reveal animations (JS-driven)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
[data-stagger] { transition-delay: var(--d, 0ms); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
  .area__grid { grid-template-columns: 1fr; }
  .area__media { max-width: 360px; aspect-ratio: 16/11; }
  .card--lg, .card--accent { grid-column: span 3; }
  .card { grid-column: span 3; grid-row: auto; }
  .card--wide { grid-column: span 6; }
  .card--lg { grid-row: auto; }
}
@media (max-width: 380px) {
  .brand__type { font-size: .82rem; }
}
@media (max-width: 340px) {
  .brand__type { display: none; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .card, .card--lg, .card--accent, .card--wide { grid-column: 1 / -1; }
  .work__grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .tile, .tile--wide { grid-column: 1 / -1; }
  .tile--tall { grid-row: auto; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .hero__stats { gap: 1.4rem 2.2rem; }
  .hero { min-height: 100svh; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-mask { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
  .hero__aurora, .area__frame, .area__ping { animation: none; }
}
