/* Y&V Studio
   Navy and silver come from the logo; amber is the arm-light glow on the backdrops. */

:root {
  --navy: #0F1C2C;
  --navy-2: #172A42;
  --navy-3: #243A58;
  --silver: #C4C7CC;
  --paper: #F2F4F7;
  --white: #FFFFFF;
  --line: #DCE1E8;
  --muted: #5A6577;
  --amber: #F5B841;
  --amber-deep: #E3A01C;
  --focus: #2F6FEB;

  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --display: "Manrope", system-ui, sans-serif;
  --display-weight: 700;
  --display-track: -0.035em;
  --display-scale: 1;
  --letters-font: "Manrope", Arial, sans-serif;
  --letters-weight: 800;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 0.95rem/1 var(--font);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: var(--amber-deep); }
.btn-primary[aria-disabled="true"] { background: var(--navy-3); color: var(--silver); cursor: not-allowed; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-quiet { border-color: var(--line); background: var(--white); color: var(--navy); }
.btn-quiet:hover { border-color: var(--navy); }
.text-link { font-weight: 600; text-underline-offset: 3px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 12px; border-radius: 999px;
  font-weight: 500; font-size: .95rem; text-decoration: none; color: var(--muted);
}
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); background: var(--paper); }
.header-wa { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.header-quote { min-height: 40px; padding: 0 14px; font-size: .9rem; gap: 6px; }
.header-quote .ql-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: inline-grid; place-items: center; font-size: .78rem; font-weight: 700;
  background: var(--paper); color: var(--muted);
}
.header-quote.has-items .ql-count { background: var(--amber); color: var(--navy); }
.header-quote.pulse .ql-count { animation: ql-pulse .5s ease; }
@keyframes ql-pulse { 50% { transform: scale(1.35); } }

@media (max-width: 1100px) {
  .header-inner { gap: 16px; }
  .nav a { padding: 8px 9px; white-space: nowrap; }
}
@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; gap: 0 12px; min-height: 0; padding-top: 10px; }
  .header-quote { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 6px 0 4px; overflow-x: auto; scrollbar-width: none; }
  .nav a { padding: 6px 10px; font-size: .9rem; }
}
@media (max-width: 760px) {
  .brand img { height: 32px; }
  .header-quote { min-height: 36px; padding: 0 10px; }
  .header-wa { min-height: 36px; padding: 0 14px; }
}

/* ---------- hero ---------- */

.hero { padding: clamp(24px, 4vw, 44px) 0 clamp(16px, 2vw, 24px); }
.hero h1 {
  font-size: calc(clamp(1.9rem, 4.2vw, 3.2rem) * var(--display-scale));
  font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track);
  line-height: 1.02;
  max-width: 22ch;
}
.hero-sub { margin-top: 10px; max-width: 56ch; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--muted); }

/* ---------- configurator ---------- */

.cfg { padding-bottom: clamp(32px, 5vw, 64px); }

.cfg-tabs {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;
  padding: 2px;
}
@media (max-width: 900px) {
  .cfg-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
}
.cfg-tabs::-webkit-scrollbar { display: none; }
.cfg-tab {
  position: relative; flex: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: .92rem; white-space: nowrap;
  transition: border-color .15s, background-color .15s, color .15s;
}
.cfg-tab input { position: absolute; opacity: 0; pointer-events: none; }
.cfg-tab:hover { border-color: var(--navy); }
.cfg-tab:has(input:checked) { background: var(--navy); border-color: var(--navy); color: var(--white); }
.cfg-tab:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.cfg-tab-icon { color: var(--navy-3); display: flex; }
.cfg-tab-icon svg { width: 26px; height: 21px; }
.cfg-tab:has(input:checked) .cfg-tab-icon { color: var(--amber); }

.cfg-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.cfg-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; position: sticky; top: 84px; }

/* the stage */
.stage {
  position: relative; margin: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, #22395A 0%, var(--navy-2) 45%, var(--navy) 100%);
  border-radius: var(--r-l);
  overflow: hidden;
  color: var(--white);
}
#stage-svg { display: block; width: 100%; height: auto; }
.stage-hud {
  position: absolute; inset: 14px 14px auto 14px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
  pointer-events: none;
}
.stage-hud > * { pointer-events: auto; }
.stage-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.stage-chips span {
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); color: var(--white);
  font-size: .82rem; font-weight: 600;
}
.stage-caption { padding: 0 16px 12px; font-size: .78rem; color: rgba(196, 199, 204, .75); }
.stage-block {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 24px; text-align: center;
  background: rgba(15, 28, 44, .82);
  backdrop-filter: blur(2px);
}
.stage-block p { max-width: 36ch; font-size: 1.05rem; }

