/* AlphaCore.Art — set studio pages. No canvas, no marquee, no boot veil. */
:root {
  --bg: #07080b;
  --bg-2: #0c0e13;
  --ink: #f3efe6;
  --muted: #a39e93;
  --faint: #6f6b63;
  --line: rgba(243, 239, 230, 0.1);
  --line-strong: rgba(243, 239, 230, 0.22);
  --ice: #8eecff;
  --gold: #d4b07a;
  --card: #10131a;
  --danger: #f07167;
  --ok: #7dcea0;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Outfit", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--ink); scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse 70% 40% at 0% -10%, rgba(142, 236, 255, 0.06), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  z-index: 1;
}
.ac-frame, main, .site-footer { position: relative; z-index: 2; }
img { max-width: 100%; display: block; }
a { color: var(--ice); text-decoration: none; }
button, input, textarea, select { font-family: inherit; color: inherit; }
::selection { background: rgba(142, 236, 255, 0.28); color: #fff; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  background: var(--ice);
  color: #071016;
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus { top: 58px; }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.kicker {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 560; letter-spacing: -0.035em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(3.1rem, 6.6vw, 6.15rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.03em; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 42rem; }
.sub { color: var(--muted); max-width: 38rem; margin: 14px 0 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  min-height: calc(100dvh - 48px);
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
  padding: 7vh 6vw 6vh;
  max-width: 760px;
  margin-left: auto;
  width: 100%;
}
.hero-copy h1 {
  max-width: min(14em, 100%);
  font-size: clamp(2.35rem, 4.7vw, 4.35rem);
  line-height: 0.98;
  text-wrap: balance;
}
.hero-copy .lead { margin: 22px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-media { position: relative; min-height: 420px; background: #0c0e13; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 8, 11, 0.55), transparent 28%),
    linear-gradient(180deg, transparent 60%, rgba(7, 8, 11, 0.35));
  pointer-events: none;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.stats strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}
.stats span { color: var(--faint); font-size: 0.86rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn-ice { background: var(--ice); color: #071016; }
.btn-ice:hover { background: #c9f6ff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wide { width: 100%; }

.section { padding: 92px 0; }
.section-head { margin-bottom: 36px; max-width: 40rem; }

.work-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}
.work-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  color: inherit;
  overflow: hidden;
}
a.work-card:hover { border-color: rgba(142, 236, 255, 0.45); color: inherit; }
.work-card.is-lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
}
.work-media { position: relative; aspect-ratio: 16 / 10; background: #12151c; overflow: hidden; }
.work-card.is-lead .work-media { aspect-ratio: 16 / 10; min-height: 280px; }
@media (min-width: 981px) {
  .work-card.is-lead .work-media { aspect-ratio: auto; min-height: 440px; height: 100%; }
}
.work-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.6s var(--ease);
}
a.work-card:hover .work-media img { transform: scale(1.045); }
.work-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.work-card.is-lead .work-body { padding: 32px 28px; }
.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.pill {
  border: 1px solid rgba(212, 176, 122, 0.45);
  padding: 3px 7px;
  color: var(--gold);
}
.work-body h3 { font-size: 1.55rem; }
.work-card.is-lead h3 { font-size: clamp(2rem, 3vw, 2.7rem); }
.work-body p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.work-go { margin-top: 8px; color: var(--ice); font-size: 0.9rem; }
.archive-block { margin-top: 42px; }
.archive-block h2 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 14px;
}
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.more-link { display: inline-flex; margin-top: 22px; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; }

.bento { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; }
.svc {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--card);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}
.svc:first-child { grid-row: span 2; min-height: 460px; }
.svc-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}
.svc::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 11, 0.15), rgba(7, 8, 11, 0.88));
}
.svc > * { position: relative; z-index: 1; }
.svc p, .svc ul { margin: 0; color: var(--muted); }
.svc ul { padding-left: 1.1rem; }
.svc li + li { margin-top: 4px; }
.idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ice);
}

.split { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 48px; align-items: start; }
.why-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.why-list li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.why-list strong { display: block; font-weight: 560; letter-spacing: -0.02em; }
.why-list p { margin: 4px 0 0; color: var(--muted); }
.why-n { font-family: var(--mono); color: var(--faint); font-size: 12px; padding-top: 4px; }

