/*
Theme Name: The Hive Co.
Theme URI: https://thehive.co
Author: The Hive Co.
Author URI: https://thehive.co
Description: Pixel-perfect custom theme for The Hive Co. — fractional GTM leadership, embedded. Single-page marketing site converted from the Hive Co. Design System. Fully dynamic via ACF Pro, wp_nav_menu, custom logo, and site icon.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: the-hive-co
Tags: custom-theme, one-page, marketing, acf
*/

/* ========================================================================
   DESIGN TOKENS
   Transcribed verbatim from The Hive Co. Design System
   (tokens/colors.css, typography.css, spacing.css, effects.css).
   ======================================================================== */
:root {
  /* ---- Brand palette (base) ---- */
  --hive-charcoal: #404041;
  --hive-ink: #252525;
  --hive-ink-soft: #414142;
  --hive-sage: #9bb7a5;
  --hive-sand: #cbae8c;
  --hive-slate-blue: #425368;
  --hive-vermillion: #e73c34;
  --hive-ivory: #f1f2f2;
  --hive-white: #ffffff;

  /* ---- Sand tints/shades ---- */
  --hive-sand-50: #f7f1e9;
  --hive-sand-100: #eee2d1;
  --hive-sand-200: #e0cbae;
  --hive-sand-400: #cbae8c;
  --hive-sand-600: #b5946b;
  --hive-sand-700: #97774e;

  /* ---- Sage tints/shades ---- */
  --hive-sage-50: #eef3ef;
  --hive-sage-100: #dce7e0;
  --hive-sage-400: #9bb7a5;
  --hive-sage-600: #7a9885;
  --hive-sage-700: #5e7967;

  /* ---- Neutral ramp ---- */
  --hive-grey-50: #fafafa;
  --hive-grey-100: #f0f0f0;
  --hive-grey-200: #e7e7e7;
  --hive-grey-300: #efefef;
  --hive-grey-400: #c9c9c9;
  --hive-grey-500: #9a9a9b;
  --hive-grey-600: #6e6e6f;
  --hive-charcoal-700: #333334;
  --hive-charcoal-900: #1e1e1f;

  /* ---- Semantic: text ---- */
  --text-primary: var(--hive-ink);
  --text-secondary: var(--hive-ink-soft);
  --text-muted: var(--hive-grey-600);
  --text-accent: var(--hive-sand-700);
  --text-on-dark: var(--hive-white);
  --text-on-dark-muted: rgba(255, 255, 255, 0.66);

  /* ---- Semantic: surfaces ---- */
  --surface-page: var(--hive-white);
  --surface-subtle: var(--hive-ivory);
  --surface-card: var(--hive-white);
  --surface-sage: var(--hive-sage);
  --surface-sand: var(--hive-sand);
  --surface-dark: var(--hive-charcoal);
  --surface-ink: var(--hive-ink);

  /* ---- Lines & borders ---- */
  --border-hairline: var(--hive-grey-300);
  --border-soft: var(--hive-grey-200);
  --border-strong: var(--hive-charcoal);
  --border-on-dark: rgba(255, 255, 255, 0.16);

  /* ---- Accents ---- */
  --accent: var(--hive-sand);
  --accent-strong: var(--hive-sand-600);
  --accent-secondary: var(--hive-sage);
  --accent-cool: var(--hive-slate-blue);

  /* ---- Status ---- */
  --status-danger: var(--hive-vermillion);
  --status-positive: var(--hive-sage-600);
  --status-info: var(--hive-slate-blue);
  --focus-ring: rgba(203, 174, 140, 0.55);

  /* ---- Typography families ---- */
  --font-display:
    "Cormorant Garamond", "Orpheus Pro", Georgia, "Times New Roman", serif;
  --font-sans:
    "Montserrat", "Proxima Nova", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;

  /* ---- Weights ---- */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* ---- Type scale (px verbatim from moodboard) ---- */
  --fs-h1: 60px;
  --fs-h2: 40px;
  --fs-body-lg: 36px;
  --fs-body-reg: 24px;
  --fs-body: 18px;
  --fs-body-sm: 16px;
  --fs-eyebrow: 14px;
  --fs-caption: 13px;

  /* ---- Fluid display sizes ---- */
  --fs-display: clamp(40px, 6vw, 72px);
  --fs-h1-fluid: clamp(34px, 4.6vw, 60px);
  --fs-h2-fluid: clamp(26px, 3vw, 40px);
  --fs-h3-fluid: clamp(21px, 2vw, 28px);

  /* ---- Line heights ---- */
  --lh-tight: 1.1;
  --lh-heading: 1.3;
  --lh-body: 1.6;
  --lh-snug: 1.45;

  /* ---- Letter spacing ---- */
  --ls-eyebrow: 0.28em;
  --ls-label: 0.14em;
  --ls-tight: -0.01em;
  --ls-display: -0.015em;

  /* ---- Spacing scale ---- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 54px;
  --space-10: 64px;
  --space-11: 80px;
  --space-12: 100px;
  --space-13: 128px;

  /* ---- Radii ---- */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* ---- Layout ---- */
  --container-max: 1280px;
  --container-wide: 1440px;
  --container-narrow: 880px;
  --gutter: clamp(20px, 5vw, 80px);
  --section-pad-y: clamp(64px, 9vw, 140px);
  --border-width: 1px;
  --border-width-thick: 2px;

  /* ---- Shadows ---- */
  --shadow-xs: 0 1px 2px rgba(37, 37, 37, 0.05);
  --shadow-sm: 0 6px 18px rgba(37, 37, 37, 0.06);
  --shadow-md: 0 14px 40px rgba(37, 37, 37, 0.08);
  --shadow-card: 4px 4px 80px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 30px 90px rgba(37, 37, 37, 0.1);
  --shadow-float: 4px 4px 100px rgba(0, 0, 0, 0.15);
  --shadow-gold: 0 18px 50px rgba(203, 174, 140, 0.3);
  --glow-gold: 0 0 40px rgba(203, 174, 140, 0.45);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 160ms;
  --dur-base: 280ms;
  --dur-slow: 560ms;
  --dur-reveal: 720ms;

  /* ---- Gradients ---- */
  --grad-sand: linear-gradient(135deg, #e0cbae 0%, #cbae8c 60%, #b5946b 100%);
  --grad-ink: linear-gradient(160deg, #404041 0%, #252525 100%);
  --grad-sage: linear-gradient(135deg, #b6cdbf 0%, #9bb7a5 100%);
  --grad-honey-glow: radial-gradient(
    circle at 50% 120%,
    rgba(203, 174, 140, 0.3) 0%,
    rgba(37, 37, 37, 0) 60%
  );
}

/* ========================================================================
   BASE / RESET
   ======================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background: var(--hive-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-display);
  color: var(--text-primary);
  margin: 0;
}

p {
  margin: 0;
}

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

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

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

/* Skip link (a11y) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--hive-ink);
  color: var(--hive-white);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
}

.skip-link:focus {
  left: 0;
}

/* ========================================================================
   LAYOUT — Container & Section
   Mirrors the design system <Container> and <Section> helpers.
   ======================================================================== */
.hive-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
  position: relative;
  box-sizing: border-box;
}

.hive-container--wide {
  max-width: 1360px;
}

.hive-container--narrow {
  max-width: 820px;
}

.hive-section {
  position: relative;
}

.hive-section--pad-sm {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.hive-section--pad-lg {
  padding-top: clamp(72px, 9vw, 140px);
  padding-bottom: clamp(72px, 9vw, 140px);
}

.hive-section--pad-xl {
  padding-top: clamp(90px, 11vw, 170px);
  padding-bottom: clamp(90px, 11vw, 170px);
}

.hive-section--page {
  background: var(--surface-page);
  color: var(--text-primary);
}

.hive-section--subtle {
  background: var(--surface-subtle);
  color: var(--text-primary);
}

.hive-section--ink {
  background: var(--hive-charcoal);
  color: var(--hive-white);
}

.hive-section--deep {
  background: var(--hive-ink);
  color: var(--hive-white);
}

.hive-section--clip {
  overflow: hidden;
}

/* Drifting honeycomb backdrop layer (JS-driven, see theme.js) */
.hive-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hive-backdrop svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ========================================================================
   TYPE ROLES / UTILITIES
   ======================================================================== */
.hive-eyebrow {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hive-sand-700);
}

/* ========================================================================
   BUTTONS
   Ported from Design System Button.jsx (variants + sizes).
   ======================================================================== */
.hive-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  line-height: 1;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition:
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out);
}

