/* ============================================================
   Yours Socially — premium animated site
   Brand: Chathams Blue #204E72 · Egg Sour #F9F6DF
   Fonts: Cormorant (headings) · Poppins (body)
   Motion engine: GSAP + ScrollTrigger + Lenis + SplitType
   Built to Premium_Website_Animation_Specification.docx
   ============================================================ */

:root {
  --blue: #204E72;
  --blue-dark: #163a55;
  --blue-light: #7fc4ff;
  --cream: #F9F6DF;
  --cream-soft: #fdfcf3;
  --ink: #1c2b38;
  --muted: #5a6b78;
  --line: rgba(32, 78, 114, 0.12);
  --radius: 18px;
  --maxw: 1200px;
  --shadow: 0 18px 50px -20px rgba(32, 78, 114, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* hide default cursor when custom cursor is active (fine pointers only) */
html.custom-cursor, html.custom-cursor a, html.custom-cursor button { cursor: none; }

/* ---- animation base states (only when JS is on) ---- */
html.js [data-fade],
html.js [data-reveal] { opacity: 0; }
html.js .split-line { overflow: hidden; }

.section-label {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue); font-weight: 600; margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Cormorant', serif; font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1;
  color: var(--blue); letter-spacing: -0.01em;
}
.section-title .word { display: inline-block; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem; border-radius: 999px;
  font-weight: 500; font-size: 0.95rem; border: 1.5px solid transparent;
  cursor: pointer; transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn > * { position: relative; z-index: 1; }
/* highlight sweep */
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: rgba(255,255,255,0.22);
  transform: translateX(-101%) skewX(-12deg);
  transition: transform 0.5s var(--ease);
}
.btn:hover::before { transform: translateX(101%) skewX(-12deg); }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--blue); color: var(--cream); }
.btn--primary:hover { background: var(--blue-dark); }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--blue); }
.btn--light:hover { background: #fff; }
.btn--full { width: 100%; margin-top: 0.5rem; }

/* ============ LOADING SCREEN ============ */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #0b141c;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.6rem; overflow: hidden;
}
.loader__logo {
  height: 76px; width: auto; opacity: 0;
  filter: blur(8px); transform: scale(0.85);
}
.loader__bar {
  width: min(240px, 60vw); height: 2px;
  background: rgba(249,246,223,0.18); border-radius: 2px; overflow: hidden;
}
.loader__fill { display: block; height: 100%; width: 0%; background: var(--cream); }
.loader__pct {
  font-family: 'Cormorant', serif; font-size: 1.1rem; letter-spacing: 0.2em;
  color: var(--cream); opacity: 0.7;
}
/* soft animated gradient + floating blurred blobs */
.loader__blobs span {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.13;
}
.loader__blobs span:nth-child(1){ width: 320px; height: 320px; background: #3a7cb8; top: -60px; left: -40px; animation: blob 9s ease-in-out infinite; }
.loader__blobs span:nth-child(2){ width: 260px; height: 260px; background: #7fc4ff; bottom: -50px; right: -30px; animation: blob 11s ease-in-out infinite reverse; }
.loader__blobs span:nth-child(3){ width: 220px; height: 220px; background: #F9F6DF; top: 40%; left: 55%; animation: blob 13s ease-in-out infinite; }
@keyframes blob { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(30px,-24px) scale(1.12);} }
.loader__grain {
  position: absolute; inset: 0; opacity: 0.05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ CUSTOM CURSOR ============ */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none; border-radius: 50%; }
.cursor {
  width: 38px; height: 38px; border: 1.5px solid var(--blue);
  margin: -19px 0 0 -19px;
  transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease, background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}
.cursor.is-hover { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: rgba(32,78,114,0.10); }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--blue); }
.cursor.hidden, .cursor-dot.hidden { opacity: 0; }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--blue); z-index: 200;
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.nav.solid { background: rgba(249, 246, 223, 0.92); backdrop-filter: blur(10px); box-shadow: 0 6px 24px -18px rgba(0,0,0,0.4); }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 1.1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  transition: padding 0.35s ease;
}
.nav.solid .nav__inner { padding: 0.7rem 1.5rem; }
.nav__links { display: flex; gap: 1.8rem; align-items: center; }
.nav__links a {
  position: relative; font-size: 0.9rem; font-weight: 500; color: var(--cream);
  transition: color 0.2s ease;
}
.nav.solid .nav__links a { color: var(--ink); }
/* underline grows left→right */
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { color: var(--cream) !important; }
.nav.solid .nav__cta { color: var(--cream) !important; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__burger span { width: 26px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease; }
.nav.solid .nav__burger span { background: var(--blue); }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__drawer { display: none; flex-direction: column; gap: 0.4rem; padding: 1rem 1.5rem 1.4rem; background: var(--cream); }
.nav__drawer a { padding: 0.5rem 0; font-weight: 500; color: var(--ink); }
.nav__drawer.open { display: flex; }
.nav__cta-mobile { color: var(--blue) !important; font-weight: 600; }

/* ============ HERO — tall section; inner sticky keeps the video in place ============ */
.hero { position: relative; height: 260vh; background: var(--blue-dark); }
.hero__sticky {
  position: sticky; top: 0; height: 100vh; min-height: 560px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  filter: url(#ys-duotone) contrast(1.04);   /* editorial two-tone grade */
}
/* readability scrim (kept light so the duotone grade shows) */
.hero__duotone {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,20,28,0.15) 0%, rgba(11,20,28,0.55) 100%),
    radial-gradient(120% 80% at 50% 55%, transparent 35%, rgba(11,20,28,0.45) 100%);
}
/* subtle animated film grain over the hero */
.hero__grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grainShift 0.7s steps(4) infinite;
}
@keyframes grainShift {
  0%{ transform: translate(0,0);} 25%{ transform: translate(-4%,3%);} 50%{ transform: translate(3%,-3%);} 75%{ transform: translate(-3%,-2%);} 100%{ transform: translate(2%,3%);}
}
.hero__intro {
  position: absolute; z-index: 3; text-align: center; color: var(--cream);
  padding: 0 1.5rem; max-width: 960px;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
/* full-height work columns, layered over the video (BTI style) */
.hero__boxes {
  position: absolute; z-index: 2; inset: 0;
  display: flex; gap: 6px;
  pointer-events: none;
}
.hbox {
  position: relative; flex: 1; min-width: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hbox__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hbox::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,20,28,0.25) 0%, rgba(11,20,28,0.7) 100%); }
