/*
Theme Name: ARC Theme
Theme URI: https://americanrooferscouncil.com
Description: American Roofers Council — 1:1 replica of the live Wix site
Version: 3.1.0
Author: Sumeru Digital
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── Tokens (sampled from live site @1440) ────────────────────────────────── */
:root {
  --ink:        #060B1A;
  --navy:       #091128;
  --navy-deep:  #00051D;
  --header:     #1E2330;
  --blue:       #016AD8;
  --blue-dark:  #004B99;
  --blue-mid:   #154993;
  --blue-cta:   #1D5AC4;
  --blue-btn-a: #184A94;
  --blue-btn-b: #225EC0;
  --blue-link:  #2C69D1;
  --gold:       #E4B13F;
  --gold-btn:   #E2AD34;
  --paper:      #FAFAFA;
  --white:      #FFFFFF;
  --grey:       #444853;
  --black:      #000000;
  --foot:       #121211;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font); color: var(--ink); background: var(--paper);
  line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 70px; }
@media (max-width: 900px) { .wrap { padding: 0 24px; } }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 28px; border-radius: 33px;
  font-weight: 700; font-size: 16px; line-height: 1; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .15s; cursor: pointer;
}
.btn:active { transform: scale(.98); }
.btn-outline-white { border: 2px solid var(--white); color: var(--white); background: transparent; height: 58px; padding: 0 20px; }
.btn-outline-white:hover { background: var(--white); color: var(--ink); }
.btn-outline-white.thick { border-width: 4px; height: 60px; font-size: 18px; padding: 0 22px; }
.btn-outline-black { border: 2px solid var(--black); color: var(--black); background: transparent; font-size: 17px; height: 46px; padding: 0 20px; }
.btn-outline-black:hover { background: var(--black); color: var(--white); }
.btn-black { background: var(--black); color: var(--paper); font-size: 16px; height: 54px; padding: 0 30px; box-shadow: inset 0 0 0 2px var(--black); }
.btn-black:hover { background: var(--white); color: var(--black); }
.btn-black.caps { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; height: 52px; padding: 0 28px; }
.btn-blue-grad {
  background: linear-gradient(90deg, var(--blue-btn-a), var(--blue-btn-b));
  color: var(--white); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; height: 56px; padding: 0 18px;
}
.btn-blue-grad:hover { background: linear-gradient(180deg, var(--blue-btn-a) 39%, var(--blue-link) 100%); box-shadow: 0 6px 18px rgba(34,94,192,.45); }
.btn-caps-outline {
  border: 2px solid var(--paper); color: var(--paper); background: transparent;
  font-size: 12px; letter-spacing: .04em; text-transform: uppercase; height: 56px; padding: 0 24px;
}
.btn-caps-outline:hover { background: var(--paper); color: var(--ink); }
.btn-gold-outline {
  border: 4px solid var(--gold); color: var(--gold); background: transparent;
  border-radius: 50px; font-size: 18px; font-weight: 400; height: 60px; padding: 0 20px; gap: 12px;
}
.btn-gold-outline:hover { background: var(--gold); color: var(--ink); }
.btn-gold-outline svg { width: 34px; height: 14px; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header { background: var(--header); height: 118px; position: relative; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.site-logo img { width: 100px; height: 100px; }
.site-nav { display: flex; align-items: center; }
.site-nav ul { display: flex; align-items: center; }
.site-nav li a { display: block; padding: 0 22px; color: var(--white); font-weight: 700; font-size: 16px; transition: color .2s; }
.site-nav li a:hover, .site-nav li a.is-active { color: var(--gold); text-decoration: underline; text-underline-offset: 5px; }
.site-nav .btn { margin-left: 20px; font-size: 15px; padding: 0 18px; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-nav { display: none; background: var(--header); padding: 20px 24px 30px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; color: #fff; font-weight: 700; font-size: 18px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav .btn { margin-top: 18px; border-bottom: 0; }
@media (max-width: 1000px) { .site-nav { display: none; } .nav-toggle { display: flex; } }

/* ── HOME: Hero ──────────────────────────────────────────────────────────── */
.hero { background: var(--navy); color: var(--white); padding: 122px 0 130px; position: relative; overflow: hidden; }
.hero .wrap { padding-left: 170px; position: relative; z-index: 1; }
/* Three.js compass canvas — behind the copy, right-weighted glow */
.hero-scene { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.hero-scene.is-ready { opacity: 1; }
.hero-scene::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 34% 60% at 76% 50%, rgba(228,177,63,.14) 0%, rgba(228,177,63,.05) 45%, transparent 75%);
}
.hero-scene canvas { display: block; width: 100% !important; height: 100% !important; position: relative; }
.hero h1 { font-size: 94px; font-weight: 900; line-height: 1; letter-spacing: -.055em; max-width: 790px; }
.hero h1 .gold { color: var(--gold); }
.hero p { margin-top: 35px; max-width: 578px; font-size: 16px; line-height: 1.55; }
.hero-actions { margin-top: 50px; display: flex; gap: 27px; flex-wrap: wrap; }
@media (max-width: 1100px) { .hero .wrap { padding-left: 70px; } }
@media (max-width: 900px) { .hero { padding: 70px 0 80px; } .hero .wrap { padding-left: 24px; } .hero h1 { font-size: 60px; } }
@media (max-width: 520px) { .hero h1 { font-size: 44px; } }

/* ── HOME: 250 video ─────────────────────────────────────────────────────── */
.hero-video { background: var(--black); line-height: 0; }
.hero-video video { width: 100%; height: auto; }
.video-gap { height: 50px; background: var(--paper); }

/* ── HOME: Blue CTA ──────────────────────────────────────────────────────── */
.cta-blue {
  background: var(--blue) url('assets/img/bg-blue-cta.png') center / cover no-repeat;
  color: var(--white); text-align: center; padding: 90px 0 70px;
}
.cta-blue h2 { font-size: 54px; font-weight: 900; line-height: .9; letter-spacing: -.05em; max-width: 480px; margin: 0 auto; }
.cta-blue h3 { margin: 40px auto 0; font-size: 29px; font-weight: 900; line-height: 1; letter-spacing: -.01em; max-width: 640px; }
.cta-blue p { margin: 40px auto 0; max-width: 720px; font-size: 16px; line-height: 1.45; }
.cta-blue .btn { margin-top: 30px; }
.cta-blue .note { margin-top: 30px; font-size: 14px; }
@media (max-width: 900px) { .cta-blue h2 { font-size: 44px; } .cta-blue h3 { font-size: 26px; } }

/* ── Stats ───────────────────────────────────────────────────────────────── */
.stats { background: var(--paper); padding: 62px 0 40px; }
.stats .wrap { padding: 0 25px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 20px; text-align: center; }
.stat-num { font-size: 52px; font-weight: 900; line-height: 1.1; letter-spacing: -.05em; text-transform: uppercase; white-space: nowrap; }
.stat-label { font-size: 26px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; margin-top: -4px; }
@media (max-width: 1250px) { .stat-num { font-size: 42px; } .stat-label { font-size: 18px; } }
@media (max-width: 800px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; } .stat-num, .stat-label { white-space: normal; } }

/* ── Testimonials ────────────────────────────────────────────────────────── */
.testimonials {
  background: var(--blue) url('assets/img/bg-testimonials.png') center / cover no-repeat;
  color: var(--white); padding: 150px 0 75px; text-align: center; overflow: hidden;
}
.testimonials h2 { font-size: 54px; font-weight: 900; line-height: 1.05; letter-spacing: -.05em; max-width: 780px; margin: 0 auto; }
.testimonials .lead { margin: 16px auto 0; max-width: 560px; font-size: 16px; line-height: 1.45; }
.testi-track-wrap { position: relative; margin-top: 50px; }
.testi-track { display: flex; gap: 54px; padding: 0 0 0 27px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.testi-track::-webkit-scrollbar { display: none; }
.testi-track img { flex: 0 0 auto; width: 432px; min-width: 432px; max-width: 432px; height: auto; scroll-snap-align: start; }
.testi-next {
  position: absolute; right: 20px; top: 46%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--blue-link); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.testi-next svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .testimonials { padding: 80px 0 70px; } .testimonials h2 { font-size: 36px; } .testi-track img { flex-basis: 320px; width: 320px; } }

/* ── Eyebrow / big heading ───────────────────────────────────────────────── */
.eyebrow { font-size: 28px; font-weight: 900; letter-spacing: .02em; color: var(--gold); text-transform: uppercase; }
.h-big { font-size: 53px; font-weight: 900; line-height: 1.1; letter-spacing: -.05em; }
@media (max-width: 900px) { .h-big { font-size: 38px; } .eyebrow { font-size: 20px; } }

/* ── Insights ────────────────────────────────────────────────────────────── */
.insights { background: var(--paper); text-align: center; padding: 75px 0 120px; }
.insights .lead { margin: 20px auto 0; max-width: 690px; font-size: 16px; line-height: 1.35; font-weight: 500; }
.post-grid { display: grid; grid-template-columns: repeat(2, 433px); gap: 66px; justify-content: center; margin-top: 46px; }
.post-card { position: relative; display: block; aspect-ratio: 433 / 243; overflow: hidden; background: #000 center / cover no-repeat; color: #fff; text-align: left; }
.post-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.05) 35%, rgba(0,0,0,.72) 100%); }
.post-card .meta { position: absolute; top: 22px; left: 20px; z-index: 1; font-size: 11px; line-height: 1.3; }
.post-card h3 {
  position: absolute; left: 20px; right: 16px; bottom: 18px; z-index: 1;
  font-size: 24px; font-weight: 900; line-height: 1.15; letter-spacing: -.02em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 1000px) { .post-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }

/* ── Webinar ─────────────────────────────────────────────────────────────── */
.webinar { background: var(--navy-deep); color: var(--white); position: relative; z-index: 2; }
.webinar .wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 600px; overflow: visible; }
.webinar-visual { position: relative; }
.webinar-visual img { width: 860px; max-width: none; margin: -147px 0 -113px -25px; }
.webinar-copy { text-align: center; padding: 60px 0; }
.webinar-copy h2 { font-size: 53px; font-weight: 900; line-height: 1.1; letter-spacing: -.05em; }
.webinar-copy h3 { margin: 20px auto 0; font-size: 28px; font-weight: 900; line-height: 1.1; letter-spacing: -.05em; color: var(--gold); max-width: 500px; }
.webinar-copy .btn { margin-top: 36px; height: 54px; font-size: 16px; padding: 0 30px; }
.webinar-copy .note { margin-top: 20px; font-size: 13px; color: #B7BAC4; }
@media (max-width: 1100px) { .webinar-visual img { width: 100%; margin: -40px 0 -60px; } }
@media (max-width: 1000px) {
  .webinar .wrap { grid-template-columns: 1fr; }
  .webinar-visual img { margin: 0 auto; max-width: 560px; }
  .webinar-copy h2 { font-size: 40px; } .webinar-copy h3 { font-size: 20px; }
}

/* ── Leverage ────────────────────────────────────────────────────────────── */
.leverage { background: var(--paper); padding: 153px 0 0; text-align: center; }
.leverage .h-big { font-size: 52px; max-width: 1040px; margin: 0 auto; }
.lev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px; margin-top: 76px; text-align: left; }
.lev-card img { width: 100%; aspect-ratio: 405 / 298; object-fit: cover; border-radius: 22px; }
.lev-card h3 { margin: 22px 0 4px 14px; font-size: 34px; font-weight: 900; line-height: 1.2; letter-spacing: -.02em; }
.lev-card p { margin: 0 14px; font-size: 15px; line-height: 1.25; font-weight: 500; }
.lev-card .btn { margin: 24px 0 0 14px; }
.lev-copy { max-width: 766px; margin: 117px auto 0; text-align: justify; font-size: 16px; line-height: 1.3; font-weight: 500; }
.lev-copy p + p { margin-top: 22px; }
.lev-copy strong { font-weight: 800; }
.lev-copy .btn { margin-top: 30px; }
.leverage-pad { height: 170px; }
@media (max-width: 1000px) {
  .leverage { padding-top: 120px; }
  .lev-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .lev-copy { text-align: left; }
  .leverage-pad { height: 90px; }
}

