/* Ranggon Production — 2026 redesign, after the "Compro Ranggon Pro 2026" deck.
   Motif: indigo-washed photos, golden + royal-blue diagonal shards, Montserrat caps. */

/* Self-hosted Latin subsets (variable woff2 from Google Fonts): no third-party round trip before text paints */
@font-face { font-family: "Montserrat"; src: url(fonts/montserrat.woff2) format("woff2"); font-weight: 600 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(fonts/montserrat-italic.woff2) format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(fonts/opensans.woff2) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(fonts/opensans-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --yellow: #f2b600;
  --yellow-deep: #c99400;
  --blue: #2b2bb0;
  --navy: #1a1966;
  --ink: #0f0f2e;
  --paper: #f3f3f7;
  --white: #fff;
  --text-dark: #1d1d3a;
  --muted-dark: #55557a;
  --muted-light: rgba(255, 255, 255, .78);
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Open Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.65 var(--body); color: var(--text-dark); background: var(--ink); -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 2; }

/* ── type ─────────────────────────────────────────────── */
.display {
  font: 900 clamp(2.6rem, 7.6vw, 6.4rem)/.93 var(--head);
  text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance;
}
.display--md { font-size: clamp(2rem, 4.6vw, 3.6rem); font-weight: 800; }
.eyebrow { font: 800 .82rem/1.3 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: .9rem; }
.eyebrow--blue { color: var(--blue); }
.label { display: block; font: 800 .8rem var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin: 1.6rem 0 .6rem; }
.lead { font-size: 1.15rem; font-weight: 600; }

/* ── sections ─────────────────────────────────────────── */
section { position: relative; overflow: hidden; padding-block: clamp(80px, 11vw, 150px); }
.light { background: var(--paper); color: var(--text-dark); }
.dark { background: var(--navy) center / cover no-repeat; color: var(--white); }
/* indigo wash over the photo, as in every deck page */
.dark::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg, rgba(43, 43, 176, .72), rgba(26, 25, 102, .86) 55%, rgba(15, 15, 46, .94));
}

/* ── diagonal shards ──────────────────────────────────── */
.shard { position: absolute; left: 0; right: 0; height: clamp(120px, 22vw, 300px); z-index: 1; pointer-events: none; }
.shard::before, .shard::after { content: ""; position: absolute; inset: 0; }
.shard--top { top: 0; }
.shard--top::before { background: var(--blue); clip-path: polygon(0 0, 72% 0, 25% 100%, 0 70%); }
.shard--top::after { background: linear-gradient(115deg, var(--yellow-deep), var(--yellow) 60%); clip-path: polygon(0 0, 66% 0, 23% 90%, 0 58%); }
.shard--right { transform: scaleX(-1); }
.shard--bottom { bottom: -1px; height: clamp(70px, 12vw, 170px); }
.shard--bottom::before { background: var(--blue); clip-path: polygon(30% 100%, 100% 12%, 100% 100%); }
.shard--bottom::after { background: linear-gradient(90deg, var(--yellow-deep), var(--yellow)); clip-path: polygon(0 100%, 100% 0, 100% 16%, 24% 100%); }
/* dark sections keep content clear of the top shard */
.dark > .wrap { padding-top: clamp(40px, 9vw, 120px); }

/* ── buttons ──────────────────────────────────────────── */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px;
  font: 800 .85rem var(--head); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: transform .2s var(--ease), background-color .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--ghost { background: rgba(255, 255, 255, .12); color: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .75rem; }
@media (hover: hover) {
  .btn--yellow:hover { background: var(--white); }
  .btn--ghost:hover { background: var(--white); color: var(--navy); }
}

/* ── header ───────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 68px;
  display: flex; align-items: center; gap: 24px; padding-inline: var(--gutter);
  background: rgba(15, 15, 46, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
/* logos on dark: soft white glow instead of a white box */
.brand img, .division__logo { filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 0 8px rgba(255, 255, 255, .85)); }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--white); text-decoration: none; font: 600 .82rem var(--head); letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.nav a:hover { opacity: 1; color: var(--yellow); }
.menu { display: none; }

