/* ─────────────────────────────────────────────────────────────
   KRIS HAAGENSEN — HOME
   Layout: Single-page dark scroll (Stefan template match)
───────────────────────────────────────────────────────────── */

:root {
  --bg:        #ECEAE4;
  --card-bg:   #E4E2DB;
  --border:    rgba(0,0,0,0.10);
  --text:      #0a0a14;
  --muted:     rgba(0,0,0,0.42);
  --accent:    #B5F026;
  --accent2:   #1a1a2e;

  --font-sans:  'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-label: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:  0.3s;
  --radius: 14px;
  --container: 1140px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }
ul, ol { list-style: none; }
input, textarea { font: inherit; }

/* BASE */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* AMBIENT GRAIN — subtle texture on light bg */
body::before { display: none; }
body::after  { display: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  position: relative;
  z-index: 1;
}

h1, h2 { text-transform: uppercase; }

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(236, 234, 228, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

.nav__logo {
  font-family: var(--font-label);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
}

.nav__logo span { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--dur);
}

.nav__link:hover { color: var(--text); }

/* ─── HERO (PARALLAX + TEXT ROTATE) ─── */
.hero {
  position: relative;
}

.hero__parallax {
  position: relative;
  width: 100%;
  min-height: 66vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

/* Floating image elements */
.float-el {
  position: absolute;
  will-change: transform;
}

.float-el img {
  display: block;
  opacity: 0;
  animation: floatFadeIn 0.5s ease forwards;
}

.float-el:nth-child(1) img { animation-delay: 0.15s; }
.float-el:nth-child(2) img { animation-delay: 0.30s; }
.float-el:nth-child(3) img { animation-delay: 0.45s; }
.float-el:nth-child(4) img { animation-delay: 0.60s; }
.float-el:nth-child(5) img { animation-delay: 0.75s; }
.float-el:nth-child(6) img { animation-delay: 0.90s; }
.float-el:nth-child(7) img { animation-delay: 1.05s; }
.float-el:nth-child(8) img { animation-delay: 1.20s; }
.float-el:nth-child(9) img { animation-delay: 1.35s; }

@keyframes floatFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* Hero center text */
.hero__center {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  animation: heroCenterIn 0.88s ease 1.5s forwards;
  max-width: 440px;
  padding-inline: 20px;
}

@keyframes heroCenterIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__role {
  font-family: var(--font-label);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: baseline;
  gap: 0.4em;
  flex-wrap: wrap;
  justify-content: center;
}

/* Text rotate: inline container for rotating characters */
.text-rotate {
  color: var(--accent);
  display: inline-flex;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.hero__name {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero__accent-line {
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.hero__bio {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(232,184,75,0.4);
  padding: 10px 20px;
  border-radius: 100px;
  transition: background var(--dur), color var(--dur);
}

.hero__cta:hover {
  background: var(--accent);
  color: #0a0818;
}

/* Stats bar below parallax */
.hero__stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hero__stats-inner {
  display: flex;
}

.hero__stat-item {
  flex: 1;
  padding: clamp(20px, 3vw, 36px) 20px;
  text-align: center;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__stat-item:last-child { border-right: none; }

.hero__stat-num {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero__stat-label {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── TEXT ROTATE ANIMATION ─── */
.tr-word {
  display: inline-flex;
  overflow: hidden;
}

.tr-char {
  display: inline-block;
}

.tr-char--in {
  animation: trCharIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.tr-char--out {
  animation: trCharOut 0.3s cubic-bezier(0.7, 0, 0.84, 0) both;
}

@keyframes trCharIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@keyframes trCharOut {
  from { transform: translateY(0);     opacity: 1; }
  to   { transform: translateY(-120%); opacity: 0; }
}

/* ─── LOGO BAR ─── */
.logo-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.02);
}

.logo-bar__track {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

.logo-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 8vw, 100px);
  padding-block: 36px;
  flex-wrap: wrap;
}

.logo-bar__item {
  flex-shrink: 0;
  color: var(--muted);
  transition: color var(--dur);
}

.logo-bar__item:hover { color: var(--text); }

.logo-bar__item img {
  height: 28px;
  width: auto;
  filter: brightness(0);
  opacity: 0.45;
  transition: opacity var(--dur);
  display: block;
}

.logo-bar__item img[alt="Insta360"] { height: 18px; }

.logo-bar__item:hover img { opacity: 0.85; }

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

@media (max-width: 767px) {
  .logo-bar__track {
    overflow: hidden;
    padding-inline: 0;
    max-width: 100%;
  }
  .logo-bar__inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 48px;
    padding-block: 32px;
    padding-inline: 32px;
    width: max-content;
    animation: logo-scroll 10s linear infinite;
  }
  .logo-bar__inner:hover { animation-play-state: paused; }
}

/* ─── SERVICES ─── */
.services {
  padding-block: clamp(70px, 10vw, 120px);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.services__heading {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.services__body {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 340px;
}

.services__cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: border-color var(--dur), background var(--dur);
}

.service-card:hover {
  border-color: rgba(0,0,0,0.18);
  background: rgba(0,0,0,0.04);
}

.service-card__thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(0,0,0,0.06);
}

.service-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__info {
  flex: 1;
  min-width: 0;
}

.service-card__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}

.service-card__sub {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.service-card__arrow {
  color: var(--muted);
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform var(--dur), color var(--dur);
}

.service-card:hover .service-card__arrow {
  transform: translateX(4px);
  color: var(--text);
}

/* ─── CASE STUDIES ─── */
.case-studies {
  padding-block: clamp(60px, 8vw, 100px);
}

.case-studies__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(28px, 4vw, 56px);
  gap: 24px;
  flex-wrap: wrap;
}

.case-studies__header-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-studies__title {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
}

.case-studies__desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 480px;
}

.case-studies__nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cs-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--dur), color var(--dur), background var(--dur);
}

