/* ==========================================================================
   Art1st Collective — site styles
   Palette: light grey / dark grey / black / yellow
   ========================================================================== */

:root {
  --bg: #D9D9D9;          /* page base, light grey */
  --card: #E9E9E9;        /* raised light surface */
  --band: #CACACA;        /* darker light band */
  --ph: #BDBDBD;          /* image placeholder */
  --ink: #141414;         /* black */
  --dg: #2E2E2E;          /* dark grey */
  --dg2: #3A3A3A;         /* dark grey, raised */
  --y: #F5C929;           /* brand yellow (from logo) */
  --t1: #3F3F3F;          /* body text on light */
  --t2: #585858;          /* muted text on light */
  --l1: #D9D9D9;          /* text on dark */
  --l2: #C4C4C4;          /* body text on dark */
  --l3: #A3A3A3;          /* muted text on dark */
  --l4: #8A8A8A;

  --f-display: 'Archivo', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --f-mark: 'Outfit', system-ui, sans-serif;

  --wrap: 1280px;
  --gut: clamp(20px, 4vw, 56px);
  --sec: clamp(64px, 8vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--y); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--y); color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 16px; }

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec); }
.row { display: flex; flex-wrap: wrap; }
.between { justify-content: space-between; }
.end { align-items: flex-end; }
.center { align-items: center; }
.g12 { gap: 12px; } .g20 { gap: 20px; } .g24 { gap: 24px; } .g32 { gap: 32px; } .g40 { gap: 40px; } .g56 { gap: 56px; }
.mb48 { margin-bottom: 48px !important; } .mb56 { margin-bottom: 56px !important; }
.dark { background: var(--ink); color: var(--l1); }
.dgrey { background: var(--dg); color: var(--l1); }
.band { background: var(--band); }
.yellow { background: var(--y); color: var(--ink); }

/* ---------- type ---------- */
.d {
  font-family: var(--f-display); font-stretch: 78%; font-weight: 800;
  letter-spacing: -0.02em; line-height: .92; margin: 0; text-transform: uppercase;
}
.h-hero { font-size: clamp(64px, 12vw, 184px); }
.h-xl { font-size: clamp(56px, 9vw, 140px); }
.h-l { font-size: clamp(44px, 6vw, 88px); }
.h-m { font-size: clamp(36px, 4vw, 56px); }
.m { font-family: var(--f-mono); font-size: 13px; }
.muted { color: var(--t2); } .body { color: var(--t1); }
.dark .muted, .dgrey .muted { color: var(--l3); }
.dark .body, .dgrey .body { color: var(--l2); }
.lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; max-width: 640px; margin: 0; }
.hl { background: var(--y); color: var(--ink); padding: 0 .08em; display: inline-block; }
.y { color: var(--y); }
p { margin: 0; }
h3 { margin: 0; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 14px 26px;
  border-radius: 2px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--y); }
.btn-y { background: var(--y); color: var(--ink); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-lg { min-height: 58px; padding: 18px 32px; font-size: 18px; }
.ulink { text-decoration: none; font-weight: 600; border-bottom: 2px solid currentColor; padding: 8px 0; }
.ulink.y { color: var(--y); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--l1); border-bottom: 1px solid rgba(217,217,217,.14); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--l1); }
.brand img { width: 44px; height: 36px; }
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; }
.wordmark .w1 { font-family: var(--f-mark); font-weight: 300; font-size: 26px; letter-spacing: .28em; margin-right: -.28em; }
.wordmark .w2 { display: flex; justify-content: space-between; font-family: var(--f-mark); font-weight: 400; font-size: 11px; color: var(--l3); margin-top: 6px; }
.nav { display: flex; gap: 4px; overflow-x: auto; max-width: 100%; font-size: 15px; font-weight: 500; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--l1); text-decoration: none; padding: 12px 14px; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; transition: color .2s ease; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: var(--y); font-weight: 600; }
.site-header .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--l1); font-size: 16px; }
.site-footer .wrap { padding-top: var(--sec); padding-bottom: 40px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: 64px; border-bottom: 1px solid rgba(217,217,217,.16); }
.foot-top img { width: 96px; height: 78px; margin-bottom: 36px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding: 48px 0; }
.foot-grid h2 { font: 400 13px var(--f-mono); color: var(--l3); margin: 0 0 16px; }
.foot-grid a { color: var(--l1); text-decoration: none; display: inline-block; padding: 4px 0; }
.foot-grid a:hover { color: var(--y); }
.foot-grid .stack { display: flex; flex-direction: column; gap: 2px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(217,217,217,.16); font: 12px var(--f-mono); color: var(--l4); }

