/* ═══════════════════════════════════════════
   DAYANA GUEVARA — THE CONSCIOUS STRATEGIST
   Design System & Styles
═══════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  background-color: #fcf9ee;
  color: #474839;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ── TYPOGRAPHY BASE ── */
.eyebrow {
  display: block;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.429;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #80525a;
  margin-bottom: 20px;
}

.eyebrow--rose {
  color: #6e8f5e;
}

.section-heading {
  font-family: "Newsreader", serif;
  font-weight: 400;
  font-size: clamp(40px, 4.7vw, 60px);
  line-height: 1;
  color: #1c1c15;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
  border: none;
  border-radius: 9999px;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:not(.btn--ghost):hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(28, 28, 21, 0.12);
}

.btn:active {
  transform: scale(0.98) !important;
}

.btn--primary {
  background-color: #5c6306;
  color: #ffffff;
  padding: 16px 40px;
  box-shadow:
    0 2px 6px rgba(92, 99, 6, 0.25),
    0 8px 20px rgba(92, 99, 6, 0.15);
}

.btn--primary:hover {
  background-color: #474839;
}

.btn--ghost {
  background: transparent;
  color: #1c1c15;
  padding: 16px 0;
  border-radius: 0;
}

.btn--ghost:hover {
  color: #5c6306;
}

.btn--cta {
  background-color: #596002;
  color: #ffffff;
  padding: 16px 40px;
  flex-shrink: 0;
  box-shadow:
    0 2px 6px rgba(89, 96, 2, 0.25),
    0 8px 20px rgba(89, 96, 2, 0.15);
}

.btn--cta:hover {
  background-color: #1c1c15;
}

.btn--submit {
  padding: 16px 56px;
  align-self: flex-start;
}

/* Shimmer glint — sweeps across solid buttons every ~5s */
.btn--primary::after,
.btn--cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 80%
  );
  transform: translateX(-150%);
  animation: btn-shimmer 5s ease-in-out 2s infinite;
  pointer-events: none;
}

@keyframes btn-shimmer {
  0%,
  70% {
    transform: translateX(-150%);
  }
  90%,
  100% {
    transform: translateX(350%);
  }
}

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  background: transparent;
  pointer-events: none;
  transition: padding 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.header--scrolled {
  padding: 10px 24px 0;
}

.header__inner {
  position: relative;
  pointer-events: auto;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  /* Base state — original flat nav */
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(252, 249, 238, 0);
  border: none;
  box-shadow: none;
  transition:
    border-radius 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.5s ease,
    backdrop-filter 0.5s ease,
    box-shadow 0.5s ease,
    padding 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Liquid glass pill — activates on scroll */
.header--scrolled .header__inner {
  padding: 14px 28px;
  border-radius: 9999px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: rgba(252, 249, 238, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.09),
    0 2px 6px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04);
}

/* Shimmer — follows mouse via JS custom property */
.header--scrolled .header__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 30%),
    rgba(255, 255, 255, 0.18) 0%,
    transparent 55%
  );
  pointer-events: none;
  z-index: 1;
}

/* Top specular line — simulates light reflection on glass rim */
.header--scrolled .header__inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.6) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

.header__logo {
  font-family: "Newsreader", serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.333;
  letter-spacing: -0.05em;
  color: #1a2e05;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__nav a {
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.025em;
  color: #57534e;
  transition: color 0.2s;
}

.header__nav a:hover {
  color: #1c1c15;
}

.header__cta {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.025em;
  color: #5c6306;
  border: 1px solid rgba(92, 99, 6, 0.5);
  padding: 10px 24px;
  border-radius: 9999px;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.header__cta:hover {
  background-color: #5c6306;
  color: #ffffff;
}

/* ── Hamburger button (mobile only) ── */
.header__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  flex-shrink: 0;
}

.header__menu-btn span,
.header__menu-btn::before,
.header__menu-btn::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: #1c1c15;
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  position: absolute;
}

