/* ============================================================
   Mark — Liquid-glass portfolio (multi-page)
   ============================================================ */

:root {
  --bg:        #141416;
  --bg-2:      #0e0e10;
  --cream:     #e9e2d0;
  --cream-dim: #c8c2b3;
  --tan:       #b9a98a;
  --text:      #f4f1ea;
  --muted:     #9a988f;
  --line:      rgba(233, 226, 208, .14);

  --glass-bg:     rgba(27, 28, 34, .94);
  --glass-stroke: rgba(255, 255, 255, .14);

  --accent:    #c9a96a;            /* warm gold */
  --accent-2:  #6f6af0;            /* cool indigo */

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1280px;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --radius: 22px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }

body {
  font-family: var(--sans);
  background:
    repeating-linear-gradient(to right,  rgba(233, 226, 208, .028) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(to bottom, rgba(233, 226, 208, .028) 0 1px, transparent 1px 88px),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background flavor: a slow drifting aurora glow for depth + motion. Grid lives
   on the body, grain sits in ::after. The panels are opaque and use no
   backdrop-filter, so none of this can bleed or band inside the cards. */
body::before {
  content: "";
  position: fixed; inset: -15vmax; z-index: -3; pointer-events: none;
  background:
    radial-gradient(40vmax 40vmax at 15% 12%, rgba(201, 169, 106, .14), transparent 60%),
    radial-gradient(45vmax 45vmax at 85% 22%, rgba(111, 106, 240, .11), transparent 62%),
    radial-gradient(48vmax 48vmax at 72% 92%, rgba(185, 169, 138, .10), transparent 60%);
  animation: aurora 28s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-4%, 3%, 0) scale(1.1); }
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #111; }

/* ---------- Glass utility ----------
   No backdrop-filter on purpose: on the GPU it renders vertical edge bands
   inside every panel. We fake the glass with an opaque-enough base + a light
   border + an inner top highlight + the cursor edge-light below. Nothing is
   sampled from behind the panel, so no bleed and no banding is possible. */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-stroke);
  box-shadow:
    0 1px 0 rgba(255,255,255,.07) inset,
    0 20px 50px -24px rgba(0,0,0,.8);
  position: relative;
}
/* liquid edge-light: only the rim catches light, brightest near the cursor */
.glass::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.5px;                 /* thickness of the lit border ring */
  background:
    radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%),
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, .55) 30%,
      rgba(255, 255, 255, .08) 55%,
      rgba(255, 255, 255, 0) 75%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;   /* keep only the border ring */
  opacity: 0;
  transition: opacity .22s var(--ease);
  pointer-events: none;
}
.glass:hover::after { opacity: 1; }

/* ---------- Layout ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 11vh, 9rem) var(--pad);
}
.section--tight { padding-top: clamp(2rem, 5vh, 3.5rem); }
.section__head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.eyebrow {
  display: inline-block;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--tan); font-weight: 500;
}
.display {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.01em;
  margin-top: .4rem;
}
.display em { font-style: italic; color: var(--cream); }

/* ============================================================
   Page-transition curtain
   ============================================================ */
.curtain {
  position: fixed; inset: 0; z-index: 190;
  background: var(--bg-2);
  display: grid; place-items: center;
  transform: translateY(0);
  transition: transform .6s var(--ease);
  pointer-events: none;
}
body.loaded .curtain { transform: translateY(-100%); }
body.leaving .curtain {
  transform: translateY(0);
  transition: transform .45s var(--ease);
}
.curtain__mono {
  font-family: var(--serif); font-weight: 360;
  font-size: clamp(2.6rem, 9vw, 4.5rem); line-height: 1;
  letter-spacing: -.02em; display: inline-flex; align-items: baseline;
  opacity: .9;
}
.curtain__mono .m { color: var(--cream); }
.curtain__mono .v { color: var(--accent); font-style: italic; margin-left: -.08em; }

