/* ============================================
   IVY STUDIO — STYLES
   Alle Styles in einer Datei.
   Anpassungen der Farben/Fonts weiter unten bei :root
   ============================================ */

/* -------- RESET -------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-weight: 400;
  color: #0c0c0c;
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* -------- DESIGN TOKENS -------- */
:root {
  --bg: #e9e5df;              /* Hauptbackground warm-grau */
  --bg-alt: #f3f0ea;          /* leichte Abstufung */
  --text: #1d1d1b;            /* Dunkles Grau-Schwarz aus Logo */
  --text-muted: rgba(29,29,27,0.55);
  --accent: #4a1f23;          /* Weinrot aus Logo */
  --accent-dark: #331418;
  --border: rgba(29,29,27,0.12);
  --radius-pill: 999px;
  --radius-lg: 20px;
  --max-w: 1280px;
}

/* -------- LAYOUT -------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

.section {
  padding: 96px 0;
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.4s ease;
  will-change: transform;
}
.site-header.is-hidden {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: 100%;
}
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo img {
  height: 28px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 44px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.6; }

.nav-contact {
  position: relative;
  padding: 14px 32px;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.4s ease;
}
.nav-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: inherit;
  z-index: -1;
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(74, 31, 35, 0.28);
}
.nav-contact:hover::before {
  transform: translateY(0);
}

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-contact { padding: 10px 22px; font-size: 12px; }
  .logo img { height: 22px; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero-text {
  padding: 64px 32px 80px 32px;
  position: relative;
  z-index: 2;
}
.hero-image {
  position: relative;
  height: 100%;
  min-height: 520px;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}
/* Sanfter Fade auf der linken Bildkante zum Hintergrund hin */
.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(
      to right,
      var(--bg) 0%,
      var(--bg) 4%,
      rgba(233, 229, 223, 0.92) 12%,
      rgba(233, 229, 223, 0.55) 24%,
      rgba(233, 229, 223, 0.2) 36%,
      rgba(233, 229, 223, 0) 48%
    ),
    linear-gradient(
      to bottom,
      var(--bg) 0%,
      rgba(233, 229, 223, 0) 12%,
      rgba(233, 229, 223, 0) 88%,
      var(--bg) 100%
    );
}

.hero h1,
.hero-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0 0 28px;
  max-width: 100%;
  color: var(--text);
}
.hero .subline {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  max-width: 520px;
  margin: 0 0 36px;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero { padding: 100px 0 0; }
  .hero-text { padding: 40px 32px 40px 32px; text-align: center; }
  .hero h1, .hero-headline { font-size: clamp(40px, 7vw, 72px); }
  .hero .subline { margin-left: auto; margin-right: auto; }
  .hero-cta-wrap { justify-content: center; }
  .hero-image {
    min-height: 420px;
    height: 420px;
  }
  .hero-image::before {
    background: linear-gradient(
      to bottom,
      var(--bg) 0%,
      rgba(233, 229, 223, 0.4) 8%,
      rgba(233, 229, 223, 0) 20%
    );
  }
  .hero-image img { object-position: center center; }
}

@media (max-width: 640px) {
  .hero { padding: 90px 0 0; }
  .hero h1, .hero-headline { font-size: clamp(34px, 9vw, 52px); margin-bottom: 24px; }
  .hero-text { padding: 24px 20px 32px 20px; }
  .hero-image { min-height: 320px; height: 320px; }
}

/* -------- HERO WORD REVEAL mit 3D-Twist -------- */
.hero-headline {
  perspective: 800px;
}
.hero-headline .hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px) rotateX(-35deg) rotateZ(-2deg);
  transform-origin: 50% 80%;
  animation: heroWordTwist 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  margin: 0 0.08em;
  will-change: transform, opacity;
}
.hero-headline .hero-word:nth-child(1) { animation-delay: 0.05s; }
.hero-headline .hero-word:nth-child(2) { animation-delay: 0.15s; }
.hero-headline .hero-word:nth-child(3) { animation-delay: 0.25s; }
.hero-headline .hero-word:nth-child(4) { animation-delay: 0.35s; }
.hero-headline .hero-word:nth-child(5) { animation-delay: 0.45s; }