@media (max-width: 860px) {
  .nav { display: none; }
  .site-header > .btn { margin-left: auto; }
  .menu { display: block; }
  .menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 22px; height: 2px; background: var(--white); transition: transform .25s var(--ease), opacity .2s; }
  .menu summary span { position: relative; }
  .menu summary span::before, .menu summary span::after { content: ""; position: absolute; left: 0; }
  .menu summary span::before { top: -7px; }
  .menu summary span::after { top: 7px; }
  .menu[open] summary span { background: transparent; }
  .menu[open] summary span::before { transform: translateY(7px) rotate(45deg); }
  .menu[open] summary span::after { transform: translateY(-7px) rotate(-45deg); }
  .menu nav { position: fixed; top: 68px; left: 0; right: 0; background: var(--ink); padding: 8px var(--gutter) 20px; display: grid; border-bottom: 4px solid var(--yellow); }
  .menu nav a { color: var(--white); text-decoration: none; font: 800 1.1rem var(--head); text-transform: uppercase; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
}

/* ── hero ─────────────────────────────────────────────── */
.hero { min-height: 100svh; display: flex; align-items: center; padding-block: 140px 160px; }
.hero__inner { padding-top: 40px; }
.hero .display { font-size: clamp(2.4rem, 6vw, 4.8rem); letter-spacing: .03em; }
.hero__tag { font: italic 800 clamp(1.1rem, 2.4vw, 1.6rem) var(--head); text-transform: uppercase; color: var(--yellow); margin-top: 1rem; letter-spacing: .04em; }
.hero__lines { margin-top: 1rem; color: var(--muted-light); max-width: 62ch; }
.stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 64px); margin-top: 3.2rem; }
.stats dt { font: 900 clamp(2rem, 4vw, 2.8rem)/1 var(--head); color: var(--yellow); }
.stats dd { font: 600 .78rem var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--muted-light); margin-top: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .hero .shard--top::after, .hero .shard--top::before { animation: shard-in 1s var(--ease) both; }
  .hero .shard--top::after { animation-delay: .1s; }
  .hero .shard--bottom::after, .hero .shard--bottom::before { animation: shard-up 1.1s var(--ease) .25s both; }
  .hero__inner > * { animation: rise .8s var(--ease) both; }
  .hero__inner > :nth-child(2) { animation-delay: .1s; }
  .hero__inner > :nth-child(3) { animation-delay: .2s; }
  .hero__inner > :nth-child(n+4) { animation-delay: .3s; }
}
@keyframes shard-in { from { transform: translate(-30%, -30%); } }
@keyframes shard-up { from { transform: translateY(100%); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* ── about ────────────────────────────────────────────── */
.about__grid { display: grid; gap: 32px 64px; grid-template-columns: 1fr 1fr; align-items: start; }
.about__text { display: grid; gap: 1rem; color: var(--muted-dark); }
.about__text strong { color: var(--navy); }
.about__text .lead { color: var(--text-dark); }
.about__photo { grid-column: 1 / -1; position: relative; margin-top: 24px; }
.about__photo video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--navy); clip-path: polygon(0 0, 100% 0, 100% 78%, 88% 100%, 0 100%); }
.about__photo::after { content: ""; position: absolute; right: 0; bottom: 0; width: 22%; aspect-ratio: 1; background: var(--yellow); clip-path: polygon(100% 0, 100% 100%, 0 100%); transform: translate(0, 0); }
@media (max-width: 760px) {
  .about__grid { grid-template-columns: 1fr; }
}

/* ── visi misi ────────────────────────────────────────── */
.vm__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; margin-top: 48px; }
.vm__visi { border-left: 6px solid var(--yellow); padding: 4px 0 4px 28px; }
.vm__visi .label { margin-top: 0; }
.vm__visi p { font: 800 clamp(1.25rem, 2.2vw, 1.7rem)/1.35 var(--head); }
.vm__grid > div > .label { margin-top: 0; }
.numbered { list-style: none; padding: 0; counter-reset: n; display: grid; gap: 2px; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 52px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); color: var(--muted-light); }
.numbered li::before { content: "0" counter(n); font: 900 1.1rem var(--head); color: var(--yellow); }
@media (max-width: 760px) { .vm__grid { grid-template-columns: 1fr; } }