/* scroll progress line under the bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 101;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .12s linear;
  pointer-events: none;
}

/* ============================================================
   Loader (home only)
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  transition: transform 1s var(--ease);
}
.loader.done { transform: translateY(-100%); }
.loader__inner {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--serif); font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 300; color: var(--cream);
}
.loader__dot { color: var(--accent); font-size: .7em; transform: translateY(-.1em); }
.loader__word { min-width: 4ch; }
.loader__count {
  position: absolute; right: var(--pad); bottom: var(--pad);
  font-size: clamp(2.5rem, 9vw, 6rem); font-family: var(--serif);
  font-weight: 300; color: rgba(244,241,234,.12);
}

/* ============================================================
   Custom cursor
   ============================================================ */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 150;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cream);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width .25s var(--ease), height .25s var(--ease),
              background .25s var(--ease), opacity .25s;
  mix-blend-mode: difference;
}
.cursor.is-hover { width: 46px; height: 46px; background: var(--cream); }
@media (hover: none) { .cursor { display: none; } }

/* ============================================================
   Top bar (persistent nav)
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: rgba(15, 15, 18, .86);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(.7rem, 2vw, 1.1rem) var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.topbar__links { display: flex; gap: clamp(1.2rem, 2.5vw, 2.2rem); font-size: .94rem; }
.topbar__links a {
  position: relative; padding: .25rem 0; color: var(--cream-dim);
  transition: color .18s var(--ease);
}
.topbar__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .22s var(--ease);
}
.topbar__links a:hover { color: var(--cream); }
.topbar__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.topbar__links a[aria-current="page"] { color: var(--cream); }
.topbar__links a[aria-current="page"]::after { transform: scaleX(1); }

/* MV monogram logo: a thin ring badge with an italic gold V tucked into the M */
.brand {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: inline-grid; place-items: center;
  border: 1px solid rgba(233, 226, 208, .26);
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), transform .18s var(--ease);
}
.brand:hover {
  border-color: rgba(201, 169, 106, .85);
  box-shadow: 0 0 0 1px rgba(201,169,106,.25), 0 8px 24px -12px rgba(201,169,106,.5);
  transform: scale(1.05);
}
.brand__mono {
  font-family: var(--serif); font-weight: 420;
  font-size: 1.28rem; line-height: 1; letter-spacing: -.02em;
  display: inline-flex; align-items: baseline;
}
.brand__m { color: var(--cream); }
.brand__v {
  font-style: italic; color: var(--accent);
  margin-left: -.1em;            /* tuck the V under the M's right leg */
  transition: color .45s var(--ease);
}
.brand:hover .brand__v { color: var(--cream); }

/* hamburger — only on mobile, lives inside the bar */
.menu-btn {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; color: var(--text);
}
.menu-btn span {
  width: 24px; height: 1.6px; background: currentColor;
  transition: transform .4s var(--ease), opacity .3s;
}
.menu-btn.open span:nth-child(1) { transform: translateY(3.8px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { transform: translateY(-3.8px) rotate(-45deg); }

/* ============================================================
   Fullscreen nav overlay (mobile)
   ============================================================ */
.nav-overlay {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(11, 11, 13, .975);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
}
.nav-overlay.open { opacity: 1; visibility: visible; }
.nav-overlay ul { list-style: none; }
.nav-overlay li { overflow: hidden; }
.nav-overlay li a {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 9vw, 5.5rem); line-height: 1.15;
  display: inline-block; color: var(--cream-dim);
  transform: translateY(110%);
  transition: transform .6s var(--ease), color .3s;
}
.nav-overlay.open li a { transform: translateY(0); }
.nav-overlay li:nth-child(2) a { transition-delay: .05s; }
.nav-overlay li:nth-child(3) a { transition-delay: .1s; }
.nav-overlay li:nth-child(4) a { transition-delay: .15s; }
.nav-overlay li:nth-child(5) a { transition-delay: .2s; }
.nav-overlay li a:hover,
.nav-overlay li a[aria-current="page"] { color: var(--accent); font-style: italic; }
.nav-overlay__foot {
  margin-top: 2.5rem; display: flex; flex-direction: column; gap: .35rem;
  color: var(--muted);
}
.nav-overlay__foot span {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--tan);
}
.nav-overlay__foot a {
  font-family: var(--serif); font-size: 1.25rem; color: var(--cream-dim);
  transition: color .3s var(--ease);
}
.nav-overlay__foot a:hover { color: var(--accent); font-style: italic; }

/* ============================================================
   Site-wide dot field
   ============================================================ */
.site-fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }

/* ============================================================
   Hero (home)
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100svh - 5rem);
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(1rem,3vw,2rem) var(--pad) 0;
  display: flex; flex-direction: column;
}
.hero__content {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding-bottom: clamp(1.5rem, 5vh, 4rem);
}
.hero__meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 1.5rem; margin-bottom: clamp(1rem, 2.5vh, 2rem);
}
.hero__pill {
  z-index: 3; border-radius: 999px;
  padding: .7rem 1.1rem; display: flex; flex-direction: column; gap: .2rem;
}
.hero__pill-label { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hero__pill-text span:last-child { font-family: var(--serif); font-size: 1.25rem; }
.hero__pill-status { display: flex; align-items: center; gap: .45rem; font-size: .75rem; color: var(--cream-dim); }
.hero__pill-status i {
  width: 7px; height: 7px; border-radius: 50%; background: #6ad28a;
  box-shadow: 0 0 0 0 rgba(106,210,138,.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(106,210,138,.55); }
  100% { box-shadow: 0 0 0 9px rgba(106,210,138,0); }
}
.hero__role { z-index: 3; text-align: right; max-width: 16rem; }
.hero__role p { color: var(--cream-dim); font-size: clamp(1rem,1.4vw,1.25rem); line-height: 1.4; text-shadow: 0 1px 14px rgba(10,10,12,.85); }
.hero__role .arrow { display: inline-block; font-size: 1.6rem; color: var(--accent); margin-bottom: .6rem; }

.hero__lower {
  display: grid; grid-template-columns: 1.45fr 1fr;
  align-items: end; gap: clamp(2rem, 5vw, 5rem);
}
.hero__card {
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.2vw, 2.1rem);
  display: flex; flex-direction: column; gap: 1.4rem;
  max-width: 30rem; margin-bottom: .4rem;
}
.hero__card-lead {
  font-family: var(--serif); font-weight: 330;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.32;
  color: var(--text);
}
.hero__card-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  padding-top: 1.3rem; border-top: 1px solid var(--line);
}
.hero__card-facts > div { display: flex; flex-direction: column; gap: .15rem; }
.hero__card-facts strong { font-family: var(--serif); font-weight: 400; font-size: 1.05rem; color: var(--cream); }
.hero__card-facts span { font-size: .78rem; color: var(--muted); line-height: 1.3; }
.hero__card-cta { display: flex; gap: .7rem; flex-wrap: wrap; }
.hero__btn {
  flex: 1; min-width: 9rem; text-align: center;
  padding: .8rem 1.2rem; border-radius: 999px; font-size: .92rem;
  background: linear-gradient(150deg, rgba(201,169,106,.95), rgba(111,106,240,.8));
  color: #15131a; font-weight: 500;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: 0 14px 34px -16px rgba(201,169,106,.6);
}
.hero__btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(111,106,240,.6); }
.hero__btn--ghost {
  background: transparent; color: var(--cream-dim);
  border: 1px solid var(--glass-stroke); box-shadow: none;
}
.hero__btn--ghost:hover { color: var(--cream); border-color: var(--cream-dim); transform: translateY(-2px); }

.hero__name {
  position: relative; z-index: 3;
  font-family: var(--serif); font-weight: 330;
  font-size: clamp(3.4rem, 16vw, 13rem);
  line-height: .82; letter-spacing: -.02em;
  text-transform: none; pointer-events: none;
}
.hero__name .line { display: block; }
.hero__name .line--italic { font-style: italic; color: var(--cream); padding-left: .12em; }
.hero__tag {
  position: relative; z-index: 3;
  margin: 1.2rem 0 clamp(1.5rem,4vh,2.5rem);
  color: var(--muted); font-size: clamp(1rem,1.5vw,1.2rem);
}

[data-reveal] { will-change: transform, opacity; }

/* ============================================================
   Page hero (sub-pages)
   ============================================================ */
.page-hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(3rem, 9vh, 6.5rem) var(--pad) clamp(1.5rem, 4vh, 3rem);
}
.page-hero__eyebrow {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--tan); font-weight: 500;
}
.page-hero h1 {
  font-family: var(--serif); font-weight: 330;
  font-size: clamp(2.8rem, 10vw, 6.5rem); line-height: .92;
  letter-spacing: -.01em; margin-top: .5rem;
}
.page-hero h1 em { font-style: italic; color: var(--cream); }
.page-hero__lead {
  color: var(--cream-dim); max-width: 42rem; margin-top: 1.3rem;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.5;
}