@keyframes heroWordTwist {
  0% {
    opacity: 0;
    transform: translateY(28px) rotateX(-35deg) rotateZ(-2deg);
  }
  55% {
    opacity: 1;
    transform: translateY(-3px) rotateX(8deg) rotateZ(1.5deg);
  }
  78% {
    transform: translateY(1px) rotateX(-2deg) rotateZ(-0.5deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0) rotateZ(0);
  }
}

/* -------- HERO SUBLINE WIPE LEFT-TO-RIGHT -------- */
.hero-subline {
  display: block;
  position: relative;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  -webkit-clip-path: inset(0 100% 0 0);
  animation: heroSublineWipe 1.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  animation-delay: 0.45s;
}

@keyframes heroSublineWipe {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    -webkit-clip-path: inset(0 100% 0 0);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
  }
}

/* -------- HERO CTA — Social Check -------- */
.hero-cta-wrap {
  margin-top: 8px;
  display: flex;
  justify-content: flex-start;
  opacity: 0;
  animation: heroFadeIn 0.8s ease forwards;
  animation-delay: 1.4s;
}
@keyframes heroFadeIn {
  to { opacity: 1; }
}
.hero-cta-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 42px;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.hero-cta-check::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: inherit;
  z-index: -1;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.hero-cta-check:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(74, 31, 35, 0.28);
}
.hero-cta-check:hover::before {
  transform: translateY(0);
}
.hero-cta-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6b6b;
  flex-shrink: 0;
}
.hero-cta-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #ff6b6b;
  opacity: 0.4;
  animation: heroCtaPulse 1.8s ease-out infinite;
}
@keyframes heroCtaPulse {
  0%   { transform: scale(0.8); opacity: 0.5; }
  70%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}
.hero-cta-check:hover .hero-cta-pulse {
  background: #fff;
}
.hero-cta-check:hover .hero-cta-pulse::after {
  background: #fff;
}
.hero-cta-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  font-size: 16px;
}
.hero-cta-check:hover .hero-cta-arrow {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .hero-cta-check { padding: 16px 32px; font-size: 13px; }
}

/* ============================================
   VIDEO CAROUSEL (REFERENCES)
   ============================================ */
