/* =========================================================================
   DIVING BELL — stylesheet
   Editorial, minimal, dark. Geometric wordmark (Josefin Sans) + serif accents
   (Playfair Display) + clean body (Inter).
   ========================================================================= */

:root {
  --bg:        #0c0c0e;
  --bg-2:      #141416;
  --bg-3:      #1c1c20;
  --line:      rgba(255,255,255,.12);
  --line-soft: rgba(255,255,255,.07);
  --text:      #f3f2ee;
  --muted:     #a2a1a6;
  --muted-2:   #6f6e74;
  --accent:    #f3f2ee;
  --maxw:      1320px;
  --gutter:    clamp(20px, 5vw, 64px);
  --font-brand: "Josefin Sans", system-ui, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-body:  "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--text); color: var(--bg); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

/* ---- Brand wordmark ---------------------------------------------------- */
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; }
.wordmark__name {
  font-family: var(--font-brand);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.wordmark__tag {
  font-family: var(--font-brand);
  font-weight: 400;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .28em;
  margin-top: .5em;
}

/* ---- Header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.site-header .wordmark__name { font-size: 20px; letter-spacing: .2em; }
.site-header .wordmark__tag { display: none; }
.site-nav { display: flex; gap: clamp(18px, 3vw, 40px); align-items: center; }
.site-nav a {
  font-family: var(--font-brand);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color .25s ease;
}
.site-nav a:hover { color: var(--text); }
.site-nav a.is-active { color: var(--text); }

/* ---- Splash (full-screen home carousel) -------------------------------- */
.splash {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
  text-align: center;
}
.slides { position: absolute; inset: 0; z-index: 0; background: #000; }
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center top;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  will-change: opacity;
}
.slide.is-active { opacity: 1; }
.splash__scrim {
  position: absolute; inset: 0; z-index: 1;
  /* Even top-to-bottom gradient for text legibility — no edge vignette. */
  background: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,.28) 35%, rgba(0,0,0,.32) 62%, rgba(0,0,0,.72));
}
.splash__inner { position: relative; z-index: 2; padding: var(--gutter); }
.splash .wordmark { align-items: center; }
.splash .wordmark__name {
  font-size: clamp(40px, 9vw, 100px); letter-spacing: .16em;
  text-shadow: 0 2px 40px rgba(0,0,0,.5);
}
.splash .wordmark__tag {
  color: rgba(255,255,255,.82);
  font-size: clamp(11px, 1.7vw, 16px);
  letter-spacing: clamp(.2em, .5vw, .42em);
  margin-top: 1.2em;
}
/* descriptor line: one line on desktop, wraps only when it can't fit (small screens) */
.splash .wordmark__tag--line {
  font-size: clamp(12px, 1.5vw, 16px);
  letter-spacing: .16em;
  line-height: 1.6;
  max-width: none;
  margin-top: 1.4em;
  text-shadow: 0 1px 24px rgba(0,0,0,.5);
}
.splash__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: clamp(32px, 6vh, 60px); }
.btn-ghost {
  font-family: var(--font-brand);
  text-transform: uppercase; letter-spacing: .22em; font-weight: 500;
  font-size: 12.5px; color: #fff;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px; padding: 15px 34px;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
  backdrop-filter: blur(2px);
}
.btn-ghost:hover { background: #fff; color: #0c0c0e; border-color: #fff; }
.splash__foot {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
}
.splash__social { display: flex; gap: 12px; }
.splash__social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: rgba(255,255,255,.85); transition: all .3s; }
.splash__social a:hover { background: #fff; color: #0c0c0e; border-color: #fff; }
.splash__social svg { width: 16px; height: 16px; }
.splash__copy { font-size: 12px; letter-spacing: .04em; color: rgba(255,255,255,.7); }
@media (max-width: 540px) {
  .splash__foot { flex-direction: column-reverse; gap: 16px; padding-bottom: 26px; }
}
/* ---- Hero (home) ------------------------------------------------------- */
.hero {
  text-align: center;
  padding: clamp(70px, 14vh, 150px) 0 clamp(48px, 8vh, 90px);
  border-bottom: 1px solid var(--line-soft);
}
.hero .wordmark { align-items: center; }
.hero .wordmark__name { font-size: clamp(42px, 9vw, 96px); letter-spacing: .16em; }
.hero .wordmark__tag  { font-size: clamp(11px, 1.6vw, 16px); letter-spacing: clamp(.2em,.5vw,.42em); margin-top: 1.1em; }

/* ---- Section scaffolding ---------------------------------------------- */
.section { padding: clamp(56px, 10vh, 120px) 0; }
.eyebrow {
  font-family: var(--font-brand);
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-2);
  margin: 0 0 26px;
}
.display {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
  font-size: clamp(30px, 5vw, 54px);
  margin: 0;
}