.hbox__cap { position: relative; z-index: 2; text-align: center; color: var(--cream); padding: 1rem; }
.hbox__brand { display: block; font-family: 'Cormorant', serif; font-weight: 700; font-size: clamp(1.8rem, 3.2vw, 3.2rem); line-height: 1.05; letter-spacing: 0.02em; }
.hbox__sub { display: block; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; margin-top: 0.5rem; }
.hero__eyebrow {
  letter-spacing: 0.24em; text-transform: uppercase; font-size: 0.78rem;
  font-weight: 600; opacity: 0.9; margin-bottom: 1.4rem;
}
.hero__title {
  font-family: 'Cormorant', serif; font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 6.5rem); line-height: 1.0;
  letter-spacing: -0.02em;
}
.hero__title .word { display: inline-block; }
.hero__lead { margin: 1.8rem auto 0; max-width: 52ch; font-size: 1.1rem; color: rgba(249,246,223,0.9); }
.hero__ctas { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero__scroll-hint {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2;
  color: var(--cream); font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; opacity: 0.75;
}
.hero__scroll-hint span { position: relative; }
.hero__scroll-hint span::after {
  content: ''; position: absolute; left: 50%; top: 130%; width: 1px; height: 26px;
  background: var(--cream); animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100%{ transform: scaleY(0.4); opacity: 0.4;} 50%{ transform: scaleY(1); opacity: 1;} }

/* ============ BRAND REVEAL ============ */
.reveal { position: relative; height: 100vh; min-height: 560px; background: var(--cream); overflow: hidden; }
.reveal__brand {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.reveal__mark { height: clamp(70px, 12vw, 130px); width: auto; margin-bottom: 1.2rem; }
.reveal__name {
  font-family: 'Cormorant', serif; font-weight: 700; color: var(--blue);
  font-size: clamp(2.6rem, 8vw, 6rem); line-height: 1; letter-spacing: -0.01em;
}
.reveal__name em { font-style: italic; font-weight: 500; }
.reveal__tag { margin-top: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.8rem; color: var(--muted); }
/* blue panel that slides up over the brand */
.reveal__panel { position: absolute; inset: 0; z-index: 2; background: var(--blue); transform: translateY(100%); }

/* ============ SERVICES SLIDER ============ */
.services { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6rem); background: var(--cream); }
.services__head { max-width: var(--maxw); margin: 0 auto 2.5rem; padding: 0 1.5rem; }
.serv-swiper { position: relative; }
.serv-slide {
  position: relative; height: 62vh; min-height: 420px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: var(--cream);
}
/* animated moving gradient background per slide (BTI uses red waves; we use blue) */
.serv-slide__bg {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, #163a55, #204E72, #2f6ea3, #163a55);
  background-size: 300% 300%;
  animation: gradientMove 12s ease infinite;
}
.serv-slide__bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 80% 20%, rgba(127,196,255,0.25), transparent 60%);
}
@keyframes gradientMove { 0%{ background-position: 0% 50%;} 50%{ background-position: 100% 50%;} 100%{ background-position: 0% 50%;} }
.serv-slide__inner { position: relative; z-index: 2; text-align: center; padding: 2rem 1.5rem; max-width: 900px; }
.serv-slide__num { font-family: 'Cormorant', serif; font-size: 1.1rem; letter-spacing: 0.3em; opacity: 0.7; }
.serv-slide__title {
  font-family: 'Poppins', sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.4rem, 6.5vw, 5.4rem); line-height: 0.98; letter-spacing: -0.02em; margin: 0.7rem 0 1.1rem;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}
