/* =============================================
   SOFI STUDIO — Premium Portfolio
   Main Stylesheet v1.0
   Brand & Packaging Designer
============================================= */

@font-face {
  font-family: 'Woobly';
  src: url('../fonts/Woobly.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* ===== 1. CUSTOM PROPERTIES ===== */
:root {
  /* Brand Colors */
  --color-bg:      #FAFAF2;
  --color-accent:  #CBFB45;
  --color-dark:    #1C1C1C;
  --color-black:   #000000;
  --color-white:   #FFFFFF;
  --color-muted:   #6B6B60;
  --color-border:  rgba(28, 28, 28, 0.12);
  --color-glass:   rgba(250, 250, 242, 0.88);

  /* Typography */
  --font-display: 'Woobly', 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Sizing */
  --container-max:  1280px;
  --container-pad:  clamp(20px, 5vw, 64px);
  --header-height:  76px;
  --header-scrolled: 62px;

  /* Spacing */
  --sp-xs:  8px;
  --sp-sm:  16px;
  --sp-md:  24px;
  --sp-lg:  40px;
  --sp-xl:  64px;
  --sp-2xl: 96px;

  /* Radii */
  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);

  /* Easing */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --spring:      cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== 2. RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto;
  overflow-x: hidden;
}

body {
  background-color: var(--color-bg);
  color: var(--color-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== 3. CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: var(--r-full); }

/* ===== 4. CURSOR ===== */
@media (pointer: fine) {
  body, a, button, [role="button"] { cursor: none; }
}

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 7px; height: 7px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width .3s var(--spring), height .3s var(--spring), background .3s, opacity .3s;
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 38px; height: 38px;
  border: 1.5px solid rgba(255,255,255,0.92);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width .4s var(--spring), height .4s var(--spring), border-color .3s, opacity .3s;
  will-change: transform;
}

.cursor-dot.is-hovering  { width: 10px; height: 10px; background: var(--color-accent); }
.cursor-ring.is-hovering { width: 56px; height: 56px; border-color: var(--color-accent); }
.cursor-dot.is-hidden, .cursor-ring.is-hidden { opacity: 0; }

/* ===== 5. PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: var(--color-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-lg);
}

.preloader__logo {
  height: 48px;
  width: auto;
  filter: invert(1) brightness(2);
  opacity: 0;
  transform: translateY(14px);
}

.preloader__progress {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.preloader__bar-track {
  width: 220px;
  height: 1px;
  background: rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.preloader__bar {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  transition: width .1s linear;
  border-radius: 2px;
}

.preloader__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  min-width: 36px;
  letter-spacing: 0.05em;
}

/* ===== 6. CONTAINER & LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--sp-2xl); }

/* Section Header row */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--sp-lg);
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.section-header__left {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding: 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--r-full);
  width: fit-content;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--color-dark);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-dark);
  padding-bottom: 2px;
  transition: gap .25s var(--spring);
  white-space: nowrap;
  align-self: flex-end;
}
.section-link:hover { gap: 14px; }

