/* Edge Sports Management
 * Layout follows the Irhas agency template; colours, type and shapes follow the EDGE design system
 * (navy #284D79, grey #8A8A88, Plus Jakarta Sans + Poppins, the E-mark corner language). */
:root {
  --navy-100: #eaedf2;
  --navy-300: #899db5;
  --navy-400: #537194;
  --navy-500: #284d79;
  --navy-600: #213f63;
  --navy-900: #122336;
  /* Dark sections and photo overlays. Back to navy: #122336 and 18,35,54 */
  --deep: #0b0b0c;
  --deep-rgb: 11,11,12;
  --grey-100: #e8e8e7;
  --grey-200: #d0d0cf;
  --grey-500: #8a8a88;
  --grey-700: #5a5a58;
  --grey-800: #3e3e3d;
  --surface: #ffffff;
  --ink: var(--navy-900);
  --ink-muted: var(--grey-700);
  --line: var(--grey-200);

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;

  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 16px; --radius-xl: 48px; --radius-pill: 9999px;
  --corner-e: var(--radius-xl) var(--radius-md) var(--radius-xl) var(--radius-md);
  --shadow-card: 0 4px 24px rgba(0,0,0,.11);
  --shadow-float: 8px 10px 47px rgba(0,0,0,.10);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-body); font-weight: 300; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; margin: 0; }
::selection { background: var(--navy-500); color: #fff; }
main { overflow-x: clip; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Shared ---------- */
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .06em; color: var(--navy-500); margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 4px; background: var(--grey-500); clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 100%); }
.eyebrow--light { color: var(--navy-100); }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; }
.tag { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 13px; padding: 4px 14px; border-radius: var(--radius-pill); background: var(--navy-100); color: var(--navy-500); }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 720px; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 640px; }
.section-head h1, .section-head h2, .about__copy h2, .contact h2 { font-size: clamp(32px, 4.2vw, 54px); }
.section-head__desc { margin: 16px 0 0; color: var(--ink-muted); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: var(--radius-md); border: 0; font-family: var(--font-display); font-weight: 600; font-size: 15px; cursor: pointer; transition: background .3s, color .3s, transform .3s var(--ease), box-shadow .3s; }
.btn i { font-style: normal; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover i { transform: translateX(4px); }
.btn--primary { background: var(--navy-500); color: #fff; }
.btn--primary:hover { background: var(--navy-600); box-shadow: 0 10px 24px rgba(40,77,121,.28); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--navy-100); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--navy-300); outline-offset: 3px; }

/* ---------- Scroll animations (AOS-style) ---------- */
[data-aos] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--aos-delay, 0ms); will-change: opacity, transform; }
[data-aos="fade-up"] { transform: translateY(40px); }
[data-aos="fade-right"] { transform: translateX(-50px); }
[data-aos="fade-left"] { transform: translateX(50px); }
[data-aos="zoom-in"] { transform: scale(.94); }
[data-aos].aos-in { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: transform .4s var(--ease); }

