/* ══════════════════════════════════════════════════════
   Webrander v3 — main.css
   Clean · Professional · Modern
   Palette: White / Blue #2563EB / Dark #111827
   Font: Inter (400 500 600 700 800)
══════════════════════════════════════════════════════ */

/* ── 1. Design Tokens ─────────────────────────────── */
:root {
  --gray-50:  #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-900: #111827;

  --blue-50:  #EFF6FF;
  --blue-100: #DBEAFE;
  --blue-500: #3B82F6;
  --blue-600: #2563EB;
  --blue-700: #1D4ED8;

  --text:     #111827;
  --text-2:   #374151;
  --text-3:   #6B7280;
  --bg:       #F8FAFF;
  --bg-alt:   #EEF2FF;
  --accent:   #2563EB;
  --accent-h: #1D4ED8;
  --accent-lt:#EFF6FF;
  --accent-rgb:   37,99,235;
  --accent-h-rgb: 29,78,216;
  --border:   #E5E7EB;
  --border-2: #D1D5DB;
  --on-dark:  #F9FAFB;
  --on-dark-2:rgba(249,250,251,0.6);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container:    1200px;
  --container-sm: 780px;
  --header-h:     68px;

  --r-sm:   4px;
  --r:      8px;
  --r-lg:   14px;
  --r-xl:   20px;
  --r-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:    0 4px 16px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.04);

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:    140ms;
  --dur-base:    240ms;
  --dur-slow:    420ms;
}

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

html {
  font-size: 16px;
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

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

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* ── 3. Typography ────────────────────────────────── */
h1, .h1 {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

h2, .h2 {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text);
}

h3, .h3 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text);
}

h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

p { line-height: 1.7; }

.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--text-2);
}

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow--on-dark { color: rgba(255,255,255,0.6); }

/* ── 4. Layout ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

.container--sm { max-width: var(--container-sm); }

.section { padding-block: clamp(64px, 8vw, 112px); }

.section--sm { padding-block: clamp(40px, 5vw, 64px); }

.section.is-alt { background: var(--bg-alt); }

/* ── 5. Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--r-full);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    background var(--dur-base) var(--ease-out),
    color var(--dur-base),
    border-color var(--dur-base),
    box-shadow var(--dur-base),
    transform var(--dur-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Primary / Accent — blue */
.btn--primary,
.btn--accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn--primary:hover,
.btn--accent:hover {
  background: var(--accent-h);
  border-color: var(--accent-h);
  box-shadow: 0 4px 16px rgba(var(--accent-rgb),0.32);
}

/* Outline — blue border */
.btn--outline,
.btn--outline-dark {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn--outline:hover,
.btn--outline-dark:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(var(--accent-rgb),0.25);
}

/* Ghost — subtle gray */
.btn--ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border-2);
}

.btn--ghost:hover {
  background: var(--gray-100);
  border-color: var(--gray-300);
  color: var(--text);
}

.btn--sm { padding: 0.45rem 0.9rem; font-size: 0.8rem; }
.btn--lg { padding: 0.8rem 1.7rem; font-size: 0.97rem; }

/* ── 6. Custom Cursor ─────────────────────────────── */
.cursor {
  pointer-events: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
}

.cursor__dot {
  position: absolute;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor__ring {
  position: absolute;
  width: 30px; height: 30px;
  border: 1.5px solid rgba(var(--accent-rgb),0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.22s var(--ease-out),
    height 0.22s var(--ease-out),
    border-color 0.18s,
    opacity 0.2s;
}

.cursor.is-link .cursor__ring {
  width: 42px; height: 42px;
  border-color: var(--accent);
}

.cursor.is-view .cursor__ring {
  width: 64px; height: 64px;
  background: rgba(var(--accent-rgb),0.06);
  border-color: var(--accent);
}

@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ── 6b. Scroll Progress Bar ──────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 101;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ── 7. Header ────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--dur-base), border-color var(--dur-base);
}

.site-header.is-scrolled {
  box-shadow: 0 1px 12px rgba(0,0,0,0.07);
  border-bottom-color: transparent;
}

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

