/*
Theme Name: LightCraft
Theme URI: https://lightcraft.io
Author: LightCraft Software, LLC
Description: Custom landing-page theme for LightCraft Software, LLC.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: lightcraft
*/

:root {
  /* Brand palette – from SVG assets */
  --lc-mint: #9cd4b4;
  --lc-green: #48a575;
  --lc-forest: #154037;
  --lc-line: #5bbf92;

  /* Dark purple-black surfaces */
  --lc-bg: #0d0b14;
  --lc-surface: #131020;
  --lc-surface-raised: #1b1830;

  /* Text */
  --lc-ink: #f2f0ff;
  --lc-ink-muted: rgba(242, 240, 255, 0.68);

  /* Semantic aliases */
  --lc-white: #ffffff;
  --lc-shell: rgba(19, 16, 32, 0.92);
  --lc-border: rgba(255, 255, 255, 0.07);
  --lc-shadow-card: 0 18px 50px rgba(0, 0, 0, 0.45);
  --lc-shadow-halo: 0 32px 90px rgba(0, 0, 0, 0.60);
  --lc-radius-xl: 32px;
  --lc-radius-lg: 24px;
  --lc-radius-md: 18px;
  --lc-container: 1200px;
  --lc-gutter: clamp(24px, 5vw, 40px);
  --lc-font: "Avenir Next", "Segoe UI Variable", "Helvetica Neue", "Nimbus Sans",
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--lc-bg);
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  font-family: var(--lc-font);
  color: var(--lc-ink);
  overscroll-behavior-y: none;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(90, 45, 150, 0.18), transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(21, 64, 55, 0.14), transparent 45%),
    var(--lc-bg);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.lightcraft-site {
  min-height: 100vh;
  overflow-x: clip;
  position: relative;
  z-index: 1;
}

/* Subtle ambient glows */
.site-shell {
  position: relative;
}

.site-shell::before,
.site-shell::after {
  content: "";
  pointer-events: none;
  position: fixed;
  z-index: -2;
  border-radius: 999px;
  filter: blur(80px);
}

.site-shell::before {
  top: -40px;
  left: -80px;
  width: 360px;
  height: 360px;
  background: rgba(90, 45, 150, 0.10);
}

.site-shell::after {
  bottom: 20%;
  right: -100px;
  width: 280px;
  height: 280px;
  background: rgba(72, 165, 117, 0.07);
}


.section-shell {
  width: min(100%, var(--lc-container));
  margin: 0 auto;
  padding-left: var(--lc-gutter);
  padding-right: var(--lc-gutter);
}

.panel {
  border: 1px solid var(--lc-border);
  border-radius: var(--lc-radius-xl);
  background: var(--lc-shell);
  backdrop-filter: blur(20px);
  box-shadow: var(--lc-shadow-card);
}

/* ─── Scroll animations ──────────────────────────────── */

[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-delay="1"] { transition-delay: 0.10s; }
[data-animate-delay="2"] { transition-delay: 0.20s; }
[data-animate-delay="3"] { transition-delay: 0.30s; }
[data-animate-delay="4"] { transition-delay: 0.40s; }

/* ─── Header ─────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: 12px;
  transition: transform 280ms ease;
}

.site-header--hidden {
  transform: translateY(-110%);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
  background: rgba(13, 11, 20, 0.88);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.site-header__brand img {
  width: auto;
  height: 38px;
}

.site-header__logo--icon {
  display: none;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(242, 240, 255, 0.82);
}

.site-nav__list a {
  transition: color 150ms ease;
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible {
  color: var(--lc-ink);
}

/* ─── Hero ───────────────────────────────────────────── */

.hero {
  padding-top: 80px;
  padding-bottom: 96px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 48px;
  align-items: start;
}

.hero__copy {
  max-width: 580px;
}

.hero__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(156, 212, 180, 0.20);
  border-radius: 999px;
  background: rgba(72, 165, 117, 0.08);
  color: var(--lc-mint);
  font-size: 0.88rem;
  font-weight: 600;
}

.eyebrow-pill__dot,
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--lc-green);
  flex: 0 0 auto;
}

.hero__headline {
  margin: 24px 0 0;
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero__subheadline {
  max-width: 540px;
  margin: 20px 0 0;
  color: var(--lc-ink-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--lc-green);
  color: var(--lc-white);
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px);
  background: var(--lc-mint);
  color: var(--lc-forest);
  box-shadow: 0 12px 26px rgba(72, 165, 117, 0.30);
}