/* ===== 7. BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform .25s var(--spring), background-color .25s, box-shadow .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }

.btn--dark  { background: var(--color-dark); color: var(--color-bg); }
.btn--dark:hover  { background: var(--color-black); box-shadow: 0 8px 24px rgba(0,0,0,.22); }

.btn--accent { background: var(--color-accent); color: var(--color-dark); font-weight: 600; }
.btn--accent:hover { box-shadow: 0 8px 28px rgba(203,251,69,.4); }

.btn--ghost  { background: transparent; color: var(--color-dark); border: 1.5px solid rgba(28,28,28,.22); }
.btn--ghost:hover  { border-color: var(--color-dark); background: rgba(28,28,28,.04); }

.btn--lg  { padding: 15px 34px; font-size: 0.97rem; }
.btn--xl  { padding: 18px 46px; font-size: 1.05rem; font-weight: 600; }

.btn .btn-arrow { transition: transform .3s var(--spring); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ===== 8. HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 140;
  height: var(--header-height);
  transition: height .4s var(--ease-out), background-color .4s var(--ease-out),
              backdrop-filter .4s, box-shadow .4s var(--ease-out);
}

.header.scrolled {
  background-color: var(--color-glass);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  height: var(--header-scrolled);
  box-shadow: 0 1px 0 var(--color-border);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
}

.header__logo { display: flex; align-items: center; }
.header__logo img {
  height: 34px;
  width: auto;
  transition: opacity .25s;
}
.header__logo:hover img { opacity: .7; }

.header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
}

.header__nav-link {
  font-size: 0.88rem;
  font-weight: 450;
  color: var(--color-dark);
  position: relative;
  padding-bottom: 2px;
  transition: color .25s;
}
.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width .35s var(--ease-out);
}
.header__nav-link:hover::after,
.header__nav-link.active::after { width: 100%; }
.header__nav-link.active { font-weight: 600; }

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

/* Hamburger button */
.header__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 4px;
}
.header__menu-btn span {
  display: block;
  height: 1.5px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform .4s var(--ease-out), opacity .25s, width .4s var(--ease-out);
  width: 100%;
}
.header__menu-btn span:nth-child(2) { width: 60%; }
.header__menu-btn.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.header__menu-btn.is-active span:nth-child(2) { opacity: 0; width: 0; }
.header__menu-btn.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.header.menu-open .header__menu-btn span {
  background: #b7b7b7;
}

/* ===== 9. MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s var(--ease-out), visibility .6s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-menu__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-xl);
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 4.5rem);
  font-weight: 700;
  color: rgba(255,255,255,.75);
  letter-spacing: -0.025em;
  transition: color .25s;
  line-height: 1.15;
}
.mobile-menu__link:hover { color: var(--color-accent); }

.mobile-menu__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-md);
}

.mobile-menu__social {
  display: flex;
  gap: var(--sp-md);
}

.mobile-menu__social a {
  font-size: 0.8rem;
  color: rgba(255,255,255,.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color .25s;
}
.mobile-menu__social a:hover { color: var(--color-accent); }

/* ===== 10. HERO ===== */
.hero {
  padding-top: calc(var(--header-height) + var(--sp-xl));
  padding-bottom: var(--sp-xl);
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 56fr 44fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  width: 100%;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

/* Availability badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(203,251,69,.12);
  border: 1px solid rgba(203,251,69,.38);
  color: var(--color-dark);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--r-full);
  width: fit-content;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: #22C55E;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.badge-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #22C55E;
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  from { transform: scale(1); opacity: .8; }
  to   { transform: scale(2); opacity: 0; }
}

/* Hero Headline */
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 8rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--color-dark);
}

.line-clip {
  overflow: hidden;
  display: block;
}

.line { display: block; }

.hero__headline .line--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--color-dark);
}

.hero__sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--color-muted);
  max-width: 460px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
  align-items: center;
}

/* Stats strip */
.hero__stats {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, var(--sp-lg));
  padding-top: var(--sp-md);
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; gap: 2px; }

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat__label {
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--color-border);
  flex-shrink: 0;
}

/* Hero Visuals */
.hero__visuals {
  position: relative;
  height: 580px;
  overflow: hidden;
}

.hero__img-stack {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

@supports (overflow: clip) {
  .hero__visuals,
  .hero__img-stack { overflow: clip; }
}

.hero__img-card {
  position: absolute;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__img-card--back {
  width: 62%;
  height: 340px;
  right: 0; bottom: 0;
  transform: rotate(2.8deg);
  z-index: 1;
}

.hero__img-card--front {
  width: 70%;
  height: 430px;
  left: 0; top: 0;
  z-index: 2;
}

.hero__img-badge {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-radius: var(--r-full);
  padding: 7px 15px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-dark);
}
.hero__img-badge::before {
  content: '✦';
  color: var(--color-accent);
  font-size: 0.65rem;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 0; right: -18px;
  writing-mode: vertical-lr;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  z-index: 3;
}

.scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--color-muted), transparent);
  border-radius: 2px;
  animation: scroll-animate 2.2s ease infinite;
}
@keyframes scroll-animate {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 1; }
  45%  { transform: scaleY(1); transform-origin: top;    opacity: 1; }
  55%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ===== 11. MARQUEE ===== */