.site-logo-img {
  height: 48px;
  width: auto;
  display: block;
  /* Logo artwork is white/light — invert to dark for the light header. */
  filter: brightness(0);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-menu li a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 0.4rem 0.7rem;
  border-radius: var(--r);
  transition: color var(--dur-fast), background var(--dur-fast);
}

.nav-menu li a:hover { color: var(--text); background: var(--gray-100); }

.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
  color: var(--accent);
  background: var(--accent-lt);
}

.nav-cta { margin-left: 0.75rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--r);
}

.hamburger-line {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s, opacity 0.18s;
}

.hamburger.is-open .hamburger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.is-open .hamburger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem clamp(20px, 5vw, 40px) 1.5rem;
    gap: 0;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }

  .nav-menu { flex-direction: column; align-items: stretch; }

  .nav-menu li a { display: block; padding: 0.65rem 0.5rem; }

  .nav-cta { margin-left: 0; margin-top: 0.75rem; align-self: flex-start; }
}

/* ── 8. Hero ──────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(248,250,255,0.5), rgba(248,250,255,0.68)),
    var(--wr-img-home-hero) center / cover no-repeat;
  background-attachment: fixed;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero { background-attachment: scroll; }
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -15%;
  width: 70vw; height: 70vw;
  background: radial-gradient(ellipse, rgba(var(--accent-rgb),0.1) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -25%; left: -15%;
  width: 55vw; height: 55vw;
  background: radial-gradient(ellipse, rgba(59,130,246,0.06) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-block: clamp(3.5rem, 7vw, 7rem);
}

/* Two-column grid */
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

/* Left column */
.hero__content { max-width: 600px; }

/* Gradient accent word */
.text-gradient {
  background: linear-gradient(135deg, var(--accent) 10%, var(--blue-500) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Badge / eyebrow pill */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent-lt);
  border: 1px solid rgba(var(--accent-rgb),0.2);
  border-radius: var(--r-full);
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.75rem;
}

.hero__badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.75); }
}

.hero__badge span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
}

/* Main heading */
.hero__heading {
  font-size: clamp(38px, 5.5vw, 70px);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

/* Description */
.hero__desc {
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-3);
  max-width: 500px;
  margin-bottom: 2rem;
}

/* CTA row */
.hero__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__actions svg {
  width: 15px; height: 15px;
  transition: transform var(--dur-base);
  flex-shrink: 0;
}

.hero__actions .btn--accent:hover svg { transform: translateX(3px); }