.header__menu-btn::before {
  content: "";
  top: 11px;
}
.header__menu-btn span {
  top: 19px;
}
.header__menu-btn::after {
  content: "";
  top: 27px;
}

/* X state when open */
.header--open .header__menu-btn::before {
  transform: translateY(8px) rotate(45deg);
}
.header--open .header__menu-btn span {
  opacity: 0;
  transform: scaleX(0);
}
.header--open .header__menu-btn::after {
  transform: translateY(-8px) rotate(-45deg);
}

/* ── Mobile drawer ── */
.header__drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fcf9ee;
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.header--open ~ .header__drawer {
  opacity: 1;
  pointer-events: auto;
}

.header__drawer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.header__drawer-nav a {
  font-family: "Newsreader", serif;
  font-weight: 400;
  font-size: clamp(28px, 6vw, 40px);
  color: #1c1c15;
  letter-spacing: -0.02em;
  transition: opacity 0.2s;
}

.header__drawer-nav a:hover {
  opacity: 0.6;
}

/* ═══════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 210px 24px;
  text-align: center;
  overflow: visible;
}

/* Hero background SVG */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 1;
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.hero__h1 {
  font-family: "Newsreader", serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 75px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #1c1c15;
  margin-bottom: 0;
}

.hero__h1__cursive {
  font-style: italic;
  display: inline-block;
  padding-right: 0.08em; /* prevents italic S from being clipped */
}

/* When GSAP is loaded, the cursive span uses a background-clip
   colour sweep: starts at 0% width, GSAP animates to 100%.
   Without .gsap-loaded the text stays plain dark — safe fallback. */
.gsap-loaded .hero__h1__cursive {
  background: linear-gradient(90deg, #1c1c15, #1c1c15);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  font-size: 22px;
  line-height: 1.333;
  color: #474839;
  max-width: 700px;
  margin: 0 auto;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.4;
}

.hero__scroll-text {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1c1c15;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(28, 28, 21, 0.3);
  animation: scrollPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  transform-origin: top center;
}

@keyframes scrollPulse {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.3;
  }
  50% {
    transform: scaleY(0.5);
    opacity: 0.7;
  }
}

/* ═══════════════════════════════════════════
   BENTO / THE PROCESS
═══════════════════════════════════════════ */
.bento {
  padding: 96px 0 96px;
}

.bento__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.bento__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 32px;
}

.bento__subtitle {
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.556;
  color: #474839;
  margin-top: 16px;
  width: 100%;
  text-align: left;
}

/* Step nav pills */
.bento__steps-nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
}

.bento__step-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 9999px;
  border: 1px solid rgba(28, 28, 21, 0.14);
  background: transparent;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.bento__step-pill--active {
  background: #e1ea83;
  border-color: #e1ea83;
}

.bento__step-num {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #787867;
}

.bento__step-pill--active .bento__step-num {
  color: #474839;
}

.bento__step-label {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #787867;
}

.bento__step-pill--active .bento__step-label {
  color: #1c1c15;
}

.bento__step-connector {
  flex: 1;
  height: 1px;
  background: rgba(28, 28, 21, 0.14);
  min-width: 32px;
  max-width: 64px;
}

/* Step tag inside each card */
.bento-card__step-tag {
  display: inline-block;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(28, 28, 21, 0.5);
  margin-bottom: 10px;
}

/* Bento fallback: all cards visible, stacked vertically */
.bento__stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 max(24px, calc((100vw - 1280px) / 2 + 24px)) 40px;
}

.bento-card {
  border-radius: 24px;
  overflow: hidden;
  width: 100%;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow:
    0 1px 2px rgba(28, 28, 21, 0.03),
    0 4px 8px rgba(28, 28, 21, 0.04),
    0 12px 24px rgba(28, 28, 21, 0.05),
    0 40px 80px -15px rgba(28, 28, 21, 0.08);
  position: relative;
  border: none;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 2px 4px rgba(28, 28, 21, 0.04),
    0 8px 16px rgba(28, 28, 21, 0.06),
    0 20px 40px rgba(28, 28, 21, 0.09),
    0 48px 80px rgba(28, 28, 21, 0.06);
}

