/* For The Real G - newsletter homepage */

:root {
  --black: #070706;
  --black-2: #10100f;
  --charcoal: #171614;
  --cream: #f6f1e8;
  --cream-2: #fffaf1;
  --muted: #756d61;
  --muted-dark: #a99d8b;
  --gold: #c8953d;
  --gold-2: #e0b55f;
  --line: rgba(21, 18, 14, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  --serif: Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black-2);
  background: var(--cream);
  font-family: var(--sans);
  line-height: 1.55;
}

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

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

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -44px;
  z-index: 100;
  background: var(--gold);
  color: #111;
  padding: 10px 14px;
  border-radius: 999px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-hero {
  position: relative;
  min-height: 720px;
  color: #fff;
  overflow: hidden;
  background: var(--black);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("/images/real-g-hero-bonfire.webp");
  background-size: cover;
  background-position: center center;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    radial-gradient(circle at 60% 42%, rgba(255, 180, 82, 0.08), transparent 24%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.56) 34%, rgba(0, 0, 0, 0.34) 61%, rgba(0, 0, 0, 0.58) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.54) 0%, rgba(0, 0, 0, 0.04) 46%, rgba(0, 0, 0, 0.64) 100%);
}

.site-nav {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 26px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand,
.footer-brand {
  display: inline-block;
  font-family: var(--serif);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand-main {
  display: block;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 0.95;
}

.brand-line {
  display: block;
  width: 38px;
  height: 2px;
  margin: 7px 0 0;
  background: var(--gold);
}

.brand-sub {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--serif);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
}

.nav-links a:hover,
.nav-links a:focus {
  color: #fff;
}

.nav-cta {
  padding: 12px 22px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #12100c !important;
  border-radius: 2px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 38px;
  border: 1px solid var(--line-dark);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border-radius: 3px;
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  min-height: 610px;
  margin: 0 auto;
  padding: 58px 42px 86px;
  display: grid;
  grid-template-columns: minmax(340px, 620px) minmax(340px, 460px);
  justify-content: space-between;
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-transform: uppercase;
}

.centered {
  text-align: center;
}

.hero-copy h1,
.intro-band h2,
.footer-signup h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.hero-copy h1 {
  font-size: clamp(4rem, 7.3vw, 6.45rem);
  line-height: 0.88;
}

.gold-rule,
.mini-rule {
  width: 52px;
  height: 3px;
  background: var(--gold);
}

.gold-rule {
  margin: 28px 0 22px;
}

.hero-lede {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.benefit-icon,
.section-icon,
.proof-stat img {
  overflow: hidden;
  border-radius: 50%;
  background: #11100f;
}

.benefit-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 2px solid rgba(211, 162, 76, 0.45);
}

.benefit-icon img,
.section-icon img,
.proof-stat img {
  width: 122%;
  height: 122%;
  object-fit: cover;
  object-position: center;
  transform: translate(-0%, -11%);
}

.subscribe-card {
  padding: clamp(28px, 4vw, 40px);
  background: rgba(9, 9, 8, 0.88);
  border: 1px solid rgba(218, 166, 73, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  opacity: 85%;
}

.subscribe-card h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.subscribe-card p {
  color: rgba(255, 255, 255, 0.78);
}

.card-kicker {
  margin: 0 0 12px !important;
  color: var(--gold-2) !important;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 26px;
}

.signup-form input {
  min-height: 54px;
  width: 100%;
  padding: 0 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.28);
  outline: none;
}

.signup-form input:focus {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(200, 149, 61, 0.18);
}

.signup-form button {
  min-height: 56px;
  border: 0;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #17110a;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signup-form button:hover,
.signup-form button:focus {
  filter: brightness(1.05);
}

.privacy-note {
  margin: 14px 0 0;
  font-size: 0.8rem;
}

.intro-band {
  max-width: 760px;
  margin: 0 auto;
  padding: 58px 24px 28px;
  text-align: center;
}

.intro-band h2 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.05;
}

.intro-band p:last-child {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
}

.section-wrap,
.rotating-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 28px 54px;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.pillar-card,
.rotating-card {
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(28, 21, 12, 0.06);
}

.pillar-image {
  position: relative;
  height: 194px;
  background: #141312;
  overflow: visible;
}

.pillar-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-icon {
  position: absolute;
  left: 50%;
  bottom: -22px;
  z-index: 2;
  width: 48px;
  height: 48px;
  transform: translateX(-50%);
  border: 2px solid rgba(246, 241, 232, 0.9);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.pillar-body {
  min-height: 218px;
  padding: 36px 22px 24px;
  text-align: center;
}

.pillar-body h3,
.rotating-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.2rem;
  line-height: 1.2;
}

.pillar-body h3 {
  font-size: 1.1rem;
}

.mini-rule {
  width: 34px;
  height: 2px;
  margin: 16px auto;
}

.pillar-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.pillar-body a,
.rotating-card a {
  display: inline-block;
  margin-top: 18px;
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  max-width: 420px;
  margin: 0 auto 18px;
}

.section-heading-row span {
  height: 1px;
  background: rgba(200, 149, 61, 0.42);
}

.section-heading-row .eyebrow {
  margin: 0;
  color: #8e6a31;
}

.slider-shell {
  position: relative;
}

.rotating-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(660px, 48vw, 760px);
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  padding: 4px 4px 18px;
}