.cs-nav-btn:hover:not(:disabled) {
  border-color: rgba(0,0,0,0.25);
  color: var(--text);
  background: rgba(0,0,0,0.05);
}

.cs-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Full-width carousel that deliberately escapes the container */
.cs-carousel-wrap {
  width: 100%;
  overflow: hidden;
}

.cs-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-left: clamp(20px, 5vw, 60px);
  padding-right: clamp(20px, 5vw, 60px);
}

.cs-carousel::-webkit-scrollbar { display: none; }

.cs-item {
  flex: 0 0 320px;
  scroll-snap-align: start;
}

@media (min-width: 1024px) {
  .cs-carousel-wrap {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(20px, 5vw, 60px);
    overflow: hidden;
  }
  .cs-carousel {
    padding-left: 0;
    padding-right: 0;
  }
  .cs-item {
    flex: 0 0 calc(33.333% - 14px);
  }
}

/* Card */
.cs-card {
  display: block;
  position: relative;
  min-height: 460px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}

@media (min-width: 768px) {
  .cs-card { min-height: 500px; }
}

@media (min-width: 1024px) {
  .cs-card { min-height: 560px; }
}

.cs-card--no-img {
  background: linear-gradient(135deg, #1a1a2e 0%, #0d0d1a 100%);
}

.cs-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
  display: block;
}

.cs-card:hover .cs-card__img {
  transform: scale(1.05);
}

.cs-card__img--ecoflow {
  object-fit: cover;
  object-position: center top;
}

.cs-card--dark-bg { background: #111; }

.cs-card__img--bandlab {
  object-fit: cover;
  object-position: center center;
}

.cs-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.12) 45%,
    rgba(0,0,0,0) 100%
  );
}

/* Frosted glass lower panel */
.cs-card__body {
  position: absolute;
  inset-x: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 3vw, 32px);
  padding-top: clamp(32px, 5vw, 56px);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: linear-gradient(
    to bottom,
    rgba(10, 8, 24, 0) 0%,
    rgba(10, 8, 24, 0.35) 40%,
    rgba(10, 8, 24, 0.65) 100%
  );
}

.cs-card__title {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #fff;
}

.cs-card__desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: clamp(20px, 3vw, 36px);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cs-card__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  transition: gap 0.2s ease;
}

.cs-card:hover .cs-card__cta { gap: 14px; }

/* Dots */
.cs-dots-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.cs-dot2 {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.cs-dot2.is-active {
  background: var(--text);
  transform: scale(1.35);
}

.cs-dot2:hover:not(.is-active) { background: rgba(0,0,0,0.35); }

/* ─── ANIMATED TESTIMONIALS ─── */
.testimonial {
  padding-block: clamp(70px, 10vw, 120px);
  overflow: hidden;
}

.at-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.at-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(181, 240, 38, 0.18);
  color: var(--text);
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.at-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}

.at-subtitle {
  color: var(--muted);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 32px;
}

.at-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.at-arrows {
  display: flex;
  gap: 8px;
}

.at-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.at-dot {
  height: 10px;
  width: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.35s ease, background 0.35s ease;
}

.at-dot.is-active {
  width: 36px;
  background: var(--accent);
}

/* right: card stack */
.at-cards-wrap {
  position: relative;
  min-height: 400px;
}

.at-card {
  position: absolute;
  inset: 0;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(50px) scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.at-card.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.at-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 22px;
}

.at-stars svg {
  width: 18px;
  height: 18px;
  fill: #f59e0b;
}

.at-quote-wrap {
  position: relative;
  flex: 1;
  margin-bottom: 22px;
}

.at-quote-icon {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 26px;
  height: 26px;
  color: rgba(0,0,0,0.15);
  transform: rotate(180deg);
}

.at-quote {
  position: relative;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 600;
  line-height: 1.6;
  color: var(--text);
  padding-left: 18px;
}

.at-sep {
  height: 1px;
  background: var(--border);
  margin-bottom: 22px;
}

.at-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.at-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(181, 240, 38, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  flex-shrink: 0;
}