.hive-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* sizes */
.hive-btn--sm {
  padding: 10px 20px;
  font-size: 13px;
  gap: 8px;
}

.hive-btn--md {
  padding: 14px 28px;
  font-size: 14.5px;
  gap: 10px;
}

.hive-btn--lg {
  padding: 18px 38px;
  font-size: 16px;
  gap: 12px;
}

/* variants */
.hive-btn--primary {
  background: var(--hive-ink);
  color: var(--hive-white);
  border-color: var(--hive-ink);
}

.hive-btn--gold {
  background: var(--hive-sand);
  color: var(--hive-ink);
  border-color: var(--hive-sand);
}

.hive-btn--sage {
  background: var(--hive-sage);
  color: var(--hive-ink);
  border-color: var(--hive-sage);
}

.hive-btn--outline {
  background: transparent;
  color: var(--hive-ink);
  border-color: var(--hive-ink);
}

.hive-btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: transparent;
}

.hive-btn--outline-light {
  background: transparent;
  color: var(--hive-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.hive-btn--full {
  width: 100%;
}

.hive-btn--uppercase {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ========================================================================
   HEADER / NAVIGATION
   Ported from Design System Nav.jsx (sticky, transparent → blurred on scroll).
   ======================================================================== */
.hive-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 320ms ease,
    border-color 320ms ease;
}

.hive-header.is-scrolled {
  background: rgba(26, 26, 27, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hive-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
  height: 86px;
  transition: height 320ms ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hive-header.is-scrolled .hive-header__inner {
  /* height: 70px; */
}

.hive-header__logo {
  display: flex;
  align-items: center;
}

.hive-header .custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
}

.hive-header .custom-logo {
  height: 68px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* .hive-header.is-scrolled .custom-logo {
  height: 54px;
} */

/* Desktop menu */
.hive-navlinks {
  display: flex;
  align-items: center;
}

.hive-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 34px;
}

.hive-menu > li {
  margin: 0;
}

.hive-menu > li > a {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.74);
  letter-spacing: 0.01em;
  transition: color 200ms ease;
}

.hive-menu > li > a:hover,
.hive-menu > li.current-menu-item > a {
  color: var(--hive-sage);
}

/* Hamburger */
.hive-navtoggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.hive-navtoggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition:
    transform 260ms ease,
    opacity 260ms ease;
}

.hive-navtoggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hive-navtoggle.is-open span:nth-child(2) {
  opacity: 0;
}

.hive-navtoggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile panel */
.hive-navmenu {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 360ms cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(26, 26, 27, 0.96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid transparent;
}

.hive-navmenu.is-open {
  max-height: 460px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hive-navmenu__inner {
  padding: 18px clamp(20px, 5vw, 64px) 26px;
}

.hive-menu-mobile {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hive-menu-mobile > li > a {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  padding: 12px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hive-menu-mobile > li > a:hover {
  color: var(--hive-sage);
}

.hive-main {
  display: block;
}

/* ========================================================================
   FOOTER
   Ported from Design System Footer.jsx.
   ======================================================================== */
.hive-footer {
  background: var(--hive-ink);
  color: var(--hive-white);
  padding: clamp(52px, 6vw, 80px) 0 36px;
}

.hive-footer__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

.hive-footer__top {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hive-footer__brandrow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hive-footer .custom-logo,
.hive-footer .hive-logo-fallback img {
  height: 68px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.hive-footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hive-footer__col .hive-footer__social {
  margin-top: 18px;
}

.hive-footer__sociallink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.6);
  transition:
    color 200ms ease,
    border-color 200ms ease;
}

.hive-footer__sociallink:hover {
  color: var(--hive-sand);
  border-color: var(--hive-sand);
}

.hive-footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--hive-sand);
  margin: 20px 0 0;
  max-width: 240px;
}

.hive-footer__coltitle {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 16px;
}

.hive-footer__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.hive-footer__menu a {
  font-family: var(--font-sans);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.66);
  transition: color 200ms ease;
  display: inline-block;
}

.hive-footer__menu a:hover {
  color: var(--hive-sand);
}

.hive-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.hive-footer__copy {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
}

.hive-footer__copy a {
  color: var(--hive-sand);
  text-decoration: none;
  transition: color 200ms ease;
}

.hive-footer__copy a:hover {
  color: var(--hive-sand);
}

.hive-footer__legal {
  display: flex;
  gap: 22px;
}

.hive-footer__legal a {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  transition: color 200ms ease;
}

.hive-footer__legal a:hover {
  color: var(--hive-sand);
}

/* ========================================================================
   REVEAL (scroll-in) — shared IntersectionObserver animation
   ======================================================================== */
.hive-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms var(--ease-out),
    transform 720ms var(--ease-out);
  will-change: opacity, transform;
}

.hive-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ========================================================================
   HERO (The Premise)
   Ported from HeroPremise.jsx.
   ======================================================================== */
.hive-hero {
  padding-top: clamp(150px, 17vh, 220px);
  padding-bottom: clamp(90px, 11vw, 170px);
}

.hive-hero .hive-container {
  position: relative;
  z-index: 1;
}

.hive-hero__scene {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 64%;
  pointer-events: none;
  opacity: 0.85;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 30%,
    #000 100%
  );
  mask-image: linear-gradient(to right, transparent 0%, #000 30%, #000 100%);
}

.hive-hero__scene-inner {
  position: absolute;
  inset: 0;
  transform: scale(1.18);
  transform-origin: 60% 45%;
  -webkit-mask-image: radial-gradient(
    115% 105% at 58% 45%,
    #000 44%,
    transparent 84%
  );
  mask-image: radial-gradient(115% 105% at 58% 45%, #000 44%, transparent 84%);
}

.hive-hero__hex {
  position: absolute;
  inset: 0;
}

.hive-hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    circle at 82% 38%,
    rgba(203, 174, 140, 0.16) 0%,
    rgba(37, 37, 37, 0) 56%
  );
}