/* ── divisi intro ─────────────────────────────────────── */
.divintro { background: var(--paper); padding-top: 0; }
.divintro__band {
  background: linear-gradient(110deg, var(--yellow-deep), var(--yellow) 45%);
  padding: clamp(90px, 13vw, 170px) var(--gutter) clamp(110px, 15vw, 200px);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 0 100%);
  text-align: center;
}
.divintro__title {
  font: 900 clamp(2rem, 5.6vw, 4.8rem)/.95 var(--head); text-transform: uppercase; color: var(--white);
  transform: rotate(-6deg); text-shadow: 0 4px 0 var(--blue);
}
.divintro__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -40px; }
.divcard {
  background: var(--white); text-decoration: none; padding: 28px 20px 22px; display: grid; gap: 6px; justify-items: start;
  box-shadow: 0 18px 40px -20px rgba(26, 25, 102, .45); border-bottom: 5px solid var(--blue);
  transition: transform .3s var(--ease), border-color .3s;
}
.divcard img { height: 70px; width: auto; margin-bottom: 12px; }
.divcard span { font: 900 .85rem var(--head); color: var(--yellow-deep); }
.divcard b { font: 800 1rem/1.25 var(--head); text-transform: uppercase; color: var(--navy); }
@media (hover: hover) { .divcard:hover { transform: translateY(-6px); border-color: var(--yellow); } }
@media (max-width: 900px) { .divintro__cards { grid-template-columns: 1fr 1fr; } }

