/* =========================================================
   Mega Travel Vacations — 2026 redesign
   Aesthetic: cinematic aerial editorial · drone HUD · grain
   ========================================================= */
:root {
  --ink: #060b12;
  --ink-2: #0b1420;
  --ink-3: #12202f;
  --line: rgba(232, 241, 247, .12);
  --text: #eef4f7;
  --muted: #9fb0bd;
  --lagoon: #3ee6d2;
  --lagoon-2: #12b8c4;
  --sun: #ffb86b;
  --radius: 22px;
  --radius-sm: 14px;
  --gutter: clamp(16px, 4vw, 56px);
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 clamp(15px, 1.05vw, 17px)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
::selection { background: var(--lagoon); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lagoon); outline-offset: 3px; border-radius: 6px; }

.wrap { padding-inline: var(--gutter); max-width: 1480px; margin-inline: auto; }
.label { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--lagoon); margin: 0 0 18px; }
.muted { color: var(--muted); max-width: 52ch; }
.h2 { font: 500 clamp(36px, 5.6vw, 88px)/.98 var(--sans); letter-spacing: -.035em; margin: 0; }
.h2 em { color: var(--lagoon); }
.section-head { margin-bottom: clamp(32px, 5vw, 64px); }
.section-head--split { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }

/* film grain */
.grain { position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)} 40%{transform:translate(3%,-5%)} 60%{transform:translate(-2%,4%)} 80%{transform:translate(5%,1%)} 100%{transform:translate(0,0)} }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font: 500 15px/1 var(--sans); letter-spacing: -.01em; transition: transform .4s var(--ease), background .3s, color .3s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--light { background: var(--text); color: var(--ink); }
.btn--light:hover { background: var(--lagoon); }
.btn--ghost { border: 1px solid rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--glass { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 11px 20px; font-size: 14px; }
.btn--glass:hover { background: var(--lagoon); color: var(--ink); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 14px var(--gutter) auto; z-index: 50; display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 20px; border-radius: 999px; transition: background .4s, border-color .4s, backdrop-filter .4s;
  border: 1px solid transparent; }
.nav.is-scrolled { background: rgba(6,11,18,.62); border-color: var(--line); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; }
.nav__logo img { height: 40px; width: auto; }
.nav__name { font: 500 13px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; white-space: nowrap; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a { padding: 9px 16px; border-radius: 999px; font-size: 14px; color: rgba(238,244,247,.82); transition: background .3s, color .3s; }
.nav__links a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav__burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease); }
.nav__burger span:first-child { top: 19px; } .nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: rgba(6,11,18,.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter); gap: 6px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font: 500 44px/1.15 var(--sans); letter-spacing: -.03em; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; display: grid; align-items: end; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; opacity: 0; transition: opacity 1.8s ease; animation: kenburns 24s var(--ease) infinite alternate; }
.hero__media img.is-on { opacity: 1; }
@media (max-aspect-ratio: 3/4) { .hero__media img.hero__land { display: none; } } /* no hi-res portrait crop for this one */
.hero__mark { position: absolute; right: clamp(40px, 9vw, 160px); top: 50%; width: clamp(180px, 22vw, 360px); height: auto; transform: translateY(-58%); opacity: .1; z-index: -1; pointer-events: none; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.18) translate(-2%, 1%); } }
.hero__shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,11,18,.55) 0%, rgba(6,11,18,0) 30%, rgba(6,11,18,.15) 55%, rgba(6,11,18,.92) 100%),
              radial-gradient(120% 70% at 0% 100%, rgba(6,11,18,.7), transparent 60%); }