/* ---------- media ---------- */
.ph { background: var(--ph); border-radius: 2px; display: flex; align-items: flex-end; padding: 20px; color: var(--t1); }
.frame { position: relative; overflow: hidden; border-radius: 2px; background: var(--dg); }
.frame .bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(24px) brightness(.55); transform: scale(1.1); }
.frame .fg { position: relative; height: 100%; width: auto; margin: 0 auto; object-fit: contain; }
.cover { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--y); color: var(--ink); font: 12px var(--f-mono); padding: 6px 10px; }
.r16x7 { aspect-ratio: 16 / 7; } .r16x10 { aspect-ratio: 16 / 10; } .r4x3 { aspect-ratio: 4 / 3; } .r21x9 { aspect-ratio: 21 / 9; } .r4x5 { aspect-ratio: 4 / 5; }
.typo-tile { display: flex; flex-direction: column; justify-content: space-between; padding: 24px; }
.typo-tile .d { font-size: clamp(36px, 4vw, 56px); }

/* reel strip: row of vertical stills */
.strip { display: flex; gap: 6px; height: 100%; }
.strip img { flex: 1 1 0; min-width: 0; height: 100%; object-fit: cover; }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rec { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.rise { animation: rise .8s var(--ease) both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .22s; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.lift { transition: transform .35s ease; } .lift:hover { transform: translateY(-6px); }
.rec { width: 10px; height: 10px; border-radius: 50%; background: var(--y); display: inline-block; animation: rec 1.6s ease-in-out infinite; }

/* ---------- home ---------- */
.hero { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero .kicker { margin-bottom: 28px; }
.hero .tagline { font-family: var(--f-display); font-stretch: 78%; font-weight: 800; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 14px; }
.word { transition: opacity .3s ease; }
.reel { position: relative; height: clamp(320px, 38vw, 500px); border-radius: 2px; overflow: hidden; background: var(--dg); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,20,20,.55), rgba(20,20,20,0) 45%); pointer-events: none; }
.reel .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: 96px; height: 96px; border-radius: 50%; background: var(--y); display: flex; align-items: center; justify-content: center; transition: transform .25s ease; }
.reel .play:hover { transform: translate(-50%, -50%) scale(1.06); }
.reel .cap { position: absolute; bottom: 20px; z-index: 2; color: var(--l1); }

.split { display: flex; flex-wrap: wrap; gap: 20px; }
.disc { flex: 1 1 320px; min-height: 460px; border-radius: 2px; padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; text-decoration: none; transition: flex-grow .5s var(--ease); }
.disc.on { flex-grow: 1.6; }
.disc .d { font-size: clamp(44px, 5vw, 76px); margin-bottom: 20px; }
.disc-b { background: var(--card); color: var(--ink); }
.disc-b .body { color: var(--t1); } .disc-b .muted { color: var(--t2); }
.disc-p { background: var(--ink); color: var(--l1); }

.marquee { padding: 36px 0; overflow: hidden; }
.marquee .track { display: flex; width: max-content; gap: 48px; padding-right: 48px; animation: marquee 45s linear infinite; font-family: var(--f-display); font-stretch: 78%; font-weight: 800; font-size: clamp(30px, 3.4vw, 48px); text-transform: uppercase; white-space: nowrap; }
.marquee span { display: inline-flex; align-items: center; gap: 48px; }
.marquee i { width: 14px; height: 14px; background: var(--y); display: inline-block; }