/* ── division ─────────────────────────────────────────── */
.division { padding-bottom: 0; }
.division__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.division--flip .division__text { order: 2; }
.division__logo { height: 80px; width: auto; margin-bottom: 24px; }
.division__text > p:not(.eyebrow):not(.value):not(.hero__tag) { color: var(--muted-light); margin-top: 1.2rem; max-width: 54ch; }
.division .display--md { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.ticks { list-style: none; padding: 0; display: grid; gap: 6px; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; background: var(--yellow); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.value { margin-top: 1.6rem; padding: 16px 20px; background: rgba(255, 255, 255, .08); border-left: 4px solid var(--yellow); font-size: .95rem; color: var(--muted-light); }
.value b { color: var(--yellow); }

/* diamond collage — the deck's rotated photo mosaic */
.collage { position: relative; aspect-ratio: 1; overflow: hidden; background: #000; }
.collage__grid { position: absolute; inset: -21%; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 8px; transform: rotate(45deg); }
.collage__grid a { overflow: hidden; display: block; position: relative; }
.collage__grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: rotate(-45deg) scale(1.45); transition: transform .6s var(--ease); }
@media (hover: hover) { .collage__grid a:hover img { transform: rotate(-45deg) scale(1.62); } }
.collage::after { content: ""; position: absolute; left: 0; top: 0; width: 22%; aspect-ratio: 1; background: var(--yellow); clip-path: polygon(0 0, 100% 0, 0 100%); pointer-events: none; }

/* film strip of remaining work */
.strip {
  position: relative; z-index: 2; display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x proximity;
  margin-top: clamp(56px, 8vw, 100px); padding-inline: var(--gutter); background: #000;
  scrollbar-width: thin; scrollbar-color: var(--yellow) transparent; overscroll-behavior-x: contain;
}
.strip a { flex: none; scroll-snap-align: start; margin-right: -22px; }
.strip img { height: clamp(200px, 26vw, 300px); width: auto; max-width: none; object-fit: cover; aspect-ratio: 3 / 4; clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%); transition: filter .3s; }
.strip a:nth-child(3n+2) img { aspect-ratio: 4 / 3; }
@media (hover: hover) { .strip img { filter: saturate(.7) brightness(.85); } .strip a:hover img { filter: none; } }

@media (max-width: 860px) {
  .division__grid { grid-template-columns: 1fr; }
  .division--flip .division__text { order: 0; }
  .collage { max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 480px) { .twocol { grid-template-columns: 1fr; } }

/* ── keunggulan ───────────────────────────────────────── */
.why__grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 6vw, 80px); align-items: start; }
.why__vertical {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font: 900 clamp(2.6rem, 5.4vw, 5rem)/.95 var(--head); text-transform: uppercase; color: var(--navy);
  -webkit-text-stroke: 0; position: sticky; top: 100px;
}
.why__list { list-style: none; padding: 0; counter-reset: n; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 40px; }
.why__list li {
  counter-increment: n; background: var(--white); padding: 28px 24px; color: var(--muted-dark); font-size: .95rem;
  border-top: 5px solid var(--yellow); box-shadow: 0 16px 36px -24px rgba(26, 25, 102, .5);
}
.why__list li::before { content: "0" counter(n); display: block; font: 900 2rem/1 var(--head); color: var(--blue); margin-bottom: 14px; }
.why__list b, .why__list h3 { display: block; font: 800 1.05rem var(--head); text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
@media (max-width: 760px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__vertical { writing-mode: horizontal-tb; transform: none; position: static; font-size: clamp(2.4rem, 12vw, 3.6rem); }
}

/* ── special projects ─────────────────────────────────── */
.projects { background: #d7dbe3 linear-gradient(180deg, #e9ebf0, #c9ced9); padding-top: 0; }
.tilt-band {
  background: linear-gradient(110deg, var(--yellow-deep), var(--yellow) 50%);
  padding: clamp(80px, 11vw, 140px) var(--gutter) clamp(90px, 12vw, 160px);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%); box-shadow: 0 0 0 0 var(--blue);
  position: relative;
}
.tilt-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: var(--blue); clip-path: polygon(0 100%, 100% 0, 100% 22%, 0 100%); }
.tilt-band > * { max-width: 1200px; margin-inline: auto; transform: rotate(-5deg); transform-origin: left; }
.tilt-band__title { font: 900 clamp(2.2rem, 6.5vw, 5.4rem)/.95 var(--head); text-transform: uppercase; color: var(--white); text-shadow: 0 4px 0 var(--blue); }
.project-cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 45%), 1fr)); gap: 28px 20px; margin-top: 24px; }
.project-cards li {
  background: var(--white); padding: 26px 20px; min-height: 150px; display: flex; flex-direction: column; justify-content: center;
  font: 600 .85rem/1.35 var(--head); color: var(--muted-dark); text-transform: uppercase; letter-spacing: .04em;
  transform: rotate(-7deg); box-shadow: 0 20px 30px -18px rgba(15, 15, 46, .55);
  transition: transform .35s var(--ease);
}
.project-cards li:nth-child(even) { transform: rotate(-4deg) translateY(10px); }
.project-cards b { font: 900 1.15rem/1.15 var(--head); color: var(--blue); margin-bottom: 8px; }
@media (hover: hover) { .project-cards li:hover { transform: rotate(0) scale(1.04); } }

/* instagram grid — 3 columns of portrait tiles, caption on hover */
.ig { margin-top: clamp(64px, 9vw, 120px); text-align: center; }
.ig__head .display--md { color: var(--navy); }
.ig__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 32px; }
.ig__grid a { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px; background: var(--navy); }
.ig__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ig__grid span {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px; text-align: left;
  font: 600 .85rem/1.4 var(--body); color: var(--white); background: linear-gradient(transparent 40%, rgba(15, 15, 46, .85));
  opacity: 0; transition: opacity .3s;
}
.ig__grid a:hover span, .ig__grid a:focus-visible span { opacity: 1; }
@media (hover: hover) { .ig__grid a:hover img { transform: scale(1.06); } }
.ig__more { margin-top: 32px; }
@media (max-width: 600px) { .ig__grid { gap: 2px; } .ig__grid span { display: none; } }

