/* SueLoKustomz
   Layout concept: letterboxed hero frame under a skewed condensed headline, a services list beside the shop's own artwork,
   an asymmetrical photo-led builds grid, and a solid-purple closing section holding the quote form.
   Single dark look by design: the brand lives on black. */

:root {
  --ink-0: #050407;      /* page */
  --ink-1: #0d0b12;      /* section tint, form surface */
  --ink-2: #17141f;      /* raised surface */
  --line: #2a2535;       /* hairlines */
  --text: #f3f1f7;
  --muted: #a8a3b8;
  --silver: #cfcfd8;     /* chrome lettering from the flyer */
  --accent: #6d3fd0;     /* brand purple */
  --accent-deep: #5a2fb8;
  --accent-hi: #9a74f2;  /* purple for text on dark */
  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--ink-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(100%, 1280px); margin-inline: auto; padding-inline: var(--gutter); }

/* Type */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .005em;
  text-wrap: balance;
  transform: skewX(-8deg);
  transform-origin: 50% 50%;
}
h2.display { font-size: clamp(2.4rem, 6vw, 4.5rem); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); }
.btn--ghost { border-color: var(--silver); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--accent-hi); color: var(--accent-hi); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--ink-0);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  width: min(100%, 1280px); margin-inline: auto; padding-inline: var(--gutter);
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: block; line-height: 0; }
.brand img { height: 48px; width: auto; mix-blend-mode: screen; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px;
  background: none; border: 0; color: var(--text); cursor: pointer;
  font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; letter-spacing: .08em; text-transform: uppercase;
}
.nav-toggle__bars, .nav-toggle__bars::before { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
.nav-toggle__bars { position: relative; transform: translateY(-4px); }
.nav-toggle__bars::before { content: ""; position: absolute; top: 8px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(-90deg); }

.site-nav {
  position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0;
  background: #0d0b12;
  border-top: 3px solid var(--accent);
  z-index: 60; overflow-y: auto;
  padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 32px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.site-nav__list { display: flex; flex-direction: column; }
.site-nav__list a {
  display: block; padding: 16px 0; border-bottom: 1px solid #3a3350;
  font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; color: #fff;
}
.site-nav__list a[aria-current="true"] { color: var(--accent-hi); }
.site-nav .btn { min-height: 56px; font-size: 1.25rem; }

@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; inset: auto; background: none; border: 0; z-index: auto; overflow: visible; padding: 0; flex-direction: row; align-items: center; gap: 32px;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .site-nav__list { flex-direction: row; gap: 28px; }
  .site-nav .btn { min-height: 44px; font-size: 1rem; }
  .site-nav__list a {
    padding: 8px 0; border: 0; font-family: var(--font-body); font-weight: 500; font-size: .9375rem; letter-spacing: .02em; text-transform: none; color: var(--silver);
    position: relative;
  }
  .site-nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
    transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .site-nav__list a:hover, .site-nav__list a[aria-current="true"] { color: #fff; }
  .site-nav__list a:hover::after, .site-nav__list a[aria-current="true"]::after { transform: scaleX(1); }
  .site-nav__cta { min-height: 44px; padding: 0 22px; font-size: 1rem; }
}

/* Hero */
.hero { padding-top: clamp(40px, 7vw, 88px); }
.hero__copy { display: grid; gap: 28px; align-items: end; }
.hero__title { font-size: clamp(3.6rem, 15vw, 10rem); line-height: .86; padding-right: .1em; }
.hero__lede { font-size: 1.0625rem; color: var(--silver); max-width: 46ch; margin-bottom: 24px; }
@media (min-width: 880px) {
  .hero__copy { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
  .hero__side { padding-bottom: .6rem; }
}
.hero__frame {
  position: relative; margin-top: clamp(32px, 5vw, 64px);
  aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-1);
}
@media (min-width: 640px) { .hero__frame { aspect-ratio: 2.35 / 1; } }
.hero__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; filter: saturate(.9) contrast(1.06) brightness(.94); }
.hero__frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, var(--ink-0) 0%, rgba(5,4,7,0) 28%),
    linear-gradient(0deg, rgba(5,4,7,.7) 0%, rgba(5,4,7,0) 35%);
}
.hero__frame::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--accent); mix-blend-mode: soft-light; opacity: .3; }
.hero__caption {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 14px;
  font-size: .8125rem; color: var(--silver); letter-spacing: .04em;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__title { animation: rise .8s var(--ease) both; }
  .hero__side { animation: rise .8s .12s var(--ease) both; }
  .hero__frame img { animation: settle 1.6s var(--ease) both; }
  @keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
  @keyframes settle { from { scale: 1.06; opacity: .4; } to { scale: 1; opacity: 1; } }
}