/* svg parts */
.grid line { stroke: rgba(196, 199, 204, .08); stroke-width: 1; }
.grid-label { fill: rgba(196, 199, 204, .45); font: 500 12px var(--font); }
.floor { fill: rgba(0, 0, 0, .18); }
.floor-line { stroke: rgba(196, 199, 204, .35); stroke-width: 1.5; }
.face-text { font-family: var(--display); font-weight: var(--display-weight); }
.letters { font-family: var(--letters-font); font-weight: var(--letters-weight); }
.arm { stroke: #2B2F36; stroke-width: 3; fill: none; stroke-linecap: round; }
.lamp { fill: #FFE7B0; }
.foot { fill: #2B2F36; }
.alu { fill: #C9CDD3; }
.easel line { stroke: #B88A55; stroke-width: 5; stroke-linecap: round; }
.person { fill: var(--silver); stroke: var(--silver); stroke-linecap: round; }
.person circle, .person path { stroke: none; }
.dim line { stroke: var(--silver); stroke-width: 1.5; }
.dim-label { fill: var(--white); font: 600 15px var(--font); }
.dim-sub { fill: var(--silver); font-weight: 400; }
.walk-label { fill: var(--silver); font: 500 13px var(--font); opacity: .8; }
.is-compact .dim-label { font-size: 21px; }
.is-compact .walk-label { font-size: 17px; }
.is-compact .grid-label { font-size: 15px; }

/* segmented control */
.seg {
  display: inline-flex; padding: 3px; gap: 2px;
  background: var(--paper); border-radius: 999px;
}
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: block; padding: 7px 14px; border-radius: 999px;
  font-size: .9rem; font-weight: 600; color: var(--muted); white-space: nowrap;
}
.seg span small { font-weight: 500; opacity: .75; }
.seg input:checked + span { background: var(--white); color: var(--navy); box-shadow: 0 1px 2px rgba(15, 28, 44, .14); }
.seg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 1px; }
.seg-dark { background: rgba(255, 255, 255, .1); }
.seg-dark span { color: var(--silver); font-size: .82rem; padding: 6px 11px; }
.seg-dark input:checked + span { background: var(--white); color: var(--navy); }

/* quote */
.quote {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 260px); gap: 24px; align-items: center;
  padding: 18px 20px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l);
}
.quote-lines { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.quote-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; }
.quote-lines li span:last-child { font-weight: 600; white-space: nowrap; }
.quote-includes { margin-top: 8px; font-size: .84rem; color: var(--muted); }
.quote-total { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.quote-label { display: block; font-size: .84rem; color: var(--muted); }
.quote-amount {
  display: block;
  font-size: calc(clamp(2rem, 3.4vw, 2.6rem) * var(--display-scale)); font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track);
  line-height: 1.05;
}
.quote-amount.is-na { font-size: 1.4rem; }
.quote-note { display: block; font-size: .8rem; color: var(--muted); max-width: 30ch; }

/* controls */
.cfg-controls {
  min-width: 0;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l);
  padding: 6px 20px;
}
.field { border: 0; margin: 0; padding: 16px 0; min-width: 0; }
.field:not([hidden]) ~ .field { border-top: 1px solid var(--line); }
.field legend, .field .legend {
  display: block; width: 100%; padding: 0; margin-bottom: 10px;
  font-weight: 700; font-size: .95rem;
}
.field legend { float: left; }
.field legend + * { clear: both; }
.legend-note { font-weight: 400; color: var(--muted); font-size: .84rem; margin-left: 4px; }
.hint { margin-top: 8px; font-size: .84rem; color: var(--muted); }
.hint a { color: var(--navy); font-weight: 600; }

.dims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dim label, .qty label { display: block; font-size: .84rem; color: var(--muted); margin-bottom: 4px; }
.stepper {
  display: flex; align-items: center;
  border: 1.5px solid var(--line); border-radius: var(--r-m); background: var(--white);
  overflow: hidden;
}
.stepper:focus-within { border-color: var(--navy); }
.stepper button {
  flex: none; width: 40px; height: 48px; border: 0; background: var(--paper);
  font: 600 1.25rem/1 var(--font); color: var(--navy); cursor: pointer;
}
.stepper button:hover { background: var(--line); }
.stepper input {
  width: 100%; min-width: 0; height: 48px; border: 0; padding: 0 0 0 10px;
  font: 700 1.2rem var(--font); color: var(--navy); text-align: right;
  background: transparent;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }
.unit { padding: 0 10px 0 4px; color: var(--muted); font-size: .9rem; }
.qty { margin-top: 12px; max-width: 220px; }
.qty-stepper { max-width: 220px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip {
  padding: 6px 12px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white);
  font: 600 .84rem var(--font); color: var(--navy); cursor: pointer;
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

.text {
  width: 100%; height: 46px; padding: 0 12px;
  border: 1.5px solid var(--line); border-radius: var(--r-m);
  font: 500 1rem var(--font); color: var(--navy); background: var(--white);
}
.text:focus { border-color: var(--navy); outline: none; }
.text:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch > span:first-of-type {
  display: block; width: 34px; height: 34px; border-radius: 50%;
  background: var(--c); box-shadow: inset 0 0 0 1px rgba(15, 28, 44, .18);
  transition: transform .12s;
}
.swatch input:checked + span { box-shadow: inset 0 0 0 1px rgba(15, 28, 44, .18), 0 0 0 2px var(--white), 0 0 0 4px var(--navy); }
.swatch input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 4px; }
.swatch:hover > span:first-of-type { transform: scale(1.08); }
.swatches-sm { gap: 6px; }
.swatches-sm .swatch > span:first-of-type { width: 28px; height: 28px; }

.options { display: grid; gap: 8px; }
.options-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.options-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-m);
}
.option:hover { border-color: var(--navy); }
.option:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #F7F9FC; }
.option:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.option-name { font-weight: 700; font-size: .95rem; }
.option-meta { font-size: .8rem; color: var(--muted); }

.toggle { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 4px 0; }
.toggle + .toggle { margin-top: 6px; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-track {
  flex: none; position: relative; width: 44px; height: 26px; border-radius: 999px;
  background: var(--line); transition: background-color .15s;
}
.toggle-track::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--white); box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  transition: transform .15s;
}
.toggle input:checked + .toggle-track { background: var(--navy); }
.toggle input:checked + .toggle-track::after { transform: translateX(18px); }
.toggle input:focus-visible + .toggle-track { outline: 3px solid var(--focus); outline-offset: 2px; }
.toggle-text { font-weight: 500; }
.toggle-price { color: var(--muted); font-size: .88rem; margin-left: 4px; }

@media (max-width: 1080px) {
  .cfg-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .quote { grid-template-columns: 1fr; }
  .quote-total { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

@media (max-width: 900px) {
  .cfg-grid { grid-template-columns: minmax(0, 1fr); }
  .cfg-main { display: contents; }
  .site-header { position: static; }
  .stage { position: sticky; top: 0; z-index: 5; order: 1; box-shadow: 0 8px 20px rgba(15, 28, 44, .18); }
  .cfg-controls { order: 2; }
  .quote { order: 3; }
  .cfg-main { position: static; }
  .quote-total {
    flex-direction: row; justify-content: space-between;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(15, 28, 44, .08);
    align-items: center;
  }
  .quote-amount { font-size: 1.7rem; }
  .quote-note { display: none; }
  body:has(.cfg) { padding-bottom: 76px; }
  .stage-caption { display: none; }
}

@media (max-width: 560px) {
  .stage-hud { inset: 8px 8px auto 8px; }
  .stage-chips span { font-size: .74rem; padding: 4px 8px; }
  .seg-dark span { font-size: .74rem; padding: 5px 8px; }
  .cfg-controls { padding: 4px 16px; }
  .options-3 { grid-template-columns: 1fr; }
  .btn-wa span { display: none; }
  .btn-wa { min-width: 52px; padding: 0 16px; }
  .btn-wa::after { content: "WhatsApp"; }
}

/* ---------- sections ---------- */

.section { padding: clamp(40px, 6vw, 72px) 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title {
  font-size: calc(clamp(1.6rem, 3vw, 2.2rem) * var(--display-scale));
  font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track);
}
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.page-top { padding-top: clamp(36px, 5vw, 64px); }
.page-title {
  font-size: calc(clamp(2.2rem, 5vw, 3.6rem) * var(--display-scale));
  font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); line-height: 1.04;
}
.lede { margin-top: 14px; max-width: 60ch; font-size: 1.08rem; color: var(--muted); }

.products-extra { margin-top: 18px; color: var(--muted); }


.steps {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  counter-reset: step;
}
.steps li { counter-increment: step; display: grid; gap: 6px; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--amber);
  font-weight: 700; font-size: 1.05rem; margin-bottom: 8px;
}
.steps h3 { font-size: 1.15rem; font-weight: 700; }
.steps p { color: var(--muted); max-width: 36ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 22px; } }