.rotating-card {
  min-height: 214px;
  display: grid;
  grid-template-columns: minmax(260px, 46%) 1fr;
  align-items: stretch;
  scroll-snap-align: start;
}

.rotating-card > img {
  width: 100%;
  height: 100%;
  min-height: 214px;
  object-fit: cover;
}

.rotating-card .section-icon {
  left: 46%;
  bottom: 20px;
  width: 46px;
  height: 46px;
}

.rotating-card > div {
  padding: 32px 34px 30px;
  background: rgba(255, 252, 246, 0.86);
}

.rotating-card p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 5;

  width: 42px;
  height: 42px;
  padding: 0;
  margin: 0;

  display: grid;
  place-items: center;

  border: 1px solid rgba(200, 149, 61, 0.5);
  border-radius: 999px;
  background: rgba(12, 11, 10, 0.88);
  color: var(--gold-2);
  cursor: pointer;

  font-size: 0;
  line-height: 1;
  appearance: none;
  -webkit-appearance: none;

  transform: translateY(-50%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.slider-btn::before {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.15rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-2px);
}

.slider-btn-prev {
  left: -16px;
}

.slider-btn-next {
  right: -16px;
}

.slider-btn-prev::before {
  content: "‹";
}

.slider-btn-next::before {
  content: "›";
}

.slider-btn:hover,
.slider-btn:focus {
  background: rgba(18, 16, 13, 0.96);
  border-color: rgba(224, 181, 95, 0.8);
  outline: none;
}

.proof-strip {
  margin-top: 18px;
  padding: 34px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 28px;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 30% 0%, rgba(200, 149, 61, 0.16), transparent 30%),
    linear-gradient(180deg, #11110f, #050505);
}

.proof-quote p {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.35;
}

.proof-quote span {
  color: var(--gold-2);
}

.proof-stat {
  display: grid;
  justify-items: center;
  text-align: center;
}

.proof-stat img {
  width: 44px;
  height: 44px;
}

.proof-stat strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
}

.proof-stat span {
  color: var(--muted-dark);
  font-size: 0.86rem;
}

.footer-signup {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 440px);
  gap: 34px;
  align-items: center;
}

.footer-signup h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.footer-signup .eyebrow {
  color: #8e6a31;
}

