/* ========================================================================
   EDITORIAL WARMTH — Styles
   A warm editorial portfolio site for a creative studio
   ======================================================================== */

/* === RESET === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
blockquote, q { quotes: none; }

/* === CUSTOM PROPERTIES === */
:root {
  --bg-primary: #f5f0e8;
  --bg-secondary: #eee8db;
  --bg-elevated: #ffffff;
  --bg-contrast: #1a1612;
  --text-primary: #1a1612;
  --text-secondary: #6b6157;
  --text-muted: #a39a8e;
  --text-on-dark: #f5f0e8;
  --accent: #c4623a;
  --accent-light: #e8845c;
  --accent-bg: rgba(196, 98, 58, 0.08);
  --indigo: #3d4f7c;
  --indigo-light: #5a6ea0;
  --indigo-bg: rgba(61, 79, 124, 0.06);
  --sage: #7a9178;
  --sage-light: #a3b8a1;
  --border: rgba(26, 22, 18, 0.1);
  --border-hover: rgba(26, 22, 18, 0.25);
  --shadow-soft: 0 4px 30px rgba(26, 22, 18, 0.06);
  --shadow-medium: 0 8px 40px rgba(26, 22, 18, 0.1);
  --shadow-strong: 0 16px 60px rgba(26, 22, 18, 0.15);
  --radius-soft: 12px;
  --radius-card: 16px;
  --radius-button: 100px;

  /* Typography scale */
  --text-hero: clamp(5rem, 12vw, 12rem);
  --text-h1: clamp(2.8rem, 6vw, 6rem);
  --text-h2: clamp(1.8rem, 3.5vw, 3rem);
  --text-h3: clamp(1.3rem, 2vw, 1.75rem);
  --text-body: clamp(1.05rem, 1.3vw, 1.2rem);

  --font-display: 'Playfair Display', serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  /* Layout */
  --container-max: 1400px;
  --gutter: clamp(1.5rem, 4vw, 4rem);
}


/* === SKIP LINK === */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--bg-contrast);
  color: var(--text-on-dark);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  border-radius: var(--radius-soft);
  transition: top 0.3s ease;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}


/* === PRELOADER === */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}
.preloader.is-hidden {
  pointer-events: none;
}
.preloader__inner {
  max-width: 600px;
  width: 90%;
  text-align: center;
}
.preloader__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.5;
  color: var(--text-primary);
  min-height: 4em;
}
.preloader__text .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.preloader__text .word.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.preloader__author {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  opacity: 0;
  transition: opacity 0.5s ease 0.3s;
}
.preloader__author.is-visible {
  opacity: 1;
}
.preloader__progress {
  margin-top: 3rem;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.preloader__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.1s linear;
}



/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.nav.is-hidden {
  transform: translateY(-120%);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-soft);
  transition: padding 0.3s ease, background 0.3s ease;
  max-width: var(--container-max);
  margin: 0 auto;
}
.nav.is-scrolled .nav__inner {
  padding: 0.6rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
}
.nav__links {
  display: flex;
  gap: 2rem;
}
.nav__link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  transition: color 0.25s ease;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav__link:hover { color: var(--text-primary); }
.nav__link:hover::after { width: 100%; }
.nav__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.3rem;
  background: var(--bg-contrast);
  color: var(--text-on-dark);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-button);
  transition: background 0.3s ease, transform 0.3s ease;
  will-change: transform;
}
.nav__cta:hover { background: var(--accent); }
.nav__cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav__burger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__burger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__burger.is-active span:nth-child(2) {
  opacity: 0;
}
.nav__burger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .nav { top: 1rem; left: 1rem; right: 1rem; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
}


/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu__links {
  text-align: center;
}
.mobile-menu__link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 500;
  padding: 0.5rem 0;
  color: var(--text-primary);
  transition: color 0.25s ease;
}
.mobile-menu__link:hover { color: var(--accent); }
.mobile-menu__cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  background: var(--accent);
  color: var(--text-on-dark);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-button);
}


/* === HERO === */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Canvas layer */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

