/* ============================================================
   CIARA SMITH CONSULTING — GLOBAL STYLES
   These :root tokens map directly to HubSpot "Theme settings"
   (brand colours, fonts, spacing). Change a value once here and
   it updates everywhere — the same way HubSpot global styles work.
   ============================================================ */
:root{
  /* Colour palette — warm white, beige, charcoal, taupe, gold, deep green */
  --bg:        #FAF7F1;   /* warm white (page background) */
  --bg-2:      #F2ECDF;   /* soft beige (alternating sections) */
  --bg-3:      #EBE3D2;   /* deeper beige (cards on beige) */
  --ink:       #23221E;   /* charcoal (headings) */
  --ink-2:     #54504A;   /* body text */
  --muted:     #8A8070;   /* muted taupe (meta/labels) */
  --line:      #E3DBCB;   /* hairline borders */
  --green:     #2E463A;   /* deep green (primary actions) */
  --green-2:   #21342B;   /* deep green hover */
  --green-ink: #DCE7DF;   /* light text on green */
  --gold:      #B0884A;   /* soft gold (accents) */
  --gold-ink:  #7C5C26;   /* gold dark enough for text */
  --white:     #FFFFFF;

  /* Typography */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Shape & depth */
  --radius:   18px;
  --radius-sm:12px;
  --shadow:   0 1px 2px rgba(35,34,30,.05), 0 18px 40px -22px rgba(35,34,30,.30);
  --shadow-sm:0 1px 2px rgba(35,34,30,.05), 0 8px 22px -16px rgba(35,34,30,.30);

  /* Layout */
  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 9vw, 128px);
}

/* ---------- Reset / base ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; overflow-x:clip; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--ink-2);
  background:var(--bg);
  font-size:clamp(1rem, .97rem + .2vw, 1.0625rem);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img,iframe,video{ max-width:100%; }
img{ height:auto; display:block; }
a{ color:var(--green); text-decoration:none; }
a:hover{ color:var(--green-2); }

h1,h2,h3,h4{
  font-family:var(--serif);
  color:var(--ink);
  line-height:1.12;
  font-weight:500;
  letter-spacing:-0.01em;
  margin:0 0 .5em;
}
h1{ font-size:clamp(2.25rem, 1.5rem + 3.4vw, 3.7rem); font-weight:400; }
h2{ font-size:clamp(1.7rem, 1.25rem + 1.9vw, 2.6rem); }
h3{ font-size:clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
h4{ font-size:1rem; }
p{ margin:0 0 1rem; }

/* ---------- Accessibility helpers ---------- */
.skip-link{
  position:absolute; left:-999px; top:0; z-index:200;
  background:var(--green); color:var(--green-ink);
  padding:12px 18px; border-radius:0 0 10px 0; font-weight:600;
}
.skip-link:focus{ left:0; color:var(--green-ink); }
:focus-visible{ outline:3px solid var(--gold); outline-offset:2px; border-radius:4px; }

/* ---------- Layout ---------- */
.container{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }
.section{ padding-block:var(--section-y); }
.section-alt{ background:var(--bg-2); }

.eyebrow{
  font-family:var(--sans);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.75rem;
  font-weight:600;
  color:var(--gold-ink);
  margin:0 0 1rem;
}
.eyebrow-light{ color:var(--gold); }

.section-head{ max-width:780px; margin-bottom:clamp(32px,5vw,56px); }
.section-head h2{ margin-bottom:.4em; }
.lead{ font-size:clamp(1.05rem,1rem + .4vw,1.25rem); color:var(--ink-2); }
.section-close{
  margin-top:clamp(32px,4vw,48px);
  font-family:var(--serif);
  font-size:clamp(1.2rem,1.05rem + .7vw,1.6rem);
  color:var(--ink);
  max-width:760px;
}
.section-cta{ margin-top:clamp(28px,4vw,44px); }

