/* ============================================================
   STUDIO PRACTICE — Design System v2 (Brutalist)
   Reference: design-system.html
   ============================================================ */
:root {
  --sp-bg:           #f5f2ec;
  --sp-bg-raise:     #faf8f3;
  --sp-ink:          #0e0c09;
  --sp-ink-mid:      #3d3830;
  --sp-ink-muted:    #7d7165;
  --sp-ink-subtle:   #b0a69a;
  --sp-line:         #0e0c09;
  --sp-line-soft:    #ddd8cf;
  --sp-accent:       #1d3a6e;
  --sp-accent-light: #4d7abf;
  --sp-accent-dim:   #e8edf5;
  --sp-dark:         #0e0c09;
  --sp-dark-raise:   #1a1713;
  --sp-dark-line:    #2d2822;
  --sp-dark-muted:   #6b6258;
  --sp-cream:        #f5f2ec;

  --sp-serif: "Cormorant Garamond", Georgia, serif;
  --sp-sans:  "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --sp-mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad-x: 24px;
  --pad-y: 80px;
  --inner: 1440px;
  --bar-h: 48px;
}

@media (min-width: 640px)  { :root { --pad-x: 40px; } }
@media (min-width: 768px)  { :root { --pad-x: 56px;  --pad-y: 104px; } }
@media (min-width: 1100px) { :root { --pad-x: 88px;  --pad-y: 120px; } }

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

html { scroll-behavior: auto; }

body {
  background: var(--sp-bg);
  color: var(--sp-ink);
  font-family: var(--sp-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--sp-accent); color: #fff; }

.inner {
  width: min(100%, var(--inner));
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ============================================================
   Offer Bar
   ============================================================ */
@keyframes bar-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.offer-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 150;
  background: var(--sp-accent);
  color: var(--sp-cream);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: opacity 280ms ease;
}

.offer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.offer-bar-content {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex-wrap: wrap;
}

.offer-bar-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sp-accent-light);
  flex-shrink: 0;
  animation: bar-pulse 2.2s ease-in-out infinite;
}

.offer-bar-label {
  font-family: var(--sp-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  white-space: nowrap;
}

.offer-bar-text {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 639px) {
  .offer-bar-text { display: none; }
  .offer-bar-dot  { display: none; }
  .offer-bar-inner { gap: 12px; }
  .offer-bar-content { gap: 0; }
  .offer-bar-label { font-size: 9px; letter-spacing: 0.16em; }
}

.offer-bar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.offer-bar-cta {
  font-family: var(--sp-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-cream);
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 6px 14px;
  transition: background 0.18s, border-color 0.18s;
}

.offer-bar-cta::after { content: ' →'; }
.offer-bar-cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.75);
}

.offer-bar-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.35);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 0 2px 4px;
  transition: color 0.15s;
}

.offer-bar-close:hover { color: rgba(255, 255, 255, 0.85); }

@media (max-width: 639px) {
  .offer-bar-cta {
    border: none;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .offer-bar-cta::after { content: ''; }
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed;
  top: var(--bar-h); left: 0; right: 0;
  z-index: 100;
  transition: top 280ms ease;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 242, 236, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--sp-line-soft);
  color: var(--sp-ink);
}

.nav-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}

.wa-mark {
  display: block;
  flex-shrink: 0;
}