/* CSS blobs fallback for mobile */
.hero__blobs {
  display: none;
  position: absolute;
  inset: 0;
}
@media (max-width: 768px) {
  .hero__canvas { display: none; }
  .hero__blobs { display: block; }
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: blobFloat 8s ease-in-out infinite alternate;
}
.hero__blob--1 {
  width: 300px; height: 300px;
  background: rgba(196, 98, 58, 0.3);
  top: 10%; left: 20%;
  animation-delay: 0s;
}
.hero__blob--2 {
  width: 250px; height: 250px;
  background: rgba(61, 79, 124, 0.25);
  top: 30%; right: 15%;
  animation-delay: 1s;
}
.hero__blob--3 {
  width: 200px; height: 200px;
  background: rgba(122, 145, 120, 0.2);
  bottom: 20%; left: 30%;
  animation-delay: 2s;
}
.hero__blob--4 {
  width: 280px; height: 280px;
  background: rgba(232, 132, 92, 0.2);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 3s;
}
.hero__blob--5 {
  width: 180px; height: 180px;
  background: rgba(212, 168, 87, 0.2);
  bottom: 15%; right: 25%;
  animation-delay: 1.5s;
}
@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.15); }
}

/* Content layer */
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero__meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  opacity: 0;
}
.hero__meta-dot { opacity: 0.4; }

.hero__headline {
  margin-bottom: 3rem;
}
.hero__line {
  overflow: visible;
}
.hero__word {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  opacity: 0;
}
.hero__word .char {
  display: inline-block;
  opacity: 0;
}
.hero__line--accent .hero__word {
  color: var(--accent);
  font-style: italic;
}
.hero__word--liquid {
  filter: url(#liquid-filter);
}
.hero__svg-filter {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Hero headline rotator (accent line) */
.hero__hero-rotator-wrapper {
  display: block;
  position: relative;
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  font-style: italic;
  color: var(--accent);
  line-height: 1.35;
  height: 1.35em;
  padding: 0.05em 0.25em;
  margin: -0.05em -0.25em;
  overflow: hidden;
  opacity: 0;
}
.hero__hero-rotator-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero__hero-rotator-item {
  display: block;
  height: 1.35em;
  line-height: 1.35;
  white-space: nowrap;
}

/* Hero services rotator (line 3) */
.hero__services-rotator-wrapper {
  display: block;
  position: relative;
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  height: 1.3em;
  clip-path: inset(0 0);
  overflow: hidden;
  opacity: 0;
}
.hero__services-rotator-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero__services-rotator-item {
  display: block;
  height: 1.3em;
  line-height: 1.3;
  white-space: nowrap;
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.hero__subtitle {
  max-width: 420px;
  font-size: var(--text-body);
  color: var(--text-secondary);
  line-height: 1.7;
  opacity: 0;
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.5);
}
.hero__scroll-svg {
  width: 100%;
  height: 100%;
  animation: scrollRotate 12s linear infinite;
}
.hero__scroll-text {
  font-family: var(--font-mono);
  font-size: 7.5px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  fill: var(--text-muted);
}
.hero__scroll-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  color: var(--text-secondary);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollRotate { to { transform: rotate(360deg); } }
@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% + 4px)); }
}


/* Vignette */
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    transparent 0%,
    rgba(245, 240, 232, 0.4) 70%,
    rgba(245, 240, 232, 0.8) 100%
  );
}

@media (max-width: 768px) {
  .hero__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__scroll-indicator { display: none; }
  .hero__word { font-size: clamp(3rem, 14vw, 5rem) !important; }
  .hero__line--accent .hero__word {
    font-size: clamp(3.5rem, 16vw, 6rem) !important;
  }
}


/* === MANIFESTO === */
.manifesto {
  padding: clamp(6rem, 12vh, 12rem) var(--gutter);
}
.manifesto__container {
  max-width: var(--container-max);
  margin: 0 auto;
}
.manifesto__text {
  max-width: 55ch;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.6;
  color: var(--text-primary);
  text-align: center;
}
.manifesto__text em {
  color: var(--accent);
  font-style: italic;
}
.manifesto__text .line-wrap {
  display: block;
  overflow: hidden;
}
.manifesto__text .line-inner {
  display: block;
  opacity: 0;
  transform: translateY(100%);
}
.manifesto__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: clamp(4rem, 8vh, 8rem) auto 0;
  text-align: center;
}
.manifesto__metric {
  opacity: 0;
  transform: translateY(30px);
}
.manifesto__metric-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.manifesto__metric-value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.manifesto__metric-suffix {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .manifesto__metrics {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}


/* === SELECTED WORK === */
.work {
  padding: clamp(4rem, 8vh, 8rem) var(--gutter);
  max-width: var(--container-max);
  margin: 0 auto;
}
.work__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: clamp(3rem, 6vh, 6rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.work__header-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.work__header-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 600;
}
.work__header-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.work__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vh, 4rem);
}

