/* ANUM Ventures — first draft. Photography-led, solid text cards between photos,
   gradient blends photo-to-card, scroll parallax + slow zoom in place of video. */

:root {
  --card: #05070d;          /* solid card ground; photo fades blend into this */
  --ink: #eef1f6;
  --ink-dim: #9aa3b2;
  --ink-faint: #6b7484;
  --accent: #9fc4e8;
  --nav-h: 90px;
  --serifless: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--card);
  color: var(--ink);
  font-family: var(--serifless);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  transition: background .5s ease, backdrop-filter .5s ease;
}
.nav.scrolled { background: rgba(5,7,13,.72); backdrop-filter: blur(10px); }
.nav-brand img { height: 54px; display: block; opacity: 1; }
.nav-links { display: flex; gap: clamp(18px, 3vw, 40px); }
.nav-links a {
  color: var(--ink-dim); text-decoration: none;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 400;
  transition: color .3s ease;
}
.nav-links a:hover { color: var(--ink); }
/* hamburger toggle: hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  width: 40px; height: 40px; padding: 9px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 100%;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- full-bleed photo sections ---------- */
.photo {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  background: var(--card);
}
.bg-wrap { position: absolute; inset: 0; overflow: hidden; }
.bg {
  position: absolute; inset: -8% 0;
  background-size: cover; background-position: center;
  transform: scale(1.0);
  transition: transform 9s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.photo.in .bg { transform: scale(1.05); }   /* gentle slow zoom on entry */
/* sections that need more of the frame visible hold at the cover minimum (no added zoom) */
.photo.wide .bg,
.photo.wide.in .bg { transform: scale(1.0); }

/* photo-to-card blends */
.fade-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; height: 34vh; pointer-events: none;
  background: linear-gradient(to bottom, rgba(5,7,13,0) 0%, rgba(5,7,13,.55) 55%, var(--card) 100%);
}
.fade-top {
  position: absolute; left: 0; right: 0; top: 0; height: 22vh; pointer-events: none;
  background: linear-gradient(to top, rgba(5,7,13,0) 0%, rgba(5,7,13,.5) 60%, var(--card) 100%);
}

.photo-copy {
  position: relative; z-index: 2;
  padding: 0 clamp(20px, 6vw, 96px);
}
.photo-copy.low { padding-bottom: clamp(72px, 14vh, 150px); }
.photo-copy.center {
  align-self: center; text-align: center;
  padding-bottom: 0; margin: auto 0;
}

/* ---------- hero ---------- */
.hero { justify-content: center; }
.hero-inner {
  position: relative; z-index: 2; text-align: center;
  padding: 0 24px;
}
.hero-sub {
  font-size: 13px; letter-spacing: .38em; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 400;
}
.hero-tagline {
  margin-top: 14px;
  font-size: clamp(30px, 5.2vw, 62px);
  font-weight: 200; letter-spacing: .02em; line-height: 1.15;
}
.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-faint); display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue span {
  display: block; width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(238,241,246,0), rgba(238,241,246,.7));
  animation: cue 2.6s ease-in-out infinite;
}
@keyframes cue { 0%,100% { opacity: .25; } 50% { opacity: 1; } }

/* ---------- shared type ---------- */
.kicker {
  font-size: 11px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 400; margin-bottom: 18px;
}
.statement {
  font-size: clamp(26px, 4.4vw, 52px);
  font-weight: 200; line-height: 1.3; letter-spacing: .015em;
}
.company-name {
  font-size: clamp(38px, 6.4vw, 84px);
  font-weight: 200; letter-spacing: .30em; text-transform: uppercase;
  line-height: 1.05;
}
.company-line {
  margin-top: 14px;
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 300; color: var(--ink); letter-spacing: .02em;
}
/* company logos */
.company-logo { display: block; width: auto; }
.polyglyf-logo { height: clamp(46px, 6.5vw, 78px); }
.company-lockup { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); }
.company-mark { height: clamp(44px, 6vw, 78px); width: auto; display: block; }
.cosimo-word {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(36px, 5.6vw, 74px);
  font-weight: 400; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
}
.astramata-word { font-family: 'Barlow', 'Inter', sans-serif; font-weight: 300; }

