/* Fix Wonky @ Symbol */
a[href^="mailto:"],
.at-fix {
  font-family: 'Inter Tight', sans-serif !important;
  font-variation-settings: normal !important;
  font-feature-settings: normal !important;
}

.site-footer .footer-links a {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.site-footer .footer-links a:hover {
  color: var(--color-gold);
}

:root {
  /* Core Colors from Lovable App */
  --color-bg-dark: #050A09;
  /* Deepest Midnight */
  --color-bg-light: #FAF9F6;
  /* Champagne Ivory */
  --color-gold: #065F46;
  /* Signature Emerald Accent */
  --color-text-light: #FAF9F6;
  /* Ivory Text */
  --color-text-dark: #050A09;
  /* Deep Text */
  --color-muted: rgba(250, 249, 246, 0.6);

  /* Fonts */
  --font-heading: 'Cormorant Garamond', ui-serif, Georgia, serif;
  --font-body: 'Inter Tight', ui-sans-serif, system-ui, sans-serif;
  --font-serif: 'Cormorant Garamond', ui-serif, Georgia, serif;

  /* Spacing */
  --container-width: 1280px;
  --base-size: 16px;
  --fluid-container: clamp(320px, 92vw, 1400px);

  /* Section Spacing System */
  --section-py: clamp(80px, 10vw, 120px);
  --section-pt-lg: clamp(100px, 12vw, 160px);
  --section-py-sm: clamp(40px, 6vw, 80px);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--base-size);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text-dark);
  background-color: var(--color-bg-dark);
  line-height: 1.6;
  font-feature-settings: "ss01" 0, "cv11" 0;
  font-variation-settings: "opsz" 72, "SOFT" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Hide GoDaddy TrustedSite badge & popup */
#trustedsite-tm-float,
#trustedsite-tm-float-container,
#trustedsite-trustmark,
#trustedsite-tm,
.trustedsite-trustmark,
.trustedsite-floating-trustmark,
.trustedsite-tm-float,
[id*="trustedsite"],
[class*="trustedsite"],
[id*="mcafeesecure"],
[class*="mcafeesecure"],
div[data-nosnippet],
iframe[src*="trustedsite"],
iframe[src*="mcafeesecure"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  z-index: -1 !important;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6,
.heading {
  font-family: var(--font-heading) !important;
  font-feature-settings: normal !important;
  font-variation-settings: normal !important;
  font-optical-sizing: auto !important;
}

p,
.body-text {
  font-weight: 300;
  line-height: 1.8;
  opacity: 0.9;
}

.hero-headline {
  font-family: var(--font-heading) !important;
}


.about-section .about-content-col h2,
.team-section .team-content-col h2,
.careers-section .careers-content-col h2 {
  font-weight: 600 !important;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text-dark);
  margin-bottom: 24px;
}

.team-section .team-content-col h2 span,
.careers-section .careers-content-col h2 span {
  font-family: 'Playfair Display', serif !important;
  font-style: italic !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  color: #065F46 !important;
}

.text-italic-accent {
  font-family: 'Playfair Display', serif !important;
  font-style: italic !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  color: #065F46 !important;
}

.text-italic-careers {
  font-family: 'Playfair Display', serif !important;
  font-style: italic !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  color: #065F46 !important;
}


#careers .careers-body {
  max-width: 36rem !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0 !important;
}

#careers .careers-body p {
  font-family: 'Inter Tight', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.625 !important;
  color: oklch(18% 0.03 240 / 0.7) !important;
  margin: 0 !important;
}

#careers .careers-content-col>a {
  font-family: 'Inter Tight', ui-sans-serif, system-ui, sans-serif !important;
  margin-top: 2rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: oklch(18% 0.03 240) !important;
  gap: 12px !important;
}

#careers .careers-content-col>a span {
  font-size: inherit !important;
}

#profile>.container>div:first-child>span:first-child {
  font-family: 'Inter Tight', ui-sans-serif, system-ui, sans-serif !important;
  font-size: 0.7rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.55) !important;
}



#profile .expertise-list-item h3 {
  font-size: clamp(24px, 2.5vw, 30px) !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  color: oklch(97% 0.008 90) !important;
}

#profile .expertise-list-item>span:last-child,
.item-category {
  font-family: 'Inter Tight', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}

