@font-face {
  font-family: Manrope;
  src: url('/assets/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url('/assets/instrument-serif-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #faf9f6;
  --panel: #f0f1ef;
  --wash: #e9eef7;
  --ink: #172232;
  --muted: #4a5667;
  --line: #d9dee1;
  --blue: #254ebd;
  --blue-hover: #1e3e97;
  --dark: #111d2b;
  --light-text: #e0e7ef;
  --radius: 15px;
  --ease-out: cubic-bezier(.2,.72,.23,1);
  --wrap: 1192px;
  --font: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Instrument Serif", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 500 1rem/1.64 var(--font); overflow-wrap: break-word; }
[hidden] { display: none !important; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
svg { width: 1.2rem; height: 1.2rem; flex: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 800; line-height: 1.1; letter-spacing: -.048em; }
h1 { font-size: clamp(2.7rem, 5.5vw, 4.8rem); }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.85rem); }
h3 { font-size: 1.18rem; letter-spacing: -.025em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.wrap { width: min(var(--wrap), calc(100% - 5rem)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: .6rem; left: .6rem; z-index: 100; padding: .6rem .8rem; transform: translateY(-155%); background: var(--paper); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-row { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 1.2rem; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: .6rem; font-size: 1.15rem; font-weight: 800; line-height: 1.1; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand img { width: 36px; height: 36px; }
.brand-lab { color: var(--blue); }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.3rem); }
.main-nav > a:not(.button), .category-menu > summary { display: flex; min-height: 44px; align-items: center; gap: .37rem; border-radius: 5px; color: var(--ink); font-size: .91rem; font-weight: 750; text-decoration: none; }
.main-nav > a:hover:not(.button), .main-nav > a[aria-current], .category-menu > summary:is(:hover,.selected), .category-menu[open] > summary { color: var(--blue); }
.category-menu { position: relative; }
.category-menu summary, .accordion summary { cursor: pointer; list-style: none; }
.category-menu summary::-webkit-details-marker, .accordion summary::-webkit-details-marker { display: none; }
.category-menu summary svg, .sidebar-toggle svg { width: .95rem; height: .95rem; }
.category-menu[open] summary svg, .sidebar-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.category-popover { position: absolute; top: calc(100% + 8px); left: -1rem; width: min(316px, 80vw); padding: .48rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: 0 12px 32px #16335d22; }
.category-popover ul, .category-sidebar ul { margin: 0; padding: 0; list-style: none; }
.category-popover li a, .category-sidebar li a { display: flex; min-height: 42px; align-items: center; gap: .55rem; padding: .45rem .6rem; border-radius: 5px; color: var(--muted); font-size: .9rem; font-weight: 740; line-height: 1.34; text-decoration: none; }
.category-popover li a:is(:hover,[aria-current]), .category-sidebar li a:is(:hover,[aria-current]) { color: var(--accent-ink); background: var(--accent-soft); }
.category-popover li svg, .category-sidebar li svg { width: .95rem; height: .95rem; color: var(--accent-ink); }
.category-all { display: block; margin: .35rem .12rem 0; padding: .55rem .5rem .25rem; border-top: 1px solid var(--line); font-size: .9rem; }
.menu-toggle { display: none; min-height: 42px; align-items: center; gap: .45rem; padding: .35rem .66rem; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: white; font-weight: 800; }
.hamburger { display: grid; gap: 4px; }
.hamburger i { width: 15px; height: 2px; background: currentColor; }
.menu-toggle[aria-expanded="true"] i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:last-child { transform: translateY(-3px) rotate(-45deg); }

.button { display: inline-flex; min-height: 47px; align-items: center; justify-content: center; padding: .57rem .95rem; border: 1px solid transparent; border-radius: 7px; font-size: .94rem; font-weight: 800; line-height: 1.24; text-align: center; text-decoration: none; transition: background-color .16s ease; }
.button--primary, .button--nav { color: white; background: var(--blue); }
.button--primary:hover, .button--nav:hover { background: var(--blue-hover); }
.button--nav { min-height: 42px; padding-inline: .92rem; }
.button--light { color: var(--blue-hover); background: white; }
.button--light:hover, .button--soft:hover { background: #d7e5ff; }
.button--soft { color: var(--blue-hover); background: var(--wash); }
.text-link { color: var(--blue); font-weight: 800; text-decoration: underline; text-decoration-color: #8aa6f0; text-underline-offset: .23em; }
.text-link:hover { text-decoration-color: currentColor; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.home-stage, .category-index {
  border-bottom: 1px solid #293746;
  background: #0c1520;
  color: #f7f8fa;
}
.stage-layout {
  display: grid;
  grid-template-columns: minmax(280px, .73fr) minmax(0, 1.65fr);
  gap: clamp(1.15rem, 2.95vw, 2.3rem);
  padding-block: clamp(1.45rem, 3.8vw, 3rem);
}
.studio-intro {
  container-type: inline-size;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 500px;
  border: 1px solid #445467;
  border-radius: var(--radius);
  background: #223142;
}
.studio-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
}
.studio-photo img, .detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.studio-intro::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, #182635f7, #182635ed 40%, #1826359c 65%, #111b2633);
  content: "";
}
.studio-copy { max-width: 27rem; padding: clamp(1.35rem, 3vw, 2.25rem); }
.area-label { display: flex; align-items: center; gap: .4rem; margin-bottom: .85rem; color: #c7d4e4; font-size: .91rem; font-weight: 750; }
.area-label svg { width: 1rem; height: 1rem; color: #a0b9db; }
.studio-copy h1 { font-size: clamp(2.35rem, 13.6cqi, 3.6rem); line-height: .99; letter-spacing: -.062em; }
.studio-copy h1 em { display: block; margin-top: .06em; color: #b2c5e2; font: italic 400 1.16em/.87 var(--display); letter-spacing: -.018em; }
.studio-copy > p:not(.area-label) { max-width: 31ch; margin-top: 1.15rem; color: #ecf0f4; font-size: 1rem; line-height: 1.52; }
.studio-copy .button { margin-top: 1.15rem; }
.button--stage { border-color: #5977a5; background: #1b3766; color: #fff; }
.button--stage:hover { background: #254675; }
.home-stage :focus-visible, .category-index :focus-visible, .category-hero :focus-visible { outline-color: #a3c2ff; }

.directory h2 { margin: .1rem 0 1rem; }
.studio-directory > h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
.directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .86rem; }
.studio-directory .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:where(.category-card, .quick-card, .category-hero, .support-choice, .category-popover li, .category-sidebar li) {
  --tile: #0e223c;
  --edge: #374f6b;
  --tag: #c9d9ed;
  --tag-bg: #203a58;
  --accent-rgb: 110 143 184;
  --accent-ink: #294f8c;
  --accent-soft: #e8edf5;
}
[data-category="remote"] {
  --tile: #102820;
  --edge: #375648;
  --tag: #c2dbd3;
  --tag-bg: #244438;
  --accent-rgb: 108 155 137;
  --accent-ink: #315e55;
  --accent-soft: #e8efeb;
}
[data-category="web"] {
  --tile: #151b34;
  --edge: #434c6e;
  --tag: #ccd6ed;
  --tag-bg: #2c3655;
  --accent-rgb: 126 141 185;
  --accent-ink: #405387;
  --accent-soft: #ebedf4;
}
[data-category="locali"] {
  --tile: #302016;
  --edge: #634a3a;
  --tag: #e8d0bc;
  --tag-bg: #503728;
  --accent-rgb: 172 132 100;
  --accent-ink: #784f37;
  --accent-soft: #f3ebe4;
}
[data-category="korel"] {
  --tile: #251730;
  --edge: #534461;
  --tag: #ded1eb;
  --tag-bg: #3c2c50;
  --accent-rgb: 150 124 178;
  --accent-ink: #624d79;
  --accent-soft: #eeeaf2;
}
[data-category="mod"] {
  --tile: #171f2a;
  --edge: #404c5c;
  --tag: #d4dce6;
  --tag-bg: #303c4c;
  --accent-rgb: 124 146 170;
  --accent-ink: #45576d;
  --accent-soft: #eaedf0;
}
.category-card { min-width: 0; }
.category-card > a, .quick-card {
  position: relative;
  display: block;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: 13px;
  background: var(--tile);
  color: #fff;
}
.category-card > a {
  min-height: 100%;
  text-decoration: none;
  transition: border-color .2s ease, transform .25s var(--ease-out);
}
.category-card > a:focus-visible, .category-card > a:hover {
  border-color: rgb(var(--accent-rgb));
}
.category-art { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 46%; overflow: hidden; pointer-events: none; }
.category-art img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.87); }
[data-category="web"] .category-art img { filter: brightness(.68); }
.category-card .category-art:not(.category-art--logo) img { transition: transform .42s var(--ease-out); }
.category-art:has(img):not(.category-art--logo)::after { position: absolute; inset: 0; background: linear-gradient(90deg, var(--tile) 19%, transparent 96%); content: ""; }
.category-art--logo { display: grid; width: 29%; align-items: center; justify-items: end; padding-right: .55rem; }
.category-art--logo img { width: min(100%, 8.5rem); height: auto; filter: none; opacity: .76; }
.category-abstract { display: grid; height: 100%; place-items: center end; padding-right: 14%; color: rgb(var(--accent-rgb) / .31); font: italic 400 clamp(4.4rem, 7vw, 7rem)/1 var(--display); }
.card-copy { display: flex; width: 73%; min-height: 165px; height: 100%; flex-direction: column; align-items: start; padding: .97rem 0 .94rem 1rem; }
.card-top { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .45rem; margin-bottom: .54rem; }
.category-icon { display: grid; width: 2.4rem; height: 2.4rem; flex: none; place-items: center; border-radius: 7px; color: var(--blue); background: var(--wash); }
.card-copy .category-icon, .quick-card .category-icon { width: 2rem; height: 2rem; color: var(--tag); background: var(--tag-bg); }
.card-copy .category-icon svg, .quick-card .category-icon svg { width: 1.07rem; height: 1.07rem; }
.category-card h3 { font-size: clamp(1.07rem, 1.53vw, 1.32rem); letter-spacing: -.026em; }
.category-card p { margin: .36rem 0 .59rem; color: #edf0f3; font-size: .935rem; line-height: 1.43; }
.card-link { margin-top: auto; color: var(--tag); font-size: .88rem; font-weight: 750; line-height: 1.4; text-decoration: underline; text-decoration-color: rgb(var(--accent-rgb) / .53); text-underline-offset: .24em; transition: text-decoration-color .18s ease; }
.category-card a:is(:hover,:focus-visible) .card-link { text-decoration-color: currentColor; }
.status { display: inline-block; width: fit-content; padding: .17rem .45rem; border-radius: 5px; color: #1d4599; background: #eaf1ff; font-size: .78rem; font-weight: 800; line-height: 1.3; }
.category-card .status { color: var(--tag); background: var(--tag-bg); }
.directory--page { padding-block: clamp(2rem, 4.8vw, 4.2rem); }
.directory--page h1 { margin-bottom: 1.3rem; font-size: clamp(2.4rem, 5.1vw, 4.45rem); }

.support-guide { display: grid; grid-template-columns: minmax(200px, .82fr) minmax(0, 1.65fr); gap: clamp(1rem, 3.9vw, 2.95rem); padding-block: clamp(1.75rem, 3.45vw, 2.8rem); }
.support-guide-heading h2 { font-size: clamp(1.5rem, 2.75vw, 2.32rem); }
.support-guide-heading p { margin-top: .45rem; color: var(--muted); }
.support-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin: 0; }
.support-choice { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; gap: .8rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); text-decoration: none; transition: border-color .19s ease, background-color .19s ease; }
.support-choice .category-icon { color: var(--accent-ink); background: var(--accent-soft); }
.support-choice strong { display: block; margin-bottom: .24rem; color: var(--accent-ink); font-size: 1rem; line-height: 1.3; }
.support-choice span span { display: block; color: var(--muted); font-size: .91rem; line-height: 1.43; }
.support-choice:is(:hover,:focus-visible) { border-color: rgb(var(--accent-rgb) / .86); background: var(--accent-soft); }
.support-choice:is(:hover,:focus-visible) strong { text-decoration: underline; text-underline-offset: .21em; }
.request-band { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; padding: clamp(1.25rem, 3.35vw, 2.2rem); border-radius: var(--radius); color: white; background: var(--dark); }
.request-band h2 { font-size: clamp(1.48rem, 2.6vw, 2.26rem); }
.request-band p { max-width: 60ch; margin-top: .5rem; color: var(--light-text); line-height: 1.5; }
.request-band .button { flex: none; }
.site-footer { padding: clamp(1.8rem, 4vw, 2.8rem) 0 0; border-top: 1px solid var(--line); background: var(--panel); }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr .7fr 1fr; gap: 1.4rem 1.8rem; color: var(--muted); }
.footer-brand .brand { color: var(--ink); }
.footer-brand p { max-width: 33ch; margin-top: .62rem; }
.footer-grid h2 { color: var(--ink); font-size: .99rem; letter-spacing: 0; }
.footer-grid ul { margin: .57rem 0 0; padding: 0; list-style: none; }
.footer-grid a:not(.brand) { display: inline-block; padding: .13rem 0; font-size: .9rem; text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 1.75rem; padding: .85rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }

.page-intro { padding-block: clamp(2.15rem, 5.25vw, 4rem); border-bottom: 1px solid var(--line); background: var(--panel); }
.page-intro h1 { max-width: 21ch; }
.page-intro p:not(.eyebrow) { max-width: 64ch; margin-top: .7rem; color: var(--muted); font-size: 1.06rem; }
.eyebrow { margin-bottom: .53rem; color: var(--blue); font-size: .88rem; font-weight: 800; }
.category-page { padding-bottom: clamp(2.35rem, 4.5vw, 4rem); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .24rem .36rem; margin: 0; padding: .94rem 0; color: var(--muted); font-size: .87rem; list-style: none; }
.crumbs li + li::before { margin-right: .36rem; content: "/"; }
.crumbs a { text-underline-offset: .18em; }
.category-hero { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: clamp(1.05rem, 3.4vw, 3rem); padding: clamp(1.2rem, 3.4vw, 2.5rem); border-radius: var(--radius); background: var(--dark); color: #fff; }
.category-title .status { margin-bottom: .55rem; color: var(--tag); background: var(--tag-bg); }
.category-title h1 { font-size: clamp(2.28rem, 4.6vw, 4.05rem); }
.category-title .category-lead { max-width: 54ch; margin-top: .7rem; color: #d3ddf1; }
.category-title .button { margin-top: 1.1rem; }
.quick-copy { min-height: 178px; padding: 1.05rem 0 1.05rem 1rem; width: 76%; }
.quick-copy .category-icon { margin-bottom: .55rem; }
.quick-card h2 { font-size: 1.15rem; letter-spacing: -.024em; }
.quick-card ul { display: grid; gap: .37rem; margin: .52rem 0 0; padding: 0; list-style: none; }
.quick-card li { display: flex; align-items: start; gap: .36rem; color: #e0e9fa; font-size: .9rem; line-height: 1.4; }
.quick-card li svg { width: .91rem; height: .91rem; margin-top: .17rem; color: var(--tag); }
.detail-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); align-items: start; gap: clamp(1.3rem, 4vw, 3.25rem); padding-top: clamp(1.6rem, 4vw, 3.35rem); }
.category-sidebar { position: sticky; top: 91px; padding: .7rem; border: 1px solid var(--line); border-radius: 10px; background: white; }
.category-sidebar h2 { padding: .4rem .58rem .58rem; font-size: 1rem; letter-spacing: -.02em; }
.sidebar-toggle { display: none; width: 100%; min-height: 42px; align-items: center; justify-content: space-between; gap: .45rem; padding: .35rem .58rem; border: 0; border-radius: 5px; color: var(--ink); background: transparent; font-weight: 800; }
.sidebar-toggle:hover { color: var(--blue); }
.category-content { display: grid; gap: clamp(1.5rem, 3.9vw, 2.8rem); min-width: 0; }
.detail-block h2 { margin-bottom: .9rem; font-size: clamp(1.58rem, 2.85vw, 2.35rem); }
.detail-block p, .detail-block dd { color: var(--muted); }
.examples { margin: 0; border: 1px solid var(--line); border-radius: 10px; }
.examples > div { padding: .88rem 1rem; }
.examples > div + div { border-top: 1px solid var(--line); }
.examples dt { margin-bottom: .24rem; font-weight: 800; line-height: 1.34; }
.examples dd { margin: 0; }
.steps { display: grid; gap: 1rem; margin: 0; padding-left: 1.55rem; }
.steps li { padding-left: .2rem; }
.steps li::marker { color: var(--blue); font-weight: 800; }
.steps p { margin-top: .42rem; }
.detail-photo { overflow: hidden; aspect-ratio: 2.35; border-radius: 10px; background: var(--panel); }
.venue-list { display: grid; gap: .68rem; }
.venue-list article { display: flex; gap: .85rem; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; }
.venue-list article:target { border-color: var(--blue); background: var(--panel); }
.venue-list h3 { margin-bottom: .35rem; }
.venue-list .text-link { display: inline-block; margin-top: .58rem; }
.related ul { display: flex; flex-wrap: wrap; gap: .55rem 1.35rem; margin: 0; padding: 0; list-style: none; }

.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: .7rem; padding: .65rem .3rem; font-weight: 800; }
.accordion summary:hover, .accordion summary svg { color: var(--blue); }
.accordion details[open] summary svg { transform: rotate(45deg); }
.accordion p { max-width: 70ch; padding: 0 .3rem .85rem; color: var(--muted); }
.simple-content { display: grid; gap: 2rem; padding-block: clamp(2rem, 4.5vw, 3.85rem); }
.faq-page { max-width: 850px; }
.about-grid, .contact-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(230px, .8fr); gap: 1rem 1.55rem; }
.about-grid section, .contact-side, .contact-form-card { padding: clamp(1.05rem, 2.6vw, 1.68rem); border: 1px solid var(--line); border-radius: 10px; }
.about-grid h2, .contact-side h2, .contact-form-card h2 { margin-bottom: .5rem; font-size: clamp(1.45rem, 2.5vw, 2rem); }
.about-grid p, .contact-side p, .contact-form-card > p { margin-bottom: .71rem; color: var(--muted); }
.about-grid .text-link { display: inline-block; }
.contact-layout { align-items: start; padding-block: clamp(2rem, 4.6vw, 3.75rem); }
.contact-side { background: var(--panel); }
.contact-side hr { height: 1px; margin: 1rem 0; border: 0; background: var(--line); }
.contact-side h3 { margin-bottom: .45rem; }
.contact-side ul { padding-left: 1.2rem; }
.contact-form-card form, .venue-field { display: grid; gap: .44rem; }
.contact-form-card form { margin: .9rem 0; }
.contact-form-card label { margin-top: .35rem; font-weight: 800; }
.contact-form-card label span { color: var(--muted); font-weight: 600; }
.contact-form-card :is(input,select,textarea) { width: 100%; min-height: 46px; padding: .55rem .64rem; border: 1px solid #abc0de; border-radius: 6px; color: var(--ink); background: var(--paper); }
.contact-form-card textarea { resize: vertical; }
.field-hint, .form-status { color: var(--muted); font-size: .9rem; }
.form-status:empty { min-height: 0; }
.contact-form-card .actions { margin: .35rem 0; }
.draft-box { padding: .9rem; border-radius: 7px; background: var(--wash); }
.draft-box textarea { margin-top: .24rem; }

.legal-content { max-width: 840px; padding-block: clamp(2.1rem, 4.6vw, 3.8rem); }
.legal-content p { color: var(--muted); }
.legal-content section { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.legal-content h2 { margin-bottom: .55rem; font-size: clamp(1.45rem, 2.55vw, 1.95rem); }
.legal-content a { color: var(--blue); text-underline-offset: .19em; }
.legal-note { padding: .95rem; border-left: 3px solid var(--blue); background: var(--wash); }
.section { padding-block: clamp(2rem, 4vw, 3.5rem); }
.request-band :focus-visible { outline-color: #a5c3ff; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 3rem); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1030px) {
  .stage-layout { grid-template-columns: 1fr; gap: 1.15rem; }
  .studio-intro { min-height: 0; }
  .studio-intro::before { background: linear-gradient(90deg, #182635f7, #182635e8 43%, #18263573 68%, #111b2633); }
  .studio-photo img { object-position: center 54%; }
  .studio-copy { max-width: 27rem; }
  .studio-copy h1 { font-size: clamp(2.75rem, 6vw, 4.15rem); }
  .studio-copy h1 em { display: inline; }
}
@media (max-width: 840px) {
  html { scroll-padding-top: 79px; }
  .header-row { min-height: 62px; flex-wrap: wrap; gap: .55rem .8rem; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .main-nav { display: grid; width: 100%; max-height: calc(100dvh - 72px); gap: .25rem; overflow-y: auto; overscroll-behavior: contain; padding: .22rem .22rem .75rem; }
  .site-header:has(.menu-toggle[aria-expanded="false"]:not([hidden])) .main-nav { display: none; }
  .main-nav > a, .category-menu summary { width: 100%; padding-inline: .6rem; }
  .main-nav > .button { margin-top: .2rem; }
  .category-popover { position: static; width: 100%; margin: 0 0 .3rem; background: var(--panel); box-shadow: none; }
  .directory-grid, .studio-directory .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-hero, .detail-layout, .contact-layout, .about-grid, .support-guide { grid-template-columns: 1fr; }
  .category-sidebar { position: static; }
  .category-sidebar:has(.sidebar-toggle:not([hidden])) h2 { display: none; }
  .sidebar-toggle:not([hidden]) { display: flex; }
  .category-sidebar:has(.sidebar-toggle[aria-expanded="false"]:not([hidden])) nav { display: none; }
}
@media (max-width: 550px) {
  .wrap { width: calc(100% - 2rem); }
  .studio-copy { padding: 1.2rem; }
  .studio-copy h1 { font-size: clamp(2.72rem, 8.9vw, 3.8rem); }
  .studio-copy h1 em { display: block; }
  .studio-copy > p:not(.area-label) { margin-top: .8rem; }
  .studio-intro::before { background: linear-gradient(90deg, #182635f7, #182635df 59%, #18263585); }
  .directory-grid, .studio-directory .directory-grid, .support-options { grid-template-columns: 1fr; }
  .directory-grid { gap: .66rem; }
  .card-copy { min-height: 152px; }
  .request-band { display: grid; justify-items: start; }
  .footer-grid { gap: 1.3rem .65rem; }
}
@media (max-width: 340px) {
  .footer-grid { grid-template-columns: 1fr; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .category-card > a:hover { transform: translateY(-2px); }
  .category-card > a:hover .category-art:not(.category-art--logo) img { transform: scale(1.035); }
}

@keyframes arrive {
  from { transform: translateY(7px); opacity: .83; }
  to { transform: none; opacity: 1; }
}
@keyframes open-panel {
  from { transform: translateY(-5px); opacity: .55; }
  to { transform: none; opacity: 1; }
}
@keyframes frame-settle {
  from { transform: scale(1.025); }
  to { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .studio-copy, .studio-directory > h2, .directory--page > h1 { animation: arrive .5s var(--ease-out) both; }
  .studio-photo img { animation: frame-settle .9s var(--ease-out) both; }
  .directory-grid > .card-visible { animation: arrive .47s var(--ease-out) both; animation-delay: var(--stagger, 35ms); }
  .directory-grid > .category-card:nth-child(2) { --stagger: 60ms; }
  .directory-grid > .category-card:nth-child(3) { --stagger: 85ms; }
  .directory-grid > .category-card:nth-child(4) { --stagger: 110ms; }
  .directory-grid > .category-card:nth-child(5) { --stagger: 135ms; }
  .directory-grid > .category-card:nth-child(6) { --stagger: 160ms; }
  .category-card:focus-within { animation: none; }
  .category-menu[open] > .category-popover, .accordion details[open] > p, .draft-box:not([hidden]) { animation: open-panel .22s var(--ease-out) both; }
  .category-menu summary svg, .sidebar-toggle svg, .accordion summary svg, .hamburger i { transition: transform .22s var(--ease-out); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.home-projects, .portfolio-content, .project-detail { padding-block: clamp(1.85rem, 4.3vw, 3.7rem); }
.home-projects { border-top: 1px solid var(--line); }
.home-projects > .text-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: .8rem; }
.section-heading { display: grid; gap: .48rem; margin-bottom: 1.25rem; }
.section-heading p, .project-copy > p:not(.project-meta) { color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.85rem, 2.4vw, 1.35rem); }
.service-projects .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-projects .project-card:only-child { grid-column: 1 / -1; max-width: 36rem; }
.project-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); transition: border-color .18s ease; }
.project-card:is(:hover,:focus-within) { border-color: #8297b5; }
.project-cover { display: block; overflow: hidden; aspect-ratio: 3 / 2; border-radius: 11px 11px 0 0; background: var(--panel); }
.project-cover img { width: 100%; height: 100%; object-fit: cover; }
.project-copy { display: flex; flex: 1; flex-direction: column; gap: .54rem; padding: 1rem 1rem .82rem; }
.project-copy h3 a { text-decoration: none; }
.project-copy h3 a:hover { text-decoration: underline; text-underline-offset: .16em; }
.project-copy > p { line-height: 1.5; }
.project-meta, .project-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .65rem; }
.project-meta { color: var(--muted); font-size: .82rem; }
.project-meta .status { flex: none; }
.project-disclosure { font-size: .84rem; }
.project-actions { margin-top: auto; }
.project-actions a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; text-underline-offset: .2em; }
.project-detail { display: grid; gap: clamp(1rem, 3vw, 2rem); max-width: min(915px, var(--wrap)); }
.project-detail .detail-block p + *, .project-detail .detail-block > * + p, .nfc-demo-options + dl { margin-top: 1rem; }
.project-detail-image img { width: 100%; max-height: 480px; object-fit: cover; border-radius: 12px; }
.project-detail-image figcaption, .service-photo figcaption { margin-top: .5rem; color: var(--muted); font-size: .86rem; }

.restaurant-demo { overflow: hidden; border: 1px solid #cfc6b5; border-radius: 12px; color: #29251b; background: #f4ecdf; }
.restaurant-navigation { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem 1.2rem; padding: .65rem clamp(1rem, 3vw, 1.85rem); }
.restaurant-navigation > div { display: flex; flex-wrap: wrap; gap: .3rem .95rem; }
.restaurant-navigation a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: .2em; }
.restaurant-brand, .restaurant-hero h2 { font-family: Georgia, serif; font-weight: 400; }
.restaurant-brand { font-size: 1.5rem; text-decoration: none; }
.restaurant-hero { position: relative; isolation: isolate; display: grid; min-height: clamp(15rem, 49vw, 26rem); align-items: end; padding: clamp(1rem, 4.6vw, 3rem); color: white; background: #30291f; }
.restaurant-hero img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.restaurant-hero::before { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(0deg, #19140fe8, #19140f1a 88%); }
.restaurant-hero h2 { font-size: clamp(2rem, 6vw, 3.95rem); }
.restaurant-hero p { max-width: 44ch; margin-top: .6rem; }
.restaurant-hero .button { margin-top: .95rem; color: #30291f; background: #f4ecdf; }
.restaurant-hero .button:hover { background: #fff; }
.restaurant-section { padding: clamp(1rem, 4vw, 2.2rem); }
.restaurant-section + .restaurant-section { border-top: 1px solid #d5cbb9; }
.restaurant-section p { margin-top: .5rem; }
.restaurant-section .text-link { display: inline-block; margin-top: .5rem; }
.restaurant-menu { margin-bottom: 0; }
.restaurant-menu div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .55rem; border-bottom: 1px solid #d5cbb9; }
.restaurant-menu dd { margin: 0; white-space: nowrap; }

.nfc-demo-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.nfc-demo-card { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.nfc-demo-card p { margin-block: .45rem; }
.nfc-qr-card { display: grid; grid-template-columns: minmax(90px, 120px) minmax(0, 1fr); align-items: start; gap: .9rem; }
.nfc-qr-card img { max-width: 120px; height: auto; border: 1px solid var(--line); border-radius: 5px; }
.nfc-disclosure summary { min-height: 44px; padding: .55rem .05rem; color: var(--blue); font-weight: 800; cursor: pointer; }
.nfc-disclosure a { display: flex; align-items: center; min-height: 44px; }

.bot-demo { max-width: 42rem; padding: clamp(.9rem, 3.4vw, 1.5rem); border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.bot-messages { display: flex; flex-direction: column; gap: .55rem; max-height: 18rem; margin: .9rem 0; overflow-y: auto; padding: .15rem; list-style: none; }
.bot-messages li { max-width: min(84%, 28rem); padding: .58rem .75rem; border-radius: 8px; }
.bot-answer { align-self: start; border: 1px solid var(--line); background: var(--paper); }
.bot-question { align-self: end; color: white; background: var(--dark); }
.bot-actions { margin-top: .55rem; }
.bot-actions .button { font-size: .9rem; }

.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem .85rem; }
#request-form label { display: block; margin-bottom: .22rem; line-height: 1.35; }
.venue-field { min-width: 0; margin: .6rem 0 .15rem; padding: .65rem .75rem .8rem; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.venue-field legend { padding-inline: .2rem; font-weight: 800; }
.venue-field legend span { font-weight: 600; }
.website-field { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
#request-submit:disabled { cursor: default; opacity: .72; }
.form-status:not(:empty) { padding: .5rem .65rem; border-radius: 5px; background: var(--panel); }

@media (max-width: 900px) { .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 550px) {
  .project-grid, .service-projects .project-grid, .nfc-demo-options, .form-row { grid-template-columns: 1fr; }
  #request-submit { width: 100%; }
  .restaurant-navigation { gap: 0 .8rem; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .project-cover img { transition: transform .35s var(--ease-out); }
  .project-card:hover .project-cover img { transform: scale(1.025); }
}

.product-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.product-gallery figure { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.product-gallery img { aspect-ratio: 3 / 2; object-fit: cover; }
.product-gallery figcaption { padding: .55rem .75rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 550px) { .product-gallery { grid-template-columns: 1fr; } }