.marquee-section {
  background: var(--color-dark);
  padding-block: 20px;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  overflow: hidden;
  user-select: none;
}

.marquee-inner {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 100%;
  animation: marquee-scroll 24s linear infinite;
}

.marquee-inner span {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

.marquee-dot {
  color: var(--color-accent) !important;
  font-size: 1.1rem !important;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.marquee-track:hover .marquee-inner { animation-play-state: paused; }

/* ===== 12. SELECTED WORK ===== */
.work { background: var(--color-bg); }

.work-grid {
  column-count: 2;
  column-gap: var(--sp-md);
}

.work-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: var(--sp-md);
}

/* Card base */
.work-card__inner {
  display: block;
  color: inherit;
}

.work-card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

.work-card--large .work-card__media { aspect-ratio: 4/3; }
.work-card--small .work-card__media { aspect-ratio: 4/5; }

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .8s var(--ease-out);
  will-change: transform;
}
.work-card:hover .work-card__media img { transform: scale(1.07); }

/* Eye overlay */
.work-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.06);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
}
.work-card:hover .work-card__overlay { opacity: 1; }

.work-card__eye {
  width: 68px;
  height: 68px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 30px rgba(0,0,0,.22);
  transform: scale(0.4) rotate(-15deg);
  transition: transform .55s var(--spring);
}
.work-card:hover .work-card__eye { transform: scale(1) rotate(0deg); }
.work-card__eye svg { width: 22px; height: 22px; color: var(--color-dark); }

/* Card label */
.work-card__label {
  border: 1.5px solid var(--color-dark);
  border-top: none;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-bg);
  transition: background-color .35s var(--ease-out);
}
.work-card:hover .work-card__label { background-color: var(--color-accent); }

.work-card__meta { display: flex; flex-direction: column; gap: 3px; }

.work-card__title {
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 1.4vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-dark);
  line-height: 1.3;
}

.work-card__cat {
  font-size: 0.75rem;
  color: var(--color-muted);
  letter-spacing: 0.03em;
}

.work-card__arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(28,28,28,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .4s var(--spring), background-color .25s, border-color .25s;
}
.work-card:hover .work-card__arrow {
  transform: rotate(45deg);
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-accent);
}
.work-card__arrow svg { width: 16px; height: 16px; }

/* Work section footer CTA */
.work-footer {
  text-align: center;
  margin-top: var(--sp-lg);
}

/* ===== 13. ABOUT TEASER ===== */
.about-teaser { background: #F0F0E8; }

.about-teaser__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 3.2vw, 44px);
  align-items: center;
}

.about-teaser__left {
  display: grid;
  gap: var(--sp-md);
}

.about-teaser__panel {
  position: relative;
  border: 1.5px solid rgba(28, 28, 28, 0.2);
  border-radius: var(--r-xl);
  background: rgba(250, 250, 242, 0.7);
  padding: 22px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.about-teaser__panel::before,
.about-teaser__panel::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.about-teaser__panel::before {
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(203, 251, 69, 0.24), transparent 72%);
  top: -36px;
  right: -36px;
}

.about-teaser__panel::after {
  width: 84px;
  height: 84px;
  border: 1px dashed rgba(28, 28, 28, 0.24);
  bottom: -26px;
  left: -20px;
}

.about-teaser__panel-tag {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 600;
}

.about-teaser__panel-lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--color-dark);
  border-left: 3px solid var(--color-accent);
  padding-left: 12px;
  margin-block: 18px;
}

.about-teaser__panel-list {
  display: grid;
  gap: 10px;
}

.about-teaser__panel-list li {
  font-size: 0.86rem;
  color: var(--color-muted);
  border: 1px solid rgba(28, 28, 28, 0.14);
  border-radius: var(--r-full);
  padding: 8px 12px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.55);
}