.work__item {
  opacity: 0;
  transform: translateY(40px);
}
.work__item-link {
  display: block;
}
.work__item-image {
  position: relative;
  width: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--gradient, linear-gradient(135deg, #ddd, #ccc));
  aspect-ratio: 16 / 10;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.work__item-link:hover .work__item-image {
  transform: scale(1.02);
}
.work__item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1.5rem;
  background: rgba(26, 22, 18, 0);
  transition: background 0.4s ease;
}
.work__item-overlay span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-on-dark);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.work__item-link:hover .work__item-overlay {
  background: rgba(26, 22, 18, 0.3);
}
.work__item-link:hover .work__item-overlay span {
  opacity: 1;
  transform: translateY(0);
}
.work__item-overlay--full {
  align-items: flex-end;
  justify-content: space-between;
  padding: 2rem;
}
.work__item-overlay--full span {
  opacity: 1;
  transform: none;
}
.work__item-info {
  padding: 1.25rem 0.25rem;
}
.work__item-cat {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.work__item-title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 600;
  margin-top: 0.5rem;
  transition: color 0.25s ease;
}
.work__item-link:hover .work__item-title {
  color: var(--accent);
}
.work__item-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
  max-width: 400px;
}

/* Layout variants */
.work__item--large {
  max-width: 85%;
  margin-right: auto;
}
.work__item--large .work__item-image { aspect-ratio: 16 / 9; }

.work__row {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
  align-items: start;
}
.work__row--mirrored { grid-template-columns: 2fr 3fr; }
.work__item--shifted { margin-top: 4rem; }
.work__item--medium .work__item-image { aspect-ratio: 4 / 3; }

.work__item--full .work__item-image {
  aspect-ratio: 21 / 9;
}
.work__item--full .work__item-info { display: none; }

.work__footer {
  display: flex;
  justify-content: center;
  margin-top: clamp(3rem, 6vh, 5rem);
  opacity: 0;
  transform: translateY(20px);
}

@media (max-width: 768px) {
  .work__header {
    flex-direction: column;
    gap: 0.5rem;
  }
  .work__item--large { max-width: 100%; }
  .work__row {
    grid-template-columns: 1fr;
  }
  .work__item--shifted { margin-top: 0; }
  .work__item--full .work__item-image { aspect-ratio: 16 / 10; }
}


/* === PILL BUTTON === */
.pill-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-button);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.pill-button--dark {
  background: var(--bg-contrast);
  color: var(--text-on-dark);
}
.pill-button--dark:hover {
  background: var(--accent);
  box-shadow: var(--shadow-medium);
}
.pill-button--light {
  background: var(--bg-primary);
  color: var(--accent);
}
.pill-button--light:hover {
  background: var(--bg-elevated);
  box-shadow: var(--shadow-medium);
}
.pill-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}


/* === MARQUEE === */
.marquee {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  overflow: hidden;
}
.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee__track--1 {
  animation: marqueeScroll 30s linear infinite;
  margin-bottom: 0.75rem;
}
.marquee__track--2 {
  animation: marqueeScrollReverse 25s linear infinite;
}
.marquee__content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 1.5rem;
  white-space: nowrap;
}
.marquee__track--1 .marquee__content {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  color: var(--text-primary);
}
.marquee__track--2 .marquee__content {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.marquee__separator { color: var(--accent); opacity: 0.6; }
.marquee__dot { opacity: 0.3; }

.marquee:hover .marquee__track--1 { animation-play-state: paused; }
.marquee:hover .marquee__track--2 { animation-play-state: paused; }
.marquee:hover .marquee__track--1 .marquee__content { color: var(--accent); }

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marqueeScrollReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}