.subheader { background: var(--deep); color: rgba(255,255,255,.8); font-size: 13px; height: 40px; overflow: hidden; }
.subheader__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 40px; white-space: nowrap; }
.subheader p { margin: 0; }
.subheader strong { font-family: var(--font-display); font-weight: 600; color: #fff; margin-right: 6px; }
.subheader ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.subheader a:hover { color: #fff; }
.mainbar { background: #fff; box-shadow: 0 1px 0 var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled .mainbar { box-shadow: 0 8px 30px rgba(var(--deep-rgb),.08); }
.site-header.is-scrolled { transform: translateY(-40px); }
.site-header.is-scrolled.is-hidden { transform: translateY(-100%); }
.mainbar__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.logo img { width: 190px; height: auto; }
.nav { display: flex; gap: 30px; font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.nav a { position: relative; padding: 6px 0; color: var(--navy-900); transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--navy-500); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover, .nav a.is-current { color: var(--navy-500); }
.nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }
.mainbar__right { display: flex; align-items: center; gap: 18px; }
.mainbar__phone { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink-muted); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--navy-100); border-radius: var(--radius-md); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--deep); transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--deep); padding: 140px var(--pad) 40px; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); }
.mobile-menu.is-open { clip-path: inset(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 8vw, 44px); color: #fff; letter-spacing: -.02em; }
.mobile-menu small { font-size: 14px; color: var(--grey-500); margin-right: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: calc(94vh - 118px); min-height: 560px; overflow: hidden; color: #fff; display: flex; align-items: center; }
.hero__media, .hero__overlay { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity 1.4s var(--ease), transform 8s linear; }
.slide.is-active { opacity: 1; transform: scale(1); }
.hero__overlay { background: linear-gradient(90deg, rgba(var(--deep-rgb),.92) 0%, rgba(var(--deep-rgb),.7) 45%, rgba(var(--deep-rgb),.35) 100%); }
.hero__bigword { position: absolute; right: -2vw; bottom: -4vw; font-family: var(--font-display); font-weight: 800; font-size: clamp(140px, 26vw, 420px); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.14); pointer-events: none; user-select: none; }
.hero__content { position: relative; z-index: 2; }
.hero h1 { max-width: 820px; font-size: clamp(40px, 6vw, 78px); line-height: 1.04; letter-spacing: -.035em; margin: 6px 0 28px; }
.hero__desc { display: flex; align-items: flex-start; gap: 24px; max-width: 560px; }
.hero__desc p { margin: 0; color: rgba(255,255,255,.85); font-size: clamp(15px, 1.2vw, 18px); }
.play { flex: none; width: 62px; height: 62px; border-radius: 50%; border: 3px solid #fff; display: grid; place-items: center; font-size: 22px; transition: transform .4s var(--ease), background .3s, color .3s; position: relative; }
.play::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.play:hover { transform: translateY(6px); background: #fff; color: var(--navy-900); }
.hero__dots { position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero__dots i { width: 28px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); transition: background .4s, width .4s var(--ease); }
.hero__dots i.is-active { width: 48px; background: #fff; }

/* ---------- Counters ---------- */
.counters { background: var(--navy-100); }
.counters__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 72px; padding-bottom: 64px; }
.counter h3 { font-size: clamp(44px, 5vw, 68px); line-height: 1; color: var(--navy-900); letter-spacing: -.03em; margin-bottom: 18px; }
.counter h3 small { font-size: .7em; color: var(--navy-500); margin-left: 2px; }
.counter p { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--navy-900); }
.counter p i { flex: none; width: 30px; height: 4px; background: var(--navy-500); }
.counter:nth-child(even) p i { background: var(--grey-500); }

/* ---------- About ---------- */
.about { padding: clamp(90px, 12vw, 170px) 0; }
.about__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.collage__col { display: flex; flex-direction: column; gap: 20px; }
.collage__col:last-child { padding-top: 60px; }
.collage figure { margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.collage .c1 { aspect-ratio: 4/3; border-top-left-radius: var(--radius-xl); }
.collage .c2 { aspect-ratio: 4/5; }
.collage .c3 { aspect-ratio: 4/5; }
.collage .c4 { aspect-ratio: 4/3; border-bottom-right-radius: var(--radius-xl); }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.collage figure:hover img { transform: scale(1.07); }
.collage__bracket { position: absolute; top: -24px; right: -24px; width: 110px; height: 110px; background: var(--grey-500); clip-path: polygon(0 0, 100% 0, 100% 100%, 62% 100%, 62% 38%, 0 38%); z-index: -1; }
.about__copy h2 { margin-bottom: 22px; }
.about__copy .lead { margin: 0 0 14px; }
.about__copy p:not(.lead):not(.eyebrow) { color: var(--ink-muted); margin: 0 0 22px; }
.about__ticks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.about__ticks li { display: flex; align-items: center; gap: 12px; }
.about__ticks li::before { content: "✓"; width: 24px; height: 24px; flex: none; display: grid; place-items: center; font-size: 12px; border-radius: var(--radius-sm); background: var(--navy-500); color: #fff; }
.about__ticks li:nth-child(2)::before { background: var(--grey-500); }

/* ---------- Angled dividers + services band ---------- */
.angle { display: block; width: 100%; height: clamp(40px, 6vw, 100px); fill: var(--navy-500); }
.angle--top { transform: rotate(180deg) scaleX(-1); margin-bottom: -1px; }
.angle--bottom { margin-top: -1px; }
.services { background: var(--navy-500); color: #fff; padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); }
.services .section-head__desc { color: rgba(255,255,255,.8); }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.service-card { position: relative; display: block; aspect-ratio: 3/4.4; border-radius: var(--radius-md); overflow: hidden; background: var(--deep); isolation: isolate; }
.service-card:nth-child(odd) { border-top-left-radius: var(--radius-xl); }
.service-card:nth-child(even) { border-bottom-right-radius: var(--radius-xl); }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); z-index: -2; }
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(var(--deep-rgb),.95) 10%, rgba(var(--deep-rgb),.25) 65%, rgba(var(--deep-rgb),.4)); transition: background .4s; }
.service-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(40,77,121,.75); opacity: 0; transition: opacity .4s var(--ease); }
.service-card:hover img { transform: scale(1.08); }
.service-card:hover::after { opacity: 1; }
.service-card__no { position: absolute; top: 18px; left: 20px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: rgba(255,255,255,.85); }
.service-card__arrow { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-sm); background: #fff; color: var(--navy-900); font-size: 18px; transform: rotate(-45deg); transition: transform .4s var(--ease), background .3s; }
.service-card:hover .service-card__arrow { transform: rotate(0); background: var(--grey-500); color: #fff; }
.service-card__body { position: absolute; left: 20px; right: 20px; bottom: 20px; }
.service-card h3 { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.2; }
.service-card__cat { margin: 6px 0 0; font-size: 13px; color: var(--navy-300); font-weight: 400; }
.service-card__desc { margin: 0; max-height: 0; opacity: 0; overflow: hidden; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.9); transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.service-card:hover .service-card__desc, .service-card:focus-visible .service-card__desc { max-height: 120px; opacity: 1; margin-top: 10px; }

/* ---------- Statement ---------- */
.statement { padding: clamp(90px, 11vw, 150px) 0 clamp(50px, 6vw, 80px); }
.statement__text { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.9vw, 54px); line-height: 1.15; letter-spacing: -.025em; margin: 8px 0 0; max-width: 1100px; }
.statement__text .sw { color: var(--grey-200); transition: color .35s ease; }
.statement__text .sw.on { color: var(--navy-900); }
.statement__text .sw.hl.on { color: var(--navy-500); }