.bday-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--navy); color: var(--white); border-radius: var(--r-l);
}
.bday-band p { margin-top: 10px; color: var(--silver); max-width: 56ch; }
@media (max-width: 760px) { .bday-band { flex-direction: column; align-items: flex-start; } }

.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 32px 16px 0; position: relative;
  font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 12px;
  font-size: 1.5rem; font-weight: 400; color: var(--muted); transition: transform .15s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); max-width: 64ch; }
.faq details ul { margin: -8px 0 0; padding: 0 0 18px 20px; color: var(--muted); max-width: 64ch; }
@media (max-width: 760px) { .faq-wrap { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- portfolio ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 8px; }
.filters a {
  padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white);
  text-decoration: none; font-weight: 600; font-size: .9rem;
}
.filters a:hover { border-color: var(--navy); }
.filters a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-top: 24px; }
.work-link { display: block; text-decoration: none; }
.work-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-m); background: var(--line); }
.work-size { margin-top: 12px; font-size: calc(1.4rem * var(--display-scale)); font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); }
.work-card h3 { margin-top: 2px; font-size: 1.05rem; font-weight: 600; }
.work-meta { font-size: .88rem; color: var(--muted); }
.work-link:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

.crumb { margin-bottom: 14px; }
.crumb a { color: var(--muted); font-weight: 600; text-underline-offset: 3px; }
.job-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; margin-bottom: 22px; }
.job-facts { margin: 0; display: grid; gap: 10px; padding: 18px 20px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l); }
.job-facts div { display: flex; justify-content: space-between; gap: 16px; }
.job-facts dt { color: var(--muted); }
.job-facts dd { margin: 0; font-weight: 600; text-align: right; }
.job-size { font-size: 1.3rem; font-weight: 700 !important; }
.job-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.job-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.job-photos a { display: block; border-radius: var(--r-m); overflow: hidden; background: var(--line); }
.job-photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s; }
.job-photos a:hover img { transform: scale(1.03); }
@media (max-width: 760px) { .job-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh; overflow: hidden;
}
.lightbox::backdrop { background: rgba(10, 18, 30, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: calc(100vw - 120px); max-height: calc(100vh - 80px); width: auto; height: auto; border-radius: var(--r-s); }
.lightbox button {
  position: absolute; border: 0; cursor: pointer; color: var(--white);
  background: rgba(255, 255, 255, .12); border-radius: 50%; width: 48px; height: 48px;
  font: 400 1.8rem/1 var(--font);
}
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 760px) { .lightbox img { max-width: calc(100vw - 24px); } .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; } }
@media (max-width: 760px) { .job-head { grid-template-columns: 1fr; } }

.empty {
  margin-top: 28px; padding: clamp(28px, 5vw, 56px);
  background: var(--white); border: 1.5px dashed var(--silver); border-radius: var(--r-l);
}
.empty h2 { font-size: calc(1.5rem * var(--display-scale)); font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); }
.empty p { margin-top: 10px; color: var(--muted); max-width: 56ch; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px !important; }

/* ---------- birthday packages ---------- */