.nav-name-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-first {
  font-family: var(--sp-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.45;
}

.nav-last {
  font-family: var(--sp-serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav-links {
  display: none;
  gap: 32px;
  align-items: center;
}

@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-links a {
  font-family: var(--sp-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  position: relative;
  transition: opacity 200ms;
}

/* Animated underline — slides in from left on hover, persists on active */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--sp-ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }

/* Current page — underline always visible, full opacity */
.nav-links a.active { opacity: 1; }
.nav-links a.active::after { transform: scaleX(1); }

/* Keyboard focus */
.nav-links a:focus-visible {
  opacity: 1;
  outline: 2px solid var(--sp-accent);
  outline-offset: 5px;
  border-radius: 1px;
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}

@media (min-width: 768px) { .nav-hamburger { display: none; } }

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 240ms, opacity 240ms;
  transform-origin: center;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   Mobile Menu
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--sp-dark);
  color: var(--sp-cream);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--pad-x);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.mobile-menu.is-open { opacity: 1; pointer-events: all; }

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: var(--pad-x);
  background: none;
  border: none;
  color: var(--sp-dark-muted);
  font-family: var(--sp-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
}

.mobile-menu a {
  font-family: var(--sp-serif);
  font-size: clamp(44px, 13vw, 68px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--sp-cream);
  padding: 14px 0;
  border-bottom: 1px solid var(--sp-dark-line);
  transition: color 180ms;
}

.mobile-menu a:first-of-type { border-top: 1px solid var(--sp-dark-line); }
.mobile-menu a:hover { color: var(--sp-accent); opacity: 1; }

/* ============================================================
   Hero — split layout
   ============================================================ */
.hero-left {
  background: var(--sp-dark);
  color: var(--sp-cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px var(--pad-x) 56px;
  flex-shrink: 0;
}

.carousel-area {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.hero-headline {
  font-family: var(--sp-serif);
  font-weight: 600;
  font-size: clamp(40px, 4.8vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--sp-cream);
  position: relative;
}

.hero-line { display: block; overflow: hidden; padding-bottom: 0.18em; margin-bottom: -0.18em; }
.hero-line:last-child { padding-bottom: 0.5em; margin-bottom: 0; }

.hero-line-inner {
  display: block;
  opacity: 0;
  transform: translateY(110%);
  animation: line-up 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-line:nth-child(1) .hero-line-inner { animation-delay: 280ms; }
.hero-line:nth-child(2) .hero-line-inner { animation-delay: 460ms; }

.hero-accent {
  color: var(--sp-accent-light);
  font-style: italic;
}

.hero-sub {
  font-family: var(--sp-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,242,236,0.5);
  margin-top: 28px;
  opacity: 0;
  position: relative;
  animation: fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) 680ms forwards;
}

@media (max-width: 767px) {
  .hero-left {
    align-items: center;
    text-align: center;
    padding: 148px 32px 52px;
  }

  @media (orientation: landscape) {
    .hero-left {
      padding-left: 64px;
      padding-right: 64px;
    }
  }

  .hero-headline {
    font-size: clamp(60px, 17vw, 72px);
  }

  .hero-line:last-child { padding-bottom: 0.12em; }

  .hero-sub {
    border-top: 1px solid rgba(245, 242, 236, 0.15);
    padding-top: 14px;
    margin-top: 14px;
    font-size: 12px;
    letter-spacing: 0.09em;
    text-align: center;
  }
}

/* Metadata strip at bottom of hero */
.hero-strip {
  border-top: 1px solid var(--sp-dark-line);
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  opacity: 0;
  animation: fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) 820ms forwards;
}

@media (min-width: 640px)  { .hero-strip { grid-template-columns: repeat(4, 1fr); } }

.hero-strip-cell {
  padding: 20px 0;
  border-right: 1px solid var(--sp-dark-line);
}

.hero-strip-cell:last-child { border-right: none; }
.hero-strip-cell:nth-child(2n) { padding-left: 20px; }

@media (min-width: 640px) {
  .hero-strip-cell:nth-child(n) { padding-left: 0; padding-right: 24px; }
  .hero-strip-cell:nth-child(n+2) { padding-left: 24px; }
}

.hero-strip-label {
  font-family: var(--sp-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sp-dark-muted);
  margin-bottom: 6px;
}

.hero-strip-value {
  font-family: var(--sp-mono);
  font-size: 12px;
  color: var(--sp-cream);
  opacity: 0.75;
}

/* ============================================================
   Ticker
   ============================================================ */
.ticker-wrap {
  overflow: hidden;
  border-top: 2px solid var(--sp-ink);
  border-bottom: 2px solid var(--sp-ink);
  padding: 12px 0;
  background: var(--sp-bg);
  user-select: none;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  font-family: var(--sp-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sp-ink-muted);
  white-space: nowrap;
}

.ticker-dot {
  width: 5px;
  height: 5px;
  background: var(--sp-accent);
  flex-shrink: 0;
  transform: rotate(45deg);
}

/* ============================================================
   Work Carousel
   ============================================================ */
#work {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 100dvh;
  border-bottom: 2px solid var(--sp-ink);
}

@media (min-width: 768px) {
  #work {
    flex-direction: row;
    height: 88dvh;
    min-height: 560px;
    max-height: 100dvh;
  }

  .hero-left {
    width: 46%;
    padding-left: 48px;
    padding-right: 48px;
    align-items: center;
    text-align: center;
  }
}