:root {
  --vc-speed: 0.55s;
  --vc-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --vc-card-w: 280px;
  --vc-card-h: 497px;
  --vc-offset: 300px;
  --vc-side-scale: 0.82;
  --vc-side-rotate: 6deg;
  --vc-side-opacity: 0.74;
  --vc-side-brightness: 0.95;
  --vc-center-shadow: 0 30px 70px rgba(0,0,0,0.22);
  --vc-side-shadow: 0 18px 40px rgba(0,0,0,0.12);
}
@media (max-width: 768px) {
  :root {
    --vc-card-w: 200px;
    --vc-card-h: 355px;
    --vc-offset: 205px;
    --vc-side-scale: 0.8;
  }
}
@media (max-width: 480px) {
  :root {
    --vc-card-w: 160px;
    --vc-card-h: 284px;
    --vc-offset: 155px;
    --vc-side-scale: 0.78;
  }
}
.vc-section {
  width: 100%;
  overflow: hidden;
  padding: 32px 0 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.vc-stage {
  position: relative;
  width: 100%;
  height: var(--vc-card-h);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1600px;
  perspective-origin: 50% 50%;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.vc-card {
  position: absolute;
  width: var(--vc-card-w);
  height: var(--vc-card-h);
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
  box-shadow: var(--vc-side-shadow);
  transition:
    transform var(--vc-speed) var(--vc-ease),
    opacity var(--vc-speed) var(--vc-ease),
    filter var(--vc-speed) var(--vc-ease),
    box-shadow var(--vc-speed) var(--vc-ease);
}
.vc-card[data-role="center"] {
  transform: translateX(0) scale(1) rotateY(0deg);
  opacity: 1;
  filter: brightness(1);
  z-index: 10;
  box-shadow: var(--vc-center-shadow);
  cursor: default;
}
.vc-card[data-role="left"] {
  transform: translateX(calc(-1 * var(--vc-offset))) scale(var(--vc-side-scale)) rotateY(var(--vc-side-rotate));
  opacity: var(--vc-side-opacity);
  filter: brightness(var(--vc-side-brightness));
  z-index: 5;
  cursor: pointer;
}
.vc-card[data-role="right"] {
  transform: translateX(var(--vc-offset)) scale(var(--vc-side-scale)) rotateY(calc(-1 * var(--vc-side-rotate)));
  opacity: var(--vc-side-opacity);
  filter: brightness(var(--vc-side-brightness));
  z-index: 5;
  cursor: pointer;
}
.vc-card[data-role="hidden-left"] {
  transform: translateX(calc(-1 * var(--vc-offset) * 1.3)) scale(0.7) rotateY(12deg);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
.vc-card[data-role="hidden-right"] {
  transform: translateX(calc(var(--vc-offset) * 1.3)) scale(0.7) rotateY(-12deg);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
.vc-thumb-video,
.vc-thumb-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #111;
}
.vc-thumb-video { z-index: 1; pointer-events: none; }
.vc-thumb-poster { z-index: 0; transition: opacity 0.25s ease; }
.vc-card.is-video-ready .vc-thumb-poster { opacity: 0; }
.vc-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.05);
  transition: background 0.2s ease;
}
.vc-card[data-role="center"] .vc-overlay { background: rgba(0,0,0,0.02); }
.vc-play {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
  transition: opacity 0.25s ease;
}
.vc-card[data-role="center"] .vc-play {
  opacity: 0;
  pointer-events: none;
}
.vc-play svg { width: 18px; height: 18px; margin-left: 3px; }
.vc-badge {
  display: none;
}
.vc-dots {
  display: flex;
  gap: 8px;
  margin-top: 36px;
  align-items: center;
}
.vc-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0,0,0,0.14);
  transition: width 0.3s ease, background 0.3s ease;
  cursor: pointer;
}
.vc-dot.active {
  width: 24px;
  background: rgba(0,0,0,0.42);
}

/* -------- CTA BUTTONS UNTER KARUSSELL -------- */
.hero-ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 56px;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.4s cubic-bezier(0.65, 0, 0.35, 1), transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.4s ease;
  min-width: 260px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: inherit;
  z-index: -1;
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.btn-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(74, 31, 35, 0.28);
}
.btn-pill:hover::before {
  transform: translateY(0);
}
@media (max-width: 600px) {
  .btn-pill { padding: 18px 32px; min-width: 0; flex: 1 1 200px; }
}

/* ============================================
   SERVICES
   ============================================ */