.serv-slide__desc { max-width: 52ch; margin: 0 auto; font-size: 1.02rem; color: rgba(249,246,223,0.9); }
/* nav row: arrows + dots */
.serv-swiper__nav { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2rem; }
.serv-prev, .serv-next {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--blue);
  background: transparent; color: var(--blue); font-size: 1.5rem; cursor: pointer; line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}
.serv-prev:hover, .serv-next:hover { background: var(--blue); color: var(--cream); }
.serv-swiper .swiper-pagination { position: static; display: flex; gap: 0.5rem; width: auto; }
.serv-swiper .swiper-pagination-bullet { background: var(--blue); opacity: 0.3; transition: opacity 0.2s ease, width 0.2s ease; }
.serv-swiper .swiper-pagination-bullet-active { opacity: 1; width: 26px; border-radius: 5px; }

/* ============ STATS ============ */
.stats {
  background: var(--blue); color: var(--cream); padding: 4rem 1.5rem;
  margin-top: -28px; border-radius: 28px 28px 0 0; position: relative; z-index: 3;
}
.stats__tagline { text-align: center; font-family: 'Cormorant', serif; font-style: italic; font-size: clamp(1.3rem, 3vw, 2rem); margin-bottom: 2.4rem; opacity: 0.92; }
.stats__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.stat { text-align: center; padding: 0.4rem 1rem; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background: rgba(249,246,223,0.18); }
.stat__num { display: block; font-family: 'Cormorant', serif; font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1; }
.stat__label { display: block; margin-top: 0.6rem; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }

/* ============ ABOUT ============ */
.about { padding: clamp(4rem, 8vw, 6.5rem) 1.5rem; }
.about__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.about__body p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.2rem; }
.about__body strong { color: var(--blue); font-weight: 600; }

/* shared section heads */
.work__head, .testimonials__head { max-width: var(--maxw); margin: 0 auto 2.5rem; }
.work__head .section-title { max-width: 20ch; }