/* ---------- Gallery ---------- */
.gallery { overflow: hidden; padding-bottom: clamp(70px, 9vw, 120px); }
.gallery__track { display: flex; align-items: center; gap: 18px; width: max-content; animation: marquee 130s linear infinite; }
.gallery:hover .gallery__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.gallery figure { margin: 0; flex: none; width: clamp(240px, 26vw, 400px); aspect-ratio: 3/2; border-radius: var(--corner-e); overflow: hidden; }
.gallery figure:nth-child(even) { border-radius: var(--radius-md) var(--radius-xl) var(--radius-md) var(--radius-xl); }
.gallery figure.tall { width: clamp(190px, 18vw, 280px); aspect-ratio: 3/4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }

/* ---------- Case studies ---------- */
.work { padding: clamp(80px, 10vw, 140px) 0; background: var(--navy-100); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { position: relative; min-height: 440px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; background: var(--deep); cursor: pointer; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.case:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(var(--deep-rgb),.25); }
.case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.case::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(var(--deep-rgb),.95) 12%, rgba(var(--deep-rgb),.15) 60%); }
.case:hover img { transform: scale(1.07); }
.case:nth-child(3n+2) { border-top-right-radius: var(--radius-xl); }
.case:nth-child(3n) { border-bottom-left-radius: var(--radius-xl); }
.case__stat { position: absolute; top: 22px; left: 22px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-md); background: #fff; color: var(--ink); box-shadow: var(--shadow-card); }
.case__stat b { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1; color: var(--navy-500); }
.case__stat span { font-size: 12px; line-height: 1.3; max-width: 100px; color: var(--ink-muted); font-weight: 400; }
.case__meta { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--navy-300); margin-bottom: 8px; }
.case h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
.case__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--font-display); font-weight: 600; font-size: 14px; opacity: .8; transition: gap .3s var(--ease), opacity .3s; }
.case:hover .case__more { gap: 14px; opacity: 1; }
.case-grid { grid-template-columns: repeat(6, 1fr); }
.case-grid > .case { grid-column: span 2; }
.case-grid > .case:nth-child(n+4) { grid-column: span 3; }
.case--intro { background: var(--navy-500); cursor: default; justify-content: space-between; border-radius: var(--corner-e); }
.case--intro::before { display: none; }
.case--intro:hover { transform: none; box-shadow: none; }
.case__no { font-family: var(--font-display); font-weight: 800; font-size: 120px; line-height: .8; letter-spacing: -.05em; color: rgba(255,255,255,.14); }
.case--intro h3 { margin: 0 0 12px; }
.case--intro p { margin: 0 0 18px; color: rgba(255,255,255,.85); font-size: 15px; }
.case__link { font-family: var(--font-display); font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; }
.case__link i { font-style: normal; transition: transform .3s var(--ease); }
.case__link:hover i { transform: translateX(5px); }
.case:focus-visible { outline: 3px solid var(--navy-300); outline-offset: 4px; }