.signup-form.compact {
  grid-template-columns: 1fr 90px;
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.signup-form.compact input {
  color: var(--black);
  border: 0;
  background: transparent;
}

.signup-form.compact button {
  min-height: 54px;
}

.site-footer {
  padding: 46px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 38px;
  border-top: 1px solid var(--line);
  background: #fbf7ef;
}

.footer-brand {
  font-size: 1.3rem;
}

.site-footer p {
  color: var(--muted);
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 900;
}

.copyright {
  padding: 16px 24px 26px;
  color: var(--muted);
  background: #fbf7ef;
  text-align: center;
  font-size: 0.82rem;
}

@media (max-width: 1080px) {
  .core-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .hero-content {
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 42px;
  }

  .hero-subscribe {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .site-hero {
    min-height: auto;
  }

  .site-nav {
    padding: 20px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% - 6px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: rgba(8, 8, 7, 0.96);
    border: 1px solid var(--line-dark);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero-content {
    padding: 44px 20px 70px;
    gap: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(3.4rem, 17vw, 5rem);
  }

  .hero-benefits {
    gap: 16px;
  }

  .subscribe-card {
    padding: 24px;
  }

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

  .pillar-image {
    height: 230px;
  }

  .pillar-body {
    min-height: auto;
  }

  .rotating-slider {
    grid-auto-columns: 86%;
  }

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

  .rotating-card > img {
    height: 210px;
    min-height: 210px;
  }

  .rotating-card .section-icon {
    left: 50%;
    top: 184px;
    bottom: auto;
  }

  .rotating-card > div {
    padding: 44px 24px 28px;
  }

  .slider-btn {
    display: none;
  }

  .proof-strip,
  .footer-signup,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    text-align: center;
  }

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

@media (max-width: 480px) {
  .brand-main {
    font-size: 1.08rem;
  }

  .brand-sub {
    font-size: 0.65rem;
  }

  .hero-copy h1 {
    letter-spacing: -0.06em;
  }

  .hero-bg {
    background-position: 56% center;
  }

  .intro-band {
    padding-top: 44px;
  }

  .section-wrap,
  .rotating-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
}


/* v2 visual tightening */
.pillar-card {
  box-shadow: 0 18px 46px rgba(28, 21, 12, 0.08);
}

.core-grid .pillar-card {
  min-width: 0;
}

.rotating-card h3 {
  font-size: 1.22rem;
  line-height: 1.18;
}

.rotating-card a {
  margin-top: 18px;
}

@media (min-width: 1280px) {
  .intro-band {
    padding-bottom: 34px;
  }

  .section-wrap {
    padding-bottom: 64px;
  }

  .rotating-wrap {
    padding-top: 6px;
  }
}

@media (max-width: 1180px) {
  .rotating-slider {
    grid-auto-columns: clamp(590px, 68vw, 700px);
  }

  .rotating-card {
    grid-template-columns: minmax(230px, 44%) 1fr;
  }
}

@media (max-width: 760px) {
  .rotating-slider {
    grid-auto-columns: 88%;
  }

  .rotating-card {
    min-height: auto;
  }
}


/* v4 launch-stage copy polish */
.launch-note {
  display: inline-flex;
  margin-top: 18px !important;
  padding: 9px 14px;
  border: 1px solid rgba(200, 149, 61, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  color: #8a6b3d !important;
  font-size: 0.82rem;
  line-height: 1.3;
}

.pillar-body a,
.rotating-card a {
  color: #15110c;
}

.nav-links a[href="/the-brief/sample"]:not(.nav-cta) {
  color: var(--gold-2);
}

@media (max-width: 760px) {
  .launch-note {
    border-radius: 14px;
  }
}


/* Logo image integration - v2 */
.brand-logo-lockup {
  width: clamp(205px, 18vw, 290px);
  min-width: 190px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.brand-logo-lockup .logo-top {
  display: block;
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.footer-logo-lockup {
  width: 250px;
  max-width: 100%;
  display: block;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.footer-logo-lockup .logo-top {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  object-position: left center;
}

.footer-logo-tagline {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
  max-height: 20px;
  margin-top: 10px;
  opacity: 0.8;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 1080px) {
  .brand-logo-lockup {
    width: clamp(180px, 24vw, 240px);
    min-width: 170px;
  }

  .brand-logo-lockup .logo-top {
    max-height: 50px;
  }
}

@media (max-width: 760px) {
  .brand-logo-lockup {
    width: clamp(162px, 46vw, 210px);
    min-width: 0;
  }

  .brand-logo-lockup .logo-top {
    max-height: 44px;
  }

  .footer-logo-lockup {
    width: 220px;
  }

  .footer-logo-tagline {
    width: 168px;
  }
}

@media (max-width: 420px) {
  .brand-logo-lockup {
    width: 150px;
  }
}


/* v3 logo placement: hero logo, not top header */
.nav-brand-spacer {
  width: clamp(205px, 18vw, 290px);
  min-width: 190px;
  flex: 0 0 auto;
}

.hero-logo-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: clamp(250px, 27vw, 390px);
  margin: 0 0 34px;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
}

.hero-logo-lockup .logo-top,
.hero-logo-lockup .logo-tagline {
  display: block;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.hero-logo-lockup .logo-top {
  width: 100%;
  max-height: 88px;
}

.hero-logo-lockup .logo-tagline {
  width: 62%;
  max-height: 20px;
  margin-top: 0px;
  opacity: 0.88;
}

.hero-logo-lockup + .eyebrow {
  margin-top: 0;
}

@media (max-width: 1080px) {
  .nav-brand-spacer {
    width: clamp(180px, 24vw, 240px);
    min-width: 170px;
  }

  .hero-logo-lockup {
    width: clamp(230px, 38vw, 340px);
    margin-bottom: 30px;
  }
}

@media (max-width: 760px) {
  .nav-brand-spacer {
    display: none;
  }

  .site-nav {
    justify-content: flex-end;
  }

  .hero-logo-lockup {
    width: clamp(220px, 70vw, 320px);
    margin-bottom: 26px;
  }

  .hero-logo-lockup .logo-tagline {
    width: 66%;
  }
}

@media (max-width: 420px) {
  .hero-logo-lockup {
    width: 220px;
  }

  .hero-logo-lockup .logo-tagline {
    width: 72%;
  }
}


/* v4 header reconfiguration: nav overlay + higher hero logo/content */
.site-hero {
  min-height: 690px;
}

.site-nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 6;
  max-width: 1440px;
  margin: 0 auto;
  padding: 34px 42px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.site-nav .nav-toggle,
.site-nav .nav-links {
  pointer-events: auto;
}

.nav-brand-spacer {
  display: none !important;
}

.hero-content {
  min-height: 690px;
  padding: 112px 42px 70px;
  align-items: start;
}

.hero-logo-lockup {
  width: clamp(270px, 28vw, 410px);
  margin-top: -66px;
  margin-bottom: 40px
}

.hero-logo-lockup .logo-top {
  max-height: 138px;
}

.hero-logo-lockup .logo-tagline {
  width: 60%;
  max-height: 20px;
  margin-top: 0px;
  margin-left:50px;
}

.hero-copy .eyebrow {
  margin-bottom: 18px;
}

.hero-subscribe {
  align-self: start;
  margin-top: 76px;
}

@media (max-width: 1180px) {
  .site-nav {
    padding-left: 30px;
    padding-right: 30px;
  }

  .hero-content {
    padding-left: 30px;
    padding-right: 30px;
  }

  .hero-logo-lockup {
    width: clamp(245px, 32vw, 360px);
  }

  .hero-subscribe {
    margin-top: 112px;
  }
}

@media (max-width: 1080px) {
  .site-nav {
    position: relative;
    padding: 20px;
    justify-content: flex-end;
  }

  .hero-content {
    min-height: auto;
    padding-top: 38px;
  }

  .hero-subscribe {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .site-nav {
    position: relative;
    justify-content: flex-end;
  }

  .hero-content {
    padding-top: 34px;
  }

  .hero-logo-lockup {
    width: clamp(225px, 76vw, 330px);
    margin-bottom: 24px;
  }
}

@media (max-width: 420px) {
  .hero-logo-lockup {
    width: 225px;
  }
}

/* Mobile rotating carousel fix: one swipeable card, image on top, icon centered, text below */
@media (max-width: 760px) {
  .rotating-wrap {
    padding: 18px 0 44px;
    overflow: hidden;
  }

  .rotating-wrap .section-heading-row {
    width: calc(100% - 48px);
    max-width: 420px;
    margin: 0 auto 20px;
  }

  .slider-shell {
    overflow: hidden;
  }

  .rotating-slider {
    --mobile-card-width: min(82vw, 340px);

    display: flex !important;
    grid-auto-flow: unset !important;
    grid-auto-columns: unset !important;
    grid-template-columns: none !important;

    gap: 16px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: calc((100vw - var(--mobile-card-width)) / 2);

    padding: 4px calc((100vw - var(--mobile-card-width)) / 2) 18px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .rotating-slider::-webkit-scrollbar {
    display: none;
  }

  .rotating-card {
    --mobile-rotating-image-height: clamp(178px, 52vw, 220px);

    flex: 0 0 var(--mobile-card-width) !important;
    width: var(--mobile-card-width) !important;
    min-width: var(--mobile-card-width) !important;
    max-width: var(--mobile-card-width) !important;

    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: column !important;
    align-items: stretch !important;

    min-height: 0 !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .rotating-card > img {
    width: 100% !important;
    height: var(--mobile-rotating-image-height) !important;
    min-height: 0 !important;
    flex: 0 0 var(--mobile-rotating-image-height);
    object-fit: cover;
  }

  .rotating-card .section-icon {
    left: 50% !important;
    top: var(--mobile-rotating-image-height) !important;
    bottom: auto !important;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%) !important;
  }

  .rotating-card > div {
    width: 100%;
    min-height: 250px;
    padding: 42px 22px 26px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    text-align: center;
    background: rgba(255, 252, 246, 0.9);
  }

  .rotating-card h3 {
    max-width: 280px;
    margin: 0;
    font-size: clamp(1.42rem, 6.8vw, 1.82rem);
    line-height: 1.1;
    letter-spacing: 0.045em;
    overflow-wrap: normal;
    word-break: normal;
  }

  .rotating-card p {
    max-width: 280px;
    margin: 14px auto 0;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .rotating-card a {
    margin-top: auto;
    padding-top: 18px;
  }

  .slider-btn {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .rotating-slider {
    --mobile-card-width: min(84vw, 330px);
    gap: 14px !important;
  }

  .rotating-card {
    --mobile-rotating-image-height: clamp(172px, 54vw, 208px);
  }

  .rotating-card > div {
    min-height: 258px;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}