.hive-hero__content {
  max-width: 680px;
}

.hive-hero__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.7vw, 66px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 26px 0 0;
  color: var(--hive-sand);
  max-width: 660px;
}

.hive-hero__word {
  display: block;
  opacity: 0;
  transform: translateY(0.5em);
  transition:
    opacity 600ms var(--ease-out),
    transform 600ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 120ms);
}

.hive-hero__word.is-accent {
  color: var(--hive-sand);
}

.hive-hero__headline.is-in .hive-hero__word {
  opacity: 1;
  transform: none;
}

.hive-hero__para {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
  color: var(--text-on-dark-muted);
  margin: 28px 0 0;
  max-width: 560px;
}

.hive-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

/* ========================================================================
   TENSION
   Ported from Tension.jsx.
   ======================================================================== */
.hive-tension__head {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.hive-tension__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--hive-sand-700);
  text-wrap: balance;
}

.hive-tension__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  max-width: 920px;
  margin: clamp(36px, 4.5vw, 56px) auto 0;
}

.hive-tension__label {
  margin-bottom: 14px;
}

.hive-tension__text {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.hive-tension__closing {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 2.9vw, 36px);
  line-height: 1.3;
  color: var(--hive-sand-700);
  text-align: center;
  margin: clamp(44px, 5.5vw, 68px) auto 0;
  max-width: 660px;
}