#profile .expertise-list-item>span:last-child {
  color: oklch(97% 0.008 90 / 0.5) !important;
}

.body-italic {
  font-family: 'Playfair Display', serif !important;
  font-style: italic !important;
  font-weight: 500 !important;
  font-size: clamp(24px, 2.2vw, 32px) !important;
  letter-spacing: -0.01em !important;
}

@media (min-width: 769px) {
  #profile h2 {
    font-size: 3.75rem !important;
    line-height: 1.05 !important;
  }

}

em,
i,
.italic {
  font-style: italic;
  font-weight: 400;
}

strong,
b,
.bold {
  font-weight: 600;
}

.text-gold {
  color: var(--color-gold);
}

.text-muted {
  color: var(--color-muted);
}

/* Layout Utilities */
.container {
  width: var(--fluid-container);
  margin: 0 auto;
  position: relative;
}

.section-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-dark);
}

.section-light {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
}

.grid {
  display: grid;
  gap: var(--section-py-sm);
}

.flex {
  display: flex;
}

/* Section Spacing Utilities */
.section-py {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.section-pt {
  padding-top: var(--section-py);
}

.section-pb {
  padding-bottom: var(--section-py);
}

.section-py-sm {
  padding-top: var(--section-py-sm);
  padding-bottom: var(--section-py-sm);
}

.section-pt-sm {
  padding-top: var(--section-py-sm);
}

.section-pb-sm {
  padding-bottom: var(--section-py-sm);
}

/* Section Label Utility */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-top: 10px;
}

.section-label-light {
  color: rgba(0, 0, 0, 0.4);
}

.section-label-dark {
  color: rgba(255, 255, 255, 0.4);
}

/* Standardized Section Grid: Label (1fr) + Content (2fr) */
.section-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(24px, 4vw, 40px);
}

/* Button Styles */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 50px;
  background: transparent;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  line-height: 1;
}

.btn-outline:hover {
  background: var(--color-gold);
  color: var(--color-text-light);
}

.btn-filled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--color-gold);
  background-color: var(--color-gold);
  color: var(--color-bg-dark);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  line-height: 1;
}

.btn-filled:hover {
  background: transparent;
  color: var(--color-gold);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

button:disabled,
.btn-filled:disabled,
.btn-filled-gold:disabled {
  cursor: progress;
  opacity: 0.68;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  z-index: 1000;
  transition: all 0.4s ease;
  background: transparent;
}

.site-header.scrolled {
  padding: 16px 0;
  background: rgba(5, 10, 9, 0.9);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(6, 95, 70, 0.2);
}

.site-header.scrolled .main-nav a {
  color: var(--color-text-light);
}

.site-header.scrolled .main-nav a:not(.btn-pill)::after {
  background-color: var(--color-gold);
}

.nav-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.site-logo {
  justify-self: start;
}

.main-nav {
  justify-self: center;
}

.header-cta {
  justify-self: end;
}

.site-logo img {
  width: 120px;
  height: auto;
  max-height: 45px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.main-nav ul {
  display: flex;
  gap: 32px;
  align-items: center;
}

.hero-content {
  color: var(--color-text-light);
}

.hero-mobile-enquire {
  display: none;
}

.hero-headline {
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.main-nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.02em;
  color: #FAF9F6 !important;
  /* Ensure navigation is always visible on dark header */
  padding: 8px 4px;
  opacity: 0.7;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav a:not(.btn-pill)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--color-gold);
  transition: width 0.3s ease;
}

.main-nav a:not(.btn-pill):hover::after {
  width: 100%;
}

.main-nav a:hover {
  opacity: 1;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(250, 249, 246, 0.3);
  color: #FAF9F6;
  padding: 10px 28px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  border-radius: 100px;
  background: rgba(250, 249, 246, 0.05);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.4s ease;
}

.btn-pill:hover {
  background: #FAF9F6;
  color: #050A09;
  border-color: #FAF9F6;
}



.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-gold);
  transition: all 0.3s ease;
}

/* Dividers */
.divider-gold {
  width: 100%;
  height: 1px;
  background-color: var(--color-gold);
  border: none;
}

/* Animations Base (for GSAP) */
.gsap-fade-up {
  opacity: 1;
  transform: none;
}