/* Sections */
.section { padding-block: clamp(64px, 10vw, 128px); }
.section--tint { background: var(--ink-1); border-block: 1px solid var(--line); }
.section__head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--row { grid-template-columns: 1fr; align-items: end; }
.section__intro { color: var(--muted); max-width: 52ch; }
@media (min-width: 760px) { .section__head--row { grid-template-columns: minmax(0, 1fr) auto; } }

/* Services */
.services { display: grid; gap: 36px; }
@media (min-width: 900px) {
  .services { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
  .services__art { position: sticky; top: calc(var(--header-h) + 32px); }
}
.services__art img { width: 100%; max-width: 480px; border: 1px solid var(--line); }
.services__art figcaption { margin-top: 10px; font-size: .875rem; color: var(--muted); }
.services__list { border-top: 1px solid var(--line); }
.service {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 16px 22px 20px; border-bottom: 1px solid var(--line);
  box-shadow: inset 0 0 0 0 var(--accent);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.service:hover, .service:focus-within { box-shadow: inset 4px 0 0 0 var(--accent); background: var(--ink-1); }
.service__text { min-width: 0; display: grid; gap: 4px; }
.service h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.1rem); text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; transition: color .2s var(--ease); }
.service:hover h3, .service:focus-within h3 { color: var(--accent-hi); }
.service p { color: var(--muted); max-width: 46ch; }
.service__ask {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line); color: var(--silver); text-decoration: none; font-size: .9375rem; font-weight: 500;
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}
.service__ask:hover { border-color: var(--accent-hi); color: #fff; background: var(--accent); }

.placeholder-note, .is-placeholder {
  color: var(--muted); font-size: .875rem; font-style: italic;
}
.is-placeholder { text-decoration-style: dashed; }

/* Builds */
.link-more {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--silver); font-weight: 500;
  border-bottom: 2px solid var(--accent); text-decoration: none; padding-bottom: 2px; justify-self: start;
  transition: color .2s var(--ease);
}
.link-more:hover { color: #fff; }
.link-more.is-placeholder { border-bottom-style: dashed; font-style: normal; font-size: 1rem; }

.gallery { display: grid; gap: 10px; grid-template-columns: 1fr; }
.gallery__item { min-width: 0; }
.t-a { aspect-ratio: 4 / 5; } .t-b { aspect-ratio: 16 / 9; } .t-c { aspect-ratio: 16 / 10; }
.t-d { aspect-ratio: 4 / 5; } .t-e { aspect-ratio: 16 / 10; }
.tile {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden;
  background: var(--ink-2); cursor: zoom-in; text-align: left; color: inherit; font: inherit;
}
.tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88) contrast(1.06) brightness(.92); transition: transform .9s var(--ease); }
.t-a img { object-position: 50% 60%; }
.t-b img { object-position: 60% 50%; }
.t-c img { object-position: 50% 82%; }
.t-e img { object-position: 50% 92%; }
.t-d img { object-position: 50% 50%; }
.tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--accent); mix-blend-mode: soft-light; opacity: .3; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.035); }
.tile__cap {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; padding: 56px 18px 16px;
  background: linear-gradient(0deg, rgba(5,4,7,.88), rgba(5,4,7,0));
  font-size: .875rem; color: var(--silver);
}
.tile__cap strong { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; letter-spacing: .02em; text-transform: uppercase; color: #fff; line-height: 1.1; }

@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(60px, 7.8vw, 100px); gap: 12px; }
  .gallery__item { aspect-ratio: auto; }
  .t-a { grid-column: 1 / 6; grid-row: 1 / 8; }
  .t-b { grid-column: 6 / 13; grid-row: 1 / 5; }
  .t-c { grid-column: 6 / 13; grid-row: 5 / 8; }
  .t-e { grid-column: 1 / 9; grid-row: 8 / 13; }
  .t-d { grid-column: 9 / 13; grid-row: 8 / 13; }
  .tile__cap { opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
}