/* ========================================================================
   SECTION HEADING (shared, ported from SectionHeading.jsx)
   ======================================================================== */
.hive-sectionheading {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  text-align: left;
  max-width: 760px;
}

/* ========================================================================
   ANIMATED SAGE TRACE BORDER (shared: Contrast cards + Contact form)
   Ported from TraceBorder in ContactCTA.jsx.
   ======================================================================== */
@keyframes hiveTrace {
  to {
    stroke-dashoffset: -200;
  }
}

.hive-trace {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
}

.hive-trace svg {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.hive-form-trace {
  animation: hiveTrace 6s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hive-form-trace {
    animation: none;
  }
}

/* ========================================================================
   CONTRAST (Most Firms Deliver a Recommendation. We Deliver the Result.)
   Ported from Contrast.jsx.
   ======================================================================== */
.hive-contrast__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h2-fluid);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--hive-sand);
  margin: 0;
}

.hive-contrast__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 32px);
  margin-top: clamp(40px, 5vw, 64px);
  align-items: stretch;
}

.hive-contrast__card {
  position: relative;
  padding: clamp(28px, 3.4vw, 46px);
  background: transparent;
  border-radius: 20px;
  transition:
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}

.hive-contrast__card:hover {
  box-shadow:
    inset 0 0 0 1px rgba(155, 183, 165, 0.5),
    0 18px 50px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

.hive-contrast__motif {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.09;
  border-radius: 20px;
  overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='208' viewBox='0 0 120 208'%3E%3Cg fill='none' stroke='%239bb7a5' stroke-width='1'%3E%3Cpath d='M30 2 L90 2 L120 54 L90 106 L30 106 L0 54 Z'/%3E%3Cpath d='M30 106 L90 106 L120 158 L90 210 L30 210 L0 158 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 208px;
  -webkit-mask-image: radial-gradient(
    120% 100% at 90% 20%,
    #000 0%,
    transparent 72%
  );
  mask-image: radial-gradient(120% 100% at 90% 20%, #000 0%, transparent 72%);
  transition: opacity var(--dur-base) var(--ease-out);
}

.hive-contrast__card--hl:hover .hive-contrast__motif {
  opacity: 0.16;
}

.hive-contrast__inner {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}

.hive-contrast__card:nth-child(1) .hive-contrast__inner {
  transition-duration: 640ms;
}

.hive-contrast__card:nth-child(2) .hive-contrast__inner {
  transition-duration: 760ms;
}

.hive-contrast__inner.is-in {
  opacity: 1;
  transform: none;
}

.hive-contrast__label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

.hive-contrast__label.is-sage {
  color: var(--hive-sage);
}

.hive-contrast__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  color: var(--hive-white);
  margin: 18px 0 0;
}

.hive-contrast__body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-on-dark-muted);
  margin: 16px 0 0;
}

/* ========================================================================
   FRAMEWORK (How We Engineer Growth) — five-step process line
   Ported from StrategyFramework.jsx (+ index.html .hive-proc styles).
   ======================================================================== */