.hero__content { padding: 0 var(--gutter) clamp(40px, 9vh, 96px); max-width: 1100px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  padding: 9px 14px; border-radius: 999px; background: rgba(6,11,18,.35); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin: 0 0 26px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lagoon); box-shadow: 0 0 0 0 var(--lagoon); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(62,230,210,0); } 100% { box-shadow: 0 0 0 0 rgba(62,230,210,0); } }
.hero__title { margin: 0; font: 500 clamp(56px, 11.5vw, 196px)/.86 var(--sans); letter-spacing: -.055em; }
.hero__title em { color: var(--lagoon); text-shadow: 0 2px 30px rgba(6,11,18,.35); letter-spacing: -.03em; padding-right: .05em; }
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line > * , .line > span { display: inline-block; animation: rise 1.2s var(--ease) both; }
.line:nth-child(2) > * { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero__sub { max-width: 46ch; font-size: clamp(16px, 1.35vw, 20px); color: rgba(238,244,247,.86); margin: 28px 0 32px; animation: fade 1.2s .4s both; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; animation: fade 1.2s .55s both; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } }
.hero__coords { position: absolute; right: var(--gutter); bottom: clamp(40px, 9vh, 96px); display: flex; flex-direction: column; align-items: end; gap: 6px;
  font: 400 12px/1 var(--mono); letter-spacing: .12em; color: rgba(238,244,247,.75); }

