/* ==========================================================
   COLOURS & FONTS: change these to restyle the whole site.
   All text colours pass the WCAG AA contrast check.
   ========================================================== */
:root {
  --bg: #0b0a09;          /* main background (black) */
  --bg-2: #171512;        /* cards on black */
  --line: #34302a;        /* thin lines on black */
  --text: #f5f1ea;        /* main text on black (warm white) */
  --muted: #cfc7ba;       /* softer text on black, still easy to read */
  --gold: #e4ba6a;        /* gold accent */
  --coral: #f0947a;       /* second accent (warm coral) */
  --cream: #f3ece0;       /* light "band" sections */
  --ink: #17140f;         /* text on cream */
  --ink-muted: #4d453b;   /* softer text on cream */
  --bronze: #85531a;      /* gold accent on cream */
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --max: 1200px;
  --ease: cubic-bezier(.16,1,.3,1);   /* one soft 'expo-out' curve used everywhere */
}
/* ========================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-weight: 400; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: #000; }
main, .nav, .footer { position: relative; z-index: 2; }

.display { font-family: var(--serif); font-weight: 300; letter-spacing: -.02em; line-height: 1.06; }
.gold { color: var(--gold); font-style: italic; }
.kicker { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; font-weight: 600; }
mark.ph { background: rgba(228,186,106,.14); color: var(--gold); border: 1px dashed rgba(228,186,106,.6); border-radius: 4px; padding: 0 .3em; }

/* Underline that grows on hover */
.ul { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .2s; padding-bottom: 2px; }
.ul:hover { background-size: 100% 1px; }

/* Moving glow background + grain */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; will-change: transform; }
.b1 { width: 46vw; height: 46vw; background: #b9853a; top: -16vw; right: -10vw; animation: drift1 22s ease-in-out infinite alternate; }
.b2 { width: 36vw; height: 36vw; background: #a2493a; top: 40vh; left: -16vw; opacity: .22; animation: drift2 26s ease-in-out infinite alternate; }
.b3 { width: 28vw; height: 28vw; background: #6e5a2e; bottom: -10vw; right: 20vw; opacity: .25; animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-12vw, 14vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(14vw, -10vh) scale(1.2); } }
@keyframes drift3 { to { transform: translate(-16vw, -12vh) scale(.9); } }
.grain { position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .07;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(0,0)} }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--coral)); transform-origin: 0 50%; transform: scaleX(0); z-index: 20; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 1.2rem clamp(1.25rem, 4vw, 3rem); transition: background .4s, border-color .4s, padding .4s; border-bottom: 1px solid transparent; z-index: 10; }
.nav.scrolled { background: rgba(11,10,9,.85); backdrop-filter: blur(14px); border-color: var(--line); padding-top: .85rem; padding-bottom: .85rem; }
.brand { font-family: var(--serif); font-size: 1.4rem; font-style: italic; }
.nav nav { display: flex; gap: 2rem; align-items: center; font-size: .92rem; }
.nav nav a { color: var(--muted); }
.nav nav a:hover { color: var(--text); }
.nav .nav-cta { color: var(--ink); background: var(--gold); padding: .5rem 1.15rem; border-radius: 99px; font-weight: 500; transition: transform .25s var(--ease), background .2s; }
.nav .nav-cta:hover { color: var(--ink); background: #f0cc85; transform: translateY(-2px); }

/* HERO */
.hero { position: relative; max-width: var(--max); margin: 0 auto; min-height: 100vh; padding: 8rem clamp(1.25rem, 4vw, 3rem) 5rem; display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.badge { display: inline-flex; align-items: center; gap: .55rem; font-size: .84rem; color: var(--text); border: 1px solid var(--line); background: rgba(23,21,18,.7); border-radius: 99px; padding: .35rem .95rem; margin-bottom: 1.8rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #7fd99a; animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(127,217,154,.6); } 100% { box-shadow: 0 0 0 10px rgba(127,217,154,0); } }
.eyebrow { color: var(--coral); font-size: .9rem; letter-spacing: .06em; margin-bottom: 1.4rem; font-weight: 500; }
.hero h1 { font-size: clamp(2.7rem, 5.8vw, 5.1rem); margin-bottom: 1.8rem; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.hero h1 .w > span { display: inline-block; }
.hero h1 .ch { display: inline-block; transform: translateY(115%) rotate(12deg); opacity: 0; filter: blur(8px); transform-origin: 0 100%; transition: transform 1.1s var(--ease), opacity .8s ease, filter .9s ease, color .3s; transition-delay: calc(var(--c) * .028s + .25s); }
.loaded .hero h1 .ch { transform: none; opacity: 1; filter: none; }
.hero h1.landed .ch { transition-delay: 0s; transition-duration: .45s; }
.hero h1.landed .ch:hover { transform: translateY(-.14em) rotate(-4deg); color: var(--gold); }
.static .hero h1 .ch { transform: none; opacity: 1; filter: none; }
.intro-anim { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * .1s + .1s); }
.loaded .intro-anim { opacity: 1; transform: none; }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.15rem); max-width: 38rem; }
.lead.center { margin: 0 auto; text-align: center; }
.buttons { display: flex; gap: 1rem; margin-top: 2.4rem; flex-wrap: wrap; }
.btn { position: relative; overflow: hidden; padding: 1rem 1.8rem; border-radius: 99px; font-size: .95rem; font-weight: 500; transition: transform .3s var(--ease), box-shadow .3s, border-color .2s, background .2s; }
.btn:hover { transform: translateY(-3px); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(228,186,106,.6); }
.btn-gold::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: shine 4.5s ease-in-out 2s infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.btn-ghost { border: 1px solid #5a534a; color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }

.hero-photo { position: relative; }
/* The photo, the gold outline and everything floating around it sit in one box, so they always share the same centre. */
.photo-stage { position: relative; isolation: isolate; animation: float 7s ease-in-out 2s infinite; transform-style: preserve-3d; }
.photo-frame { position: relative; z-index: 2; border-radius: 50% 50% 22px 22px / 40% 40% 22px 22px; overflow: hidden; clip-path: inset(100% 0 0 0 round 50% 50% 22px 22px / 40% 40% 22px 22px); transition: clip-path 1.4s var(--ease) .3s; }
.loaded .photo-frame { clip-path: inset(0 0 0 0 round 50% 50% 22px 22px / 40% 40% 22px 22px); }
.photo-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; transform: scale(1.15); transition: transform 2s var(--ease) .3s; }
.loaded .photo-frame img { transform: scale(1); }
.photo-shape { position: absolute; inset: -14px; z-index: 1; border: 1px solid rgba(228,186,106,.6); border-radius: 50% 50% 34px 34px / 40% 40% 34px 34px; pointer-events: none; opacity: 0; transform: scale(.94); transition: opacity 1s ease .9s, transform 1.4s var(--ease) .9s; }
.loaded .photo-shape, .static .photo-shape { opacity: 1; transform: none; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hero-photo figcaption { margin-top: 1rem; font-size: .84rem; color: var(--muted); letter-spacing: .05em; text-align: center; }
.scroll-hint { position: absolute; left: 50%; bottom: 1.6rem; width: 24px; height: 38px; border: 1px solid #5a534a; border-radius: 14px; translate: -50% 0; }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; background: var(--gold); border-radius: 2px; translate: -50% 0; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* MARQUEE */
.marquee { position: relative; z-index: 2; background: var(--gold); color: var(--ink); overflow: hidden; padding: 1.05rem 0; transform: rotate(-1.2deg) skewX(var(--sk, 0deg)); margin: 0 -2vw; box-shadow: 0 20px 50px -30px rgba(228,186,106,.6); }
.marquee-track { display: flex; width: max-content; gap: 2.2rem; align-items: center; animation: marquee 38s linear infinite; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 2rem); font-style: italic; white-space: nowrap; }
.marquee-track i { font-style: normal; font-size: .9rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* STATS */
.stats { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem) 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.stat { padding: 1.8rem 1.6rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(23,21,18,.65); display: flex; flex-direction: column; gap: .6rem; }
.stat:nth-child(2) { --d: .1s; } .stat:nth-child(3) { --d: .2s; } .stat:nth-child(4) { --d: .3s; }
.stat-num { font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 3.6rem); color: var(--gold); line-height: 1; font-weight: 300; font-variant-numeric: tabular-nums; }
.stat:nth-child(even) .stat-num { color: var(--coral); }
.stat-label { color: var(--muted); font-size: .92rem; line-height: 1.5; }

/* SECTIONS */
.section { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3rem) 0; }
.section-head { max-width: 46rem; margin-bottom: 3.2rem; }
.section-head h2, .split h2 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); margin-bottom: 1rem; }
.sub { color: var(--muted); font-size: 1.08rem; }

/* LIGHT CREAM BANDS */
.band.light { position: relative; z-index: 2; background: var(--cream); color: var(--ink); margin-top: clamp(5rem, 10vw, 8rem); padding-bottom: clamp(5rem, 10vw, 7rem); }
.band.light .section { padding-top: clamp(4.5rem, 9vw, 7rem); }
.band.light .kicker { color: var(--bronze); }
.band.light .sub, .band.light p { color: var(--ink-muted); }
.band.light .gold { color: var(--bronze); }

/* CARDS (mouse glow + lift) */
.card { position: relative; isolation: isolate; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(228,186,106,.16), transparent 60%); z-index: -1; }
.card:hover::after { opacity: 1; }

/* PILLARS */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pillar { background: #fffaf2; border: 1px solid #e0d6c6; border-radius: 20px; padding: 2.3rem 2rem; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s, opacity .9s var(--ease); }
.pillar:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(60,40,10,.35); border-color: #c9a46a; }
.pillar-num { font-family: var(--serif); font-style: italic; color: var(--bronze); font-size: 1.15rem; }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.15; margin: 1.1rem 0 .7rem; color: var(--ink); }
.band.light .pillar-blurb { color: var(--ink-muted); font-size: 1rem; margin-bottom: 1.4rem; }
.pillar ul { list-style: none; border-top: 1px solid #e3d9c9; }
.pillar li { padding: .72rem 0; border-bottom: 1px solid #e3d9c9; font-size: .95rem; display: flex; gap: .7rem; color: var(--ink); }
.pillar li::before { content: "✦"; color: var(--bronze); font-size: .65rem; margin-top: .4rem; transition: transform .4s var(--ease); }
.pillar:hover li::before { transform: rotate(90deg); }

/* FEATURED */
.featured { display: grid; gap: 1.5rem; }
.feature { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: border-color .3s, transform .45s var(--ease), opacity .9s var(--ease); }
.feature:nth-child(even) { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); }
.feature:nth-child(even) .feature-img { order: 2; }
.feature:hover { border-color: rgba(228,186,106,.6); transform: translateY(-6px); }
.feature-img { aspect-ratio: 1; height: 100%; overflow: hidden; background: #000; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.feature:hover .feature-img img { transform: scale(1.06); }
.feature-body { padding: clamp(1.8rem, 4vw, 3.5rem); }
.feature-type { display: inline-block; font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; color: var(--ink); background: var(--coral); padding: .25rem .7rem; border-radius: 99px; font-weight: 600; }
.feature-brand { color: var(--gold); font-size: .95rem; margin-top: 1rem; }
.feature h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.15; margin: .3rem 0 .9rem; }
.feature-desc { color: var(--muted); font-size: 1rem; }
.arrow-link { display: inline-flex; gap: .4rem; margin-top: 1.4rem; font-size: .95rem; font-weight: 500; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.arrow-link span { transition: transform .3s var(--ease); }
.feature:hover .arrow-link span { transform: translate(4px,-4px); }

.minor-title { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: 1.8rem; margin: 4rem 0 1.5rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tile { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1; transition: transform .45s var(--ease), opacity .9s var(--ease); }
.tile:hover { transform: translateY(-6px) rotate(-.6deg); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.8rem 1rem 1rem; font-size: .88rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.88)); opacity: 0; transform: translateY(10px); transition: .4s var(--ease); }
.tile:hover img { transform: scale(1.07); }
.tile:hover figcaption { opacity: 1; transform: none; }

/* BRANDS */
.brands { border-top: 1px solid var(--line); }
.brand-row { position: relative; display: grid; grid-template-columns: 3rem 1.05fr 1.5fr auto; gap: 2rem; align-items: start; padding: 2.1rem 1rem 2.1rem 0; border-bottom: 1px solid var(--line); }
.brand-row::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(228,186,106,.12), transparent 75%); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); z-index: -1; }
.brand-row:hover::before { transform: scaleX(1); }
.brand-idx { font-family: var(--serif); font-style: italic; color: var(--gold); padding-top: .35rem; }
.brand-row h3 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; line-height: 1.15; transition: transform .4s var(--ease), color .3s; }
.brand-row:hover h3 { transform: translateX(8px); color: var(--gold); }
.brand-formerly { font-style: italic; color: var(--coral); font-size: .9rem; margin-top: .25rem; }
.brand-sector { color: var(--muted); font-size: .9rem; margin-top: .3rem; }
.brand-what { color: var(--text); font-size: 1rem; }
.brand-links { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; align-items: flex-end; white-space: nowrap; }
.brand-links a:hover { color: var(--gold); }