/* ---------- solid cards ---------- */
.card { background: var(--card); position: relative; z-index: 3; }
.card-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(64px, 11vh, 130px) clamp(22px, 5vw, 40px);
}
.card-inner.center { text-align: center; max-width: 640px; }
.card-head {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 300; line-height: 1.35; margin-bottom: 30px;
}
.body {
  color: var(--ink-dim);
  font-size: clamp(15.5px, 1.35vw, 18px);
  margin-bottom: 22px;
}
.body-lg {
  color: var(--ink);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 300; line-height: 1.6; margin-bottom: 26px;
}
.list { list-style: none; }
.list li {
  padding-left: 26px; position: relative; margin-bottom: 16px;
}
.list li::before {
  content: ""; position: absolute; left: 2px; top: .72em;
  width: 10px; height: 1px; background: var(--accent);
}
.explore {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 14px;
  color: var(--ink); text-decoration: none;
  font-size: 13px; letter-spacing: .26em; text-transform: uppercase; font-weight: 500;
  border: 1px solid rgba(159,196,232,.85);
  background: rgba(159,196,232,.11);
  padding: 15px 26px;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
/* Reads as a button without shouting (Steve, 2026-10-03): accent border and a faint fill at rest,
   a soft glow on hover, and the arrow drifts forward and back now and then to invite the click. */
.explore span { color: var(--accent); display: inline-block; transition: transform .3s ease; animation: explore-nudge 4.5s ease-in-out 1.5s infinite; }
.explore:hover, .explore:focus-visible { border-color: var(--accent); background: rgba(159,196,232,.2); box-shadow: 0 0 26px rgba(159,196,232,.25); }
.explore:hover span { transform: translateX(5px); animation: none; }
@keyframes explore-nudge { 0%, 80%, 100% { transform: translateX(0); } 88% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .explore span { animation: none; } }
.coming-soon {
  display: inline-block; margin-top: 10px;
  color: var(--ink-faint);
  font-size: 12px; letter-spacing: .26em; text-transform: uppercase; font-weight: 400;
  border: 1px solid rgba(238,241,246,.14);
  padding: 13px 22px;
}

/* ---------- companies signpost ---------- */
.card-inner.tight-bottom { padding-bottom: clamp(12px, 2vh, 24px); }
.companies-head .card-inner.tight { padding-top: clamp(16px, 3vh, 32px); padding-bottom: clamp(28px, 5vh, 52px); }
.companies-head .statement { font-size: clamp(30px, 5vw, 60px); }
.scroll-cue.static { position: static; transform: none; margin-top: 18px; }
/* ---------- finale + footer ---------- */
/* The finale is the observatory photo held in a band that fades to black at the
   bottom; the black footer card that follows carries all footer content. */
.finale { min-height: 80svh; }
.finale .fade-bottom { height: 46vh; }
.footer { margin-top: -1px; }
/* horizontal footer: brand block on the left, three link columns in one row */
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  padding: clamp(40px, 7vh, 84px) clamp(22px, 5vw, 60px) clamp(30px, 4vh, 48px);
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: clamp(30px, 5vw, 80px);
  flex-wrap: wrap;
}
.footer-brand { flex: 1 1 300px; min-width: 260px; }
.footer-lockup { height: 40px; opacity: .92; margin-bottom: 22px; display: block; }
.footer-philosophy {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 300; line-height: 1.9; color: var(--ink-dim); margin: 0;
}
.footer-col { flex: 0 1 auto; min-width: 138px; }
.footer-h {
  font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--ink); font-weight: 400; margin-bottom: 16px;
}
.footer-ph { font-size: 14px; color: var(--ink-faint); margin-bottom: 9px; }
.footer-ph a { color: var(--ink-dim); text-decoration: none; transition: color .3s ease; }
.footer-ph a:hover { color: var(--ink); }
.footer-bar {
  max-width: 1180px; margin: 0 auto;
  padding: 22px clamp(22px, 5vw, 60px) clamp(40px, 7vh, 72px);
  border-top: 1px solid rgba(238,241,246,.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px 28px;
}
.footer-bar span {
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- reveals ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s ease, transform 1.1s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg, .photo.in .bg { transform: none; transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
}

/* ---------- tablet / small screens ---------- */
@media (max-width: 860px) {
  :root { --nav-h: 82px; }
  .nav { padding: 0 20px; }
  .nav-brand img { height: 52px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); right: 0; left: 0;
    flex-direction: column; gap: 0;
    background: rgba(5,7,13,.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(238,241,246,.08);
    padding: 8px 20px 18px;
    transform: translateY(-8px);
    opacity: 0; pointer-events: none;
    transition: opacity .28s ease, transform .28s ease;
  }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a {
    padding: 15px 0; font-size: 13px; letter-spacing: .22em;
    border-bottom: 1px solid rgba(238,241,246,.06);
  }
  /* footer: brand full-width on top, the three link columns together in one row */
  .footer-brand { flex-basis: 100%; margin-bottom: 4px; }
  .footer-col { flex: 1 1 140px; }
}

/* ---------- phone ---------- */
@media (max-width: 560px) {
  /* Reduce photo height so wide images are not over-zoomed: a shorter section
     lets `cover` show much more of the composition's width. Focal points below
     then keep each image's key element in the visible crop. */
  .photo { min-height: 0; height: 94vw; }
  .hero { min-height: 0; height: 86svh; }
  .finale { min-height: 0; height: 96vw; }
  .photo .fade-bottom { height: 52%; }
  .photo .fade-top { height: 26%; }

  /* per-image focal points for the narrow mobile crop */
  [data-img="hero"] .bg        { background-position: center 42%; }
  [data-img="observatory"] .bg { background-position: 70% 42%; }
  [data-img="polyglyf"] .bg    { background-position: 18% 40%; }
  [data-img="cosimo"] .bg      { background-position: center 46%; }
  [data-img="astramata"] .bg   { background-position: center 44%; }
  [data-img="observatory2"] .bg{ background-position: 72% 40%; }

  .photo-copy { padding: 0 24px; }
  .photo-copy.low { padding-bottom: clamp(24px, 4vh, 44px); }
  .card-inner { padding-top: clamp(28px, 4vh, 44px); padding-bottom: clamp(44px, 7vh, 72px); }
  .hero-tagline { font-size: clamp(30px, 8.5vw, 44px); }
  .statement { font-size: clamp(25px, 7vw, 34px); }
  .company-name, .cosimo-word { letter-spacing: .16em; }
  .polyglyf-logo { height: clamp(38px, 12vw, 52px); }
  .company-mark { height: clamp(38px, 10vw, 52px); }
  .card-inner { padding-left: 24px; padding-right: 24px; }
  .footer-inner { gap: 30px 36px; }
  .footer-col { flex-basis: 100%; }
  .footer-bar { justify-content: flex-start; }
}