.pk-banner { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 6px; }
.pk-banner img { width: 100%; height: 100%; object-fit: cover; }
.pk-banner .panel { background: var(--ink); color: var(--l1); padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.pk-banner .panel .d { font-size: clamp(32px, 3.6vw, 52px); }
.card-title { font-size: 36px; margin-top: 20px; }

.tabs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.tab { cursor: pointer; border-radius: 2px; min-height: 56px; padding: 10px 20px; display: inline-flex; align-items: center; gap: 12px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-weight: 600; font-size: 17px; transition: background .2s ease, color .2s ease; }
.tab .n { font-family: var(--f-display); font-stretch: 78%; font-weight: 800; font-size: 28px; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--y); }
.pill { border-radius: 999px; min-height: 46px; padding: 10px 20px; font-size: 15px; }
.step-panel { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; background: var(--card); padding: clamp(28px, 4vw, 56px); border-radius: 2px; }
.step-panel .big { font-size: clamp(96px, 12vw, 180px); }

/* ---------- inner pages ---------- */
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.moment { background: var(--dg2); padding: 32px; border-radius: 2px; }
.moment .bar { display: inline-block; width: 40px; height: 6px; background: var(--y); margin-bottom: 24px; }
.moment h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }

.acc { border-top: 2px solid var(--ink); }
.acc-item { border-bottom: 1px solid rgba(20,20,20,.2); }
.acc-btn { width: 100%; background: transparent; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; text-align: left; color: var(--ink); min-height: 56px; }
.acc-btn .t { display: flex; align-items: baseline; gap: 20px; }
.acc-btn .name { font-family: var(--f-display); font-stretch: 78%; font-weight: 800; font-size: clamp(26px, 2.6vw, 36px); text-transform: uppercase; letter-spacing: -0.01em; }
.acc-btn .ic { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 26px; border-radius: 50%; background: var(--ink); color: var(--l1); transition: transform .3s ease, background .3s ease, color .3s ease; }
.acc-btn[aria-expanded="true"] .ic { background: var(--y); color: var(--ink); transform: rotate(45deg); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc-body > div { overflow: hidden; }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-inner { display: flex; flex-wrap: wrap; gap: 32px; padding: 0 0 28px 48px; }
.acc-inner .get { flex: 1 1 200px; background: var(--card); padding: 16px; border-left: 4px solid var(--y); font: 13px var(--f-mono); }
.acc-inner p:first-child { flex: 1 1 300px; color: var(--t1); }

.faq { display: flex; flex-direction: column; gap: 28px; }
.faq h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }

.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2px; }
.stages > div { background: var(--dg2); padding: 28px; }
.stages .m { color: var(--y); margin-bottom: 40px; display: block; }
.stages h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.stages .last { background: var(--y); color: var(--ink); }
.stages .last .m { color: var(--ink); }