body.animations-ready .gsap-fade-up {
  opacity: 0;
  transform: translateY(30px);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .site-header .container {
    width: 100% !important;
    max-width: 100% !important;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    padding: 0 16px !important;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
    position: relative;
  }

  .mobile-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
  }

  .mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }

  .mobile-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .main-nav.is-open {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    min-height: 100svh;
    background-color: rgba(5, 10, 9, 0.985);
    backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: auto;
  }

  .main-nav.is-open ul {
    flex-direction: column;
    gap: clamp(14px, 2.4svh, 24px);
    text-align: center;
    width: 100%;
  }

  .main-nav.is-open a {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4.8vw, 38px);
    font-weight: 300;
    line-height: 1.08;
    color: #FAF9F6 !important;
    opacity: 1;
  }

  .main-nav.is-open+.header-cta {
    display: none !important;
  }

  .hero-mobile-enquire {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 38px;
    min-width: 132px;
    min-height: 42px;
    padding: 12px 26px;
    border: 1px solid rgba(250, 249, 246, 0.24);
    border-radius: 999px;
    background: rgba(250, 249, 246, 0.07);
    color: rgba(250, 249, 246, 0.82);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
}

/* Team Detail Page */
.team-detail-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  padding: 120px 0 100px;
  align-items: start;
}

.team-detail-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.team-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  /* Light gray for dark background visibility */
  margin-bottom: 12px;
  display: block;
}

.team-detail-item {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(184, 151, 90, 0.2);
}

.team-detail-item:last-child {
  border-bottom: none;
}

.team-detail-content h1 {
  font-size: clamp(48px, 6vw, 72px);
  margin-bottom: 24px;
}

.team-detail-content .bio {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text-dark);
  margin-bottom: 60px;
  max-width: 800px;
}

@media (min-width: 992px) {
  .team-detail-container {
    grid-template-columns: minmax(260px, 320px) minmax(0, 700px);
    gap: clamp(56px, 6vw, 96px);
    max-width: 1120px;
    margin: 0 auto;
    justify-content: center;
  }

  .team-detail-sidebar {
    width: 100%;
  }

  .team-photo,
  .profile-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    margin-bottom: 36px;
    background-color: rgba(250, 249, 246, 0.08);
  }

  .team-photo img,
  .profile-image-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
  }

  .team-detail-content {
    max-width: 700px;
    padding-top: 2px;
  }

  .team-detail-content .team-label {
    margin-bottom: 18px;
  }

  .team-detail-content h1 {
    margin: 0 0 30px;
    line-height: 0.98;
    letter-spacing: -0.03em;
  }

  .team-detail-content .bio {
    max-width: 660px;
    margin-bottom: 56px;
    line-height: 1.72;
  }

  .team-detail-content .bio p {
    margin-top: 0;
    margin-bottom: 20px;
  }

  .team-detail-content .bio p:last-child {
    margin-bottom: 0;
  }

  .team-detail-sidebar .team-detail-item {
    margin-bottom: 32px;
    padding-bottom: 28px;
  }

  .team-detail-sidebar .team-detail-item p {
    margin-top: 0;
    line-height: 1.6;
  }

  .team-detail-content .team-detail-item {
    max-width: 660px;
    margin-bottom: 0;
  }

  .team-detail-content .team-detail-item ul {
    margin: 0;
    line-height: 1.65;
  }
}

/* Insights Section */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.insight-card {
  grid-column: span 4;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(184, 151, 90, 0.1);
  padding: 40px;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
}

.insight-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-gold);
  transform: translateY(-5px);
}

.insight-card.large {
  grid-column: span 8;
  padding: 60px;
}

.insight-date {
  font-family: var(--font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: 20px;
  display: block;
}

.insight-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #FFF;
}

.insight-excerpt {
  font-size: 15px;
  opacity: 0.7;
  margin-bottom: 30px;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 380px;
  background: #050A09;
  border: 1px solid rgba(6, 95, 70, 0.3);
  padding: 28px;
  border-radius: 20px;
  z-index: 1000;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(6, 95, 70, 0.1);
  transform: translateY(150%);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(20px);
}

.cookie-consent.active {
  transform: translateY(0);
}

.cookie-consent p {
  font-family: var(--font-body);
  font-size: 13px;
  margin-bottom: 24px;
  line-height: 1.7;
  color: rgba(250, 249, 246, 0.75);
}

.cookie-actions {
  display: flex;
  gap: 12px;
}