/* PROCESS */
.process { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: s; }
.process li { position: relative; background: #fffaf2; border: 1px solid #e0d6c6; border-radius: 18px; padding: 2rem 1.5rem; transition: transform .45s var(--ease), background .3s, opacity .9s var(--ease); }
.process li:hover { transform: translateY(-6px); background: var(--ink); }
.process li:hover h3, .band.light .process li:hover p { color: var(--cream); }
.process li:hover .p-num { color: var(--gold); }
.p-num { font-size: .8rem; color: var(--bronze); letter-spacing: .15em; font-weight: 600; }
.process h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.2; margin: .8rem 0 .6rem; color: var(--ink); transition: color .3s; }
.band.light .process p { font-size: .93rem; transition: color .3s; }

/* TIMELINE */
.timeline { position: relative; padding-left: .4rem; }
.timeline::before, .t-line { content: ""; position: absolute; left: .4rem; top: 0; bottom: 0; width: 1px; background: var(--line); }
.t-line { background: linear-gradient(var(--gold), var(--coral)); transform-origin: top; transform: scaleY(0); width: 2px; left: calc(.4rem - .5px); }
.static .t-line { transform: scaleY(1); }
.t-item { display: grid; grid-template-columns: 12rem 1fr; gap: 2rem; padding: 0 0 3rem 2.4rem; position: relative; }
.t-item::before { content: ""; position: absolute; left: -5px; top: .5rem; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); transition: background .3s, transform .3s; }
.t-item:hover::before { background: var(--gold); transform: scale(1.3); }
.t-dates { font-size: .92rem; color: var(--gold); padding-top: .2rem; font-weight: 500; }
.t-item h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.25; }
.t-company { color: var(--coral); font-size: .95rem; margin: .3rem 0 .8rem; }
.t-item ul { list-style: none; max-width: 46rem; }
.t-item li { position: relative; padding-left: 1.2rem; color: var(--muted); font-size: 1rem; margin-bottom: .35rem; }
.t-item li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 1px; background: var(--gold); }

/* TOOLS + CREDS */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
.split h2 { margin-bottom: 2.2rem; }
.tool-group { margin-bottom: 1.7rem; }
.tool-group > p { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; margin-bottom: .75rem; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1px solid #4a443c; border-radius: 99px; padding: .42rem 1rem; font-size: .9rem; transition: border-color .25s, color .25s, transform .25s var(--ease), background .25s; }
.chip:hover { border-color: var(--gold); color: var(--ink); background: var(--gold); transform: translateY(-3px); }
.cred { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1.15rem 0; border-top: 1px solid var(--line); transition: padding .3s var(--ease); }
.cred:hover { padding-left: .5rem; }
.cred:last-child { border-bottom: 1px solid var(--line); }
.cred-year { font-family: var(--serif); color: var(--gold); font-style: italic; }
.cred h3 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.3; }
.cred p { color: var(--muted); font-size: .92rem; }

/* QUOTES */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.quote { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 2rem; }
.quote p { font-family: var(--serif); font-size: 1.25rem; }
.quote footer { margin-top: 1.2rem; font-size: .92rem; }
.quote footer span { display: block; color: var(--muted); font-size: .85rem; }

/* CONTACT */
.contact { position: relative; max-width: var(--max); margin: clamp(6rem, 12vw, 10rem) auto 0; padding: 0 clamp(1.25rem, 4vw, 3rem) 6rem; text-align: center; }
.contact-glow { position: absolute; left: 50%; top: 40%; width: min(700px, 90vw); height: 400px; translate: -50% -50%; background: radial-gradient(closest-side, rgba(228,186,106,.22), transparent); filter: blur(20px); z-index: -1; animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .7; } }
.contact .huge { font-size: clamp(3.4rem, 10vw, 8rem); margin-bottom: 1.5rem; }
.contact-links { margin-top: 2.6rem; display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.contact-big { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3.6vw, 2.5rem); background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; padding-bottom: .2rem; transition: color .3s, background-size .4s var(--ease); word-break: break-all; }
.contact-big:hover { color: var(--gold); background-size: 100% 2px; }
.contact-small { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.contact-small a { border: 1px solid #5a534a; border-radius: 99px; padding: .6rem 1.3rem; font-size: .95rem; transition: border-color .25s, color .25s, background .25s, transform .25s var(--ease); }
.contact-small a:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); transform: translateY(-3px); }

.footer { max-width: var(--max); margin: 0 auto; padding: 2rem clamp(1.25rem, 4vw, 3rem); border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: .88rem; }
.footer a:hover { color: var(--gold); }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.feature.reveal.in:hover, .pillar.reveal.in:hover { transition-delay: 0s; }
.feature.reveal.in:hover { transform: translateY(-6px); }
.pillar.reveal.in:hover { transform: translateY(-8px); }
.process li.reveal.in:hover, .tile.reveal.in:hover { transition-delay: 0s; transform: translateY(-6px); }

/* No motion: for people who turn animations off, and for screenshots */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
.static *, .static *::before, .static *::after { animation: none !important; transition: none !important; }
.static .reveal, .static .intro-anim { opacity: 1; transform: none; }
.static .hero h1 .w > span { transform: none; }
.static .photo-frame { clip-path: none; }
.static .photo-stage { animation: none; }
.static .photo-frame img { transform: none; }

/* TABLET */
@media (max-width: 980px) {
  .pillars { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(even) { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-img { order: 0; }
  .process { grid-template-columns: 1fr 1fr; }
  .process li:last-child { grid-column: span 2; }
  .brand-row { grid-template-columns: 2.5rem 1fr; gap: .8rem 1.2rem; }
  .brand-what, .brand-links { grid-column: 2; }
  .brand-links { flex-direction: row; flex-wrap: wrap; gap: 1.2rem; align-items: center; }
  .split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
/* PHONE */
@media (max-width: 720px) {
  .nav nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 6.5rem; min-height: auto; }
  .hero-photo { order: -1; max-width: 290px; margin: 0 auto .5rem; }
  .scroll-hint { display: none; }
  .stats { gap: .75rem; }
  .stat { padding: 1.3rem 1.1rem; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .tile { aspect-ratio: auto; background: var(--bg-2); }
  .tile img { aspect-ratio: 1; height: auto; }
  .tile figcaption { position: static; opacity: 1; transform: none; font-size: .8rem; background: none; padding: .6rem .75rem; color: var(--muted); }
  .process { grid-template-columns: 1fr; }
  .process li:last-child { grid-column: auto; }
  .t-item { grid-template-columns: 1fr; gap: .3rem; padding-left: 1.7rem; }
  .footer { flex-direction: column; gap: .5rem; text-align: center; }
}

/* ================= v3 additions ================= */

/* Typewriter role line */
.typed-line { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.55rem); color: var(--text); margin: -.6rem 0 1.4rem; min-height: 1.6em; }
#typed { color: var(--coral); }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--gold); margin-left: 3px; vertical-align: -.15em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Mouse-follow glow (desktop only) */
.cursor-glow { position: fixed; left: -200px; top: -200px; width: 400px; height: 400px; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(closest-side, rgba(228,186,106,.16), rgba(240,148,122,.06) 55%, transparent); opacity: 0; transition: opacity .6s; mix-blend-mode: screen; will-change: transform; }
.cursor-glow.on { opacity: 1; }
.btn, .nav-cta, .contact-small a, .filter { transition: translate .25s var(--ease), transform .3s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .3s; }

/* Featured: badge + no-image panel + image reveal */
.feature-img { position: relative; }
.feature-badge { position: absolute; top: 1.1rem; left: 1.1rem; background: var(--gold); color: var(--ink); font-weight: 600; font-size: .95rem; padding: .45rem .95rem; border-radius: 99px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); animation: bob 3.5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-5px); } }
.feature-img.no-img { background: linear-gradient(135deg, #2a1f14, #17140f 55%, #3a2219); display: grid; place-items: center; }
.feature-panel { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem; padding: 2rem; }
.fp-quote { font-family: var(--serif); font-size: 9rem; line-height: .7; color: var(--gold); animation: bob 4s ease-in-out infinite; }
.fp-brand { font-family: var(--serif); font-size: 1.5rem; color: var(--text); }
.fp-type { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--coral); font-weight: 600; }
.feature.reveal .feature-img img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease) .15s, transform .9s var(--ease); }
.feature.reveal.in .feature-img img { clip-path: inset(0 0 0 0); }
.feature { transition: border-color .3s, transform .5s var(--ease), opacity .9s var(--ease); transform-style: preserve-3d; }