/* Ghost step numbers — editorial luxury treatment */
.bento-card--strategy::before {
  content: "01";
}
.bento-card--storytelling::before {
  content: "02";
}
.bento-card--growth::before {
  content: "03";
}

.bento-card::before {
  position: absolute;
  top: -0.12em;
  right: -0.04em;
  font-family: "Newsreader", serif;
  font-weight: 300;
  font-size: clamp(130px, 17vw, 210px);
  line-height: 1;
  color: rgba(28, 28, 21, 0.055);
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.04em;
}

/* Horizontal scroll layout — only when GSAP is active AND on desktop */
@media (min-width: 1025px) {
  .gsap-loaded .bento {
    overflow: hidden;
  }

  .gsap-loaded .bento__stack {
    flex-direction: row;
    flex-wrap: nowrap;
    width: max-content;
    will-change: transform;
  }

  .gsap-loaded .bento-card {
    flex-shrink: 0;
    width: min(660px, 70vw);
  }
}

/* Card brand colors — warm layered linens */
.bento-card--strategy {
  background-color: #f5f2e9;
}
.bento-card--storytelling {
  background-color: #f0ece2;
}
.bento-card--growth {
  background-color: #eae5d8;
}

.bento-card__img-wrap {
  display: none;
}
.bento-card__overlay {
  display: none;
}

.bento-card__title {
  font-family: "Newsreader", serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.2;
  color: #1c1c15;
  margin-bottom: 16px;
}

.bento-card__text {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.625;
  color: rgba(28, 28, 21, 0.7);
  max-width: 640px;
}

.bento-card__body {
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.bento-card__deco {
  display: none;
}

/* ═══════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════ */
.services {
  padding: 96px 0;
}

.services__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.services__subtitle {
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.556;
  color: #474839;
  margin-top: 16px;
}

.services__list {
  display: flex;
  flex-direction: column;
}

.services__rule {
  height: 1px;
  background: rgba(28, 28, 21, 0.12);
}

.service-item {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 48px 16px;
}

.service-item__num {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.429;
  color: #787867;
  min-width: 32px;
}

.service-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 48px;
}

.service-item__name {
  font-family: "Newsreader", serif;
  font-weight: 400;
  font-size: clamp(28px, 2.8vw, 36px);
  line-height: 1.111;
  color: #1c1c15;
  min-width: 260px;
}

.service-item__desc {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.625;
  color: #474839;
  max-width: 520px;
}

/* Service item hover */
.service-item {
  cursor: default;
  border-radius: 8px;
  transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item__arrow {
  display: none;
}

/* ═══════════════════════════════════════════
   WHO THIS IS FOR
═══════════════════════════════════════════ */
.fit-section {
  background-color: transparent;
  padding: 120px 0;
}

.fit-section__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.fit-section .section-heading {
  color: #f0ece0;
}

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

.fit-section__subtitle {
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.556;
  color: rgba(240, 236, 224, 0.5);
  margin-top: 16px;
}

.fit-section__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  filter: url(#glass-filter-lg);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    0 2px 8px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.fit-col {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.fit-col:first-child {
  background-color: rgba(255, 255, 255, 0.07);
  border-radius: 20px 0 0 20px;
}

.fit-col:last-child {
  background: transparent;
  border: none;
  border-radius: 0 20px 20px 0;
}

.fit-col__label {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 236, 224, 0.4);
}