/* HUD */
.hud { position: absolute; inset: 88px var(--gutter) 24px; pointer-events: none; z-index: 0; font: 400 11px/1 var(--mono); letter-spacing: .12em; color: rgba(255,255,255,.8); }
.hud__corner { position: absolute; width: 28px; height: 28px; border: 1.5px solid rgba(255,255,255,.7); }
.hud__corner--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hud__corner--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hud__corner--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hud__corner--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hud__cross { position: absolute; left: 50%; top: 42%; width: 34px; height: 34px; transform: translate(-50%, -50%); opacity: .55; }
.hud__cross::before, .hud__cross::after { content: ""; position: absolute; background: #fff; }
.hud__cross::before { left: 50%; top: 0; bottom: 0; width: 1px; } .hud__cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.hud__top { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 22px; }
.rec { display: inline-flex; align-items: center; gap: 7px; } .rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hud__side { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; text-align: right; }
.hud b { font-weight: 500; color: var(--lagoon); }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--ink); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; font: 400 clamp(28px, 3.4vw, 52px)/1 var(--serif); font-style: italic; white-space: nowrap; }
.marquee__track i { font-style: normal; color: var(--lagoon); font-size: .6em; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- manifesto ---------- */
.manifesto { padding-block: clamp(90px, 14vw, 200px) clamp(70px, 10vw, 140px); }
.manifesto__text { font: 500 clamp(28px, 4.1vw, 64px)/1.08 var(--sans); letter-spacing: -.03em; margin: 0; max-width: 22ch; }
.manifesto__text .w { color: rgba(238,244,247,.4); transition: color .5s; } /* .4 = 3.5:1 contrast on --ink (large text needs 3:1) */
.manifesto__text .w.on { color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(56px, 8vw, 110px); border-top: 1px solid var(--line); }
.stats > div { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 8px; }
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats b { font: 500 clamp(40px, 5vw, 72px)/1 var(--sans); letter-spacing: -.04em; }
.stats small { font-size: .45em; color: var(--muted); margin-left: 2px; }
.stats span { color: var(--muted); font-size: 14px; }

/* ---------- featured work (horizontal) ---------- */
.work { position: relative; height: 420vh; }
.work__sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; gap: clamp(20px, 3.5vh, 44px); padding-top: 72px; }
.work__track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: var(--gutter); will-change: transform; }
.shot { flex: 0 0 auto; width: min(clamp(280px, 52vw, 820px), calc((100svh - 340px) * 1.6)); margin: 0; position: relative; }
.shot img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); transition: transform 1s var(--ease), filter .6s; }
.shot:hover img { transform: scale(.985); }
.shot figcaption { display: flex; align-items: baseline; gap: 14px; padding-top: 16px; flex-wrap: wrap; }
.shot figcaption b { font: 500 22px/1.1 var(--sans); letter-spacing: -.02em; }
.shot figcaption span { color: var(--muted); font: 400 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.shot__n { color: var(--lagoon) !important; }
.shot--end { width: clamp(260px, 30vw, 420px); display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 32px; border: 1px dashed var(--line); border-radius: var(--radius); aspect-ratio: auto; }
.shot--end p { font: 400 clamp(26px, 2.6vw, 40px)/1.1 var(--serif); font-style: italic; margin: 0; }
.work__progress { margin-inline: var(--gutter); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.work__progress span { display: block; height: 100%; width: 100%; background: var(--lagoon); transform-origin: left; transform: scaleX(0); }

/* ---------- studio ---------- */
.studio { padding-block: clamp(90px, 12vw, 180px); display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.studio__intro { position: sticky; top: 120px; }
.studio__intro .muted { margin-top: 26px; }
.compare { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; user-select: none; --pos: 50%; }
.compare > img, .compare__before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 20px; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__tag { position: absolute; top: 16px; padding: 7px 12px; border-radius: 999px; font: 500 11px/1 var(--mono); letter-spacing: .14em; background: rgba(6,11,18,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.compare__tag--l { left: 16px; } .compare__tag--r { right: 16px; color: var(--lagoon); }
.services { list-style: none; padding: 0; margin: 48px 0 0; grid-column: 2; }
.services li { display: grid; grid-template-columns: 56px 1fr 40px; gap: 16px; padding: 28px 0; border-top: 1px solid var(--line); transition: padding .5s var(--ease); }
.services li:last-child { border-bottom: 1px solid var(--line); }
.services li:hover { padding-left: 12px; }
.services h3 { font: 500 clamp(22px, 2vw, 30px)/1.15 var(--sans); letter-spacing: -.025em; margin: 0 0 8px; }
.services p { margin: 0; color: var(--muted); }
.services__n { font: 400 12px/2.4 var(--mono); color: var(--lagoon); }
.services__arrow { font-size: 22px; color: var(--muted); transition: transform .4s var(--ease), color .3s; display: inline-grid; place-items: center; width: 40px; height: 40px; margin-top: -6px; border-radius: 50%; }
.services__arrow:hover { background: rgba(255,255,255,.08); }
.services li:hover .services__arrow { transform: rotate(45deg); color: var(--lagoon); }

/* ---------- destinations ---------- */
.destinations { padding-block: clamp(60px, 8vw, 120px); }
.dest-grid { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 20px); height: clamp(640px, 92vh, 940px); }
.dest { position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate; }
.dest--big { grid-row: span 3; }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.dest::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(6,11,18,.85)); }
.dest:hover img { transform: scale(1.06); }
.dest__info { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2.4vw, 36px); }
.dest__info h3 { font: 500 clamp(28px, 3.4vw, 56px)/1 var(--sans); letter-spacing: -.04em; margin: 12px 0 8px; }
.dest__info p { margin: 0; color: rgba(238,244,247,.8); }
.dest:not(.dest--big) .dest__info { padding: clamp(16px, 1.8vw, 26px); }
.dest:not(.dest--big) .dest__info h3 { font-size: clamp(24px, 2.3vw, 36px); margin: 10px 0 6px; }
.dest__tag { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ---------- bento guide ---------- */
.guide { padding-block: clamp(60px, 8vw, 120px); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: clamp(12px, 1.4vw, 20px); }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: end; isolation: isolate; background: var(--ink-3); border: 1px solid var(--line); min-height: 250px; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--ink-3); transition: transform 1.2s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,11,18,.05) 0%, rgba(6,11,18,.88) 78%); }
.tile.in::before { background: var(--img) center/cover; } /* load tile photos only when scrolled to */
.tile:hover::before { transform: scale(1.07); }
.tile h3 { font: 500 24px/1.1 var(--sans); letter-spacing: -.025em; margin: 0 0 8px; }
.tile p { margin: 0; color: rgba(238,244,247,.78); font-size: 15px; max-width: 40ch; }
.tile--wide { grid-column: span 2; min-height: 330px; }
.tile--tall { grid-row: span 2; }
.tile__k { position: absolute; top: 16px; left: 24px; font: 400 clamp(64px, 7.5vw, 124px)/1 var(--serif); font-style: italic; color: var(--lagoon); text-shadow: 0 4px 30px rgba(6,11,18,.4); letter-spacing: -.04em; }