/* === SERVICES === */
.services {
  padding: clamp(6rem, 12vh, 12rem) var(--gutter);
  max-width: var(--container-max);
  margin: 0 auto;
}
.services__header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 6vh, 5rem);
  opacity: 0;
  transform: translateY(30px);
}
.services__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.services__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 600;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.services__card {
  perspective: 1000px;
  min-height: 380px;
  opacity: 0;
  transform: translateY(30px);
  cursor: pointer;
}
.services__card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  transform-style: preserve-3d;
  border-radius: var(--radius-card);
}
.services__card:hover .services__card-inner {
  box-shadow: var(--shadow-medium);
  transform: translateY(-4px);
}
.services__card.is-flipped .services__card-inner {
  transform: rotateY(180deg);
}
.services__card-front,
.services__card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-card);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}
.services__card-front {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.services__card-back {
  background: var(--accent);
  color: var(--text-on-dark);
  transform: rotateY(180deg);
  justify-content: center;
}
.services__card-back--dark {
  background: var(--bg-contrast);
}
.services__card-back h4 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  margin-bottom: 1.5rem;
}
.services__card-back ul {
  margin-bottom: 2rem;
}
.services__card-back li {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.services__card-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.25s ease;
  margin-top: auto;
}
.services__card-link:hover { opacity: 0.7; }

.services__card-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.services__card-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 600;
  margin: 1.5rem 0;
  flex-grow: 1;
}
.services__card-desc {
  font-size: var(--text-body);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.services__card-arrow {
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}
.services__card:hover .services__card-arrow {
  transform: rotate(45deg);
  color: var(--accent);
}

/* Accordion (mobile only) */
.services__accordion { display: none; }

@media (max-width: 1023px) {
  .services__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .services__grid { display: none; }
  .services__accordion { display: block; }
  .services__accordion-item {
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(20px);
  }
  .services__accordion-item summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    cursor: pointer;
    list-style: none;
  }
  .services__accordion-item summary::-webkit-details-marker { display: none; }
  .services__accordion-num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
  }
  .services__accordion-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    flex-grow: 1;
  }
  .services__accordion-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
  }
  .services__accordion-item[open] .services__accordion-icon {
    transform: rotate(45deg);
  }
  .services__accordion-content {
    padding: 0 0 1.5rem 3rem;
  }
  .services__accordion-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
  }
  .services__accordion-content li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 0.3rem 0;
  }
  .services__accordion-content .services__card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent);
  }
}


/* === PHILOSOPHY (DARK SECTION) === */
.philosophy {
  padding: 0;
}
.philosophy__clip {
  background: var(--bg-contrast);
  clip-path: inset(50% 0);
  transition: clip-path 0s;
  will-change: clip-path;
}
.philosophy__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(6rem, 14vh, 14rem) var(--gutter);
  min-height: 60vh;
}
.philosophy__quote {
  max-width: 18ch;
}
.philosophy__quote p {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-on-dark);
}
.philosophy__quote em {
  font-style: italic;
  color: var(--accent-light);
}
.philosophy__cite {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--sage);
  margin-top: 2rem;
  font-style: normal;
}


/* === JOURNAL === */
.journal {
  padding: clamp(6rem, 12vh, 12rem) var(--gutter);
  max-width: var(--container-max);
  margin: 0 auto;
}
.journal__header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 6vh, 5rem);
  opacity: 0;
  transform: translateY(30px);
}
.journal__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.journal__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 600;
}
.journal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.journal__card {
  opacity: 0;
  transform: translateY(30px);
}
.journal__card-link {
  display: block;
  transition: transform 0.3s ease;
}
.journal__card-link:hover {
  transform: translateY(-4px);
}
.journal__card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  background: var(--gradient, var(--bg-secondary));
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.journal__card-link:hover .journal__card-image {
  transform: scale(1.03);
}
.journal__card-body {
  padding: 1.25rem 0.25rem;
}
.journal__card-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.journal__card-title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 600;
  margin-top: 0.5rem;
  line-height: 1.3;
  transition: color 0.25s ease;
}
.journal__card-link:hover .journal__card-title {
  color: var(--accent);
}
.journal__card-read {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-top: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .journal__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}