.pkg-group { margin-top: clamp(40px, 6vw, 64px); }
.pkg-intro { margin-top: 8px; color: var(--muted); }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; margin-top: 22px; }
.pkg {
  display: flex; flex-direction: column;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l); overflow: hidden;
}
.pkg-art { display: block; width: 100%; height: auto; background: #FBF8F6; padding: 14px 12px 0; }
.pa-text { font: italic 500 7px var(--display); fill: #3A3340; }
.pkg-body { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 20px; flex: 1; }
.pkg-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pkg-head h3 { font-size: 1.1rem; font-weight: 700; }
.pkg-price { font-size: calc(1.5rem * var(--display-scale)); font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); white-space: nowrap; }
.pkg-list { margin: 0; padding-left: 18px; color: var(--muted); font-size: .92rem; }
.pkg-list li + li { margin-top: 2px; }
.pkg-note { font-size: .86rem; font-weight: 600; }
.pkg .btn { margin-top: auto; align-self: flex-start; }

.addons { width: 100%; max-width: 760px; margin-top: 18px; border-collapse: collapse; background: var(--white); border-radius: var(--r-l); overflow: hidden; border: 1.5px solid var(--line); }
.addons th, .addons td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.addons tr:last-child th, .addons tr:last-child td { border-bottom: 0; }
.addons th { font-weight: 600; }
.addons td { color: var(--muted); }
@media (max-width: 560px) {
  .addons th, .addons td { display: block; border: 0; padding: 0 16px; }
  .addons th { padding-top: 12px; }
  .addons td { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
}
.pkg-group + .bday-band, .page-top .bday-band { margin-top: clamp(40px, 6vw, 64px); }

/* ---------- footer ---------- */

.site-footer { background: var(--navy); color: var(--silver); padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand img { width: 120px; height: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 34ch; }
.footer-col h2 { font-size: 1rem; color: var(--white); margin-bottom: 10px; }
.footer-col p + p { margin-top: 6px; }
.footer-col a { color: var(--white); text-underline-offset: 3px; }
.footer-base { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(196, 199, 204, .18); font-size: .85rem; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

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

.faq details a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }

/* ---------- artwork guide ---------- */
.quote-artwork { margin-top: 4px; font-size: .84rem; color: var(--muted); }
.quote-artwork a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }
.guide .lede { margin-bottom: 28px; }
.guide-summary {
  max-width: 760px; padding: 22px 26px; margin-bottom: 8px;
  background: var(--navy); color: var(--white); border-radius: var(--r-l);
}
.guide-summary h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%230F1C2C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.guide-body { max-width: 760px; }
.guide-section { padding: 30px 0; border-bottom: 1px solid var(--line); }
.guide-section h2 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); font-size: 1.45rem; margin-bottom: 12px; }
.guide-section p + p, .guide-section p + ul, .guide-section ul + p { margin-top: 10px; }
.guide-section ul { margin: 0; padding-left: 20px; }
.guide-section li + li { margin-top: 6px; }
.callout { margin-top: 16px; padding: 16px 18px; background: #FFF6DD; border-left: 4px solid var(--amber); border-radius: var(--r-s); }
.ratio-tool { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 6px; }
.ratio-tool .stepper { width: 170px; }
.ratio-tool .unit { white-space: nowrap; }
.ratio-x { color: var(--muted); }
.ratio-out { font-size: 1.1rem; }
.ratio-out strong { font-size: 1.5rem; font-weight: 800; margin-left: 6px; }
.guide .bday-band { margin-top: 40px; }
.ratio-results { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 8px; }
.ratio-results div { padding: 12px 16px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-m); min-width: 150px; }
.ratio-results dt { font-size: .82rem; color: var(--muted); }
.ratio-results dd { margin: 2px 0 0; font-size: 1.2rem; font-weight: 800; }
.ratio-results .ratio-main { background: var(--navy); border-color: var(--navy); color: var(--white); }
.ratio-results .ratio-main dt { color: var(--silver); }