/* ---------- gallery ---------- */
.gallery { padding-block: clamp(60px, 8vw, 120px); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: 500 14px/1 var(--sans); color: var(--text); background: transparent; border: 1px solid var(--line); padding: 11px 18px; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: rgba(255,255,255,.4); }
.chip.is-active { background: var(--text); color: var(--ink); border-color: var(--text); }
.masonry { columns: 3 320px; column-gap: clamp(12px, 1.4vw, 20px); }
.m-item { break-inside: avoid; margin: 0 0 clamp(12px, 1.4vw, 20px); position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; display: block; width: 100%; padding: 0; border: 0; background: var(--ink-3); color: inherit; text-align: left; }
.m-item img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.m-item:hover img { transform: scale(1.04); }
.m-item span { position: absolute; left: 12px; bottom: 12px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: rgba(6,11,18,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: translateY(6px); transition: .4s var(--ease); }
.m-item:hover span, .m-item:focus-visible span { opacity: 1; transform: none; }
.m-item.is-hidden { display: none; }
.gallery__hint { display: none; }
.shot__open { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; cursor: zoom-in; border-radius: var(--radius); }
.shot__open:focus-visible { outline: 2px solid var(--lagoon); outline-offset: 4px; }
.lightbox__count { color: var(--lagoon); margin-left: 10px; }
.lightbox__zoomhint { display: none; }
/* phones: tap the photo to fill the screen height and pan across it */
@media (max-width: 700px) {
  .lightbox img { cursor: zoom-in; }
  .lightbox__zoomhint { display: block; font: 400 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); opacity: .7; }
  .lightbox figure.is-zoomed { width: 100vw; overflow-x: auto; overscroll-behavior: contain; scrollbar-width: none; }
  .lightbox figure.is-zoomed::-webkit-scrollbar { display: none; }
  .lightbox figure.is-zoomed img { max-width: none; max-height: none; height: 72vh; width: auto; border-radius: 0; cursor: zoom-out; }
  .lightbox figure.is-zoomed figcaption, .lightbox figure.is-zoomed .lightbox__zoomhint { position: sticky; left: 0; width: 100vw; text-align: center; }
}

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: var(--text); }
.lightbox::backdrop { background: rgba(3,6,10,.94); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 82vh; border-radius: 12px; object-fit: contain; }
.lightbox figcaption { font: 400 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lightbox__close, .lightbox__nav { position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--text); font-size: 18px; cursor: pointer; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); } .lightbox__nav--prev { left: 20px; } .lightbox__nav--next { right: 20px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--text); color: var(--ink); }

/* ---------- instagram ---------- */
.insta { position: relative; padding-block: clamp(80px, 10vw, 140px); overflow: hidden; text-align: center; }
.insta__strip { display: flex; gap: 16px; justify-content: center; position: absolute; inset: 50% -10% auto; transform: translateY(-50%) rotate(-6deg); opacity: .35; }
.insta__strip img { width: clamp(160px, 18vw, 280px); aspect-ratio: 4/5; object-fit: cover; border-radius: 16px; flex: none; }
.insta__card { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 28px; padding: clamp(32px, 5vw, 64px) clamp(24px, 6vw, 80px); margin-inline: var(--gutter);
  border-radius: 32px; background: rgba(6,11,18,.6); border: 1px solid var(--line); backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%); }
.insta__card .label { margin: 0; }