/* ── clients ──────────────────────────────────────────── */
.clients { background: var(--white); }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin-top: 48px; }
.logos img { width: 100%; height: 88px; object-fit: contain; padding: 14px; background: var(--paper); transition: background-color .2s; }
@media (hover: hover) { .logos img:hover { background: #fff6d6; } }

/* ── contact ──────────────────────────────────────────── */
.contact .display { font-size: clamp(2.4rem, 6vw, 5rem); }
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: end; }
.contact__list { display: grid; gap: 18px; background: rgba(15, 15, 46, .55); padding: 32px; border-top: 5px solid var(--yellow); backdrop-filter: blur(6px); }
.contact__list dt { font: 800 .75rem var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.contact__list dd { color: var(--muted-light); font-size: .95rem; }
.contact__list a { text-decoration: none; color: var(--white); overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--yellow); }
.ig, .contact__ig { display: grid; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* ── footer ───────────────────────────────────────────── */
.footer { background: var(--white); padding: 48px 0 32px; border-top: 6px solid var(--yellow); }
.footer__inner { display: grid; justify-items: center; gap: 18px; text-align: center; }
.footer__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 36px; }
.footer__logos img { height: 48px; width: auto; }
.footer__motto { font: italic 800 1rem var(--head); color: var(--navy); }
.footer__copy { font-size: .8rem; color: var(--muted-dark); }

/* ── floating whatsapp ────────────────────────────────── */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: var(--yellow); color: var(--navy); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5);
  transition: transform .2s var(--ease);
}
.wa-float:active { transform: scale(.94); }

/* ── lightbox ─────────────────────────────────────────── */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 10, 30, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1200px); max-height: 82vh; object-fit: contain; }
.lightbox__cap { position: fixed; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--white); font: 600 .9rem var(--head); padding-inline: 70px; }
.lightbox__btn { position: fixed; border: 0; background: var(--yellow); color: var(--navy); width: 48px; height: 48px; font: 900 1.8rem/1 var(--head); cursor: pointer; display: grid; place-items: center; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (prefers-reduced-motion: no-preference) { .lightbox[open] img { animation: rise .35s var(--ease); } }

/* ── scroll reveal (only when JS runs and motion is welcome) ── */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .project-cards li.reveal.in { transform: rotate(-7deg); }
  .js .project-cards li.reveal.in:nth-child(even) { transform: rotate(-4deg) translateY(10px); }
  .js .project-cards li.reveal.in:hover { transform: rotate(0) scale(1.04); }
}

/* ── SEO pass (Nov 2026): keyword line in H1, linked cards, footer nav ── */
.hero__sub { display: block; margin-top: 1.1rem; max-width: 34ch; font: 800 clamp(1rem, 2vw, 1.35rem)/1.3 var(--head); letter-spacing: .02em; color: var(--white); }
.project-cards li { position: relative; }
.project-cards a { text-decoration: none; color: inherit; display: block; margin-bottom: 8px; }
.project-cards a b { display: block; margin: 0; }
.project-cards a::after { content: ""; position: absolute; inset: 0; }
.contact__intro { margin-top: 1rem; max-width: 50ch; color: var(--muted-light); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.footer__nav a { font: 700 .82rem var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--navy); text-decoration: none; padding: 6px 0; }
.footer__nav a:hover { color: var(--blue); text-decoration: underline; }