@media (min-width: 1100px) {
  .hero-left {
    width: 42%;
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
    align-items: center;
    text-align: center;
  }
}

.carousel-track {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: brightness(0.92);
  transition: filter 600ms ease;
}

.carousel-slide.is-active img { filter: brightness(1); }

.carousel-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 28px 24px;
  background: linear-gradient(to top, rgba(14,12,9,0.88) 0%, rgba(14,12,9,0.5) 60%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.caption-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.caption-cat {
  font-family: var(--sp-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sp-accent-light);
}

.caption-title {
  font-family: var(--sp-serif);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}

.caption-desc {
  font-family: var(--sp-sans);
  font-size: 13px;
  color: rgba(245,242,236,0.6);
  line-height: 1.4;
  margin-top: 2px;
}

.caption-url {
  font-family: var(--sp-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(245,242,236,0.4);
  white-space: nowrap;
  align-self: flex-end;
}

.caption-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.carousel-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  background: rgba(245, 242, 236, 0.35);
  transition: background 250ms, transform 250ms;
  transform: rotate(45deg);
  cursor: pointer;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.carousel-dot.is-active {
  background: var(--sp-cream);
  transform: rotate(45deg) scale(1.3);
}

.carousel-area {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 320px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(14,12,9,0.55);
  border: 1px solid rgba(245,242,236,0.15);
  color: var(--sp-cream);
  font-family: var(--sp-mono);
  font-size: 16px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms, border-color 200ms;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 4;
}

.carousel-btn:hover { background: rgba(14,12,9,0.9); border-color: rgba(245,242,236,0.4); }
.carousel-btn-prev { left: 16px; }
.carousel-btn-next { right: 16px; }

/* ============================================================
   Services — brutalist portrait cards
   ============================================================ */
#services {
  padding-top: var(--pad-y);
  padding-bottom: var(--pad-y);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid var(--sp-ink);
  padding-bottom: 16px;
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--sp-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}

.section-num {
  font-family: var(--sp-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sp-ink-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--sp-ink);
  border: 2px solid var(--sp-ink);
}

@media (min-width: 640px)  { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .services-grid { grid-template-columns: 1fr 1fr 1fr; } }

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--sp-bg-raise);
  overflow: hidden;
  position: relative;
}

.service-visual {
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
  border-bottom: 2px solid var(--sp-ink);
  position: relative;
}

@media (min-width: 768px)  { .service-visual { height: 260px; } }
@media (min-width: 1100px) { .service-visual { height: 300px; } }

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: saturate(0.88) contrast(1.05);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
              filter 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-visual img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1);
}

.service-info {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (min-width: 768px) { .service-info { padding: 28px 28px 32px; } }

.service-header {
  margin-bottom: 8px;
}

.service-num {
  font-family: var(--sp-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-ink-subtle);
}

.service-name {
  font-family: var(--sp-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--sp-ink-muted);
  flex: 1;
}

.service-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--sp-line-soft);
}