.at-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.at-author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.at-author-role {
  font-family: var(--font-label);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.at-deco {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 14px;
  background: rgba(0,0,0,0.04);
  pointer-events: none;
}

.at-deco--br { bottom: -18px; left: -18px; }
.at-deco--tl { top: -18px; right: -18px; }

/* ─── CTA / CONTACT ─── */
.cta {
  padding-block: clamp(60px, 8vw, 100px);
  border-top: 1px solid var(--border);
}

.cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.cta__heading {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta__body {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--dur);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.25);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  align-self: flex-start;
  padding: 12px 28px;
  background: var(--accent);
  color: #0a0818;
  border-radius: 100px;
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity var(--dur);
}

.form-submit:hover { opacity: 0.85; }

/* CTA right: image */
.cta__visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--card-bg);
  border: 1px solid var(--border);
}

.cta__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(100,60,210,0.4), rgba(10,8,24,0.3));
}

/* ─── FOOTER ─── */
.footer {
  padding-block: 40px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__label {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: border-color var(--dur), color var(--dur), background var(--dur);
}

.footer__social-link:hover {
  border-color: rgba(0,0,0,0.25);
  color: var(--text);
  background: rgba(0,0,0,0.05);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer__copy {
  font-family: var(--font-label);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ─── EDITORIAL HERO ─── */
.hero-ed__label-bar {
  padding-top: clamp(20px, 3vw, 44px);
  padding-bottom: clamp(14px, 2vw, 24px);
}

.hero-ed__label {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-ed {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.hero-ed__row {
  display: flex;
  align-items: center;
  padding-inline: max(clamp(20px, 5vw, 60px), calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid var(--border);
}

.hero-ed__row:last-child { border-bottom: none; }

.hero-ed__word {
  font-family: var(--font-label);
  font-size: clamp(50px, 9.5vw, 122px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

/* Row 1 */
.hero-ed__row--1 {
  padding-block: clamp(14px, 2.2vw, 28px);
  gap: clamp(16px, 2.5vw, 40px);
  justify-content: space-between;
}

.hero-ed__pill {
  width: clamp(130px, 20vw, 272px);
  height: clamp(56px, 8.5vw, 110px);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-ed__pill {
  background-image: url('../images/profile/kris.png');
  background-size: 110%;
  background-position: center 15%;
}
.hero-ed__pill img { display: none; }

.hero-ed__cta-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 14px);
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  padding: clamp(10px, 1.4vw, 18px) clamp(18px, 2.5vw, 34px);
  font-family: var(--font-label);
  font-size: clamp(0.78rem, 1.2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.hero-ed__cta-btn:hover { opacity: 0.72; }

.hero-ed__arrow {
  width: clamp(28px, 3.2vw, 44px);
  height: clamp(28px, 3.2vw, 44px);
  border-radius: 50%;
  background: var(--accent);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.85rem, 1.2vw, 1.1rem);
  flex-shrink: 0;
}

/* Row 2 — text scaled to fill the full width */
.hero-ed__row--2 {
  padding-block: clamp(4px, 0.6vw, 10px);
}

.hero-ed__row--2 .hero-ed__word {
  font-size: clamp(60px, 15vw, 210px);
  letter-spacing: -0.02em;
}

/* Row 3 */
.hero-ed__row--3 {
  padding-block: clamp(12px, 1.8vw, 24px);
  gap: clamp(14px, 2.2vw, 32px);
}

.hero-ed__accent-box {
  background: var(--accent);
  color: var(--text);
  padding: clamp(12px, 1.6vw, 22px) clamp(16px, 2vw, 28px);
  border-radius: 10px;
  flex-shrink: 0;
}

.hero-ed__box-name {
  font-size: clamp(0.88rem, 1.3vw, 1.05rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 3px;
}

.hero-ed__box-role {
  font-family: var(--font-label);
  font-size: clamp(0.58rem, 0.85vw, 0.7rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}

.hero-ed__bars {
  display: flex;
  align-items: stretch;
  gap: clamp(4px, 0.6vw, 8px);
  height: clamp(40px, 6vw, 80px);
  flex-shrink: 0;
}

.hero-ed__bars span {
  display: block;
  width: clamp(12px, 1.8vw, 24px);
  background: var(--accent);
  border-radius: 3px;
}

.hero-ed__row--3 .hero-ed__word {
  margin-left: auto;
  font-size: clamp(56px, 12vw, 168px);
  letter-spacing: -0.02em;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero__parallax { min-height: 56vh; }

  .services__grid,
  .cta__grid { grid-template-columns: 1fr; }

  .at-grid { grid-template-columns: 1fr; }
  .at-cards-wrap { min-height: 340px; }
}

@media (max-width: 700px) {
  .hero-ed__pill { width: clamp(90px, 26vw, 140px); height: clamp(40px, 11vw, 62px); }
  .hero-ed__cta-btn .hero-ed__cta-label { display: none; }
}

@media (max-width: 560px) {
  .float-el { display: none; }
  .hero-ed__bars { display: none; }
  .hero-ed__word { font-size: clamp(38px, 12vw, 80px); }
  .form-row { grid-template-columns: 1fr; }
  .nav__links { display: none; }
}
