/* ==========================================================================
   Alliance of Cool – main stylesheet
   Colours: black, white, dark blue #312783, mid blue #005DAA,
            light blue #009FE3 (C100 M0 Y0 K0) used for every icon and accent.
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/bricolage-grotesque-latin-wght.woff2") format("woff2-variations"),
       url("../fonts/bricolage-grotesque-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/bricolage-grotesque-latin-ext-wght.woff2") format("woff2-variations"),
       url("../fonts/bricolage-grotesque-latin-ext-wght.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --navy: #312783;
  --mid: #005DAA;
  --blue: #009FE3;
  --ink-2: #3D3D3D;
  --ink-3: #5A5A5A;
  --grey: #F2F2F2;
  --line: #CFCFCF;
  --on-dark: #B5B5B5;
  --font: "Bricolage Grotesque", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.2, 1.4, .4, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--black); }
a:hover { color: var(--mid); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 999px; }
.skip-link:focus { top: 16px; color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Every icon is light blue */
.icon { flex: none; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon.ph { stroke: rgba(255, 255, 255, .85); stroke-width: 1.4; }

/* ---------- Type ---------- */
.text-blue { color: var(--blue); }
.light { font-weight: 300; }
.display-hero { font-size: clamp(46px, 7.4vw, 112px); line-height: .95; letter-spacing: -.035em; font-weight: 800; }
.display-xl { font-size: clamp(56px, 9vw, 140px); line-height: .9; letter-spacing: -.045em; font-weight: 800; }
.display-lg { font-size: clamp(44px, 6.4vw, 96px); line-height: .95; letter-spacing: -.035em; font-weight: 800; }
.display-md { font-size: clamp(36px, 4.8vw, 72px); line-height: 1; letter-spacing: -.03em; font-weight: 800; }
.lead { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 58ch; }
.lead-xl { font-size: clamp(20px, 1.8vw, 26px); color: #222; }
.lead-dark { color: var(--on-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
  font-family: inherit; font-weight: 600; font-size: 17px; text-decoration: none; cursor: pointer;
  transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn .icon { transition: transform .3s ease; }
.btn:hover .icon { transform: translateX(4px); }
.btn-brand { background: var(--navy); color: #fff; }
.btn-brand:hover { background: var(--black); color: #fff; transform: translateY(-2px); }
.btn-line { border-color: var(--black); color: var(--black); background: transparent; }
.btn-line:hover { background: var(--black); color: #fff; }
.btn-white { border-color: #fff; color: #fff; background: transparent; }
.btn-white:hover { background: #fff; border-color: #fff; color: var(--black); }
.btn-lg { min-height: 60px; padding: 0 34px; font-size: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--black); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid #ECECEC;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 96px; }
.brand img { width: 80px; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(8px, 2vw, 28px); }
.nav-link { position: relative; color: var(--black); text-decoration: none; font-weight: 500; font-size: 16px; padding: 12px 4px; }
.nav-link::after {
  content: ""; position: absolute; left: 4px; right: 4px; bottom: 6px; height: 2px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav-link:hover { color: var(--black); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { min-height: 46px; padding: 0 22px; font-size: 16px; }
.menu-toggle { display: none; }

.has-dropdown { position: relative; }
.dropdown-row { display: flex; align-items: center; }
.dropdown-toggle { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; }
.dropdown-toggle .icon { transition: transform .3s ease; }
.dropdown-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dropdown {
  list-style: none; margin: 0; padding: 12px; position: absolute; top: calc(100% + 8px); left: -16px; width: 330px;
  background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(49, 39, 131, .18);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.has-dropdown:hover .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--black); font-size: 15px; font-weight: 500; }
.dropdown a:hover { background: #EAF6FD; color: var(--black); }

@media (max-width: 960px) {
  .header-inner { min-height: 80px; }
  .brand img { width: 64px; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
    border: 2px solid var(--black); border-radius: 50%; background: #fff; cursor: pointer;
  }
  .menu-toggle span { display: inline-flex; }
  .menu-toggle .menu-close { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-open { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-close { display: inline-flex; }
  /* backdrop-filter would trap the fixed menu panel inside the header, so use solid white on small screens */
  .site-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-nav {
    position: fixed; inset: 80px 0 0 0; z-index: 39; background: #fff;
    flex-direction: column; align-items: stretch; gap: 24px; padding: 24px var(--gutter) 48px;
    overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s;
  }
  .site-nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid #ECECEC; }
  .nav-link { display: block; font-size: 26px; font-weight: 700; padding: 16px 0; }
  .nav-link::after { display: none; }
  .dropdown-row { justify-content: space-between; }
  .dropdown-toggle { width: 52px; height: 52px; }
  .dropdown { position: static; width: auto; box-shadow: none; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-dropdown.is-open .dropdown { display: block; }
  .has-dropdown:hover .dropdown { opacity: 1; }
  .nav-cta { align-self: flex-start; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 110px) 0 clamp(56px, 7vw, 96px); }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5vw, 72px); }
.hero-copy { flex: 999 1 560px; min-width: 0; }
.hero-copy .lead { margin-top: 36px; }
.hero-copy .btn-row { margin-top: 36px; }
.hero-visual { flex: 1 1 340px; min-width: 0; }
.proof { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 28px; font-weight: 600; }
.proof li { display: flex; align-items: center; gap: 10px; }

.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: block; animation: rise 1.05s var(--ease) both; }
.d1 > span { animation-delay: .05s; } .d2 > span { animation-delay: .17s; } .d3 > span { animation-delay: .29s; } .d4 > span { animation-delay: .41s; }
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
.fade-in { animation: fadeup .9s .7s both; }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.stage { position: relative; width: min(100%, 480px); aspect-ratio: 1 / 1; margin: 0 auto; }
.stage > svg, .stage > img { position: absolute; }
.ring-draw, .ring-text, .orbit { inset: 0; width: 100%; height: 100%; }
.ring-draw circle { fill: none; stroke: url(#aoc-grad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.4s .35s cubic-bezier(.6, 0, .2, 1) forwards; }
.ring-text { animation: spin 28s linear infinite; }
.ring-text text { font-family: var(--font); font-size: 19px; font-weight: 600; letter-spacing: 6px; fill: var(--black); }
.stage-dark .ring-text text { fill: #fff; }
.orbit { animation: spin 9s linear infinite reverse; }
.orbit circle { fill: var(--blue); }
.stage-logo { left: 17%; top: 19%; width: 68%; animation: floaty 6s 2s ease-in-out infinite; }
.stage-logo.pop { animation: pop 1.3s .55s var(--spring) both, floaty 6s 2s ease-in-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { opacity: 0; transform: scale(.55) rotate(-25deg); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -8px; rotate: -2deg; } }

/* ---------- Marquees ---------- */
.band { overflow: hidden; }
.marquee { display: flex; align-items: center; width: max-content; animation: scroll 45s linear infinite; }
.marquee.slow { animation-duration: 70s; }
.marquee.rev { animation-direction: reverse; }
.band:hover .marquee { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.tick { display: inline-flex; align-items: center; gap: 16px; padding: 0 16px 0 0; margin: 0; list-style: none; white-space: nowrap; }
.ticker { background: var(--black); color: #fff; padding: 22px 0; }
.ticker .tick { font-size: clamp(20px, 2.2vw, 30px); font-weight: 600; }
.ticker li { display: inline-flex; align-items: center; gap: 16px; padding-right: 20px; }

.ribbon { padding: clamp(24px, 3vw, 40px) 0; }
.ribbon-text { font-size: clamp(64px, 10vw, 160px); font-weight: 800; letter-spacing: -.03em; gap: 48px; padding-right: 48px; }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--navy); }
.ribbon .dot { color: var(--mid); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-tight { padding: clamp(48px, 6vw, 88px) 0; }
.section-grey { background: var(--grey); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { max-width: 42ch; font-size: 18px; color: var(--ink-2); }
.split { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 96px); align-items: flex-start; }
.split > * { flex: 1 1 420px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 28px; }
.grow-bar { height: 6px; width: 120px; margin-top: 32px; border-radius: 3px; background: linear-gradient(90deg, var(--navy), var(--mid), var(--blue)); transform-origin: left; }
.stat { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid #DDD; }
.stat-num { font-size: clamp(64px, 7vw, 104px); font-weight: 800; letter-spacing: -.04em; line-height: 1; background: linear-gradient(90deg, var(--navy), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { display: flex; align-items: center; gap: 10px; font-size: 18px; line-height: 1.4; max-width: 30ch; color: var(--ink-2); }

/* Scroll reveal (JavaScript adds .is-visible; without JS everything is shown) */
.js .reveal { opacity: 0; transform: translateY(48px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .grow-bar { transform: scaleX(0); transition: transform 1s .3s var(--ease); }
.js .is-visible .grow-bar { transform: scaleX(1); }

.bob { animation: bob 4s ease-in-out infinite; }
.bob2 { animation-delay: -1s; } .bob3 { animation-delay: -2s; } .bob4 { animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Opposites ---------- */
.opposites { background: var(--black); color: #fff; padding: var(--section) 0; overflow: hidden; }
.opposites .lead { margin-bottom: clamp(36px, 5vw, 64px); max-width: 40ch; font-weight: 400; }
.pairs { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: clamp(12px, 3vw, 40px); font-size: clamp(36px, 5.6vw, 84px); font-weight: 800; letter-spacing: -.03em; }
.pair-win { flex: 1 1 280px; min-width: 0; height: 1.2em; line-height: 1.2em; overflow: hidden; }
.pair-right { text-align: right; color: var(--blue); }
.pair-list { display: flex; flex-direction: column; }
.pair-list > span { display: block; height: 1.2em; white-space: nowrap; }
.up { animation: cycleUp 15s cubic-bezier(.7, 0, .2, 1) infinite; }
.down { animation: cycleDown 15s cubic-bezier(.7, 0, .2, 1) infinite; }
@keyframes cycleUp { 0%, 16% { transform: translateY(0); } 20%, 36% { transform: translateY(-1.2em); } 40%, 56% { transform: translateY(-2.4em); } 60%, 76% { transform: translateY(-3.6em); } 80%, 96% { transform: translateY(-4.8em); } 100% { transform: translateY(-6em); } }
@keyframes cycleDown { 0%, 16% { transform: translateY(-6em); } 20%, 36% { transform: translateY(-4.8em); } 40%, 56% { transform: translateY(-3.6em); } 60%, 76% { transform: translateY(-2.4em); } 80%, 96% { transform: translateY(-1.2em); } 100% { transform: translateY(0); } }
.amp { width: 1.1em; height: 1.1em; flex: none; animation: breathe 3s ease-in-out infinite; }
.amp-ring { fill: none; stroke: var(--blue); stroke-width: 9; }
.amp-dot { fill: var(--blue); }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

/* ---------- Services ---------- */
.svc-list { border-top: 2px solid var(--black); }
.svc-row { border-bottom: 1px solid var(--line); }
.svc-h { font-size: inherit; font-weight: inherit; }
.row-btn { width: 100%; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); padding: clamp(20px, 3vw, 34px) 0; background: none; border: 0; cursor: pointer; color: var(--black); text-align: left; }
.svc-ico { transition: transform .5s var(--spring); }
.row-btn:hover .svc-ico { transform: rotate(-14deg) scale(1.15); }
.row-name { flex: 1; font-size: clamp(28px, 4.6vw, 68px); font-weight: 700; letter-spacing: -.02em; line-height: 1; transition: transform .4s ease; }
.row-btn:hover .row-name { transform: translateX(12px); }
.plus { position: relative; width: 52px; height: 52px; flex: none; border-radius: 50%; border: 2px solid var(--black); transition: background .3s, border-color .3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s ease; }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.row-btn[aria-expanded="true"] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.row-btn:hover .plus { background: var(--navy); border-color: var(--navy); color: #fff; }
.panel { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; padding: 0 0 36px clamp(68px, 7vw, 92px); animation: open .5s ease both; }
.panel[hidden] { display: none; }
.panel p { flex: 1 1 420px; max-width: 60ch; font-size: 19px; line-height: 1.6; color: #222; }
@keyframes open { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

.pill-row { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pill-row-label { font-size: 18px; font-weight: 600; margin-right: 8px; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; border: 1.5px solid var(--black); border-radius: 999px; text-decoration: none; color: var(--black); font-weight: 500; font-size: 16px; transition: background .25s, color .25s; }
.pill:hover { background: var(--black); color: #fff; }

.svc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.svc-card { display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; border-radius: 28px; background: #FAFAFA; text-decoration: none; color: var(--black); transition: transform .4s ease, background .3s; }
.section-grey .svc-card { background: #fff; }
.svc-card:hover { transform: translateY(-6px); color: var(--black); }
.svc-card .icon { transition: transform .5s var(--spring); }
.svc-card:hover .icon { transform: rotate(-12deg) scale(1.12); }
.svc-card-name { font-size: 24px; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.svc-card-text { font-size: 16px; color: var(--ink-2); }
.svc-card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-weight: 600; }

.value-box { display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3vw, 40px); border-radius: 28px; background: var(--grey); }
.value-box h2 { font-size: 30px; font-weight: 700; }
.value-box p { color: var(--ink-2); }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.fbtn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--black); background: transparent; color: var(--black); font-size: 16px; font-weight: 500; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.fbtn:hover { background: var(--black); color: #fff; }
.fbtn.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 300px; gap: 16px; }
.tile { position: relative; overflow: hidden; border: 0; padding: 0; border-radius: 24px; cursor: pointer; text-align: left; background: #E9E9EC; animation: tileIn .6s var(--ease) both; }
.tile[hidden] { display: none; }
.tile.wide { grid-column: span 2; }
.tile.tall { grid-row: span 2; }
.tile-img { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: rgba(255, 255, 255, .88); font-size: 14px; font-weight: 500; transition: transform .8s var(--ease); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-advertising .tile-img { background: linear-gradient(135deg, #312783, #005DAA); }
.cat-design .tile-img { background: linear-gradient(135deg, #005DAA, #009FE3); }
.cat-events .tile-img { background: linear-gradient(135deg, #000000, #312783); }
.cat-video .tile-img { background: linear-gradient(135deg, #009FE3, #312783); }
.tile:hover .tile-img, .tile:focus-visible .tile-img { transform: scale(1.07); }
.tile-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .82)); color: #fff; display: flex; flex-direction: column; gap: 4px; opacity: 0; transform: translateY(24px); transition: opacity .4s ease, transform .5s var(--ease); }
.tile:hover .tile-info, .tile:focus-visible .tile-info { opacity: 1; transform: none; }
.tile-cat { font-size: 14px; font-weight: 600; color: var(--blue); }
.tile-title { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.tile-client { font-size: 15px; color: #D6D6D6; }
.tile-view { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; }
@keyframes tileIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
@media (hover: none) { .tile-info { opacity: 1; transform: none; } }
@media (max-width: 980px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .work-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 260px; } .tile.wide { grid-column: auto; } .tile.tall { grid-row: auto; } }
.empty-note { margin-top: 24px; color: var(--ink-2); }
.after-grid { margin-top: 40px; }

.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .86); display: flex; align-items: center; justify-content: center; padding: clamp(12px, 3vw, 40px); animation: lbFade .3s ease both; }
.lightbox[hidden] { display: none; }
.lb-card { position: relative; background: #fff; border-radius: 28px; width: 100%; max-width: 1120px; max-height: 92vh; overflow: auto; display: flex; flex-wrap: wrap; animation: lbIn .45s cubic-bezier(.2, 1.2, .4, 1) both; }
.lb-media { flex: 3 1 440px; min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: rgba(255, 255, 255, .9); font-size: 15px; font-weight: 500; padding: 24px; text-align: center; }
.lb-media.has-img { padding: 0; }
.lb-media img { width: 100%; height: 100%; object-fit: cover; }
.lb-body { flex: 2 1 320px; padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 16px; }
.chip { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: #EAF6FD; color: var(--mid); font-size: 14px; font-weight: 600; }
.lb-title { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05; letter-spacing: -.02em; font-weight: 800; }
.lb-client { font-size: 17px; font-weight: 600; color: var(--mid); }
.lb-summary { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.lb-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lb-gallery > * { aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; }
.lb-gallery img { width: 100%; height: 100%; object-fit: cover; }
.lb-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.lb-pos { font-size: 15px; color: var(--ink-3); }
.lb-nav { display: flex; gap: 10px; }
.lb-btn { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--black); background: #fff; cursor: pointer; transition: background .25s, border-color .25s; }
.lb-btn:hover { background: var(--navy); border-color: var(--navy); }
.lb-close { position: absolute; top: 16px; right: 16px; z-index: 2; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbIn { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
body.lb-open { overflow: hidden; }

/* ---------- Clients ---------- */
.clients { display: flex; align-items: center; padding: 28px 0; color: #fff; background: linear-gradient(90deg, #312783 0%, #005DAA 55%, #009FE3 100%); }
.clients-label { flex: none; display: flex; align-items: center; gap: 10px; padding: 0 clamp(20px, 3vw, 40px); font-size: 18px; font-weight: 600; background: var(--navy); position: relative; z-index: 2; align-self: stretch; }
.clients-track { overflow: hidden; flex: 1; min-width: 0; }
.clients-list { font-size: clamp(30px, 3.4vw, 48px); font-weight: 800; letter-spacing: -.02em; gap: 64px; padding-right: 64px; }
.clients-list img { height: 48px; width: auto; }

/* ---------- About ---------- */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; margin-top: clamp(36px, 5vw, 64px); }
.value-card { padding: 36px 30px; border-radius: 28px; background: #FAFAFA; display: flex; flex-direction: column; gap: 18px; }
.value-card h3 { font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.value-card p { color: var(--ink-2); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.founder { border: 2px solid var(--black); border-radius: 32px; padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.founder h3 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 800; letter-spacing: -.02em; }
.founder p { color: var(--ink-2); line-height: 1.6; }
.role { display: flex; align-items: center; gap: 8px; margin-top: 6px !important; font-weight: 600; color: var(--mid) !important; }
.mono { position: relative; width: 120px; height: 120px; }
.mono-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.mono-ring circle { fill: none; stroke: var(--blue); stroke-width: 3; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 2s .2s ease forwards; }
.mono-initials, .mono-photo { position: absolute; inset: 14px; border-radius: 50%; }
.mono-initials { display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 700; color: #fff; background: var(--black); }
.mono-1 { background: var(--navy); }
.mono-photo { width: calc(100% - 28px); height: calc(100% - 28px); object-fit: cover; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(24px, 3vw, 40px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; font-size: 15px; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); }
.page-hero-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.page-hero-icon .icon { width: clamp(72px, 10vw, 140px); height: auto; stroke-width: 1.2; }
.page-hero .lead { margin-top: 28px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--black); color: #fff; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 96px); }
.cta-copy { flex: 999 1 560px; min-width: 0; }
.cta-copy .lead { margin-top: 32px; color: #C9C9C9; }
.cta-visual { flex: 1 1 300px; min-width: 0; }
.cta-visual .stage { width: min(100%, 400px); }
.cta-email { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 36px; font-size: clamp(24px, 3.2vw, 46px); font-weight: 700; letter-spacing: -.02em; color: var(--blue); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; word-break: break-word; }
.cta-email:hover { color: #fff; }
.cta-copy .btn-row { margin-top: 36px; }

.social { margin-top: 28px; display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; color: var(--ink-3); }
.social a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.social-dark { color: #A6A6A6; }
.social-dark a { color: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); align-items: flex-start; }
.contact-form-wrap { flex: 3 1 520px; min-width: 0; }
.contact-details { flex: 2 1 320px; min-width: 0; background: var(--black); color: #fff; border-radius: 32px; padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.detail { display: flex; align-items: center; gap: 16px; color: #fff; text-decoration: none; padding-bottom: 20px; border-bottom: 1px solid #262626; }
.detail:hover { color: var(--blue); }
.detail > span { display: flex; flex-direction: column; }
.detail-label { font-size: 15px; color: #A6A6A6; }
.detail-value { font-size: clamp(17px, 1.5vw, 22px); font-weight: 700; overflow-wrap: anywhere; }
.contact-logo { width: 140px; margin-top: 8px; }
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label { font-weight: 600; }
.opt { font-weight: 400; color: var(--ink-3); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 18px; border: 1.5px solid #BDBDBD; border-radius: 16px;
  font: inherit; color: var(--black); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 159, 227, .2); }
.field [aria-invalid="true"] { border-color: #C62828; }
.field-error { display: flex; align-items: center; gap: 6px; color: #B71C1C; font-size: 15px; font-weight: 500; }
.field-error .icon { stroke: #B71C1C; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 48px; cursor: pointer; }
.select-wrap .icon { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.type-switch { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.type-switch legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.type-switch label { position: relative; cursor: pointer; }
.type-switch input { position: absolute; opacity: 0; }
.type-switch span { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 1.5px solid var(--black); border-radius: 999px; font-weight: 600; transition: background .25s, color .25s, border-color .25s; }
.type-switch input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.type-switch input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.consent input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--navy); }
.consent-dark { color: #A6A6A6; font-size: 14px; }
.consent-dark a { color: #fff; }
.alert { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px; border-radius: 16px; margin-bottom: 24px; font-weight: 500; }
.alert-ok { background: #EAF6FD; color: var(--navy); }
.alert-error { background: #FDECEC; color: #8E1B1B; }
.alert-error .icon { stroke: #B71C1C; }

/* ---------- Legal ---------- */
.prose { max-width: 72ch; font-size: 18px; line-height: 1.7; color: #222; }
.prose h2 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; letter-spacing: -.01em; margin: 44px 0 12px; }
.prose p + p { margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #fff; border-top: 1px solid #262626; padding: clamp(48px, 6vw, 80px) 0 32px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.footer-brand { flex: 1 1 200px; }
.footer-brand img { width: 200px; }
.footer-col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 4px; }
.footer-col a { color: #fff; text-decoration: none; font-size: 17px; padding: 8px 0; }
.footer-col a:hover { color: var(--blue); }
.footer-heading { font-size: 15px; font-weight: 600; color: #A6A6A6; margin-bottom: 8px; }
.footer-subscribe { flex: 2 1 380px; max-width: 520px; }
.footer-subscribe form { display: flex; flex-direction: column; gap: 14px; }
.footer-sub-title { display: block; font-size: 22px; font-weight: 700; }
.sub-row { display: flex; flex-wrap: wrap; gap: 10px; }
.sub-input { flex: 1 1 220px; min-height: 54px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--ink-3); background: transparent; color: #fff; font: inherit; }
.sub-input::placeholder { color: #9A9A9A; }
.sub-input:focus { outline: none; border-color: var(--blue); }
.form-note { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.form-note-ok { color: var(--blue); }
.form-note-error { color: #FF8A80; }
.form-note-error .icon { stroke: #FF8A80; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid #262626; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; color: #A6A6A6; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-legal a { color: #A6A6A6; }
.footer-legal span a { color: #fff; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ring-draw circle, .mono-ring circle { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
  .js .grow-bar { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .ticker, .ribbon, .clients, .cta-visual, .site-footer form, .lightbox { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
