/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #0a0a0a;
  --off-black: #121212;
  --white: #ffffff;
  --off-white: #f5f5f3;
  --grey: #8a8a8a;
  --grey-light: #d9d9d6;
  --line: rgba(255,255,255,0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --ff-display: 'Bebas Neue', sans-serif;
  --ff-body: 'Inter Tight', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--off-white);
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 32px;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  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.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Typography ===== */
.eyebrow {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 14px;
}
.eyebrow.center { text-align: center; }

.hero-title,
.section-title {
  font-family: var(--ff-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 0.95;
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 24px;
}
.section-title.center { text-align: center; }

.body-text {
  font-family: var(--ff-body);
  font-size: 16px;
  color: var(--grey-light);
  max-width: 52ch;
  margin-bottom: 18px;
}
.body-text.center { max-width: 60ch; margin-left: auto; margin-right: auto; text-align: center; }

/* ===== Placeholder Media ===== */
.placeholder-img {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.045) 0px, rgba(255,255,255,0.045) 1px, transparent 1px, transparent 14px),
    linear-gradient(160deg, #1c1c1c, #0c0c0c);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.placeholder-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.05) 50%, transparent 60%);
}
.placeholder-label {
  position: relative;
  z-index: 2;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  text-align: center;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-solid {
  background: var(--white);
  color: var(--black);
}
.btn-solid:hover { background: var(--off-white); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--line);
  padding: 12px 26px;
}
.btn-outline:hover { border-color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover { border-color: var(--white); }

.btn.full { width: 100%; margin-top: 8px; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(14px) saturate(140%);
  background: rgba(10,10,10,0.55);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.logo {
  font-family: var(--ff-display);
  font-size: 26px;
  letter-spacing: 0.05em;
}
.logo span { color: var(--grey); }

.nav {
  display: flex;
  gap: 34px;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--grey-light);
  position: relative;
  transition: color 0.2s;
}
.nav a:hover { color: var(--white); }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { flex-shrink: 0; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.25s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 110px;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  border-radius: 0;
  border: none;
  margin: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.55) 55%, rgba(10,10,10,0.96) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  color: var(--white);
  margin-bottom: 26px;
}
.hero-sub {
  font-family: var(--ff-body);
  font-size: 18px;
  color: var(--grey-light);
  max-width: 42ch;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.scroll-cue {
  position: absolute;
  bottom: 36px;
  right: 32px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--grey);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--grey), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ===== Strip ===== */
.strip {
  border-bottom: 1px solid var(--line);
  background: var(--off-black);
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 34px 32px;
  flex-wrap: wrap;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.strip-icon { font-size: 26px; }
.strip-item p {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--grey-light);
}
.strip-div {
  width: 1px;
  height: 32px;
  background: var(--line);
}

/* ===== Sections ===== */
.section { padding: 130px 0; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-media { aspect-ratio: 4/5; }

.about-points {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.point {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.point-num {
  font-family: var(--ff-display);
  font-size: 20px;
  color: var(--grey);
  flex-shrink: 0;
}
.point p {
  font-size: 15px;
  color: var(--grey-light);
  padding-top: 2px;
}

/* ===== Programmes / Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.card {
  background: var(--off-black);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.3);
}
.card-media {
  aspect-ratio: 16/11;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--line);
}
.card-body { padding: 30px 28px 34px; }
.card-icon { font-size: 22px; display: block; margin-bottom: 14px; }
.card-body h3 {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--white);
}
.card-body p { font-size: 14.5px; color: var(--grey); }

/* ===== Founder ===== */
.founder { background: var(--off-black); }
.founder-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 72px;
}
.founder-media {
  aspect-ratio: 3/4;
  position: sticky;
  top: 120px;
  height: fit-content;
}
.founder-dob {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}
/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 22px;
  margin-top: 56px;
}
.gallery-item { border-radius: var(--radius-md); }
.g1 { grid-column: span 2; grid-row: span 2; }
.g4 { grid-column: span 2; }

/* ===== CTA ===== */
.cta {
  padding: 130px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.04), transparent 70%);
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
.contact-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-list li {
  font-size: 15px;
  color: var(--white);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.contact-list span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 6px;
}
.socials {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}
.socials a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.2s;
}
.socials a:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.trial-card {
  background: var(--off-black);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  justify-content: center;
  text-align: left;
}
.trial-card .card-icon { font-size: 30px; margin-bottom: 10px; }
.trial-card h3 {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}
.trial-card p {
  font-size: 14.5px;
  color: var(--grey-light);
  margin-bottom: 18px;
}

/* ===== Footer ===== */
.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-inner p {
  font-size: 13px;
  color: var(--grey);
}

/* ===== Scroll animation ===== */
.fade-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-init.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Mobile nav ===== */
@media (max-width: 980px) {
  .nav.nav-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 82px;
    left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    border-bottom: 1px solid var(--line);
    padding: 24px 32px 32px;
    gap: 22px;
  }
  .nav-cta.nav-open {
    display: inline-flex;
    position: fixed;
    top: 240px;
    left: 32px;
    z-index: 101;
  }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .nav { display: none; }
  .nav-cta { display: none; }
  .burger { display: flex; }

  .about-grid,
  .founder-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .founder-media { position: static; }
  .founder-grid { grid-template-areas: none; }
  .founder-media { order: -1; }

  .cards-grid { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 180px);
  }
  .g1 { grid-column: span 2; grid-row: span 1; }
  .g4 { grid-column: span 1; }
}

@media (max-width: 560px) {
  .section { padding: 90px 0; }
  .container { padding: 0 22px; }
  .hero { padding-bottom: 80px; }
  .hero-media .placeholder-label { display: none; }
  .strip-inner {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }
  .strip-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .strip-div {
    width: 40px;
    height: 1px;
  }
  .trial-card { padding: 30px; }
}