/* Stats row */
.hero__stats {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stat { display: flex; flex-direction: column; gap: 0.15rem; }

.hero-stat__num {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
  display: block;
}

.hero-stat__num--stars {
  font-size: clamp(16px, 1.8vw, 20px);
  letter-spacing: 0.08em;
  color: #F5A623;
}

.hero-stat span {
  font-size: 0.72rem;
  color: var(--text-3);
  font-weight: 400;
  line-height: 1.3;
}

/* ── Right: Visual ─── */
.hero__visual {
  position: relative;
  padding: 2.5rem 2rem;
}

.hero__mockup {
  background: #fff;
  border-radius: 18px;
  box-shadow:
    0 4px 12px rgba(0,0,0,0.05),
    0 20px 50px rgba(var(--accent-rgb),0.13),
    0 60px 100px rgba(0,0,0,0.07);
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(0,0,0,0.06);
  animation: heroFloat 7s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

.hero__mockup-bar {
  background: #F3F4F6;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid #E5E7EB;
}

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot--red    { background: #FF5F57; }
.dot--yellow { background: #FFBD2E; }
.dot--green  { background: #28CA41; }

.hero__mockup-url {
  flex: 1;
  text-align: center;
  font-size: 0.68rem;
  color: var(--gray-500);
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 0.18rem 0.6rem;
  max-width: 160px;
  margin-inline: auto;
}

.hero__mockup-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

/* Floating metric cards */
.hero__float-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.07);
}

.hero__float-card--projects {
  bottom: 0.8rem;
  left: -0.25rem;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  animation: heroFloat 7s ease-in-out infinite;
  animation-delay: -2.5s;
}

.hero__float-card--code {
  top: 1.5rem;
  right: -0.25rem;
  padding: 0.65rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: heroFloat 7s ease-in-out infinite;
  animation-delay: -4.5s;
}

.float-card__num {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
  display: block;
}

.float-card__num--stars {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: #F5A623;
}

.float-card__label {
  font-size: 0.65rem;
  color: var(--text-3);
  font-weight: 500;
  line-height: 1.3;
}

.hero__float-card--code svg {
  width: 16px; height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.hero__float-card--code span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

/* ── 9. Marquee ───────────────────────────────────── */
.marquee {
  overflow: hidden;
  background: var(--gray-900);
  padding: 0.85rem 0;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  gap: 2rem;
  animation: marquee 32s linear infinite;
}

.marquee__track span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(249,250,251,0.55);
  flex-shrink: 0;
}

.marquee__track .sep { opacity: 0.3; }

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

.marquee:hover .marquee__track { animation-play-state: paused; }

/* ── 10. Works Section (Home) ─────────────────────── */
.works-intro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.works-intro h2 { max-width: 540px; }

.works-list { display: flex; flex-direction: column; }

.work-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 5vw, 5rem);
  border-top: 1px solid var(--border);
}

.work-item:last-child { border-bottom: 1px solid var(--border); }

.work-item:nth-child(even) { direction: rtl; }
.work-item:nth-child(even) > * { direction: ltr; }

.work-item__image-wrap {
  display: block;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 2/1;
  background: var(--gray-100);
}

.work-item__image {
  width: 100%; height: 100%;
  transition: transform 0.7s var(--ease-out);
}

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

.work-item__image-wrap:hover .work-item__image { transform: scale(1.04); }

/* Placeholder for projects without screenshots */
.work-item__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-item__placeholder span {
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gray-300);
  user-select: none;
}

.work-item__num {
  position: absolute;
  top: 1rem; left: 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(0,0,0,0.3);
  padding: 0.22rem 0.55rem;
  border-radius: var(--r-full);
  backdrop-filter: blur(4px);
}

.work-item__info {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.work-item__tags {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.work-item__title {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--text);
}

.work-item__desc {
  font-size: 0.95rem;
  color: var(--text-3);
  line-height: 1.65;
}

.works-footer {
  text-align: center;
  margin-top: clamp(2.5rem, 4vw, 4rem);
}

/* ── 11. Arrow Link ───────────────────────────────── */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--dur-base);
}

.arrow-link:hover { gap: 0.8rem; }

.arrow-link svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ── 12. Services Section (Home) ──────────────────── */
.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.services-intro h2 { max-width: 400px; }

.services-list {
  border-top: 1px solid var(--border);
  list-style: none;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.2rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--dur-fast), padding-inline var(--dur-base);
  cursor: default;
}

.service-item:hover {
  background: var(--gray-50);
  padding-inline: 0.75rem;
}

.service-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  width: 24px;
  flex-shrink: 0;
}

.service-body { flex: 1; }

.service-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.service-body p {
  font-size: 0.85rem;
  color: var(--text-3);
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.4s var(--ease-out), opacity 0.35s, margin-top 0.3s;
}

.service-item:hover .service-body p {
  max-height: 6rem;
  opacity: 1;
  margin-top: 0.3rem;
}

.service-arrow {
  width: 30px; height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-3);
  flex-shrink: 0;
  transition:
    background var(--dur-base),
    border-color var(--dur-base),
    color var(--dur-base),
    transform var(--dur-base);
}

.service-item:hover .service-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: rotate(-45deg);
}

/* ── 13. Photo Strip / Testimonial ───────────────── */
.photo-strip {
  position: relative;
  height: clamp(300px, 42vw, 520px);
  overflow: hidden;
}

.photo-strip__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transform: scale(1.03);
  transition: transform 6s ease-out;
}

.photo-strip:hover .photo-strip__img { transform: scale(1.0); }