/* ---- Roster grid ------------------------------------------------------- */
.roster { padding: clamp(30px,6vh,64px) 0 clamp(50px,9vh,110px); }
.roster__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.4vw, 20px);
}
.card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  border-radius: 2px;
}
.card__img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(18%) brightness(.92);
  transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .6s ease;
}
.card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,0) 70%);
  transition: opacity .5s ease; opacity: .9;
}
.card__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(16px, 2vw, 26px);
  transform: translateY(6px);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.card__name {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 500; line-height: 1.1; margin: 0;
}
.card__metrics {
  font-family: var(--font-brand);
  text-transform: uppercase; letter-spacing: .14em;
  font-size: 11px; color: var(--muted);
  margin-top: 8px;
  opacity: 0; transform: translateY(6px);
  transition: opacity .45s ease, transform .45s ease;
}
.card:hover .card__img { transform: scale(1.06); filter: grayscale(0%) brightness(1); }
.card:hover .card__body { transform: translateY(0); }
.card:hover .card__metrics { opacity: 1; transform: translateY(0); }

/* ---- Intro blurb ------------------------------------------------------- */
.intro { text-align: center; padding: clamp(46px,8vh,96px) 0; border-top: 1px solid var(--line-soft); }
.intro p {
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.6vw, 31px);
  line-height: 1.5; font-weight: 400;
  max-width: 20ch; margin: 0 auto;
  max-width: 780px; color: var(--text);
}
.intro a { border-bottom: 1px solid var(--muted); }
.intro strong { font-weight: 600; }

/* ---- Talent profile ---------------------------------------------------- */
.profile-hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px,4vw,64px);
  align-items: center; padding: clamp(40px,7vh,84px) 0;
}
.profile-hero__media { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 3px; background: var(--bg-2); }
.profile-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.profile-hero__kicker {
  font-family: var(--font-brand); text-transform: uppercase;
  letter-spacing: .28em; font-size: 12px; color: var(--muted-2); margin: 0 0 18px;
}
.profile-hero__name {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(38px, 6vw, 72px); line-height: 1; margin: 0 0 20px; letter-spacing: -.01em;
}
.profile-hero__metrics {
  font-family: var(--font-brand); text-transform: uppercase; letter-spacing: .16em;
  font-size: 13px; color: var(--muted); margin: 0 0 28px;
}
.socials { display: flex; gap: 14px; align-items: center; }
.socials a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--muted); transition: all .3s ease;
}
.socials a:hover { color: var(--bg); background: var(--text); border-color: var(--text); }
.socials svg { width: 18px; height: 18px; }

.profile-body { display: grid; grid-template-columns: 1.6fr .9fr; gap: clamp(30px,5vw,80px); padding: clamp(30px,5vh,60px) 0; border-top: 1px solid var(--line-soft); }
.profile-body__bio p { margin: 0 0 1.3em; color: #d8d7d3; }
.stat-block { border-top: 2px solid var(--text); padding-top: 22px; }
.stat-block + .stat-block { margin-top: 38px; }
.stat-block__title { font-family: var(--font-brand); text-transform: uppercase; letter-spacing: .26em; font-size: 12px; color: var(--muted-2); margin: 0 0 20px; }
.stat-figure { font-family: var(--font-serif); font-size: 34px; line-height: 1; margin: 0; }
.stat { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.stat__label { font-family: var(--font-brand); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--muted); }
.stat__value { font-family: var(--font-serif); font-size: 24px; }
.contact-line { margin-top: 26px; }
.contact-line a { font-size: 15px; color: var(--text); border-bottom: 1px solid var(--muted); }

/* clients */
.clients { padding: clamp(36px,6vh,72px) 0; border-top: 1px solid var(--line-soft); }
.clients__list { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 24px; }
.clients__list span {
  font-family: var(--font-brand); text-transform: uppercase; letter-spacing: .12em;
  font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px;
}

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: clamp(10px,1.4vw,18px); padding-bottom: clamp(20px,4vh,50px); }
.gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 3px; }
.gallery img:only-child { aspect-ratio: 16/10; }

