/* Blue Lotus site styles. Tokens from the Blue Lotus Design System. */

/* Brand fonts, self-hosted (OFL licenses in fonts/). Subset to Latin, WOFF2. */
@font-face{ font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/inter-400.woff2') format('woff2'); }
@font-face{ font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap; src:url('fonts/inter-500.woff2') format('woff2'); }
@font-face{ font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap; src:url('fonts/inter-600.woff2') format('woff2'); }
@font-face{ font-family:'Sora'; font-style:normal; font-weight:600; font-display:swap; src:url('fonts/sora-600.woff2') format('woff2'); }
@font-face{ font-family:'Sora'; font-style:normal; font-weight:700; font-display:swap; src:url('fonts/sora-700.woff2') format('woff2'); }
:root{
  --lotus-deep:#0F2242;
  --electric-lotus:#1E63FF;
  --cerulean-drift:#2BB8FF;
  --lotus-aqua:#33E0D0;
  --mist-periwinkle:#C7D2FF;
  --cloud-white:#F6F8FF;
  --lotus-ink:#0B1020;
  --soft-graphite:#5E6B85;
  --lotus-horizon: linear-gradient(120deg, #1E63FF, #2BB8FF, #33E0D0);
  --midnight-lagoon: linear-gradient(160deg, #0F2242, #1E63FF);
  --space-2:8px;
  --space-4:16px;
  --space-6:24px;
  --space-12:48px;
  --radius-sm:6px;
  --radius-md:12px;
  --radius-pill:999px;
  --font-display: Sora, 'Segoe UI', system-ui, sans-serif;
  --font-body: Inter, 'Segoe UI', system-ui, sans-serif;
}

*{ margin:0; padding:0; box-sizing:border-box; }

/* Type sizes are rem: 16px up to ~1200px wide, then growing gently toward 20px on wide monitors */
html{ font-size: clamp(16px, .25vw + 13px, 20px); }
/* Smooth only for in-page link clicks (a link has focus); arriving from another page
   at /page#section jumps straight there instead of waiting on an animation */
html:focus-within{ scroll-behavior:smooth; }

body{
  font-family: var(--font-body);
  font-size:1rem;
  color: var(--lotus-ink);
  background: var(--cloud-white);
  line-height:1.6;
}

h1,h2,h3{ font-family: var(--font-display); color: var(--lotus-deep); font-weight:600; }

a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }
img{ max-width:100%; height:auto; display:block; }

.skip-link{
  position:absolute; left:16px; top:-100px; z-index:200;
  background: var(--lotus-deep); color: var(--cloud-white);
  padding:12px 16px; border-radius: var(--radius-md); font-weight:600;
}
.skip-link:focus{ top:16px; }

/* Focus ring: 2px electric-lotus, offset 2px */
:focus-visible{ outline:2px solid var(--electric-lotus); outline-offset:2px; }
.hero :focus-visible{ outline-color: var(--cloud-white); }
footer :focus-visible{ outline-color: var(--cerulean-drift); }

/* Inline text links: lotus-deep with an underline (electric-lotus text is 16px+ only) */
.text-link{
  color: var(--lotus-deep); font-weight:600; font-size:0.875rem;
  text-decoration:underline; text-decoration-color: var(--electric-lotus);
  text-decoration-thickness:2px; text-underline-offset:4px;
}
/* Hover thickens the underline; the text stays lotus-deep (electric-lotus text is for 16px and up) */
.text-link:hover{ text-decoration-thickness:3px; }
/* Standalone links (not inside a sentence) get a taller hit area */
.center-cta .text-link, .cta-stack .text-link, .hero .cta-row .text-link, .head-cta .text-link{ display:inline-block; padding:10px 0; }

/* ===== HEADER ===== */
header{
  position: sticky; top:0; z-index: 100;
  background: rgba(246,248,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--mist-periwinkle);
}
.nav-bar{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px var(--space-6); max-width:1200px; margin:0 auto;
}
.logo{ display:inline-block; }
/* NavBar spec: logo 40px tall, Inter 14px Medium links in lotus-deep, 2px underline on the current page */
.logo img{ height:40px; width:auto; display:block; }
/* Scoped to the header's menu so other <nav> elements (the breadcrumb) keep their own styles */
header nav ul{ display:flex; gap:var(--space-6); align-items:center; }
header nav a{
  font-weight:500; font-size:0.875rem; line-height:1.4; color: var(--lotus-deep);
  position:relative; padding:8px 0; transition: color .15s ease;
}
header nav > ul > li > a:not(.btn)::after{
  content:''; position:absolute; left:0; right:0; bottom:2px; height:2px;
  background: var(--electric-lotus); transform:scaleX(0); transform-origin:left;
  transition: transform .15s ease;
}
header nav > ul > li > a:not(.btn):hover,
header nav a[aria-current="page"]{ color: var(--lotus-deep); }
header nav > ul > li > a:not(.btn):hover::after,
header nav > ul > li > a[aria-current="page"]::after{ transform:scaleX(1); }
/* The current service inside the Services dropdown */
.dropdown a[aria-current="page"]{ background: var(--mist-periwinkle); font-weight:600; }

.has-dropdown{ position:relative; cursor:pointer; }
.dropdown{
  position:absolute; top:100%; left:0; background: var(--cloud-white);
  border:1px solid var(--mist-periwinkle); border-radius: var(--radius-md); padding:10px;
  min-width:240px; box-shadow:0 12px 32px rgba(15,34,66,0.12);
  opacity:0; visibility:hidden; transform: translateY(8px);
  transition: all .18s ease;
  display:block;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown{ opacity:1; visibility:visible; transform:translateY(0); }
.dropdown li a{ display:block; padding:10px 12px; border-radius: var(--radius-sm); }
.dropdown li a:hover{ background: var(--mist-periwinkle); color: var(--lotus-deep); }

/* Button spec: Inter Medium 14px, Title Case, 44px tall, radius-md.
   primary = the one action of the view, secondary = next-best, ghost = everything else */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap: var(--space-2);
  min-height:44px; padding:0 var(--space-6); border-radius: var(--radius-md);
  font-family: var(--font-body); font-weight:500; font-size:0.875rem; line-height:1.2;
  border:1px solid transparent; white-space:nowrap; text-align:center;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary{ background: var(--electric-lotus); color: var(--cloud-white); }
.btn-primary:hover{ background: var(--lotus-deep); }
.btn-secondary{ background: var(--cerulean-drift); color: var(--lotus-ink); }
.btn-secondary:hover{ background: var(--mist-periwinkle); }
.btn-ghost{ background: transparent; color: var(--lotus-deep); border-color: var(--soft-graphite); }
.btn-ghost:hover{ background: var(--mist-periwinkle); }

.nav-cta{ display:flex; align-items:center; gap:14px; }

.mobile-toggle{ display:none; font-size:1.75rem; background:none; border:none; cursor:pointer; color:var(--lotus-deep); padding:0; width:44px; height:44px; align-items:center; justify-content:center; }
.nav-mobile-cta{ display:none; }

/* ===== HERO (midnight-lagoon, the view's one gradient) ===== */
.hero{
  background: var(--midnight-lagoon);
  color: var(--cloud-white); text-align:center;
  padding:112px var(--space-6) 104px;
}
.hero-inner{ max-width:820px; margin:0 auto; }
.hero h1{
  color: var(--cloud-white); font-size:4rem; line-height:1.05; font-weight:700;
  letter-spacing:-0.01em; margin-bottom:var(--space-6);
}
.hero p{
  font-size:1.125rem; color: var(--mist-periwinkle); margin:0 auto 32px; max-width:680px;
}
.hero .cta-row{ display:flex; flex-direction:column; align-items:center; gap:14px; }
.hero-sub{ font-size:0.875rem; color: var(--cloud-white); }
/* The hero CTA is the Button secondary variant: electric-lotus would vanish into the gradient's end,
   and the header already holds the view's one primary */

/* ===== SECTION BASE ===== */
section{ padding:96px var(--space-6); }
.section-head{ text-align:center; max-width:720px; margin:0 auto var(--space-12); }
.eyebrow{
  text-transform:uppercase; letter-spacing:1.5px; font-size:0.75rem; line-height:1.4;
  font-weight:600; color: var(--soft-graphite); margin-bottom:12px; display:block;
}
.section-head h2{ font-size:2.5rem; line-height:1.15; margin-bottom:var(--space-4); }
.section-head p{ color: var(--soft-graphite); font-size:1.125rem; }

/* ===== SERVICES SNAPSHOT ===== */
.services-grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap:var(--space-6);
  max-width:1200px; margin:0 auto;
}
.service-card{
  background: var(--cloud-white); border:1px solid var(--mist-periwinkle); border-radius: var(--radius-md);
  padding:var(--space-6); transition: border-color .15s; display:flex; flex-direction:column;
}
.service-more{ display:inline-block; margin-top:auto; padding-top:var(--space-4); font-weight:600; font-size:0.875rem; color: var(--lotus-deep); }
/* Card spec: no shadows; a linked card shows it is clickable with an electric-lotus border */
.service-card:hover, .service-card:focus-visible{ border-color: var(--electric-lotus); }
.service-card:hover .service-more{ text-decoration:underline; text-decoration-color: var(--electric-lotus); text-decoration-thickness:2px; text-underline-offset:4px; }
.service-icon{
  width:48px; height:48px; border-radius: var(--radius-md); background: var(--mist-periwinkle);
  margin-bottom:20px; display:flex; align-items:center; justify-content:center;
}
/* Brand icons: Lucide outline, 24px in cards, 1.5px stroke, lotus-deep on light grounds */
.service-icon svg{ width:24px; height:24px; fill:none; stroke: var(--lotus-deep); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.service-card h3{ font-size:1.5rem; line-height:1.2; margin-bottom:12px; }
.service-card p{ color: var(--soft-graphite); font-size:1rem; }

/* ===== RECENT WORK ===== */
.work-section{ padding-top:0; }
/* Homepage: Recent work follows the dark grader band, so it needs the full section gap. */
.grader-band + .work-section{ padding-top:96px; }
/* Two columns while two projects show; back to repeat(3,1fr) and 1200px when the third returns */
.work-grid{
  display:grid; grid-template-columns: repeat(2,1fr); gap:var(--space-6);
  max-width:900px; margin:0 auto 32px;
}
.work-card[hidden]{ display:none; }
.work-card{ display:block; background: var(--cloud-white); border:1px solid var(--mist-periwinkle); border-radius: var(--radius-md); overflow:hidden; transition: border-color .15s; }
.work-card:hover, .work-card:focus-visible{ border-color: var(--electric-lotus); }
.work-thumb{
  aspect-ratio: 4 / 3; background: var(--cloud-white); border-bottom:1px solid var(--mist-periwinkle);
  display:flex; align-items:center; justify-content:center; color: var(--soft-graphite); font-size:0.875rem;
}
.work-thumb img{ width:100%; height:100%; object-fit:cover; }
.work-body{ padding:20px var(--space-6) var(--space-6); }
.work-body h3{ font-size:1.5rem; line-height:1.2; margin-bottom:6px; }
.work-body p{ font-size:0.875rem; line-height:1.4; color: var(--soft-graphite); font-weight:500; }

/* ===== WHY CHOOSE ===== */
/* A mist-periwinkle band separates this section from its cloud-white neighbours.
   soft-graphite is only 3.6:1 on mist, so text here uses lotus-ink and lotus-deep. */
.why-section{ background: var(--mist-periwinkle); }
.why-section .eyebrow{ color: var(--lotus-deep); }
.why-section .section-head p, .why-section .pillar p{ color: var(--lotus-ink); }
.pillars{
  display:grid; grid-template-columns: repeat(3,1fr); gap:32px;
  max-width:1100px; margin:0 auto var(--space-12);
}
.pillar{ text-align:center; padding:20px; }
.pillar-num{
  width:56px; height:56px; border-radius: var(--radius-pill); background: var(--cloud-white);
  border:2px solid var(--electric-lotus); color: var(--electric-lotus);
  font-family: var(--font-display); font-weight:700; font-size:1.25rem;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 20px;
}
.pillar h3{ font-size:1.5rem; line-height:1.2; margin-bottom:10px; }
.pillar p{ color: var(--soft-graphite); font-size:1rem; }
.center-cta{ text-align:center; }
.cta-stack{ display:flex; flex-direction:column; align-items:center; gap:var(--space-4); }

/* ===== HOW IT WORKS ===== */
.process-section{ background: var(--cloud-white); }
.steps{
  display:grid; grid-template-columns: repeat(4,1fr); gap:var(--space-6);
  max-width:1200px; margin:0 auto 40px;
}
.step{
  background: var(--cloud-white); border-radius: var(--radius-md); padding:var(--space-6); border:1px solid var(--mist-periwinkle);
}
.step-num{
  font-family: var(--font-display); font-weight:700; font-size:2rem; line-height:1.2;
  color: var(--electric-lotus); margin-bottom:14px;
}
.step h3{ font-size:1.5rem; line-height:1.2; margin-bottom:10px; }
.step p{ color: var(--soft-graphite); font-size:1rem; }
.care-note{
  max-width:720px; margin:0 auto; text-align:center; background: var(--mist-periwinkle);
  border-radius: var(--radius-md); padding:var(--space-6); color: var(--lotus-deep); font-weight:600;
}
.process-cta{ text-align:center; margin-top:40px; }

/* ===== TESTIMONIALS ===== */
.testimonials-section{ background: var(--lotus-deep); }
.testimonials-section .section-head h2{ color: var(--cloud-white); }
.testimonials-section .section-head p{ color: var(--mist-periwinkle); }
.testimonials-section .eyebrow{ color: var(--cerulean-drift); }
.testi-grid{
  display:grid; grid-template-columns: repeat(2,1fr); gap:var(--space-6);
  max-width:1100px; margin:0 auto 40px;
}
.testi-card{
  background: rgba(246,248,255,0.06); border:1px solid rgba(199,210,255,0.2);
  border-radius: var(--radius-md); padding:var(--space-6); color: var(--cloud-white);
}
.testi-card p.quote{ font-size:1rem; color: var(--mist-periwinkle); margin-bottom:18px; }
.testi-name{ font-weight:600; font-size:0.875rem; line-height:1.4; }
.testi-tag{ font-size:0.75rem; line-height:1.4; font-weight:500; color: var(--cerulean-drift); margin-top:4px; }
.view-more{ text-align:center; }
/* Phones show 3 quotes so the final call to action stays within reach; the rest are on the portfolio. */
@media (max-width:640px){ .testi-card.testi-more{ display:none; } }
.view-more a{
  display:inline-block; padding:10px 0;
  color: var(--cloud-white); font-weight:600;
  text-decoration:underline; text-decoration-color: var(--cerulean-drift);
  text-decoration-thickness:2px; text-underline-offset:4px;
}
.view-more a:hover{ color: var(--cerulean-drift); }

/* ===== FINAL CTA: a lotus-horizon band; copy and buttons sit on a solid cloud-white panel,
   since buttons never go directly on lotus-horizon ===== */
.final-cta{
  background: var(--lotus-horizon);
  text-align:center; padding:96px var(--space-6);
}
.final-panel{
  max-width:720px; margin:0 auto; background: var(--cloud-white);
  border-radius: var(--radius-md); padding: var(--space-12) var(--space-6);
}
.final-cta h2{ color: var(--lotus-deep); font-size:2.5rem; line-height:1.15; margin-bottom:var(--space-4); }
.final-cta p{ color: var(--lotus-ink); max-width:560px; margin:0 auto 32px; font-size:1.125rem; }
.final-cta .cta-row{ display:flex; justify-content:center; gap:var(--space-4); flex-wrap:wrap; }

/* ===== FOOTER ===== */
/* Footer spec: lotus-deep, dark logo, mist-periwinkle tagline and legal text,
   cerulean-drift column headings, cloud-white links, no buttons or forms */
footer{ background: var(--lotus-deep); color: var(--cloud-white); padding: var(--space-12) var(--space-6) var(--space-6); }
.footer-top{ display:flex; flex-wrap:wrap; gap: var(--space-6); max-width:1200px; margin:0 auto; }
.footer-brand{ flex:2 1 260px; }
.footer-brand p{ margin-top: var(--space-4); max-width:280px; font-size:0.875rem; line-height:1.6; color: var(--mist-periwinkle); }
.footer-col{ flex:1 1 140px; }
.footer-col h3{
  font-family: var(--font-body); font-weight:500; font-size:0.75rem; line-height:1.4;
  color: var(--cerulean-drift); margin-bottom:12px;
}
.footer-col ul{ display:flex; flex-direction:column; gap:10px; }
.footer-col li{ font-size:0.875rem; line-height:1.4; color: var(--mist-periwinkle); }
.footer-col a, .footer-bottom a{ font-size:0.875rem; line-height:1.4; color: var(--cloud-white); }
.footer-col a:hover, .footer-bottom a:hover{ text-decoration:underline; text-underline-offset:3px; }
.footer-bottom{
  max-width:1200px; margin: var(--space-12) auto 0; padding-top: var(--space-6);
  border-top:1px solid rgba(199,210,255,0.2);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap: var(--space-4);
  font-size:0.75rem; line-height:1.4; color: var(--mist-periwinkle);
}
.footer-bottom-links{ display:flex; gap: var(--space-4); }
.footer-bottom a{ font-size:0.75rem; color: var(--mist-periwinkle); }

/* ===== RESPONSIVE (headings step down so long lines stay readable) ===== */
@media(max-width:900px){
  .services-grid{ grid-template-columns: repeat(2,1fr); }
  .work-grid{ grid-template-columns: repeat(2,1fr); }
  .pillars{ grid-template-columns:1fr; }
  .steps{ grid-template-columns: repeat(2,1fr); }
  .testi-grid{ grid-template-columns:1fr; }
  .hero h1{ font-size:3rem; }
  .section-head h2, .final-cta h2{ font-size:2.25rem; }
}
@media(max-width:640px){
  .nav-bar{ padding:14px var(--space-4); }
  .nav-cta{ display:none; }
  header nav{
    display:none; position:absolute; top:100%; left:0; right:0; background: var(--cloud-white);
    padding:12px var(--space-4) 20px; border-bottom:1px solid var(--mist-periwinkle);
    box-shadow:0 12px 24px rgba(15,34,66,0.08);
  }
  header nav.open{ display:block; }
  header nav ul{ flex-direction:column; align-items:stretch; gap:0; }
  header nav a{ display:block; padding:12px 0; font-size:1rem; }
  header nav > ul > li > a:not(.btn)::after{ right:auto; width:32px; bottom:6px; }
  .has-dropdown .dropdown{
    position:static; opacity:1; visibility:visible; transform:none;
    box-shadow:none; border:0; padding:0 0 0 var(--space-4); min-width:0;
  }
  .nav-mobile-cta{ display:block; margin-top:12px; }
  .nav-mobile-cta .btn{ display:flex; width:100%; justify-content:center; }
  .mobile-toggle{ display:flex; }
  .services-grid, .steps, .work-grid{ grid-template-columns:1fr; }
  .hero{ padding:72px var(--space-4) 64px; }
  .hero h1{ font-size:2.25rem; }
  section{ padding:var(--space-12) var(--space-4); }
  .grader-band + .work-section{ padding-top:var(--space-12); }
  .final-cta{ padding:var(--space-12) var(--space-4); }
  .final-panel{ padding: var(--space-12) var(--space-4); }
  .section-head h2, .final-cta h2{ font-size:1.875rem; }
  .section-head p, .hero p, .final-cta p{ font-size:1rem; }
  footer{ padding: var(--space-12) var(--space-4) var(--space-6); }
  .footer-brand{ flex-basis:100%; }
  .footer-col{ flex-basis: calc(50% - var(--space-6)); }
}

/* ===== CONTACT PAGE ===== */
.page-head{ padding-bottom:0; text-align:center; }
.page-head h1{ font-size:4rem; line-height:1.05; font-weight:700; letter-spacing:-0.01em; margin-bottom: var(--space-4); }
.page-head p{ max-width:640px; margin:0 auto; font-size:1.125rem; color: var(--soft-graphite); }

/* Two ways to get in touch: the recommended one on a tinted card, the other on the default card */
/* The calendar gets the wider column; email sits beside it */
.contact-options{
  display:grid; grid-template-columns: 3fr 2fr; gap: var(--space-6);
  max-width:1100px; margin:0 auto; align-items:start;
}
.contact-card{
  display:flex; flex-direction:column; gap: var(--space-2);
  padding: var(--space-6); border-radius: var(--radius-md);
  background: var(--cloud-white); border:1px solid var(--mist-periwinkle);
}
/* The recommended option: a 2px electric-lotus border, as on the brand's featured PlanCard */
.contact-card--featured{ border:2px solid var(--electric-lotus); padding: calc(var(--space-6) - 1px); scroll-margin-top:96px; }
#send-an-email{ scroll-margin-top:96px; }
.booking-frame{
  position:relative; width:100%; min-height:500px; margin-top: var(--space-4);
  border-radius: var(--radius-md); overflow:hidden;
}
.booking-frame iframe{ display:block; position:relative; z-index:1; border:0; padding:0; margin:0; width:100%; min-width:100%; max-width:100%; min-height:500px; }
.booking-loading{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-size:1rem; color: var(--soft-graphite);
}
.booking-loading[hidden]{ display:none; }
.booking-fallback{ font-size:0.875rem !important; margin-top: var(--space-2); }
.booking-fallback a{ color: var(--lotus-deep); font-weight:600; text-decoration:underline; text-decoration-color: var(--electric-lotus); text-underline-offset:3px; }
.detail .text-link{ font-size:1rem; }
.contact-card h2{ font-size:1.5rem; line-height:1.2; }
.contact-card p{ font-size:1rem; color: var(--soft-graphite); }
.contact-card .btn{ align-self:flex-start; margin-top: var(--space-4); }
.contact-card-top{ display:flex; align-items:center; justify-content:space-between; gap: var(--space-2); margin-bottom: var(--space-2); }
.contact-icon{ width:24px; height:24px; fill:none; stroke: var(--lotus-deep); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.badge-deep{
  display:inline-flex; align-items:center; min-height:22px; padding:0 10px;
  border-radius: var(--radius-pill); background: var(--lotus-deep); color: var(--cloud-white);
  font-size:0.75rem; line-height:1.4; font-weight:500; white-space:nowrap;
}
.contact-address{ font-weight:600; color: var(--lotus-deep) !important; word-break:break-word; }
.contact-hint{ margin: var(--space-2) 0 var(--space-4); }
.contact-hint ul{ list-style:disc; padding-left:20px; margin-top:4px; }
.contact-hint li{ font-size:1rem; color: var(--soft-graphite); }

/* Plain details, not choices: hours, place, how calls work */
.contact-details{
  display:grid; grid-template-columns: repeat(4,1fr); gap: var(--space-6);
  max-width:1100px; margin: var(--space-12) auto 0; padding-top: var(--space-6);
  border-top:1px solid var(--mist-periwinkle);
}
.detail{ display:flex; gap:12px; align-items:flex-start; }
.detail .contact-icon{ width:20px; height:20px; margin-top:2px; }
.detail h3{ font-family: var(--font-body); font-size:0.875rem; line-height:1.4; font-weight:600; color: var(--lotus-deep); }
.detail p, .detail address{ font-size:1rem; font-style:normal; color: var(--soft-graphite); }
.contact-artwork{ margin-top: var(--space-4); font-size:0.875rem; }
.contact-artwork .text-link{ font-size:inherit; }

@media(max-width:900px){
  .contact-options{ grid-template-columns:1fr; }
  .contact-details{ grid-template-columns: repeat(2,1fr); gap: var(--space-6); }
  .page-head h1{ font-size:3rem; }
}
@media(max-width:640px){
  .contact-options{ grid-template-columns:1fr; }
  .contact-card .btn{ align-self:stretch; }
  .contact-card--featured{ padding: calc(var(--space-4) - 1px); }
  .page-head h1{ font-size:2.25rem; }
  .page-head p{ font-size:1rem; }
}

#testimonials, #faq, #pricing, #artwork{ scroll-margin-top:96px; }

/* Termageddon policies: the text is injected into the page, so brand type applies */
.policy-section{ padding-top: var(--space-6); }
.policy-body{ max-width:760px; margin:0 auto; font-family: var(--font-body); color: var(--lotus-ink); }
.policy-body article > h2:first-child{ display:none; } /* the page h1 already names the policy */
.policy-body h2{ font-family: var(--font-display); font-size:1.75rem; line-height:1.2; color: var(--lotus-deep); margin: var(--space-12) 0 var(--space-4); }
.policy-body h3{ font-family: var(--font-display); font-size:1.25rem; line-height:1.3; color: var(--lotus-deep); margin: var(--space-6) 0 var(--space-2); }
.policy-body h4{ font-family: var(--font-body); font-size:1rem; font-weight:600; color: var(--lotus-deep); margin: var(--space-4) 0 var(--space-2); }
.policy-body p, .policy-body li{ font-size:1rem; line-height:1.6; color: var(--lotus-ink); }
.policy-body p{ margin-bottom: var(--space-4); }
.policy-body ul{ list-style:disc; padding-left:20px; margin-bottom: var(--space-4); }
.policy-body li{ margin-bottom:6px; }
.policy-body a{ color: var(--lotus-deep); text-decoration:underline; text-decoration-color: var(--electric-lotus); text-underline-offset:3px; overflow-wrap:anywhere; }
/* Termageddon's own stylesheet uses ID selectors; keep brand heading type on top of it */
.policy-body h2, .policy-body h3{ font-family: var(--font-display) !important; color: var(--lotus-deep) !important; }
.policy-body .tg-last-updated-date{ font-size:0.875rem; color: var(--soft-graphite); }
.policy-contact{ max-width:760px; margin: var(--space-12) auto 0; padding-top: var(--space-6); border-top:1px solid var(--mist-periwinkle); font-size:0.875rem; color: var(--lotus-ink); }
.policy-contact h2{ font-size:1.125rem; line-height:1.3; margin-bottom: var(--space-2); }
.policy-contact .text-link{ font-size:inherit; }

/* InstaBuild free check form. It doesn't report its height, so the frame is sized to the
   measured form height per width (1,658px at desktop, 2,050px on a phone) plus room for errors. */
.tool-frame{ position:relative; max-width:900px; margin:0 auto; border-radius: var(--radius-md); overflow:hidden; background: var(--cloud-white); }
.tool-frame iframe{ position:relative; z-index:1; display:block; width:100%; height:1760px; border:0; }
#start{ scroll-margin-top:96px; }

/* Website Grader quick box on a Lotus Deep band; the grader draws its own field and button */
.grader-band{ background: var(--lotus-deep); padding: 72px var(--space-6); text-align:center; }
.grader-inner{ max-width:720px; margin:0 auto; }
.grader-band .eyebrow{ color: var(--cerulean-drift); }
.grader-band h2{ color: var(--cloud-white); font-size:2.25rem; line-height:1.15; margin-bottom: var(--space-4); }
.grader-band p{ color: var(--mist-periwinkle); font-size:1.125rem; }
.grader-box{ max-width:600px; margin: var(--space-6) auto 0; min-height:52px; text-align:left; }
.grader-band .grader-note{ margin-top: var(--space-4); font-size:0.875rem; }
.grader-note a{ display:inline-block; padding:6px 0; color: var(--cloud-white); font-weight:600; text-decoration:underline; text-decoration-color: var(--cerulean-drift); text-underline-offset:3px; }
.grader-band :focus-visible{ outline-color: var(--cerulean-drift); }
/* A text link inside the dark hero */
.hero .text-link{ color: var(--cloud-white); text-decoration-color: var(--cerulean-drift); }

/* Brand icons in the header: Lucide chevron-down, menu and x at a 1.5px stroke */
.nav-chevron{ width:16px; height:16px; vertical-align:-3px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.mobile-toggle svg{ width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.mobile-toggle .icon-close{ display:none; }
.mobile-toggle[aria-expanded="true"] .icon-menu{ display:none; }
.mobile-toggle[aria-expanded="true"] .icon-close{ display:block; }

/* One action right under each pricing block */
.plan-cta{ margin-top: var(--space-6); text-align:center; }

/* Policy pages: "On this page" jump links, built from the policy's headings once it loads */
.policy-toc{ max-width:760px; margin:0 auto var(--space-6); padding: var(--space-6); background: var(--mist-periwinkle); border-radius: var(--radius-md); }
.policy-toc h2{ font-size:1.125rem; line-height:1.3; margin-bottom: var(--space-2); }
.policy-toc ol{ list-style:decimal; padding-left:20px; columns:2; column-gap: var(--space-12); }
.policy-toc li{ font-size:0.875rem; line-height:1.4; color: var(--lotus-ink); margin-bottom:6px; break-inside:avoid; }
.policy-toc a{ display:inline-block; padding:4px 0; color: var(--lotus-deep); text-decoration:underline; text-decoration-color: var(--electric-lotus); text-underline-offset:3px; }
.policy-body article h2{ scroll-margin-top:96px; }

/* Starting prices on service cards and links inside plan features */
.card-price{ margin-top: var(--space-4); font-size:0.875rem !important; color: var(--lotus-ink) !important; }
.card-price strong{ font-family: var(--font-display); font-size:1.125rem; color: var(--lotus-deep); }
.plan-features .text-link{ font-size:inherit; }

/* Embedded third-party form (Ashore artwork intake) */
.embed-panel{ max-width:800px; margin:0 auto; }
.embed-frame{
  /* No border or fill: the form brings its own card, so a second box would nest */
  position:relative; min-height:600px; border-radius: var(--radius-md); overflow:hidden;
}
.embed-frame iframe{ position:relative; z-index:1; }
.embed-loading{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-size:1rem; color: var(--lotus-ink); /* sits on the mist band, where soft-graphite is only 3.6:1 */
}
.embed-fallback{ margin-top: var(--space-4); text-align:center; font-size:0.875rem; color: var(--lotus-ink); }
.embed-fallback .text-link{ font-size:inherit; }

/* ===== PORTFOLIO PAGE ===== */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.cases{ padding-top: var(--space-12); }
/* One project per block: image, services, what we did and the client's words together */
.case{
  display:grid; grid-template-columns: repeat(2,1fr); gap: var(--space-12);
  align-items:center; max-width:1100px; margin:0 auto; scroll-margin-top:96px;
}
.case + .case{ margin-top:96px; }
.case[hidden]{ display:none; }
.case-media img{ border:1px solid var(--mist-periwinkle); border-radius: var(--radius-md); }
.case-tags{ font-size:0.875rem; line-height:1.4; font-weight:500; color: var(--soft-graphite); }
.case-body h2{ font-size:2.25rem; line-height:1.15; margin: 6px 0 var(--space-4); }
.case-body > p:not(.case-tags){ font-size:1.125rem; color: var(--lotus-ink); }
.case-quote{
  margin: var(--space-6) 0; padding: var(--space-6);
  background: var(--mist-periwinkle); border-radius: var(--radius-md);
}
.case-quote blockquote{ font-size:1rem; color: var(--lotus-ink); }
.case-quote figcaption{ margin-top: var(--space-2); font-size:0.875rem; font-weight:600; color: var(--lotus-deep); }
.case-visit{ display:inline-flex; align-items:center; gap:6px; font-size:1rem; }
.ext-icon{ width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; flex:none; }

.client-grid{
  display:grid; grid-template-columns: repeat(3,1fr); gap: var(--space-6);
  max-width:1100px; margin:0 auto;
}
.client-card{ background: var(--cloud-white); border-radius: var(--radius-md); padding: var(--space-6); }
.client-card h3{ font-size:1.5rem; line-height:1.2; margin: 6px 0 12px; }
.client-card blockquote{ font-size:1rem; color: var(--lotus-ink); }
.client-card figcaption{ margin-top: var(--space-4); font-size:0.875rem; font-weight:600; color: var(--lotus-deep); }

@media(max-width:900px){
  .case{ grid-template-columns:1fr; gap: var(--space-6); }
  .case + .case{ margin-top: var(--space-12); }
  .client-grid{ grid-template-columns:1fr; }
}
@media(max-width:640px){
  .case-body h2{ font-size:1.875rem; }
  .case-body > p:not(.case-tags){ font-size:1rem; }
}

/* ===== SERVICE PAGES ===== */
.breadcrumb{ margin-bottom: var(--space-6); }
.breadcrumb ol{ display:flex; flex-wrap:wrap; justify-content:center; gap: var(--space-2); list-style:none; font-size:0.875rem; line-height:1.4; }
.breadcrumb li{ display:flex; align-items:center; gap: var(--space-2); color: var(--soft-graphite); }
.breadcrumb li + li::before{ content:'›'; color: var(--soft-graphite); }
.breadcrumb a{ color: var(--lotus-deep); font-weight:500; text-decoration:underline; text-decoration-color: var(--mist-periwinkle); text-underline-offset:3px; padding:6px 0; }
.breadcrumb a:hover{ text-decoration-color: var(--electric-lotus); }
.breadcrumb [aria-current="page"]{ color: var(--soft-graphite); font-weight:500; }
.service-head-icon{
  width:56px; height:56px; margin:0 auto var(--space-4); border-radius: var(--radius-md);
  background: var(--mist-periwinkle); display:flex; align-items:center; justify-content:center;
}
.service-head-icon svg{ width:28px; height:28px; fill:none; stroke: var(--lotus-deep); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
/* Service-page openings carry long headlines, so they sit below the homepage hero size */
.service-head h1{ font-size:3rem; max-width:900px; margin-left:auto; margin-right:auto; }
.page-head p{ max-width:720px; }
/* A long opening paragraph reads better left-aligned, in body ink */
.page-head--long p{ text-align:left; color: var(--lotus-ink); }
.head-location{ margin-top: var(--space-4) !important; font-size:0.875rem !important; }
.head-cta{ margin-top: var(--space-6); display:flex; justify-content:center; align-items:center; gap: var(--space-6); flex-wrap:wrap; }
.head-cta .text-link{ font-size:1rem; }
.head-helper{ margin-top:12px !important; font-size:0.875rem !important; }

/* ===== SHARED CONTENT BLOCKS (About and service pages) ===== */
/* Two plain blocks in a row share one gap instead of stacking two paddings */
.block:not(.band-mist) + .block:not(.band-mist){ padding-top:0; }
.band-mist .eyebrow{ color: var(--lotus-deep); }
.band-mist .section-head p, .band-mist .block-note, .band-mist .bullet-list li{ color: var(--lotus-ink); }

.prose{ max-width:720px; margin:0 auto; }
.prose p{ font-size:1.125rem; color: var(--lotus-ink); }
.prose p + p{ margin-top: var(--space-4); }
.block-note{ max-width:720px; margin: var(--space-6) auto 0; text-align:center; font-size:1rem; color: var(--lotus-ink); }
.block-note .text-link, .note-panel .text-link, .bullet-list .text-link{ font-size:inherit; }

.bullet-list{
  max-width:900px; margin:0 auto; padding-left:20px; list-style:disc;
  columns:2; column-gap: var(--space-12);
}
.bullet-list li{ font-size:1rem; color: var(--lotus-ink); margin-bottom:10px; break-inside:avoid; }
.bullet-list--tight{ columns:1; margin-top: var(--space-2); }

.info-grid{ display:grid; gap: var(--space-6); max-width:1100px; margin:0 auto; }
.info-grid--2{ grid-template-columns: repeat(2,1fr); max-width:900px; }
.info-grid--3{ grid-template-columns: repeat(3,1fr); }
.info-grid--4{ grid-template-columns: repeat(4,1fr); }
.info-card{ background: var(--cloud-white); border:1px solid var(--mist-periwinkle); border-radius: var(--radius-md); padding: var(--space-6); }
.info-card h3{ font-size:1.5rem; line-height:1.2; margin-bottom: var(--space-2); }
.info-card p{ font-size:1rem; color: var(--soft-graphite); }
.info-card strong{ color: var(--lotus-deep); }

.note-panel{ max-width:900px; margin:0 auto; background: var(--mist-periwinkle); border-radius: var(--radius-md); padding: var(--space-6); }
.note-panel h2{ font-size:1.5rem; line-height:1.2; margin-bottom: var(--space-2); }
.note-panel p, .note-panel li{ color: var(--lotus-ink); }

.steps--3{ grid-template-columns: repeat(3,1fr); max-width:900px; }

/* FAQ: native details/summary, so it works without script and with the keyboard */
.faq-list{ max-width:800px; margin:0 auto; border-top:1px solid var(--mist-periwinkle); }
.faq-item{ border-bottom:1px solid var(--mist-periwinkle); }
.faq-item summary{
  display:flex; justify-content:space-between; align-items:center; gap: var(--space-4);
  min-height:44px; padding: var(--space-4) 0; cursor:pointer; list-style:none;
  font-size:1.0625rem; line-height:1.4; font-weight:600; color: var(--lotus-deep);
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary:hover{ color: var(--electric-lotus); }
.faq-chevron{ width:20px; height:20px; flex:none; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; transition: transform .15s; }
.faq-item[open] .faq-chevron{ transform: rotate(180deg); }
.faq-item p{ padding:0 0 var(--space-4); max-width:68ch; font-size:1rem; color: var(--lotus-ink); }

/* Owner intro: photo beside the text */
.owner{ display:grid; grid-template-columns: 280px 1fr; gap: var(--space-12); align-items:center; max-width:900px; margin:0 auto; }
.owner-photo{ width:280px; height:280px; object-fit:cover; border-radius: var(--radius-md); border:1px solid var(--mist-periwinkle); }
.owner-text h2{ font-size:2.5rem; line-height:1.15; margin-bottom: var(--space-4); }
.owner-text p{ font-size:1.125rem; color: var(--lotus-ink); }

/* Plan cards (brand PlanCard): same attributes in the same order */
.plan-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap: var(--space-6); max-width:900px; margin:0 auto; align-items:start; }
.plan-card{ display:flex; flex-direction:column; gap: var(--space-4); padding: var(--space-6); background: var(--cloud-white); border:1px solid var(--mist-periwinkle); border-radius: var(--radius-md); }
.plan-card h3{ font-size:1.5rem; line-height:1.2; }
.plan-price{ display:flex; align-items:baseline; gap:4px; color: var(--lotus-ink); }
.plan-amount{ font-family: var(--font-display); font-size:2.75rem; line-height:1.15; font-weight:700; letter-spacing:-0.01em; }
.plan-period{ font-size:0.875rem; color: var(--soft-graphite); }
.plan-desc{ font-size:0.875rem; line-height:1.4; color: var(--soft-graphite); margin-top:-8px; }
.plan-features{ display:flex; flex-direction:column; gap: var(--space-2); }
.plan-features li{ display:flex; gap: var(--space-2); align-items:flex-start; font-size:0.875rem; line-height:1.4; color: var(--lotus-ink); }
.plan-features .check-icon{ width:16px; height:16px; margin-top:1px; }

/* Pricing table (brand Table) */
.table-wrap{ max-width:900px; margin:0 auto; overflow-x:auto; border:1px solid var(--mist-periwinkle); border-radius: var(--radius-md); background: var(--cloud-white); }
.price-table{ width:100%; border-collapse:collapse; font-size:1rem; color: var(--lotus-ink); }
.price-table th, .price-table td{ padding: var(--space-4); text-align:left; border-bottom:1px solid var(--mist-periwinkle); vertical-align:middle; }
.price-table thead th{ font-size:0.875rem; font-weight:600; color: var(--lotus-deep); }
.price-table thead th span{ display:block; font-size:0.75rem; font-weight:500; color: var(--soft-graphite); }
.price-table tbody th{ font-family: var(--font-display); font-size:1.125rem; font-weight:600; color: var(--lotus-deep); }
.price-table tbody th .badge-deep{ margin-left: var(--space-2); vertical-align:middle; font-family: var(--font-body); }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td{ border-bottom:0; }
.price-table td{ font-weight:600; white-space:nowrap; }
.price-table small{ font-size:0.75rem; font-weight:500; color: var(--soft-graphite); }
.price-table tr.is-popular{ background: rgba(199,210,255,0.35); }
.plan-rules{ margin-top: var(--space-6); }
/* On phones the posts column folds into the plan name so all prices stay on screen */
.tier-posts{ display:none; font-family: var(--font-body); font-size:0.75rem; font-weight:500; color: var(--soft-graphite); }

.included-list{
  display:grid; grid-template-columns: repeat(2,1fr); gap: var(--space-6);
  max-width:900px; margin:0 auto;
}
.included-list li{
  display:flex; gap: var(--space-4); align-items:flex-start;
  background: var(--cloud-white); border:1px solid var(--mist-periwinkle);
  border-radius: var(--radius-md); padding: var(--space-6);
}
.check-icon{ width:20px; height:20px; flex:none; margin-top:4px; fill:none; stroke: var(--electric-lotus); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.included-list h3{ font-size:1.5rem; line-height:1.2; margin-bottom:6px; }
.included-list p{ font-size:1rem; color: var(--soft-graphite); }
.included-plain{ align-items:center; }
.included-plain p{ color: var(--lotus-ink); }

.service-work{ padding-top: var(--space-12); }
.work-grid--single{ grid-template-columns: minmax(0, 440px); justify-content:center; }
.service-quote{ padding-top:0; }
.service-quote .case-quote{ max-width:720px; margin:0 auto; }

@media(max-width:900px){
  .info-grid--3, .info-grid--4{ grid-template-columns: repeat(2,1fr); }
  .steps--3{ grid-template-columns:1fr; }
  .service-head h1{ font-size:2.5rem; }
}
@media(max-width:640px){
  .included-list, .info-grid--2, .info-grid--3, .info-grid--4{ grid-template-columns:1fr; }
  .bullet-list{ columns:1; }
  .service-head h1{ font-size:2rem; }
  .owner{ grid-template-columns:1fr; gap: var(--space-6); justify-items:center; }
  .owner-photo{ width:200px; height:200px; }
  .owner-text{ text-align:left; }
  .owner-text h2{ font-size:1.875rem; }
  .owner-text p{ font-size:1rem; }
  .plan-grid{ grid-template-columns:1fr; }
  .contact-details{ grid-template-columns:1fr; gap: var(--space-4); }
  .tool-frame iframe{ height:2160px; }
  .policy-toc ol{ columns:1; }
  .grader-band{ padding: var(--space-12) var(--space-4); }
  .grader-band h2{ font-size:1.875rem; }
  .grader-band p{ font-size:1rem; }
  .price-table th, .price-table td{ padding:12px 10px; }
  .price-table .col-posts{ display:none; }
  .tier-posts{ display:block; }
  .price-table tbody th .badge-deep{ display:flex; width:max-content; margin:4px 0 0; }
  .prose p{ font-size:1rem; }
}

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