/* ---------- contact ---------- */
.contact { padding-block: clamp(100px, 14vw, 220px) clamp(80px, 10vw, 140px); }
.contact__title { font: 500 clamp(48px, 9vw, 150px)/.9 var(--sans); letter-spacing: -.05em; margin: 0; }
.contact__title em { color: var(--lagoon); }
.contact__sub { margin: 32px 0 40px; font-size: clamp(16px, 1.3vw, 19px); }
.contact__mail { display: inline-flex; gap: 14px; align-items: center; font: 400 clamp(22px, 3.6vw, 52px)/1.1 var(--serif); font-style: italic; border-bottom: 1px solid var(--line); padding-bottom: 10px; transition: color .3s, border-color .3s; overflow-wrap: anywhere; }
.contact__mail:hover { color: var(--lagoon); border-color: var(--lagoon); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 56px 40px; display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.footer__logo { width: min(320px, 80vw); height: auto; }
.footer__top { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; transition: color .3s; }
.footer__top img { width: 28px; height: auto; transition: transform .5s var(--ease); }
.footer__top:hover { color: var(--text); } .footer__top:hover img { transform: translate(4px,-4px); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols div { display: flex; flex-direction: column; gap: 10px; }
.footer__cols a { color: var(--muted); font-size: 15px; transition: color .3s; overflow-wrap: anywhere; }
.footer__cols a:hover { color: var(--text); }
.footer__legal { grid-column: 1 / -1; color: var(--muted); font-size: 13px; margin: 24px 0 0; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav { padding-left: 16px; }
  .hud__side, .hud__cross { display: none; }
  .hero__coords { display: none; }
  .studio { grid-template-columns: 1fr; }
  .studio__intro { position: static; }
  .services { grid-column: 1; margin-top: 8px; }
  .dest-grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .dest { aspect-ratio: 4/3; } .dest--big { grid-row: auto; aspect-ratio: 4/5; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats > div { padding-bottom: 24px; }
  .footer { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hud__top { display: none; }
  .hud { inset: 80px 12px 14px; }
  .bento { grid-template-columns: 1fr; }
  .tile--wide, .tile--tall { grid-column: auto; grid-row: auto; }
  .tile--wide { min-height: 340px; }
  .footer__cols { grid-template-columns: 1fr; }
  .services li { grid-template-columns: 40px 1fr; } .services__arrow { display: none; }
  .lightbox__nav { top: auto; bottom: 20px; transform: none; }
  .shot { width: 86vw; }
  .shot img { aspect-ratio: 4/3; }
}

/* gallery on phones: swipe left/right in two rows instead of a very long column */
@media (max-width: 700px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); width: calc(100% + 2 * var(--gutter)); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
  .gallery__hint { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 14px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .gallery__hint i { font-style: normal; color: var(--lagoon); display: inline-block; animation: nudge 1.6s var(--ease) infinite; }
  .gallery__hint b { color: var(--text); font-weight: 500; }
  .masonry { columns: auto; display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 78vw; gap: 10px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .masonry::-webkit-scrollbar { display: none; }
  .m-item { margin: 0; aspect-ratio: 4/3; scroll-snap-align: start; }
  .m-item img { height: 100%; object-fit: cover; }
  .m-item span { opacity: 1; transform: none; left: 8px; bottom: 8px; right: 8px; width: fit-content; max-width: calc(100% - 16px); font-size: 10px; padding: 6px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateX(4px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .grain { display: none; }
}

/* featured work: native swipe on touch / small screens instead of pinned scroll */
@media (max-width: 980px), (hover: none) {
  .work { height: auto; padding-block: 80px 40px; }
  .work__sticky { position: static; height: auto; }
  .work__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; transform: none !important; padding-bottom: 8px; }
  .work__track::-webkit-scrollbar { display: none; }
  .shot { scroll-snap-align: center; }
  .work__progress { display: none; }
}

/* ---------- brand intro ---------- */
.intro { position: fixed; inset: 0; z-index: 200; background: #000; display: grid; place-items: center; transition: opacity .9s ease, visibility .9s; }
.intro video { width: 100%; height: 100%; object-fit: cover; }
.intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.no-intro .intro { display: none; }
.intro__skip { position: absolute; right: 20px; bottom: 24px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 11px 16px; cursor: pointer; }
.intro__skip:hover { background: #fff; color: #000; }
/* hold hero entrance until the intro finishes */
html:not(.no-intro) body:not(.intro-done) .line > *, html:not(.no-intro) body:not(.intro-done) .hero__sub, html:not(.no-intro) body:not(.intro-done) .hero__actions { animation-play-state: paused; }
@media (max-aspect-ratio: 1/1) { .intro video { object-fit: contain; } }
@media (max-width: 980px) { .hero__mark { display: none; } }
@media (max-width: 420px) { .nav__name { font-size: 11px; letter-spacing: .24em; } .nav__logo img { height: 34px; } }

/* short laptop screens: keep hero copy clear of the nav */
@media (max-height: 780px) and (min-width: 981px) {
  .hero__title { font-size: clamp(56px, 8.6vw, 150px); }
  .eyebrow { margin-bottom: 16px; }
  .hero__sub { margin: 18px 0 22px; }
}

/* inline text links */
.text-link { color: var(--text); text-decoration: underline; text-decoration-color: rgba(62,230,210,.6); text-underline-offset: 3px; transition: color .3s, text-decoration-color .3s; white-space: nowrap; }
.text-link:hover { color: var(--lagoon); text-decoration-color: var(--lagoon); }
@media (max-width: 600px) { .eyebrow__est { display: none; } }