/* ── Two-column CTA (Master / Vault) ─────────────────────────────────────── */
.duo { display: grid; grid-template-columns: 1fr 1fr; color: var(--white); }
.duo > div { padding: 58px 70px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.duo-master { background: var(--blue-mid); }
.duo-vault  { background: var(--navy); }
.duo h2 { font-size: 32px; font-weight: 900; line-height: 1.2; letter-spacing: -.03em; }
.duo .rule { width: 96px; height: 4px; background: var(--gold); margin: 12px auto 0; }
.duo p { margin-top: 20px; max-width: 486px; font-size: 14px; line-height: 1.55; font-weight: 500; }
.duo .btn { margin-top: 24px; }
.vault-form { margin-top: 20px; width: 100%; max-width: 356px; display: grid; gap: 12px; }
.vault-form input { height: 34px; padding: 0 12px; border: 1px solid #DDD; border-radius: 4px; background: #fff; font-size: 12px; color: var(--ink); }
.vault-form button { height: 44px; border: 1px solid var(--navy); border-radius: 6px; background: var(--gold-btn); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.vault-form button:hover { background: var(--ink); border-color: var(--ink); }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } .duo > div { padding: 56px 24px; } }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.foot-nav { background: var(--black); height: 75px; }
.foot-nav .wrap { height: 100%; display: flex; align-items: center; justify-content: flex-end; padding-right: 115px; }
.foot-nav ul { display: flex; }
.foot-nav a { display: block; padding: 10px 16px; color: #fff; font-weight: 700; font-size: 15px; }
.foot-nav a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 5px; }
.foot-bottom .links a:hover, .contact-info dd a:hover { color: var(--gold); }
.socials a:hover { color: var(--gold); transform: translateY(-2px); transition: color .2s, transform .2s; }
.site-footer { background: var(--foot); color: #A7A7A7; padding: 60px 0 30px; text-align: center; }
.site-footer .wrap { padding: 0 75px; }
.socials { display: flex; justify-content: center; gap: 22px; }
.socials a { color: #fff; display: block; width: 22px; height: 22px; }
.socials svg { width: 22px; height: 22px; fill: currentColor; }
.disclaimer { max-width: 760px; margin: 30px auto 0; font-size: 10px; line-height: 1.4; color: #9A9A9A; }
.disclaimer p + p { margin-top: 14px; }
.foot-bottom { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #BDBDBD; }
.foot-bottom .links { display: flex; gap: 40px; }
.foot-bottom a:hover { color: #fff; }
@media (max-width: 900px) { .foot-nav .wrap { justify-content: center; padding-right: 24px; } .foot-bottom { justify-content: center; text-align: center; } }

/* ── Page hero (About / Results) ─────────────────────────────────────────── */
.page-hero { position: relative; color: var(--white); text-align: center; padding: 95px 0 60px; background: var(--navy) center / cover no-repeat; }
.page-hero.results { padding-bottom: 98px; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(9,17,40,.78); }
.page-hero .wrap { position: relative; }
.page-hero .crumb { font-size: 14px; color: #B9BFD0; }
.page-hero h1 { margin-top: 4px; font-size: 75px; font-weight: 900; line-height: 1.05; letter-spacing: -.05em; }
.page-hero h1.xl { font-size: 93px; }
.page-hero p { margin: 50px auto 0; max-width: 560px; font-size: 16px; line-height: 1.4; color: var(--gold); }
@media (max-width: 900px) { .page-hero h1, .page-hero h1.xl { font-size: 48px; } }

/* ── ABOUT ───────────────────────────────────────────────────────────────── */
.about-three { background: var(--paper); padding: 70px 0 82px; }
.about-three .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.about-three h2 { font-size: 36px; font-weight: 900; letter-spacing: -.03em; line-height: 1.2; }
.about-three p { margin-top: 4px; font-size: 14.5px; line-height: 1.3; font-weight: 500; }
.about-three .btn { margin-top: 14px; }
@media (max-width: 900px) { .about-three .grid { grid-template-columns: 1fr; } }

.yt-block { background: var(--paper); padding: 42px 0; }
.yt-block .frame { position: relative; max-width: 1120px; margin: 0 auto; aspect-ratio: 16/9; background: #000; }
.yt-block iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.cta-grad { background: linear-gradient(90deg, #1A4CBE 0%, #2557C9 55%, #2E63D6 100%); color: #fff; text-align: center; padding: 85px 0 80px; }
.cta-grad h2 { font-size: 47px; font-weight: 900; line-height: .95; letter-spacing: -.05em; max-width: 660px; margin: 0 auto; }
.cta-grad p { margin: 26px auto 0; max-width: 640px; font-size: 15px; line-height: 1.4; }
.cta-grad .btn { margin-top: 34px; }
@media (max-width: 900px) { .cta-grad h2 { font-size: 36px; } }

.team { background: var(--paper); text-align: center; padding: 95px 0 190px; }
.team h2 { font-size: 50px; font-weight: 900; letter-spacing: -.05em; line-height: 1.1; }
.team .lead { margin: 40px auto 0; max-width: 640px; font-size: 16px; line-height: 1.3; font-weight: 500; }
.team-grid { display: grid; grid-template-columns: repeat(2, 440px); gap: 130px 142px; justify-content: center; margin-top: 145px; }
.member img { width: 440px; height: 440px; border-radius: 50%; object-fit: cover; margin: 0 auto; }
.member h3 { margin-top: 10px; font-size: 36px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.member .role { font-size: 22px; font-weight: 500; color: var(--blue-link); margin-top: 4px; }
.member.solo { grid-column: 1 / -1; justify-self: center; margin-top: 20px; }
/* odd member count: center the last regular member instead of leaving it alone on the left */
.member:not(.solo):nth-child(odd):nth-last-child(2) { grid-column: 1 / -1; justify-self: center; }
.member.solo img { width: 400px; height: 400px; }
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 70px 40px; } .member img { width: 100%; height: auto; aspect-ratio: 1; } }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } .member h3 { font-size: 28px; } .member .role { font-size: 17px; } }

.aihl { color: #fff; text-align: center; padding: 133px 0 100px; background: radial-gradient(ellipse at center, #0D1A3D 0%, var(--navy-deep) 70%); }
.aihl .kicker { font-size: 17px; letter-spacing: .06em; color: var(--gold); }
.aihl h2 { margin-top: 4px; font-size: 79px; font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.aihl .lead { margin-top: 26px; font-size: 15px; color: #CFD3DE; }
.compass { position: relative; width: 755px; max-width: 100%; margin: 60px auto 0; display: grid; grid-template-columns: 216px 1fr 216px; grid-template-rows: auto auto auto; gap: 48px 62px; align-items: center; }
.compass .center { grid-column: 2; grid-row: 2; display: grid; place-items: center; }
.compass .center img { width: 200px; }
.v-card { width: 216px; background: #0E2A5D; border: 1px solid var(--gold); border-radius: 8px; padding: 12px 12px 16px; margin: 0 auto; }
.v-card .letter { font-size: 48px; font-weight: 900; line-height: 1; color: var(--gold); letter-spacing: -.03em; }
.v-card .name { margin-top: 4px; font-size: 17px; font-weight: 500; line-height: 1.15; }
.v-card .desc { margin-top: 10px; font-size: 12px; line-height: 1.25; color: #E6E9F2; }
.v-card.n { grid-column: 2; grid-row: 1; }
.v-card.w { grid-column: 1; grid-row: 2; }
.v-card.e { grid-column: 3; grid-row: 2; }
.v-card.s { grid-column: 2; grid-row: 3; }
@media (max-width: 800px) {
  .aihl h2 { font-size: 56px; }
  .compass { grid-template-columns: 1fr; gap: 24px; }
  .compass .center, .v-card.n, .v-card.w, .v-card.e, .v-card.s { grid-column: 1; grid-row: auto; }
}

/* ── RESULTS ─────────────────────────────────────────────────────────────── */
.legacy { background: var(--paper); text-align: center; padding: 75px 0 75px; }
.legacy h2 { font-size: 50px; font-weight: 900; letter-spacing: -.05em; line-height: 1.05; max-width: 600px; margin: 0 auto; }
.legacy p { margin-top: 26px; font-size: 16px; line-height: 1.5; font-weight: 500; }
.legacy .btn { margin-top: 22px; border-radius: 28px; background: var(--blue-cta); color: #fff; font-size: 17px; height: 52px; padding: 0 26px; }
.legacy .btn:hover { background: var(--ink); }
@media (max-width: 900px) { .legacy h2 { font-size: 36px; } }

.thrive { background: var(--paper); display: grid; grid-template-columns: 1fr 1fr; }
.thrive .copy { padding: 90px 86px 130px 86px; }
.thrive .pic { background: #000 center top / cover no-repeat; min-height: 480px; }
.thrive h2 { font-size: 44px; font-weight: 900; letter-spacing: -.04em; line-height: 1.05; }
.thrive p { margin-top: 18px; font-size: 16px; line-height: 1.25; font-weight: 500; }
.thrive p.bold, .thrive p.q { font-weight: 800; }
.thrive .btn { margin-top: 26px; }
@media (max-width: 1000px) { .thrive { grid-template-columns: 1fr; } .thrive .copy { padding: 60px 24px; } .thrive .pic { min-height: 420px; } .thrive h2 { font-size: 36px; } }

/* ── LIVE APPLICATION ────────────────────────────────────────────────────── */
.apply { background: var(--paper); padding: 70px 0 110px; text-align: center; }
.apply h1 { font-size: 49px; font-weight: 900; letter-spacing: -.04em; line-height: 1.05; max-width: 820px; margin: 0 auto; }
.apply h1 small { display: block; font-size: 20px; letter-spacing: .12em; color: var(--gold); margin-bottom: 10px; }
.apply .lead { margin: 22px auto 0; max-width: 620px; font-size: 16px; font-weight: 800; line-height: 1.3; }
.apply-form { max-width: 720px; margin: 54px auto 0; text-align: left; display: grid; gap: 22px; }
.apply-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.apply-form label { display: block; font-size: 15px; color: var(--grey); margin-bottom: 6px; }
.apply-form input, .apply-form select, .apply-form textarea { width: 100%; height: 46px; padding: 0 14px; border: 1px solid rgba(6,11,26,.6); background: #fff; font-size: 15px; color: var(--ink); border-radius: 0; }
.apply-form textarea { height: 120px; padding: 12px 14px; resize: vertical; }
.apply-form fieldset { border: 0; }
.apply-form legend { font-size: 15px; color: var(--grey); margin-bottom: 10px; }
.apply-form .opt { display: flex; align-items: center; gap: 10px; font-size: 15px; padding: 6px 0; }
.apply-form .opt input { width: 18px; height: 18px; }
.apply-form .submit { height: 52px; background: var(--navy); color: #fff; border: 0; font-size: 15px; font-weight: 600; cursor: pointer; width: 100%; }
.apply-form .submit:hover { background: var(--blue-link); }
@media (max-width: 720px) { .apply-form .row { grid-template-columns: 1fr; } .apply h1 { font-size: 34px; } }

/* ── ARTICLES ────────────────────────────────────────────────────────────── */
.blog { background: var(--paper); padding: 115px 0 260px; }
.blog .inner { max-width: 902px; margin: 0 auto; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 0 33px; font-size: 12px; }
.blog-cats a { padding: 6px 0; white-space: nowrap; }
.blog-cats a:hover { color: var(--blue-link); }
.blog h1 { font-size: 29px; font-weight: 900; letter-spacing: -.03em; margin: 60px 0 62px 18px; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 437px); justify-content: space-between; gap: 28px; }
.blog-card { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #000 center / cover no-repeat; color: #fff; }
.blog-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.05) 30%, rgba(0,0,0,.6) 70%, rgba(0,0,0,.85)); }
.blog-card .meta { position: absolute; top: 26px; left: 25px; z-index: 1; font-size: 11px; line-height: 1.35; }
.blog-card .dots { position: absolute; top: 26px; right: 24px; z-index: 1; font-size: 18px; line-height: 1; }
.blog-card h3 { position: absolute; left: 25px; right: 25px; bottom: 60px; z-index: 1; font-size: 24px; font-weight: 900; letter-spacing: -.02em; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card .foot { position: absolute; left: 25px; right: 25px; bottom: 20px; z-index: 1; display: flex; align-items: center; gap: 16px; font-size: 11px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.35); }
.blog-card .foot .heart { margin-left: auto; color: #E5484D; font-size: 16px; }
.blog-card .foot svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 4px; }
@media (max-width: 960px) { .blog { padding: 60px 0 100px; } .blog-grid { grid-template-columns: 1fr; max-width: 437px; margin: 0 auto; } .blog h1 { margin-left: 0; } }

.blog-cats a.on { font-weight: 600; }
.blog-pager { margin-top: 40px; display: flex; gap: 8px; justify-content: center; font-size: 14px; }
.blog-pager .page-numbers { padding: 6px 12px; border: 1px solid #DDD; border-radius: 4px; }
.blog-pager .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.blog-empty { font-size: 16px; color: var(--grey); }

/* ── SINGLE POST ─────────────────────────────────────────────────────────── */
.post { background: var(--paper); padding: 70px 0 120px; }
.post-inner { max-width: 740px; margin: 0 auto; }
.post-crumb { font-size: 13px; color: var(--grey); display: flex; gap: 8px; }
.post-crumb a:hover { color: var(--blue-link); }
.post-head { margin-top: 36px; }
.post-meta { font-size: 13px; color: var(--grey); display: flex; align-items: center; gap: 8px; }
.post-meta .post-author { color: var(--ink); font-weight: 500; }
.post-head h1 { margin-top: 14px; font-size: 40px; font-weight: 900; letter-spacing: -.03em; line-height: 1.12; }
.post-hero { margin: 32px 0 0; }
.post-hero img { width: 100%; height: auto; border-radius: 4px; }
.post-body { margin-top: 36px; font-size: 18px; line-height: 1.65; color: var(--ink); }
.post-body p { margin: 0 0 22px; }
.post-body h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 40px 0 14px; line-height: 1.2; }
.post-body h3 { font-size: 22px; font-weight: 800; margin: 32px 0 10px; line-height: 1.25; }
.post-body h4 { font-size: 18px; font-weight: 700; margin: 24px 0 8px; }
.post-body ul, .post-body ol { margin: 0 0 22px 24px; }
.post-body li { margin-bottom: 8px; }
.post-body blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-weight: 500; color: var(--grey); }
.post-body a { color: var(--blue-link); text-decoration: underline; text-underline-offset: 3px; }
.post-body img { border-radius: 4px; margin: 8px 0 22px; }
.post-body strong { font-weight: 800; }
.post-tags { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a { font-size: 13px; padding: 5px 12px; border: 1px solid #D9DEE6; border-radius: 999px; }
.post-tags a:hover { border-color: var(--ink); }
.post-foot { margin-top: 30px; padding-top: 18px; border-top: 1px solid #E6E6E6; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--grey); }
.post-foot a { color: var(--blue-link); }
.post-back { font-weight: 600; }
.post-more { max-width: 902px; margin: 90px auto 0; }
.post-more h2 { font-size: 26px; font-weight: 900; letter-spacing: -.02em; margin-bottom: 30px; }
@media (max-width: 800px) { .post-head h1 { font-size: 30px; } .post-body { font-size: 17px; } }

/* ── CONTACT ─────────────────────────────────────────────────────────────── */
.contact-title { background: var(--paper); text-align: center; padding: 57px 0 85px; }
.contact-title h1 { font-size: 50px; font-weight: 900; letter-spacing: -.04em; }
.contact { background: var(--paper); }
.contact .inner { max-width: 660px; margin: 0 auto; }
.contact-info { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.contact-info dt { font-weight: 700; font-size: 15px; }
.contact-info dd { font-size: 15px; margin-top: 8px; }
.contact-info dd a { text-decoration: underline; text-underline-offset: 3px; }
.contact-info .socials { justify-content: flex-start; gap: 14px; margin-top: 10px; }
.contact-info .socials a { color: var(--ink); width: 18px; height: 18px; }
.contact-info .socials svg { width: 18px; height: 18px; }
.contact-form { margin-top: 78px; display: grid; gap: 14px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.contact-form label { font-size: 12px; color: var(--grey); display: block; margin-bottom: 4px; }
.contact-form input, .contact-form textarea { width: 100%; height: 30px; padding: 0 10px; border: 1px solid rgba(6,11,26,.7); background: #fff; font-size: 13px; border-radius: 0; }
.contact-form textarea { height: 70px; padding: 8px 10px; resize: vertical; }
.contact-form .submit { height: 30px; background: var(--navy); color: #fff; border: 1px solid var(--navy); font-size: 13px; cursor: pointer; width: 208px; justify-self: end; }
.contact-form .submit:hover { background: var(--blue-link); border-color: var(--blue-link); }
.contact .addr { margin-top: 80px; text-align: center; font-size: 12px; font-weight: 500; }
.booking { background: var(--paper); padding: 110px 0 200px; }
.booking .frame { max-width: 1000px; margin: 0 auto; height: 720px; background: transparent; border: 0; border-radius: 0; overflow: hidden; box-shadow: none; }
.booking .frame .calendly-inline-widget, .booking iframe { width: 100%; height: 100% !important; border: 0; background: transparent; }
@media (max-width: 1000px) { .booking .frame { height: 1050px; } }
@media (max-width: 720px) { .contact-info { grid-template-columns: 1fr; } .contact-form .row { grid-template-columns: 1fr; } .booking { padding: 60px 0 90px; } .booking .frame { height: 1100px; } }

/* ── Generic page ────────────────────────────────────────────────────────── */
.plain { background: var(--paper); padding: 70px 0 110px; }
.plain .wrap { max-width: 900px; }
.plain h1 { font-size: 49px; font-weight: 900; letter-spacing: -.04em; margin-bottom: 30px; }
.plain p { font-size: 16px; line-height: 1.6; margin-bottom: 18px; }
.plain h2 { font-size: 26px; font-weight: 800; margin: 34px 0 12px; }

/* ── Fluid scale above 1440 (matches Wix's proportional scaling) ─────────── */
@media (min-width: 1500px) { html { zoom: 1.04; } }
@media (min-width: 1560px) { html { zoom: 1.08; } }
@media (min-width: 1620px) { html { zoom: 1.125; } }
@media (min-width: 1680px) { html { zoom: 1.167; } }
@media (min-width: 1728px) { html { zoom: 1.2; } }
@media (min-width: 1800px) { html { zoom: 1.25; } }
@media (min-width: 1920px) { html { zoom: 1.333; } }
@media (min-width: 2100px) { html { zoom: 1.458; } }
@media (min-width: 2300px) { html { zoom: 1.6; } }
@media (min-width: 2560px) { html { zoom: 1.778; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