.hive-framework {
  background: var(--hive-ivory);
  padding-top: clamp(64px, 8vw, 116px);
  padding-bottom: clamp(64px, 8vw, 116px);
}

.hive-framework__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--hive-sand-700);
  margin: 0;
  max-width: 720px;
  text-wrap: balance;
}

.hive-framework__heading span {
  color: var(--hive-sand-700);
}

.hive-proc {
  position: relative;
  margin-top: clamp(48px, 6vw, 84px);
  display: grid;
  grid-template-columns: repeat(var(--steps, 5), 1fr);
}

.hive-proc-track,
.hive-proc-fill {
  position: absolute;
  top: 6px;
  left: 10%;
  right: 10%;
  height: 2px;
}

.hive-proc-track {
  background: rgba(37, 37, 37, 0.14);
}

.hive-proc-fill {
  background: var(--hive-sand);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 2000ms linear;
}

.hive-proc.is-drawing .hive-proc-fill {
  transform: scaleX(1);
}

.hive-proc-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 clamp(8px, 1.4vw, 18px);
}

.hive-proc-rail {
  display: flex;
  justify-content: center;
}

.hive-proc-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  background: var(--hive-ivory);
  border: 1px solid rgba(37, 37, 37, 0.25);
  transition:
    background 320ms ease,
    border-color 320ms ease,
    box-shadow 320ms ease,
    transform 320ms ease;
}

.hive-proc-step.is-lit .hive-proc-dot {
  background: var(--hive-sand);
  border-color: var(--hive-sand);
  box-shadow: 0 0 0 5px rgba(203, 174, 140, 0.16);
  transform: scale(1.15);
}

.hive-proc-seg {
  display: none;
  background: var(--hive-sand);
  transform-origin: center top;
  transform: scaleY(0);
  transition: transform 500ms linear;
}

.hive-proc-step.is-lit .hive-proc-seg {
  transform: scaleY(1);
}

.hive-proc-txt {
  margin-top: 18px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

.hive-proc-step.is-lit .hive-proc-txt {
  opacity: 1;
  transform: none;
}

.hive-proc-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hive-sand-700);
}

.hive-proc-desc {
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.2vw, 15.5px);
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 12px 0 0;
  text-wrap: pretty;
}

/* ========================================================================
   SERVICES (What We Build) — self-constructing honeycomb
   Ported from Services.jsx.
   ======================================================================== */
@keyframes hexGlow {
  0%,
  100% {
    stroke-opacity: 0.32;
  }

  50% {
    stroke-opacity: 0.85;
  }
}

.hive-services__heading {
  margin: 0 auto;
  max-width: 880px;
  padding: 0 16px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(23px, 3vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--hive-sand);
  text-wrap: balance;
}

.hive-hivecluster-wrap {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 5vw, 64px);
  height: 436px;
}

.hive-hivecluster {
  position: relative;
  flex-shrink: 0;
  transform-origin: center top;
}

.hive-services__svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: visible;
}

.hive-svc-label {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  cursor: default;
  opacity: 0;
  transition: opacity 600ms ease;
}

.hive-svc-label--core {
  z-index: 2;
}

.hive-svc-label.is-shown {
  opacity: 1;
}

.hive-svc-label__inner {
  width: 196px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hive-svc-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--hive-sage);
  text-wrap: balance;
  overflow-wrap: break-word;
  max-height: 90px;
  opacity: 1;
  overflow: hidden;
  transition:
    opacity 260ms ease,
    max-height 320ms ease;
}

.hive-svc-title.is-compact {
  font-size: 21px;
}

.hive-svc-title.is-core {
  font-size: 21px;
  color: var(--hive-sand);
}

.hive-svc-body {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--hive-white);
  margin: 0;
  text-wrap: pretty;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    opacity 340ms ease 60ms,
    max-height 360ms ease;
}

.hive-svc-label.is-active .hive-svc-title {
  max-height: 0;
  opacity: 0;
}

.hive-svc-label.is-active .hive-svc-body {
  max-height: 180px;
  opacity: 1;
}

/* Core body is the longest copy; narrow + shrink it so the paragraph stays
   inside the hexagon's tapered outline (the flat top/bottom edges are only
   ~half the cell width). Cluster scales via transform, so this holds at
   every breakpoint. */
.hive-svc-label--core .hive-svc-body {
  max-width: 168px;
  font-size: 12px;
  line-height: 1.4;
}

/* ========================================================================
   PROOF (The Operators)
   Ported from Proof.jsx.
   ======================================================================== */
.hive-proof__top {
  display: grid;
  grid-template-columns: 1.55fr 0.6fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hive-proof__intro {
  max-width: 720px;
}

.hive-proof__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--hive-sand-700);
  text-wrap: balance;
}