/* === CTA === */
.cta {
  background: var(--accent);
  padding: clamp(6rem, 14vh, 14rem) var(--gutter);
  text-align: center;
  position: relative;
  z-index: 2;
}
.cta__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}
.cta__label {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.7);
  display: block;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
}
.cta__headline {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: 700;
  color: var(--text-on-dark);
  line-height: 1.1;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(30px);
}
.cta__headline em {
  font-style: italic;
}
.cta__actions {
  opacity: 0;
  transform: translateY(20px);
}
.cta__or {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.7);
  margin-top: 1.5rem;
}
.cta__email {
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(245, 240, 232, 0.4);
  transition: border-color 0.25s ease;
}
.cta__email:hover { border-color: var(--text-on-dark); }


/* === FOOTER STICKY REVEAL === */
/* Main content sits above footer and slides away to reveal it */
main {
  position: relative;
  z-index: 2;
  background: var(--bg-primary);
}

.footer {
  background: var(--bg-primary);
  padding: clamp(4rem, 8vh, 8rem) var(--gutter) 2rem;
  position: relative;
  overflow: hidden;
}

/* On desktop: footer is fixed at bottom, revealed as main scrolls past */
@media (min-width: 768px) {
  .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
  }
  /* Add bottom padding to body so there's scroll space to reveal the footer */
  body {
    padding-bottom: var(--footer-height, 450px);
  }
}

.footer__watermark {
  font-family: var(--font-display);
  font-size: clamp(5rem, 15vw, 14rem);
  font-weight: 800;
  color: var(--text-primary);
  opacity: 0.04;
  white-space: nowrap;
  text-align: center;
  margin-bottom: 3rem;
  user-select: none;
  line-height: 1;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: var(--container-max);
  margin: 0 auto 4rem;
}
.footer__heading {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.footer__list li {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.3rem 0;
}
.footer__list a {
  transition: color 0.25s ease;
}
.footer__list a:hover { color: var(--accent); }
.footer__list a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: var(--container-max);
  margin: 0 auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
  .footer__watermark {
    font-size: clamp(3rem, 12vw, 6rem);
  }
}


/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee__track { animation: none; }
  .hero__scroll-svg { animation: none; }
  .hero__scroll-arrow { animation: none; }
  .preloader { display: none !important; }
}


/* === SOLUTIONS SECTION === */
.solutions {
  padding: clamp(6rem, 12vh, 12rem) var(--gutter);
}

.solutions__header {
  max-width: var(--container-max);
  margin: 0 auto clamp(3rem, 6vh, 5rem);
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.solutions__num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.solutions__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 600;
}

.solutions__grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.solution-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.solution-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-medium);
  transform: translateY(-4px);
}

.solution-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

.solution-card:hover .solution-card__title {
  color: var(--accent);
}

.solution-card__desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  flex-grow: 1;
}

.solution-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  gap: 1rem;
}

.solution-card__price {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.solution-card__price-value {
  font-weight: 500;
  color: var(--accent);
  font-size: 1rem;
}

.solution-card__link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.solution-card__link:hover {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .solutions__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .solutions__grid {
    grid-template-columns: 1fr;
  }
  .solution-card {
    padding: 1.5rem;
  }
}


/* === FOOTER LEGAL LINKS === */
.footer__legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__legal a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.footer__legal a:hover {
  color: var(--accent);
}


/* === COOKIE BANNER === */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: auto;
  z-index: 9000;
  width: 420px;
  max-width: calc(100vw - 3rem);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-strong);
  padding: 1.75rem;
}

.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cookie-banner__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-banner__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.cookie-banner__text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
}

.cookie-banner__accept {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.65rem 1.25rem;
  background: var(--bg-contrast);
  color: var(--text-on-dark);
  border: none;
  border-radius: var(--radius-button);
  cursor: pointer;
  transition: background 0.3s;
  flex: 1;
}

.cookie-banner__accept:hover {
  background: var(--accent);
}

.cookie-banner__decline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.65rem 1.25rem;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-button);
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
  flex: 1;
}

.cookie-banner__decline:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

@media (max-width: 480px) {
  .cookie-banner {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    padding: 1.25rem;
  }
}