/* Gallery head + filters */
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin: 4.5rem 0 1.6rem; }
.gallery-head .minor-title { margin: 0 0 .4rem; }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; }
.filter { font: inherit; font-size: .9rem; color: var(--text); background: transparent; border: 1px solid #5a534a; border-radius: 99px; padding: .5rem 1.1rem; cursor: pointer; }
.filter:hover { border-color: var(--gold); }
.filter.on { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* Gallery tiles: wipe-in reveal, tag, filtering */
.tile { aspect-ratio: auto; background: var(--bg-2); transform-style: preserve-3d; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.tile-img { aspect-ratio: 1; overflow: hidden; }
.tile.reveal .tile-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease) var(--d, 0s); }
.tile.reveal.in .tile-img { clip-path: inset(0); }
.tile figcaption { position: static; opacity: 1; transform: none; background: none; padding: .85rem 1rem 1rem; color: var(--text); font-size: .92rem; }
.tile-tag { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: .2rem; }
.tile.hide, .doc.hide { display: none; }

/* Documents */
.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 1rem; }
.docs:empty { display: none; }
.doc { display: flex; align-items: center; gap: 1rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.3rem; transition: border-color .3s, transform .4s var(--ease); }
.doc:hover { border-color: var(--gold); transform: translateY(-4px); }
.doc-icon { flex: none; width: 46px; height: 56px; border-radius: 6px; background: var(--coral); color: var(--ink); font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.doc-text { display: flex; flex-direction: column; flex: 1; }
.doc-text span { color: var(--muted); font-size: .88rem; }
.doc-arrow { color: var(--gold); transition: transform .3s var(--ease); }
.doc:hover .doc-arrow { transform: translate(4px,-4px); }

/* Work I loved */
.loved { display: grid; gap: 1.5rem; }
.love { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(2rem, 4vw, 3.5rem); border-radius: 24px; border: 1px solid rgba(228,186,106,.35); overflow: hidden;
  background: radial-gradient(600px 300px at 0% 0%, rgba(228,186,106,.16), transparent 70%), linear-gradient(160deg, #1d1813, #110f0d); transition: transform .5s var(--ease), border-color .3s, opacity .9s var(--ease); }
.love.alt { background: radial-gradient(600px 300px at 100% 0%, rgba(240,148,122,.16), transparent 70%), linear-gradient(200deg, #1f1512, #110f0d); border-color: rgba(240,148,122,.35); }
.love-dates { color: var(--gold); font-size: .9rem; font-weight: 500; }
.love.alt .love-dates { color: var(--coral); }
.love h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; margin: .5rem 0 .6rem; }
.love-role { color: var(--text); font-size: 1.05rem; }
.love-num { font-family: var(--serif); font-size: clamp(4rem, 9vw, 7rem); line-height: 1; color: var(--gold); margin-top: 1.8rem; font-weight: 300; }
.love-numlabel { color: var(--muted); font-size: .95rem; }
.love-story { color: var(--text); font-size: 1.08rem; line-height: 1.8; }
.love ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.6rem; }
.love li { border: 1px solid #4a443c; border-radius: 12px; padding: .7rem .9rem; font-size: .92rem; color: var(--text); background: rgba(11,10,9,.35); transition: border-color .3s, transform .3s var(--ease); }
.love li:hover { border-color: var(--gold); transform: translateY(-3px); }
.love.reveal { opacity: 0; transform: translateY(50px) scale(.97); }
.love.reveal.in { opacity: 1; transform: none; }
.love.reveal .love-main li { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .3s; }
.love.reveal.in .love-main li { opacity: 1; transform: none; }
.love.reveal.in .love-main li:nth-child(1) { transition-delay: .35s; } .love.reveal.in .love-main li:nth-child(2) { transition-delay: .45s; }
.love.reveal.in .love-main li:nth-child(3) { transition-delay: .55s; } .love.reveal.in .love-main li:nth-child(4) { transition-delay: .65s; }

/* Section headings: gold line draws in */
.section-head.reveal .kicker::after { content: ""; display: inline-block; width: 0; height: 1px; background: currentColor; vertical-align: middle; margin-left: .8rem; transition: width 1s var(--ease) .3s; }
.section-head.reveal.in .kicker::after { width: 48px; }

/* static / reduced motion for new bits */
.static .tile-img, .static .feature-img img { clip-path: none !important; }
.static .love li { opacity: 1 !important; transform: none !important; }
.static .section-head .kicker::after { width: 48px; }
@media (prefers-reduced-motion: reduce) { .tile-img, .feature-img img { clip-path: none !important; } .love li { opacity: 1 !important; transform: none !important; } }

@media (max-width: 980px) {
  .love { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .love ul { grid-template-columns: 1fr; }
  .tile figcaption { font-size: .8rem; padding: .6rem .75rem .8rem; color: var(--muted); }
  .feature-img.no-img { aspect-ratio: 16/10; }
  .gallery-head { margin-top: 3.5rem; }
}
.love-num .plus { font-family: var(--sans); font-weight: 300; font-size: .55em; vertical-align: .55em; margin-left: .05em; }

/* ================= v4 additions ================= */

/* Preloader */
.preloader { display: none; }
.preload .preloader { display: flex; position: fixed; inset: 0; z-index: 100; background: #0b0a09; align-items: center; justify-content: center; transition: clip-path 1s cubic-bezier(.76,0,.24,1); clip-path: inset(0 0 0 0); }
.preload.pl-done .preloader { clip-path: inset(0 0 100% 0); }
.preload body { overflow: hidden; }
.pl-inner { text-align: center; }
.pl-name { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 10vw, 8rem); letter-spacing: -.02em; line-height: 1; overflow: hidden; padding-bottom: .1em; }
.pl-name span { display: inline-block; transform: translateY(110%); animation: plUp .9s cubic-bezier(.2,.7,.2,1) forwards; }
.pl-name span:nth-child(1){animation-delay:.05s}.pl-name span:nth-child(2){animation-delay:.1s}.pl-name span:nth-child(3){animation-delay:.15s}.pl-name span:nth-child(4){animation-delay:.2s}
.pl-name span:nth-child(6){animation-delay:.3s}.pl-name span:nth-child(7){animation-delay:.35s}.pl-name span:nth-child(8){animation-delay:.4s}.pl-name span:nth-child(9){animation-delay:.45s}
.pl-name span:nth-child(n+6) { font-style: italic; color: var(--gold); }
.pl-name .sp { width: .25em; }
@keyframes plUp { to { transform: none; } }
.pl-sub { margin-top: 1rem; color: var(--muted); letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; opacity: 0; animation: plFade .8s ease .6s forwards; }
@keyframes plFade { to { opacity: 1; } }
.pl-count { position: absolute; right: clamp(1.25rem, 4vw, 3rem); bottom: 2rem; font-family: var(--serif); font-size: clamp(3rem, 8vw, 6rem); color: var(--gold); font-weight: 300; line-height: 1; font-variant-numeric: tabular-nums; }
.pl-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--gold), var(--coral)); transform-origin: 0 50%; transform: scaleX(0); }

/* Shimmering gold words */
.hero h1 .gold, .display .gold, .contact .huge .gold {
  background: linear-gradient(100deg, #e4ba6a 0%, #f6d79b 25%, #f0947a 50%, #f6d79b 75%, #e4ba6a 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 11s linear infinite; padding-right: .06em; }
@keyframes sheen { to { background-position: -250% 0; } }
.band.light .display .gold { background: linear-gradient(100deg, #85531a, #a8441f 50%, #85531a); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; }

/* Cream bands open from rounded edges as you reach them */
.band.light { clip-path: inset(0 4% round 48px); transition: clip-path 1.2s var(--ease); }
.band.light.open { clip-path: inset(0 0 round 0); }

/* Videos */
.reels-head { margin: 4.5rem 0 1.6rem; }
.reels-head .minor-title { margin: 0 0 .4rem; font-size: clamp(1.8rem, 3vw, 2.4rem); font-style: normal; }
.reels { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.25rem; align-items: stretch; }
.reel { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: border-color .3s, transform .5s var(--ease), opacity .9s var(--ease); }
.reel:hover, .reel:focus-visible { border-color: var(--coral); }
.reel:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.reel-thumb { position: relative; display: block; flex: 1; min-height: 300px; overflow: hidden; background: #000; }
.reel-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; filter: brightness(.82); }
.reel:hover .reel-thumb img { transform: scale(1.06); filter: brightness(1); }
.reel-play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; translate: -50% -50%; border-radius: 50%; background: rgba(228,186,106,.92); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(228,186,106,.5); animation: ring 2.2s ease-out infinite; transition: transform .4s var(--ease); }
.reel:hover .reel-play { transform: scale(1.12); }
.reel-play span { width: 0; height: 0; border-left: 20px solid var(--ink); border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 6px; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(228,186,106,.5); } 100% { box-shadow: 0 0 0 26px rgba(228,186,106,0); } }
.reel-body { display: flex; flex-direction: column; gap: .3rem; padding: 1.3rem 1.5rem 1.5rem; }
.reel-note { align-self: flex-start; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ink); background: var(--coral); border-radius: 99px; padding: .25rem .7rem; }
.reel-title { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; color: var(--text); margin-top: .4rem; }
.reel-brand { color: var(--gold); font-size: .92rem; }

/* Video popup */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; }
.modal-back { position: absolute; inset: 0; background: rgba(5,5,4,.85); backdrop-filter: blur(8px); animation: plFade .3s ease forwards; opacity: 0; }
.modal-box { position: relative; width: min(420px, 92vw); max-height: 92vh; display: flex; flex-direction: column; gap: .8rem; animation: pop .45s var(--ease); }
@keyframes pop { from { transform: translateY(30px) scale(.96); opacity: 0; } }
.modal-frame { background: #fff; border-radius: 16px; overflow: hidden; height: min(560px, 78vh); }
.modal-frame.tall { height: min(780px, 82vh); }
.modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-close { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--gold); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; z-index: 2; }
.modal-link { text-align: center; color: var(--text); font-size: .92rem; }
.modal-link:hover { color: var(--gold); }
body.modal-open { overflow: hidden; }

/* Eleven36 showcase */
.showcase { position: relative; z-index: 2; margin-top: clamp(5rem, 10vw, 8rem); }
.sc-sticky { padding: clamp(3rem, 6vw, 5rem) 0 3rem; overflow: hidden; background: linear-gradient(180deg, transparent, rgba(20,60,50,.18) 30%, rgba(20,60,50,.18) 70%, transparent); }
.showcase.pinned .sc-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 4.5rem 0 1.2rem; }
.showcase.pinned .sc-head { margin-bottom: 1.4rem; }
.showcase.pinned .sc-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.showcase.pinned .sc-progress { margin-top: 1.2rem; }
.sc-head { max-width: var(--max); width: 100%; margin: 0 auto 2.2rem; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.sc-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: .8rem; }
.sc-head .sub { max-width: 40rem; }
.sc-link { margin-top: 1rem; }
.sc-track { display: flex; gap: 1.2rem; padding: 0 clamp(1.25rem, 4vw, 3rem); width: max-content; will-change: transform; }
.sc-tile { width: clamp(200px, min(21vw, calc((100vh - 400px) * .72)), 290px); flex: none; transition: transform .5s var(--ease); }
.sc-img { aspect-ratio: 3/4; border-radius: 16px; overflow: hidden; border: 1px solid #2c3a35; box-shadow: 0 30px 60px -35px rgba(0,0,0,.9); }
.sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sc-tile:hover .sc-img img { transform: scale(1.06); }
.sc-tile figcaption { margin-top: .75rem; font-size: .9rem; color: var(--text); display: flex; gap: .6rem; line-height: 1.4; }
.sc-tile figcaption span { color: #7fe0c0; font-family: var(--serif); font-style: italic; }
.sc-tile:nth-child(even) { margin-top: 1.6rem; }
.sc-progress { max-width: var(--max); width: calc(100% - 2 * clamp(1.25rem, 4vw, 3rem)); margin: 2rem auto 0; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.sc-progress span { display: block; height: 100%; background: linear-gradient(90deg, #7fe0c0, var(--gold)); transform-origin: 0 50%; transform: scaleX(0); }
.showcase:not(.pinned) .sc-progress { display: none; }
.showcase:not(.pinned) .sc-sticky { overflow: visible; }
.showcase:not(.pinned) .sc-track { scroll-padding-inline: clamp(1.25rem, 4vw, 3rem); width: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.showcase:not(.pinned) .sc-tile { scroll-snap-align: start; width: 62vw; max-width: 260px; }
.showcase:not(.pinned) .sc-tile:nth-child(even) { margin-top: 0; }

/* More of my work: own section */
#more .gallery-head { margin-top: 0; }
.gallery { grid-template-columns: repeat(3, 1fr); }

/* Static (screenshots) and reduced motion */
.static .preloader { display: none !important; }
.static .band.light { clip-path: none; }
.static .hero h1 .gold, .static .display .gold { animation: none; }
@media (prefers-reduced-motion: reduce) { .band.light { clip-path: none; } }

@media (max-width: 980px) {
  .reels { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .reel-thumb { min-height: 220px; }
  .band.light { clip-path: inset(0 2% round 28px); }
  .band.light.open { clip-path: inset(0 0 round 0); }
  .sc-sticky { padding-top: 4rem; }
}


/* ==========================================================
   v6 MOTION LAYER (fx.js). Everything here switches off for
   people who ask their device for less motion.
   ========================================================== */
@keyframes spin { to { rotate: 360deg; } }
@keyframes twinkle { 0%, 100% { opacity: .25; scale: .6; rotate: 0deg; } 50% { opacity: 1; scale: 1.1; rotate: 90deg; } }
@keyframes bobTag { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }

/* Hero particle sky */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 2s ease .8s; -webkit-mask-image: radial-gradient(120% 90% at 60% 45%, #000 55%, transparent 100%); mask-image: radial-gradient(120% 90% at 60% 45%, #000 55%, transparent 100%); }
.loaded .hero-canvas { opacity: 1; }
.hero > *:not(.hero-canvas) { position: relative; z-index: 1; }
.hero > .scroll-hint { position: absolute; }

/* Hero photo extras: soft spinning aura, orbit ring, sparkles, floating labels */
.photo-aura { position: absolute; inset: 6%; z-index: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(228,186,106,.75), rgba(240,148,122,.55), rgba(110,90,46,.15), rgba(228,186,106,.75)); filter: blur(46px); opacity: 0; transition: opacity 2s ease 1s; animation: spin 32s linear infinite; pointer-events: none; }
.loaded .photo-aura { opacity: .55; }
.photo-orbit { position: absolute; left: 50%; top: 50%; width: 124%; aspect-ratio: 1; translate: -50% -50%; border: 1px dashed rgba(228,186,106,.28); border-radius: 50%; z-index: 0; pointer-events: none; animation: spin 46s linear infinite; opacity: 0; transition: opacity 1.5s ease 1.4s; }
.photo-orbit i { position: absolute; left: 50%; top: -5px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 14px 3px rgba(240,148,122,.7); }
.loaded .photo-orbit { opacity: 1; }
.spark { position: absolute; z-index: 3; color: var(--gold); font-size: 1.3rem; line-height: 1; pointer-events: none; animation: twinkle 5.5s ease-in-out infinite; text-shadow: 0 0 12px rgba(228,186,106,.8); }
.sp1 { top: 4%; right: 2%; } .sp2 { bottom: 16%; left: -6%; font-size: .9rem; animation-delay: 1.1s; color: var(--coral); } .sp3 { top: 42%; right: -9%; font-size: .8rem; animation-delay: 2s; }
.float-tags { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.ftag { position: absolute; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 99px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--text); background: rgba(23,21,18,.78); border: 1px solid rgba(228,186,106,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 12px 30px -12px rgba(0,0,0,.8);
  opacity: 0; scale: .6; transition: opacity .7s ease, scale .9s cubic-bezier(.3,1.6,.4,1); transition-delay: calc(1.6s + var(--k) * .18s);
  transform: translate3d(calc(var(--px, 0) * var(--dz, 1) * 1px), calc(var(--py, 0) * var(--dz, 1) * 1px), 40px);
  animation: bobTag 5s ease-in-out infinite; animation-delay: calc(var(--k) * -1.3s); }
.ftag b { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.ftag:nth-child(even) b { background: var(--coral); box-shadow: 0 0 10px var(--coral); }
.loaded .ftag, .static .ftag { opacity: 1; scale: 1; }
.ft1 { top: 12%; left: -14%; --dz: 1.4; } .ft2 { top: 34%; right: -16%; --dz: .8; } .ft3 { bottom: 24%; left: -18%; --dz: 1.1; } .ft4 { bottom: 6%; right: -10%; --dz: 1.6; }

/* Gold bands (same look as the brand strip) */
.bands { position: relative; z-index: 2; padding: clamp(2.2rem, 5vw, 4rem) 0; overflow: hidden; display: flex; flex-direction: column; gap: clamp(2.2rem, 4vw, 3.2rem); pointer-events: none; user-select: none; }
.gband { --tilt: -1.6deg; position: relative; margin: 0 -3vw; overflow: hidden; padding: 1rem 0; background: var(--gold); color: var(--ink); transform: rotate(var(--tilt)) skewX(var(--sk, 0deg)); box-shadow: 0 20px 50px -30px rgba(228,186,106,.6); }
.gband.g2 { --tilt: 1.6deg; background: var(--cream); box-shadow: 0 20px 50px -30px rgba(243,236,224,.45); }
.gband.g2 i { color: var(--bronze); }
.bands-one .gband.g1 { --tilt: 1.4deg; }
.gb-track { display: flex; width: max-content; will-change: transform; }
.gb-set { display: flex; align-items: center; gap: 2.2rem; padding-right: 2.2rem; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 2rem); font-style: italic; white-space: nowrap; line-height: 1.3; }
.gb-set i { font-style: normal; font-size: .9rem; }
.static .gb-track { transform: none; }

/* Section headings: letters rise in */
.splt .sw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .05em .22em 0; margin: 0 -.05em -.22em 0; }
.splt .sc { display: inline-block; transform: translateY(112%) rotate(8deg); opacity: 0; transform-origin: 0 100%; transition: transform 1s var(--ease), opacity .6s ease; transition-delay: calc(min(var(--c), 45) * .02s + .1s); }
.splt.in .sc { transform: none; opacity: 1; }

/* Intro lines light up as you scroll */
.litup .lw { opacity: .28; transition: opacity .5s ease; }
.litup .lw.on { opacity: 1; }

/* Blur-to-sharp on headings and timeline */
.fx .section-head.reveal, .fx .t-item.reveal, .fx .stat.reveal { filter: blur(8px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s), filter 1s var(--ease) var(--d, 0s); }
.fx .section-head.reveal.in, .fx .t-item.reveal.in, .fx .stat.reveal.in { filter: none; }

/* Stats: a gold line draws under each number */
.stat { position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--gold), var(--coral)); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--ease) calc(var(--d, 0s) + .4s); }
.stat.in::after, .static .stat::after { transform: none; }
.stat:hover { border-color: rgba(228,186,106,.5); box-shadow: 0 0 40px -14px rgba(228,186,106,.45); }

/* Timeline dots light up as the line passes them */
.t-item.lit::before { background: var(--gold); box-shadow: 0 0 0 5px rgba(228,186,106,.16), 0 0 18px 2px rgba(228,186,106,.7); }

/* Tool chips pop in one by one */
.fx .tools .chip { opacity: 0; transform: translateY(14px) scale(.8); transition: opacity .5s ease var(--cd, 0s), transform .7s cubic-bezier(.3,1.5,.4,1) var(--cd, 0s), border-color .25s, color .25s, background .25s, box-shadow .25s; }
.fx .tools.in .chip { opacity: 1; transform: none; }
.fx .tools.in .chip:hover { transform: translateY(-4px) scale(1.06); transition-delay: 0s; box-shadow: 0 10px 26px -8px rgba(228,186,106,.7); }
.fx .creds .cred { opacity: 0; transform: translateX(-18px); transition: opacity .6s ease var(--cd, 0s), transform .8s var(--ease) var(--cd, 0s); }
.fx .creds.in .cred { opacity: 1; transform: none; }

/* Buttons: label rolls up on hover */
.roll { display: inline-block; overflow: hidden; vertical-align: top; height: 1.7em; line-height: 1.7em; }
.roll > span { display: inline-block; transition: transform .5s var(--ease); text-shadow: 0 1.7em 0 currentColor; }
.btn:hover .roll > span { transform: translateY(-1.7em); }

/* Custom cursor (desktop only) */
.cur-dot, .cur-ring { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cur-on .cur-dot, .cur-on .cur-ring { opacity: 1; }
.cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gold); }
.cur-ring > span { position: absolute; left: 0; top: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid rgba(228,186,106,.7); display: grid; place-items: center; font-size: 0; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, border-color .3s, font-size .2s; }
.cur-ring.hover > span { width: 58px; height: 58px; margin: -29px 0 0 -29px; background: rgba(228,186,106,.12); border-color: var(--gold); }
.cur-ring.label > span { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--gold); font-size: .72rem; }
.cur-ring.press > span { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
.has-cursor body, .has-cursor a, .has-cursor button, .has-cursor .card { cursor: none; }
.modal-open .cur-dot, .modal-open .cur-ring { display: none; }

/* Back-to-top button with a progress ring */
.to-top { position: fixed; right: 1.2rem; bottom: 4.5rem; z-index: 15; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(23,21,18,.85); backdrop-filter: blur(10px); color: var(--gold); font-size: 1.1rem; opacity: 0; translate: 0 20px; pointer-events: none; transition: opacity .4s, translate .5s var(--ease), background .25s; }
.to-top.show { opacity: 1; translate: 0 0; pointer-events: auto; }
.to-top:hover { background: var(--gold); color: var(--ink); }
.to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.to-top circle { fill: none; stroke: var(--line); stroke-width: 2; }
.to-top .tt-p { stroke: var(--gold); stroke-linecap: round; }
.to-top span { position: relative; }

@media (max-width: 720px) {
  .ftag { font-size: .7rem; padding: .38rem .7rem; }
  .ft1 { left: -10%; } .ft2 { right: -12%; } .ft3 { left: -12%; } .ft4 { right: -8%; }
  .photo-orbit { width: 116%; }
  .to-top { width: 44px; height: 44px; right: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-aura, .photo-orbit, .spark, .ftag, .photo-stage { animation: none !important; }
  .hero-canvas, .cur-dot, .cur-ring { display: none; }
}
.static .photo-aura { opacity: .55; animation: none; } .static .photo-orbit { opacity: 1; animation: none; } .static .spark, .static .ftag { animation: none; }
.static .hero-canvas { display: none; }


/* ==========================================================
   v8 MOTION LAYER (fx2.js)
   ========================================================== */
@property --amb { syntax: '<color>'; inherits: true; initial-value: rgba(185,133,58,.42); }
:root { --amb: rgba(185,133,58,.42); transition: --amb 1.4s ease; }
.bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 45% at 75% 35%, var(--amb), transparent 70%), radial-gradient(45% 40% at 15% 80%, var(--amb), transparent 70%); opacity: .55; }

/* Intro: gold curtain sweep, skip hint */
.curtain { display: none; }
.preload .curtain { display: block; position: fixed; inset: 0; z-index: 101; background: linear-gradient(180deg, var(--gold), var(--coral)); transform: translateY(100%); pointer-events: none; }
.preload.pl-done .curtain { animation: curtain 1.1s cubic-bezier(.76,0,.24,1) forwards; }
@keyframes curtain { 0% { transform: translateY(100%); } 45% { transform: translateY(0); } 100% { transform: translateY(-100%); } }
.pl-skip { position: absolute; left: clamp(1.25rem, 4vw, 3rem); bottom: 2.2rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); opacity: 0; animation: plFade .6s ease .5s forwards; }
.preloader { cursor: pointer; }

/* Waving hand */
.wave { display: inline-block; transform-origin: 70% 80%; animation: wave 2.6s ease-in-out 2.2s infinite; }
@keyframes wave { 0%, 60%, 100% { rotate: 0deg; } 10%, 30% { rotate: 16deg; } 20% { rotate: -8deg; } 40% { rotate: -4deg; } 50% { rotate: 10deg; } }

/* Marker highlights (write ==words== in content.js) */
mark.hl { background: linear-gradient(transparent 40%, rgba(228,186,106,.34) 40%, rgba(240,148,122,.34) 94%, transparent 94%) 0 0 / 0% 100% no-repeat; color: var(--text); padding: 0 .08em; transition: background-size 1.1s cubic-bezier(.65,0,.35,1); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
mark.hl.on { background-size: 100% 100%; }
.band.light mark.hl { color: var(--ink); background-image: linear-gradient(transparent 40%, rgba(240,148,122,.45) 40%, rgba(240,148,122,.45) 94%, transparent 94%); }

/* Swoosh under section titles */
.swoosh { display: block; width: clamp(150px, 22vw, 230px); height: auto; margin: -.2rem 0 1.1rem; overflow: visible; }
.swoosh path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s cubic-bezier(.65,0,.35,1) .5s; }
.band.light .swoosh path { stroke: var(--coral); }
.section-head.in .swoosh path, .static .swoosh path { stroke-dashoffset: 0; }
.section-head[style*="center"] .swoosh, .center .swoosh { margin-left: auto; margin-right: auto; }

/* Service cards that stack as you scroll */
.pillars.stack { display: flex; flex-direction: column; gap: 2.5rem; max-width: 980px; margin: 0 auto; padding-bottom: 2rem; }
.stack .pillar { position: sticky; top: calc(96px + var(--si) * 24px); transform-origin: 50% 0; box-shadow: 0 -18px 50px -28px rgba(60,40,10,.35); display: grid; grid-template-columns: 1fr 1.15fr; gap: 0 3rem; align-items: start; }
.stack .pillar > :not(ul) { grid-column: 1; }
.stack .pillar ul { grid-column: 2; grid-row: 1 / span 4; }
.stack .pillar::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #17140f; opacity: var(--dim, 0); pointer-events: none; }
.stack .pillar.reveal.in:hover { transform: none; }
@media (max-width: 720px) {
  .pillars.stack { gap: 1.5rem; }
  .stack .pillar { top: calc(78px + var(--si) * 14px); display: block; padding: 1.7rem 1.4rem; }
  .stack .pillar h3 { font-size: 1.5rem; margin: .6rem 0 .5rem; }
  .stack .pillar li { padding: .5rem 0; font-size: .9rem; }
  .band.light .stack .pillar-blurb { margin-bottom: .9rem; }
}

/* Images and cards lean with scroll speed */
.fx #gallery, .fx #reels, .fx #featured, .fx #lovedList { transform: skewY(var(--vsk, 0deg)); will-change: transform; }

/* Timeline: entries slide in from alternating sides; the one in the middle gets the spotlight */
.fx .t-item.reveal { transform: translateX(-46px); }
.fx .t-item.reveal:nth-of-type(even) { transform: translateX(46px); }
.fx .t-item.reveal.in { transform: none; }
.t-item > div { transition: transform .6s var(--ease), opacity .6s; }
.t-item h3 { transition: color .4s; }
.t-item.active > div { transform: translateX(10px); }
.t-item.active h3 { color: var(--gold); }
.t-item.active::before { transform: scale(1.6); background: var(--gold); box-shadow: 0 0 0 6px rgba(228,186,106,.2), 0 0 24px 4px rgba(228,186,106,.8); }

/* Ripples */
.rip-host { position: relative; overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(255,240,210,.55), rgba(255,240,210,0) 70%); transform: scale(0); animation: ripple .75s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

/* Confetti layer */
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 70; pointer-events: none; }

/* Contact finale: letters bob in a wave */
.contact .huge.bob .sc { animation: bobChar 2.8s ease-in-out infinite; animation-delay: calc(var(--c) * .09s); }
@keyframes bobChar { 0%, 100% { translate: 0 0; } 30% { translate: 0 -.08em; } 60% { translate: 0 .02em; } }
.contact .huge .sw { padding-top: .12em; margin-top: -.12em; }
.cta .gb-set { font-size: clamp(1.5rem, 3vw, 2.4rem); }

@media (prefers-reduced-motion: reduce) {
  .wave, .contact .huge.bob .sc { animation: none !important; }
  .curtain, .confetti { display: none !important; }
}
.static .wave { animation: none; }

/* Small deliverable cards under a timeline job (experience[].deliverables) */
.t-deliv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 1.2rem; max-width: 46rem; }
.t-dcard { position: relative; display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(23,21,18,.75); transition: border-color .3s, transform .4s var(--ease), box-shadow .3s, opacity .7s ease, translate .8s var(--ease); }
.t-dcard:hover { border-color: rgba(228,186,106,.6); transform: translateY(-4px); box-shadow: 0 14px 34px -16px rgba(228,186,106,.45); }
.t-dnum { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: .95rem; }
.t-dcard strong { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--text); line-height: 1.25; }
.t-dcard > span:last-child { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.fx .t-item.reveal .t-dcard { opacity: 0; translate: 0 18px; transition-delay: calc(.35s + var(--k) * .12s); }
.fx .t-item.reveal.in .t-dcard { opacity: 1; translate: 0 0; }
@media (max-width: 720px) { .t-deliv { grid-template-columns: 1fr; gap: .6rem; } }
.fx .t-item.reveal.in .t-dcard:hover { transition-delay: 0s; }
.t-item .t-text { margin-bottom: .7rem; }

/* ==========================================================
   v11 FINISHING LAYER: calmer, softer, more polished
   ========================================================== */
/* Slow floating light orbs in the background */
.orb { position: absolute; border-radius: 50%; filter: blur(28px); opacity: .0; animation: orbFloat 46s ease-in-out infinite alternate, orbIn 3s ease 1.5s forwards; will-change: transform; }
.o1 { width: 140px; height: 140px; left: 12%; top: 30%; background: rgba(228,186,106,.55); }
.o2 { width: 90px; height: 90px; right: 18%; top: 62%; background: rgba(240,148,122,.5); animation-duration: 58s, 3s; animation-delay: -12s, 1.8s; }
.o3 { width: 170px; height: 170px; left: 55%; top: 8%; background: rgba(243,236,224,.22); animation-duration: 64s, 3s; animation-delay: -30s, 2.1s; }
.o4 { width: 70px; height: 70px; left: 30%; bottom: 10%; background: rgba(228,186,106,.45); animation-duration: 52s, 3s; animation-delay: -20s, 2.4s; }
@keyframes orbFloat { 0% { transform: translate(0,0) scale(1); } 33% { transform: translate(6vw,-8vh) scale(1.15); } 66% { transform: translate(-5vw,6vh) scale(.9); } 100% { transform: translate(3vw,10vh) scale(1.05); } }
@keyframes orbIn { to { opacity: .35; } }
.blob { opacity: .28; }

/* Hero photo: a slow breathing glow around the frame */
.photo-shape { box-shadow: 0 0 0 0 rgba(228,186,106,0); }
.loaded .photo-shape { animation: breatheGlow 7s ease-in-out 2.5s infinite; }
@keyframes breatheGlow { 0%, 100% { box-shadow: 0 0 30px -6px rgba(228,186,106,.18), inset 0 0 20px -10px rgba(228,186,106,.2); } 50% { box-shadow: 0 0 60px 2px rgba(228,186,106,.32), inset 0 0 26px -8px rgba(228,186,106,.32); } }
.photo-orbit { animation-duration: 70s; }
.ftag { animation-duration: 7s; }

/* "Scroll to explore" cue */
.scroll-hint em { position: absolute; top: calc(100% + .55rem); left: 50%; translate: -50% 0; white-space: nowrap; font-style: normal; font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); opacity: .85; }
.scroll-hint { bottom: 3.2rem; opacity: 0; transition: opacity 1.2s ease 2.6s; }
.loaded .scroll-hint, .static .scroll-hint { opacity: 1; }
.scroll-hint span { animation-duration: 2.6s; }
@media (max-width: 980px) { .scroll-hint { display: none; } }

