/* layouts.css — page-specific section layouts.
   Positioning, sizing, and grid scaffolding for each homepage section.
   Add per-page layouts here as new pages are built (e.g. `.about-grid`,
   `.investors-gate`, `.portfolio-detail`). Keep reusable patterns in
   components.css. */


/* === HERO === */

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 88px;
  background-color: var(--navy-deepest);
  overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0;
  background-image: url('../images/hero.jpg');
  background-image: image-set(url('../images/hero.avif') type('image/avif'), url('../images/hero.webp') type('image/webp'), url('../images/hero.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center bottom;
  filter: saturate(0.85) hue-rotate(-8deg);
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(0, 13, 20, 0.55) 0%,
    rgba(0, 13, 20, 0.30) 30%,
    rgba(0, 38, 62, 0.35) 60%,
    rgba(0, 13, 20, 0.88) 100%);
}
.hero-overlay::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center 40%, transparent 30%, rgba(0,13,20,0.5) 100%);
}
.hero-content {
  position: relative; z-index: 5;
  max-width: 1400px; margin: 0 auto; width: 100%;
}
.hero-eyebrow {
  font-family: var(--mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; animation: fade-up 1s ease 0.3s forwards;
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--brand-blue); }
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(48px, 7.5vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 14ch;
  margin-bottom: 36px;
  opacity: 0; animation: fade-up 1.2s ease 0.5s forwards;
}
.hero h1 .accent { color: var(--brand-blue); }
.hero p.lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  max-width: 56ch;
  margin-bottom: 48px;
  opacity: 0; animation: fade-up 1.2s ease 0.8s forwards;
}
.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  opacity: 0; animation: fade-up 1.2s ease 1.1s forwards;
}
.btn {
  font-family: var(--body);
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  padding: 16px 26px;
  border-radius: 100px;
  transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--brand-blue); color: var(--navy); }
.btn-primary:hover {
  background: var(--brand-blue-soft);
  box-shadow: 0 0 32px 0 rgba(0, 156, 222, 0.32);
  transform: translateY(-1px);
}
.btn-secondary { border-color: var(--line-strong); color: var(--text); }
.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.04);
}
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.photo-credit {
  position: absolute; bottom: 16px; right: 24px; z-index: 4;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
}
.photo-credit a { color: inherit; }
.photo-credit a:hover { color: rgba(255,255,255,0.7); }


/* === LATEST NEWS === */

/* ============ LATEST NEWS ============ */
section.news {
  padding: 100px 48px 110px;
  background: var(--navy-deep);
  border-top: 1px solid var(--line);
}
.news-inner { max-width: 1400px; margin: 0 auto; }
.news-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 56px; gap: 48px;
}
.news-header h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05; letter-spacing: -0.03em;
  margin-top: 12px;
}
.news-header h2 .accent { color: var(--brand-blue); }
.news-header .all-link {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color .2s ease;
  white-space: nowrap;
  padding-bottom: 6px;
}
.news-header .all-link:hover { color: var(--brand-blue); }
.news-header .all-link .arrow { display: inline-block; margin-left: 6px; transition: transform .2s ease; }
.news-header .all-link:hover .arrow { transform: translateX(3px); }

.news-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.news-card {
  background: rgba(0, 25, 37, 0.6);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: all .3s ease;
  display: flex; flex-direction: column;
  cursor: pointer;
}
.news-card:hover {
  border-color: var(--brand-blue);
  background: rgba(0, 38, 62, 0.7);
  transform: translateY(-2px);
}
.news-card .news-image {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  position: relative;
}
.news-image.bg-bradfeld {
  background-image: url('../images/news/brad-feld.jpg');
  background-image: image-set(
    url('../images/news/brad-feld.avif') type('image/avif'),
    url('../images/news/brad-feld.webp') type('image/webp'),
    url('../images/news/brad-feld.jpg') type('image/jpeg'));
}
.news-image.bg-showcase {
  background-image: url('../images/news/showcase.jpg');
  background-image: image-set(
    url('../images/news/showcase.avif') type('image/avif'),
    url('../images/news/showcase.webp') type('image/webp'),
    url('../images/news/showcase.jpg') type('image/jpeg'));
}