.hive-proof__heading span {
  color: var(--hive-sand-700);
}

.hive-proof__para {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 22px 0 0;
}

.hive-proof__para + .hive-proof__para {
  margin-top: 16px;
}

.hive-proof__stat {
  padding-left: clamp(0px, 2vw, 32px);
  border-left: 1px solid rgba(0, 0, 0, 0.12);
}

.hive-proof__statnum {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(46px, 5.2vw, 68px);
  line-height: 1;
  color: var(--hive-sand-700);
  display: block;
}

.hive-proof__statlabel {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(13px, 1.1vw, 15px);
  letter-spacing: 0.04em;
  color: var(--hive-ink);
  line-height: 1.45;
  margin: 14px 0 0;
  max-width: 230px;
}

.hive-proof__spacer {
  height: clamp(40px, 5vw, 64px);
}

.hive-proof__founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hive-founder {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(28px, 2.6vw, 38px);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-card);
  transition:
    transform 360ms var(--ease-out),
    box-shadow 360ms ease,
    border-color 360ms ease;
}

.hive-founder:hover {
  border-color: var(--accent, var(--hive-sand));
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.14);
  transform: translateY(-6px);
}

.hive-founder__head {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* .hive-founder__photowrap {
  width: 104px;
  height: 116px;
  flex-shrink: 0;
} */
.hive-founder__photowrap {
  width: 104px;
  height: 116px;
  flex-shrink: 0;

  /* This color acts as your hexagon border */
  background-color: #b3b1aa;

  /* Centers the inner photo to create an even border */
  display: flex;
  justify-content: center;
  align-items: center;

  /* Clips the outer wrapper into a pointy-topped hexagon */
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* .hive-founder__photo {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(0.9) contrast(1.03);
  transition: filter 420ms ease;
} */
.hive-founder__photo {
  /* Reduces the size to reveal the wrapper's background as a 4px border */
  width: calc(100% - 8px);
  height: calc(100% - 8px);

  /* Switched from 'contain' to 'cover' so it fills the hexagon completely */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  filter: grayscale(0.9) contrast(1.03);
  transition: filter 420ms ease;

  /* Clips the inner photo to match the outer shape */
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hive-founder:hover .hive-founder__photo {
  filter: grayscale(0) contrast(1.02);
}

.hive-founder__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--hive-ink);
  line-height: 1.1;
}

.hive-founder__role {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--accent, var(--hive-sand));
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 6px;
}

.hive-founder__bio {
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--text-secondary);
  margin: 0;
}

.hive-founder__rule {
  height: 1px;
  background: var(--border-soft);
  margin-top: auto;
}

.hive-founder__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 21px;
  line-height: 1.35;
  color: var(--hive-ink);
  margin: 0;
}

.hive-proof__beyond {
  margin-top: clamp(44px, 5vw, 72px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--border-soft);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hive-proof__beyondeye {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hive-sand-700);
}

.hive-proof__beyondtext {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 16px 0 0;
}

/* ========================================================================
   FIT (Who We're For) — interactive stage selector
   Ported from Fit.jsx (+ index.html .hive-stagesel styles).
   ======================================================================== */
@keyframes hiveFadeSwap {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hivePulseDot {
  0%,
  100% {
    opacity: 0.95;
  }

  50% {
    opacity: 0.4;
  }
}

@keyframes hivePulseRing {
  0% {
    transform: scale(0.7);
    opacity: 0.5;
  }

  70% {
    opacity: 0;
  }

  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.hive-fit__body {
  max-width: 900px;
}

.hive-fit__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.13;
  letter-spacing: -0.02em;
  color: var(--hive-sand);
  margin: 0;
  max-width: 640px;
  text-wrap: balance;
}

.hive-fit__heading span {
  color: var(--hive-sand);
}

.hive-fit__intro {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.7;
  color: var(--text-on-dark-muted);
  margin: 22px 0 0;
  max-width: 600px;
}

.hive-fit__selector {
  margin: clamp(40px, 5vw, 60px) 0 0;
}

.hive-fit__label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

.hive-fit__selector .hive-fit__label {
  margin-bottom: clamp(30px, 3.4vw, 44px);
}

.hive-stagesel {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.hive-stagenode {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  /* transition: opacity 420ms ease; */
}

.hive-fit__body.is-in .hive-stagenode {
  opacity: 1;
  /* transition-delay: calc(300ms + var(--n, 0) * 130ms); */
}

.hive-stagenode__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition:
    background 320ms ease,
    transform 320ms ease,
    box-shadow 320ms ease,
    border-color 320ms ease;
}

.hive-stagenode.is-active .hive-stagenode__dot {
  background: var(--hive-sand);
  border-color: var(--hive-sand);
  transform: scale(1.35);
  box-shadow: 0 0 0 5px rgba(203, 174, 140, 0.18);
}

.hive-stagenode__name {
  font-family: var(--font-sans);
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 500;
  color: var(--text-on-dark-muted);
  margin-top: 16px;
  max-width: 130px;
  transition:
    color 300ms ease,
    font-weight 300ms ease;
}

.hive-stagenode.is-active .hive-stagenode__name {
  font-weight: 600;
  color: #f4f1ea;
}

.hive-stagenode__pulse {
  position: absolute;
  top: -20px;
  left: 50%;
  margin-left: -4px;
  width: 8px;
  height: 8px;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.hive-fit__body.is-touched .hive-stagenode__pulse {
  opacity: 0;
}

.hive-stagenode__pulsedot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--hive-sand);
  animation: hivePulseDot 1.9s ease-in-out infinite;
}