/* Section labels: a calm fade and letter-spacing settle */
.fx main .kicker { opacity: 0; letter-spacing: .42em; transition: opacity 1.1s var(--ease), letter-spacing 1.4s var(--ease); }
.fx main .kicker.in { opacity: 1; letter-spacing: .22em; }

/* Softer, more consistent hover: lift + warm glow */
.card, .tile, .sc-tile, .stat, .t-dcard { transition-timing-function: var(--ease); }
.feature:hover, .reel:hover, .love:hover { box-shadow: 0 30px 70px -34px rgba(228,186,106,.38); border-color: rgba(228,186,106,.42); }
.tile:hover .tile-img img, .sc-tile:hover .sc-img img { transform: scale(1.05); }
.tile-img img, .sc-img img { transition: transform 1.4s var(--ease), clip-path 1.2s var(--ease); }
.zoomable { cursor: zoom-in; }
.has-cursor .zoomable { cursor: none; }
.zoomable:focus-visible, .lb-btn:focus-visible, .sec-dots a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* Softer ripples */
.ripple { background: radial-gradient(circle, rgba(255,240,210,.32), rgba(255,240,210,0) 70%); animation-duration: 1s; }

/* Picture viewer */
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 4.5rem 1rem; }
.lightbox[hidden] { display: none; }
.lb-back { position: absolute; inset: 0; background: rgba(8,7,6,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transition: opacity .5s var(--ease); }
.lb-stage { position: relative; margin: 0; max-width: min(92vw, 900px); display: flex; flex-direction: column; align-items: center; gap: 1rem; opacity: 0; transform: scale(.94) translateY(16px); transition: opacity .55s var(--ease), transform .8s var(--ease); }
.lightbox.on .lb-back { opacity: 1; }
.lightbox.on .lb-stage { opacity: 1; transform: none; }
.lb-stage img { max-height: 74vh; width: auto; max-width: 100%; border-radius: 16px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(228,186,106,.25); }
.lightbox.swap .lb-stage img { animation: lbSwap .7s var(--ease); }
@keyframes lbSwap { from { opacity: 0; transform: translateX(calc(var(--dir, 0) * 40px)) scale(.98); } }
.lb-stage figcaption { color: var(--text); font-size: .95rem; text-align: center; max-width: 40rem; }
.lb-stage figcaption .tile-tag { display: block; color: var(--gold); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: .2rem; }
.lb-stage figcaption > span:first-child:not(.tile-tag) { color: var(--gold); margin-right: .5rem; }
.lb-btn { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(228,186,106,.45); background: rgba(23,21,18,.8); color: var(--text); font-size: 1.2rem; cursor: pointer; transition: background .3s, color .3s, transform .4s var(--ease); }
.lb-btn:hover { background: var(--gold); color: var(--ink); transform: scale(1.06); }
.lb-prev { left: clamp(.6rem, 3vw, 2rem); top: 50%; translate: 0 -50%; }
.lb-next { right: clamp(.6rem, 3vw, 2rem); top: 50%; translate: 0 -50%; }
.lb-close { top: 1rem; right: 1rem; font-size: 1.5rem; }
.lb-count { position: absolute; top: 1.4rem; left: 1.2rem; z-index: 2; color: var(--muted); font-size: .8rem; letter-spacing: .16em; }
.lightbox.single .lb-prev, .lightbox.single .lb-next, .lightbox.single .lb-count { display: none; }
@media (max-width: 720px) { .lb-prev, .lb-next { top: auto; bottom: 1.2rem; translate: none; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } .lb-stage img { max-height: 66vh; } }

/* Section dots (desktop) */
.sec-dots { position: fixed; right: 1.4rem; top: 50%; translate: 0 -50%; z-index: 12; display: flex; flex-direction: column; gap: .9rem; opacity: 0; transition: opacity 1s ease 2.4s; }
.loaded .sec-dots, .static .sec-dots { opacity: 1; }
.sec-dots a { position: relative; display: block; width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(228,186,106,.55); transition: background .5s var(--ease), transform .6s var(--ease), border-color .4s; }
.sec-dots a::after { content: ""; position: absolute; inset: -8px; }
.sec-dots a.on { background: var(--gold); transform: scale(1.3); box-shadow: 0 0 12px rgba(228,186,106,.6); }
.sec-dots a span { position: absolute; right: 22px; top: 50%; translate: 0 -50%; white-space: nowrap; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text); background: rgba(23,21,18,.9); border: 1px solid var(--line); padding: .3rem .7rem; border-radius: 99px; opacity: 0; transform: translateX(6px); transition: opacity .4s var(--ease), transform .5s var(--ease); pointer-events: none; }
.sec-dots a:hover span, .sec-dots a:focus-visible span { opacity: 1; transform: none; }
@media (max-width: 980px) { .sec-dots { display: none; } }