/* ============ WORK ============ */
.work { padding: clamp(4rem, 8vw, 6rem) 1.5rem; }
.work__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.work-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; color: var(--cream); }
.work-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.work-card:hover .work-card__img { transform: scale(1.09); }
.work-card::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(32,78,114,0.1) 0%, rgba(22,58,85,0.85) 100%); }
.work-card__body { position: relative; z-index: 2; padding: 1.8rem; width: 100%; }
.work-card__meta { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.work-card__title { font-family: 'Cormorant', serif; font-size: 1.7rem; font-weight: 600; margin: 0.3rem 0 0.6rem; }
.work-card__more { font-size: 0.85rem; font-weight: 500; border-bottom: 1px solid var(--cream); display: inline-block; transition: opacity 0.2s ease; }
.work-card:hover .work-card__more { opacity: 0.85; }

/* ============ TESTIMONIALS ============ */
.testimonials { padding: clamp(4rem, 8vw, 6rem) 1.5rem; background: var(--cream); }
.carousel { max-width: 900px; margin: 0 auto; position: relative; display: flex; align-items: center; gap: 1rem; }
.carousel__track { overflow: hidden; flex: 1; }
.slide { text-align: center; padding: 1rem 2rem; }
.slide__quote { font-family: 'Cormorant', serif; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.3; color: var(--blue); font-style: italic; }
.slide__cap { margin-top: 1.6rem; display: flex; align-items: center; justify-content: center; gap: 0.8rem; text-align: left; }
.slide__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--blue); }
.slide__who { font-weight: 600; color: var(--ink); }
.slide__role { font-size: 0.85rem; color: var(--muted); }
.carousel__arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--blue);
  background: transparent; color: var(--blue); font-size: 1.4rem; cursor: pointer; flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease; line-height: 1;
}
.carousel__arrow:hover { background: var(--blue); color: var(--cream); }
.carousel__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.8rem; }
.carousel__dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--line); cursor: pointer; transition: background 0.15s ease; }
.carousel__dots button.active { background: var(--blue); }

/* ============ CLIENTS ============ */
.clients { padding: 3rem 0; text-align: center; overflow: hidden; }
.clients__label { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.8rem; }
.clients__marquee { overflow: hidden; }
.clients__track { display: flex; gap: 3rem; width: max-content; animation: marquee 28s linear infinite; }
.clients__track span { font-family: 'Cormorant', serif; font-size: 1.6rem; font-weight: 600; color: var(--blue); opacity: 0.45; white-space: nowrap; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ CONTACT ============ */
.contact { padding: clamp(4rem, 8vw, 6rem) 1.5rem; }
.contact__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.contact__note { color: var(--muted); margin-top: 1.2rem; max-width: 42ch; }
.contact__meta { list-style: none; margin-top: 2rem; display: grid; gap: 1rem; }
.contact__meta li { display: flex; flex-direction: column; }
.contact__meta span { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.contact__meta a { color: var(--blue); font-weight: 500; }
.contact__form { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: grid; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.82rem; font-weight: 500; color: var(--ink); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 0.95rem; padding: 0.7rem 0.85rem;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(32, 78, 114, 0.12); }
.field.invalid input, .field.invalid textarea { border-color: #d64545; }
.field input.invalid { border-color: #d64545; }
.form-status { font-size: 0.9rem; text-align: center; min-height: 1.2em; }
.form-status.success { color: #1f7a4d; font-weight: 500; }
.form-status.error { color: #d64545; }

/* ============ FOOTER ============ */
.footer { background: var(--blue); color: var(--cream); padding: 3.5rem 1.5rem 1.8rem; }
.footer__top { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; }
.footer__logo { height: 60px; width: auto; margin-bottom: 1rem; }
.footer__tag { font-family: 'Cormorant', serif; font-size: 1.3rem; opacity: 0.9; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__col h4 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; opacity: 0.7; }
.footer__col a { display: block; padding: 0.3rem 0; font-size: 0.92rem; opacity: 0.9; transition: opacity 0.15s ease; }
.footer__col a:hover { opacity: 1; }
.footer__bottom { max-width: var(--maxw); margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(249, 246, 223, 0.2); font-size: 0.82rem; opacity: 0.75; text-align: center; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
  .about__inner, .contact__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .work__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .slide { padding: 1rem 0.5rem; }
  .carousel { gap: 0.4rem; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  /* hero work-columns: keep 3 but slimmer text on phones */
  .hero__boxes { gap: 3px; }
  .hbox__brand { font-size: 1.15rem; }
  .hbox__sub { display: none; }
  .serv-slide { height: 52vh; min-height: 340px; }
}

/* touch / no-hover devices: no custom cursor */
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
  html.custom-cursor, html.custom-cursor a, html.custom-cursor button { cursor: auto; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html.js [data-fade], html.js [data-reveal] { opacity: 1 !important; }
  .loader { display: none; }
  .cursor, .cursor-dot { display: none; }
  .clients__track, .loader__blobs span, .hero__scroll-hint span::after, .serv-slide__bg, .hero__grain { animation: none; }
  .reveal__panel { display: none; }
  * { scroll-behavior: auto !important; }
}
