:root {
  --bg: #f7f5ef;
  --paper: #fffdf8;
  --ink: #19231f;
  --muted: #65716d;
  --line: #e8e0d4;
  --accent: #276653;
  --accent-2: #d99a4e;
  --dark: #0f1d19;
  --soft: #eef4ef;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}

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

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

.container {
  width: min(1180px, 92%);
  margin: auto;
}

.topbar {
  background: var(--dark);
  color: #dbe9e3;
  font-size: .82rem;
  display: flex;
  gap: 22px;
  justify-content: center;
  padding: 7px 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 239, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  font-size: 1.08rem;
}

.brand small {
  color: var(--muted);
  font-size: .75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: .92rem;
  font-weight: 650;
  padding: 9px 12px;
  border-radius: 999px;
  color: #2d3734;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--soft);
  color: var(--accent);
}

.nav-links .nav-cta {
  background: var(--accent);
  color: white;
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--dark);
  color: white;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 1.1rem;
}

/* HERO SECTION */
.hero {
  padding: 54px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 44px;
  align-items: start;
}

.eyebrow {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}

.hero h1,
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.7rem, 5.4vw, 5.1rem);
  line-height: .98;
  margin: 12px 0;
}

.lead {
  font-size: 1.12rem;
  color: #46514d;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 750;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: white;
}

.btn.secondary {
  background: transparent;
  color: var(--accent);
}

/* HERO PROFILE CARD */
.hero-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 24px;
  margin-top: 22px;
  box-shadow: 0 24px 60px rgba(17, 31, 28, .08);
}