/* Footer: big signature that draws in */
.footer { flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-top: 3rem; border-top: 0; }
.footer > span[data-text="footer"] { margin-right: auto; }

/* Smaller, calmer custom cursor */
.cur-ring > span { width: 32px; height: 32px; margin: -16px 0 0 -16px; border-color: rgba(228,186,106,.5); }
.cur-ring.hover > span { width: 48px; height: 48px; margin: -24px 0 0 -24px; background: rgba(228,186,106,.08); }
.cur-ring.label > span { width: 72px; height: 72px; margin: -36px 0 0 -36px; }

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; opacity: .3; }
  .loaded .photo-shape { animation: none; }
  .lb-stage, .lb-back { transition: none; }
}
.static .orb { animation: none; opacity: .3; }
.static .loaded .photo-shape, .static .photo-shape { animation: none; }
.has-cursor body.modal-open, .has-cursor body.modal-open * { cursor: auto !important; }

/* ============ v12: quick hero, "Match the brand" game, tighter mobile spacing ============ */
/* Hero shows up straight away */
.hero h1 .ch { transition: transform .42s var(--ease), opacity .28s ease, filter .32s ease, color .3s; transition-delay: calc(var(--c) * .004s); filter: blur(4px); }
.intro-anim { transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i) * .03s); transform: translateY(10px); }
.hero .lead.intro-anim { opacity: 1; transform: none; transition: none; }

