/*
Theme Name: Fyrst AU
Template: extendable
Text Domain: fyrst-au
Description: Minimal child theme for Extendable. No templates, no patterns, no theme.json.
Version: 1.0.0
Author: FYRST
*/

/* ---------- Inter — Variable (opsz, wght) ---------- */
@font-face {
  font-family: "InterVar";
  src: url("assets/fonts/InterVariable.woff2") format("woff2-variations");
  font-weight: 100 900; /* full variable range */
  font-style: normal;
  font-display: swap;
}

/* ---------- Roboto — Self-hosted (WOFF2) ---------- */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/roboto-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/roboto-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/roboto-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/roboto-latin-800.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("assets/fonts/roboto-latin-900.woff2") format("woff2");
}

/* ---------- Base usage ---------- */
html {
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
strong, b, h1, h2, h3, h4, h5, h6 { font-weight: 700; }
nav a, .button, button { font-weight: 500; }

/* ---------- Inter utilities (use only where needed) ---------- */
.font-inter {
  font-family: "InterVar", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Big, bold, fluid, all-caps hero heading (apply to your H1) */
.hero-type {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
  font-size: clamp(2.5rem, 8vw, 7rem); /* ~40px → ~112px fluid */
  text-wrap: balance;
  /* Optional: lock axes exactly
     font-variation-settings: "wght" 900, "opsz" 32;
  */
}

/* Scope Inter hero to home only (or replace with .page-id-123) */
.home .hero-type {
  font-family: "InterVar", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Optional: make post/page titles use Inter sitewide ---------- */
.wp-block-post-title,
.entry-title {
  font-family: "InterVar", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -0.01em;
}


/* ---------- remove top spacing cover block ---------- */
:where(.wp-site-blocks) > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* Card wrapper over the cover */
.hero-card{
  display:grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
  color:#fff;
  border:1px solid rgba(255,255,255,.55);
  border-radius: 20px;
  padding: clamp(16px, 3vw, 28px);
  background: rgba(255,255,255,.07);            /* soft “glass” */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  /* keep it within your content width */
  max-width: var(--wp--style--global--content-size, 1200px);
  margin-inline:auto;
}

/* Left column */
.hero-eyebrow{
  margin:0 0 .5em 0;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:-.02em;
  line-height:.95;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
}
.hero-logos{
  display:flex; gap:16px; align-items:center; flex-wrap:wrap;
}
.hero-logos img{ height:28px; width:auto; display:block; filter:brightness(0) invert(1); opacity:.9 }

/* Right column: metrics */
.hero-metrics{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  border:1px solid rgba(255,255,255,.45);
  border-radius: 16px;
  overflow:hidden;
}
.metric{
  padding: clamp(14px, 2.2vw, 20px) clamp(12px, 2vw, 18px);
  border-right:1px solid rgba(255,255,255,.35);
}
.metric.no-right{ border-right: none; }
.metric-title{
  font-size: clamp(.8rem, 1.3vw, .95rem);
  font-weight:700;
  text-transform:uppercase;
  line-height:1.2;
  opacity:.95;
}
.metric-num{
  font-weight:900;
  line-height:1;
  letter-spacing:-.02em;
  font-size: clamp(1.8rem, 6vw, 3.8rem);
  margin-top:.2em;
}

/* Looping banner under metrics (CSS-only marquee) */
.hero-loop{
  margin-top: clamp(10px, 1.8vw, 14px);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 8px 10px;
}
.loop-track{
  display:flex; gap:16px; align-items:center;
  white-space: nowrap;
  will-change: transform;
  animation: hero-marquee 28s linear infinite;
}
.loop-track span{
  font-size: clamp(.72rem, 1vw, .85rem);
  opacity:.9;
}
@keyframes hero-marquee{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); } /* because we duplicated content */
}

/* Responsive: stack on small screens */
@media (max-width: 900px){
  .hero-card{ grid-template-columns: 1fr; }
  .metric{ border-right:none; border-bottom:1px solid rgba(255,255,255,.35); }
  .metric.no-right{ border-bottom:none; }
}