/* === LEGAL PAGES === */
.legal-page {
  padding: clamp(8rem, 14vh, 12rem) var(--gutter) clamp(4rem, 8vh, 8rem);
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.legal-page .legal-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
}

.legal-page p,
.legal-page li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.legal-page ul,
.legal-page ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-page li {
  margin-bottom: 0.4rem;
}

.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page .legal-back {
  display: inline-block;
  margin-top: 3rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.legal-page .legal-back:hover {
  color: var(--accent);
}


/* === LIVE CHAT === */
.chat {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 8999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.chat__toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-contrast);
  color: var(--text-on-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-strong);
  transition: background 0.3s, transform 0.3s;
}

.chat__toggle:hover {
  background: var(--accent);
  transform: scale(1.05);
}

.chat__toggle-icon {
  width: 24px;
  height: 24px;
}

.chat__toggle-icon--close {
  display: none;
}

.chat--open .chat__toggle-icon--open { display: none; }
.chat--open .chat__toggle-icon--close { display: block; }

.chat__window {
  display: none;
  width: 360px;
  max-width: calc(100vw - 3rem);
  height: 460px;
  max-height: calc(100vh - 8rem);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-strong);
  flex-direction: column;
  overflow: hidden;
}

.chat--open .chat__window {
  display: flex;
}

.chat__header {
  padding: 1rem 1.25rem;
  background: var(--bg-contrast);
  color: var(--text-on-dark);
  flex-shrink: 0;
}

.chat__header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat__header-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
  animation: chatPulse 2s ease-in-out infinite;
}

@keyframes chatPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.chat__header-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  margin: 0;
}

.chat__header-status {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(245, 240, 232, 0.5);
  margin: 0;
  letter-spacing: 0.02em;
}

.chat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat__message {
  max-width: 85%;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.5;
}

.chat__message p { margin: 0; }

.chat__message--bot {
  background: var(--bg-secondary);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat__message--user {
  background: var(--bg-contrast);
  color: var(--text-on-dark);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat__input-area {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.chat__input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
}

.chat__input::placeholder {
  color: var(--text-muted);
}

.chat__send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-on-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}

.chat__send:hover {
  background: var(--accent-light);
}

.chat__send svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 480px) {
  .chat {
    bottom: 1rem;
    right: 1rem;
  }
  .chat__window {
    width: calc(100vw - 2rem);
    height: calc(100vh - 6rem);
  }
}


/* === CTA FORM === */
.cta__form {
  max-width: 600px;
  width: 100%;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cta__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cta__form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cta__form-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245, 240, 232, 0.5);
}

.cta__form-required {
  color: var(--accent-light);
}

.cta__form-input,
.cta__form-textarea {
  width: 100%;
  background: rgba(245, 240, 232, 0.08);
  border: 1px solid rgba(245, 240, 232, 0.15);
  border-radius: var(--radius-soft);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-on-dark);
  transition: border-color 0.3s, background 0.3s;
}

.cta__form-input::placeholder,
.cta__form-textarea::placeholder {
  color: rgba(245, 240, 232, 0.3);
}

.cta__form-input:focus,
.cta__form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(245, 240, 232, 0.12);
}

.cta__form-textarea {
  resize: none;
  min-height: 80px;
}

.cta__form-consent {
  padding-top: 0.25rem;
}

.cta__form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.6);
  line-height: 1.4;
}

.cta__form-checkbox input[type="checkbox"] {
  margin-top: 0.15rem;
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.cta__form-checkbox a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta__form-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
}

.cta__form-submit {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.8rem;
}

.cta__form-submit:disabled {
  opacity: 0.6;
  pointer-events: none;
}

.cta__form-status {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-align: center;
  min-height: 1.2em;
}

.cta__form-status--success {
  color: var(--sage-light);
}

.cta__form-status--error {
  color: var(--accent-light);
}

.cta .cta__or {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.5);
}

.cta .cta__email {
  color: rgba(245, 240, 232, 0.8);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s;
}

.cta .cta__email:hover {
  color: var(--text-on-dark);
}

@media (max-width: 640px) {
  .cta__form-row {
    grid-template-columns: 1fr;
  }
}