.fit-col__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fit-col__list li {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(240, 236, 224, 0.82);
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fit-col__list li:last-child {
  border-bottom: none;
}

.fit-col__divider {
  display: none;
}

@media (max-width: 768px) {
  .fit-section__card {
    grid-template-columns: 1fr;
  }

  .fit-col:first-child {
    border-radius: 20px 20px 0 0;
  }
  .fit-col:last-child {
    border-radius: 0 0 20px 20px;
  }

  .fit-col__divider {
    width: auto;
    height: 1px;
    margin: 0 48px;
  }
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testimonials {
  padding: 120px 0;
  overflow: hidden;
}

.testimonials__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.testimonials__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: testimonialMarquee 48s linear infinite;
}

.testimonials__track:hover {
  animation-play-state: paused;
}

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

.testimonial-card {
  background-color: #f6f4e8;
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 480px;
  flex-shrink: 0;
}

.testimonial-card__quote {
  font-family: "Newsreader", serif;
  font-weight: 400;
  font-size: 80px;
  line-height: 0.7;
  color: #80525a;
  opacity: 0.35;
  pointer-events: none;
}

.testimonial-card__text {
  font-family: "Newsreader", serif;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: #474839;
  max-width: 100%;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  overflow: hidden;
  background-color: #dde6c8;
  flex-shrink: 0;
}

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

.testimonial-card__name {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  color: #1c1c15;
}

.testimonial-card__role {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #787867;
  margin-top: 0;
}

/* ═══════════════════════════════════════════
   ABOUT ME
═══════════════════════════════════════════ */
.about {
  padding: 96px 24px;
}

.about__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about__heading {
  margin-bottom: 32px;
}

.about__body {
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.625;
  color: #474839;
  margin-bottom: 24px;
}

.about__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: #5c6306;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 16px;
  transition: color 0.2s;
}

.about__link:hover {
  color: #474839;
}

.about__portrait {
  border-radius: 16px;
  overflow: hidden;
  height: 710px;
}

.about__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ═══════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════ */
.cta-section {
  padding: 0 24px 96px;
}

.cta-section__wrap {
  max-width: 1280px;
  margin: 0 auto;
}

.cta-section__inner {
  background-color: #d0d8be;
  border-radius: 16px;
  padding: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 2px 4px rgba(28, 28, 21, 0.04),
    0 8px 16px rgba(28, 28, 21, 0.06),
    0 24px 48px rgba(28, 28, 21, 0.08);
}

/* Subtle decorative blob */
.cta-section__inner::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(128, 82, 90, 0.08);
  top: -100px;
  right: -60px;
  pointer-events: none;
}

.cta-section__heading {
  font-family: "Newsreader", serif;
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1;
  color: #596002;
  margin-bottom: 16px;
}

.cta-section__sub {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.556;
  color: rgba(89, 96, 2, 0.7);
}

/* ═══════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════ */
.contact {
  padding: 128px 0 144px;
}

.contact__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 192px;
}

.contact__heading {
  margin-bottom: 24px;
}

.contact__sub {
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.556;
  color: #474839;
  margin-bottom: 64px;
}

.contact__success,
.contact__error {
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 20px;
  border-radius: 8px;
  margin: 0;
}

.contact__success {
  background: #dde4cd;
  color: #3a4d2e;
}

.contact__error {
  background: #f5ddd9;
  color: #7a2e26;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field__label {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.333;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1c1c15;
}

.form-field__input,
.form-field__textarea {
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: #1c1c15;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(28, 28, 21, 0.18);
  padding: 16px 0;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}

.form-field__input::placeholder,
.form-field__textarea::placeholder {
  color: rgba(28, 28, 21, 0.3);
  font-weight: 300;
}

.form-field__input:focus,
.form-field__textarea:focus {
  border-bottom-color: #5c6306;
}

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

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
  background-color: #1c1c15;
  padding: 72px 32px 0;
  border-top: 1px solid rgba(28, 28, 21, 0.06);
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer__brand {
  font-family: "Newsreader", serif;
  font-weight: 400;
  font-size: 20px;
  color: #fcf9ee;
  margin-bottom: 12px;
  text-decoration: none;
  display: block;
}