.about-teaser__panel-foot {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  border-top: 1px solid rgba(28, 28, 28, 0.16);
  padding-top: 12px;
}

.about-teaser__img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-teaser__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-teaser__tag-float {
  position: absolute;
  bottom: 24px; right: 24px;
  background: var(--color-accent);
  border-radius: var(--r-full);
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
}

.about-teaser__content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  border: 1px solid rgba(28, 28, 28, 0.14);
  border-radius: var(--r-xl);
  padding: clamp(18px, 3vw, 28px);
  background: rgba(250, 250, 242, 0.7);
}

.about-teaser__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--color-dark);
}

.about-teaser__body {
  font-size: 1rem;
  color: var(--color-muted);
  max-width: 100%;
  line-height: 1.75;
}

.about-teaser__img-col {
  display: grid;
  gap: var(--sp-md);
}

.about-teaser__chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-teaser__chip-row span {
  padding: 8px 12px;
  border: 1px solid rgba(28, 28, 28, 0.18);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.65);
}

/* ===== 14. STRATEGY ===== */
.strategy {
  background: linear-gradient(180deg, #efefe6 0%, #fafaf2 100%);
}

.strategy-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

.strategy-intro {
  border: 1.5px solid rgba(28, 28, 28, 0.16);
  border-radius: var(--r-xl);
  padding: clamp(20px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.62);
  position: sticky;
  top: calc(var(--header-height) + 18px);
}

.strategy-intro__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.9rem);
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--color-dark);
}

.strategy-intro__title em {
  color: var(--color-accent);
  font-style: normal;
}

.strategy-intro__text {
  margin-top: 16px;
  font-size: 1.03rem;
  color: var(--color-muted);
  line-height: 1.75;
  max-width: 420px;
}

.strategy-intro__note {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(28, 28, 28, 0.2);
  border-radius: var(--r-full);
  padding: 8px 14px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
}

.strategy-steps {
  display: grid;
  gap: 14px;
}

.strategy-step {
  border: 1.5px solid rgba(28, 28, 28, 0.14);
  border-radius: var(--r-xl);
  background: rgba(250, 250, 242, 0.95);
  padding: 20px 20px 22px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  transition: transform .28s var(--spring), border-color .28s, background-color .28s;
}

.strategy-step:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 28, 28, 0.24);
  background-color: #fff;
}

.strategy-step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(28, 28, 28, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-dark);
  background: rgba(203, 251, 69, 0.34);
}

.strategy-step__title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  letter-spacing: -0.01em;
  color: var(--color-dark);
}

.strategy-step__text {
  margin-top: 4px;
  font-size: 0.92rem;
  color: var(--color-muted);
  line-height: 1.65;
}

/* ===== 15. SERVICES ===== */
.services { background: var(--color-bg); }

.services-list { list-style: none; }

.service-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: var(--sp-lg);
  align-items: center;
  padding-block: var(--sp-lg);
  border-bottom: 1px solid var(--color-border);
  transition: background-color .25s;
  cursor: default;
}
.service-item:first-child { border-top: 1px solid var(--color-border); }
.service-item:hover { background-color: rgba(203,251,69,.06); }

.service-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
  letter-spacing: 0.06em;
}

.service-content { display: flex; flex-direction: column; gap: 6px; }

.service-name {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--color-dark);
  transition: color .25s;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--color-muted);
  max-width: 480px;
  line-height: 1.55;
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  flex-shrink: 0;
  transition: background-color .3s, border-color .3s, transform .4s var(--spring), color .3s;
}
.service-item:hover .service-icon {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: rotate(45deg);
}
.service-icon svg { width: 18px; height: 18px; }

/* ===== 15. CLIENTS ===== */
.clients { background: var(--color-bg); padding-block: var(--sp-lg); }

.clients__head {
  text-align: center;
  margin-bottom: var(--sp-lg);
}

