@font-face { font-family: 'Jost'; font-style: normal; font-display: swap; font-weight: 200; src: url(fonts/jost-latin-200-normal.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-display: swap; font-weight: 300; src: url(fonts/jost-latin-300-normal.woff2) format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/jost-latin-400-normal.woff2) format('woff2'); }

:root {
  --ink: #020204;
  --text: #e8eef5;
  --soft: #b4c2cc;
  --ice: #dbe8f8;
  --gutter: max(20px, env(safe-area-inset-left));
  --font: 'Jost', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 300 18px/1.55 var(--font); overflow-x: hidden; }
img { display: block; }
h1, h2, p { margin: 0; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }


/* ─── 1. WORDMARK ─────────────────────────────────────────── */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.heroBack { position: absolute; inset: 0; will-change: transform; }
.heroBack img { width: 100%; height: 100%; object-fit: cover; }
/* The darkening stays still while the photo moves, so the photo never shows a hard bottom edge. */
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 34% at 50% 50%, rgba(2,2,4,.5), rgba(2,2,4,0)), linear-gradient(rgba(2,2,4,.6), rgba(2,2,4,.6) 55%, var(--ink) 100%); }
.heroWord { position: relative; z-index: 1; display: grid; justify-items: center; will-change: transform, opacity; }
.hero h1 { font: 200 clamp(64px, 19vw, 210px)/.9 var(--font); letter-spacing: .13em; padding-left: .13em;
  background: radial-gradient(62% 90% at 46% 42%, #ffffff 0%, #f2f7fd 45%, #dbe8f8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.glow { width: min(560px, 74vw); height: 1px; margin-top: clamp(12px, 2vw, 22px);
  background: linear-gradient(90deg, rgba(2,2,4,0) 0%, rgba(79,200,255,.85) 22%, rgba(255,255,255,.95) 50%, rgba(79,200,255,.85) 78%, rgba(2,2,4,0) 100%); }
.cue { position: absolute; z-index: 1; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); width: 1px; height: 40px;
  background: linear-gradient(#BDDDED, rgba(189,221,237,0)); transform-origin: top; animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 30% { opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }


/* ─── 2. WHAT WE DO ───────────────────────────────────────── */
.about { padding: clamp(72px, 14vh, 150px) var(--gutter); max-width: 760px; margin: 0 auto; text-align: center; }
.about h2 { font: 200 clamp(32px, 5.6vw, 54px)/1.14 var(--font); letter-spacing: .01em; color: #fff; text-wrap: balance; }
.about p { margin-top: 24px; color: var(--soft); font-size: clamp(18px, 2.2vw, 21px); text-wrap: pretty; }


/* ─── 3. GALLERY ──────────────────────────────────────────── */
.gallery { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shade { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.72)); pointer-events: none; }
.caption { position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 66px); text-align: center;
  font: 400 clamp(17px, 2.2vw, 22px)/1.3 var(--font); letter-spacing: .04em; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.7); text-wrap: balance; }

/* Slides change behind this: it fades fully up to black, the picture swaps, it fades back down. */
.black { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; transition: opacity .55s ease-in-out; }
.black.on { opacity: 1; }

.controls { position: absolute; left: 0; right: 0; bottom: max(14px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: center; max-width: 640px; margin: 0 auto; padding: 0 8px; }
.controls button, .controls a { min-height: 48px; min-width: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px;
  font: 400 13px/1 var(--font); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: #fff; background: none; border: 0; cursor: pointer; text-shadow: 0 1px 8px rgba(0,0,0,.8); -webkit-tap-highlight-color: transparent; }
.controls a { padding: 0 22px; color: var(--ink); background: var(--ice); border-radius: 999px; text-shadow: none; }
@media (hover: hover) { .controls button:hover { color: var(--ice); text-decoration: underline; text-underline-offset: 6px; } .controls a:hover { background: #fff; } }


/* ─── 4. CONTACT ──────────────────────────────────────────── */
.contact { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: grid; place-items: center; padding: 48px 16px max(48px, env(safe-area-inset-bottom)); }
.contactBack, .contactBack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel { position: relative; width: 100%; max-width: 520px; padding: 28px 22px; display: grid; gap: 16px; border-radius: 18px;
  background: rgba(12,18,26,.46); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 24px 70px rgba(0,0,0,.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3); }
.panel h2 { font: 200 clamp(29px, 5vw, 38px)/1.16 var(--font); color: #fff; text-wrap: balance; }
.panel > p { color: var(--text); font-size: 17px; font-weight: 400; line-height: 1.45; }
.panel label { display: grid; gap: 6px; font: 400 15px/1.3 var(--font); color: var(--text); }
.panel input, .panel textarea { width: 100%; min-height: 48px; padding: 11px 13px; font: 400 16px/1.35 var(--font); color: #fff; background: rgba(2,2,4,.4); border: 1px solid rgba(255,255,255,.34); border-radius: 10px; appearance: none; -webkit-appearance: none; }
.panel textarea { resize: vertical; display: block; }
.panel input:focus, .panel textarea:focus { outline: 2px solid var(--ice); outline-offset: 1px; border-color: transparent; }
.panel button { min-height: 52px; margin-top: 4px; font: 400 14px/1 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); background: var(--ice); border: 0; border-radius: 999px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .panel button:hover { background: #fff; } }
.panel .note { font-size: 15px; font-weight: 400; line-height: 1.4; }
.panel .note a { color: #fff; }
@media (min-width: 600px) { .panel { padding: 38px 36px; } }

@media (prefers-reduced-motion: reduce) {
  .cue { animation: none; }
  .black { transition-duration: .25s; }
}