.footer__tagline {
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(252, 249, 238, 0.5);
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social-link {
  color: rgba(252, 249, 238, 0.5);
  transition: color 0.2s;
}

.footer__social-link:hover {
  color: #fcf9ee;
}

.footer__col-heading {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(252, 249, 238, 0.35);
  margin-bottom: 20px;
}

.footer__contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: rgba(252, 249, 238, 0.65);
  transition: color 0.2s;
}

.footer__contact-link:hover {
  color: #fcf9ee;
}

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

.footer__links a {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: rgba(252, 249, 238, 0.65);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #fcf9ee;
}

.footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 0;
  border-top: 1px solid rgba(252, 249, 238, 0.08);
  text-align: center;
}

.footer__copy {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: rgba(252, 249, 238, 0.3);
}

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */

.hero__h1 {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}
.hero__sub {
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.hero__actions {
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
}

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

/* ── 2. Scroll reveal (non-heading elements) ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition:
    opacity 0.8s cubic-bezier(0.32, 0.72, 0, 1),
    transform 0.8s cubic-bezier(0.32, 0.72, 0, 1),
    filter 0.8s cubic-bezier(0.32, 0.72, 0, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal[data-delay="1"] {
  transition-delay: 0.06s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.12s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.18s;
}
.reveal[data-delay="4"] {
  transition-delay: 0.24s;
}

.reveal--left {
  transform: translateX(-24px);
  filter: blur(6px);
}
.reveal--right {
  transform: translateX(24px);
  filter: blur(6px);
}
.reveal--left.is-visible,
.reveal--right.is-visible {
  transform: translate(0);
  filter: blur(0);
}

/* ── Divider line draw ── */
.services__rule {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.services__rule.is-visible {
  transform: scaleX(1);
}

/* ── GSAP override: when loaded, GSAP controls all animations ── */
.gsap-loaded .reveal,
.gsap-loaded .reveal--left,
.gsap-loaded .reveal--right {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}
.gsap-loaded .services__rule {
  transform: scaleX(1);
  transition: none;
}
.gsap-loaded .section-heading {
  opacity: 0; /* GSAP will animate this in */
}

/* ── Respect reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--left,
  .reveal--right,
  .services__rule,
  .hero__h1,
  .hero__sub,
  .hero__actions {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
  .hero__scroll-line {
    animation: none;
  }
  .gsap-loaded .section-heading {
    opacity: 1;
  }
  .gsap-loaded .hero__h1__cursive {
    background-size: 100% 100%;
  }
  .bento-card {
    transition: none;
  }
  .testimonials__track {
    animation: none;
  }
  /* Stop button shimmer */
  .btn--primary::after,
  .btn--cta::after {
    animation: none;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .contact__inner {
    padding: 0 80px;
  }

  .cta-section__inner {
    padding: 64px;
    flex-direction: column;
    align-items: flex-start;
  }

  .bento-card {
    min-height: 320px;
  }

  .bento-card__body {
    padding: 40px 32px;
  }

  .bento-card {
    width: min(580px, calc(100vw - 80px));
    min-height: 360px;
  }

  .bento__stack {
    align-items: center;
  }

  /* Hero: reduce gap to next section on tablet */
  .hero {
    padding: 160px 48px 80px;
  }

  .hero__h1 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  .services {
    padding: 72px 0;
  }
}

@media (max-width: 768px) {
  /* No JS background transitions on mobile — fit-section keeps its dark bg statically */
  .fit-section {
    background-color: #1c2415;
  }

  .header {
    padding: 0 !important;
    pointer-events: auto;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: rgba(252, 249, 238, 0.85);
    border-bottom: 1px solid rgba(28, 28, 21, 0.06);
  }

  .header__inner,
  .header--scrolled .header__inner {
    padding: 16px 20px;
    border-radius: 0;
    border: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    filter: none;
  }

  .header--scrolled .header__inner::before,
  .header--scrolled .header__inner::after {
    display: none;
  }

  .header__nav {
    display: none;
  }

  .header__cta {
    display: none;
  }

  .header__menu-btn {
    display: flex;
  }

  .header__drawer {
    display: flex;
  }

  .hero {
    padding: 120px 24px 60px;
  }

  .services {
    padding: 56px 0;
  }

  .hero__sub {
    font-size: 18px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 24px;
  }

  .bento__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .service-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 32px 16px;
  }

  .service-item__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Testimonials: single-card swipe slider on mobile */
  .testimonials {
    overflow: visible;
    margin-top: -75px;
    padding: 32px 0 80px;
  }

  .testimonials__marquee {
    -webkit-mask-image: none;
    mask-image: none;
    overflow: hidden;
    padding: 0 20px;
  }

  .testimonials__track {
    animation: none;
    display: flex;
    gap: 16px;
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .testimonial-card {
    width: calc(100vw - 40px);
    padding: 32px;
    flex-shrink: 0;
    /* inherit desktop: border-radius, background, box-shadow */
  }

  /* Dot indicators */
  .testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
  }

  .testimonials__dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: rgba(28, 28, 21, 0.2);
    transition:
      background 0.3s,
      width 0.3s;
  }

  .testimonials__dot--active {
    background: #1c1c15;
    width: 20px;
  }

  .testimonial-card__quote {
    font-size: 56px;
  }

  .about__inner {
    grid-template-columns: 1fr;
  }

  .about__portrait {
    height: 400px;
  }

  .cta-section__inner {
    padding: 48px 32px;
  }

  .cta-section__inner::before {
    display: none;
  }

  .contact__inner {
    padding: 0 24px;
  }

  .fit-col {
    padding: 32px 24px;
  }

  .footer {
    padding: 48px 24px 0;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer__col--brand {
    grid-column: 1 / -1;
  }

  .footer__nav {
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* ═══════════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════════ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1c1c15;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.18);
}

.cookie-banner--hidden {
  display: none;
}

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.cookie-banner__text {
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(252, 249, 238, 0.72);
  margin: 0;
  flex: 1;
}

.cookie-banner__text strong {
  color: #fcf9ee;
  font-weight: 600;
}

.cookie-banner__text a {
  color: #fcf9ee;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__text a:hover {
  color: #fcf9ee;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 10px 24px;
  border-radius: 9999px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  border: 2px solid transparent;
}

.cookie-banner__btn--ghost {
  background: transparent;
  color: rgba(252, 249, 238, 0.6);
  border-color: rgba(252, 249, 238, 0.25);
}

.cookie-banner__btn--ghost:hover {
  background: rgba(252, 249, 238, 0.08);
  color: #fcf9ee;
  border-color: rgba(252, 249, 238, 0.45);
}

.cookie-banner__btn--primary {
  background: #fcf9ee;
  color: #1c1c15;
  border-color: #ced8bb;
}

.cookie-banner__btn--primary:hover {
  background: #ede8d8;
  border-color: #ede8d8;
}

@media (max-width: 480px) {
  /* Hero */
  .hero {
    padding: 120px 20px 80px;
  }

  .hero__sub {
    font-size: 16px;
  }

  .hero__scroll {
    display: none;
  }

  /* Services */
  .service-item {
    padding: 24px 16px;
    gap: 12px;
  }

  .service-item__name {
    font-size: 22px;
  }

  /* About */
  .about {
    padding: 72px 24px;
  }

  .about__portrait {
    height: 280px;
  }

  .about__body {
    font-size: 16px;
  }

  /* CTA */
  .cta-section {
    padding: 0 24px 48px;
  }

  /* Contact */
  .contact {
    padding: 80px 0 96px;
  }

  .contact__inner {
    padding: 0 20px;
  }

  /* Bento */
  .bento-card__body {
    padding: 32px 24px;
  }

  .bento-card {
    width: 100%;
    min-height: 300px;
  }

  /* Fit section */
  .fit-col {
    padding: 32px 24px;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
  }
}