/* About */
.about { display: grid; gap: 40px; align-items: center; }
.about__text { display: grid; gap: 20px; align-content: start; }
.about__text p { color: var(--silver); max-width: 52ch; }
.about__photo { max-width: 520px; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.88) contrast(1.06) brightness(.92); border: 1px solid var(--line); }
.about__photo figcaption { margin-top: 10px; font-size: .875rem; color: var(--muted); }
@media (min-width: 900px) {
  .about { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 112px); }
  .about__photo { justify-self: end; width: 100%; }
}

/* Contact / closing CTA */
.contact { background: var(--accent); color: #fff; padding-block: clamp(64px, 10vw, 128px); }
.contact__grid { display: grid; gap: 40px; align-items: start; }
.contact__lede { margin-top: 20px; font-size: 1.125rem; max-width: 40ch; color: #fff; }
.contact__intro { display: grid; align-content: start; }
.contact h2.display { font-size: clamp(2.8rem, 8vw, 6rem); }
.contact__details { display: grid; gap: 16px; margin-top: 36px; }
.contact__details dt { font-size: .875rem; color: rgba(255, 255, 255, .85); }
.contact__details dd { font-size: 1.125rem; font-weight: 500; overflow-wrap: anywhere; }
.contact__details a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.contact .is-placeholder { color: rgba(255, 255, 255, .85); font-style: italic; font-size: 1rem; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 96px); } }