.photo-strip__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.22) 40%,
    rgba(0,0,0,0.65) 100%
  );
}

.photo-strip__text {
  position: absolute;
  bottom: clamp(2rem, 5vw, 3.5rem);
  left: clamp(20px, 5vw, 60px);
  right: clamp(20px, 5vw, 60px);
}

.photo-strip__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 0.65rem;
}

.photo-strip__quote {
  font-size: clamp(17px, 2.2vw, 28px);
  font-weight: 500;
  font-style: italic;
  color: #fff;
  line-height: 1.45;
  max-width: 640px;
}

.photo-strip__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.1rem;
  font-style: normal;
}

.photo-strip__author-sep {
  width: 20px; height: 1px;
  background: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.photo-strip__author strong {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
}

.photo-strip__author span {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.55);
}

/* Old testimonial block (fallback, not used on home) */
.testimonial { padding-block: clamp(64px, 8vw, 112px); text-align: center; }

.testimonial__inner { max-width: 760px; margin-inline: auto; }

.testimonial__mark {
  font-size: clamp(48px, 8vw, 96px);
  font-style: italic;
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.3;
  display: block;
  margin-bottom: 1.5rem;
}

.testimonial__quote {
  font-size: clamp(18px, 2.5vw, 28px);
  font-style: italic;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.testimonial__author { display: flex; flex-direction: column; gap: 0.25rem; }

.testimonial__author strong { font-weight: 600; color: var(--text); }

.testimonial__author span { font-size: 0.85rem; color: var(--text-3); }

/* ── 14. CTA Section ──────────────────────────────── */
.section--cta {
  padding-block: clamp(80px, 10vw, 130px);
  text-align: center;
  background:
    linear-gradient(rgba(var(--accent-rgb),0.88), rgba(var(--accent-h-rgb),0.92)),
    var(--wr-img-cta) center / cover no-repeat;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

@media (max-width: 900px) {
  .section--cta { background-attachment: scroll; }
}

.section--cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw; height: 80vw;
  max-width: 900px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.10) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.cta-inner h2 {
  max-width: 580px;
  color: #fff;
}

.cta-inner .eyebrow { color: rgba(255,255,255,0.65); }

/* CTA button inverted */
.section--cta .btn--accent,
.section--cta .btn--primary {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

.section--cta .btn--accent:hover,
.section--cta .btn--primary:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* ── 15. Page Header (Inner Pages) ─────────────────
   Same large photo, fixed in place, behind every inner page's header
   — a consistent visual signature that "follows" across the whole site. */
.page-header {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 6vw, 80px));
  padding-bottom: clamp(56px, 7vw, 88px);
  background: var(--gray-900);
  border-bottom: none;
}

.page-header.is-dark { padding-bottom: clamp(64px, 8vw, 96px); }

/* Each page gets its own relevant photo instead of repeating the same one
   everywhere — Company/Services/Portfolio/Contact all read differently. */
.page-header--about {
  background:
    linear-gradient(rgba(17,24,39,0.80), rgba(17,24,39,0.90)),
    var(--wr-img-pagehead-about) center / cover no-repeat fixed;
}
.page-header--services {
  background:
    linear-gradient(rgba(17,24,39,0.80), rgba(17,24,39,0.90)),
    var(--wr-img-pagehead-services) center / cover no-repeat fixed;
}
.page-header--portfolio {
  background:
    linear-gradient(rgba(17,24,39,0.80), rgba(17,24,39,0.90)),
    var(--wr-img-pagehead-portfolio) center / cover no-repeat fixed;
}
.page-header--contact {
  background:
    linear-gradient(rgba(17,24,39,0.80), rgba(17,24,39,0.90)),
    var(--wr-img-pagehead-contact) center / cover no-repeat fixed;
}

@media (max-width: 900px) {
  .page-header--about,
  .page-header--services,
  .page-header--portfolio,
  .page-header--contact { background-attachment: scroll; }
}

.page-header__eyebrow { margin-bottom: 1rem; }

.page-header h1 { max-width: 720px; color: var(--on-dark); }

