:root {
  color-scheme: dark;
  --background: #12101d;
  --surface: #1d192c;
  --text: #fff5ee;
  --muted: #d2c5d8;
  --pink: #ff8cb5;
  --mint: #82e9dc;
  --gold: #ffc28a;
  --line: #4d405d;
  --display: "Arial Black", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .24em; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }
[hidden] { display: none !important; }
.skip { position: fixed; z-index: 3; top: .7rem; left: .7rem; padding: .7rem 1rem; transform: translateY(-180%); background: var(--mint); color: var(--background); }
.skip:focus { transform: none; }
.shell { width: min(83rem, calc(100% - clamp(2rem, 7vw, 7rem))); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.studio-nav, .nav-links { display: flex; align-items: center; gap: clamp(.7rem, 2.4vw, 2.25rem); }
.studio-nav { min-height: 5.2rem; justify-content: space-between; }
.studio-nav a { text-decoration: none; font-weight: 750; }
.nav-brand { display: block; width: fit-content; margin-block: .3rem; }
.logo-filter-definitions { position: absolute; pointer-events: none; }
.nav-brand img {
  width: clamp(4rem, 5.75vw, 5.2rem);
  filter: url(#logo-knockout) drop-shadow(0 0 1px #ffe9bd) drop-shadow(0 0 1px #ffe9bd);
}
.nav-links a { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; }
.nav-contact { color: var(--mint); }
.nav-links a:hover, .footer-nav a:hover, .direct-contact a:hover { color: var(--pink); }

h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.06; letter-spacing: -.035em; }
h2 { font-size: clamp(1.62rem, 3.564vw, 3.24rem); }
h3 { font-size: clamp(0.972rem, 1.62vw, 1.3203rem); }
p { margin: .75rem 0 1rem; }
figure { margin: 0; }
figcaption { margin-top: .45rem; color: var(--muted); font-size: .84rem; }
.label { margin: 0 0 .65rem; color: var(--mint); font-size: .78rem; font-weight: 780; letter-spacing: .14em; text-transform: uppercase; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(32rem, 41vw, 46rem);
  border-bottom: 1px solid var(--line);
  background: var(--background);
}
.hero-content { padding-block: clamp(2.5rem, 5vw, 5.5rem); }
.hero-copy { max-width: min(52%, 37rem); }
.hero .label { color: var(--gold); }
.hero h1 { max-width: 15ch; font-size: clamp(2rem, 4.1vw, 4.5rem); font-weight: 950; letter-spacing: -.062em; line-height: .99; text-transform: uppercase; }
.hero h1 em { display: block; color: var(--pink); font-style: normal; }
.hero-lead { max-width: 44ch; margin-top: 1.15rem; color: var(--text); font-size: clamp(1rem, 1.42vw, 1.2rem); }
.hero-audience { color: var(--muted); font-size: .93rem; }
.hero-actions, .card-links, .service-page-links { display: flex; flex-wrap: wrap; gap: .65rem 1rem; align-items: center; }
.hero-actions { margin-top: 1.45rem; }
.ink-button, .outline-button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 48px; border: 1px solid transparent; border-radius: .25rem; padding: .65rem .95rem; font-weight: 800; line-height: 1.25; text-decoration: none; }
.ink-button { background: var(--pink); color: #211021; }
.ink-button:hover { background: #ffa4c5; }
.ink-button:disabled { cursor: wait; opacity: .65; }
.outline-button { border-color: #aa89ad; }
.outline-button:hover { border-color: var(--mint); color: var(--mint); }
.hero-work { position: absolute; inset: 0; z-index: -1; }
.hero-illustration { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.hero-work::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 48% 55% at 74% 0%, rgb(var(--neon-light) / .4), transparent 100%),
    linear-gradient(90deg, #12101dfc, #16101de8 25%, #1b111db3 42%, #21101d33 61%, transparent 79%);
}

.section { position: relative; padding-block: clamp(2.5rem, 5.8vw, 5.5rem); border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
.section-heading { margin-bottom: 1.6rem; }
.section-heading p:not(.label), .service-lead { max-width: 62ch; color: var(--muted); }
.anchor-target { position: absolute; top: 0; }
.offer, .realization-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.5vw, 1.3rem); }
.offer-card, .realization-card, #inquiry-form { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: .35rem; }
.offer-card { position: relative; display: flex; flex-direction: column; padding: clamp(1rem, 2.2vw, 1.65rem); border-top: 3px solid var(--pink); }
.offer-visual {
  aspect-ratio: 1.5;
  margin-bottom: 1rem;
  border-radius: .2rem;
  background: var(--background) url("assets/service-photos-lesk.webp") no-repeat;
  background-size: 300% 300%;
}
.offer-visual--identity { background-position: 100% 0; }
.offer-visual--signage { background-position: 0 0; }
.offer-visual--print { background-position: 100% 100%; }
.offer-visual--digital { background-position: 100% 50%; }
.offer-visual--photo { background-position: 0 50%; }
.offer-visual--personal { background-image: url("assets/print-services-varied-lesk.webp"); background-position: 0 100%; }
.offer-card:nth-child(3n+2) { border-top-color: var(--mint); }
.offer-card:nth-child(3n) { border-top-color: var(--gold); }
.offer-card p, .case-copy p:not(.label), .process p, .about-studio p:not(.label), .contact p:not(.label), .footer-grid p:not(.footer-name) { color: var(--muted); }
.card-links { margin-top: auto; }
.card-links a, .offer-card > a, .text-link, .service-page-links a, .footer-brief { color: var(--mint); font-weight: 725; }
.card-links a[data-service] { color: var(--pink); }
.realization-grid { align-items: start; }
.realization-card { position: relative; }
.realization-cover { position: relative; aspect-ratio: 1.65; }
.realization-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: .3rem .3rem 0 0; }
.case-copy summary::before {
  /* Let the same native control handle clicks on the cover and its text label. */
  content: "";
  position: absolute;
  inset: 0 0 auto;
  aspect-ratio: 1.65;
  border-radius: .3rem .3rem 0 0;
}
.case-copy summary:is(:hover, :focus-visible)::before { box-shadow: inset 0 0 0 3px var(--mint); }
.case-copy { padding: clamp(1rem, 2vw, 1.5rem); }
.case-copy > .text-link { display: inline-block; margin-top: .85rem; }
.case-copy summary, .print-group summary { color: var(--pink); font-weight: 750; padding-block: .4rem; }
.project-gallery { display: grid; gap: .85rem; }
.project-gallery img { width: 100%; max-height: 27rem; object-fit: contain; background: var(--background); }
.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 2.5rem; padding-left: 1.4rem; margin: 1.6rem 0 0; }
.process li::marker { color: var(--pink); font-weight: 850; }
.about-studio, .contact, .service-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: clamp(1.5rem, 5vw, 5rem); }
.contact {
  grid-template-areas: "intro form" "atelier form";
  grid-template-rows: auto 1fr;
  row-gap: 1.2rem;
}
.contact-intro { grid-area: intro; }
.contact #inquiry-form { grid-area: form; }
.contact-atelier { grid-area: atelier; min-width: 0; }
.contact-atelier img { width: 100%; aspect-ratio: 1.65; object-fit: cover; border-radius: .35rem; }
.studio-portrait { align-self: center; }
.studio-portrait img { width: 100%; }
.direct-contact { overflow-wrap: anywhere; }
.direct-contact a { color: var(--text); font-weight: 750; }
#inquiry-form { display: grid; gap: .45rem; padding: clamp(1rem, 3vw, 2rem); }
#inquiry-form label { font-weight: 750; }
#inquiry-form label span, #inquiry-hint, .form-note { color: var(--muted); font-size: .84rem; font-weight: 400; }
#inquiry-form :is(input,select,textarea) { width: 100%; min-width: 0; min-height: 44px; margin-bottom: .4rem; border: 1px solid #83748e; border-radius: .25rem; padding: .65rem .75rem; background: var(--background); color: var(--text); }
#inquiry-form textarea { resize: vertical; }
#inquiry-form button { justify-self: start; }
#inquiry-status { margin: 0; }
#inquiry-status:not(:empty) { margin-top: .5rem; }