:root {
  --svc-card-w: 280px;
  --svc-card-h: 380px;
  --svc-gap: 16px;
  --svc-radius: 20px;
}
@media (max-width: 600px) {
  :root {
    --svc-card-w: 240px;
    --svc-card-h: 340px;
    --svc-gap: 12px;
  }
}
.svc-section { padding: 80px 0 96px; }
.svc-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.svc-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  gap: 16px;
  flex-wrap: wrap;
}
.svc-eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.svc-nav {
  display: flex;
  gap: 8px;
}
.svc-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.18);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
  color: #111;
}
.svc-nav-btn:hover {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.35);
}
.svc-nav-btn svg { width: 16px; height: 16px; }
.svc-scroll-wrap {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  margin: 0 -32px;
  padding: 0 32px;
}
.svc-scroll {
  display: flex;
  gap: var(--svc-gap);
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 24px 0 24px;
}
.svc-scroll::-webkit-scrollbar { display: none; }
.svc-card {
  flex: 0 0 var(--svc-card-w);
  height: var(--svc-card-h);
  border-radius: var(--svc-radius);
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 24px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.svc-card:hover { transform: translateY(-6px); }
.svc-card-1 { background: linear-gradient(160deg, #1a1a1a 0%, #2b2b2b 100%); }
.svc-card-2 { background: linear-gradient(160deg, #3d2020 0%, #5a2d2d 100%); }
.svc-card-3 { background: linear-gradient(160deg, #1d2d3a 0%, #2b4155 100%); }
.svc-card-4 { background: linear-gradient(160deg, #3a2d1d 0%, #55442b 100%); }
.svc-card-5 { background: linear-gradient(160deg, #2d1d3a 0%, #442b55 100%); }
.svc-card-6 { background: linear-gradient(160deg, #1d3a30 0%, #2b5544 100%); }
.svc-card-7 { background: linear-gradient(160deg, #3a1d2d 0%, #552b44 100%); }
.svc-card-8 { background: linear-gradient(160deg, #2a2a2a 0%, #404040 100%); }
.svc-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.svc-card-num {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.svc-card-tag {
  padding: 5px 11px;
  background: rgba(255,255,255,0.14);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  font-weight: 500;
}
.svc-card-middle {
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svc-card-title {
  font-size: 26px;
  line-height: 1.15;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  color: #fff;
  min-height: calc(26px * 1.15 * 2);
  display: flex;
  align-items: flex-end;
}
.svc-card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin: 0;
  height: 88px;
  overflow: hidden;
}
.svc-card-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 16px;
}
.svc-card-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s;
  flex-shrink: 0;
}
.svc-card:hover .svc-card-arrow {
  background: rgba(255,255,255,0.32);
  transform: translate(3px, -3px);
}
.svc-card-arrow svg { width: 14px; height: 14px; color: #fff; }
.svc-progress {
  height: 2px;
  background: rgba(0,0,0,0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  margin-top: 12px;
}
.svc-progress-bar {
  position: absolute;
  height: 100%;
  background: rgba(0,0,0,0.7);
  border-radius: 2px;
  width: 20%;
  left: 0;
  transition: left 0.25s, width 0.25s;
}
@media (max-width: 600px) {
  .svc-section { padding: 56px 0 72px; }
  .svc-inner { padding: 0 20px; }
  .svc-scroll-wrap { margin: 0 -20px; padding: 0 20px; }
  .svc-card-title {
    font-size: 22px;
    min-height: 74px;
  }
  .svc-card-desc { min-height: 84px; }
  .svc-nav-btn { width: 36px; height: 36px; }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 112px 0;
}
.about-eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}
.about-portrait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.about-portrait img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(29,29,27,0.18), 0 4px 12px rgba(29,29,27,0.08);
}
.about-caption {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  letter-spacing: 0.01em;
  text-align: center;
}
.about-body {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(29,29,27,0.78);
}
.about-body p {
  margin: 0 0 22px;
}
.about-body p:last-child { margin: 0; }

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-portrait img {
    width: 220px;
    height: 220px;
  }
  .about { padding: 72px 0; }
  .about-body { font-size: 16px; }
}

/* ============================================
   TESTIMONIALS (MARQUEE)
   ============================================ */
:root {
  --ivy-gap: 20px;
  --ivy-cardW: 340px;
}
@media (max-width: 600px) {
  :root {
    --ivy-cardW: 270px;
    --ivy-gap: 14px;
  }
}
.ivy-section {
  width: 100%;
  overflow: hidden;
  padding: 64px 0;
  box-sizing: border-box;
}
.ivy-track-wrap {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  cursor: grab;
  touch-action: pan-y;
}
.ivy-track-wrap.is-dragging { cursor: grabbing; }
.ivy-track {
  display: flex;
  width: max-content;
  gap: var(--ivy-gap);
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
}
.ivy-card * { user-select: none; -webkit-user-select: none; }
.ivy-card { pointer-events: none; }
.ivy-card {
  flex: 0 0 var(--ivy-cardW);
  width: var(--ivy-cardW);
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 0 1px rgba(0,0,0,0.04);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ivy-quote {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  line-height: 1.65;
  color: #2a2a2a;
  flex: 1;
  position: relative;
  padding-top: 6px;
  margin: 0;
}
.ivy-quote::before {
  content: '\201C';
  font-size: 48px;
  line-height: 1;
  color: #d4d4d4;
  font-family: Georgia, serif;
  position: absolute;
  top: -10px;
  left: -4px;
}
.ivy-card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f0f0f0;
  padding-top: 18px;
}
.ivy-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.ivy-meta { display: flex; flex-direction: column; gap: 2px; }
.ivy-name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
}
.ivy-role {
  font-size: 12.5px;
  font-weight: 400;
  color: #888;
  line-height: 1.3;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact {
  padding: 112px 0 128px;
}
.contact-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
}
.contact h2 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0;
  color: var(--text);
}
.contact-intro {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(0,0,0,0.72);
  margin: 0;
  padding-top: 8px;
}
.contact-form {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.field-group { display: flex; flex-direction: column; gap: 10px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.field-label .opt {
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 4px;
}
.field-input,
.field-textarea {
  width: 100%;
  padding: 18px 24px;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.45);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.2s;
}
.field-input:focus,
.field-textarea:focus {
  outline: none;
  border-color: var(--text);
}
.field-textarea {
  border-radius: 18px;
  resize: vertical;
  min-height: 140px;
  padding: 18px 24px;
}
.field-radios {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}
.radio-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
}
.radio-item input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(0,0,0,0.45);
  border-radius: 50%;
  margin: 0;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.radio-item input[type="radio"]:checked {
  border-color: var(--text);
}
.radio-item input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--text);
  border-radius: 50%;
}
.btn-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 22px 54px;
  background: var(--text);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.4s ease;
}
.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: inherit;
  z-index: -1;
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(74, 31, 35, 0.28);
}
.btn-submit:hover::before {
  transform: translateY(0);
}
.form-consent {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.form-consent a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (max-width: 768px) {
  .contact-top { grid-template-columns: 1fr; gap: 20px; margin-bottom: 56px; }
  .field-row { grid-template-columns: 1fr; }
  .contact { padding: 72px 0 96px; }
}

address.footer-address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
address.footer-address a {
  color: var(--text-muted);
  transition: opacity 0.2s;
  display: inline-block;
}
address.footer-address a:hover { opacity: 0.6; }

/* -------- FAQ CTA -------- */
.faq-cta {
  padding: 64px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.faq-cta-text {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 24px;
}

/* ============================================
   CHECK PAGE
   ============================================ */
.check-hero {
  padding: 180px 0 40px;
  text-align: center;
}
.check-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
}
.check-h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 auto 28px;
  max-width: 900px;
  color: var(--text);
}
.check-intro {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(29,29,27,0.72);
  max-width: 640px;
  margin: 0 auto;
}
.check-form-section {
  padding: 32px 0 120px;
}
@media (max-width: 768px) {
  .check-hero { padding: 140px 0 32px; }
  .check-form-section { padding: 24px 0 80px; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-col-heading {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 15px;
  color: var(--text);
  transition: opacity 0.2s;
  width: fit-content;
}
.footer-links a:hover { opacity: 0.6; }
.footer-socials {
  display: flex;
  gap: 12px;
}
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}
.social-icon:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
  transform: translateY(-2px);
}
.social-icon svg {
  width: 18px;
  height: 18px;
}
address.footer-address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}
.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
}
.footer-contact-links a {
  color: var(--text-muted);
  transition: opacity 0.2s;
  width: fit-content;
}
.footer-contact-links a:hover { opacity: 0.6; }
.footer-bottom {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}
.footer-logo {
  width: 100%;
  max-width: 360px;
}
.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { justify-content: flex-start; margin-top: 48px; padding-top: 24px; }
  .footer-logo { max-width: 240px; }
}

/* -------- 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;
  }
  .hero-headline .hero-word {
    opacity: 1;
    transform: none;
  }
  .hero-subline { opacity: 1; }
  .ivy-track {
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    transform: none !important;
  }
  .ivy-track-wrap {
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
  }
}