.form { background: var(--ink-0); color: var(--text); padding: clamp(20px, 4vw, 36px); display: grid; gap: 18px; border: 1px solid rgba(255,255,255,.12); }
.form__title { font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; text-transform: uppercase; letter-spacing: .03em; }
.field { display: grid; gap: 6px; }
.field label { font-size: .9375rem; font-weight: 500; color: var(--silver); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--ink-1); border: 1px solid var(--line); border-radius: 0;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #3d3650; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 1px; border-color: var(--accent-hi); }
.field [aria-invalid="true"] { border-color: #ff8a8a; }
.field__error { color: #ff9b9b; font-size: .875rem; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { padding: 12px 14px; font-size: .9375rem; border-left: 3px solid #ff8a8a; background: var(--ink-1); color: var(--text); }
.form__status.is-ok { border-left-color: #7be0a4; }

/* Footer */
.site-footer { background: var(--ink-0); border-top: 1px solid var(--line); padding-top: clamp(48px, 7vw, 80px); }
.site-footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.site-footer__brand { grid-column: 1 / -1; display: grid; gap: 14px; align-content: start; }
.site-footer__brand img { width: 200px; mix-blend-mode: screen; }
.site-footer__brand p { color: var(--muted); max-width: 30ch; }
.footer-h { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--silver); margin-bottom: 12px; }
.footer-list { display: grid; gap: 4px; }
.footer-list a, .footer-list span { display: inline-block; padding-block: 4px; color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.footer-list a:hover { color: #fff; }
.footer-list .is-placeholder { font-size: .9375rem; }
.site-footer__legal { margin-top: 48px; padding-block: 22px calc(22px + 88px); border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
@media (min-width: 880px) {
  .site-footer__grid { grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; }
  .site-footer__brand { grid-column: auto; }
  .site-footer__legal { padding-bottom: 22px; }
}

/* Mobile quote bar */
.quote-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(5, 4, 7, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transition: transform .3s var(--ease);
}
.quote-bar.is-hidden { transform: translateY(110%); }
@media (min-width: 880px) { .quote-bar { display: none; } }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; color: var(--text); width: 100%; max-width: none; height: 100%; max-height: none; }
.lightbox::backdrop { background: rgba(5, 4, 7, .94); }
.lightbox__inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 16px 24px; }
.lightbox__figure { display: grid; gap: 12px; justify-items: center; max-width: 100%; max-height: 100%; min-height: 0; }
.lightbox__figure img { max-width: 100%; max-height: calc(100dvh - 190px); width: auto; height: auto; object-fit: contain; }
.lightbox__cap { display: grid; gap: 2px; text-align: center; color: var(--muted); font-size: .9375rem; }
.lightbox__cap strong { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .03em; color: #fff; }
.lightbox__count { font-size: .8125rem; }
.lightbox__btn {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px;
  background: rgba(23, 20, 31, .9); border: 1px solid var(--line); color: #fff; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.lightbox__btn:hover { background: var(--accent); border-color: var(--accent); }
.lightbox__close { top: 8px; right: 8px; }
.lightbox__prev { left: 8px; bottom: 8px; }
.lightbox__next { right: 8px; bottom: 8px; }
@media (min-width: 760px) {
  .lightbox__prev, .lightbox__next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox__prev { left: 20px; } .lightbox__next { right: 20px; }
  .lightbox__close { top: 20px; right: 20px; }
}

/* Gentle reveal: never fully hidden, so the page reads at rest */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: .4; translate: 0 16px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
  .js .reveal.is-in { opacity: 1; translate: 0 0; }
}

/* ===== Interaction animation ===== */
@media (prefers-reduced-motion: no-preference) {

  /* Buttons: skew lift, light sweep, press squash */
  .btn, .service__ask, .nav-toggle { position: relative; overflow: hidden; }
  .btn {
    transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease),
                transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .25s var(--ease);
  }
  .btn:hover { transform: translateY(-3px) skewX(-6deg); }
  .btn--primary:hover { box-shadow: 0 10px 28px -8px rgba(154, 116, 242, .65); }
  .btn:active { transform: translateY(1px) scale(.95) skewX(-6deg); transition-duration: .08s; box-shadow: none; }
  .btn::before {
    content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 50%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
    transform: skewX(-20deg);
  }
  .btn:hover::before { left: 130%; transition: left .65s var(--ease); }

  /* Click ripple, injected by anim.js */
  .ripple {
    position: absolute; z-index: 3; border-radius: 50%; pointer-events: none;
    background: rgba(255, 255, 255, .38); transform: scale(0);
    animation: ripple .7s var(--ease) forwards;
  }
  .btn--ghost .ripple, .service__ask .ripple { background: rgba(154, 116, 242, .5); }
  @keyframes ripple { to { transform: scale(1); opacity: 0; } }

  /* Hero button draws the eye twice after load */
  .hero .btn--primary { animation: ring 1.6s 2.4s 2 var(--ease); }
  @keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(154, 116, 242, .7); } 100% { box-shadow: 0 0 0 22px rgba(154, 116, 242, 0); } }

  /* Header */
  .brand img { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
  .brand:hover img { transform: skewX(-8deg) scale(1.06); }
  .brand:active img { transform: scale(.94); }
  .nav-toggle { transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
  .nav-toggle:active { transform: scale(.9); }
  .scroll-progress {
    position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent-hi);
    transform: scaleX(0); transform-origin: left; pointer-events: none;
  }

  /* Mobile menu: links slide in one after another */
  @media (max-width: 879px) {
    .site-nav__list li, .site-nav .btn {
      opacity: 0; transform: translateX(-28px);
      transition: opacity .35s var(--ease), transform .45s var(--ease), background-color .2s var(--ease), box-shadow .25s var(--ease);
    }
    .site-nav.is-open .site-nav__list li, .site-nav.is-open .btn { opacity: 1; transform: none; }
    .site-nav.is-open li:nth-child(1) { transition-delay: .06s; }
    .site-nav.is-open li:nth-child(2) { transition-delay: .12s; }
    .site-nav.is-open li:nth-child(3) { transition-delay: .18s; }
    .site-nav.is-open li:nth-child(4) { transition-delay: .24s; }
    .site-nav.is-open li:nth-child(5) { transition-delay: .30s; }
    .site-nav.is-open .btn { transition-delay: .38s; }
    .site-nav.is-open .btn:hover, .site-nav.is-open .btn:active { transition-delay: 0s; transition-duration: .25s; }
    .site-nav__list a { transition: color .2s var(--ease), padding-left .25s var(--ease); }
    .site-nav__list a:active { padding-left: 14px; color: var(--accent-hi); }
  }

  /* Section headings: purple bar draws in */
  .js .section__head h2.display::after {
    content: ""; display: block; height: 6px; width: 72px; margin-top: 16px; background: var(--accent);
    transform: scaleX(0); transform-origin: left; transition: transform .8s .15s var(--ease);
  }
  .js .section__head.is-in h2.display::after { transform: scaleX(1); }

  /* Services */
  .service h3 { transition: color .2s var(--ease), transform .35s var(--ease); }
  .service:hover h3, .service:focus-within h3 { transform: translateX(10px); }
  .service__ask { transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease), transform .25s cubic-bezier(.3, 1.6, .5, 1); }
  .service:hover .service__ask { transform: translateX(-4px); }
  .service__ask:active { transform: scale(.9); }

  /* Gallery */
  .tile { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
  .tile:active { transform: scale(.975); }
  .tile.is-pulse::before {
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border: 3px solid var(--accent-hi);
    animation: tilePulse .5s var(--ease) forwards;
  }
  @keyframes tilePulse { from { opacity: 1; inset: 0; } to { opacity: 0; inset: 18px; } }
  .link-more { transition: color .2s var(--ease), padding-right .25s var(--ease), border-color .2s var(--ease); }
  .link-more:hover { padding-right: 10px; border-color: var(--accent-hi); }

  /* Lightbox */
  .lightbox[open] { animation: lbIn .35s var(--ease); }
  .lightbox[open]::backdrop { animation: fadeIn .35s var(--ease); }
  @keyframes lbIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  .lightbox__btn { transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s cubic-bezier(.3, 1.6, .5, 1); }
  .lightbox__btn:hover { transform: scale(1.1); }
  .lightbox__btn:active { transform: scale(.9); }
  @media (min-width: 760px) {
    .lightbox__prev:hover, .lightbox__next:hover { transform: translateY(-50%) scale(1.1); }
    .lightbox__prev:active, .lightbox__next:active { transform: translateY(-50%) scale(.9); }
  }

  /* Form */
  .field label { transition: color .2s var(--ease), transform .25s var(--ease); transform-origin: left; }
  .field:focus-within label { color: var(--accent-hi); transform: translateX(4px); }
  .field input, .field select, .field textarea { transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .25s var(--ease); }
  .field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 0 0 4px rgba(109, 63, 208, .4); background: #1c1828; }
  .field.shake { animation: shake .45s cubic-bezier(.36, .07, .19, .97); }
  @keyframes shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(5px); } 30%, 50%, 70% { transform: translateX(-9px); } 40%, 60% { transform: translateX(9px); } }
  .field__error:not([hidden]), .form__status:not([hidden]) { animation: slideIn .4s var(--ease); }
  @keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .form__status.is-ok { animation: slideIn .4s var(--ease), okFlash 1.2s var(--ease); }
  @keyframes okFlash { 0% { box-shadow: 0 0 0 0 rgba(123, 224, 164, .7); } 100% { box-shadow: 0 0 0 26px rgba(123, 224, 164, 0); } }
  .btn[disabled] {
    background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.14) 0 14px, transparent 14px 28px);
    background-size: 56px 100%; animation: stripes .8s linear infinite;
  }
  @keyframes stripes { to { background-position: 56px 0; } }

  /* Footer */
  .footer-list a { transition: color .2s var(--ease), transform .25s var(--ease); }
  .footer-list a:hover { transform: translateX(6px); }
}