.clients__marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  padding-block: 14px;
  border-top: 1px solid rgba(28, 28, 28, 0.1);
  border-bottom: 1px solid rgba(28, 28, 28, 0.1);
}

.clients__marquee-inner {
  display: flex;
  width: max-content;
  animation: clients-marquee 18s linear infinite;
  will-change: transform;
}

.clients__logos {
  display: flex;
  align-items: center;
  gap: clamp(42px, 6vw, 88px);
  flex: 0 0 auto;
  padding-inline: 18px;
}

.clients__logo {
  height: 48px;
  width: auto;
  display: block;
  opacity: 1;
  filter: none;
  transition: opacity .3s, filter .3s;
}
.clients__logo:hover { opacity: 1; filter: none; }

.clients__marquee:hover .clients__marquee-inner { animation-play-state: paused; }

@keyframes clients-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== 16. TESTIMONIALS ===== */
.testimonials {
  background: #F3F3EB;
  padding-top: var(--sp-xl);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-md);
}

.testimonial-card {
  border: 1.5px solid rgba(28, 28, 28, 0.15);
  border-radius: var(--r-xl);
  padding: clamp(18px, 2.8vw, 28px);
  background: rgba(250, 250, 242, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--sp-lg);
  min-height: 240px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(203, 251, 69, 0.55);
  line-height: 1;
}

.testimonial-copy {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-dark);
  padding-right: 14px;
}

.testimonial-meta {
  border-top: 1px solid rgba(28, 28, 28, 0.15);
  padding-top: 14px;
}

.testimonial-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-dark);
}

.testimonial-brand {
  margin-top: 2px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

/* ===== 17. CTA BANNER ===== */
.cta-banner {
  background: var(--color-black);
  padding-block: var(--sp-2xl);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(203,251,69,.1) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-lg);
}

.cta-banner__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-full);
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: .96;
  color: var(--color-white);
  max-width: 920px;
}

.cta-banner__title em {
  color: var(--color-accent);
  font-style: normal;
}

.cta-banner__sub {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,.45);
  max-width: 400px;
  line-height: 1.7;
}

/* ===== 18. FOOTER ===== */
.footer {
  background: var(--color-dark);
  padding-block: var(--sp-xl);
  color: rgba(255,255,255,.65);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid rgba(255,255,255,.08);
  align-items: start;
}

.footer__brand { display: flex; flex-direction: column; gap: var(--sp-md); }

.footer__logo img {
  height: 34px;
  width: auto;
  filter: invert(1) brightness(2);
  opacity: .9;
}

.footer__tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 260px;
  color: rgba(255,255,255,.5);
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: var(--sp-md);
}

.footer__nav-list { display: flex; flex-direction: column; gap: 11px; }

.footer__nav-link {
  font-size: 0.92rem;
  color: rgba(255,255,255,.6);
  transition: color .25s;
}
.footer__nav-link:hover { color: var(--color-white); }

.footer__social-links { display: flex; flex-direction: column; gap: 11px; }

.footer__social-link {
  font-size: 0.92rem;
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .25s;
}
.footer__social-link:hover { color: var(--color-accent); }

.footer__social-link svg { width: 14px; height: 14px; flex-shrink: 0; }