/* ============================================================
   Statement
   ============================================================ */
.statement {
  display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(2rem,6vw,5rem);
  align-items: start;
}
.statement__big {
  font-family: var(--serif); font-weight: 320;
  font-size: clamp(1.7rem, 4vw, 3.1rem); line-height: 1.18; letter-spacing: -.01em;
}
.statement__big em { font-style: italic; color: var(--accent); }
.statement__side { display: flex; flex-direction: column; gap: 2.5rem; }
.statement__side p { color: var(--muted); }
.circle-btn {
  align-self: flex-start;
  width: 150px; height: 150px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  font-size: .95rem; cursor: pointer;
  transition: transform .2s var(--ease);
}
.circle-btn:hover { transform: scale(1.06); }

/* ============================================================
   Services
   ============================================================ */
.services__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.svc-card {
  border-radius: var(--radius); padding: 2rem 1.75rem 2.25rem;
  display: flex; flex-direction: column; min-height: 340px;
  transition: transform .28s var(--ease);
}
.svc-card:hover { transform: translateY(-8px); }
.svc-card__num { font-family: var(--serif); color: var(--tan); font-size: 1rem; }
.svc-card h3 { font-family: var(--serif); font-weight: 380; font-size: 1.6rem; margin: .6rem 0 .9rem; }
.svc-card p { color: var(--muted); font-size: .95rem; }
.svc-card ul { list-style: none; margin-top: auto; padding-top: 1.4rem; }
.svc-card li {
  font-size: .9rem; color: var(--cream-dim);
  padding: .5rem 0; border-top: 1px solid var(--line);
}

/* ============================================================
   Work
   ============================================================ */
.case {
  border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: .8fr 1.6fr;
  margin-bottom: clamp(3rem,8vw,5rem);
}
.case__media {
  background: #0c0c0d; display: grid; place-items: center; padding: 2.5rem;
  border-right: 1px solid var(--line);
}
.case__media img { width: 78%; border-radius: 10px; opacity: .96; }
.case__body { padding: clamp(1.75rem,4vw,3rem); }
.case__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.case__date { color: var(--muted); font-size: .85rem; }
.case__lead { font-family: var(--serif); font-size: clamp(1.25rem,2.4vw,1.85rem); line-height: 1.25; margin: .5rem 0 2rem; }
.case__role { font-size: 1rem; color: var(--accent); margin: .3rem 0 1.2rem; }
.case__body > p { color: var(--muted); font-size: .95rem; }
.case__tasks { list-style: none; margin-top: 1.5rem; }
.case__tasks li {
  position: relative; padding: .55rem 0 .55rem 1.4rem;
  border-top: 1px solid var(--line); color: var(--cream-dim); font-size: .9rem;
}
.case__tasks li::before { content: "—"; position: absolute; left: 0; color: var(--tan); }

.work-list { list-style: none; border-top: 1px solid var(--line); }
.work-list__item { border-bottom: 1px solid var(--line); }
.work-list__item a {
  display: flex; justify-content: space-between; align-items: center;
  padding: clamp(1.1rem,3vw,2rem) .5rem;
  transition: padding .28s var(--ease), color .2s;
}
.work-list__item a:hover { padding-left: 1.75rem; color: var(--cream); }
.work-list__name { font-family: var(--serif); font-weight: 330; font-size: clamp(1.8rem,5vw,3.2rem); line-height: 1; }
.work-list__item a:hover .work-list__name { font-style: italic; }
.work-list__cat { color: var(--muted); font-size: .9rem; }

.work-preview {
  position: fixed; top: 0; left: 0; z-index: 90;
  width: 230px; height: 290px; border-radius: 14px; overflow: hidden;
  transform: translate(-50%, -50%) scale(.6); opacity: 0;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  pointer-events: none; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
}
.work-preview.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.work-preview img { width: 100%; height: 100%; object-fit: cover; }
.work-preview__label {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(20,20,22,.25);
}