/* Game */
.game-sec { padding-top: clamp(3rem, 6vw, 5rem); }
.game { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.4rem, 3.5vw, 3rem); border-radius: 28px; border: 1px solid rgba(228,186,106,.28); background: radial-gradient(120% 90% at 0% 0%, rgba(228,186,106,.10), transparent 60%), radial-gradient(90% 80% at 100% 100%, rgba(240,148,122,.10), transparent 60%), #13110e; box-shadow: 0 40px 80px -50px rgba(0,0,0,.9); overflow: hidden; }
.game-head h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: .2rem 0 .8rem; }
.game-head .sub { max-width: 30rem; }
.game-stats { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.3rem 0 1.1rem; }
.game-stats span { font-size: .82rem; color: var(--muted); padding: .45rem .85rem; border-radius: 99px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.game-stats b { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; margin-left: .25rem; }
.game button.btn { background: transparent; color: var(--text); font: inherit; cursor: pointer; }
.game-reset { padding: .7rem 1.3rem; font-size: .88rem !important; }
.game-reset:hover, #gAgain:hover { border-color: var(--gold); color: var(--gold); }
.game-board-wrap { position: relative; width: 100%; max-width: 520px; justify-self: center; }
.game-board { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: clamp(.5rem, 1.4vw, .85rem); perspective: 900px; }
.gcard { position: relative; aspect-ratio: 4 / 5; padding: 0; border: 0; background: none; border-radius: 14px; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: transform .45s var(--ease); }
.gcard:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gc-in { position: absolute; inset: 0; border-radius: inherit; }
.gc-back, .gc-front { transition: transform .7s cubic-bezier(.33,1,.68,1), opacity 0s linear .3s, visibility 0s linear .3s; }
.gc-front { opacity: 0; visibility: hidden; }
.gcard.up .gc-back, .gcard.matched .gc-back { opacity: 0; visibility: hidden; }
.gcard.up .gc-front, .gcard.matched .gc-front { opacity: 1; visibility: visible; }
.gc-back { transform: perspective(700px) rotateY(0deg); }
.gcard.up .gc-back, .gcard.matched .gc-back { transform: perspective(700px) rotateY(-180deg); }
.gcard.up .gc-front, .gcard.matched .gc-front { transform: perspective(700px) rotateY(0deg); }
.gc-back, .gc-front { position: absolute; inset: 0; border-radius: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.gc-back { background: radial-gradient(circle at 50% 40%, rgba(228,186,106,.22), transparent 62%), repeating-linear-gradient(45deg, rgba(228,186,106,.06) 0 6px, transparent 6px 12px), #1b1814; border: 1px solid rgba(228,186,106,.38); box-shadow: inset 0 0 0 4px #1b1814, inset 0 0 0 5px rgba(228,186,106,.18); }
.gc-back i { font-style: normal; color: var(--gold); font-size: clamp(1rem, 2.4vw, 1.4rem); opacity: .85; animation: gcTw 5.5s ease-in-out infinite; animation-delay: calc(var(--n) * -.45s); }
@keyframes gcTw { 0%,100% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.08); } }
.gc-front { transform: perspective(700px) rotateY(180deg); color: var(--ink); padding: .4rem; text-align: center; box-shadow: 0 14px 30px -18px rgba(0,0,0,.9); }
.gc-front b { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(1.15rem, 3.2vw, 1.9rem); line-height: 1; letter-spacing: -.01em; }
.gc-front small { margin-top: .35rem; font-size: clamp(.56rem, 1.3vw, .72rem); line-height: 1.2; font-weight: 600; letter-spacing: .02em; opacity: .85; }
.tone-gold { background: linear-gradient(160deg, #f3d394, var(--gold)); }
.tone-coral { background: linear-gradient(160deg, #f7b6a2, var(--coral)); }
.tone-cream { background: linear-gradient(160deg, #fffaf2, var(--cream)); }
.tone-mint { background: linear-gradient(160deg, #b6f0dc, #7fe0c0); }
@media (hover: hover) { .gcard:not(.up):not(.matched):hover { transform: translateY(-4px); } .gcard:not(.up):not(.matched):hover .gc-back { border-color: var(--gold); } }
.gcard.matched { cursor: default; }
.gcard.matched .gc-front { animation: gcGlow 1.4s var(--ease) 1; box-shadow: 0 0 0 2px rgba(228,186,106,.7), 0 14px 30px -18px rgba(0,0,0,.9); }
@keyframes gcGlow { 0% { box-shadow: 0 0 0 0 rgba(228,186,106,.7); } 100% { box-shadow: 0 0 0 14px rgba(228,186,106,0), 0 0 0 2px rgba(228,186,106,.7); } }
.gcard.miss .gc-front { animation: gcNudge .45s ease 1; }
@keyframes gcNudge { 0%,100% { translate: 0; } 30% { translate: -3px 0; } 65% { translate: 3px 0; } }
.game-board-wrap.in .game-board.dealt .gcard { animation: gcDeal .7s var(--ease) backwards; animation-delay: calc(var(--n) * .045s); }
@keyframes gcDeal { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
.game.won .game-board, .won .game-board { filter: saturate(1.05); }
.game-win { position: absolute; inset: -6px; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.2rem; border-radius: 20px; background: rgba(15,13,11,.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(228,186,106,.35); animation: gwIn .7s var(--ease) both; }
.game-win[hidden] { display: none; }
@keyframes gwIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.gw-spark { color: var(--gold); font-size: 1.6rem; animation: gcTw 3s ease-in-out infinite; }
.gw-title { font-family: var(--serif); font-size: clamp(1.4rem, 3.6vw, 2rem); line-height: 1.2; color: var(--text); max-width: 20ch; margin: .4rem 0 .5rem; }
.gw-score { color: var(--muted); font-size: .9rem; margin-bottom: 1.1rem; }
.gw-btns { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.gw-btns .btn { padding: .8rem 1.4rem; font-size: .9rem; }
@media (max-width: 860px) {
  .game { grid-template-columns: 1fr; }
  .game-board-wrap { max-width: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .gc-in, .gcard, .gc-back, .gc-front { transition: none !important; }
  .gcard, .gc-front, .gc-back i, .game-win, .gw-spark { animation: none !important; }
}
.static .gc-in, .static .gcard, .static .gc-back, .static .gc-front { transition: none !important; }
.static .gcard, .static .gc-front, .static .gc-back i, .static .game-win, .static .gw-spark { animation: none !important; }

/* Tighter spacing on phones */
@media (max-width: 720px) {
  .section { padding-top: 3.6rem; }
  .band.light .section { padding-top: 3.4rem; }
  .section-head { margin-bottom: 2.2rem; }
  .stats { padding-top: 3rem; }
  .bands { padding: 1.4rem 0; gap: 1.6rem; }
  .showcase { margin-top: 3.6rem; }
  .sc-sticky { padding: 2.6rem 0 .6rem; }
  .showcase:not(.pinned) .sc-track { padding-bottom: .4rem; }
  .band.light { margin-top: 3.6rem; padding-bottom: 3.4rem; }
  .game-sec { padding-top: 2rem; }
  .game { padding: 1.3rem 1rem 1.2rem; border-radius: 22px; gap: 1.2rem; }
  .game-stats { margin: 1rem 0 .9rem; }
  #more .gallery-head { margin-top: 0; }
  .contact { margin-top: 4rem; padding-bottom: 4rem; }
  .footer { padding-top: 2rem; }
}

/* ============ v13: theatre curtain reveal (plays once per visit; turn off in content.js > curtain.show) ============ */
.drape, .drape-spot { display: none; }
.drape-on .drape { display: block; position: fixed; inset: 0; z-index: 120; overflow: hidden; touch-action: none; cursor: pointer; }
.drape-panel { position: absolute; top: 0; bottom: 0; width: 51%; will-change: transform; transition: transform 1s cubic-bezier(.6,.02,.2,1);
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 22%, transparent 70%, rgba(0,0,0,.55) 100%),
    repeating-linear-gradient(90deg, #3b0b15 0px, #5e1623 14px, #8c2b37 24px, #6a1a27 32px, #3b0b15 46px); }
.dp-l { left: 0; transform-origin: 0 0; }
.dp-r { right: 0; transform-origin: 100% 0; }
.dp-sway { position: absolute; inset: 0; background: radial-gradient(120% 60% at 50% 35%, rgba(240,148,122,.16), transparent 70%); animation: dpSway 3.6s ease-in-out infinite alternate; transform-origin: 50% 0; }
@keyframes dpSway { from { transform: skewX(-.5deg); } to { transform: skewX(.5deg); } }
/* gold trim on the inner edges and a gold fringe at the hem */
.drape-panel::after { content: ""; position: absolute; top: 0; bottom: 0; width: 7px; background: linear-gradient(180deg, #f6d79b, #c9953f 40%, #f3d394 70%, #b8812f); box-shadow: 0 0 18px rgba(228,186,106,.45); }
.dp-l::after { right: 0; }
.dp-r::after { left: 0; }
.drape-panel::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: repeating-linear-gradient(90deg, #e4ba6a 0 2px, transparent 2px 6px), linear-gradient(180deg, #e4ba6a 0 4px, transparent 4px); opacity: .85; }
.drape-valance { position: absolute; left: 0; right: 0; top: 0; height: clamp(46px, 8vh, 80px); will-change: transform; transition: transform .8s cubic-bezier(.72,0,.18,1) .25s;
  background: radial-gradient(circle at 50% 100%, transparent 0 17px, #e4ba6a 17px 20px, transparent 20px) 0 100% / 44px 22px repeat-x, linear-gradient(180deg, #2c0810, #5a1522 70%, #6e1d2a);
  box-shadow: 0 10px 26px rgba(0,0,0,.5); }
.drape-title { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 1.5rem; z-index: 2; pointer-events: none; animation: dtIn .5s var(--ease) backwards; transition: opacity .25s ease, transform .4s var(--ease); }
@keyframes dtIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.dt-spark { color: var(--gold); font-size: 1.3rem; text-shadow: 0 0 14px rgba(228,186,106,.8); }
.dt-name { font-family: var(--serif); font-size: clamp(3rem, 9vw, 6.5rem); line-height: 1; margin: .4rem 0 .6rem; letter-spacing: -.01em; color: transparent; background: linear-gradient(100deg, #f6d79b, #e4ba6a 40%, #fff2d6 55%, #e4ba6a 70%); -webkit-background-clip: text; background-clip: text; text-shadow: 0 6px 30px rgba(0,0,0,.35); }
.dt-line { color: var(--cream); font-size: clamp(.72rem, 1.6vw, .9rem); letter-spacing: .22em; text-transform: uppercase; opacity: .9; }
.dt-skip { position: absolute; bottom: 2.2rem; left: 0; right: 0; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(243,236,224,.6); }
.drape-open .dp-l { transform: translateX(-102%) skewX(2deg); }
.drape-open .dp-r { transform: translateX(102%) skewX(-2deg); }
.drape-open .drape-valance { transform: translateY(-105%); }
.drape-open .drape-title { opacity: 0; transform: scale(1.04); }
.drape-open .drape { pointer-events: none; }
.drape-fast .drape-panel { transition-duration: .55s; }
.drape-fast .drape-valance { transition-duration: .45s; transition-delay: 0s; }
/* soft spotlight as the curtains part */
.drape-on .drape-spot, .drape-done .drape-spot { display: block; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: radial-gradient(55% 45% at 50% 30%, rgba(246,215,155,.17), transparent 70%); transition: opacity 1.4s ease; }
.drape-open .drape-spot { opacity: 1; transition-duration: .8s; }
.drape-done .drape-spot { opacity: 0; }
/* hero rises in as they open */
.hero-photo, .hero-text { transition: scale 1.1s var(--ease), translate 1.1s var(--ease); }
.drape-on:not(.drape-open) .hero-photo { scale: .93; translate: 0 26px; }
.drape-on:not(.drape-open) .hero-text { translate: 0 20px; }
.static .drape, .static .drape-spot { display: none !important; }
@media (prefers-reduced-motion: reduce) { .drape, .drape-spot { display: none !important; } }

/* ============ v13: bouncy work cards (featured campaigns + "More of my work") ============ */
@keyframes bIn { 0% { translate: 0 46px; scale: .9; } 55% { translate: 0 -10px; scale: 1.025; } 75% { translate: 0 4px; scale: .995; } 90% { translate: 0 -2px; } 100% { translate: 0 0; scale: 1; } }
@keyframes bBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 var(--bh, -7px); } }
@keyframes badgeBounce { 0%, 100% { translate: 0 0; rotate: -2deg; } 20% { translate: 0 -9px; rotate: 2deg; } 32% { translate: 0 0; rotate: -1deg; } 42% { translate: 0 -4px; rotate: 1deg; } 52% { translate: 0 0; rotate: -2deg; } }
.fx .feature.bouncy, .fx .tile.bouncy { will-change: translate, scale; transition: border-color .3s, transform .5s var(--ease), opacity .9s var(--ease), scale .55s cubic-bezier(.34,1.8,.5,1), box-shadow .4s; }
.fx .feature.bouncy.in, .fx .tile.bouncy.in { animation: bIn 1s cubic-bezier(.3,.7,.4,1) backwards, bBob var(--bd, 5.2s) ease-in-out infinite; animation-delay: var(--bs, 0s), calc(var(--bs, 0s) + 1s + var(--bo, 0s)); }
.fx .feature.bouncy:hover, .fx .tile.bouncy:hover { scale: 1.025; }
.fx .feature-badge { animation: badgeBounce 2.6s cubic-bezier(.3,.7,.4,1) infinite; transform-origin: 50% 100%; }
.fx .tile.bouncy figcaption .tile-tag { display: inline-block; animation: badgeBounce 3.4s cubic-bezier(.3,.7,.4,1) infinite; animation-delay: var(--bo, 0s); }
.static .feature, .static .tile, .static .feature-badge, .static .tile-tag { animation: none !important; translate: none !important; scale: none !important; rotate: none !important; }
@media (prefers-reduced-motion: reduce) { .feature, .tile, .feature-badge, .tile-tag { animation: none !important; translate: none !important; scale: none !important; rotate: none !important; } }

/* v13: simple footer, no big signature */
.footer { padding: 1.4rem clamp(1.25rem, 4vw, 3rem); border-top: 1px solid var(--line); gap: .4rem 2rem; }
@media (max-width: 720px) { .footer { padding: 1.2rem 1.25rem 1.4rem; } .contact { padding-bottom: 3rem; } }
.drape-fast .intro-anim, .drape-fast .hero h1 .ch { transition-delay: 0s !important; transition-duration: .35s !important; }

/* ============ v14: black velvet curtains with gold sparkles, edge-to-edge fixes ============ */
.drape-on .drape { inset: auto; top: -2px; left: -2px; width: calc(100% + 4px); height: calc(100vh + 4px); height: calc(100lvh + 4px); background: #050505; }
.drape-open .drape { background-color: transparent; }
.drape-panel { width: 50%; top: 0; bottom: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background:
    radial-gradient(80% 50% at 50% 38%, rgba(228,186,106,.07), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, transparent 20%, transparent 72%, rgba(0,0,0,.7) 100%),
    repeating-linear-gradient(90deg, #050505 0px, #0e0e0e 12px, #1c1b1a 22px, #262422 26px, #161514 32px, #070707 46px); }
.dp-l { left: 0; } .dp-r { right: 0; left: auto; }
.dp-sway { background: radial-gradient(120% 60% at 50% 35%, rgba(255,240,210,.05), transparent 70%); }
.drape-panel::after { width: 5px; }
.drape-panel::before { bottom: 0; bottom: calc(100lvh - 100dvh); }
.drape-valance { left: 0; right: 0; background: radial-gradient(circle at 50% 100%, transparent 0 17px, #e4ba6a 17px 20px, transparent 20px) 0 100% / 44px 22px repeat-x, linear-gradient(180deg, #000, #121110 70%, #1b1a18); }
.drape-title { top: 0; bottom: auto; height: 100vh; height: 100dvh; }
.dt-skip { bottom: 2.2rem; }
.dt-name { padding: 0 .1em .08em; max-width: 100%; }
/* sparkles stitched into the fabric */
.dp-spark { position: absolute; width: var(--s, 6px); height: var(--s, 6px); left: var(--x); top: var(--y); pointer-events: none; opacity: 0; animation: dpTw var(--d, 3s) ease-in-out var(--dl, 0s) infinite, dpDrift calc(var(--d, 3s) * 2.2) ease-in-out var(--dl, 0s) infinite alternate; }
.dp-spark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, #fff6dc 0 18%, #f6d79b 30%, rgba(228,186,106,.55) 46%, transparent 70%); border-radius: 50%; }
.dp-spark.star::before { border-radius: 0; background: #f6d79b; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); box-shadow: none; }
@keyframes dpTw { 0%, 100% { opacity: .15; transform: scale(.55); } 45% { opacity: 1; transform: scale(1.15); } 60% { opacity: .75; transform: scale(.9); } }
@keyframes dpDrift { from { translate: 0 0; } to { translate: 3px -6px; } }
/* sparkles that burst out as the curtains part */
.drape-burst { position: fixed; left: 50%; top: 50%; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; filter: drop-shadow(0 0 4px rgba(246,215,155,.9)); z-index: 121; pointer-events: none; }
.drape-burst::before { content: ""; position: absolute; inset: 0; background: #f6d79b; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.drape-open .dp-l { transform: translateX(calc(-100% - 40px)) skewX(-2deg); }
.drape-open .dp-r { transform: translateX(calc(100% + 40px)) skewX(2deg); }
.drape-open .drape-valance { transform: translateY(calc(-100% - 30px)); }
.drape-panel::after { width: 3px; background: linear-gradient(180deg, rgba(246,215,155,.9), rgba(201,149,63,.75) 40%, rgba(243,211,148,.85) 70%, rgba(184,129,47,.7)); box-shadow: 0 0 10px rgba(228,186,106,.3); }
.drape-title::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(560px, 120vw); height: 260px; translate: -50% -50%; background: radial-gradient(closest-side, rgba(0,0,0,.82), rgba(0,0,0,.55) 55%, transparent); z-index: -1; }
.drape-title > * { position: relative; }
.dt-skip { position: absolute; }

/* ==========================================================
   v16 MOODS + MENU (mood.js). Words live in content.js.
   ========================================================== */
.nav .nav-right { gap: .6rem; }
.menu-btn { display: inline-flex; align-items: center; gap: .6rem; font: inherit; font-size: .92rem; font-weight: 500; color: var(--text); background: rgba(11,10,9,.55); border: 1px solid rgba(228,186,106,.45); border-radius: 99px; padding: .5rem 1rem .5rem 1.15rem; cursor: pointer; backdrop-filter: blur(10px); transition: border-color .25s, background .25s, transform .3s var(--ease); }
.menu-btn:hover { border-color: var(--gold); transform: translateY(-2px); }
.menu-btn i { position: relative; width: 16px; height: 10px; border-top: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] i { transform: rotate(90deg); }
.menu-btn:focus-visible, .mp-card button:focus-visible, .mp-links a:focus-visible, .ar-tabs button:focus-visible, .cg-cell:focus-visible, .sg-b:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.menu-panel { position: fixed; inset: 0; z-index: 60; }
.mp-back { position: absolute; inset: 0; background: rgba(0,0,0,.55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.mp-card { position: absolute; top: .8rem; right: .8rem; width: min(380px, calc(100vw - 1.6rem)); max-height: calc(100dvh - 1.6rem); overflow-y: auto; background: radial-gradient(120% 60% at 100% 0%, rgba(228,186,106,.14), transparent 60%), #12100d; border: 1px solid rgba(228,186,106,.4); border-radius: 24px; padding: 1.1rem 1.2rem 1.3rem; box-shadow: 0 40px 80px -30px #000; opacity: 0; transform: translateY(-10px) scale(.97); transform-origin: top right; transition: opacity .3s, transform .4s var(--ease); }
.menu-panel.on .mp-back { opacity: 1; }
.menu-panel.on .mp-card { opacity: 1; transform: none; }
.mp-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .4rem; }
.mp-label { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.mp-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.mp-close:hover { border-color: var(--gold); color: var(--gold); }
.mp-links { display: grid; }
.mp-links a { display: flex; align-items: baseline; gap: .8rem; padding: .5rem .2rem; font-family: var(--serif); font-size: 1.35rem; font-weight: 300; color: var(--text); border-bottom: 1px solid rgba(255,255,255,.05); transition: color .2s, padding .3s var(--ease); }
.mp-links a span { font-family: var(--sans); font-size: .7rem; color: var(--gold); letter-spacing: .1em; }
.mp-links a:hover { color: var(--gold); padding-left: .5rem; }
.mp-sep { height: 1px; background: var(--line); margin: .9rem 0; }
.mp-toggle { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: .95rem; color: var(--text); }
.mp-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mp-toggle i { position: relative; width: 44px; height: 24px; border-radius: 99px; background: #2a261f; border: 1px solid var(--line); transition: background .25s; }
.mp-toggle i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform .25s var(--ease), background .25s; }
.mp-toggle input:checked + i { background: rgba(228,186,106,.3); border-color: var(--gold); }
.mp-toggle input:checked + i::after { transform: translateX(20px); background: var(--gold); }
.mp-toggle input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 3px; }
.mp-toggle input:disabled + i { opacity: .6; }
.mp-moods { display: grid; gap: .5rem; margin-top: .7rem; }
.mp-mood { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .8rem; text-align: left; font: inherit; color: var(--text); background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 16px; padding: .75rem .9rem; cursor: pointer; transition: border-color .25s, background .25s, transform .3s var(--ease); }
.mp-mood:hover { border-color: rgba(228,186,106,.6); transform: translateX(-3px); }
.mp-mood i { grid-row: span 2; align-self: center; width: 14px; height: 14px; border-radius: 50%; background: #e4ba6a; box-shadow: 0 0 12px rgba(228,186,106,.6); }
.mp-mood.mood-play i { background: linear-gradient(135deg, #ffb38a, #c9a7ff); box-shadow: 0 0 12px rgba(201,167,255,.55); }
.mp-mood.mood-hr i { background: #f3ece0; box-shadow: none; }
.mp-mood b { font-weight: 500; }
.mp-mood small { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: .9rem; }
.mp-mood[aria-checked="true"] { border-color: var(--gold); background: rgba(228,186,106,.1); }
.mp-mood[aria-checked="true"] b::after { content: " ✓"; color: var(--gold); }

/* ---------- HR Friendly ---------- */
[data-mood="hr"] .bg, [data-mood="hr"] .grain, [data-mood="hr"] .cursor-glow, [data-mood="hr"] .sec-dots, [data-mood="hr"] .drape,
[data-mood="hr"] .hero-canvas, [data-mood="hr"] .photo-aura, [data-mood="hr"] .photo-orbit, [data-mood="hr"] .float-tags, [data-mood="hr"] .spark,
[data-mood="hr"] .typed-line, [data-mood="hr"] .scroll-hint, [data-mood="hr"] .marquee { display: none !important; }
[data-mood="hr"] main > :not(.hero):not(#hr) { display: none !important; }
[data-mood="hr"] .hero { min-height: auto; padding-bottom: 2.5rem; grid-template-columns: 1.4fr .6fr; align-items: center; }
[data-mood="hr"] .hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: 1.2rem; }
[data-mood="hr"] .photo-stage { animation: none; }
[data-mood="hr"] .hero-photo { max-width: 300px; justify-self: end; }
.hr-cv { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem) 4rem; }
.hr-paper { background: var(--cream); color: var(--ink); border-radius: 24px; padding: clamp(1.4rem, 4vw, 3.2rem); display: grid; gap: 2.4rem; }
.hr-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 1.6rem; padding-bottom: 1.8rem; border-bottom: 1px solid #d8cdb9; }
.hr-facts dt, .hr-tools dt { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); font-weight: 600; margin-bottom: .2rem; }
.hr-facts dd { font-size: .98rem; line-height: 1.5; }
.hr-facts .gold { color: var(--bronze); }
.hr-block h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.01em; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--ink); }
.hr-block h3 { font-size: 1.02rem; font-weight: 600; }
.hr-block ul { list-style: none; }
.hr-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 2rem; }
.hr-results li { color: var(--ink-muted); }
.hr-results b { color: var(--ink); font-weight: 600; margin-right: .2rem; }
.hr-job { padding: 1rem 0; border-bottom: 1px solid #e0d6c4; }
.hr-job:last-child { border-bottom: 0; }
.hr-job header { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.hr-date { font-size: .85rem; color: var(--bronze); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hr-co { color: var(--ink-muted); font-size: .95rem; margin: .1rem 0 .4rem; }
.hr-job li, .hr-skills li { position: relative; padding-left: 1.1rem; color: var(--ink-muted); font-size: .95rem; line-height: 1.55; margin: .2rem 0; }
.hr-job li::before, .hr-skills li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--bronze); }
.hr-skills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.hr-skills h3 { margin-bottom: .3rem; }
.hr-sub { margin: 1.6rem 0 .6rem; }
.hr-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 2rem; }
.hr-tools dd { color: var(--ink-muted); font-size: .95rem; }
.hr-edu li { display: flex; gap: 1rem; padding: .45rem 0; color: var(--ink-muted); }
.hr-edu b { color: var(--ink); font-weight: 600; }
.hr-edu .hr-date { min-width: 3rem; }
.hr-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 2rem; }
.hr-contact li { display: flex; flex-direction: column; overflow-wrap: anywhere; }
.hr-contact span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); font-weight: 600; }
.hr-contact a { color: var(--ink); text-decoration: underline; text-decoration-color: #c9b48a; text-underline-offset: 3px; }
.hr-full { margin-top: 1.4rem; }
.hr-full a { color: var(--bronze); font-weight: 600; }
[data-mood="hr"] .footer { position: relative; z-index: 2; }
@media (max-width: 900px) { .hr-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hr-skills { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  [data-mood="hr"] .hero { grid-template-columns: 1fr; padding-bottom: 1.8rem; }
  [data-mood="hr"] .hero-photo { max-width: 170px; justify-self: center; }
  .hr-cv { padding-left: .75rem; padding-right: .75rem; }
  .hr-paper { border-radius: 18px; gap: 2rem; }
  .hr-results, .hr-tools, .hr-contact { grid-template-columns: 1fr; }
  .hr-facts { grid-template-columns: 1fr 1fr; }
}
@media print {
  [data-mood="hr"] .nav, [data-mood="hr"] .menu-panel, [data-mood="hr"] .buttons, [data-mood="hr"] .badge, [data-mood="hr"] .footer, [data-mood="hr"] .to-top, [data-mood="hr"] .hr-full, [data-mood="hr"] .progress { display: none !important; }
  [data-mood="hr"] body { background: #fff; color: #111; }
  [data-mood="hr"] .hero { padding: 0 0 1rem; grid-template-columns: 1fr 140px; gap: 1.5rem; }
  [data-mood="hr"] .hero, [data-mood="hr"] .hero * { color: #111 !important; }
  [data-mood="hr"] .hero-photo figcaption { display: none; }
  [data-mood="hr"] .hr-cv { padding: 0; }
  [data-mood="hr"] .hr-paper { background: #fff; padding: 0; border-radius: 0; gap: 1.4rem; }
  [data-mood="hr"] .hr-job { break-inside: avoid; }
  @page { margin: 14mm; }
}

/* ---------- Play Time ---------- */
[data-mood="play"] { --gold: #ffb38a; --coral: #c9a7ff; }
[data-mood="play"] .bg { filter: hue-rotate(-18deg) saturate(1.2); }
.arcade { padding-top: clamp(4rem, 8vw, 6rem); }
.ar-tabs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin: -1.4rem 0 1.4rem; padding: .2rem; }
.ar-tabs::-webkit-scrollbar { display: none; }
.ar-tabs button { flex: 0 0 auto; display: inline-flex; gap: .55rem; align-items: baseline; font: inherit; font-size: .95rem; color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 99px; padding: .6rem 1.1rem; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.ar-tabs button span { font-size: .7rem; color: var(--gold); letter-spacing: .1em; }
.ar-tabs button[aria-selected="true"] { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.ar-tabs button[aria-selected="true"] span { color: var(--ink); }
.ar-pane[hidden] { display: none; }
.ar-pane .game-sec, .ar-pane .game { margin: 0; }
.mg { border-radius: 28px; border: 1px solid rgba(255,179,138,.3); background: radial-gradient(120% 90% at 0% 0%, rgba(255,179,138,.10), transparent 60%), radial-gradient(90% 80% at 100% 100%, rgba(201,167,255,.12), transparent 60%), #13110e; padding: clamp(1.2rem, 3.5vw, 2.6rem); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: center; }
.mg-intro { color: var(--muted); font-size: 1.05rem; max-width: 26rem; }
.mg-stage { position: relative; width: 100%; max-width: 440px; justify-self: center; aspect-ratio: 1; }
.mg-play { position: absolute; inset: 0; }
.mg-over { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; border-radius: 20px; background: rgba(15,13,11,.82); backdrop-filter: blur(6px); padding: 1rem; z-index: 2; }
.mg-over[hidden] { display: none; }
.mg button.btn { font: inherit; cursor: pointer; border: 0; }
.mg button.btn-ghost { background: transparent; color: var(--text); border: 1px solid #5a534a; }
.mg-big { font-family: var(--serif); font-size: clamp(3.2rem, 9vw, 5rem); line-height: 1; color: var(--gold); }
.mg-line { margin: .6rem auto .3rem; max-width: 22rem; }
.mg-best { color: var(--muted); font-size: .85rem; margin-bottom: 1rem; }
.mg-end .gw-btns { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.mg-end .btn { padding: .8rem 1.4rem; }
.cg-board { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: clamp(4px, 1.2vw, 8px); }
.cg-cell { border: 0; border-radius: 12%; cursor: pointer; padding: 0; transition: transform .15s; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.cg-cell:active { transform: scale(.94); }
.cg-cell.nope { animation: cgNope .35s; }
.cg-board.shake { animation: cgShake .3s; }
@keyframes cgNope { 50% { opacity: .35; } }
@keyframes cgShake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.sg { display: grid; grid-template-rows: 1fr auto; gap: 1rem; }
.sg-card { display: grid; place-items: center; text-align: center; padding: 1.4rem; border-radius: 20px; background: var(--cream); color: var(--ink); font-family: var(--serif); font-size: clamp(1.3rem, 3.4vw, 1.9rem); line-height: 1.25; box-shadow: 0 30px 60px -35px #000; }
.sg-card.in { animation: sgIn .35s var(--ease); }
.sg-card.bad.in { animation: sgIn .35s var(--ease), cgShake .3s; }
@keyframes sgIn { from { opacity: 0; transform: translateY(14px) rotate(-2deg); } }
.sg-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.sg-b { font: inherit; font-size: .92rem; font-weight: 500; color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 16px; padding: .95rem .4rem; cursor: pointer; touch-action: manipulation; transition: border-color .2s, background .2s; }
.sg-b0 { border-color: rgba(255,179,138,.55); } .sg-b1 { border-color: rgba(201,167,255,.55); } .sg-b2 { border-color: rgba(140,214,190,.55); }
.sg-b.ok { background: rgba(120,200,150,.3); }
.sg-b.bad { background: rgba(240,100,90,.3); }
.mw-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: .8rem; }
.mw-tile, .mw-reel { position: relative; border-radius: 18px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); aspect-ratio: 1; margin: 0; }
.mw-tile img, .mw-reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mw-tile:hover img, .mw-reel:hover img { transform: scale(1.05); }
.mw-hero { grid-column: span 2; grid-row: span 2; }
.mw-reel { all: unset; box-sizing: border-box; position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 9 / 16; grid-row: span 2; cursor: pointer; }
.mw-reel:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.mw-reel .reel-play { width: 60px; height: 60px; background: var(--gold); }
.mw-cap, .mw-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .8rem .7rem; font-size: .82rem; line-height: 1.35; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.8)); }
@media (max-width: 900px) { .mg { grid-template-columns: 1fr; } .mw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .menu-btn { padding: .45rem .85rem .45rem 1rem; }
  .mg-stage { max-width: 100%; }
  .sg-b { font-size: .82rem; padding: .85rem .3rem; }
  .mw-grid { gap: .5rem; }
}
.static .mp-card, .static .mp-back { transition: none; }
.hr-block, #arcade, #media { scroll-margin-top: 5.5rem; }
.mg-name { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: .7rem; }
.mg button.btn { font-size: .95rem; }
@media print { [data-mood="hr"] { font-size: 12px; } [data-mood="hr"] .hr-paper { gap: 1rem; } }