/* ---------- price list ---------- */
.price-list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 2px solid var(--navy); }
.price-list li {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 8px 18px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.pl-icon { color: var(--navy-3); display: flex; }
.pl-icon svg { width: 32px; height: 26px; }
.pl-text h3 { font-size: 1.05rem; font-weight: 700; }
.pl-text p { color: var(--muted); font-size: .9rem; margin-top: 2px; max-width: 70ch; }
.pl-action { display: flex; align-items: center; gap: 14px; }
.pl-price { font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.price-list .btn { min-height: 40px; padding: 0 16px; }
@media (max-width: 760px) {
  .price-list li { grid-template-columns: 28px minmax(0, 1fr); align-items: start; }
  .pl-icon { padding-top: 2px; }
  .pl-icon svg { width: 26px; height: 21px; }
  .pl-action { grid-column: 2; justify-content: space-between; }
  .price-list .btn { min-height: 36px; }
}

/* ---------- rentals ---------- */
.sub-label { display: block; font-size: .84rem; color: var(--muted); margin: 0 0 4px; }
.rental-row { display: grid; gap: 10px; }
.sidewalls { display: grid; gap: 8px; margin-bottom: 10px; }
.qty-stepper input { flex: 1 1 4ch; min-width: 3ch; }
.sidewalls .qty-stepper { max-width: none; }
select.text { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230F1C2C' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; }
.rent-links { margin-top: 8px; color: var(--muted); }
.rent-links a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }
.rent-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; margin-top: 26px; }
.rent-group + .rent-group { margin-top: 28px; }
.rent-terms { margin-top: 40px; max-width: 760px; }
.rent-terms h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.rent-terms ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
.rent-terms strong { color: var(--navy); }
.mq-intro { margin: 0 0 12px; }
.mq-size { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.mq-extras .toggle { width: 100%; }
.rent-group h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.rent-group ul { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.rent-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.rent-item:last-child { border-bottom: 0; }
.rent-item.is-on { background: #F7F9FC; }
.rent-name { font-weight: 600; }
.rent-price { font-size: .86rem; color: var(--muted); }
.rent-stepper { flex: none; width: 136px; }
.rent-stepper button { width: 38px; height: 40px; }
.rent-stepper input { height: 40px; text-align: center; padding: 0; font-size: 1.05rem; }
.rent-summary { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 14px; padding: 20px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l); }
.rent-summary h2 { font-size: 1.15rem; font-weight: 700; }
.rent-empty { color: var(--muted); }
.rent-options { display: grid; gap: 4px; }
.rent-options .sub-label { margin-top: 8px; }
.rent-options .qty-stepper { max-width: 200px; }
.rent-summary .btn { width: 100%; }
@media (max-width: 900px) {
  .rent-grid { grid-template-columns: 1fr; }
  .rent-summary { position: static; }
}

/* ---------- quote list ---------- */

.quote-actions { display: grid; gap: 8px; }
.btn-add.is-done { border-color: #2E7D4F; color: #2E7D4F; }
.btn-add:disabled { opacity: .5; cursor: not-allowed; }
.rent-summary .btn-add { width: 100%; margin-top: 8px; }
.ql .quote-note { display: block; }
@media (max-width: 1080px) { .quote-actions { display: flex; } }
@media (max-width: 560px) {
  .quote-actions .btn-add { padding: 0 14px; }
  .quote-actions .btn-add span { display: none; }
  .quote-actions .btn-add::after { content: attr(data-short); }
  .quote-actions .btn-add.is-done::after { content: attr(data-done); }
}

.ql {
  margin: 0 0 0 auto; height: 100dvh; max-height: none; width: min(440px, 100vw); max-width: 100vw;
  padding: 0; border: 0; background: var(--white); color: var(--navy);
  display: flex; flex-direction: column;
}
.ql:not([open]) { display: none; }
.ql::backdrop { background: rgba(15, 28, 44, .45); }
.ql-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.ql-head h2 { font-size: 1.2rem; font-weight: 700; margin: 0; }
.ql-close { width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--paper); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--navy); }
.ql-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.ql-empty p { color: var(--muted); margin: 0 0 10px; }
.ql-empty p:first-child { color: var(--navy); font-weight: 600; }
.ql-empty-links { display: flex; gap: 8px; flex-wrap: wrap; }
.ql-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ql-item { border: 1.5px solid var(--line); border-radius: var(--r-m); padding: 12px 14px; }
.ql-item-top { display: flex; justify-content: space-between; gap: 12px; }
.ql-item-title { font-weight: 700; margin: 0; }
.ql-item-amount { font-weight: 700; margin: 0; white-space: nowrap; }
.ql-item-amount small { font-weight: 500; color: var(--muted); }
.ql-item-lines { list-style: none; margin: 4px 0 0; padding: 0; font-size: .84rem; color: var(--muted); }
.ql-item-actions { display: flex; gap: 16px; margin: 8px 0 0; font-size: .86rem; }
.ql-item-actions a, .ql-item-actions button { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }
.ql-item-actions button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; }
.ql-order { display: grid; gap: 4px; margin-top: 18px; }
.ql-order .sub-label { margin-top: 8px; }
.ql-rent { display: grid; gap: 4px; }
.ql-rent[hidden] { display: none; }
.ql-extras { margin-top: 16px; }
.ql-foot { border-top: 1px solid var(--line); padding: 14px 20px 18px; display: grid; gap: 10px; }
.ql-foot[hidden] { display: none; }
.ql-clear { justify-self: center; background: none; border: 0; color: var(--muted); font: inherit; font-size: .84rem; text-decoration: underline; cursor: pointer; }