.page-header .eyebrow { color: rgba(255,255,255,0.55); }

.page-header p {
  max-width: 500px;
  color: var(--on-dark-2);
  margin-top: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .page-header { background-attachment: scroll; }
}

/* ── 16. Services Page ────────────────────────────── */
.services-slabs { display: flex; flex-direction: column; }

.service-slab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(3rem, 6vw, 7rem);
  padding-block: clamp(4rem, 7vw, 8rem);
  border-top: 1px solid var(--border);
}

.service-slab:last-child { border-bottom: 1px solid var(--border); }

.service-slab:nth-child(even) { direction: rtl; }
.service-slab:nth-child(even) > * { direction: ltr; }

.service-slab__num {
  font-size: clamp(72px, 11vw, 128px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--gray-100);
  line-height: 1;
  user-select: none;
}

.service-slab__body { max-width: 480px; }

.service-slab__body .eyebrow { margin-bottom: 0.75rem; }

.service-slab__body h2 { margin-bottom: 1rem; }

.service-slab__body p {
  color: var(--text-3);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ── 17. Portfolio Page ───────────────────────────── */
.portfolio-grid--full { display: flex; flex-direction: column; }

.case-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-block: clamp(3rem, 5vw, 5rem);
  border-top: 1px solid var(--border);
}

.case-entry:last-child { border-bottom: 1px solid var(--border); }

.case-entry:nth-child(even) { direction: rtl; }
.case-entry:nth-child(even) > * { direction: ltr; }

.case-entry__image {
  aspect-ratio: 2/1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}

.case-entry__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.case-entry:hover .case-entry__image img { transform: scale(1.04); }

.case-entry__info { display: flex; flex-direction: column; gap: 1rem; }

.case-entry__meta { display: flex; align-items: center; gap: 1rem; }

.case-entry__num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-3);
}

.case-entry__tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-lt);
  border: 1px solid rgba(var(--accent-rgb),0.15);
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
}

.case-entry__title {
  font-size: clamp(20px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
}

.case-entry__excerpt {
  font-size: 0.93rem;
  color: var(--text-3);
  line-height: 1.65;
}

/* ── 18. About Page ───────────────────────────────── */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.about-story__text .eyebrow { margin-bottom: 1rem; }

.about-story__text h2 { margin-bottom: 1.25rem; }

.about-story__text p {
  color: var(--text-3);
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

.about-story__image {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--gray-100);
}

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

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-block: clamp(3rem, 5vw, 5rem);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item { display: flex; flex-direction: column; gap: 0.35rem; }

.stat-num {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-3);
  line-height: 1.3;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.value-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: box-shadow var(--dur-base), border-color var(--dur-base);
}

.value-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border-2);
}

.value-card__icon {
  width: 36px; height: 36px;
  background: var(--accent-lt);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.value-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }

.value-card p { font-size: 0.88rem; color: var(--text-3); line-height: 1.6; }

/* Process (scroll-scrubbed canvas — About page, desktop only) */
.process-section--mobile { display: none; }

@media (max-width: 768px) {
  /* Canvas + scroll-jacked pin is unreliable on phones (address-bar resize,
     devicePixelRatio quirks) — swap it for plain static cards instead. */
  .process-section { display: none; }

  .process-section--mobile {
    display: block;
    padding-block: clamp(48px, 10vw, 80px);
  }

  .process-mobile-card {
    padding: clamp(2rem, 6vw, 2.75rem) clamp(1.25rem, 5vw, 1.75rem);
    border-radius: var(--r-xl);
    margin-bottom: 1rem;
  }
  .process-mobile-card:last-child { margin-bottom: 0; }

  .process-mobile-card--1 { background: linear-gradient(135deg, rgb(11,15,25), rgb(50,15,28)); }
  .process-mobile-card--2 { background: linear-gradient(135deg, rgb(18,10,20), rgb(110,28,45)); }
  .process-mobile-card--3 { background: linear-gradient(135deg, rgb(8,18,32), rgb(20,55,80)); }
  .process-mobile-card--4 { background: linear-gradient(135deg, rgb(15,20,35), rgb(122,31,43)); }

  .process-mobile-card__label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.75rem;
  }

  .process-mobile-card__title {
    font-size: clamp(22px, 6vw, 30px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #fff;
  }
}