.news-card .news-image::after {
  /* Subtle gradient at the bottom of the image to ease the transition into the card body */
  content: '';
  position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(0, 25, 37, 0.4));
  pointer-events: none;
}
.news-card .news-body {
  padding: 32px 32px 36px;
  display: flex; flex-direction: column;
  flex: 1;
}
.news-card .news-tag {
  font-family: var(--mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.news-card .news-tag::before {
  content: ''; width: 18px; height: 1px; background: var(--brand-blue);
}
.news-card h3 {
  font-family: var(--display); font-weight: 700;
  font-size: 24px; line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.news-card p {
  font-size: 15px; line-height: 1.6;
  color: var(--text-muted); font-weight: 300;
  margin-bottom: 24px;
}
.news-card .read-more {
  margin-top: auto;
  font-family: var(--body);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand-blue);
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap .25s ease;
}
.news-card:hover .read-more { gap: 14px; }


/* === MANIFESTO (layout-only — section-label is in components.css) === */

/* ============ MANIFESTO ============ */
section.manifesto { padding: 110px 48px 160px; background: var(--navy); }
.manifesto-inner { max-width: 1100px; margin: 0 auto; }
.manifesto h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 56px; max-width: 22ch;
}
.manifesto h2 .accent { color: var(--brand-blue); }
.manifesto-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; margin-top: 48px;
}
.manifesto-grid p {
  font-size: 17px; line-height: 1.65;
  color: var(--text-muted); font-weight: 300;
}
.manifesto-grid p strong { color: var(--white); font-weight: 600; }


/* === APPROACH (layout-only — pillars are in components.css) === */

/* ============ APPROACH ============ */
section.approach {
  padding: 110px 48px 160px;
  background: var(--navy);
  border-top: 1px solid var(--line);
}
.approach-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 96px; align-items: start;
}
.approach-inner > div:first-child h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05; letter-spacing: -0.03em;
  position: sticky; top: 100px; margin-top: 48px;
}
.approach-inner h2 .accent { color: var(--brand-blue); }


/* === PORTFOLIO (layout-only — hover-card is in components.css) === */