.process { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.step { border-top: 1px solid var(--line-strong); padding-top: 12px; }
.step b { display: block; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.14em; color: var(--ice); margin-bottom: 10px; }
.step h3 { font-size: 1rem; letter-spacing: -0.03em; line-height: 1.2; }
.step p { margin: 8px 0 0; color: var(--muted); font-size: 0.88rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 7px 10px;
  border-radius: 999px;
}

.values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin-top: 28px; }
.values h3 { font-size: 1.05rem; }
.values p { margin: 6px 0 0; color: var(--muted); }

.cta {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: grid;
  align-items: end;
  border: 1px solid var(--line);
}
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,8,11,.2), rgba(7,8,11,.82)); }
.cta-inner { position: relative; z-index: 1; padding: 36px; max-width: 38rem; }
.cta-inner p { color: #e7e1d6; }

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; }
.address { color: var(--muted); font-style: normal; line-height: 1.7; }
.address strong { color: var(--ink); font-weight: 560; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.field input, .field textarea, .field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 12px 0;
  font-size: 1rem;
  outline: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--ice); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-note { min-height: 1.4em; margin: 0; color: var(--muted); font-size: 0.92rem; }
.form-note.is-ok { color: var(--ok); }
.form-note.is-bad { color: var(--danger); }
.captcha { display: flex; align-items: center; gap: 12px; }
.captcha input { max-width: 120px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--faint);
  font-size: 0.9rem;
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 980px) {
  .hero, .work-card.is-lead, .bento, .split, .contact-grid, .archive-grid { grid-template-columns: 1fr; }
  .svc:first-child { grid-row: auto; min-height: 280px; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-media { min-height: 46vh; order: -1; }
  .hero-copy { padding: 32px 22px 40px; }
  .wrap { width: min(var(--wrap), calc(100% - 36px)); }
}
@media (max-width: 640px) {
  .stats, .values, .process { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .work-media img, .btn { transition: none; }
  a.work-card:hover .work-media img { transform: none; }
}

/* First visit: the consent card is fixed on the fold. Keep the offer above it.
   These rules live only on the studio pages. Other sites keep their own banner. */
body.ac-cookie-open {
  scroll-padding-bottom: 240px;
  padding-bottom: 220px;
}
@media (min-width: 981px) {
  body.ac-cookie-open .hero {
    height: calc(100dvh - 48px);
    overflow: hidden;
  }
  body.ac-cookie-open .hero-media { min-height: 0; }
  body.ac-cookie-open .hero-copy {
    min-height: 0;
    overflow: hidden;
    justify-content: flex-end;
    padding-bottom: 216px;
  }
  body.ac-cookie-open .hero-copy h1 {
    font-size: clamp(2.15rem, 3.5vw, 3.45rem);
  }
}
@media (max-width: 980px) {
  body { overflow-x: clip; }
  .hero { grid-template-columns: minmax(0, 1fr); width: 100%; }
  .hero-media {
    min-height: 0;
    height: 34vh;
    width: 100%;
    overflow: hidden;
  }
  .hero-media img { object-position: center 62%; }
  .hero-copy, .hero-copy h1, .hero-copy .lead, .section-head, .section-head h2, .wrap {
    min-width: 0;
    max-width: calc(100vw - 44px);
  }
  .hero-copy { max-width: 100%; }
  .hero-copy h1, .hero-copy .lead {
    white-space: normal;
    text-wrap: wrap;
    overflow-wrap: break-word;
  }
  body.ac-cookie-open { padding-bottom: 280px; }
  body.ac-cookie-open .hero-media { height: 96px; }
  body.ac-cookie-open .hero-copy { padding: 14px 22px 0; }
  body.ac-cookie-open .hero-copy h1 {
    font-size: clamp(1.55rem, 5.6vw, 1.9rem);
    text-wrap: wrap;
  }
  body.ac-cookie-open .hero-copy .lead {
    margin-top: 8px;
    font-size: 0.95rem;
  }
  body.ac-cookie-open .hero-actions { margin-top: 12px; }
  body.ac-cookie-open .stats { display: none; }
}
@media (max-width: 980px) and (max-height: 740px) {
  body.ac-cookie-open .hero-media { height: 72px; }
  body.ac-cookie-open .hero-copy { padding-top: 8px; }
  body.ac-cookie-open .kicker { margin-bottom: 6px; }
  body.ac-cookie-open .hero-copy .lead {
    font-size: 0.9rem;
    line-height: 1.35;
    margin-top: 6px;
  }
  body.ac-cookie-open .hero-actions { margin-top: 8px; }
}