.hive-stagenode__pulsering {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--hive-sand);
  animation: hivePulseRing 1.9s ease-out infinite;
}

.hive-fit__panel {
  border-left: 2px solid #9bb7a5;
  padding-left: 20px;
  margin-top: clamp(30px, 3.6vw, 46px);
  min-height: 88px;
  position: relative;
}

.hive-fit__copy {
  display: none;
}

.hive-fit__copy.is-active {
  display: block;
  animation: hiveFadeSwap 320ms ease;
}

.hive-fit__copyname {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9bb7a5;
  margin-bottom: 12px;
}

.hive-fit__copytext {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #f4f1ea;
  margin: 0;
  max-width: 640px;
}

.hive-fit__operated {
  margin: clamp(44px, 5vw, 64px) 0 0;
}

.hive-fit__operated .hive-fit__label {
  margin-bottom: 18px;
}

.hive-fit__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hive-fit__pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 15px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1;
  color: var(--text-on-dark-muted);
  outline: none;
  transition:
    color 240ms ease,
    border-color 240ms ease;
}

.hive-fit__pill:hover,
.hive-fit__pill:focus {
  color: var(--hive-white);
  border-color: var(--hive-sand);
}

/* ========================================================================
   FORM CONTROLS (shared, ported from Field/Input/Textarea/Select.jsx)
   ======================================================================== */
.hive-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hive-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.hive-field > label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

.hive-field__req {
  color: var(--hive-sand-700);
  margin-left: 4px;
}

.hive-field__error {
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.4;
  color: #c0332c;
}

.hive-input.is-invalid,
.hive-textarea.is-invalid {
  border-color: rgba(231, 60, 52, 0.55);
}

.hive-input,
.hive-textarea,
.hive-select select {
  width: 100%;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--surface-page);
  padding: 14px 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  outline: none;
  transition:
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

.hive-textarea {
  line-height: 1.6;
  resize: none;
}

.hive-input:focus,
.hive-textarea:focus,
.hive-select select:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.hive-select {
  position: relative;
  width: 100%;
}

.hive-select select {
  appearance: none;
  -webkit-appearance: none;
  padding: 14px 42px 14px 16px;
  cursor: pointer;
}

.hive-select__chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
}

/* ========================================================================
   CONTACT (The Ask)
   Ported from ContactCTA.jsx.
   ======================================================================== */
.hive-contact__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.hive-contact__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--hive-sand-700);
  text-wrap: balance;
}

.hive-contact__heading span {
  color: var(--hive-sand-700);
}

.hive-contact__para {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 22px 0 0;
  max-width: 480px;
}

.hive-contact__para.is-emphasis {
  color: var(--text-primary);
}

.hive-contact__para + .hive-contact__para {
  margin-top: 16px;
}

.hive-contact__formwrap {
  position: relative;
  background: transparent;
  border-radius: 20px;
  padding: clamp(26px, 3vw, 40px);
}

.hive-contact__formbody {
  position: relative;
  z-index: 2;
}

.hive-contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hive-contact__form.is-hidden {
  display: none;
}

/* On the ivory ground: transparent inputs, ink text, sage focus. */
.hive-contact-form label {
  color: var(--hive-ink);
}

.hive-contact-form .hive-input,
.hive-contact-form .hive-textarea,
.hive-contact-form .hive-select select {
  background: rgba(37, 37, 37, 0.035);
  color: var(--hive-ink);
  border-color: rgba(37, 37, 37, 0.22);
}

.hive-contact-form .hive-input::placeholder,
.hive-contact-form .hive-textarea::placeholder {
  color: rgba(37, 37, 37, 0.42);
}

.hive-contact-form .hive-input:focus,
.hive-contact-form .hive-textarea:focus,
.hive-contact-form .hive-select select:focus {
  border-color: var(--hive-sage-600);
  box-shadow: 0 0 0 3px rgba(155, 183, 165, 0.18);
}