/* back link */
.backlink { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-brand); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; color: var(--muted); padding: 30px 0; }
.backlink:hover { color: var(--text); }

/* ---- About ------------------------------------------------------------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,70px); align-items: center; padding: clamp(40px,7vh,90px) 0; }
.about-hero__img { aspect-ratio: 3/4; overflow: hidden; border-radius: 3px; }
.about-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.prose p { color: #d8d7d3; margin: 0 0 1.35em; }
.prose p.lead { font-family: var(--font-serif); font-size: clamp(20px,2.4vw,27px); line-height: 1.45; color: var(--text); }
.founders { border-top: 1px solid var(--line-soft); padding: clamp(40px,7vh,84px) 0; }

/* ---- Privacy ----------------------------------------------------------- */
.legal { padding: clamp(50px,9vh,110px) 0; }
.legal h2 { font-family: var(--font-serif); font-weight: 500; font-size: 22px; margin: 40px 0 12px; }
.legal p { color: var(--muted); font-size: 15.5px; }

/* ---- Newsletter + Footer ---------------------------------------------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: clamp(56px,9vh,96px) 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,6vw,90px); }
.footer__title { font-family: var(--font-brand); text-transform: uppercase; letter-spacing: .26em; font-size: 12px; color: var(--muted-2); margin: 0 0 22px; }
.footer a.link { color: var(--text); border-bottom: 1px solid transparent; transition: border-color .25s; }
.footer a.link:hover { border-color: var(--muted); }
.footer__socials { display: flex; gap: 12px; margin-top: 22px; }
.footer__socials a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: all .3s; }
.footer__socials a:hover { color: var(--bg); background: var(--text); border-color: var(--text); }
.footer__socials svg { width: 17px; height: 17px; }
.badges { display: flex; gap: 20px; align-items: center; margin-top: 30px; }
.badges img { height: 40px; width: auto; opacity: .7; filter: grayscale(100%) brightness(1.6); }

.nl-form { display: grid; gap: 12px; max-width: 420px; }
.nl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nl-form input[type=text], .nl-form input[type=email] {
  background: transparent; border: none; border-bottom: 1px solid var(--line);
  color: var(--text); font-family: var(--font-body); font-size: 15px; padding: 12px 2px;
}
.nl-form input::placeholder { color: var(--muted-2); }
.nl-form input:focus { outline: none; border-color: var(--text); }
.nl-form button {
  justify-self: start; margin-top: 8px; cursor: pointer;
  background: var(--text); color: var(--bg); border: none; border-radius: 999px;
  font-family: var(--font-brand); text-transform: uppercase; letter-spacing: .2em; font-weight: 600;
  font-size: 12px; padding: 14px 34px; transition: opacity .25s;
}
.nl-form button:hover { opacity: .82; }
.nl-note { font-size: 12.5px; color: var(--muted-2); margin: 4px 0 0; }

.subfooter { border-top: 1px solid var(--line-soft); margin-top: 56px; padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.subfooter, .subfooter a { font-size: 13px; color: var(--muted-2); }
.subfooter a:hover { color: var(--muted); }

/* ---- Reveal-on-scroll -------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 900px) {
  .roster__grid { grid-template-columns: repeat(2, 1fr); }
  .profile-hero, .about-hero { grid-template-columns: 1fr; }
  .profile-hero__media, .about-hero__img { max-width: 520px; }
  .profile-body { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .card__metrics { opacity: 1; transform: none; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .roster__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .nl-row { grid-template-columns: 1fr; }
  .site-nav { gap: 16px; }
}