/* ===== 3D wheel stage ===== */
.stage {
  position: relative; overflow: hidden; border-top: 1px solid var(--line);
  padding-block: clamp(64px, 10vw, 128px);
  background: radial-gradient(60% 70% at 72% 50%, rgba(109, 63, 208, .32), transparent 70%), var(--ink-0);
}
.stage__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .stage__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); } }
.stage__text { display: grid; gap: 20px; justify-items: start; }
.stage__text p { color: var(--silver); max-width: 44ch; }
.stage__side { min-width: 0; }
.stage__view { position: relative; width: min(100%, 640px); aspect-ratio: 1 / 1; margin-inline: auto; }
.stage__view::after {
  content: ""; position: absolute; left: 14%; right: 14%; bottom: 7%; height: 9%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(154, 116, 242, .38), transparent);
}
.stage__view canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.stage.is-dragging .stage__view canvas { cursor: grabbing; }
.stage__loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .9375rem; z-index: 0; }
.stage.is-ready .stage__loading { display: none; }
.stage__hint { margin-top: 6px; text-align: center; color: var(--muted); font-size: .875rem; }
.stage.no-webgl .stage__side { display: none; }
.stage.no-webgl .stage__grid { grid-template-columns: 1fr; }

/* ===== Depth: tilt with glare, hero parallax ===== */
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .tilt { transition: transform .5s var(--ease), box-shadow .3s var(--ease); will-change: transform; }
  .js .reveal.tilt { transition: opacity .7s var(--ease), translate .7s var(--ease), transform .5s var(--ease), box-shadow .3s var(--ease); }
  .tilt.is-tilting, .js .reveal.tilt.is-tilting { transition: transform .08s linear, box-shadow .3s var(--ease); }
  .gallery__item.tilt.is-tilting { box-shadow: 0 34px 60px -26px rgba(0, 0, 0, .9), 0 0 0 1px rgba(154, 116, 242, .35); z-index: 2; }
  .glare {
    position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .3s var(--ease);
    background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .26), transparent 55%);
  }
  .tilt.is-tilting > .glare { opacity: 1; }
  .hero__frame.parallax img { transform: translate(var(--px, 0px), var(--py, 0px)) scale(1.07); transition: transform .5s var(--ease); }
}