.service-tag {
  font-family: var(--sp-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sp-ink-muted);
  border: 1px solid var(--sp-line-soft);
  padding: 4px 9px;
  transition: border-color 200ms, color 200ms;
}

.service-card:hover .service-tag {
  border-color: var(--sp-ink-subtle);
  color: var(--sp-ink-mid);
}

/* ============================================================
   Process — dark section
   ============================================================ */
#process {
  background: var(--sp-dark);
  color: var(--sp-cream);
  padding-top: var(--pad-y);
  padding-bottom: var(--pad-y);
}

.process-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--sp-dark-line);
  padding-bottom: 16px;
  margin-bottom: 56px;
  color: var(--sp-cream);
}

.process-header .section-title { color: var(--sp-cream); }
.process-header .section-num { color: var(--sp-dark-muted); }

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px;
}

@media (min-width: 900px) {
  .process-grid { grid-template-columns: 1fr 400px; gap: 80px; align-items: start; }
}

.process-headline {
  font-family: var(--sp-serif);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--sp-cream);
}

.process-headline em {
  font-style: italic;
  color: var(--sp-dark-muted);
}

.process-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--sp-dark-muted);
}

.process-body p + p { margin-top: 20px; }

.process-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--sp-dark-line);
  border: 1px solid var(--sp-dark-line);
  margin-top: 40px;
}

.process-stat {
  background: var(--sp-dark);
  padding: 20px;
}

.process-stat-label {
  font-family: var(--sp-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-dark-muted);
  margin-bottom: 6px;
}

.process-stat-value {
  font-family: var(--sp-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--sp-cream);
}

/* ============================================================
   Contact
   ============================================================ */
#contact {
  background: var(--sp-accent);
  color: #fff;
  border-top: 2px solid var(--sp-ink);
}

