:root {
  --ink: #10141c;
  --ink-soft: #1a202b;
  --paper: #f4f0e8;
  --paper-deep: #e8e1d5;
  --coral: #ff625d;
  --coral-soft: #ffb3a5;
  --cyan: #74e0e7;
  --acid: #dfff6b;
  --line: rgba(16, 20, 28, .15);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.site-header {
  width: min(calc(100% - 64px), var(--max));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 30;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 18px; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 12px; letter-spacing: -.5px; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--coral); transition: right .25s ease; }
.main-nav > a:hover::after { right: 0; }
.nav-cta { padding: 12px 17px; border: 1px solid var(--ink); border-radius: 999px; transition: .2s ease; }
.nav-cta:hover { background: var(--ink); color: white; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }

.hero {
  width: min(calc(100% - 64px), var(--max));
  min-height: calc(100vh - 92px);
  margin: 0 auto;
  padding: 50px 0 110px;
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  align-items: center;
  gap: 5vw;
}
.eyebrow, .kicker { text-transform: uppercase; font-size: 11px; line-height: 1.2; letter-spacing: .2em; font-weight: 700; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.eyebrow span { width: 30px; height: 2px; background: var(--coral); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Space Grotesk", sans-serif; letter-spacing: -.055em; }
h1 { font-size: clamp(58px, 6.3vw, 104px); line-height: .89; margin-bottom: 30px; }
h1 em, h2 em { color: var(--coral); font-style: normal; }
.hero-copy > p { max-width: 540px; color: #565b61; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin: 35px 0 52px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 32px; min-height: 52px; padding: 0 22px; font-weight: 700; font-size: 14px; border: 1px solid transparent; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--coral); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.button-primary:hover { background: var(--cyan); }
.text-link { font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.hero-meta { display: flex; gap: 45px; }
.hero-meta > div { display: flex; flex-direction: column; gap: 3px; }
.hero-meta strong { font-family: "Space Grotesk"; font-size: 14px; }
.hero-meta span { color: #73777b; font-size: 12px; }

.hero-art { min-height: 670px; position: relative; }
.hero-frame { position: absolute; overflow: hidden; background: var(--ink-soft); }
.hero-frame img { height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.hero-frame:hover img { transform: scale(1.035); }
.hero-frame-main { width: 68%; height: 84%; right: 8%; top: 2%; transform: rotate(2.2deg); box-shadow: 15px 15px 0 var(--coral-soft); }
.hero-frame-main img { object-position: center 30%; }
.hero-frame-side { width: 37%; aspect-ratio: 1; left: 1%; bottom: 0; transform: rotate(-4deg); border: 7px solid var(--paper); box-shadow: 8px 8px 0 var(--ink); }
.hero-sticker { position: absolute; width: 128px; height: 128px; right: 0; bottom: 3%; background: var(--acid); border-radius: 50%; display: grid; place-items: center; transform: rotate(8deg); box-shadow: 0 0 0 6px var(--paper); }
.hero-sticker svg { position: absolute; inset: 8px; width: calc(100% - 16px); }
.hero-sticker text { font: 700 9px "Space Grotesk"; letter-spacing: 1.6px; }
.hero-sticker span { font-size: 32px; }
.spark { position: absolute; color: var(--coral); font-size: 32px; }
.spark-one { top: 8%; left: 2%; }
.spark-two { top: 28%; right: -2%; font-size: 20px; color: var(--cyan); }

.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 18px 0; transform: rotate(-1deg) scale(1.02); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 35px; animation: marquee 25s linear infinite; }
.marquee span { font: 700 15px "Space Grotesk"; letter-spacing: .14em; }
.marquee i { color: var(--coral); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section, .gallery-section, .faq-section { padding: 145px max(32px, calc((100vw - var(--max))/2)); }
.section-heading { display: grid; grid-template-columns: 80px 1fr minmax(250px, 410px); align-items: end; gap: 22px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.section-number { font: 700 12px "Space Grotesk"; color: var(--coral); align-self: start; padding-top: 12px; }
.section-heading .kicker { margin-bottom: 10px; color: #6e7378; }
.section-heading h2 { margin: 0; font-size: clamp(48px, 6vw, 86px); line-height: .85; }
.status-pill { justify-self: end; align-self: center; font-size: 12px; font-weight: 700; padding: 10px 14px; border: 1px solid var(--line); border-radius: 99px; display: flex; align-items: center; gap: 9px; }
.status-pill span { width: 8px; height: 8px; background: #45be76; border-radius: 50%; box-shadow: 0 0 0 4px rgba(69,190,118,.15); }
.commission-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9vw; padding-top: 75px; }
.commission-intro .lead { font: 500 clamp(24px, 2.4vw, 36px)/1.35 "Space Grotesk"; max-width: 520px; letter-spacing: -.03em; }
.button-dark { margin-top: 25px; background: var(--ink); color: white; }
.button-dark:hover { background: var(--coral); color: var(--ink); }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 50px 1fr 50px; gap: 22px; padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.process-number { font: 700 11px "Space Grotesk"; color: var(--coral); padding-top: 6px; }
.process-list h3 { font: 600 23px "Space Grotesk"; letter-spacing: -.03em; margin-bottom: 9px; }
.process-list p { color: #656a70; line-height: 1.6; margin-bottom: 0; max-width: 530px; }
.process-icon { justify-self: end; width: 42px; height: 42px; border: 1px solid var(--line); display: grid; place-items: center; border-radius: 50%; font-size: 20px; }

.gallery-section { background: var(--ink); color: var(--paper); }
.section-heading-light { border-color: rgba(255,255,255,.15); }
.section-heading-light .kicker { color: #8d939b; }
.heading-note { margin: 0; align-self: end; color: #6c7177; line-height: 1.65; font-size: 14px; }
.section-heading-light .heading-note { color: #9ca1a8; }
.art-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 340px; gap: 18px; padding-top: 60px; }
.art-card { grid-column: span 4; position: relative; border: 0; padding: 0; overflow: hidden; cursor: zoom-in; background: #242a34; text-align: left; }
.art-card-tall { grid-column: span 5; grid-row: span 2; }
.art-card-wide { grid-column: span 7; }
.art-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .3s; }
.art-card:hover img { transform: scale(1.035); filter: brightness(.78); }
.art-card-tall img { object-position: center top; }
.art-card-wide img { object-position: center 30%; }
.art-label { position: absolute; left: 22px; right: 22px; bottom: 20px; color: white; display: flex; flex-direction: column; gap: 4px; transform: translateY(75px); transition: transform .35s ease; }
.art-card:hover .art-label { transform: translateY(0); }
.art-label b { font: 600 18px "Space Grotesk"; }
.art-label small { color: rgba(255,255,255,.7); }
.zoom-icon { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; background: var(--paper); color: var(--ink); border-radius: 50%; display: grid; place-items: center; transform: scale(0); transition: transform .3s ease; font-style: normal; }
.art-card:hover .zoom-icon, .reference-card button:hover .zoom-icon { transform: scale(1); }

.references { background: var(--paper-deep); }
.reference-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; padding-top: 65px; }
.reference-card { margin: 0; }
.reference-card button { display: block; width: 100%; aspect-ratio: 1.46; border: 0; padding: 0; position: relative; overflow: hidden; cursor: zoom-in; background: var(--ink-soft); }
.reference-card:nth-child(2) { padding-top: 90px; }
.reference-card button img { height: 100%; object-fit: cover; transition: transform .6s ease; }
.reference-card button:hover img { transform: scale(1.025); }
.reference-card > div { padding-top: 17px; display: flex; align-items: end; justify-content: space-between; }
.reference-card span { color: #777b7e; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 700; }
.reference-card h3 { font: 600 28px "Space Grotesk"; letter-spacing: -.04em; margin: 0; }

.faq-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 9vw; background: var(--coral-soft); }
.faq-heading .kicker { margin: 12px 0 18px; }
.faq-heading h2 { font-size: clamp(55px, 6vw, 90px); line-height: .87; margin-bottom: 28px; }
.faq-heading h2 em { color: var(--paper); }
.faq-heading > p:last-child { max-width: 370px; color: #5c5050; line-height: 1.7; }
.accordion { border-top: 1px solid rgba(16,20,28,.25); }
.accordion-item { border-bottom: 1px solid rgba(16,20,28,.25); }
.accordion-item button { width: 100%; min-height: 86px; padding: 0; background: none; border: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; cursor: pointer; font: 600 18px "Space Grotesk"; }
.accordion-item button i { font-style: normal; font-size: 25px; font-weight: 400; }
.accordion-content { overflow: hidden; }
.accordion-content p { max-width: 650px; margin: -5px 55px 30px 0; color: #5e4e4e; line-height: 1.65; }

.support-section { min-height: 570px; padding: 100px 24px; position: relative; overflow: hidden; background: var(--cyan); display: grid; place-items: center; text-align: center; }
.support-section::before { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(16,20,28,.2); pointer-events: none; }
.support-content { position: relative; z-index: 2; max-width: 680px; }
.support-content h2 { font-size: clamp(50px, 6vw, 88px); line-height: .95; margin-bottom: 25px; }
.support-content h2 span { color: var(--coral); }
.support-content > p:not(.kicker) { max-width: 540px; margin: 0 auto 30px; line-height: 1.7; }
.button-kofi { background: var(--ink); color: white; }
.button-kofi:hover { background: var(--paper); color: var(--ink); }
.support-art { position: absolute; width: clamp(170px, 20vw, 330px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 9px solid var(--paper); box-shadow: 10px 10px 0 rgba(16,20,28,.85); }
.support-art img { height: 100%; object-fit: cover; }
.support-art-left { left: -6%; bottom: -13%; transform: rotate(13deg); }
.support-art-right { right: -5%; top: -12%; transform: rotate(-12deg); }

.site-footer { background: var(--ink); color: var(--paper); padding: 120px max(32px, calc((100vw - var(--max))/2)) 32px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; padding-bottom: 90px; }
.footer-top .kicker { color: var(--coral); }
.footer-top h2 { font-size: clamp(56px, 6vw, 95px); line-height: .9; margin-bottom: 0; }
.social-list { border-top: 1px solid rgba(255,255,255,.18); }
.social-list a { display: grid; grid-template-columns: 1fr 1fr 30px; gap: 18px; align-items: center; min-height: 78px; border-bottom: 1px solid rgba(255,255,255,.18); transition: color .2s, padding .2s; }
.social-list a:hover { color: var(--coral); padding-left: 10px; }
.social-list span { font: 600 18px "Space Grotesk"; }
.social-list i { color: #888e96; font-style: normal; font-size: 12px; }
.social-list b { justify-self: end; font-size: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding-top: 25px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; color: #92979e; font-size: 11px; }
.footer-bottom .brand { color: var(--paper); }
.footer-bottom .brand-mark { background: var(--paper); color: var(--ink); }
.footer-bottom p { margin: 0; text-align: center; }
.footer-bottom > a:last-child { text-align: right; }

.lightbox { width: min(94vw, 1300px); max-width: none; height: min(92vh, 940px); max-height: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(8,11,16,.94); backdrop-filter: blur(9px); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-close { position: fixed; top: 20px; right: 25px; z-index: 2; border: 0; background: white; color: var(--ink); width: 45px; height: 45px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-copy { max-width: 700px; }
  .hero-art { min-height: 720px; margin-top: 25px; }
  .hero-frame-main { right: 9%; width: 62%; }
  .hero-frame-side { left: 10%; }
  .commission-layout { gap: 5vw; }
  .art-grid { grid-auto-rows: 300px; }
  .faq-section { gap: 5vw; }
}

@media (max-width: 760px) {
  .site-header { width: calc(100% - 36px); height: 72px; }
  .menu-toggle { display: grid; gap: 7px; position: relative; z-index: 2; }
  .menu-toggle span { display: block; width: 27px; height: 2px; background: var(--ink); transition: transform .25s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; padding: 110px 30px 40px; background: var(--coral-soft); flex-direction: column; align-items: flex-start; gap: 24px; font: 600 38px "Space Grotesk"; transform: translateX(100%); transition: transform .35s ease; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav .nav-cta { font: 600 18px "DM Sans"; margin-top: 10px; }
  .hero { width: calc(100% - 36px); min-height: auto; padding: 70px 0 90px; gap: 15px; grid-template-columns: minmax(0, 1fr); }
  .hero-copy { min-width: 0; }
  h1 { font-size: clamp(46px, 13vw, 64px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 23px; }
  .hero-art { min-height: 520px; }
  .hero-frame-main { width: 72%; height: 78%; right: 4%; }
  .hero-frame-side { width: 43%; left: 1%; }
  .hero-sticker { width: 95px; height: 95px; right: -2%; bottom: 3%; }
  .hero-sticker text { font-size: 8px; }
  .section, .gallery-section, .faq-section { padding: 95px 18px; }
  .section-heading { grid-template-columns: 35px 1fr; }
  .section-heading > :last-child { grid-column: 2; justify-self: start; }
  .section-heading h2 { font-size: 54px; }
  .commission-layout { grid-template-columns: 1fr; gap: 70px; padding-top: 50px; }
  .process-list li { grid-template-columns: 35px 1fr; }
  .process-icon { display: none; }
  .art-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .art-card, .art-card-tall, .art-card-wide { grid-column: auto; grid-row: auto; aspect-ratio: 4/5; }
  .art-card:first-child { aspect-ratio: 4/5; }
  .art-card-wide { aspect-ratio: 1/1; }
  .art-label { transform: none; }
  .zoom-icon { transform: scale(1); }
  .reference-grid { grid-template-columns: 1fr; }
  .reference-card:nth-child(2) { padding-top: 20px; }
  .reference-card button { aspect-ratio: 1.2; }
  .reference-card > div { align-items: start; flex-direction: column-reverse; gap: 5px; }
  .faq-section { grid-template-columns: 1fr; gap: 55px; }
  .support-section { min-height: 650px; padding: 120px 25px; }
  .support-art { width: 155px; border-width: 6px; }
  .support-art-left { left: -35px; bottom: -35px; }
  .support-art-right { right: -38px; top: -28px; }
  .footer-top { grid-template-columns: 1fr; gap: 65px; }
  .site-footer { padding: 95px 18px 30px; }
  .social-list a { grid-template-columns: 1fr auto; }
  .social-list i { display: none; }
  .footer-bottom { grid-template-columns: 1fr auto; gap: 30px; }
  .footer-bottom p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