/* ===== 3D menu ===== */
.menu3d { display: none; }
.nav-toggle__label { display: inline-block; }

/* Desktop: extruded link text and a pressable key for the quote button */
@media (min-width: 880px) and (prefers-reduced-motion: no-preference) {
  .site-nav__list { perspective: 700px; }
  .site-nav__list a { transition: color .2s var(--ease), transform .25s cubic-bezier(.3, 1.6, .5, 1), text-shadow .25s var(--ease); transform-origin: 50% 100%; }
  .site-nav__list a:hover, .site-nav__list a:focus-visible {
    transform: translateY(-3px) rotateX(-14deg);
    text-shadow: 1px 1px 0 #6d3fd0, 2px 2px 0 #6d3fd0, 3px 3px 0 #5a2fb8, 4px 4px 0 #3d1f85, 6px 8px 12px rgba(0, 0, 0, .6);
  }
  .site-nav .btn--primary { box-shadow: 0 4px 0 #3d1f85; }
  .site-nav .btn--primary:hover { box-shadow: 0 7px 0 #3d1f85, 0 16px 26px -8px rgba(154, 116, 242, .6); }
  .site-nav .btn--primary:active { transform: translateY(3px) skewX(-6deg); box-shadow: 0 1px 0 #3d1f85; }
}

@media (prefers-reduced-motion: no-preference) {
  .nav-toggle__label.is-flip { animation: labelFlip .45s var(--ease); }
  @keyframes labelFlip { 0% { transform: rotateX(0); } 50% { transform: rotateX(-90deg); opacity: .2; } 100% { transform: rotateX(0); } }
  .nav-toggle { perspective: 300px; }
}

/* Mobile: links fold down from the header in 3D and follow the finger */
@media (max-width: 879px) and (prefers-reduced-motion: no-preference) {
  .site-nav { perspective: 1000px; perspective-origin: 50% 25%; overflow-x: hidden; }
  .site-nav__list {
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--mx, 0) * 6deg)) rotateX(calc(var(--my, 0) * -6deg));
    transition: transform .25s ease-out;
  }
  .site-nav .site-nav__list li {
    opacity: 1; transform: none; transform-origin: 50% 0; transform-style: preserve-3d;
    transition: transform .3s cubic-bezier(.2, .9, .25, 1.35);
  }
  .site-nav .btn { opacity: 1; transform: none; transition-delay: 0s; }
  .site-nav.is-open .site-nav__list li { transition-delay: 0s; animation: foldIn .75s cubic-bezier(.2, .9, .25, 1.15) backwards; }
  .site-nav.is-open .site-nav__list li:nth-child(1) { animation-delay: .05s; }
  .site-nav.is-open .site-nav__list li:nth-child(2) { animation-delay: .12s; }
  .site-nav.is-open .site-nav__list li:nth-child(3) { animation-delay: .19s; }
  .site-nav.is-open .site-nav__list li:nth-child(4) { animation-delay: .26s; }
  .site-nav.is-open .site-nav__list li:nth-child(5) { animation-delay: .33s; }
  .site-nav.is-open .btn { animation: foldIn .75s .42s cubic-bezier(.2, .9, .25, 1.15) backwards; }
  @keyframes foldIn {
    0% { opacity: 0; transform: rotateX(-92deg) translateZ(-70px); }
    60% { opacity: 1; }
    100% { opacity: 1; transform: none; }
  }
  .site-nav.is-open .site-nav__list li.is-near { transform: translateZ(26px); transition-delay: 0s; }
  .site-nav.is-open .site-nav__list li.is-press { transform: translateZ(8px) scale(.985); }
  .site-nav__list a { transition: color .2s var(--ease), text-shadow .2s var(--ease), transform .2s var(--ease); }
  .site-nav__list li.is-near a {
    color: #fff; transform: translate(-3px, -3px);
    text-shadow: 1px 1px 0 #6d3fd0, 2px 2px 0 #6d3fd0, 3px 3px 0 #5a2fb8, 4px 4px 0 #5a2fb8, 5px 5px 0 #3d1f85, 6px 6px 0 #3d1f85, 10px 14px 18px rgba(0, 0, 0, .65);
  }
  .site-nav__list li.is-press a { transform: translate(-1px, -1px); text-shadow: 1px 1px 0 #5a2fb8, 2px 3px 6px rgba(0, 0, 0, .6); }
  .site-nav__list a:active { padding-left: 0; }

  /* Logo card: tilts with the finger, orbit rings spin around it */
  .menu3d { display: block; margin-top: auto; align-self: center; width: min(280px, 72%); perspective: 800px; }
  .menu3d__float { animation: bob 5s ease-in-out infinite; }
  @keyframes bob { 50% { transform: translateY(-10px); } }
  .menu3d__card {
    position: relative; aspect-ratio: 700 / 401; transform-style: preserve-3d;
    transform: rotateY(calc(var(--mx, 0) * 28deg)) rotateX(calc(var(--my, 0) * -22deg));
    transition: transform .2s ease-out;
  }
  .site-nav.is-open .menu3d__card { animation: cardIn .9s .55s cubic-bezier(.2, .9, .25, 1.2) backwards; }
  @keyframes cardIn { from { opacity: 0; transform: rotateY(-120deg) scale(.6); } }
  .menu3d__logo { position: absolute; inset: 0; width: 100%; height: 100%; transform: translateZ(46px); filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .7)); }
  .menu3d__plate {
    position: absolute; inset: -14% -8%; transform: translateZ(-30px); border-radius: 50%;
    background: radial-gradient(closest-side, rgba(109, 63, 208, .55), rgba(109, 63, 208, 0));
  }
  .menu3d__ring {
    position: absolute; inset: -22% -10%; border-radius: 50%; border: 2px solid rgba(154, 116, 242, .75);
    transform: rotateX(72deg) rotateZ(0deg); animation: orbit 7s linear infinite;
    border-top-color: transparent; border-bottom-color: rgba(154, 116, 242, .2);
  }
  .menu3d__ring--b { inset: -34% -22%; animation-duration: 11s; animation-direction: reverse; border-color: rgba(207, 207, 216, .5); border-left-color: transparent; border-right-color: rgba(207, 207, 216, .12); }
  @keyframes orbit { to { transform: rotateX(72deg) rotateZ(360deg); } }
}