.service-hero { align-items: center; }
.service-hero figure img { width: 100%; aspect-ratio: 1.55; object-fit: cover; border-radius: .35rem; }
.service-hero .totem-feature { width: min(100%, 26rem); justify-self: center; }
.service-hero .totem-feature img { aspect-ratio: auto; }
.project-gallery .totem-detail { width: auto; margin-inline: auto; }

.service-heading { margin-top: .85rem; font-size: clamp(1.863rem, 4.05vw, 3.888rem); }
.service-offer, .service-page-links { margin-top: 1.4rem; }
.service-offer { align-items: start; }
.print-group { border-top: 1px solid var(--line); }
.print-group ul { padding-left: 1.1rem; margin: .25rem 0 0; }
.print-group a { display: flex; justify-content: space-between; gap: .5rem; padding-block: .33rem; }

#jukebox { padding-block: 1.35rem; }
.jukebox-drawer > summary { font-weight: 760; }
.jukebox-drawer > summary span, #music-status { color: var(--muted); font-size: .84rem; font-weight: 400; }
.jukebox-drawer > summary span { margin-left: .45rem; }
.rack-title { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; margin-block: 1rem; }
#jukebox h2 { font-size: 1.1745rem; }
.arrows { display: flex; gap: .4rem; }
.arrows button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text); }
.arrows button:disabled { opacity: .45; cursor: default; }
.shelf { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 28%; gap: 3%; max-width: 38rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .3rem .3rem .8rem; scroll-padding-inline: .3rem; }
.project { min-width: 0; scroll-snap-align: start; border: 0; padding: 0; text-align: left; background: transparent; color: var(--text); }
.cover { display: block; overflow: hidden; border-radius: .25rem; }
.cover img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.project-title { display: block; padding-top: .45rem; font-size: .83rem; font-weight: 700; }
.project[aria-pressed=true] .cover { outline: 3px solid var(--mint); outline-offset: -3px; }
.site-footer { background: #100e19; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.6rem; padding-block: 2.2rem; }
.footer-name { margin-top: 0; font-weight: 900; font-size: 1.0935rem; }
.footer-grid h2 { font: 760 0.81rem/1.35 system-ui,sans-serif; letter-spacing: 0; }
.footer-nav { display: grid; align-content: start; justify-items: start; gap: .4rem; }
.footer-owner address { margin-top: .55rem; font-style: normal; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1rem; border-top: 1px solid var(--line); font-size: .84rem; }

@media (max-width: 900px) {
  .offer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-copy .label { letter-spacing: .08em; }
}
@media (max-width: 760px) {
  .about-studio, .contact, .service-hero { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-areas: "intro" "form" "atelier"; grid-template-rows: auto; }
  .hero h1 { font-size: clamp(2rem, 7.4vw, 3.75rem); }
  .realization-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: auto; }
  .hero-content { padding-top: clamp(12.5rem, 49vw, 22rem); }
  .hero-copy { max-width: 33rem; }
  .hero-work { bottom: auto; height: clamp(17rem, 63vw, 27rem); }
  .hero-illustration { object-position: 82% center; }
  .hero-work::after {
    background:
      radial-gradient(ellipse 82% 55% at 50% 0%, rgb(var(--neon-light) / .4), transparent 100%),
      linear-gradient(180deg, transparent 35%, #12101d50 60%, var(--background) 100%);
  }
  .service-hero figure img { aspect-ratio: 2; }
}
@media (max-width: 540px) {
  .studio-nav { display: grid; gap: .1rem; padding-top: .9rem; }
  .nav-links { flex-wrap: wrap; gap: .05rem 1rem; font-size: .9rem; }
  .offer, .realization-grid, .process, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-actions > a { justify-content: space-between; }
  .shelf { grid-auto-columns: 45%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* The light is a presentation layer over the illustrations. */
.hero-work, .realization-cover, .offer-visual { --neon-light: 255 93 162; }
.realization-card:nth-child(2) .realization-cover,
.offer-card:nth-child(3n+2) .offer-visual { --neon-light: 77 244 226; }
.realization-card:nth-child(3) .realization-cover,
.offer-card:nth-child(3n) .offer-visual { --neon-light: 255 181 101; }

.hero-work::before,
.realization-cover::before,
.offer-visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: .68rem;
  inset-inline: 10%;
  height: 3px;
  border-radius: 100vw;
  background: #fff7fa;
  box-shadow:
    0 0 4px 1px rgb(var(--neon-light) / .95),
    0 0 10px 3px rgb(var(--neon-light) / .78),
    0 5px 22px 4px rgb(var(--neon-light) / .55);
  pointer-events: none;
}
.hero-work::before { top: 1.2rem; inset-inline: 53% 7%; }
.offer-visual { position: relative; }
.realization-cover::after,
.offer-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 74% 68% at 50% 0%, rgb(var(--neon-light) / .56), rgb(var(--neon-light) / .15) 61%, transparent 100%);
  pointer-events: none;
}
.realization-card .case-copy summary::before { z-index: 2; }

@media (max-width: 760px) {
  .hero-work::before { top: .9rem; inset-inline: 9%; }
}


.print-catalog-group { margin-top: clamp(2rem, 5vw, 4rem); }
.print-catalog-group h4 { margin: 0; font-family: var(--display); font-size: 1rem; line-height: 1.25; }
.print-service-visual { margin: 0; }
.offer-visual--binding { background-image: url("assets/print-services-varied-lesk.webp"); background-position: 50% 0; }