/* ─── Hero card ──────────────────────────────────────── */

.hero__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 24px;
  max-width: 280px;
  width: 100%;
  margin-left: auto;
}

.hero-card__photo {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background-size: cover;
  background-position: 50% 25%;
  box-shadow: 0 0 0 2px rgba(156, 212, 180, 0.30);
  flex-shrink: 0;
  margin-bottom: 18px;
}

.hero-card__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--lc-ink);
}

.hero-card__role {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--lc-ink-muted);
}

.hero-card__booking {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--lc-green);
  color: var(--lc-white);
  font-size: 0.88rem;
  font-weight: 700;
  transition: background-color 160ms ease, transform 160ms ease;
}

.hero-card__booking:hover,
.hero-card__booking:focus-visible {
  background: var(--lc-mint);
  color: var(--lc-forest);
  transform: translateY(-1px);
}

.hero-card__booking.hero-card__mobile-cta {
  display: none;
}

/* ─── Carousel dots (mobile only) ───────────────────── */

.carousel-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding-top: 18px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(242, 240, 255, 0.20);
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 200ms ease, width 200ms ease;
}

.carousel-dot.is-active {
  background: var(--lc-green);
  width: 20px;
}

.hero-proof {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--lc-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-proof__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(72, 165, 117, 0.18);
  color: var(--lc-mint);
  flex: 0 0 auto;
}

.hero-proof__item p {
  margin: 0;
  color: var(--lc-ink-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ─── Sections ───────────────────────────────────────── */

.services,
.case-studies,
.founder,
.apps,
.support {
  padding-bottom: 140px;
}

/* Offset sticky header when scrolling to anchors */
.services,
.case-studies,
.founder,
.support {
  scroll-margin-top: 10px;
}

.support {
  padding-bottom: 38vh;
}

.section-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--lc-green);
}

/* ─── Hero client strip ──────────────────────────────── */