.cookie-actions .cookie-btn-accept {
  flex: 1;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid var(--color-gold);
  background: var(--color-gold);
  color: #fff;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-actions .cookie-btn-accept:hover {
  background: transparent;
  color: var(--color-gold);
}

.cookie-actions .cookie-btn-decline {
  flex: 1;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(250, 249, 246, 0.2);
  background: transparent;
  color: rgba(250, 249, 246, 0.6);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-actions .cookie-btn-decline:hover {
  border-color: rgba(250, 249, 246, 0.5);
  color: #FAF9F6;
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .team-detail-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .insight-card,
  .insight-card.large {
    grid-column: span 12;
  }

  .cookie-consent {
    left: 20px;
    right: 20px;
    width: auto;
    bottom: 20px;
  }

  .insights-hero {
    min-height: auto !important;
  }

  .insights-hero .hero-right {
    height: auto !important;
    aspect-ratio: 16 / 10;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
  }
}

/* ═══════════════════════════════════════════
   MOBILE RESPONSIVE — 768px and below
   Only additive rules, desktop stays untouched
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {

  /* ─── HEADER ─── */
  .site-header {
    padding: 12px 0;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .nav-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  /* Ensure these don't take up space in the flexbox on mobile */
  .main-nav,
  .header-cta {
    display: none !important;
  }

  .seats-divider {
    padding-bottom: 20px !important;
  }

  .team-section {
    padding-bottom: 20px !important;
  }

  .careers-section {
    padding-top: 30px !important;
  }

  .main-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .mobile-menu-toggle:focus:not(:focus-visible) {
    outline: none;
  }

  .mobile-menu-toggle:focus-visible {
    outline: 1px solid var(--color-gold);
    outline-offset: 4px;
  }

  .mobile-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
  }

  .mobile-menu-toggle.is-active span:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }

  .mobile-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
  }

  .main-nav.is-open {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    min-height: 100svh;
    background: rgba(5, 10, 9, 0.992);
    backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    padding: clamp(72px, 12svh, 96px) 24px clamp(96px, 15svh, 128px);
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: auto;
  }

  .main-nav.is-open ul {
    flex-direction: column;
    gap: clamp(12px, 2.2svh, 20px);
    text-align: center;
    width: 100%;
    max-width: 360px;
    margin: auto 0;
  }

  .main-nav.is-open a {
    font-family: var(--font-serif);
    font-size: clamp(24px, 5vw, 34px);
    font-weight: 300;
    color: #FAF9F6;
    letter-spacing: -0.01em;
    line-height: 1.06;
    opacity: 1;
    transform: none;
    animation: none;
    display: block;
    padding: 5px 0;
  }

  .main-nav.is-open li:nth-child(1) a {
    animation-delay: 0.1s;
  }

  .main-nav.is-open li:nth-child(2) a {
    animation-delay: 0.2s;
  }

  .main-nav.is-open li:nth-child(3) a {
    animation-delay: 0.3s;
  }

  .main-nav.is-open li:nth-child(4) a {
    animation-delay: 0.4s;
  }

  .main-nav.is-open li:nth-child(5) a {
    animation-delay: 0.5s;
  }

  .main-nav.is-open li:nth-child(6) a {
    animation-delay: 0.6s;
  }

  @keyframes menuFadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .main-nav.is-open+.header-cta {
    display: none !important;
  }

  /* ─── HERO ─── */
  .hero-section {
    height: 100svh !important;
    min-height: 500px;
  }

  .hero-content {
    padding: 0 24px !important;
    max-width: 100% !important;
  }

  .hero-mobile-enquire {
    margin-top: 34px;
    min-width: 128px;
    min-height: 40px;
    padding: 11px 24px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .hero-headline {
    font-size: clamp(36px, 10vw, 56px) !important;
  }

  .hero-subheadline {
    font-size: clamp(15px, 4vw, 18px) !important;
    white-space: normal !important;
    max-width: 22rem !important;
    line-height: 1.45 !important;
  }

  .hero-eyebrow {
    font-size: 11px !important;
    letter-spacing: 0.15em !important;
    color: rgba(250, 249, 246, 0.84) !important;
  }

  .scroll-indicator {
    right: 20px !important;
    bottom: 24px !important;
  }

  .scroll-indicator span {
    color: rgba(250, 249, 246, 0.72) !important;
  }

  /* ─── ABOUT SECTION (2-col → stacked) ─── */
  .about-section>div {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    padding: 0 24px !important;
  }

  .about-section>div>div:first-child {
    gap: 32px !important;
  }

  .about-section>div>div:first-child>div:first-child {
    margin-bottom: 0 !important;
  }

  .about-section .about-image-col,
  .about-section>div>div:first-child>div:last-child {
    aspect-ratio: 4 / 3.35 !important;
    max-height: 360px !important;
    overflow: hidden !important;
  }

  .about-section .about-image-col img,
  .about-section>div>div:first-child>div:last-child img {
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .about-section .about-content-col {
    order: 2;
  }

  .about-section .about-content-col h2 {
    font-size: clamp(34px, 9.2vw, 42px) !important;
    line-height: 1.08 !important;
    margin-bottom: 0 !important;
  }

  .about-section .about-content-col p {
    max-width: 100% !important;
  }

  /* ─── EXPERTISE SECTION ─── */
  .expertise-section .container {
    padding: 0 24px !important;
  }

  .expertise-section>div>div:first-child {
    display: block !important;
    position: relative !important;
    text-align: left !important;
    flex-direction: column !important;
    gap: 24px !important;
    margin-bottom: 48px !important;
  }

  .expertise-section>div>div:first-child>div {
    width: 100% !important;
  }

  .expertise-section>div>div:first-child span {
    position: static !important;
    display: block !important;
    padding-top: 0 !important;
    margin-bottom: 24px !important;
  }

  .expertise-section>div>div:first-child h2 {
    display: block !important;
    text-align: left !important;
  }

  .expertise-section>div>div:nth-child(2) {
    flex-direction: column !important;
  }

  .expertise-image-panel {
    width: 100% !important;
    position: relative !important;
    top: auto !important;
    height: clamp(220px, 62vw, 280px) !important;
    min-height: unset !important;
    margin-bottom: 28px;
  }

  .expertise-image-panel img {
    object-position: center !important;
  }

  .expertise-list-container {
    width: 100% !important;
  }

  .expertise-list-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 28px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .expertise-list-item>span:last-child {
    text-align: left !important;
    line-height: 1.45 !important;
    letter-spacing: 0.14em !important;
  }

  /* ─── TEAM SECTION ─── */
  .team-section .container .grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    margin-bottom: 0 !important;
  }

  .team-label-col>span,
  .careers-label-col>span,
  .contact-grid-top>div:first-child>span,
  .enquiry-grid>.contact-info>span {
    margin-top: 0 !important;
    letter-spacing: 0.14em !important;
  }

  .team-section .team-body,
  .careers-section .careers-body {
    max-width: 100% !important;
    margin-bottom: 28px !important;
  }

  .team-image-wrapper {
    height: 40vh !important;
  }

  /* ─── CAREERS SECTION ─── */
  .careers-section .grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .seats-divider {
    height: clamp(220px, 58vw, 300px) !important;
    padding-bottom: 0 !important;
  }

  .seats-divider img {
    object-position: center !important;
  }

  /* ─── CONTACT SECTION (2-col → stacked) ─── */
  .contact-section .container.grid {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
    padding: 0 24px;
  }

  .contact-form-wrapper form .form-row {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .contact-grid-top {
    margin-bottom: 48px !important;
  }

  .contact-details-grid {
    padding-top: 40px !important;
  }

  .contact-details-grid a,
  .contact-details-grid p,
  .contact-details p {
    overflow-wrap: anywhere !important;
  }

  .enquiry-section {
    padding: clamp(64px, 12vw, 92px) 0 !important;
  }

  .enquiry-grid .contact-details {
    gap: 18px !important;
  }

  /* ─── FOOTER ─── */
  .site-footer {
    min-height: auto !important;
  }

  .site-footer .container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: flex-start !important;
    justify-items: flex-start !important;
    gap: 18px !important;
    padding: 36px 24px !important;
  }

  .site-footer .footer-logo,
  .site-footer .footer-copyright {
    width: 100% !important;
  }

  .site-footer .footer-logo h3,
  .site-footer .footer-logo span,
  .site-footer .footer-copyright p {
    margin: 0 !important;
  }

  .site-footer .footer-copyright p {
    max-width: 22rem !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
  }

  .site-footer .footer-links {
    width: 100% !important;
  }

  .site-footer .footer-links ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px 22px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
  }

  .site-footer .footer-links a {
    display: block !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    letter-spacing: 0.1em !important;
    white-space: normal !important;
  }

  /* ─── INSIGHTS GRID ─── */
  .insights-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin-top: 0 !important;
  }

  .insight-card,
  .insight-card.large {
    grid-column: span 1 !important;
    min-height: 300px;
    padding: 32px !important;
  }

  /* ─── INSIGHTS PAGE HERO ─── */
  .insights-hero {
    flex-direction: column !important;
    height: auto !important;
    min-height: auto !important;
  }

  .insights-hero .hero-left,
  .insights-hero .hero-right {
    width: 100% !important;
  }

  .insights-hero .hero-left {
    padding: 96px clamp(20px, 5.5vw, 24px) 42px !important;
    border-right: 0 !important;
  }

  .insights-hero .hero-left h1 {
    max-width: 10ch !important;
    font-size: clamp(44px, 12vw, 54px) !important;
    line-height: 1 !important;
    margin-bottom: 24px !important;
    letter-spacing: 0 !important;
  }

  .insights-hero .hero-left > div:first-child > p,
  .insights-hero .hero-left > div:first-child > div {
    max-width: 34rem !important;
    font-size: clamp(16px, 4.2vw, 18px) !important;
    line-height: 1.58 !important;
    margin-bottom: 34px !important;
  }

  .filters-column > div:first-child {
    margin-bottom: 28px !important;
  }

  #insightSearch {
    padding: 14px 28px 14px 0 !important;
    font-size: 16px !important;
  }

  .filter-row {
    padding: 18px 0 !important;
  }

  .filter-content ul {
    padding: 14px 0 16px !important;
  }

  .filter-content li {
    padding: 10px 0 !important;
  }

  .filter-reset {
    margin-top: 12px !important;
    padding: 12px 16px 12px 0 !important;
  }

  .insights-hero .hero-right {
    height: auto !important;
    aspect-ratio: 4 / 3;
    min-height: 220px !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
  }

  /* ─── INSIGHTS ARTICLES GRID ─── */
  .insights-grid-section {
    grid-template-columns: 1fr !important;
  }

  .insight-block {
    min-height: 300px !important;
    padding: 42px clamp(22px, 6vw, 28px) !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
  }

  .insights-grid .meta-tag {
    margin-bottom: 18px !important;
    font-size: 10px !important;
    letter-spacing: 0.16em !important;
    line-height: 1.35 !important;
  }

  .insights-grid .insight-block h3 {
    max-width: 100% !important;
    font-size: clamp(25px, 7vw, 31px) !important;
    line-height: 1.16 !important;
    text-wrap: balance;
  }

  .insight-block .content-wrap {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .insights-grid .insight-block.newsletter h2,
  .insights-grid .insight-block.newsletter h3 {
    font-size: clamp(32px, 8.8vw, 38px) !important;
    line-height: 1.08 !important;
    margin-bottom: 22px !important;
  }

  .insight-block.newsletter {
    min-height: 260px !important;
    align-items: center !important;
    text-align: center !important;
  }

  .insight-block.newsletter .content-wrap {
    align-items: center !important;
    text-align: center !important;
  }

  .pagination {
    padding: 34px 20px 52px !important;
  }

  .pagination .nav-links {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .pagination .page-numbers {
    display: inline-flex !important;
    min-width: 40px !important;
    min-height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 12px !important;
  }

  .insights-no-results {
    padding: 56px 22px !important;
  }

  /* ─── TEAM DETAIL ─── */
  .team-detail-container {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    width: 100% !important;
    max-width: 460px !important;
    margin: 0 auto !important;
    padding: 88px clamp(18px, 5vw, 24px) 64px !important;
  }

  .team-detail-sidebar {
    display: contents !important;
    position: relative !important;
    top: auto !important;
  }

  .team-detail-sidebar .team-photo,
  .team-detail-sidebar .profile-image-wrapper {
    order: 1;
    width: min(88vw, 360px) !important;
    aspect-ratio: 4 / 5 !important;
    align-self: center !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    background-color: rgba(250, 249, 246, 0.08) !important;
  }

  .team-detail-sidebar .team-photo img,
  .team-detail-sidebar .profile-image-wrapper img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
  }

  .team-detail-content {
    order: 2;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
  }

  .team-detail-sidebar .contact-info,
  .team-detail-sidebar .team-detail-item {
    order: 3;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0 32px !important;
  }

  .team-detail-content h1 {
    font-size: clamp(34px, 10vw, 44px) !important;
    line-height: 1.05 !important;
    margin: 0 0 28px !important;
  }

  .team-detail-content .bio {
    font-size: 16px !important;
    line-height: 1.65 !important;
    margin-bottom: 56px !important;
  }

  .team-detail-content .bio p {
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
  }

  .team-detail-content .bio p:last-child {
    margin-bottom: 0 !important;
  }

  .team-detail-content .team-label,
  .team-detail-sidebar .team-label {
    margin-bottom: 18px !important;
  }

  .team-detail-content .team-detail-item {
    padding-top: 44px !important;
  }

  .team-detail-content .team-detail-item ul {
    margin: 0 !important;
    padding-left: 22px !important;
    gap: 14px !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
  }

  .team-detail-sidebar .team-detail-item p {
    margin-top: 0 !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
    overflow-wrap: break-word !important;
  }

  .action-links {
    flex-wrap: wrap !important;
    gap: 14px 24px !important;
    margin-top: 22px !important;
  }

  /* ─── COOKIE CONSENT ─── */
  .cookie-consent {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    padding: 20px;
  }

  .cookie-consent p {
    font-size: 12px;
  }

  /* ─── GENERAL TYPOGRAPHY & SPACING ─── */
  h1 {
    font-size: clamp(32px, 8vw, 48px);
    text-wrap: balance !important;
  }

  h2 {
    font-size: clamp(28px, 6vw, 40px);
    text-wrap: balance !important;
    margin-bottom: 24px !important;
  }

  p {
    line-height: 1.65 !important;
  }

  .container {
    padding-left: clamp(20px, 6vw, 32px) !important;
    padding-right: clamp(20px, 6vw, 32px) !important;
  }

  /* ─── INDUSTRY-GRADE MOBILE PADDINGS ─── */
  .about-section,
  .expertise-section,
  .team-section,
  .careers-section,
  .contact-section {
    padding: clamp(60px, 12vw, 100px) 0 !important;
  }

  /* Overriding excessively large inline desktop margins */
  .about-content-col>div:first-child,
  .contact-grid-top {
    margin-bottom: 48px !important;
  }

  .sidebar-label {
    margin-bottom: 12px !important;
  }

  /* ─── PREMIUM MOBILE HEADER ─── */
  .site-header.scrolled {
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    background: rgba(5, 10, 9, 0.85) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  /* ─── INTERACTIVE ELEMENTS (TAP TARGETS) ─── */
  .btn-outline,
  .btn-filled,
  .btn-dark {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 16px 24px !important;
  }

  input,
  select,
  textarea {
    min-height: 48px !important;
  }

  /* Contact section — stack the two columns */
  .contact-grid-top {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .contact-details-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* Enquiry section — stack form and contact info */
  .enquiry-grid {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
    padding: 0 24px !important;
  }

  /* Enquiry form rows — stack first/last name and phone/country */
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
}

/* ═══════════════════════════════════
   SMALL PHONES — 480px and below
   ═══════════════════════════════════ */

@media (max-width: 480px) {
  .hero-section {
    max-width: 100vw !important;
  }

  .hero-content {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    padding: 0 !important;
  }

  .hero-headline {
    font-size: clamp(40px, 13vw, 56px) !important;
    line-height: 0.98 !important;
    max-width: 100% !important;
    white-space: normal !important;
  }

  .hero-subheadline {
    font-size: clamp(15px, 4.5vw, 18px) !important;
    max-width: 20rem !important;
    white-space: normal !important;
  }

  .btn-outline,
  .btn-filled {
    padding: 12px 24px;
    font-size: 12px;
  }

  .btn-pill {
    padding: 8px 20px;
    font-size: 12px;
  }

  .hero-mobile-enquire {
    margin-top: 32px;
    min-width: 124px;
    min-height: 38px;
    padding: 10px 22px;
    font-size: 10px;
  }

}

@media (max-width: 768px) and (max-height: 700px) {
  .main-nav.is-open {
    padding-top: 64px;
    padding-bottom: 86px;
  }

  .main-nav.is-open ul {
    gap: 10px;
  }

  .main-nav.is-open a {
    font-size: clamp(22px, 4.6vw, 30px);
    padding: 3px 0;
  }

  .hero-mobile-enquire {
    margin-top: 24px;
    min-height: 36px;
    padding: 9px 20px;
  }
}

/* ═══════════════════════════════════════════
   PREMIUM NEWSLETTER MODAL
   ═══════════════════════════════════════════ */
.newsletter-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.newsletter-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 9, 0.85);
  backdrop-filter: blur(12px);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: #0A0F0E;
  border: 1px solid rgba(6, 95, 70, 0.3);
  padding: 80px 60px;
  border-radius: 4px;
  transform: translateY(40px);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.newsletter-modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: rgba(250, 249, 246, 0.5);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--color-gold);
}