.grid-block { margin-top: clamp(3rem,8vw,5rem); }
.grid-block__note { color: var(--muted); font-size: .95rem; max-width: 46rem; margin: .8rem 0 2rem; }
.grid-row__label {
  font-family: var(--serif); font-weight: 360; font-size: 1.15rem;
  color: var(--cream-dim); margin: 2.25rem 0 1rem;
}
.grid-row__label:first-of-type { margin-top: 0; }
.reels-row, .posts-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  align-items: start;
}
.grid__cell { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.grid__cell img,
.grid__cell .reel { width: 100%; display: block; transition: transform .8s var(--ease); }
.grid__cell:hover img,
.grid__cell:hover .reel { transform: scale(1.05); }
.grid__cell--reel .reel { aspect-ratio: 9 / 16; object-fit: cover; background: #0c0c0d; }

/* ============================================================
   About
   ============================================================ */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem,6vw,5rem); align-items: center; }
.about__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about__body { display: flex; flex-direction: column; gap: 1.2rem; }
.about__body > p { color: var(--cream-dim); font-size: clamp(1.05rem,1.6vw,1.3rem); line-height: 1.55; }
.about__away { border-radius: var(--radius); padding: 1.75rem; margin-top: .8rem; }
.about__away p { color: var(--muted); margin-top: .7rem; font-size: .95rem; }

/* ============================================================
   Experience
   ============================================================ */
.timeline { list-style: none; }
.timeline__item {
  display: grid; grid-template-columns: .5fr 1.5fr; gap: clamp(1rem,4vw,3rem);
  padding: clamp(1.5rem,4vw,2.5rem) 0; border-top: 1px solid var(--line);
}
.timeline__item:last-child { border-bottom: 1px solid var(--line); }
.timeline__when { color: var(--tan); font-size: .9rem; letter-spacing: .04em; }
.timeline__what h3 { font-family: var(--serif); font-weight: 360; font-size: clamp(1.4rem,3vw,2.1rem); }
.timeline__org { display: inline-block; color: var(--accent); font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; margin: .4rem 0 1rem; }
.timeline__what p { color: var(--muted); max-width: 44rem; }

/* ============================================================
   Tools
   ============================================================ */
.tools__group { margin-bottom: clamp(2rem, 4vw, 3rem); }
.tools__group:last-child { margin-bottom: 0; }
.tools__label {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--tan); font-weight: 500; margin-bottom: 1.1rem;
}
.tools-grid {
  display: grid; grid-template-columns: repeat(auto-fill, 120px);
  gap: .85rem; justify-content: start;
}
.tool {
  width: 120px; aspect-ratio: 1 / 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .7rem; padding: .85rem; border-radius: 16px; text-align: center;
  transition: transform .28s var(--ease);
}
.tool:hover { transform: translateY(-6px); }
.tool svg { width: 28px; height: 28px; color: #fff; flex: none; }
.tool span { font-size: .72rem; color: var(--cream-dim); letter-spacing: .01em; line-height: 1.2; }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.quote { border-radius: var(--radius); padding: 2rem 1.75rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.quote blockquote { font-family: var(--serif); font-weight: 330; font-size: 1.2rem; line-height: 1.4; }
.quote figcaption { display: flex; flex-direction: column; gap: .15rem; }
.quote figcaption strong { font-weight: 500; }
.quote figcaption span { color: var(--tan); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }

/* ============================================================
   Contact
   ============================================================ */
.contact { text-align: center; }
.contact__head { display: flex; align-items: center; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }
.contact__avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); }
.contact__avatar img { width: 100%; height: 100%; object-fit: cover; }
.contact__title { font-family: var(--serif); font-weight: 330; font-size: clamp(3rem,11vw,8rem); line-height: .9; }
.contact__title em { font-style: italic; color: var(--accent); }
.arrow--big { font-size: 2rem; color: var(--accent); }

.contact__cta {
  width: clamp(150px,20vw,190px); height: clamp(150px,20vw,190px);
  border-radius: 50%; display: grid; place-items: center; margin: clamp(2.5rem,7vw,4.5rem) auto 0;
  background: linear-gradient(150deg, rgba(201,169,106,.9), rgba(111,106,240,.75));
  border: none; font-size: 1.05rem; color: #15131a; font-weight: 500; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 24px 60px -18px rgba(201,169,106,.5);
}
.contact__cta:hover { transform: scale(1.07); box-shadow: 0 30px 70px -16px rgba(111,106,240,.55); }