.contact-eyebrow {
  font-family: var(--sp-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding-top: var(--pad-y);
  margin-bottom: 40px;
}

.contact-socials {
  display: flex;
  gap: 20px;
  margin-bottom: 48px;
}

.social-link {
  color: rgba(245,242,236,0.55);
  transition: color 200ms;
  display: flex;
  align-items: center;
}

.social-link:hover { color: #fff; opacity: 1; }

.social-link svg { width: 22px; height: 22px; display: block; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  padding-top: var(--pad-y);
  padding-bottom: var(--pad-y);
}

@media (min-width: 860px) {
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
}

.contact-left-headline {
  font-family: var(--sp-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 20px;
}

.contact-left-desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
  max-width: 360px;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-field {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.contact-field:last-of-type {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 24px;
}

.contact-field label {
  font-family: var(--sp-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding: 12px 0 4px;
}

.contact-field input,
.contact-field textarea {
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--sp-sans);
  font-size: 15px;
  color: #fff;
  padding: 0 0 14px;
  width: 100%;
  resize: none;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder { color: rgba(255,255,255,0.2); }

.contact-submit {
  background: #fff;
  color: var(--sp-accent);
  border: none;
  font-family: var(--sp-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 28px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 200ms;
}

.contact-submit:hover { background: var(--sp-cream); }
.contact-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.contact-form-status {
  font-family: var(--sp-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  margin-top: 14px;
  min-height: 16px;
}

.contact-form-status[data-state="ok"]  { color: #4caf82; }
.contact-form-status[data-state="err"] { color: #ef5350; }

.contact-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 24px;
  padding-bottom: 48px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-family: var(--sp-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
}

@media (min-width: 640px) {
  .contact-footer { grid-template-columns: repeat(4, 1fr); }
  .contact-footer-end { text-align: right; }
}

@media (max-width: 767px) {
  .contact-layout {
    padding-top: 32px;
    gap: 40px;
  }

  .contact-left-headline {
    font-size: clamp(38px, 11vw, 52px);
  }

  .contact-left-desc {
    max-width: 100%;
  }

  .contact-socials {
    margin-bottom: 0;
  }

  .contact-submit {
    align-self: stretch;
    text-align: center;
  }
}

.contact-audit-link {
  opacity: 0.5;
  transition: opacity 0.2s;
}

.contact-audit-link:hover { opacity: 1; }

/* ============================================================
   Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity  680ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.rd-1 { transition-delay: 80ms; }
.reveal.rd-2 { transition-delay: 180ms; }
.reveal.rd-3 { transition-delay: 280ms; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Animations
   ============================================================ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes line-up {
  from { opacity: 0; transform: translateY(110%); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .reveal,
  .hero-label,
  .hero-line-inner,
  .hero-strip {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

/* ============================================================
   Chat Widget
   ============================================================ */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}

.chat-widget.is-ready {
  opacity: 1;
  pointer-events: all;
}

.chat-toggle {
  width: 52px;
  height: 52px;
  background: var(--sp-dark);
  border: 2px solid var(--sp-dark-line);
  color: var(--sp-cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: background 200ms, border-color 200ms;
}

.chat-toggle:hover {
  background: var(--sp-accent);
  border-color: var(--sp-accent);
}

.chat-toggle svg {
  width: 20px;
  height: 20px;
  display: block;
}

.chat-toggle-close { display: none; }
.chat-widget.is-open .chat-toggle-open { display: none; }
.chat-widget.is-open .chat-toggle-close { display: block; }

.chat-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: min(360px, calc(100vw - 48px));
  background: var(--sp-dark);
  border: 2px solid var(--sp-dark-line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 280ms ease, transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-widget.is-open .chat-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.chat-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--sp-dark-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-label {
  font-family: var(--sp-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sp-dark-muted);
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sp-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--sp-dark-muted);
}

.chat-status-dot {
  width: 6px;
  height: 6px;
  background: #4caf82;
  border-radius: 50%;
}

.chat-messages {
  height: 320px;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar { width: 3px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--sp-dark-line); }

.chat-msg {
  max-width: 85%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-msg--bot { align-self: flex-start; }
.chat-msg--user { align-self: flex-end; }

.chat-bubble {
  padding: 10px 13px;
  font-family: var(--sp-sans);
  font-size: 13px;
  line-height: 1.55;
}

.chat-msg--bot .chat-bubble {
  background: var(--sp-dark-raise);
  color: var(--sp-cream);
  border: 1px solid var(--sp-dark-line);
}

.chat-msg--user .chat-bubble {
  background: var(--sp-accent);
  color: #fff;
}

.chat-msg-meta {
  font-family: var(--sp-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sp-dark-muted);
}

.chat-msg--user .chat-msg-meta { text-align: right; }

.chat-input-row {
  border-top: 1px solid var(--sp-dark-line);
  display: flex;
  align-items: stretch;
}

.chat-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 14px;
  font-family: var(--sp-sans);
  font-size: 13px;
  color: var(--sp-cream);
}

.chat-input::placeholder { color: var(--sp-dark-muted); }

.chat-send {
  background: none;
  border: none;
  border-left: 1px solid var(--sp-dark-line);
  padding: 0 14px;
  cursor: pointer;
  color: var(--sp-dark-muted);
  font-family: var(--sp-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 200ms, background 200ms;
}

.chat-send:hover {
  color: var(--sp-cream);
  background: var(--sp-dark-raise);
}

.chat-widget-footer {
  padding: 8px 14px;
  border-top: 1px solid var(--sp-dark-line);
  font-family: var(--sp-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--sp-dark-muted);
  text-align: center;
}

@media (max-width: 480px) {
  .chat-widget {
    bottom: 16px;
    right: 16px;
  }

  .chat-panel {
    width: calc(100vw - 32px);
    right: -16px;
  }

  .chat-messages {
    height: 260px;
  }
}