.process-scroll-driver { height: 300vh; }

.process-sticky {
  position: relative;
  height: 100vh;
  height: 100svh; /* stable on mobile: ignores the address-bar show/hide resize that broke the pin */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#process-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

.process-text-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
}

.process-step-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.75rem;
}

.process-step-title {
  font-size: clamp(26px, 4vw, 50px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
}

.process-progress {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.process-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: background 0.3s, transform 0.3s;
}

.process-dot.is-active { background: #fff; transform: scale(1.4); }

/* ── 19. Contact Page ─────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
}

.contact-info { display: flex; flex-direction: column; gap: 2.5rem; }

.contact-info__intro h2 { margin-bottom: 1rem; }

.contact-info__intro p { color: var(--text-3); line-height: 1.7; }

.contact-links { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-link { display: flex; flex-direction: column; gap: 0.2rem; }

.contact-link .label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.contact-link a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--dur-fast);
}

.contact-link a:hover { color: var(--accent); }

/* Form */
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  box-shadow: var(--shadow);
}

.service-context-note {
  background: var(--accent-lt);
  border: 1px solid var(--blue-100);
  color: var(--accent-h);
  font-size: 0.85rem;
  line-height: 1.6;
  padding: 0.85rem 1rem;
  border-radius: var(--r);
  margin-bottom: 1.5rem;
}

.service-context-note strong { color: var(--accent-h); }

.contact-form-wrap h2 { margin-bottom: 1.75rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.field { margin-bottom: 1.35rem; }

.field--full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.55rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-3); }

.field input:hover,
.field textarea:hover { border-color: var(--border-2); }

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px var(--accent-lt);
}

.field textarea { min-height: 140px; resize: vertical; }

#form-submit { margin-top: 0.5rem; }

.form-msg {
  padding: 0.85rem 1rem;
  border-radius: var(--r);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-block: 0;
  border-width: 0;
  transition: max-height var(--dur-slow) var(--ease-out),
              opacity var(--dur-slow) var(--ease-out),
              padding-block var(--dur-slow) var(--ease-out),
              margin-bottom var(--dur-slow) var(--ease-out);
}

.form-msg.is-success,
.form-msg.is-error {
  max-height: 120px;
  opacity: 1;
  padding-block: 0.85rem;
  border-width: 1px;
  border-style: solid;
}

.form-msg.is-success { background: #ECFDF5; color: #065F46; border-color: #A7F3D0; }

.form-msg.is-error { background: #FEF2F2; color: #991B1B; border-color: #FECACA; }

/* ── 20. Single Project ───────────────────────────── */
.project-hero {
  background:
    linear-gradient(rgba(17,24,39,0.80), rgba(17,24,39,0.90)),
    var(--wr-img-cta) center / cover no-repeat;
  background-attachment: fixed;
  padding-top: calc(var(--header-h) + clamp(48px, 6vw, 80px));
  padding-bottom: clamp(60px, 8vw, 96px);
}

@media (max-width: 900px) {
  .project-hero { background-attachment: scroll; }
}

.project-hero h1 { color: var(--on-dark); max-width: 720px; margin-bottom: 2rem; }

.project-hero__meta { display: flex; flex-wrap: wrap; gap: 2.5rem; }

.project-hero__meta-item { display: flex; flex-direction: column; gap: 0.25rem; }

.project-hero__meta-item .label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(249,250,251,0.45);
}

.project-hero__meta-item .value {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--on-dark);
}

.project-featured-image {
  aspect-ratio: 2/1;
  overflow: hidden;
  background: var(--gray-100);
  border-radius: var(--r-xl);
  margin-block: clamp(2rem, 4vw, 4rem);
}

.project-featured-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.project-content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: start;
}