/* Hero headline sized so the longer line fits on phones */
.hero__title { font-size: clamp(3.2rem, 13.5vw, 10rem); }

/* ===== Photo viewer controls: organized bar, keycap buttons with 3D press and tilt ===== */
.lightbox { height: 100dvh; max-height: 100dvh; }
.lightbox .lightbox__inner {
  display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: center; gap: 14px;
  padding: calc(68px + env(safe-area-inset-top, 0px)) 16px 14px;
}
.lightbox .lightbox__figure { min-height: 0; }
.lightbox .lightbox__figure img { max-height: calc(100dvh - 300px); min-height: 160px; }
.lightbox__bar {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 12px 16px; margin-bottom: env(safe-area-inset-bottom, 0px);
  background: #0d0b12; border: 1px solid var(--line); border-top: 3px solid var(--accent);
}
.lightbox__bar .lightbox__count {
  min-width: 76px; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 1.375rem;
  letter-spacing: .08em; text-transform: uppercase; color: #fff; font-variant-numeric: tabular-nums;
}
.lightbox .lightbox__btn {
  position: relative; inset: auto; top: auto; right: auto; bottom: auto; left: auto;
  display: grid; place-items: center; width: 56px; height: 56px; padding: 0; overflow: visible;
  color: #fff; cursor: pointer; border: 1px solid #4a4070; border-radius: 3px;
  background: linear-gradient(180deg, #30284c, #1a1626);
  box-shadow: 0 5px 0 #0b0910, 0 10px 18px -4px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .16);
  transform: perspective(320px) translateY(var(--ty, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform .16s ease-out, box-shadow .16s ease-out, background .2s ease-out, border-color .2s ease-out;
}
.lightbox .lightbox__btn svg { transform: translateZ(14px); pointer-events: none; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .6)); }
.lightbox .lightbox__btn:hover {
  --ty: -3px; border-color: #9a74f2; background: linear-gradient(180deg, #7b4fe3, #5a2fb8);
  box-shadow: 0 8px 0 #0b0910, 0 18px 28px -6px rgba(109, 63, 208, .6), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.lightbox .lightbox__btn:active {
  --ty: 4px; background: linear-gradient(180deg, #5a2fb8, #46239a);
  box-shadow: 0 1px 0 #0b0910, 0 3px 6px rgba(0, 0, 0, .65), inset 0 2px 6px rgba(0, 0, 0, .35);
}
.lightbox .lightbox__btn:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.lightbox .lightbox__close { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; width: 48px; height: 48px; }
.lightbox .lightbox__prev, .lightbox .lightbox__next { transform: perspective(320px) translateY(var(--ty, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
@media (prefers-reduced-motion: reduce) { .lightbox .lightbox__btn { transition: none; } }

.lightbox::backdrop { background: rgba(5, 4, 7, .985); }
