/* Self-hosted Jost + Poppins (Latin) */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/jost-var.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: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/jost-var.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: 'Jost'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/jost-var.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: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/poppins-300.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: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/poppins-400.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: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/poppins-500.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: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/poppins-600.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; }

:root {
  --red: #b5001a;
  --white: #fff;
  --black: #111;
  --grey: #e4e4e4;
  --display: "Jost", "Futura", "futura-pt", sans-serif;
  --body: "Poppins", system-ui, sans-serif;
  --gutter: clamp(16px, 3vw, 44px);
  --nav-h: 76px;
  --radius: 24px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }  /* components set their own display; hidden must still win */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font: 300 14px/1.65 var(--body);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.15; margin: 0; }
figure { margin: 0; }
button { font: inherit; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--red); color: var(--white); padding: 8px 12px; }

/* Themes */
.theme-white { background: var(--white); color: var(--black); }
.theme-white h1, .theme-white h2 { color: var(--red); }
.theme-red { background: var(--red); color: var(--white); }
.theme-black { background: #000; color: var(--white); }
.pad { padding: clamp(64px, 8vw, 120px) var(--gutter); }
.narrow > :not(.deco) { max-width: 800px; margin-inline: auto; }
.page-title { text-align: center; font-size: clamp(40px, 5vw, 66px); margin-bottom: 36px !important; }

/* Hand-drawn highlight strokes (draw in when scrolled into view) */
.hl { position: relative; display: inline-block; white-space: nowrap; }
.hl svg { position: absolute; overflow: visible; pointer-events: none; color: currentColor; }
.hl path {
  fill: none; stroke: currentColor; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset var(--d, .5s) cubic-bezier(.4, 0, .2, 1) var(--delay, 0s);
}
.hl.is-drawn path { stroke-dashoffset: 0; }
.hl--red svg { color: var(--red); }
.hl--white svg { color: var(--white); }
.hl--black svg { color: var(--black); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  background: var(--white);
}
.nav__logo img { width: 104px; }
.nav__links { display: flex; align-items: center; gap: clamp(10px, 1.3vw, 20px); font-size: 13.5px; letter-spacing: .01em; }
.nav__links a { text-decoration: none; padding: 4px 0; }
.nav__links a:hover, .nav__links [aria-current], .nav__folder.is-active > a { text-decoration: underline; text-underline-offset: 6px; }
.nav__icon svg { width: 17px; height: 17px; display: block; }
.nav__folder { position: relative; }
.nav__sub {
  position: absolute; top: 100%; left: -16px; min-width: 220px;
  display: grid; padding: 12px 16px; gap: 4px;
  background: var(--white); color: var(--black); box-shadow: 0 10px 30px rgba(0,0,0,.08);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.nav__folder:hover .nav__sub, .nav__folder:focus-within .nav__sub, .nav__folder.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__burger { display: none; }

.is-home .nav { position: fixed; inset: 0 0 auto; background: transparent; color: var(--red); transition: background .25s, color .25s; }
.is-home .nav.is-scrolled { background: var(--white); color: var(--black); }
.is-disco .nav { position: fixed; inset: 0 0 auto; background: transparent; color: var(--white); transition: background .25s, color .25s; }
.is-disco .nav__logo img { filter: brightness(0) invert(1); transition: filter .25s; }
.is-disco .nav.is-scrolled { background: var(--white); color: var(--black); }
.is-disco .nav.is-scrolled .nav__logo img { filter: none; }

/* Tablet widths: tighten the desktop bar so every link still fits */
@media (max-width: 1100px) {
  .nav__links { gap: clamp(8px, 1.2vw, 14px); font-size: 12.5px; }
}

/* Phone menu (as on the original): burger -> full-screen red panel, PORTFOLIO slides to a sub-list */
.mnav {
  position: fixed; inset: 0; z-index: 90; background: var(--red); color: var(--white);
  display: grid; grid-template-rows: 1fr auto; overflow: hidden;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.mnav[hidden] { display: none; }
.mnav.is-open { opacity: 1; visibility: visible; }
.mnav__panel {
  grid-area: 1 / 1; align-self: center; display: grid; justify-items: center; gap: clamp(14px, 3.4svh, 30px);
  padding: 96px var(--gutter) 24px; text-align: center;
  font: 300 clamp(26px, 8.5vw, 34px)/1.05 var(--body); text-transform: uppercase;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1), opacity .3s;
}
.mnav__panel a, .mnav__panel button { color: inherit; text-decoration: none; background: none; border: 0; font: inherit; text-transform: inherit; cursor: pointer; padding: 0; }
.mnav__panel [aria-current] { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.mnav__folder, .mnav__back { display: inline-flex; align-items: center; gap: 16px; }
.mnav__folder svg, .mnav__back svg { width: .38em; height: .7em; }
.mnav__back { text-transform: none !important; opacity: .55; }
.mnav__sub { transform: translateX(100%); opacity: 0; }
.mnav.is-sub .mnav__main { transform: translateX(-100%); opacity: 0; }
.mnav.is-sub .mnav__sub { transform: none; opacity: 1; }
.mnav__social { display: flex; justify-content: center; gap: 22px; padding: 24px 0 calc(32px + env(safe-area-inset-bottom)); }
.mnav__social .nav__icon svg { width: 24px; height: 24px; }

@media (max-width: 767px) {
  .nav { height: 72px; }
  .nav__links { display: none; }
  .nav__burger {
    display: grid; align-content: center; gap: 7px; width: 44px; height: 44px; margin-right: -8px;
    background: none; border: 0; padding: 0 8px; color: inherit; cursor: pointer; position: relative; z-index: 100;
  }
  .nav__burger span { display: block; height: 1.3px; background: currentColor; transition: transform .3s; }
  .menu-open .nav__burger span:first-child { transform: translateY(4.2px) rotate(45deg); }
  .menu-open .nav__burger span:last-child { transform: translateY(-4.2px) rotate(-45deg); }
  .menu-open .nav { color: var(--white) !important; background: transparent !important; z-index: 100; position: fixed; inset: 0 0 auto; }
  .menu-open .nav__logo { opacity: 0; }
  .menu-open { overflow: hidden; }
}
@media (min-width: 768px) { .mnav { display: none !important; } }

/* Buttons */
.btn {
  display: inline-block; cursor: pointer; text-decoration: none; list-style: none;
  font: 400 11.5px var(--body); letter-spacing: .12em; text-transform: uppercase;
  padding: 17px 42px; background: var(--white); color: var(--red); border: 1px solid var(--white);
  transition: transform .15s;
}
.btn:hover { transform: rotate(-2deg) scale(1.04); }
.btn--red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--outline { background: transparent; color: var(--white); }
summary.btn::-webkit-details-marker { display: none; }

/* Media tiles */
.collage { position: relative; width: 100%; }
.tile { position: absolute; overflow: hidden; }
.tile > img, .tile > video { width: 100%; height: 100%; object-fit: cover; }
[data-lb] { cursor: zoom-in; }
.tile--inert, .tile--inert * { pointer-events: none; }
video:not([controls]) { pointer-events: none; }
.tile:has([data-lb]) { pointer-events: auto; }
.tile [data-lb] { pointer-events: auto; }

@media (max-width: 767px) {
  :root { --gutter: 6vw; }  /* Squarespace's phone gutter */
  .collage[style*="--m-ar"], .campaign__layer[style*="--m-ar"] { aspect-ratio: var(--m-ar) !important; }
  .collage .tile[style*="--mx"], .campaign__layer .tile[style*="--mx"] {
    left: var(--mx) !important; top: var(--my) !important; width: var(--mw) !important; height: var(--mh) !important;
  }
  .collage--bleed { width: 100vw; margin-inline: calc(var(--gutter) * -1); }  /* phone positions span the full screen */
}

/* Campaigns */
.campaign {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4.5vw, 68px); align-items: center;
  padding: clamp(56px, 7.5vw, 110px) var(--gutter);
}
.campaign--flip .campaign__media { order: 2; }
.campaign__info { max-width: 640px; }
.campaign__info h2 { font-size: clamp(26px, 2.5vw, 37px); margin-bottom: 16px; }
.campaign__info p { margin: 0 0 12px; font-size: 13.5px; }
.campaign__meta { display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: 32px; margin-top: 32px; font-size: 13px; }
.campaign__meta dl { margin: 0; }
.campaign__meta dt, .campaign__meta h3 { font: 600 13px var(--body); margin: 0 0 6px; }
.campaign__meta dd { margin: 0 0 18px; }
.campaign__meta ul { margin: 0; padding-left: 18px; }
.campaign__meta li { margin-bottom: 8px; }
.campaign__extra { margin-top: 12px !important; }
.theme-red .campaign__info h2 { color: var(--white); }
.campaign__player { margin-inline: auto; }
.campaign__player { width: min(100%, var(--pw, 100%)); }
.campaign__player video { width: 100%; height: auto; background: #000; }

.campaign--canvas { display: block; }
.campaign__canvas { position: relative; width: 100%; }
.campaign__layer { position: absolute; inset: 0; }
.campaign__canvas .campaign__info { position: absolute; }

/* Phones: one column, parts in the order the original phone layout used (title / media / text / details) */
@media (max-width: 767px) {
  .campaign, .campaign__canvas { display: flex; flex-direction: column; gap: 28px; aspect-ratio: auto !important; }
  .campaign { padding: 56px var(--gutter) 64px; }
  .campaign__info, .campaign__canvas .campaign__info { display: contents; }
  .campaign__media, .campaign--flip .campaign__media, .campaign__layer { order: var(--o-media, 1); }
  .campaign__layer { position: relative; width: 100vw; margin-inline: calc(var(--gutter) * -1); }
  .campaign__title { order: var(--o-title, 0); margin: 0 !important; font-size: clamp(26px, 7.4vw, 32px) !important; }
  .campaign__desc { order: var(--o-desc, 2); }
  .campaign__desc p:last-child { margin-bottom: 0; }
  .campaign__meta { order: var(--o-meta, 3); grid-template-columns: 1fr; gap: 10px; margin-top: 0; }
  .campaign__player { width: 100vw; margin-inline: calc(var(--gutter) * -1); }
}

/* Portfolio index */
.pgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px 20px; max-width: 1400px; margin: 0 auto; }
@media (max-width: 1199px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .pgrid { grid-template-columns: 1fr; gap: 36px; } }
.pcard { text-decoration: none; display: grid; gap: 4px; }
.pcard__media { display: block; overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 10px; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__title { font: 500 26px var(--display); color: var(--red); }
.pcard small { color: #666; font-size: 12px; }

/* Home */
.home-hero { height: 100svh; background: var(--grey); overflow: hidden; }
.home-hero__video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hello {
  position: relative; z-index: 1; margin-top: calc(var(--radius) * -1); border-radius: var(--radius) var(--radius) 0 0;
  text-align: center; padding: clamp(64px, 9vw, 120px) var(--gutter);
}
.hello__logo { width: clamp(110px, 11vw, 150px); height: auto; margin: 0 auto; animation: wobble 4s ease-in-out infinite; }
.hello h1 { font-size: clamp(64px, 13.5vw, 196px); line-height: 1; }
.hello__sub { font: 500 clamp(15px, 1.4vw, 20px) var(--display); margin: 26px 0 10px; }
.hello__aside { margin: 0; font-size: 12px; color: var(--red); }
@keyframes wobble { 50% { transform: rotate(-5deg) scale(1.04); } }

.about {
  position: relative; border-radius: var(--radius) var(--radius) 0 0;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  padding: clamp(80px, 10vw, 150px) var(--gutter);
}
.about__copy h2 { font-size: clamp(24px, 2.9vw, 42px); margin-bottom: 1.8em; line-height: 1.45; }
.about__copy h2:last-child { margin-bottom: 0; }
.about__services { list-style: none; margin: 0; padding: 0; text-align: center; font: 500 clamp(22px, 3vw, 44px)/1.8 var(--display); }
.about__services li { width: fit-content; margin-inline: auto; transition: transform .2s; }
.about__services li:hover { transform: rotate(-2deg) scale(1.04); }
.about__services a { text-decoration: none; }
.sticker { position: absolute; width: clamp(64px, 7vw, 104px); height: auto; border-radius: 50%; pointer-events: none; }
.sticker--berry1 { left: 50%; top: 7%; transform: rotate(-10deg); }
.sticker--berry2 { right: 3%; bottom: 8%; transform: rotate(12deg); }

.showtell { position: relative; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; margin-top: calc(var(--radius) * -1); }
.showtell__title {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  text-align: center; font-size: clamp(30px, 4.6vw, 66px); line-height: 1.45; white-space: nowrap;
}

.cta { position: relative; text-align: center; padding: clamp(100px, 11vw, 160px) var(--gutter); }
.cta--point { padding-bottom: clamp(150px, 15vw, 210px); clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%); }
.cta h2 { font-size: clamp(22px, 2.5vw, 36px); color: var(--white) !important; margin-bottom: 16px; }
.cta .btn { margin-top: 30px; }
.cta__sticker { width: clamp(90px, 10vw, 150px); height: auto; margin: 52px auto 0; border-radius: 50%; }

@media (max-width: 767px) {
  .about { grid-template-columns: 1fr; padding-top: 110px; }
  .sticker--berry1 { left: auto; right: var(--gutter); top: 24px; }
  .showtell__title { top: var(--m-top); transform: translateX(-50%); font-size: clamp(28px, 8.4vw, 36px); }
}

/* Forms */
.form { display: grid; gap: 20px; font-size: 13px; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form legend { padding: 0; margin-bottom: 8px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form label { display: grid; gap: 6px; }
.form .req, .form small { color: #666; font-size: 11.5px; }
.form .req { margin-left: 4px; }
.form input:not([type=checkbox]), .form textarea, .form select {
  font: inherit; font-size: 14px; color: var(--black); background: var(--white);
  border: 1px solid #222; border-radius: 4px; padding: 11px 12px; width: 100%;
}
.form select {
  appearance: none; cursor: pointer; padding-right: 40px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none' stroke='%23111' stroke-width='1.5'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.form input:focus-visible, .form textarea:focus-visible, .form select:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }
.form .checks { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.form .check { display: flex; align-items: center; gap: 8px; }
.form .btn { justify-self: start; }
.form__done { font: 500 16px var(--display); color: var(--red); }
.theme-red .form__done { color: var(--white); }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

.community { position: relative; padding-top: max(64px, 28.75vw); padding-bottom: max(120px, 28vw); }
.community .deco { position: absolute; margin: 0; overflow: hidden; }
.community .deco img { width: 100%; height: 100%; object-fit: cover; }
.collage--deco-m { display: none; }
@media (max-width: 767px) {
  .community { padding-top: 48px; padding-bottom: 48px; }
  .community .deco { display: none; }
  .collage--deco-m { display: block; margin-top: 56px; width: 100vw; margin-inline: calc(var(--gutter) * -1); max-width: none !important; }
}

/* Disco */
.disco-hero { position: relative; min-height: 86svh; display: grid; place-items: center; text-align: center; overflow: hidden; clip-path: ellipse(120% 100% at 50% 0); }
.disco-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.disco-hero__copy { position: relative; max-width: 960px; padding: 0 var(--gutter); }
.disco-hero__copy p { font: 500 17px var(--display); margin: 0 0 16px; }
.disco-hero__copy h1 { font-size: clamp(24px, 3.1vw, 42px); }
.disco-latest { text-align: center; }
.disco-latest h2 { font-size: clamp(22px, 2.3vw, 33px); }
.disco-latest__title { font-weight: 600; font-size: clamp(34px, 4.4vw, 60px); margin: 8px 0 34px; }
.disco-latest .yt { max-width: 785px; margin: 0 auto; }
.disco-grid { clip-path: ellipse(140% 100% at 50% 100%); padding-top: clamp(100px, 10vw, 150px); text-align: center; }
.disco__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 56px; max-width: 1180px; margin: 0 auto 60px; }
.disco__card h2 { color: var(--white); font-size: clamp(22px, 2.5vw, 36px); font-weight: 600; margin-bottom: 16px; }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16/9; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.yt:hover img { transform: scale(1.03); }
.yt__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(0,0,0,.45); }
.yt__play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 18px solid var(--white); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.disco__song { max-width: 560px; margin: 0 auto; text-align: left; }
.disco__song summary { display: table; margin: 0 auto 28px; }
@media (max-width: 767px) { .disco__cards { grid-template-columns: 1fr; } }


/* Footer */
.footer {
  display: flex; flex-wrap: wrap; gap: 32px 72px; align-items: flex-start;
  padding: 64px var(--gutter) 76px; background: var(--white); color: var(--red);
}
.footer h4 { font-size: clamp(19px, 1.6vw, 23px); margin-bottom: 18px; }
.footer a { display: block; font-size: 13px; }
.footer__logo { width: clamp(120px, 12vw, 170px); height: auto; margin-left: auto; align-self: flex-end; }
@media (max-width: 767px) {
  .footer { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px; padding: 48px var(--gutter) 56px; }
  .footer__logo { grid-column: 1 / -1; margin-left: 0; width: 130px; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.92); overscroll-behavior: contain; }
.lightbox[hidden] { display: none; }
.lightbox__stage { position: absolute; inset: 56px 72px; display: flex; align-items: center; justify-content: center; }
.lightbox__stage img, .lightbox__stage video {
  display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain;
}
.lightbox__btn { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 44px; line-height: 1; padding: 10px 16px; opacity: .8; }
.lightbox__btn:hover, .lightbox__btn:focus-visible { opacity: 1; }
.lightbox__close { top: 8px; right: 12px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 14px; left: 0; right: 0; margin: 0; text-align: center; color: #bbb; font-size: 12px; }
.lightbox.is-single .lightbox__prev, .lightbox.is-single .lightbox__next, .lightbox.is-single .lightbox__count { display: none; }
@media (max-width: 767px) {
  .lightbox__stage { inset: 56px 8px 64px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 6px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .hl path { stroke-dashoffset: 0; }
}

/* Phone type scale, matched to the original's phone layout (Poppins 15–16px body, Futura display sizes) */
@media (max-width: 767px) {
  .campaign { align-items: stretch; }
  .campaign__title { font-size: clamp(28px, 8vw, 34px) !important; line-height: 1.12; }
  .campaign__info p, .campaign__desc p { font-size: 15px; line-height: 1.8; }
  .campaign__meta { font-size: 15px; }
  .campaign__meta dt, .campaign__meta h3 { font-size: 16px; margin-bottom: 4px; }
  .campaign__meta dd { margin-bottom: 14px; }
  .campaign__meta li { font-size: 16px; margin-bottom: 6px; }

  .hello h1 { font-size: clamp(48px, 14.4vw, 58px); }
  .hello__sub { font-size: clamp(18px, 5.6vw, 22px); }
  .hello__aside { font-size: 14px; }
  .about__copy h2 { font-size: clamp(22px, 6.6vw, 27px); }
  .about__services { font-size: clamp(24px, 7.2vw, 30px); }
  .showtell__title { font-size: clamp(32px, 10vw, 42px); }
  .cta h2 { font-size: clamp(24px, 7.2vw, 30px); }

  .page-title { font-size: clamp(36px, 11vw, 46px); }
  .form { font-size: 16px; }
  .form .req, .form small { font-size: 14px; }
  .form input:not([type=checkbox]), .form textarea, .form select { font-size: 16px; }  /* 16px stops iOS zooming in */
  .form .row { grid-template-columns: 1fr 1fr !important; gap: 8px; }
  .form .checks { flex-direction: column; gap: 10px; }

  .disco-hero__copy h1 { font-size: clamp(24px, 7.6vw, 32px); }
  .disco-latest__title { font-size: clamp(36px, 11vw, 46px); }
  .disco__card h2 { font-size: clamp(26px, 8vw, 32px); }

  .footer h4 { font-size: 22px; }
  .footer a { font-size: 16px; }
}
@media (max-width: 767px) {
  .nav__logo img { width: 62px; }
  .nav__burger { width: 52px; }
  .form input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--red); }
}
.only-phone { display: none; }
@media (max-width: 767px) {
  .only-desktop { display: none; }
  .only-phone { display: inline; }
  .community > .collage--deco-m { margin-inline: calc(var(--gutter) * -1) !important; max-width: none !important; width: 100vw; }
}

/* Highlight drawn behind the text (Disco title) */
.hl--behind { isolation: isolate; }
.hl--behind svg { z-index: -1; }

/* Homepage parallax: each section slides up over the one before it */
.is-home main > section { position: relative; }
.is-home main > section:nth-child(1) { z-index: 1; }
.is-home main > section:nth-child(2) { z-index: 2; }
.is-home main > section:nth-child(3) { z-index: 3; }
.is-home main > section:nth-child(4) { z-index: 4; }
.is-home main > section:nth-child(5) { z-index: 5; }
.is-home .footer { position: relative; z-index: 6; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* As a section scrolls off the top, it drifts down at 35% of the scroll speed, so the next one slides over it */
    .is-home main > section:not(:last-child) {
      animation: parallax-drift linear both;
      animation-timeline: view();
      animation-range: exit-crossing 0% exit-crossing 100%;
    }
  }
}
@keyframes parallax-drift { to { transform: translate3d(0, 35%, 0); } }

/* Forms (Web3Forms) */
.form__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form__status { font: 500 16px var(--display); color: var(--red); margin: 0; }
.form__status.is-error { color: #8a0014; }
.form__note { font-size: 11.5px; color: #666; margin: -4px 0 0; }
.form__note a { color: inherit; }
.form button[disabled] { opacity: .6; cursor: progress; transform: none; }
.theme-red .form__status, .theme-red .form__note { color: var(--white); }

/* Footer legal + copyright */
.footer__copy { flex-basis: 100%; margin: 8px 0 0; font-size: 12px; color: var(--red); opacity: .8; }
@media (max-width: 767px) { .footer__copy { grid-column: 1 / -1; margin-top: -8px; } }

/* Legal page */
.legal > * { max-width: 760px; margin-inline: auto; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; margin-bottom: 56px; font-size: 14px; }
.legal article { margin-bottom: 64px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.legal h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 6px; }
.legal h3 { font: 600 15px var(--body); color: var(--black); margin: 28px 0 8px; }
.legal p, .legal li { font-size: 15px; line-height: 1.75; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal__date { color: #666; font-size: 13px !important; margin-top: 0; }

/* 404 */
.notfound { min-height: 70svh; display: grid; place-content: center; text-align: center; }
.notfound__code { font: 600 clamp(90px, 18vw, 200px)/1 var(--display); margin: 0; }
.notfound h1 { font-size: clamp(28px, 3.4vw, 46px); margin: 8px 0 12px; }
.notfound__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

/* Focus: visible for keyboard users only */
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.lightbox:focus, .mnav:focus { outline: none; }
.lightbox__btn:focus-visible { outline: 2px solid #fff; }

/* Form success panel */
.form__success { text-align: center; padding: clamp(40px, 6vw, 72px) var(--gutter); outline: none; }
.form__success h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 18px 0 10px; }
.form__success p { font-size: 15px; max-width: 460px; margin: 0 auto; }
.form__success-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.form__tick { width: 64px; height: 64px; color: var(--red); }
.form__tick circle, .form__tick path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.form__success:not([hidden]) .form__tick circle { animation: tick-draw .6s ease-out forwards; }
.form__success:not([hidden]) .form__tick path { animation: tick-draw .35s ease-out .5s forwards; }
@keyframes tick-draw { to { stroke-dashoffset: 0; } }
.btn--ghost { background: transparent; color: var(--red); border-color: var(--red); }
.theme-red .form__success, .theme-red .form__tick { color: var(--white); }
.theme-red .form__success h2 { color: var(--white); }
.theme-red .form__success .btn--red { background: var(--white); color: var(--red); border-color: var(--white); }
.theme-red .btn--ghost { color: var(--white); border-color: var(--white); }
.form__other[hidden] { display: none; }

/* Footer: single copyright line with the Legal link */
.footer .footer__copy a { display: inline; font-size: inherit; color: inherit; text-decoration: underline; }

/* Tablets: free-form (canvas) campaigns can't keep text over media as the page narrows,
   so below 1200px they use the original phone arrangement, scaled up */
@media (min-width: 768px) and (max-width: 1199px) {
  .campaign--canvas .campaign__canvas { display: flex; flex-direction: column; gap: 32px; aspect-ratio: auto !important; }
  .campaign--canvas .campaign__info { display: contents; }
  .campaign--canvas .campaign__layer { position: relative; inset: auto; order: var(--o-media, 1); aspect-ratio: var(--m-ar) !important; max-width: 760px; width: 100%; margin-inline: auto; }
  .campaign--canvas .campaign__layer .tile[style*="--mx"] { left: var(--mx) !important; top: var(--my) !important; width: var(--mw) !important; height: var(--mh) !important; }
  .campaign--canvas .campaign__title { order: var(--o-title, 0); max-width: 760px; margin-inline: auto; width: 100%; }
  .campaign--canvas .campaign__desc { order: var(--o-desc, 2); max-width: 760px; margin-inline: auto; width: 100%; }
  .campaign--canvas .campaign__meta { order: var(--o-meta, 3); max-width: 760px; margin: 0 auto; width: 100%; }
}