/* ── division pages (/event-production/ etc.) ───────────── */
.page-hero { padding-block: 150px 110px; }
.page-hero .display { font-size: clamp(2.2rem, 5.6vw, 4.4rem); max-width: 18ch; }
.page-hero__lead { margin-top: 1.2rem; max-width: 62ch; color: var(--muted-light); font-size: 1.08rem; }
.page-hero .division__logo { height: 72px; }
.crumbs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.4rem; font: 600 .78rem var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-light); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; color: var(--white); }
.crumbs a:hover { color: var(--yellow); }
.prose { max-width: 70ch; color: var(--muted-dark); display: grid; gap: 1rem; margin-top: 1.4rem; }
.cases { display: grid; gap: clamp(40px, 6vw, 72px); margin-top: 48px; }
.case { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(20px, 4vw, 48px); align-items: center; scroll-margin-top: 90px; }
.case:nth-child(even) .case__text { order: 2; }
.case h3 { font: 900 clamp(1.4rem, 2.6vw, 2rem)/1.1 var(--head); text-transform: uppercase; color: var(--navy); }
.case__text p:not(.eyebrow) { margin-top: .8rem; color: var(--muted-dark); }
.case__media { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px; }
.case__media a { aspect-ratio: 1; overflow: hidden; display: block; background: var(--navy); }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
@media (hover: hover) { .case__media a:hover img { transform: scale(1.05); } }
.more-projects { margin-top: 56px; scroll-margin-top: 90px; }
.more-projects ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 10px; margin-top: 16px; }
.more-projects li { background: var(--white); padding: 16px 18px; border-left: 4px solid var(--yellow); color: var(--muted-dark); font-size: .92rem; }
.more-projects b { display: block; font: 800 .95rem var(--head); color: var(--navy); text-transform: uppercase; }
.grid-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 30%), 1fr)); gap: 6px; margin-top: 40px; }
.grid-gallery a { aspect-ratio: 1; overflow: hidden; display: block; background: #000; }
.grid-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s; }
@media (hover: hover) { .grid-gallery a:hover img { transform: scale(1.05); } }
.steps { margin-top: 40px; max-width: 760px; }
.steps li b { display: block; color: var(--white); font-family: var(--head); }
.white { background: var(--white); color: var(--text-dark); }
.faq { display: grid; gap: 10px; margin-top: 40px; max-width: 860px; }
.faq details { background: var(--white); border-left: 4px solid var(--yellow); padding: 0 22px; box-shadow: 0 12px 28px -22px rgba(26, 25, 102, .5); }
.faq summary { cursor: pointer; padding: 18px 0; font: 800 1rem/1.4 var(--head); color: var(--navy); list-style-position: outside; }
.faq details p { padding-bottom: 18px; color: var(--muted-dark); }
.divintro__cards--plain { margin-top: 40px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .case, .divintro__cards--plain { grid-template-columns: 1fr; }
  .case:nth-child(even) .case__text { order: 0; }
}

/* ── phone tidy-up ────────────────────────────────────── */
@media (max-width: 600px) {
  section { padding-block: 72px; }
  .dark > .wrap { padding-top: 56px; }
  .hero { padding-block: 110px 120px; }
  .actions .btn { flex: 1 1 100%; }
  .stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 16px; }
  .stats dd { font-size: .68rem; letter-spacing: .06em; }
  .site-header { gap: 12px; }
  .brand img { height: 32px; }
  .division__logo { height: 64px; }
  /* plain 3×3 grid instead of the rotated diamond: no black corners, photos stay readable */
  .collage { aspect-ratio: auto; background: none; }
  .collage__grid { position: static; inset: auto; transform: none; gap: 4px; }
  .collage__grid a { aspect-ratio: 1; }
  .collage__grid img, .collage__grid a:hover img { transform: none; }
  .collage::after { width: 18%; }
  .divintro__cards { gap: 10px; }
  .divcard { padding: 20px 14px 16px; }
  .divcard img { height: 52px; }
  .divcard b { font-size: .85rem; }
  /* straight project cards in a neat 2-col grid */
  .project-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .project-cards li, .project-cards li:nth-child(even),
  .js .project-cards li.reveal.in, .js .project-cards li.reveal.in:nth-child(even) { transform: none; }
  .project-cards li { min-height: 120px; padding: 18px 14px; font-size: .72rem; border-left: 4px solid var(--yellow); }
  .project-cards b { font-size: .95rem; }
  .logos { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .logos img { height: 72px; padding: 10px; }
  .contact__list { padding: 24px 20px; }
}

/* ── audit round 2: map, tap targets, mobile hero ─────── */
.contact__map { width: 100%; height: 220px; border: 0; display: block; }
@media (pointer: coarse) {
  .footer__nav a, .crumbs a, .contact__list a { display: inline-flex; align-items: center; min-height: 44px; }
  .crumbs { align-items: center; }
}
@media (max-width: 600px) {
  .hero .stats { margin-right: 64px; }  /* keeps the fixed WhatsApp button off the last stat */
  .page-hero { padding-block: 92px 64px; }
  .page-hero > .wrap { padding-top: 0; }
  .page-hero .division__logo { height: 52px; }
  /* 2-column case galleries: a lone last photo spans the row instead of leaving an empty cell */
  .case__media a:last-child:nth-child(odd):not(:first-child) { grid-column: span 2; aspect-ratio: 2 / 1; }
}