/* ============ PORTFOLIO ============ */
section.portfolio {
  padding: 100px 48px 160px;
  background: var(--navy-deep);
  border-top: 1px solid var(--line);
  position: relative; overflow: hidden;
}
section.portfolio::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 24%, rgba(255,255,255,0.6) 50%, transparent),
    radial-gradient(1px 1px at 27% 67%, rgba(0,156,222,0.5) 50%, transparent),
    radial-gradient(1.5px 1.5px at 45% 18%, rgba(255,255,255,0.7) 50%, transparent),
    radial-gradient(1px 1px at 67% 88%, rgba(255,255,255,0.5) 50%, transparent),
    radial-gradient(1px 1px at 88% 35%, rgba(255,255,255,0.6) 50%, transparent),
    radial-gradient(1.5px 1.5px at 73% 55%, rgba(0,156,222,0.5) 50%, transparent),
    radial-gradient(1px 1px at 8% 78%, rgba(255,255,255,0.5) 50%, transparent),
    radial-gradient(1px 1px at 92% 12%, rgba(255,255,255,0.6) 50%, transparent);
  pointer-events: none;
}
.portfolio-inner { max-width: 1400px; margin: 0 auto; position: relative; }
.portfolio-header { margin-bottom: 80px; max-width: 760px; }
.portfolio-header h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.05; letter-spacing: -0.03em; margin-top: 12px;
}
.portfolio-header h2 .accent { color: var(--brand-blue); }
.companies {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
/* Hover-image card pattern (used by .co and .market) */
/*
  v5 HOVER IMAGES — sourced as proper marketing assets (not deck slides).
  Production task: replace these inline base64 with CDN-hosted versions
  (Cloudflare Images recommended) for fast delivery and AVIF/WebP fallback.

  Asset provenance — credit and verify rights with each portco before launch:
    bg-adelaide   — SA_1.jpg                 (Adelaide skyline, dusk)
    bg-perth      — WA_2.jpeg                (Perth skyline + Elizabeth Quay, dusk)
    bg-brisbane   — QLD2.jpeg                (Brisbane skyline + Story Bridge, sunset)
    bg-priori     — Priori2.jpg              (Priori team, defence trade event)
    bg-heatseeker — Heatseaker-AI-co-founders_02 (Triaca, O'Keeffe, Coolen)
    bg-jack       — JackApp1.jpg             (Liam Cook at industry event)
    bg-bluenexus  — BlueNexus.webp           (Stylised AI/MCP brand illustration)
    bg-optible    — Optible.jpeg             (Founders at Stone & Chalk Adelaide)
    bg-legend     — LegendSports1.jpeg       (Product UI screenshot)
    bg-nitrosend  — Nitrosend__Ed__George__Kam_.jpeg (Hartleys + Kam, founder portrait)

  Each swap to the production CDN is a one-line change: replace the URL in
  the .hover-img.bg-nitrosend declaration above with the new asset URL. Target
  delivery weight ≤ 60KB per image, retina-ready at hover-card scale.
*/
.co {
  background: rgba(0, 25, 37, 0.85);
  padding: 36px 32px;
  transition: background .25s ease;
  display: flex; flex-direction: column;
  min-height: 260px;
}
.co .arrow {
  position: absolute;
  top: 32px; right: 32px;
  color: rgba(255,255,255,0.3);
  font-family: var(--mono); font-size: 18px;
  transition: color .25s, transform .25s;
  z-index: 3;
}
.co:hover .arrow { color: var(--brand-blue); transform: translate(2px, -2px); }
.co .tag {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--text-quiet); text-transform: uppercase;
  margin-bottom: 18px;
  transition: color .25s ease;
}
.co:hover .tag { color: var(--white); }
.co h4 {
  font-family: var(--display); font-weight: 700;
  font-size: 24px; letter-spacing: -0.025em; margin-bottom: 12px;
}
.co .founder {
  font-family: var(--mono);
  font-size: 11px; color: var(--brand-blue);
  letter-spacing: 0.04em; margin-bottom: 18px;
}
.co p {
  font-size: 14px;
  color: var(--text-muted); line-height: 1.55;
  font-weight: 300; margin-top: auto;
  transition: color .25s ease;
}
.co:hover p { color: rgba(255,255,255,0.92); }
/* Eighth tile: brand-blue "Stay in the loop" inline subscribe — uses portco card layout but
   with a solid brand color background, no hover image, and an embedded subscribe form. */


/* === MARKETS === */