.footer__bottom {
  padding-top: var(--sp-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.footer__bottom p,
.footer__bottom span { display: flex; align-items: center; gap: 6px; min-width: 0; }
.footer__bottom .heart { color: var(--color-accent); font-size: 1.1rem; }

/* ===== 19. ANIMATIONS & UTILITY ===== */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ===== 20. MEDIA QUERIES ===== */

/* Large (≤1200px) */
@media (max-width: 1200px) {
  :root { --sp-2xl: 84px; --sp-xl: 56px; }
  .hero__visuals { height: 500px; }
  .hero__img-card--front { height: 370px; }
  .hero__img-card--back  { height: 290px; }
}

/* Medium (≤900px) */
@media (max-width: 900px) {
  :root { --sp-2xl: 70px; --sp-xl: 46px; }

  .header__nav { display: none; }
  .header__actions .btn--accent { display: none; }
  .header__menu-btn { display: flex; }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__badge, .hero__actions, .hero__stats { justify-content: center; }
  .hero__sub { margin-inline: auto; }

  .hero__visuals {
    height: 380px;
    max-width: 500px;
    margin-inline: auto;
    width: min(100%, 500px);
    display: block;
    visibility: visible;
    opacity: 1;
  }

  .hero__scroll-hint { display: none; }

  .hero__img-card--front { width: 72%; height: 340px; }
  .hero__img-card--back  {
    width: 60%;
    height: 260px;
    transform: none;
  }

  .work-grid { column-count: 1; max-width: 560px; margin-inline: auto; }
  .work-card--small .work-card__media { aspect-ratio: 4/3; }

  .about-teaser__inner {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-inline: auto;
  }
  .about-teaser__panel { min-height: 0; }
  .about-teaser__img-wrap { aspect-ratio: 16/9; }

  .strategy-layout {
    grid-template-columns: 1fr;
  }

  .strategy-intro {
    position: static;
  }

  .testimonials-grid { grid-template-columns: 1fr 1fr; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* Small (≤640px) */
@media (max-width: 640px) {
  :root {
    --sp-2xl: 52px;
    --sp-xl:  36px;
    --sp-lg:  28px;
  }

  body { font-size: 1.04rem; }

  .hero__headline {
    font-size: clamp(2.9rem, 12vw, 4.3rem);
    font-weight: 800;
  }

  .hero {
    overflow: hidden;
    min-height: auto;
  }

  .hero__visuals {
    height: 280px;
    width: min(100%, 360px);
    overflow: hidden;
  }

  .hero__img-stack { overflow: hidden; }

  @supports (overflow: clip) {
    .hero,
    .hero__visuals,
    .hero__img-stack { overflow: clip; }
  }

  .hero__img-card--front {
    width: 76%;
    height: 235px;
    left: 0;
    top: 0;
  }

  .hero__img-card--back {
    width: 64%;
    height: 182px;
    right: 0;
    bottom: 0;
  }

  .section-header { flex-direction: column; align-items: flex-start; }
  .section-link { align-self: flex-start; }

  .section-title {
    font-size: clamp(2.15rem, 10vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .section-tag {
    font-size: 0.77rem;
    font-weight: 700;
  }

  .hero__sub {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-dark);
  }

  .btn {
    font-weight: 600;
  }

  .service-item {
    grid-template-columns: 34px 1fr 34px;
    gap: var(--sp-md);
  }

  .service-name {
    font-size: clamp(1.35rem, 7vw, 1.65rem);
    font-weight: 800;
  }

  .service-desc {
    font-size: 0.95rem;
    line-height: 1.65;
  }
  .service-icon {
    display: flex;
    width: 34px;
    height: 34px;
  }
  .service-icon svg { width: 14px; height: 14px; }

  .about-teaser__panel { padding: 18px; }
  .about-teaser__panel-foot { flex-direction: column; gap: 8px; }
  .about-teaser__chip-row span { font-size: 0.72rem; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer__bottom p,
  .footer__bottom span {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .cta-banner__title { font-size: clamp(2rem, 9vw, 3rem); }

  .marquee-inner {
    animation-duration: 34s;
  }

  .clients__marquee-inner {
    animation-duration: 15s;
  }

  .strategy-step {
    grid-template-columns: 44px 1fr;
    padding: 16px 16px 18px;
  }

  .strategy-step__num {
    width: 44px;
    height: 44px;
    font-size: 0.88rem;
  }

  .strategy-step__title {
    font-size: 1.2rem;
  }

  .hero__stats { gap: var(--sp-md); }
  .stat-divider { display: none; }

  .testimonials-grid { grid-template-columns: 1fr; }
}

/* Extra small (≤400px) */
@media (max-width: 400px) {
  :root { --container-pad: 18px; }
  .hero__headline { font-size: clamp(2.2rem, 12vw, 3rem); }
  .btn--lg { padding: 13px 24px; font-size: 0.88rem; }
}