.project-content h2 { margin-block: 2rem 0.75rem; }
.project-content h3 { margin-block: 1.5rem 0.5rem; }
.project-content p { margin-bottom: 1rem; color: var(--text-2); }

.project-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.project-sidebar__card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-sidebar__item .label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  display: block;
  margin-bottom: 0.3rem;
}

.project-sidebar__item .value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

/* ── 21. Footer ───────────────────────────────────── */
.site-footer {
  background: var(--gray-900);
  color: var(--on-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3.5rem, 6vw, 6rem);
  border-bottom: 1px solid rgba(249,250,251,0.07);
}

.footer-brand { display: flex; flex-direction: column; gap: 0.85rem; }

.footer-logo { display: inline-flex; }

.footer-logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--on-dark-2);
  max-width: 260px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(249,250,251,0.4);
  margin-bottom: 1.25rem;
}

.footer-col ul li { margin-bottom: 0.55rem; }

.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(249,250,251,0.65);
  transition: color var(--dur-fast);
}

.footer-col ul a:hover { color: var(--on-dark); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.25rem;
  font-size: 0.78rem;
  color: rgba(249,250,251,0.35);
}

.footer-bottom a { color: rgba(249,250,251,0.5); transition: color var(--dur-fast); }
.footer-bottom a:hover { color: var(--on-dark); }

/* ── 22. Page Transitions ─────────────────────────── */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
  transition: opacity 280ms ease-in;
}

.page-transition-overlay.is-leaving { opacity: 1; pointer-events: all; }

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

/* No "both"/"forwards" fill-mode: a lingering transform (even translateY(0))
   on <main> creates a new containing block, breaking position:fixed for any
   descendant (e.g. the GSAP ScrollTrigger pin on the About page process
   section). Default fill-mode reverts to the unanimated state after it runs,
   which is visually identical (opacity:1, no transform) but doesn't leave a
   transform declaration behind. */
body > main { animation: pageEnter 0.45s var(--ease-out); }

/* ── 23. Stats Strip ──────────────────────────────── */
.stats-strip {
  background: var(--gray-900);
  padding-block: clamp(3rem, 5vw, 5rem);
}

.stats-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.stat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  flex: 1;
}

.stat-block__num {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1;
  display: block;
}

.stat-block__num--stars {
  font-size: clamp(20px, 2.6vw, 28px);
  letter-spacing: 0.08em;
  color: #F5A623;
}

.stat-block__label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  line-height: 1.3;
}

.stats-strip__divider {
  width: 1px;
  height: 3rem;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ── 24. Media Queries ────────────────────────────── */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero__content { max-width: 100%; }
  .hero__desc { max-width: 100%; }
  .services-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .stats-strip__divider { display: none; }
  .stats-strip__inner { flex-wrap: wrap; gap: 1.5rem; }
  .stat-block { flex-basis: 45%; }
}

@media (max-width: 768px) {
  .work-item { grid-template-columns: 1fr; }
  .work-item:nth-child(even) { direction: ltr; }

  .service-slab { grid-template-columns: 1fr; }
  .service-slab:nth-child(even) { direction: ltr; }

  .case-entry { grid-template-columns: 1fr; }
  .case-entry:nth-child(even) { direction: ltr; }

  .about-story { grid-template-columns: 1fr; }
  .about-story__image { aspect-ratio: 16/9; max-height: 380px; }
  .about-stats { grid-template-columns: 1fr 1fr; }

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

  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

  .project-content-grid { grid-template-columns: 1fr; }
  .project-sidebar { position: static; }

  .hero__actions { gap: 0.6rem; }
  .hero__stats { gap: 1.25rem; }
}

@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__stats { flex-wrap: wrap; gap: 1rem; }
  .stat-block { flex-basis: 100%; }
}

/* ── 24. WhatsApp Floating Button ─────────────────── */
.whatsapp-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
  z-index: 95;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(0,0,0,0.3);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(1.7); opacity: 0; }
}

@media (max-width: 640px) {
  .whatsapp-float { width: 50px; height: 50px; }
  .whatsapp-float svg { width: 25px; height: 25px; }
}