/* ============ MARKETS ============ */
section.markets {
  padding: 100px 48px 140px;
  background: var(--navy);
  border-top: 1px solid var(--line);
}
.markets-inner { max-width: 1400px; margin: 0 auto; }
.markets-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 80px; gap: 48px;
}
.markets-header h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.0; letter-spacing: -0.03em; max-width: 14ch;
}
.markets-header h2 .accent { color: var(--brand-blue); }
.markets-header .meta {
  font-size: 15px; color: var(--text-muted);
  max-width: 36ch; line-height: 1.6; font-weight: 300;
}
.markets-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line);
}
.market {
  background: var(--navy);
  padding: 48px 40px;
  transition: background .35s ease;
  min-height: 320px;
  display: flex; flex-direction: column;
}
.market .marker {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--text-quiet); margin-bottom: 32px;
  transition: color .25s ease;
}
.market:hover .marker { color: var(--white); }
.market h3 {
  font-family: var(--display); font-weight: 700;
  font-size: 38px; line-height: 1;
  letter-spacing: -0.03em; margin-bottom: 6px;
}
.market .state {
  font-family: var(--mono);
  font-size: 12px; color: var(--brand-blue);
  letter-spacing: 0.06em; margin-bottom: 28px;
}
.market p {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.6; margin-bottom: 24px; font-weight: 300;
  transition: color .25s ease;
}
.market:hover p { color: rgba(255,255,255,0.92); }
.market .pop {
  font-family: var(--mono);
  font-size: 11px; color: var(--text-quiet);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.market .vc-share {
  margin-top: auto; padding-top: 24px;
  display: flex; align-items: baseline; gap: 8px;
}
.market .vc-share .pct {
  font-family: var(--display); font-weight: 700;
  font-size: 28px; color: var(--white); letter-spacing: -0.02em;
}
.market .vc-share .of {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; color: var(--text-muted); text-transform: uppercase;
}


/* === CTA (layout-only — .highlight is in components.css) === */

/* ============ CTA ============ */
section.cta {
  padding: 110px 48px 160px;
  background: var(--navy-deep);
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta-inner { max-width: 900px; margin: 0 auto; }
.cta .section-label { justify-content: center; }
.cta h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 1.0; letter-spacing: -0.035em; margin-bottom: 32px;
}
.cta h2 .accent { color: var(--brand-blue); }
.cta p {
  font-size: 18px; color: var(--text-muted);
  line-height: 1.55; font-weight: 300;
  max-width: 56ch; margin: 0 auto 56px;
}
/* Highlighter-on-scroll: a yellow marker pen draws across the text when the section enters view.
   The text color shifts to navy after the marker is mostly painted, mimicking the way a real
   highlighter reveals the underlying ink against the bright background. */
.cta-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }


/* === FOOTER (layout-only — atoms are in components.css) === */

/* ============ FOOTER ============ */
footer {
  background: var(--navy-deepest);
  border-top: 1px solid var(--line);
  padding: 80px 48px 48px;
  position: relative;
  overflow: hidden;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-inner { position: relative; z-index: 1; }
.footer-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 0.9fr 1.2fr 1.4fr;
  gap: 40px;
  margin-bottom: 64px;
}
.footer-brand .logo img {
  height: 48px; width: auto; margin-bottom: 24px;
}
.footer-brand p {
  max-width: 38ch; font-size: 14px;
  color: var(--text-muted); font-weight: 300; line-height: 1.6;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand-blue); margin-bottom: 20px; font-weight: 500;
}
.footer-col a {
  display: block;
  font-size: 15px;
  color: var(--text-muted);
  padding: 5px 0;
  transition: color .2s; font-weight: 300;
}
.footer-col a:hover { color: var(--white); }
.footer-brand .social,
.subscribe .social {
  display: flex; gap: 10px;
}
.footer-brand .social { margin-top: 22px; }
.footer-brand .social a,
.subscribe .social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all .25s ease;
}
.footer-brand .social a:hover,
.subscribe .social a:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: var(--navy);
}
.footer-brand .social a svg,
.subscribe .social a svg { width: 16px; height: 16px; }
.contact-details {
  display: flex; flex-direction: column; gap: 18px;
}
.contact-details .item { font-weight: 300; }
.contact-details .item .lbl {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-quiet);
  margin-bottom: 4px;
}
.contact-details .item a,
.contact-details .item .val {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  transition: color .2s ease;
  font-weight: 300;
}
.contact-details .item a:hover { color: var(--white); }
.compliance {
  max-width: 1400px; margin: 0 auto;
  border-top: 1px solid var(--line);
  padding-top: 36px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  position: relative;
}
.compliance p { margin-bottom: 16px; }
.compliance .ack {
  display: flex; gap: 20px; align-items: start;
  margin-bottom: 28px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(0, 25, 37, 0.4);
  backdrop-filter: blur(4px);
}
.compliance .ack-mark {
  width: 8px; height: 8px;
  background: var(--brand-blue);
  border-radius: 50%;
  flex-shrink: 0; margin-top: 8px;
}
.compliance .ack p {
  margin: 0; font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}
.bottom-bar {
  margin-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.06em;
  color: var(--text-quiet);
}