.contact__pills { display: flex; justify-content: center; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
.pill { padding: .85rem 1.5rem; border-radius: 999px; font-size: .95rem; transition: transform .2s var(--ease); }
.pill:hover { transform: translateY(-3px); }

.contact__note { max-width: 40rem; margin: 3.5rem auto 0; color: var(--muted); font-size: 1.05rem; }

.contact__pets { margin: clamp(3rem,7vw,5rem) auto 0; max-width: 720px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.contact__pets img {
  width: 100%;
  filter: grayscale(1) contrast(1.12) brightness(1.04);
  transition: filter .6s var(--ease);
}
.contact__pets:hover img { filter: grayscale(1) contrast(1.18) brightness(1.06); }
.contact__pets figcaption { padding: 1rem; color: var(--muted); font-size: .9rem; }

.contact__foot {
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin-top: clamp(3rem,8vw,5rem); padding-top: 1.5rem; border-top: 1px solid var(--line);
  text-align: left;
}
.contact__foot > div { display: flex; flex-direction: column; gap: .2rem; }
.contact__name { text-align: right; margin-left: auto; }
.foot-label { color: var(--muted); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }

/* ============================================================
   Next-page guide + site footer
   ============================================================ */
.next-page { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.next-page a {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(2.5rem, 7vh, 4.5rem) 0; border-top: 1px solid var(--line);
  transition: padding .28s var(--ease);
}
.next-page a:hover { padding-left: 1rem; }
.next-page__meta { display: flex; flex-direction: column; gap: .5rem; }
.next-page__label { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--tan); }
.next-page__title {
  font-family: var(--serif); font-weight: 330; font-size: clamp(2.2rem, 7vw, 4.5rem);
  line-height: 1; color: var(--cream-dim); transition: color .2s var(--ease);
}
.next-page a:hover .next-page__title { color: var(--cream); font-style: italic; }
.next-page__arrow {
  font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--accent); flex: none;
  transition: transform .28s var(--ease);
}
.next-page a:hover .next-page__arrow { transform: translateX(8px); }

.site-footer {
  max-width: var(--maxw); margin: 0 auto;
  padding: 2.25rem var(--pad) 3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  flex-wrap: wrap; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .8rem;
}
.site-footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-footer a { transition: color .3s var(--ease); }
.site-footer a:hover { color: var(--accent); }
.site-footer__time span { color: var(--cream-dim); }

/* ============================================================
   Reveal animation
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .statement, .about { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; }
  .case__media { border-right: none; border-bottom: 1px solid var(--line); }
  .hero__role { max-width: 11rem; }
  .hero__lower { grid-template-columns: 1fr; align-items: start; gap: 2rem; }
  .hero__card { max-width: none; }
  .timeline__item { grid-template-columns: 1fr; gap: .5rem; }

  .section { padding-top: clamp(3rem, 8vh, 5rem); padding-bottom: clamp(3rem, 8vh, 5rem); }
  .section__head { margin-bottom: clamp(1.75rem, 5vw, 2.5rem); }
  .svc-card { min-height: 0; }

  /* swipeable carousels: show one card, peek the next — far less scrolling */
  .services__grid,
  .testimonials__grid,
  .reels-row,
  .posts-row {
    display: flex; gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(var(--pad) * -1);
    padding: .25rem var(--pad) 1.1rem;
    scroll-padding-left: var(--pad);
  }
  .services__grid::-webkit-scrollbar,
  .testimonials__grid::-webkit-scrollbar,
  .reels-row::-webkit-scrollbar,
  .posts-row::-webkit-scrollbar { display: none; }

  .svc-card,
  .quote { flex: 0 0 80%; scroll-snap-align: start; }
  .posts-row .grid__cell { flex: 0 0 78%; scroll-snap-align: start; }
  .reels-row .grid__cell { flex: 0 0 64%; scroll-snap-align: start; }
}

/* collapse the top bar to logo + hamburger */
@media (max-width: 760px) {
  .topbar__links { display: none; }
  .menu-btn { display: flex; }
}

@media (max-width: 600px) {
  .tools-grid { justify-content: center; }
  .hero__meta { flex-direction: column; align-items: flex-start; gap: 1.25rem; margin-top: clamp(1.5rem, 5vh, 3rem); }
  .hero__role { text-align: left; max-width: none; }
  .contact__name { text-align: left; margin-left: 0; }
  .work-preview { display: none; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .cursor, .work-preview { display: none; }
  .curtain { display: none; }
}