.modal-label {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-gold);
  display: block;
  margin-bottom: 24px;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #FAF9F6;
}

.modal-description {
  font-size: 16px;
  color: rgba(250, 249, 246, 0.7);
  margin-bottom: 48px;
  line-height: 1.6;
}

/* Premium Form Elements */
.premium-form .input-group {
  position: relative;
  margin-bottom: 40px;
}

.premium-form input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(250, 249, 246, 0.2);
  padding: 12px 0;
  color: #FAF9F6;
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}

.premium-form label {
  position: absolute;
  top: 12px;
  left: 0;
  color: rgba(250, 249, 246, 0.4);
  pointer-events: none;
  transition: all 0.3s ease;
  font-size: 16px;
}

.premium-form input:focus~label,
.premium-form input:not(:placeholder-shown)~label {
  top: -24px;
  font-size: 11px;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.premium-form input:focus {
  border-bottom-color: var(--color-gold);
}

.premium-form .checkbox-group {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  margin: -16px 0 28px;
}

.premium-form .checkbox-group input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--color-gold);
  border: 1px solid rgba(250, 249, 246, 0.4);
  flex: 0 0 auto;
}

.premium-form .checkbox-group label {
  position: static;
  pointer-events: auto;
  color: rgba(250, 249, 246, 0.68);
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}