.hive-contact-form .hive-select select option {
  color: var(--hive-ink);
}

/* Success state */
.hive-contact__success {
  display: none;
  min-height: 380px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.hive-contact__success.is-shown {
  display: flex;
}

.hive-contact__check {
  width: 56px;
  height: 62px;
  background: var(--hive-sage);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hive-ink);
  font-size: 26px;
}

.hive-contact__oktitle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  margin: 0;
  color: var(--hive-ink);
}

.hive-contact__oktext {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* ========================================================================
   RESPONSIVE
   Ported from index.html media queries, mapped to theme class names.
   ======================================================================== */
@media (max-width: 1000px) {
  .hive-hero__scene {
    display: none !important;
  }

  .hive-contact__grid {
    grid-template-columns: 1fr;
  }

  .hive-proof__top {
    grid-template-columns: 1fr;
  }

  .hive-navlinks {
    display: none;
  }

  .hive-navtoggle {
    display: flex;
  }

  .hive-navmenu {
    display: block;
  }
}
@media (max-width: 991px) {
  .hive-footer .custom-logo,
  .hive-footer .hive-logo-fallback img {
    width: 100%;
    height: 100%;
  }
  .hive-header .custom-logo {
    width: 100%;
    height: 58px;
  }
}
@media (max-width: 767px) {
  .hive-header .custom-logo, .hive-footer .hive-logo-fallback img {
    width: 100%;
    height: 47px;
  }
  .hive-footer__bottom {
    flex-direction: column-reverse;
    margin-top: 15px;
  }
  .hive-footer {
    padding-bottom: 15px;
  }
  .hive-field-row{
    grid-template-columns:1fr;
  }
}
@media (max-width: 720px) {
  .hive-hivecluster {
    transform: scale(0.62);
  }

  .hive-hivecluster-wrap {
    height: 300px;
  }
}

@media (max-width: 680px) {
  .hive-tension__cols {
    grid-template-columns: 1fr;
  }

  .hive-contrast__grid {
    grid-template-columns: 1fr;
  }

  .hive-proof__founders {
    grid-template-columns: 1fr;
  }

  .hive-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  /* Framework process line → vertical rail on the left */
  .hive-proc {
    grid-template-columns: 1fr;
  }

  .hive-proc-track,
  .hive-proc-fill {
    display: none;
  }

  .hive-proc-step {
    flex-direction: row;
    align-items: stretch;
    text-align: left;
    padding: 0;
    gap: 18px;
  }

  .hive-proc-rail {
    flex-direction: column;
    align-items: center;
    width: 15px;
    flex-shrink: 0;
  }

  .hive-proc-seg {
    display: block;
    width: 2px;
    flex: 1;
    margin-top: 6px;
  }

  .hive-proc-txt {
    margin-top: 0;
    padding-bottom: 34px;
  }

  .hive-proc-step:last-child .hive-proc-txt {
    padding-bottom: 0;
  }
}

@media (max-width: 600px) {
  .hive-stagesel {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    display: grid;
  }

  .hive-stagenode {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    text-align: left;
    width: 100%;
    /* display: grid; */
  }

  .hive-stagenode__name {
    margin-top: 0;
  }
}

@media (max-width: 480px) {

  .hive-hivecluster-wrap {
    height: 250px;
  }
}

/* ========================================================================
   REDUCED MOTION
   ======================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hive-reveal,
  .hive-hero__word,
  .hive-proc-fill,
  .hive-proc-seg,
  .hive-contrast__inner,
  .hive-stagenode {
    transition: none !important;
  }

  .hive-form-trace,
  .hive-stagenode__pulsedot,
  .hive-stagenode__pulsering {
    animation: none !important;
  }
}

/* ========================================================================
   UTILITY — snap-reset (disable transitions/animations for one frame)
   ======================================================================== */
.hive-no-anim,
.hive-no-anim * {
  transition: none !important;
  animation: none !important;
}

/* ========================================================================
   CONTACT FORM — inline status message
======================================================================== */
.hive-contact__msg {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
}

.hive-contact__msg.is-error {
  background: rgba(231, 60, 52, 0.08);
  color: #c0332c;
  border: 1px solid rgba(231, 60, 52, 0.28);
}

.hive-contact__msg.is-success {
  background: rgba(155, 183, 165, 0.16);
  color: var(--hive-sage-700);
  border: 1px solid rgba(155, 183, 165, 0.42);
}

/* ------------------------------------------------------------------------
   CONTACT FORM — reCAPTCHA
------------------------------------------------------------------------ */
.hive-contact__recaptcha {
  margin-bottom: 4px;
}

.hive-contact__recaptcha .g-recaptcha {
  display: inline-block;
}

.hive-contact__recaptcha-error {
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  color: #c0332c;
}