.hero__clients {
  margin: 20px 0 0;
  color: var(--lc-ink-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ─── Services ───────────────────────────────────────── */

.services__heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.services__heading h2 {
  margin: 14px 0 0;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.services__intro {
  max-width: 38rem;
  margin: 0;
  color: var(--lc-ink-muted);
  line-height: 1.8;
}

.services__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  padding: 28px;
}

.service-card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--lc-ink-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.services__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  padding: 20px 28px;
}

.services__footer p {
  margin: 0;
  font-weight: 600;
  line-height: 1.7;
}

.services__footnote {
  margin-top: 4px !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  color: var(--lc-ink-muted) !important;
}

.services__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.services__contact {
  color: var(--lc-mint);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: underline;
  text-decoration-color: rgba(91, 191, 146, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.services__booking {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--lc-green);
  color: var(--lc-white);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background-color 160ms ease, transform 160ms ease;
}

.services__booking:hover,
.services__booking:focus-visible {
  background: var(--lc-mint);
  color: var(--lc-forest);
  transform: translateY(-1px);
}

/* ─── Case Studies ───────────────────────────────────── */

.case-studies__heading {
  margin-bottom: 32px;
}

.case-studies__heading h2 {
  margin: 14px 0 0;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.case-studies__intro {
  max-width: 48rem;
  margin: 12px 0 0;
  color: var(--lc-ink-muted);
  line-height: 1.8;
}

.case-studies__stage {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  cursor: grab;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.case-studies__stage:active {
  cursor: grabbing;
}

.case-studies__stage .case-study {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 460px;
  transform-origin: center center;
  will-change: transform, opacity;
  transition: box-shadow 300ms ease;
  cursor: pointer;
}

.case-study {
  padding: 28px 32px;
}

.case-study__domain {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--lc-green);
}

.case-study h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.case-study__body {
  margin: 0;
  color: var(--lc-ink-muted);
  line-height: 1.8;
  font-size: 0.92rem;
}

/* ─── Founder / About ────────────────────────────────── */

.founder__grid {
  display: grid;
  gap: 28px 32px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "intro intro"
    "body highlights";
  align-items: start;
  padding: 36px;
}

.founder__intro {
  grid-area: intro;
  max-width: 52rem;
}

.founder__photo {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background-size: cover;
  background-position: 50% 25%;
  margin-bottom: 20px;
  box-shadow: 0 0 0 2px rgba(156, 212, 180, 0.30);
  flex-shrink: 0;
}

.founder__intro h2 {
  margin: 14px 0 0;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.founder__body {
  grid-area: body;
}

.founder__body p {
  margin: 0;
  color: var(--lc-ink-muted);
  line-height: 1.8;
}

.founder__body p + p {
  margin-top: 16px;
}

.founder__highlights {
  grid-area: highlights;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-content: start;
}

.founder__highlights li {
  display: flex;
  gap: 12px;
  align-items: start;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--lc-border);
  color: var(--lc-ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
}

.founder__dot {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--lc-green);
  flex: 0 0 auto;
}

/* ─── Products ───────────────────────────────────────── */

.apps {
  padding-top: 30px;
}

.apps__heading {
  display: block;
  margin-bottom: 32px;
}

.apps__heading h2 {
  margin: 14px 0 0;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.apps__intro {
  max-width: 48rem;
  margin: 12px 0 0;
  color: var(--lc-ink-muted);
  line-height: 1.8;
}

.apps__stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.apps__stage .app-card {
  width: 100%;
}

.app-card {
  border-radius: var(--lc-radius-xl);
  padding: 28px;
  box-shadow: var(--lc-shadow-card);
}

.app-card__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.app-card__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
}

.app-card__icon {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  color: var(--lc-green);
}

.app-card__icon-wrap--mint {
  background: rgba(156, 212, 180, 0.14);
}

.app-card__icon-wrap--green {
  background: rgba(72, 165, 117, 0.12);
}

.app-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid var(--lc-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(242, 240, 255, 0.50);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.60rem;
  font-weight: 700;
}

.app-card h3 {
  margin: 22px 0 0;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.app-card__summary {
  margin: 12px 0 0;
  color: var(--lc-ink-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.app-card__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--lc-green);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ─── Support / Contact ──────────────────────────────── */

.support-panel {
  overflow: hidden;
}

.support-panel__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.support-panel__copy {
  padding: 36px;
  background: var(--lc-surface-raised);
  color: var(--lc-ink);
}

.support-panel__copy h2 {
  margin: 14px 0 0;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.support-panel__copy p {
  margin: 16px 0 0;
  color: var(--lc-ink-muted);
  line-height: 1.8;
}

.support-panel__copy .section-eyebrow {
  margin: 0;
  color: var(--lc-green);
}

.support-panel__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 36px;
  background: var(--lc-surface);
}

.support-panel__steps {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-panel__steps li {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--lc-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--lc-ink);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
}

.support-panel__cta-title {
  margin: 8px 0 0;
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.support-panel__cta-body {
  margin: 0;
  color: var(--lc-ink-muted);
  line-height: 1.75;
}

.support-panel__email {
  color: var(--lc-ink-muted);
  font-size: 0.9rem;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.15);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.support-panel__email:hover {
  color: var(--lc-ink);
}

.support-card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.support-card {
  padding: 22px;
  border-radius: var(--lc-radius-lg);
  border: 1px solid var(--lc-border);
}

.support-card--sand {
  background: rgba(255, 255, 255, 0.04);
}

.support-card--bordered {
  background: var(--lc-shell);
}

.support-card h3 {
  margin: 0;
  color: var(--lc-green);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.support-card__email {
  display: inline-block;
  margin-top: 10px;
  color: var(--lc-ink);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(91, 191, 146, 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 150ms ease;
}

.support-card__email:hover {
  color: var(--lc-mint);
}

.support-card p {
  margin: 10px 0 0;
  color: var(--lc-ink-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.support-card__booking {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--lc-green);
  color: var(--lc-white);
  font-size: 0.88rem;
  font-weight: 700;
  transition: background-color 160ms ease, transform 160ms ease;
}

.support-card__booking:hover,
.support-card__booking:focus-visible {
  background: var(--lc-mint);
  color: var(--lc-forest);
  transform: translateY(-1px);
}

/* ─── Footer ─────────────────────────────────────────── */

.site-footer {
  background: var(--lc-surface);
  border-top: 1px solid var(--lc-border);
  color: var(--lc-ink);
}

.site-footer__grid {
  display: grid;
  align-items: end;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--lc-surface-raised);
  border: 1px solid var(--lc-border);
}

.footer-brand__icon img {
  width: 28px;
  height: 28px;
}

.footer-brand__meta p {
  margin: 0;
}

.footer-brand__name {
  font-size: 1rem;
  font-weight: 700;
}

.footer-brand__email {
  margin-top: 3px;
  color: var(--lc-ink-muted);
  font-size: 0.90rem;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.15);
  text-underline-offset: 4px;
}

.footer-meta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}

.footer-meta__links a {
  color: var(--lc-ink-muted);
  font-size: 0.90rem;
  transition: color 150ms ease;
}

.footer-meta__links a:hover {
  color: var(--lc-ink);
}

.site-footer__copyright {
  color: rgba(242, 240, 255, 0.28);
  font-size: 0.88rem;
}

/* ─── Legal pages ────────────────────────────────────── */

.legal-page {
  padding-top: 72px;
  padding-bottom: 96px;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 52px;
}

.legal-content h1 {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.legal-effective {
  margin: 0 0 36px;
  color: var(--lc-ink-muted);
  font-size: 0.88rem;
}

.legal-content h2 {
  margin: 32px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--lc-green);
  text-transform: uppercase;
  font-weight: 700;
}

.legal-content p {
  margin: 10px 0 0;
  color: var(--lc-ink-muted);
  line-height: 1.85;
}

.legal-content a {
  color: var(--lc-ink-muted);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.15);
  text-underline-offset: 4px;
}

.legal-content a:hover {
  color: var(--lc-ink);
}

/* ─── Responsive ─────────────────────────────────────── */

@media (max-width: 1080px) {
  .founder__grid,
  .support-panel__grid {
    grid-template-columns: 1fr;
  }

  .founder__grid {
    grid-template-areas:
      "intro"
      "body"
      "highlights";
  }

  .services__heading,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .services__heading {
    align-items: start;
  }

  .services__grid,
  .case-studies__grid,
  .support-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  /* ── Header: full bar, no radius, docked ── */
  .site-header {
    padding: 0;
    width: 100%;
  }

  .site-header__logo--full { display: none; }
  .site-header__brand .site-header__logo--icon { display: block; height: 19px; width: auto; }
  .site-header--hidden { transform: none !important; }

  .site-header__bar {
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
  }

  html {
    scroll-padding-top: 76px;
  }

  /* ── Hero ── */
  .hero {
    padding-top: 40px;
    padding-bottom: 64px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero__card {
    max-width: 280px;
    padding: 20px 16px;
    margin: 0 auto;
  }

  .hero-card__photo {
    width: 110px;
    height: 110px;
    margin-bottom: 12px;
  }

  .hero-card__booking.hero-card__mobile-cta {
    display: inline-flex;
  }

  .hero__actions {
    display: none;
  }

  .hero-proof {
    gap: 8px;
  }

  .hero-proof__item {
    border-radius: var(--lc-radius-md);
    padding: 11px 14px;
  }

  /* ── Section padding ── */
  .services,
  .case-studies,
  .founder,
  .apps {
    padding-bottom: 80px;
  }

  .support {
    padding-bottom: 60px;
  }

  /* ── Services footer ── */
  .services__footer {
    flex-direction: column;
    align-items: start;
    gap: 16px;
    padding: 20px;
  }

  /* ── Carousel: full-width scroll with fade edges ── */
  .case-studies__stage {
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    min-height: 0;
    margin-left: calc(-1 * var(--lc-gutter));
    margin-right: calc(-1 * var(--lc-gutter));
    padding: 4px 14vw 48px;
    gap: 24px;
    cursor: default;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
  }

  .case-studies__stage::-webkit-scrollbar {
    display: none;
  }

  /* !important overrides JS-set inline styles */
  .case-studies__stage .case-study {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    width: 72vw;
    flex: 0 0 auto;
    scroll-snap-align: center;
    top: auto !important;
    left: auto !important;
    padding: 20px 22px;
  }

  .case-studies__stage .case-study h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .case-studies__stage .case-study .case-study__body {
    font-size: 0.83rem;
    line-height: 1.62;
  }

  .carousel-dots {
    display: flex;
  }

  /* ── Founder: highlights before body for scannability ── */
  .founder__grid {
    padding: 24px 20px;
    grid-template-areas:
      "intro"
      "highlights"
      "body";
  }

  .legal-content {
    padding: 28px 20px;
  }

  /* ── Contact: tighter padding ── */
  .support-panel__copy {
    padding: 28px 20px;
  }

  .support-panel__actions {
    padding: 24px 20px;
  }

  /* ── Apps ── */
  .apps__stage {
    grid-template-columns: 1fr;
  }
}