.fmt-wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.fmt-media { flex: 1.3 1 460px; }
.fmt-text { flex: 1 1 360px; background: var(--card); border-radius: 2px; padding: clamp(28px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 24px; }
.fmt-pane[hidden] { display: none; }

/* work page */
.case-open { display: flex; flex-wrap: wrap; background: var(--ink); color: var(--l1); border-radius: 2px; overflow: hidden; }
.case-open .media { flex: 1.2 1 460px; min-height: 440px; position: relative; }
.case-open .media .frame { position: absolute; inset: 0; border-radius: 0; }
.case-open .info { flex: 1 1 400px; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 24px; }
.case-open .info .d { font-size: clamp(48px, 5.5vw, 80px); }
.case-open .body { color: var(--l2); } .case-open .muted { color: var(--l3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { border: 1px solid rgba(217,217,217,.3); padding: 6px 12px; border-radius: 999px; font-size: 14px; }
.case[hidden] { display: none; }
.wgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.wcard { background: transparent; border: 0; padding: 0; cursor: pointer; text-align: left; color: var(--ink); display: flex; flex-direction: column; justify-content: flex-start; }
.wcard .frame { aspect-ratio: 4 / 3; transition: outline-color .2s ease; outline: 4px solid transparent; outline-offset: 4px; }
.wcard[aria-pressed="true"] .frame { outline-color: var(--y); }
.wcard .meta .m { white-space: nowrap; }
.wcard .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; }
.wcard .nm { font-family: var(--f-display); font-stretch: 78%; font-weight: 800; font-size: 30px; text-transform: uppercase; letter-spacing: -0.01em; }
.wcard[hidden] { display: none; }

/* studio */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.portrait { aspect-ratio: 4 / 5; background: var(--dg2); border-radius: 2px; position: relative; display: flex; align-items: center; justify-content: center; }
.portrait .ini { font-family: var(--f-display); font-stretch: 78%; font-weight: 800; font-size: 96px; color: var(--dg); -webkit-text-stroke: 1px var(--l4); }
.portrait .flag { position: absolute; top: 0; left: 0; width: 56px; height: 8px; background: var(--y); }
.belief { display: flex; flex-wrap: wrap; gap: 24px; padding: 32px 0; border-bottom: 1px solid rgba(20,20,20,.2); align-items: baseline; }
.belief .num { font-size: 44px; flex: 0 0 80px; background: var(--y); text-align: center; padding: 4px 0; }
.belief h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }

/* contact */
.brief { flex: 1.4 1 520px; background: var(--dg); border-radius: 2px; padding: clamp(24px, 4vw, 48px); min-height: 560px; }
.progress { height: 6px; background: var(--dg2); margin: 12px 0 40px; border-radius: 3px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 33%; background: var(--y); transition: width .5s var(--ease); }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.choice { text-align: left; cursor: pointer; border-radius: 2px; padding: 22px; min-height: 96px; background: transparent; color: var(--l1); border: 1.5px solid rgba(217,217,217,.3); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.choice b { display: block; font-size: 19px; margin-bottom: 6px; }
.choice span { font-size: 14px; opacity: .75; }
.choice[aria-pressed="true"] { background: var(--y); color: var(--ink); border-color: var(--y); }
.step[hidden] { display: none; }
.fields { display: flex; flex-wrap: wrap; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; flex: 1 1 240px; }
.field.full { flex-basis: 100%; }
.field input, .field textarea, .field select { font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid rgba(217,217,217,.3); background: var(--dg2); color: var(--l1); border-radius: 2px; min-height: 50px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--y); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; }
.btn[disabled] { background: var(--dg2); color: var(--l4); cursor: not-allowed; transform: none; }
.form-msg { margin-top: 16px; font-size: 15px; color: var(--y); min-height: 1.5em; }
.done-ic { width: 88px; height: 88px; background: var(--y); border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* 404 */
.nf { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 28px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .pk-banner { grid-template-columns: 1fr 1fr; }
  .pk-banner .panel { grid-column: 1 / -1; }
  .r16x7 { aspect-ratio: auto; }
  .disc { min-height: 340px; }
  .acc-inner { padding-left: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .site-header .btn { display: none; }
  .reel .play { width: 72px; height: 72px; }
  .reel .cap[style*="right"] { display: none; }
  .reel .cap { right: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- home: moving work wall ---------- */
@keyframes drift { from { transform: scale(1.04) translateY(0); } to { transform: scale(1.14) translateY(-3%); } }
.wall { display: flex; gap: 6px; height: clamp(360px, 38vw, 500px); }
.wall-item { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 2px; background: var(--dg); color: var(--l1); text-decoration: none; transition: flex-grow .6s var(--ease); }
.wall-item img, .wall-item video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wall-item img { animation: drift 9s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -1.3s); }
.wall-item video { opacity: 0; transition: opacity .4s ease; }
.wall-item video.ready { opacity: 1; }
.wall-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,20,20,.75), rgba(20,20,20,0) 50%); opacity: .5; transition: opacity .4s ease; }
.wall-cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; }
.wall-cap .d { font-size: clamp(24px, 2.4vw, 36px); }
.wall-cap .m { color: var(--y); }
.wall-item.on { flex-grow: 3.2; }
.wall-item.on::after { opacity: 1; }
.wall-item.on .wall-cap { opacity: 1; transform: none; }
.wall-item:focus-visible { outline-offset: -3px; }
@media (max-width: 860px) {
  .wall { overflow-x: auto; scroll-snap-type: x mandatory; height: 460px; scrollbar-width: none; }
  .wall::-webkit-scrollbar { display: none; }
  .wall-item, .wall-item.on { flex: 0 0 72%; scroll-snap-align: start; }
  .wall-item::after { opacity: 1; }
  .wall-cap { opacity: 1; transform: none; }
}