/* ---------- EDGE Series ---------- */
.series { padding: clamp(80px, 10vw, 140px) 0; }
.series__banner { position: relative; min-height: clamp(340px, 42vw, 520px); border-radius: var(--corner-e); overflow: hidden; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.series__banner img { position: absolute; inset: 0; width: 100%; height: 125%; object-fit: cover; object-position: 50% 35%; z-index: -2; will-change: transform; }
.series__banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(var(--deep-rgb),.95) 25%, rgba(var(--deep-rgb),.4) 70%, rgba(var(--deep-rgb),.2)); }
.series__banner-copy { padding: clamp(28px, 5vw, 64px); padding-bottom: clamp(70px, 8vw, 110px); max-width: 640px; }
.series__banner h2 { font-size: clamp(44px, 7vw, 100px); letter-spacing: -.04em; margin: 4px 0 14px; }
.series__banner p:last-child { margin: 0; color: rgba(255,255,255,.85); font-size: clamp(15px, 1.3vw, 19px); }
.series__bracket { position: absolute; top: 0; right: 0; width: clamp(80px, 12vw, 160px); aspect-ratio: 1; background: var(--grey-500); clip-path: polygon(0 0, 100% 0, 100% 100%, 62% 100%, 62% 38%, 0 38%); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -60px; padding: 0 clamp(0px, 3vw, 40px); position: relative; z-index: 2; }
.step { padding: 30px; border-radius: var(--radius-lg); background: var(--navy-500); color: #fff; box-shadow: var(--shadow-float); transition: transform .5s var(--ease); }
.step:hover { transform: translateY(-6px); }
.step--grey { background: var(--grey-800); }
.step--light { background: #fff; color: var(--ink); border-bottom-right-radius: var(--radius-xl); }
.step__year { display: block; font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1; letter-spacing: -.03em; margin-bottom: 14px; }
.step--light .step__year { color: var(--navy-500); }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { margin: 0; font-size: 15px; color: rgba(255,255,255,.85); }
.step--light p { color: var(--ink-muted); }

/* ---------- Partners ---------- */
.partners { padding: clamp(80px, 10vw, 140px) 0; background: var(--navy-100); }
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.partner { grid-column: span 2; display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card); transition: transform .5s var(--ease), box-shadow .5s; }
.partner:hover { transform: translateY(-5px); box-shadow: var(--shadow-float); }
.partner:nth-child(n+4) { grid-column: span 3; }
.partner__logo { height: 44px; width: auto; max-width: 160px; object-fit: contain; object-position: left center; margin-bottom: 4px; }
.partner__role { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--navy-500); }
.partner:nth-child(even) .partner__role { color: var(--grey-700); }
.partner h3 { font-size: clamp(21px, 2vw, 27px); }
.partner p { margin: auto 0 0; padding-top: 6px; font-size: 15px; color: var(--ink-muted); }
.partner--cta { background: var(--navy-500); color: #fff; border-radius: var(--corner-e); }
.partner--cta .partner__role { color: var(--navy-100) !important; }
.partner--cta p { color: rgba(255,255,255,.85); }
.partner--cta:hover { background: var(--navy-600); }

/* ---------- Team ---------- */
.team { padding: clamp(80px, 10vw, 140px) 0; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { display: flex; flex-direction: column; }
.member__photo { flex: none; position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-ph { width: 100%; height: 100%; display: grid; place-items: center; padding: 20px; text-align: center; font-size: 13px; background: var(--grey-100); border: 2px dashed var(--grey-200); border-radius: inherit; color: var(--ink); }
.member__bio { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; background: rgba(40,77,121,.92); color: #fff; opacity: 0; transform: translateY(20px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.member__bio p { margin: 0; font-size: 15px; font-style: italic; }
.member:hover .member__bio { opacity: 1; transform: none; }
.member h3 { font-size: 20px; text-align: center; }
.member__role { margin: 4px 0 0; text-align: center; font-size: 14px; color: var(--ink-muted); }
.member--quote { aspect-ratio: 4/5; justify-content: space-between; padding: 30px; border-radius: var(--corner-e); background: var(--navy-500); color: #fff; }
.member--quote p { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; }
.member--quote span { font-size: 14px; color: var(--navy-100); }
.member__photo--join { display: grid; place-items: center; background: var(--navy-100); border: 2px dashed var(--navy-300); transition: background .3s; }
.member__photo--join span { font-family: var(--font-display); font-weight: 300; font-size: 72px; color: var(--navy-500); transition: transform .4s var(--ease); }
.member--join:hover .member__photo--join { background: #dfe4ec; }
.member--join:hover .member__photo--join span { transform: rotate(90deg); }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; color: #fff; padding: clamp(80px, 10vw, 140px) 0; background: var(--deep); }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .12; }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); }
.contact h2 { font-size: clamp(40px, 6vw, 80px); letter-spacing: -.04em; margin-bottom: 18px; }
.contact .lead { color: rgba(255,255,255,.8); max-width: 440px; margin: 0 0 32px; }
.contact__info { list-style: none; margin: 0; padding: 0; }
.contact__info li { display: grid; grid-template-columns: 100px 1fr; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 15px; }
.contact__info span { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--navy-300); padding-top: 2px; }
.contact__info a:hover { color: var(--navy-300); }
.form { align-self: start; display: flex; flex-direction: column; gap: 6px; padding: clamp(24px, 3vw, 40px); border-radius: var(--corner-e); background: #fff; color: var(--ink); box-shadow: var(--shadow-float); }
.field { position: relative; padding-top: 22px; }
.field input, .field textarea, .field select { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--grey-200); font-family: var(--font-body); font-size: 16px; font-weight: 300; color: var(--ink); padding: 10px 0 12px; outline: none; border-radius: 0; resize: vertical; -webkit-appearance: none; appearance: none; transition: border-color .3s; }
.field select { cursor: pointer; }
.field--select::after { content: "⌄"; position: absolute; right: 4px; bottom: 14px; color: var(--navy-500); pointer-events: none; }
.field label { position: absolute; left: 0; top: 33px; font-size: 15px; color: var(--ink-muted); pointer-events: none; transition: .35s var(--ease); }
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label,
.field select:focus ~ label, .field select:valid ~ label { top: 2px; font-size: 12px; font-family: var(--font-display); font-weight: 600; color: var(--navy-500); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--navy-500); }
.field.is-error input, .field.is-error textarea, .field.is-error select { border-color: #c0392b; }
.form .btn { margin-top: 24px; align-self: flex-start; }
.form__note { min-height: 1.5em; margin: 6px 0 0; font-size: 14px; color: var(--navy-500); }

/* ---------- Footer ---------- */
.footer { background: var(--deep); color: rgba(255,255,255,.75); padding-top: 70px; border-top: 1px solid rgba(255,255,255,.08); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.footer__brand img { width: 220px; height: auto; margin-bottom: 18px; }
.footer__brand p { margin: 0; max-width: 320px; font-size: 15px; }
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer a { transition: color .25s; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }

/* ---------- Photo gallery (masonry + lightbox) ---------- */
.photo-gallery { padding: clamp(80px, 10vw, 140px) 0; background: var(--deep); color: #fff; }
.photo-gallery .eyebrow { color: var(--navy-100); }
.photo-gallery .section-head__desc { color: rgba(255,255,255,.75); }
.pg-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-filter { font-family: var(--font-display); font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.pg-filter:hover { border-color: #fff; }
.pg-filter.is-active { background: #fff; color: var(--navy-900); border-color: #fff; }
.pg-grid { columns: 3 280px; column-gap: 18px; }
.pg-item { position: relative; display: block; width: 100%; margin: 0 0 18px; padding: 0; border: 0; background: var(--navy-600); border-radius: var(--radius-md); overflow: hidden; cursor: zoom-in; break-inside: avoid; opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.pg-item.is-in { opacity: 1; transform: none; }
.pg-item.is-hidden { display: none; }
.pg-item:nth-child(4n+1) { border-top-left-radius: var(--radius-xl); }
.pg-item:nth-child(4n+3) { border-bottom-right-radius: var(--radius-xl); }
.pg-item img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .5s; }
.pg-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--deep-rgb),.85), transparent 55%); opacity: 0; transition: opacity .4s; }
.pg-item:hover img { transform: scale(1.06); }
.pg-item:hover::after, .pg-item:focus-visible::after { opacity: 1; }
.pg-item__cap { position: absolute; left: 16px; right: 56px; bottom: 14px; z-index: 1; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 14px; line-height: 1.3; color: #fff; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease); }
.pg-item__zoom { position: absolute; right: 14px; bottom: 12px; z-index: 1; width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--grey-500); color: #fff; font-size: 16px; opacity: 0; transform: scale(.6); transition: opacity .4s, transform .4s var(--ease); }
.pg-item:hover .pg-item__cap, .pg-item:focus-visible .pg-item__cap, .pg-item:hover .pg-item__zoom, .pg-item:focus-visible .pg-item__zoom { opacity: 1; transform: none; }
.pg-item:focus-visible { outline: 3px solid var(--navy-300); outline-offset: 3px; }

.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; background: rgba(10,20,32,.96); visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s; }
.lightbox.is-open { visibility: visible; opacity: 1; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100vh; padding: 60px 0 30px; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: var(--radius-md); box-shadow: 0 30px 80px rgba(0,0,0,.5); transform: scale(.96); opacity: 0; transition: transform .5s var(--ease), opacity .35s; }
.lb-figure img.is-loaded { transform: none; opacity: 1; }
.lb-figure figcaption { display: flex; gap: 18px; align-items: baseline; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #fff; text-align: center; }
.lb-figure figcaption i { font-style: normal; font-size: 13px; color: var(--navy-300); }
.lb-btn { width: 48px; height: 48px; justify-self: center; border: 0; border-radius: var(--radius-md); background: rgba(255,255,255,.1); color: #fff; font-size: 22px; cursor: pointer; transition: background .3s, transform .3s var(--ease); }
.lb-btn:hover { background: var(--navy-500); }
.lb-prev:hover { transform: translateX(-3px); }
.lb-next:hover { transform: translateX(3px); }
.lb-close { position: absolute; top: 16px; right: 16px; font-size: 26px; }
.lb-close:hover { transform: rotate(90deg); }
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { position: absolute; bottom: 18px; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
  .lb-figure { padding: 70px 12px 90px; }
  .pg-grid { columns: 2 140px; column-gap: 10px; }
  .pg-item { margin-bottom: 10px; }
  .pg-item:nth-child(4n+1) { border-top-left-radius: var(--radius-lg); }
  .pg-item:nth-child(4n+3) { border-bottom-right-radius: var(--radius-lg); }
}
@media (max-width: 1280px) { .mainbar__phone { display: none; } .nav { gap: 22px; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav, .mainbar__phone { display: none; }
  .nav-toggle { display: block; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .counters__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid > .case, .case-grid > .case:nth-child(n+4) { grid-column: auto; }
  .case-grid > .case:last-child { grid-column: 1 / -1; }
  .timeline { grid-template-columns: 1fr; margin-top: 20px; padding: 0; }
  .partner, .partner:nth-child(n+4) { grid-column: span 3; }
  .partner--cta { grid-column: 1 / -1 !important; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .subheader ul { display: none; }
  .logo img { width: 150px; }
  .mainbar__right .btn { display: none; }
  .hero { height: auto; min-height: 88vh; padding: 60px 0 90px; }
  .hero__desc { flex-direction: column; }
  .service-grid, .case-grid, .team-grid { grid-template-columns: 1fr; }
  .case-grid > .case:last-child { grid-column: auto; }
  .service-card { aspect-ratio: 4/3; }
  .service-card__desc { max-height: none; opacity: 1; margin-top: 8px; }
  .partner, .partner:nth-child(n+4) { grid-column: 1 / -1; }
  .collage__col:last-child { padding-top: 30px; }
  .footer__grid { grid-template-columns: 1fr; }
  .contact__info li { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-aos], .pg-item { opacity: 1; transform: none; }
  .statement__text .sw { color: var(--navy-900); }
}

/* Follow: tear-off tickets. The stub pulls away along the perforation on hover. */
.follow { position: relative; overflow: hidden; color: #fff; padding: clamp(80px, 10vw, 130px) 0; background: var(--navy-500); }
.follow__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.follow h2 { color: #fff; }
.follow .lead { color: rgba(255,255,255,.82); max-width: 460px; }
.follow__tickets { display: grid; gap: 26px; }
.ticket-wrap--instagram { margin-right: 28px; }
.ticket-wrap--instagram .ticket { transform: rotate(-1.6deg); }
.ticket-wrap--facebook { margin-left: 28px; }
.ticket-wrap--facebook .ticket { transform: rotate(1.2deg); }
.ticket { --notch: 13px; position: relative; display: grid; grid-template-columns: 30% 1fr 104px; min-height: 172px; color: var(--navy-900); filter: drop-shadow(0 18px 26px rgba(var(--deep-rgb),.35)); cursor: pointer; }
.ticket__photo, .ticket__body, .ticket__stub { background: #fff; }
.ticket__photo { overflow: hidden; border-radius: 10px 0 0 10px; }
.ticket__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.ticket__body { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 18px 22px; min-width: 0;
  -webkit-mask: radial-gradient(circle var(--notch) at 100% 0, transparent 98%, #000) top, radial-gradient(circle var(--notch) at 100% 100%, transparent 98%, #000) bottom; -webkit-mask-size: 100% 51%; -webkit-mask-repeat: no-repeat;
  mask: radial-gradient(circle var(--notch) at 100% 0, transparent 98%, #000) top, radial-gradient(circle var(--notch) at 100% 100%, transparent 98%, #000) bottom; mask-size: 100% 51%; mask-repeat: no-repeat; }
.ticket__body small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-700); }
.ticket__body strong { font-family: var(--font-display); font-size: clamp(25px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -.02em; }
.ticket__body em { font-style: normal; font-size: 14.5px; color: var(--grey-700); }
.ticket__seat { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); }
.ticket__seat i { font-style: normal; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-500); }
.ticket__stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-radius: 0 10px 10px 0; background: var(--deep); color: #fff; transform-origin: 0 100%; transition: transform .55s var(--ease);
  -webkit-mask: radial-gradient(circle var(--notch) at 0 0, transparent 98%, #000) top, radial-gradient(circle var(--notch) at 0 100%, transparent 98%, #000) bottom; -webkit-mask-size: 100% 51%; -webkit-mask-repeat: no-repeat;
  mask: radial-gradient(circle var(--notch) at 0 0, transparent 98%, #000) top, radial-gradient(circle var(--notch) at 0 100%, transparent 98%, #000) bottom; mask-size: 100% 51%; mask-repeat: no-repeat; }
.ticket__stub::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; border-left: 2px dashed rgba(255,255,255,.4); }
.ticket__stub svg, .footer__social svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ticket__stub svg .dot, .ticket__stub svg .solid, .footer__social svg .dot, .footer__social svg .solid { fill: currentColor; stroke: none; }
.ticket__stub b { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.ticket:hover .ticket__stub, .ticket:focus-visible .ticket__stub { transform: translate(12px, 5px) rotate(7deg); }
.ticket:hover .ticket__photo img { transform: scale(1.07); }
.ticket:focus-visible { outline: 2px solid #fff; outline-offset: 5px; border-radius: 10px; }
.footer__social { display: flex; gap: 12px; margin-top: 18px; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; }
.footer__social a:hover { border-color: #fff; }
.footer__social svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .follow__grid { grid-template-columns: 1fr; }
  .ticket-wrap--instagram { margin-right: 10px; }
  .ticket-wrap--facebook { margin-left: 10px; }
}
@media (max-width: 640px) {
  .ticket { grid-template-columns: 1fr 82px; min-height: 150px; }
  .ticket__photo { display: none; }
  .ticket__body { padding: 16px 18px; border-radius: 10px 0 0 10px; }
  .ticket__stub b { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticket__stub, .ticket__photo img { transition: none; }
}

/* Upcoming events: event card beside a dated fixture list. */
.calendar { padding: clamp(80px, 10vw, 130px) 0; background: var(--navy-100); }
.event { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.event__card { position: relative; display: flex; align-items: flex-end; min-height: 520px; height: 100%; overflow: hidden; color: #fff; background: var(--deep); border-radius: var(--radius-lg); border-top-left-radius: var(--radius-xl); }
.event__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--deep-rgb),.1) 10%, rgba(var(--deep-rgb),.95) 72%); }
.event__copy { position: relative; z-index: 1; padding: clamp(24px, 3vw, 36px); width: 100%; }
.event__tag { margin: 0 0 8px; font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--navy-100); }
.event__card h3 { color: #fff; font-size: clamp(28px, 3vw, 38px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 8px; }
.event__venue { margin: 0; color: rgba(255,255,255,.8); }
.event__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.22); }
.event__facts strong { display: block; font-family: var(--font-display); font-size: 36px; line-height: 1.1; }
.event__facts span { display: block; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.8); }
.fixtures { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.fixture { display: grid; grid-template-columns: 76px 1fr; gap: 20px; align-items: center; padding: 13px 24px; border-top: 1px solid var(--line); }
.fixture:first-child { border-top: 0; }
.fixture__date { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1; color: var(--navy-500); text-align: center; }
.fixture__date small { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-700); }
.fixture h4 { margin: 0; font-size: 18px; line-height: 1.25; }
.fixture p { margin: 1px 0 0; font-size: 14.5px; color: var(--ink-muted); }
.fixture--key { background: var(--deep); border-top-color: var(--deep); }
.fixture--key h4 { color: #fff; }
.fixture--key p, .fixture--key .fixture__date small { color: rgba(255,255,255,.72); }
.fixture--key .fixture__date { color: #fff; }
@media (max-width: 900px) {
  .event { grid-template-columns: 1fr; }
  .event__card { min-height: 440px; }
}

/* EDGE pattern: the brand texture, tinted per section with --pat and --pat-o. */
.patterned { --pat: #fff; --pat-o: .06; position: relative; isolation: isolate; }
.patterned::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--pat); opacity: var(--pat-o); -webkit-mask: url(images/pattern.png) 0 0 / 1100px auto; mask: url(images/pattern.png) 0 0 / 1100px auto; }
.counters.patterned, .calendar.patterned { --pat: var(--navy-500); --pat-o: .045; }
.photo-gallery.patterned, .footer.patterned { --pat-o: .05; }
.follow.patterned, .services.patterned { --pat-o: .08; }

/* EDGE Series: white wordmark, then the three event badges on the Series colours. */
.series__banner .series__logo { margin: 8px 0 18px; }
.series__logo img { display: block; position: static; width: clamp(240px, 34vw, 460px); height: auto; }
.series__events { --pat-o: .1; margin-top: clamp(20px, 3vw, 32px); padding: clamp(20px, 3vw, 36px); overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(120deg, #272a7f 0%, #55153f 55%, #7c0a12 100%); }
.series__events-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.series-event { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 20px 22px; background: #fff; border-radius: var(--radius-lg); }
.series-event img { width: auto; height: clamp(140px, 15vw, 190px); margin-bottom: 14px; transition: transform .5s var(--ease); }
.series-event:hover img { transform: scale(1.05) rotate(-1.5deg); }
.series-event h3 { font-size: 20px; margin: 0 0 4px; }
.series-event p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-muted); }
.footer__series { display: block; width: 170px !important; margin: 20px 0 0 !important; opacity: .9; }
@media (max-width: 760px) {
  .series__events-grid { grid-template-columns: 1fr; }
  .series-event img { height: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .series-event img { transition: none; }
}
.series__events + .timeline { margin-top: clamp(20px, 3vw, 32px); }

/* ---------- Multi-page additions ---------- */
.btn--ghost { background: transparent; color: var(--navy-500); box-shadow: inset 0 0 0 2px var(--navy-500); }
.btn--ghost:hover { background: var(--navy-500); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: #fff; color: var(--navy-900); }

/* Inner page hero: dark band with a faded photo, the brand pattern and the outlined EDGE word. */
.page-hero { --pat-o: .045; position: relative; overflow: hidden; color: #fff; background: var(--deep); padding: clamp(80px, 10vw, 140px) 0 clamp(70px, 9vw, 120px); }
.page-hero__img { position: absolute; inset: 0; z-index: -2; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.page-hero__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--deep-rgb),.95) 0%, rgba(var(--deep-rgb),.7) 55%, rgba(var(--deep-rgb),.35) 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; margin: 6px 0 22px; font-size: clamp(40px, 6vw, 80px); line-height: 1.04; letter-spacing: -.035em; }
.page-hero .lead { max-width: 640px; margin: 0; color: rgba(255,255,255,.82); }
.page-hero .hero__bigword { font-size: clamp(120px, 20vw, 320px); }
.page-hero--tall { min-height: 70vh; display: flex; align-items: center; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.page-hero__jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.page-hero__jump a { font-family: var(--font-display); font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.3); transition: background .3s, color .3s, border-color .3s; }
.page-hero__jump a:hover { background: #fff; border-color: #fff; color: var(--navy-900); }
.page-hero--series { --pat-o: .06; background: linear-gradient(120deg, #272a7f 0%, #55153f 55%, #7c0a12 100%); }
.page-hero--series .page-hero__img img { opacity: .22; mix-blend-mode: luminosity; }
.page-hero--series .page-hero__img::after { background: linear-gradient(90deg, rgba(39,42,127,.85), rgba(85,21,63,.55) 60%, rgba(124,10,18,.35)); }
.page-hero__logo img { width: clamp(260px, 40vw, 560px); height: auto; }

/* Home teasers */
.gallery__more { margin-top: 28px; display: flex; justify-content: flex-end; }
.gallery__more .case__link { color: var(--navy-500); }
.series__banner-copy > p:not(.eyebrow):not(.series__cta) { margin: 0; color: rgba(255,255,255,.85); font-size: clamp(15px, 1.3vw, 19px); }
.series__banner .series__cta { margin-top: 26px; }
.series__links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(36px, 5vw, 56px); }

/* About */
.milestones { padding: 0 0 clamp(40px, 5vw, 70px); }
.timeline--flat { margin-top: 0; padding: 0; }
.statement--tight { padding-top: clamp(50px, 6vw, 80px); }

/* Services: one block per service, photo and copy alternating sides. */
.svc-list { padding: clamp(80px, 10vw, 140px) 0; }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; scroll-margin-top: 110px; }
.svc + .svc { margin-top: clamp(80px, 10vw, 140px); }
.svc:nth-child(even) .svc__media { order: 2; }
.svc__media { position: relative; aspect-ratio: 4/3.4; overflow: hidden; border-radius: var(--corner-e); box-shadow: var(--shadow-float); }
.svc:nth-child(even) .svc__media { border-radius: var(--radius-md) var(--radius-xl) var(--radius-md) var(--radius-xl); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc__media:hover img { transform: scale(1.05); }
.svc h2 { font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 16px; }
.svc .lead { margin: 0 0 14px; }
.svc__copy > p:not(.lead):not(.eyebrow) { margin: 0 0 24px; color: var(--ink-muted); }
.svc__proof { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--navy-500); border-bottom: 2px solid var(--navy-100); padding-bottom: 3px; transition: border-color .3s; }
.svc__proof i { font-style: normal; transition: transform .3s var(--ease); }
.svc__proof:hover { border-color: var(--navy-500); }
.svc__proof:hover i { transform: translateX(5px); }

/* Gallery page */
.photo-gallery--page { padding-top: clamp(60px, 7vw, 100px); }
.photo-gallery--page h1 { color: #fff; }

/* Case study pages */
.cs-hero { padding: clamp(30px, 4vw, 50px) 0 0; }
.cs-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink-muted); transition: color .3s; }
.cs-back i { font-style: normal; transition: transform .3s var(--ease); }
.cs-back:hover { color: var(--navy-500); }
.cs-back:hover i { transform: translateX(-4px); }
.cs-banner h1 { font-size: clamp(38px, 5.5vw, 76px); letter-spacing: -.035em; line-height: 1.04; margin: 4px 0 16px; }
.cs-body { padding: clamp(50px, 7vw, 90px) 0 clamp(70px, 9vw, 120px); }
.cs-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.cs-stat { display: inline-flex; align-items: center; gap: 14px; padding: 12px 18px; margin-bottom: 26px; border-radius: var(--radius-md); background: var(--navy-500); color: #fff; }
.cs-stat b { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; }
.cs-stat span { font-size: 14px; max-width: 170px; line-height: 1.35; }
.cs-main .lead { margin: 0 0 30px; }
.cs-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0 0 30px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cs-facts dt { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--navy-500); margin-bottom: 4px; }
.cs-facts dd { margin: 0; font-size: 15px; }
.cs-lists { display: grid; gap: 28px; padding: clamp(24px, 3vw, 36px); border-radius: var(--corner-e); background: var(--navy-100); }
.cs-lists h2 { font-size: 15px; letter-spacing: .04em; color: var(--navy-500); margin-bottom: 8px; }
.cs-lists ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.cs-lists li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(40,77,121,.15); }
.cs-lists li::before { content: "✓"; flex: none; width: 22px; height: 22px; margin-top: 2px; display: grid; place-items: center; font-size: 11px; border-radius: var(--radius-sm); background: var(--navy-500); color: #fff; }
.cs-lists li:last-child { border-bottom: 0; }
.cs-next { padding-bottom: clamp(70px, 9vw, 120px); }
.cs-next__card { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 24px; min-height: 220px; padding: clamp(24px, 3vw, 40px); overflow: hidden; color: #fff; background: var(--deep); border-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-xl); isolation: isolate; }
.cs-next__card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.cs-next__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--deep-rgb),.92), rgba(var(--deep-rgb),.45)); }
.cs-next__label { grid-column: 1; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--navy-300); }
.cs-next__card strong { grid-column: 1; font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); line-height: 1.1; letter-spacing: -.02em; }
.cs-next__card i { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 56px; height: 56px; display: grid; place-items: center; font-style: normal; font-size: 22px; border-radius: var(--radius-md); background: #fff; color: var(--navy-900); transition: transform .4s var(--ease); }
.cs-next__card:hover img { transform: scale(1.05); }
.cs-next__card:hover i { transform: translateX(6px); }

@media (max-width: 900px) {
  .svc, .cs-grid { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc__media { order: 0; }
}
@media (max-width: 640px) {
  .cs-facts { grid-template-columns: 1fr; gap: 12px; }
  .gallery__more { justify-content: flex-start; }
}