.form-status {
  min-height: 18px;
  margin: -12px 0 18px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(250, 249, 246, 0.66);
}

.form-status.is-error {
  color: #f4a7a7;
}

.form-status.is-success {
  color: var(--color-gold);
}

.form-status a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-filled-gold {
  width: 100%;
  background: var(--color-gold);
  color: #fff;
  border: 1px solid var(--color-gold);
  padding: 18px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.btn-filled-gold:hover {
  background: transparent;
  color: var(--color-gold);
}

/* Success State */
.newsletter-success {
  text-align: center;
  padding: 40px 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-gold);
  margin: 0 auto 32px;
}

.newsletter-success h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  margin-bottom: 16px;
  color: #FAF9F6;
}

.newsletter-success p {
  color: rgba(250, 249, 246, 0.7);
}

.newsletter-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.newsletter-actions a,
.newsletter-actions button,
[data-copy-status] {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.newsletter-actions a,
.newsletter-actions button {
  color: var(--color-gold);
  background: transparent;
  border: 0;
  padding: 0 0 5px;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  text-decoration: none;
}

[data-copy-status] {
  display: inline-block;
  margin-left: 12px;
  color: var(--color-gold);
}

@media (max-width: 768px) {
  .modal-content {
    padding: 60px 32px;
    margin: 20px;
  }

  .modal-title {
    font-size: 32px;
  }
}

/* Restore lists and block content styling in articles */
.article-content ul {
  list-style-type: disc !important;
  margin: 0 0 24px 24px !important;
  padding-left: 0 !important;
}

.article-content ol {
  list-style-type: decimal !important;
  margin: 0 0 24px 24px !important;
  padding-left: 0 !important;
}

.article-content li {
  display: list-item !important;
  margin-bottom: 8px !important;
  list-style: inherit !important;
  padding-left: 4px !important;
}

.article-content ul ul {
  list-style-type: circle !important;
  margin-bottom: 0 !important;
}

.article-content ol ol {
  list-style-type: lower-alpha !important;
  margin-bottom: 0 !important;
}

.article-content blockquote {
  border-left: 3px solid var(--color-gold) !important;
  padding-left: 24px !important;
  margin: 32px 0 !important;
  font-style: italic !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.article-content blockquote p {
  margin: 0 !important;
}