.portrait {
  width: 100%;
  aspect-ratio: 4/4.65;
  border-radius: 26px;
  background: linear-gradient(145deg, #dfe9e2, #fff6e6);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.portrait span {
  font-size: 5rem;
}

/* HERO METRICS - FIXED FOR 2 ITEMS */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.metric {
  background: var(--soft);
  padding: 18px 14px;
  border-radius: 20px;
  text-align: center;
  min-height: 105px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.metric strong {
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
  display: block;
}

.metric span {
  font-size: 1rem;
  margin-top: 8px;
  color: var(--ink);
}

/* GENERAL SECTIONS */
.section {
  padding: 58px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  transition: .2s;
  min-height: 100%;
  height: 100%;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(25, 35, 31, .08);
}

.card h3 {
  margin: 0 0 8px;
}

.pill {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  margin: 0 6px 8px 0;
}

.page-hero {
  padding: 58px 0 28px;
  border-bottom: 1px solid var(--line);
}

.two-col {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 30px;
}

.profile-box {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, #0f1d19, #15382f);
  color: white;
  border-radius: 28px;
  padding: 34px;
  min-height: 100%;
  box-shadow: 0 24px 60px rgba(15, 29, 25, .18);
}

.profile-box p {
  color: #cddbd6;
}

.timeline {
  position: relative;
}

.timeline-item {
  padding: 0 0 24px 28px;
  border-left: 2px solid var(--line);
  position: relative;
}

.timeline-item:before {
  content: '';
  position: absolute;
  left: -8px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
}

.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}

.input,
.select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 13px 14px;
  background: white;
  font: inherit;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid .full {
  grid-column: 1/-1;
}

.alert {
  padding: 14px 16px;
  border-radius: 16px;
  background: #e8f6ed;
  color: #14532d;
  margin-bottom: 16px;
}

.footer {
  background: var(--dark);
  color: white;
  margin-top: 60px;
  padding: 46px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr;
  gap: 28px;
}

.footer p,
.footer a {
  color: #cbd8d3;
}

.footer a {
  display: block;
  margin: 7px 0;
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 16px;
  margin-top: 34px;
  color: #aebbb6;
}

.pub-meta,
.muted {
  color: var(--muted);
  font-size: .94rem;
}

/* PUBLICATION CARD FIX */
.publication {
  border-left: 4px solid var(--accent);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.publication .btn {
  margin-top: auto;
  align-self: flex-start;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

.gallery-thumb {
  height: 160px;
  background: linear-gradient(135deg, #e9efe9, #f8e4c3);
  display: grid;
  place-items: center;
  font-size: 2.4rem;
}

.blog-card .date {
  color: var(--accent);
  font-weight: 800;
  font-size: .85rem;
}

.empty {
  padding: 30px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: white;
  color: var(--muted);
}

/* TABLET RESPONSIVE */
/* @media(max-width:900px){
  .menu-toggle{
    display:block;
  }

  .nav-links{
    display:none;
    position:absolute;
    top:96px;
    left:4%;
    right:4%;
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:20px;
    padding:14px;
    box-shadow:0 20px 50px rgba(0,0,0,.12);
    flex-direction:column;
    align-items:stretch;
  }

  .nav-links.show{
    display:flex;
  }

  .nav-links a{
    display:block;
  }

  .hero-grid,
  .two-col,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .hero-card{
    margin-top:10px;
  }

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

  .section-head{
    display:block;
  }

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

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

  .metric-grid{
    grid-template-columns:repeat(2,1fr);
  }
} */

/* MOBILE RESPONSIVE */
/* @media(max-width:620px){
  .grid,
  .gallery{
    grid-template-columns:1fr;
  }

  .hero{
    padding-top:44px;
  }

  .topbar{
    display:none;
  }

  .nav-links{
    top:76px;
  }

  .hero h1{
    font-size:2.65rem;
  }

  .hero-card{
    padding:18px;
    border-radius:26px;
  }

  .portrait{
    border-radius:22px;
  }

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

  .metric{
    min-height:95px;
  }
} */

/* ================================
   PERFECT MOBILE RESPONSIVE FIXES
   Add this at the END of style.css
================================ */

/* Large tablets */
@media (max-width: 1024px) {
  .container {
    width: min(92%, 900px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-card {
    max-width: 560px;
    margin: 10px auto 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(3rem, 8vw, 4.6rem);
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .profile-box {
    min-height: auto;
  }
}

/* Mobile navbar and layout */
@media (max-width: 900px) {
  body {
    overflow-x: hidden;
  }

  .topbar {
    display: none;
  }

  .site-header {
    top: 0;
  }

  .navbar {
    padding: 14px 0;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand small {
    font-size: .72rem;
    max-width: 230px;
    line-height: 1.4;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 82px;
    left: 4%;
    right: 4%;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .14);
    flex-direction: column;
    align-items: stretch;
    z-index: 999;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .nav-links .nav-cta {
    text-align: center;
    margin-top: 4px;
  }

  .hero {
    padding: 38px 0 28px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
    line-height: 1;
    margin: 10px 0 14px;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 22px;
  }

  .btn {
    padding: 11px 16px;
    font-size: .92rem;
  }

  .hero-card {
    width: 100%;
    max-width: 520px;
    margin: 8px auto 0;
    padding: 18px;
    border-radius: 28px;
  }

  .portrait {
    border-radius: 22px;
    aspect-ratio: 4 / 4.25;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 14px;
  }

  .metric {
    min-height: 92px;
    padding: 14px 10px;
    border-radius: 18px;
  }

  .metric strong {
    font-size: 1.7rem;
  }

  .metric span {
    font-size: .92rem;
  }

  .section {
    padding: 42px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 20px;
  }

  .section h2 {
    font-size: 2rem;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .card {
    padding: 18px;
    border-radius: 20px;
  }

  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .profile-box {
    padding: 26px;
    border-radius: 24px;
    min-height: auto;
  }

  .profile-box h2 {
    font-size: 2rem;
  }

  .timeline-item {
    padding-left: 24px;
  }

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

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

/* Small phones */
@media (max-width: 620px) {
  .container {
    width: 91%;
  }

  .navbar {
    gap: 12px;
  }

  .brand small {
    max-width: 200px;
  }

  .hero {
    padding-top: 32px;
  }

  .eyebrow {
    font-size: .68rem;
    line-height: 1.5;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.45rem);
    line-height: 1.03;
  }

  .lead {
    font-size: .98rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-card {
    padding: 14px;
    border-radius: 24px;
  }

  .portrait {
    aspect-ratio: 1 / 1.05;
    border-radius: 20px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .metric {
    min-height: 82px;
    padding: 12px 8px;
    border-radius: 16px;
  }

  .metric strong {
    font-size: 1.5rem;
  }

  .metric span {
    font-size: .82rem;
    margin-top: 5px;
  }

  .grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 38px 0 22px;
  }

  .page-hero h1 {
    font-size: 2.4rem;
  }

  .section {
    padding: 36px 0;
  }

  .section h2 {
    font-size: 1.75rem;
  }

  .card {
    padding: 17px;
  }

  .profile-box {
    padding: 22px;
  }

  .profile-box h2 {
    font-size: 1.9rem;
    line-height: 1.1;
  }

  .profile-box p {
    font-size: .96rem;
  }

  .timeline-item {
    padding-left: 22px;
    padding-bottom: 22px;
  }

  .timeline-item h3 {
    font-size: 1.08rem;
    line-height: 1.35;
  }

  .timeline-item p {
    font-size: .95rem;
  }

  .input,
  .select,
  textarea {
    padding: 12px 13px;
    font-size: .95rem;
  }

  .footer {
    margin-top: 34px;
    padding-top: 34px;
  }

  .footer-grid {
    gap: 20px;
  }

  .copyright {
    font-size: .85rem;
  }
}

/* Extra small phones */
@media (max-width: 420px) {
  .brand-name {
    font-size: .95rem;
  }

  .brand small {
    font-size: .68rem;
    max-width: 180px;
  }

  .menu-toggle {
    padding: 8px 10px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

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

  .metric strong {
    font-size: 1.35rem;
  }

  .metric span {
    font-size: .78rem;
  }

  .card h3 {
    font-size: 1.05rem;
  }
}

/* Smaller Footer */
.footer {
  margin-top: 42px;
  padding: 32px 0 0;
}

.footer-grid {
  gap: 20px;
}

.footer h3,
.footer h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.footer p,
.footer a {
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer a {
  margin: 5px 0;
}

.copyright {
  font-size: 0.8rem;
  padding: 12px;
  margin-top: 24px;
}
/* ===============================
   HOME HERO V2
   Full Screen Fit + Moving Bubble Buttons
================================ */

.home-hero-v2 {
  position: relative !important;
  margin: 0 !important;

  /* Full screen hero after navbar/header */
  min-height: calc(100vh - 105px) !important;
  height: calc(100vh - 105px) !important;

  padding: 0 !important;

  display: flex !important;
  align-items: center !important;

  background:
    linear-gradient(145deg, var(--paper) 0%, var(--bg) 58%, var(--soft) 100%) !important;

  overflow: hidden !important;
}

/* Remove background bubble effect from main hero */
.home-hero-v2::before,
.home-hero-v2::after {
  display: none !important;
}

.home-hero-v2-grid {
  position: relative !important;
  z-index: 2 !important;

  width: min(1180px, 91%) !important;
  margin: 0 auto !important;

  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .78fr) !important;
  gap: clamp(36px, 5vw, 70px) !important;
  align-items: center !important;
}

.home-hero-v2-content {
  max-width: 680px !important;
}

.home-hero-v2-eyebrow {
  color: var(--accent) !important;
  margin-bottom: 10px !important;
}

.home-hero-v2-content h1 {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(2.4rem, 4.5vw, 4.45rem) !important;
  line-height: .98 !important;
  margin: 10px 0 16px !important;
  color: var(--ink) !important;
  max-width: 700px !important;
  letter-spacing: -0.035em !important;
}

.home-hero-v2-content p {
  max-width: 600px !important;
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: clamp(.98rem, 1.12vw, 1.08rem) !important;
  line-height: 1.72 !important;
}

/* ===============================
   Bubble Buttons
================================ */

.home-hero-v2-actions {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: clamp(12px, 1.5vw, 18px) !important;
  margin-top: 32px !important;
  align-items: center !important;
}

.home-hero-v2-actions a {
  position: relative !important;
  overflow: hidden !important;

  width: clamp(100px, 8.2vw, 116px) !important;
  height: clamp(100px, 8.2vw, 116px) !important;
  min-width: clamp(100px, 8.2vw, 116px) !important;
  min-height: clamp(100px, 8.2vw, 116px) !important;
  flex: 0 0 clamp(100px, 8.2vw, 116px) !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;

  padding: 14px !important;
  border-radius: 50% !important;

  font-size: clamp(.72rem, .78vw, .82rem) !important;
  line-height: 1.22 !important;
  font-weight: 800 !important;
  text-decoration: none !important;

  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.98) 0 12%, transparent 31%),
    linear-gradient(145deg, #ffffff 0%, var(--paper) 56%, #f1eadc 100%) !important;

  color: var(--accent) !important;
  border: 2px solid rgba(39, 102, 83, .30) !important;

  box-shadow:
    0 18px 38px rgba(25, 35, 31, .17),
    inset 0 2px 0 rgba(255,255,255,.95),
    inset 0 -9px 20px rgba(39, 102, 83, .08) !important;

  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden !important;

  animation: bubbleMove 5s ease-in-out infinite !important;

  transition:
    transform .35s cubic-bezier(.22, 1, .36, 1),
    box-shadow .35s cubic-bezier(.22, 1, .36, 1),
    border-color .35s ease,
    color .35s ease !important;
}

.home-hero-v2-actions a:nth-child(1) {
  animation-delay: 0s !important;
}

.home-hero-v2-actions a:nth-child(2) {
  animation-delay: .45s !important;
}

.home-hero-v2-actions a:nth-child(3) {
  animation-delay: .9s !important;
}

/* Shine dot */
.home-hero-v2-actions a::before {
  content: "" !important;
  position: absolute !important;
  width: 32px !important;
  height: 32px !important;
  top: 17px !important;
  left: 22px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.68) !important;
  pointer-events: none !important;

  transition:
    transform .45s cubic-bezier(.22, 1, .36, 1),
    opacity .35s ease !important;
}

/* Small inner drop */
.home-hero-v2-actions a::after {
  content: "" !important;
  position: absolute !important;
  width: 13px !important;
  height: 13px !important;
  right: 26px !important;
  bottom: 26px !important;
  border-radius: 50% !important;
  background: rgba(217, 154, 78, .36) !important;
  pointer-events: none !important;

  transition:
    transform .45s cubic-bezier(.22, 1, .36, 1),
    opacity .35s ease !important;
}

.home-hero-v2-actions a:hover {
  animation-play-state: paused !important;
  transform: translate3d(0, -8px, 0) scale(1.055) !important;

  border-color: var(--accent) !important;

  box-shadow:
    0 25px 48px rgba(25, 35, 31, .22),
    inset 0 2px 0 rgba(255,255,255,.95),
    inset 0 -10px 22px rgba(39, 102, 83, .11) !important;
}

.home-hero-v2-actions a:hover::before {
  transform: translate3d(9px, 6px, 0) scale(1.08) !important;
  opacity: .88 !important;
}

.home-hero-v2-actions a:hover::after {
  transform: translate3d(-7px, -5px, 0) scale(1.12) !important;
  opacity: .8 !important;
}

.home-hero-v2-actions a:active {
  transform: translate3d(0, -3px, 0) scale(.98) !important;
  transition-duration: .16s !important;
}

/* Lightweight button movement */
@keyframes bubbleMove {
  0% {
    transform: translate3d(0, 0, 0);
  }

  25% {
    transform: translate3d(4px, -6px, 0);
  }

  50% {
    transform: translate3d(0, -10px, 0);
  }

  75% {
    transform: translate3d(-4px, -5px, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* ===============================
   Hero Image Card
================================ */

.home-hero-v2-card {
  justify-self: end !important;
  width: 100% !important;
  max-width: 365px !important;
  padding: 13px !important;
  border-radius: 28px !important;

  background: var(--paper) !important;
  border: 1px solid var(--line) !important;
  box-shadow:
    0 28px 65px rgba(25, 35, 31, .12),
    inset 0 1px 0 rgba(255,255,255,.8) !important;
}

.home-hero-v2-portrait {
  width: 100% !important;
  aspect-ratio: 4 / 4.15 !important;
  border-radius: 22px !important;
  overflow: hidden !important;

  background:
    linear-gradient(145deg, var(--soft), #fff6e6) !important;

  border: 1px solid var(--line) !important;
  display: grid !important;
  place-items: center !important;
}

.home-hero-v2-portrait img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.home-hero-v2-portrait span {
  font-size: 4rem !important;
  color: var(--accent) !important;
}

/* ===============================
   Hero Stats
================================ */

.home-hero-v2-stats {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 9px !important;
  margin-top: 10px !important;
}

.home-hero-v2-stats div {
  min-height: 68px !important;
  padding: 10px 8px !important;
  border-radius: 15px !important;

  background: var(--soft) !important;
  border: 1px solid var(--line) !important;

  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
}

.home-hero-v2-stats strong {
  display: block !important;
  font-size: 1.32rem !important;
  line-height: 1 !important;
  color: var(--accent) !important;
}

.home-hero-v2-stats span {
  display: block !important;
  margin-top: 5px !important;
  font-size: .78rem !important;
  color: var(--ink) !important;
}

/* ===============================
   Small height desktop screens
   Keeps hero inside one screen
================================ */

@media (max-height: 760px) and (min-width: 901px) {
  .home-hero-v2 {
    height: calc(100vh - 96px) !important;
    min-height: calc(100vh - 96px) !important;
  }

  .home-hero-v2-content h1 {
    font-size: clamp(2.15rem, 3.7vw, 3.65rem) !important;
    margin-bottom: 12px !important;
  }

  .home-hero-v2-content p {
    font-size: .96rem !important;
    line-height: 1.58 !important;
  }

  .home-hero-v2-actions {
    margin-top: 24px !important;
  }

  .home-hero-v2-actions a {
    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    min-height: 92px !important;
    flex-basis: 92px !important;
    font-size: .68rem !important;
    padding: 12px !important;
  }

  .home-hero-v2-card {
    max-width: 305px !important;
  }

  .home-hero-v2-stats div {
    min-height: 58px !important;
  }

  .home-hero-v2-stats strong {
    font-size: 1.18rem !important;
  }

  .home-hero-v2-stats span {
    font-size: .72rem !important;
  }
}

/* ===============================
   Tablet
================================ */

@media (max-width: 900px) {
  .home-hero-v2 {
    height: auto !important;
    min-height: calc(100vh - 76px) !important;
    padding: 42px 0 !important;
    align-items: center !important;
  }

  .home-hero-v2-grid {
    width: min(900px, 91%) !important;
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .home-hero-v2-content {
    max-width: 720px !important;
  }

  .home-hero-v2-content h1 {
    font-size: clamp(2.45rem, 8vw, 3.8rem) !important;
    max-width: 720px !important;
  }

  .home-hero-v2-content p {
    max-width: 650px !important;
  }

  .home-hero-v2-actions {
    gap: 14px !important;
    margin-top: 28px !important;
  }

  .home-hero-v2-actions a {
    width: 104px !important;
    height: 104px !important;
    min-width: 104px !important;
    min-height: 104px !important;
    flex: 0 0 104px !important;
    font-size: .76rem !important;
    padding: 14px !important;
    animation: bubbleMove 5.2s ease-in-out infinite !important;
  }

  .home-hero-v2-card {
    justify-self: center !important;
    max-width: 390px !important;
  }
}

/* ===============================
   Mobile
================================ */

@media (max-width: 620px) {
  .home-hero-v2 {
    min-height: calc(100vh - 70px) !important;
    height: auto !important;
    padding: 32px 0 !important;
  }

  .home-hero-v2-grid {
    width: 91% !important;
    gap: 24px !important;
  }

  .home-hero-v2-content h1 {
    font-size: clamp(2.1rem, 11vw, 3.1rem) !important;
    line-height: 1.02 !important;
  }

  .home-hero-v2-content p {
    font-size: .94rem !important;
    line-height: 1.6 !important;
  }

  .home-hero-v2-actions {
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin-top: 22px !important;
  }

  .home-hero-v2-actions a {
    width: 82px !important;
    height: 82px !important;
    min-width: 82px !important;
    min-height: 82px !important;
    flex: 0 0 82px !important;
    font-size: .62rem !important;
    line-height: 1.18 !important;
    padding: 10px !important;
    animation: bubbleMove 5.2s ease-in-out infinite !important;
  }

  .home-hero-v2-actions a:first-child {
    flex-basis: 82px !important;
  }

  .home-hero-v2-actions a::before {
    width: 25px !important;
    height: 25px !important;
    top: 13px !important;
    left: 16px !important;
  }

  .home-hero-v2-actions a::after {
    width: 10px !important;
    height: 10px !important;
    right: 20px !important;
    bottom: 20px !important;
  }

  .home-hero-v2-card {
    max-width: 100% !important;
  }

  .home-hero-v2-portrait {
    aspect-ratio: 1 / .82 !important;
  }
}

/* ===============================
   Extra small phones
================================ */

@media (max-width: 420px) {
  .home-hero-v2 {
    min-height: calc(100vh - 70px) !important;
    padding: 26px 0 !important;
  }

  .home-hero-v2-grid {
    gap: 20px !important;
  }

  .home-hero-v2-content h1 {
    font-size: 2.05rem !important;
  }

  .home-hero-v2-content p {
    font-size: .9rem !important;
  }

  .home-hero-v2-actions {
    gap: 7px !important;
  }

  .home-hero-v2-actions a {
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
    min-height: 76px !important;
    flex: 0 0 76px !important;
    font-size: .55rem !important;
    padding: 8px !important;
  }

  .home-hero-v2-actions a:first-child {
    flex-basis: 76px !important;
  }

  .home-hero-v2-stats div {
    min-height: 62px !important;
  }
}

/* Center search bar and filter/menu bar */
.filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0 auto 22px;
}

.filters .input {
  width: 520px;
  max-width: 100%;
}

.filters .select {
  width: auto;
  min-width: 180px;
}

@media (max-width: 620px) {
  .filters {
    flex-direction: column;
    align-items: stretch;
  }

  .filters .input,
  .filters .select {
    width: 100%;
  }
}