/* ---------- Buttons ---------- */
.btn{
  --b: var(--green);
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  font-family:var(--sans); font-weight:600; font-size:1rem; line-height:1;
  padding:16px 26px; border-radius:999px; border:1.5px solid transparent;
  cursor:pointer; text-align:center; transition:transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn:active{ transform:translateY(0); }
.btn-sm{ padding:11px 18px; font-size:.9rem; }
.btn-block{ width:100%; }

.btn-primary{ background:var(--green); color:#fff; box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--green-2); color:#fff; }

.btn-gold{ background:var(--gold); color:#231d12; box-shadow:var(--shadow-sm); }
.btn-gold:hover{ background:#c29a59; color:#231d12; }

.btn-ghost{ background:transparent; color:var(--green); border-color:var(--line); }
.btn-ghost:hover{ background:var(--white); border-color:var(--green); color:var(--green); }

.btn-outline-light{ background:transparent; color:#fff; border-color:rgba(255,255,255,.45); }
.btn-outline-light:hover{ background:rgba(255,255,255,.10); color:#fff; border-color:#fff; }

.link-arrow{ font-weight:600; color:var(--green); display:inline-flex; gap:.4em; align-items:center; }
.link-arrow span{ transition:transform .15s ease; }
.link-arrow:hover span{ transform:translateX(4px); }

.cta-row{ display:flex; flex-wrap:wrap; gap:14px; margin-top:8px; }
.cta-center{ justify-content:center; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(250,247,241,.82);
  backdrop-filter:saturate(150%) blur(10px);
  border-bottom:1px solid transparent;
  transition:border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.site-header.scrolled{ border-bottom-color:var(--line); box-shadow:0 6px 24px -20px rgba(35,34,30,.5); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; min-height:74px; }

.brand{ display:flex; align-items:center; gap:12px; color:var(--ink); }
.brand:hover{ color:var(--ink); }
.brand-mark{
  display:grid; place-items:center; width:42px; height:42px; border-radius:11px;
  background:var(--green); color:#F0E2C4; font-family:var(--serif); font-size:1.05rem; letter-spacing:.02em;
}
.brand-text{ display:flex; flex-direction:column; line-height:1.05; }
.brand-name{ font-family:var(--serif); font-size:1.18rem; color:var(--ink); }
.brand-sub{ font-size:.72rem; letter-spacing:.22em; text-transform:uppercase; color:var(--muted); }

.site-nav{ display:flex; align-items:center; gap:30px; }
.site-nav a{ font-size:.95rem; font-weight:500; color:var(--ink-2); }
.site-nav a:hover{ color:var(--ink); }
.site-nav a.btn{ color:#fff; }

.nav-toggle{
  display:none; flex-direction:column; gap:5px; width:44px; height:44px;
  align-items:center; justify-content:center; background:transparent; border:1px solid var(--line);
  border-radius:11px; cursor:pointer;
}
.nav-toggle span{ width:20px; height:2px; background:var(--ink); border-radius:2px; transition:.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

@media (max-width: 860px){
  .nav-toggle{ display:flex; }
  .site-nav{
    position:absolute; top:100%; left:0; right:0;
    flex-direction:column; align-items:stretch; gap:6px;
    background:var(--bg); border-bottom:1px solid var(--line);
    padding:18px var(--gutter) 26px; box-shadow:var(--shadow);
    transform:translateY(-12px); opacity:0; pointer-events:none; transition:.2s ease;
  }
  .site-nav.open{ transform:translateY(0); opacity:1; pointer-events:auto; }
  .site-nav a{ padding:12px 4px; font-size:1.05rem; border-bottom:1px solid var(--line); }
  .site-nav a:last-child{ border:0; }
  .site-nav a.btn{ margin-top:8px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero{ padding-block:clamp(48px,7vw,96px); position:relative; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(32px,5vw,72px); align-items:center; }
.hero-title{ margin-bottom:.35em; }
.hero-title .accent{ display:block; color:var(--green); }
.hero-sub{ font-size:clamp(1.15rem,1.05rem + .6vw,1.45rem); color:var(--ink-2); max-width:32ch; }
.hero-micro{ margin-top:18px; font-size:.9rem; color:var(--muted); }

/* Hero visual + floating concept chips */
.hero-visual{ position:relative; min-height:340px; display:grid; place-items:center; }
.headshot-placeholder{
  position:relative; overflow:hidden;
  width:min(100%,380px); aspect-ratio:4/5; border-radius:var(--radius);
  background:
    radial-gradient(120% 90% at 30% 15%, #38503f 0%, #2c4135 55%, #233529 100%);
  color:#e8dcc2; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;
  box-shadow:var(--shadow); border:1px solid rgba(255,255,255,.06);
}
/* real headshot fills the frame; if the file is missing, onerror removes it and the placeholder shows */
.headshot-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.hp-mono{ font-family:var(--serif); font-size:3rem; letter-spacing:.04em; color:#f0e2c4; }
.hp-note{ font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; color:rgba(240,226,196,.7); text-align:center; padding-inline:10px; }

.hero-chip{
  position:absolute; background:var(--white); border:1px solid var(--line);
  border-radius:999px; padding:8px 15px; font-size:.82rem; font-weight:600; color:var(--ink);
  box-shadow:var(--shadow-sm); white-space:nowrap;
}
.hero-chip::before{ content:""; display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:8px; vertical-align:middle; }
.chip-content{ top:6%; left:-4%; }
.chip-content::before{ background:var(--gold); }
.chip-crm{ top:30%; right:-6%; }
.chip-crm::before{ background:var(--green); }
.chip-calls{ bottom:20%; left:-8%; }
.chip-calls::before{ background:var(--muted); }
.chip-pipeline{ bottom:2%; right:0; }
.chip-pipeline::before{ background:var(--gold-ink); }

@media (max-width: 820px){
  .hero-grid{ grid-template-columns:1fr; }
  /* lead with the (punchy) headline on mobile, image follows */
  .hero-visual{ order:0; min-height:auto; margin-top:18px; }
  .headshot-placeholder{ width:min(100%,300px); }
  .hero-sub{ max-width:none; }
  /* keep the floating chips fully inside the viewport on small screens */
  .chip-content{ left:0; }
  .chip-crm{ right:0; }
  .chip-calls{ left:0; bottom:24%; }
  .chip-pipeline{ right:0; }
}

/* ============================================================
   SECTION 02 — PROBLEM
   ============================================================ */
.problem-grid{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:18px; }
.problem-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-sm);
  padding:26px 24px; box-shadow:var(--shadow-sm); transition:transform .18s ease, box-shadow .18s ease;
}
.problem-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.problem-card p{ margin:0; color:var(--ink); }
.problem-num{ font-family:var(--serif); font-size:1.6rem; color:var(--gold); display:block; margin-bottom:12px; }

/* ============================================================
   SECTION 03 — SOLUTION (pillars)
   ============================================================ */
.pillars{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:22px; }
.pillar{ padding:8px 4px; }
.pillar-icon{
  display:inline-grid; place-items:center; width:54px; height:54px; border-radius:14px;
  background:var(--bg-3); color:var(--green); margin-bottom:18px;
}
.section-alt .pillar-icon{ background:var(--white); }
.pillar-icon svg{ width:26px; height:26px; }
.pillar h3{ margin-bottom:.4em; }
.pillar p{ margin:0; }

/* ============================================================
   SECTION 04 — CREDIBILITY
   ============================================================ */
.cred-body{ max-width:760px; font-size:1.08rem; }
.case-study{
  margin-top:clamp(32px,5vw,52px); background:var(--white); border:1px solid var(--line);
  border-radius:var(--radius); padding:clamp(26px,4vw,40px); box-shadow:var(--shadow-sm);
}
.badge{
  display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color:var(--gold-ink); background:rgba(176,136,74,.12); border:1px solid rgba(176,136,74,.3);
  padding:6px 12px; border-radius:999px; margin-bottom:18px;
}
.case-summary{ font-size:1.1rem; color:var(--ink); max-width:70ch; }
.case-results{ list-style:none; margin:24px 0 0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:20px; }
.case-results li{ border-top:2px solid var(--gold); padding-top:14px; }
.case-results strong{ display:block; font-family:var(--serif); font-size:1.7rem; color:var(--green); margin-bottom:4px; }
.case-results span{ font-size:.92rem; color:var(--ink-2); }

.case-note{ margin:18px 0 0; font-size:.85rem; color:var(--muted); font-style:italic; }
.cert-bar{ margin-top:30px; padding:20px 24px; border:1px dashed var(--line); border-radius:var(--radius-sm); text-align:center; }
.cert-note{ margin:0; font-size:.92rem; color:var(--muted); }

/* ============================================================
   SECTION 05 — OFFERINGS
   ============================================================ */
.offers{ display:grid; grid-template-columns:repeat(auto-fit,minmax(290px,1fr)); gap:24px; align-items:start; }
.offer{
  position:relative; background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:clamp(26px,3vw,34px); box-shadow:var(--shadow-sm); display:flex; flex-direction:column; height:100%;
  transition:transform .18s ease, box-shadow .18s ease;
}
.offer:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.offer-featured{ border-color:var(--green); box-shadow:var(--shadow); }
.offer-flag{
  position:absolute; top:-13px; left:clamp(26px,3vw,34px);
  background:var(--green); color:#F0E2C4; font-size:.72rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  padding:6px 13px; border-radius:999px;
}
.offer-head{ margin-bottom:14px; }
.offer-head h3{ margin-bottom:.2em; }
.price{ font-family:var(--serif); font-size:1.55rem; color:var(--gold-ink); margin:0; }
.price .per{ font-family:var(--sans); font-size:.9rem; color:var(--muted); font-weight:500; }
.offer-desc{ color:var(--ink-2); }
.offer-list{ list-style:none; margin:6px 0 26px; padding:0; flex:1; }
.offer-list li{ position:relative; padding-left:28px; margin-bottom:10px; color:var(--ink); font-size:.97rem; }
.offer-list li::before{
  content:""; position:absolute; left:0; top:3px; width:18px; height:18px; border-radius:50%;
  background:rgba(46,70,58,.10);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E463A' stroke-width='3'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:center; background-size:12px;
}
.offer .btn{ margin-top:auto; }
.offer-foot{ margin-top:28px; text-align:center; color:var(--muted); font-size:.92rem; }

/* ============================================================
   SECTION 06 — ABOUT / FIT
   ============================================================ */
.about-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:clamp(32px,5vw,64px); align-items:center; }
.about-photo{ width:100%; max-width:440px; aspect-ratio:5/6; }
.about-copy p{ color:var(--ink-2); }

.fit-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:22px; margin-top:clamp(40px,5vw,64px); }
.fit-card{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:clamp(26px,3vw,34px); box-shadow:var(--shadow-sm); }
.fit-card h3{ margin-bottom:18px; }
.fit-card ul{ list-style:none; margin:0; padding:0; }
.fit-card li{ position:relative; padding-left:32px; margin-bottom:13px; color:var(--ink); }
.fit-yes li::before, .fit-no li::before{ content:""; position:absolute; left:0; top:1px; width:22px; height:22px; border-radius:50%; background-repeat:no-repeat; background-position:center; background-size:13px; }
.fit-yes li::before{ background-color:rgba(46,70,58,.12); background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E463A' stroke-width='3'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E"); }
.fit-no li::before{ background-color:rgba(138,128,112,.16); background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A8070' stroke-width='3'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.fit-no{ background:var(--bg-3); }

@media (max-width: 820px){
  .about-grid{ grid-template-columns:1fr; }
  .about-visual{ display:flex; justify-content:center; }
}

/* ============================================================
   SECTION 07 — FINAL CTA
   ============================================================ */
.final-cta{ background:var(--green); color:var(--green-ink); text-align:center; }
.final-cta h2{ color:#fff; max-width:18ch; margin-inline:auto; }
.final-inner{ max-width:760px; }
.final-sub{ color:rgba(220,231,223,.85); font-size:clamp(1.05rem,1rem + .4vw,1.2rem); max-width:54ch; margin-inline:auto; }
.final-cta .cta-row{ margin-top:28px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{ background:#1c1b18; color:#cbc6bd; padding-top:clamp(48px,6vw,72px); }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; }
.footer-brand .brand-name{ font-size:1.3rem; color:#fff; display:block; margin-bottom:8px; }
.footer-brand p{ margin:0; color:#a39e95; font-size:.95rem; }
.footer-col h4{ color:#fff; text-transform:uppercase; letter-spacing:.12em; font-size:.72rem; font-family:var(--sans); margin-bottom:14px; }
.footer-col p{ margin:0 0 10px; }
.footer-col a{ color:#cbc6bd; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ margin-top:clamp(40px,5vw,56px); padding-block:22px; border-top:1px solid rgba(255,255,255,.08); }
.footer-bottom p{ margin:0; font-size:.85rem; color:#8a857c; }
.footer-bottom a{ color:#cbc6bd; text-decoration:underline; }
.footer-bottom a:hover{ color:#fff; }

/* ============================================================
   LEGAL PAGES (privacy / cookie policy)
   ============================================================ */
.legal{ padding-block:clamp(48px,7vw,96px); }
.prose{ max-width:760px; }
.prose .eyebrow{ margin-bottom:.6rem; }
.prose .legal-meta{ color:var(--muted); font-size:.9rem; margin:-.2em 0 2.4em; }
.prose h2{ font-size:clamp(1.3rem,1.1rem + .8vw,1.7rem); margin-top:1.9em; }
.prose h3{ font-size:1.1rem; margin-top:1.5em; }
.prose ul{ padding-left:1.2em; }
.prose li{ margin-bottom:.5em; }
.prose a{ text-decoration:underline; }
.prose table{ width:100%; border-collapse:collapse; margin:1.2em 0; font-size:.93rem; }
.prose th, .prose td{ text-align:left; padding:10px 12px; border:1px solid var(--line); vertical-align:top; }
.prose th{ background:var(--bg-2); font-family:var(--sans); color:var(--ink); }
.prose .legal-note{ margin-top:2.6em; padding-top:1.4em; border-top:1px solid var(--line); font-size:.9rem; color:var(--muted); }

@media (max-width: 720px){
  .footer-grid{ grid-template-columns:1fr 1fr; gap:28px; }
  .footer-brand{ grid-column:1 / -1; }
}

/* ============================================================
   MODAL (application form)
   ============================================================ */
.modal{ position:fixed; inset:0; z-index:150; display:flex; align-items:flex-start; justify-content:center; padding:clamp(16px,4vw,48px) 16px; overflow-y:auto; }
.modal[hidden]{ display:none; }
.modal-overlay{ position:fixed; inset:0; background:rgba(28,27,24,.55); backdrop-filter:blur(2px); }
.modal-dialog{
  position:relative; z-index:1; width:100%; max-width:660px;
  background:var(--bg); border-radius:var(--radius); box-shadow:0 30px 80px -30px rgba(0,0,0,.6);
  padding:clamp(26px,4vw,44px); margin:auto;
}
.modal-close{
  position:absolute; top:16px; right:16px; width:40px; height:40px; border-radius:50%;
  border:1px solid var(--line); background:var(--white); color:var(--ink); cursor:pointer; display:grid; place-items:center;
}
.modal-close:hover{ background:var(--bg-2); }
.modal-close svg{ width:18px; height:18px; }
.modal-intro{ color:var(--ink-2); margin-bottom:22px; }

/* Form */
.app-form .field{ margin-bottom:16px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.app-form label{ display:block; font-size:.9rem; font-weight:600; color:var(--ink); margin-bottom:6px; }
.app-form input,.app-form select,.app-form textarea{
  width:100%; font-family:var(--sans); font-size:1rem; color:var(--ink);
  background:var(--white); border:1.5px solid var(--line); border-radius:10px; padding:12px 14px;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.app-form input:focus,.app-form select:focus,.app-form textarea:focus{
  outline:none; border-color:var(--green); box-shadow:0 0 0 3px rgba(46,70,58,.12);
}
.app-form textarea{ resize:vertical; }
.app-form input:user-invalid{ border-color:#b4452f; }
.form-consent{ font-size:.84rem; color:var(--muted); margin:8px 0 18px; }
.form-error{ background:rgba(180,69,47,.08); border:1px solid rgba(180,69,47,.35); color:#8a2f1d; border-radius:10px; padding:12px 14px; font-size:.9rem; margin:0 0 14px; }
.form-error a{ color:#8a2f1d; text-decoration:underline; }
.hp-field{ position:absolute !important; left:-9999px; }

/* Standalone thank-you page (no-JS / Netlify success fallback) */
.standalone{ min-height:68vh; display:grid; place-items:center; text-align:center; padding-block:clamp(48px,8vw,104px); }
.standalone .inner{ max-width:540px; }
.standalone .ty-tick{ margin-inline:auto; }
.standalone h1{ margin-bottom:.3em; }
.standalone .lead{ margin-bottom:1.6em; }

/* Thank-you view */
#thankYouView{ text-align:center; padding:10px 0; }
.ty-tick{ display:inline-grid; place-items:center; width:64px; height:64px; border-radius:50%; background:rgba(46,70,58,.12); color:var(--green); margin-bottom:14px; }
.ty-tick svg{ width:32px; height:32px; }

@media (max-width: 560px){
  .field-row{ grid-template-columns:1fr; gap:0; }
  /* full-screen sheet on phones — gives an embedded HubSpot form room to fill */
  .modal{ padding:0; }
  .modal-dialog{ max-width:none; min-height:100vh; border-radius:0; margin:0; padding:64px 18px 44px; }
}

/* ============================================================
   EMBEDDED HUBSPOT FORM
   Applies if you paste a HubSpot form embed in place of the
   native form. Forces readable dark text + on-brand styling and
   full-width fields (fixes invisible text / mobile width issues).
   Targets HubSpot's standard v2 embed markup (.hs-form …).
   ============================================================ */
.hbspt-form, .hs-form{ width:100%; max-width:100%; color:var(--ink); font-family:var(--sans); }
.hs-form fieldset{ max-width:100% !important; }
.hs-form-field{ margin-bottom:16px; }
.hs-form-field > label,
.hs-form label{ display:block; font-size:.9rem; font-weight:600; color:var(--ink) !important; margin-bottom:6px; }
.hs-form-required{ color:#b4452f; margin-left:2px; }
.hs-form input[type="text"],
.hs-form input[type="email"],
.hs-form input[type="tel"],
.hs-form input[type="url"],
.hs-form input[type="number"],
.hs-form textarea,
.hs-form select,
.hs-input{
  width:100% !important; box-sizing:border-box;
  font-family:var(--sans); font-size:1rem; color:var(--ink) !important;
  background:var(--white); border:1.5px solid var(--line); border-radius:10px; padding:12px 14px;
}
.hs-form input::placeholder, .hs-form textarea::placeholder{ color:var(--muted); }
.hs-form input:focus, .hs-form textarea:focus, .hs-form select:focus{
  outline:none; border-color:var(--green); box-shadow:0 0 0 3px rgba(46,70,58,.12);
}
.hs-form .inputs-list{ list-style:none; margin:0; padding:0; }
.hs-form .hs-form-booleancheckbox label,
.hs-form .hs-form-checkbox label,
.hs-form .hs-form-radio label{ font-weight:400; color:var(--ink-2) !important; display:flex; gap:8px; align-items:flex-start; }
.hs-form .hs-button,
.hs-form input[type="submit"]{
  width:100%; cursor:pointer; border:0; border-radius:999px;
  background:var(--green) !important; color:#fff !important;
  font-family:var(--sans); font-weight:600; font-size:1rem; padding:16px 26px; margin-top:6px;
}
.hs-form .hs-button:hover, .hs-form input[type="submit"]:hover{ background:var(--green-2) !important; }
.hs-error-msg, .hs-error-msgs label{ color:#b4452f !important; font-size:.85rem; }
.hs-form .legal-consent-container, .hs-form .hs-richtext{ font-size:.84rem; color:var(--ink-2) !important; }
.hs-form .legal-consent-container a, .hs-form .hs-richtext a{ color:var(--green); text-decoration:underline; }

/* ============================================================
   LEAD MAGNET POPUP (exit-intent / delayed)
   ============================================================ */
.lm-popup{ position:fixed; inset:0; z-index:150; display:flex; align-items:center; justify-content:center; padding:20px; overflow-y:auto; }
.lm-popup[hidden]{ display:none; }
.lm-card{ position:relative; z-index:1; width:100%; max-width:440px; background:var(--bg); border-radius:var(--radius); box-shadow:0 30px 80px -30px rgba(0,0,0,.6); padding:clamp(26px,4vw,38px); margin:auto; }
.lm-intro{ color:var(--ink-2); margin-bottom:20px; }
#lmThanks{ text-align:center; }
#lmThanks .ty-tick{ margin-inline:auto; }
@media (max-width: 560px){
  .lm-popup{ padding:0; align-items:flex-end; }   /* bottom-sheet on phones */
  .lm-card{ max-width:none; border-radius:18px 18px 0 0; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner{ position:fixed; left:0; right:0; bottom:0; z-index:140; background:var(--white); border-top:1px solid var(--line); box-shadow:0 -10px 30px -20px rgba(0,0,0,.4); }
.cookie-banner[hidden]{ display:none; }
.cookie-inner{ display:flex; align-items:center; justify-content:space-between; gap:18px; padding-block:16px; }
.cookie-text{ margin:0; font-size:.9rem; color:var(--ink-2); }
.cookie-actions{ display:flex; gap:10px; flex-shrink:0; }
@media (max-width: 640px){
  .cookie-inner{ flex-direction:column; align-items:flex-start; }
  .cookie-actions{ width:100%; }
  .cookie-actions .btn{ flex:1; }
}

/* ---------- Reveal-on-scroll (progressive enhancement) ---------- */
.reveal{ opacity:0; transform:translateY(16px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; } }
