/* ==========================================================
   تابان — Persian storefront
   ========================================================== */
:root {
  --cream: #FFF6E8;
  --cream-2: #FBEEDA;
  --sand: #F3E3C7;
  --sand-2: #E8D2AC;
  --ink: #2B1D14;
  --ink-2: #5A4636;
  --ink-3: #7A6352;
  --terra: #C8553D;
  --terra-d: #A8432E;
  --teal: #1F8A8A;
  --teal-d: #145F5F;
  --teal-dd: #0F4A4A;
  --gold: #E9B44C;
  --gold-d: #B9862A;

  --radius: 18px;
  --wrap: 1240px;
  --shadow: 0 1px 0 rgba(43, 29, 20, .06), 0 18px 40px -22px rgba(43, 29, 20, .35);
  --star: polygon(50% 0%, 64.2% 15.8%, 85.4% 14.6%, 84.2% 35.8%, 100% 50%, 84.2% 64.2%, 85.4% 85.4%, 64.2% 84.2%, 50% 100%, 35.8% 84.2%, 14.6% 85.4%, 15.8% 64.2%, 0% 50%, 15.8% 35.8%, 14.6% 14.6%, 35.8% 15.8%);

  /* girih tile (8-point star lattice) */
  --girih: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C8553D' stroke-opacity='.16' stroke-width='1'%3E%3Crect x='20' y='20' width='40' height='40'/%3E%3Crect x='20' y='20' width='40' height='40' transform='rotate(45 40 40)'/%3E%3Cpath d='M40 0v11.7M40 68.3V80M0 40h11.7M68.3 40H80M0 0l20 20M80 0L60 20M0 80l20-20M80 80L60 60'/%3E%3Ccircle cx='40' cy='40' r='7'/%3E%3C/g%3E%3C/svg%3E");
  --girih-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23FFF6E8' stroke-opacity='.10' stroke-width='1'%3E%3Crect x='20' y='20' width='40' height='40'/%3E%3Crect x='20' y='20' width='40' height='40' transform='rotate(45 40 40)'/%3E%3Cpath d='M40 0v11.7M40 68.3V80M0 40h11.7M68.3 40H80M0 0l20 20M80 0L60 20M0 80l20-20M80 80L60 60'/%3E%3Ccircle cx='40' cy='40' r='7'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--terra-d); }
h1, h2, h3 { margin: 0; line-height: 1.3; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s;
}
.btn--lg { padding: .85em 1.7em; font-size: 17px; }
.btn--block { display: flex; width: 100%; }
.btn--terra { background: var(--terra); color: #fff; box-shadow: 0 6px 0 var(--terra-d), 0 14px 26px -12px rgba(200, 85, 61, .7); }
.btn--terra:hover { background: #d25f47; transform: translateY(-2px); }
.btn--terra:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--terra-d); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--cream); }

/* ---------- typography helpers ---------- */
.display, .h2, .lalezar { font-family: "Lalezar", "Vazirmatn", sans-serif; font-weight: 400; letter-spacing: 0; }
.h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.25; color: var(--ink); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 14px; color: var(--terra-d); margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 14px; height: 14px; background: var(--gold); clip-path: var(--star); }
.eyebrow--light { color: var(--gold); }

.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head__lead { color: var(--ink-2); font-size: 18px; margin-top: 12px; }
.sec-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 60px; align-items: end; }
.sec-head--split .sec-head__lead { margin: 0; }

.section { padding-block: 110px; position: relative; }
.section--sand { background: var(--sand); }
.section--cream2 { background: var(--cream-2); }

/* ==========================================================
   HEADER
   ========================================================== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 246, 232, .88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.topbar::before { /* thin tile strip */
  content: ""; display: block; height: 6px;
  background: repeating-linear-gradient(90deg, var(--terra) 0 24px, var(--gold) 24px 30px, var(--teal) 30px 54px, var(--gold) 54px 60px);
}
.topbar.is-stuck { border-color: var(--sand-2); box-shadow: 0 10px 30px -20px rgba(43, 29, 20, .5); background: rgba(255, 246, 232, .96); }
.topbar__inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand img { width: 150px; height: auto; }
.menu { display: flex; gap: 6px; margin-inline-start: auto; }
.menu a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px;
  padding: 8px 12px; border-radius: 999px; transition: background-color .2s, color .2s;
}
.menu a:hover { background: var(--sand); color: var(--terra-d); }
.menu__cta-mobile { display: none; }
.topbar__actions { display: flex; align-items: center; gap: 12px; }
.topbar__cta { padding: .6em 1.2em; font-size: 15px; box-shadow: 0 4px 0 var(--terra-d); }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 2px solid var(--ink); background: transparent; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; inset-inline: 11px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 20.5px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; padding-top: 64px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(233, 180, 76, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(31, 138, 138, .10), transparent 60%),
    var(--girih) 0 0 / 80px 80px,
    var(--cream);
}
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding-bottom: 80px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--sand-2); border-radius: 999px;
  padding: 6px 16px 6px 14px; font-weight: 700; font-size: 14.5px; color: var(--ink-2);
  box-shadow: var(--shadow);
}
.kicker__star { width: 18px; height: 18px; background: var(--terra); clip-path: var(--star); }
.display {
  font-size: clamp(52px, 7vw, 104px); line-height: 1.12; margin: 22px 0 22px; color: var(--ink);
}
.display__accent {
  position: relative; display: inline-block; color: var(--terra);
  text-shadow: 0 .05em 0 rgba(168, 67, 46, .18);
}
.display__accent::after { /* little gold underline tile */
  content: ""; position: absolute; inset-inline: 4%; bottom: .06em; height: .14em; z-index: -1;
  background: repeating-linear-gradient(90deg, var(--gold) 0 .5em, transparent .5em .6em);
  border-radius: 4px; opacity: .85;
}
.lead { font-size: 19px; color: var(--ink-2); max-width: 560px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__stats { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 34px; margin: 40px 0 0; padding-top: 24px; border-top: 2px dashed var(--sand-2); position: relative; }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats dt { font-family: "Lalezar", sans-serif; font-size: 36px; line-height: 1.1; color: var(--teal-d); }
.hero__stats dd { margin: 0; font-size: 14.5px; color: var(--ink-3); font-weight: 600; }
.hero__note { position: absolute; inset-inline-end: 0; top: -12px; background: var(--cream); padding-inline: 8px; font-size: 12px; color: var(--ink-3); font-weight: 700; }

/* collage */
.collage {
  position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 20px; height: 600px;
}
.arch { margin: 0; position: relative; overflow: hidden; border-radius: 999px 999px 22px 22px; background: var(--sand); box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch::after { /* inner gold frame */
  content: ""; position: absolute; inset: 10px; border-radius: inherit; border: 2px solid rgba(255, 246, 232, .7); pointer-events: none;
}
.arch--big { grid-row: 1 / span 2; outline: 2px solid var(--gold); outline-offset: 8px; }
.arch--big img { object-position: 60% 50%; }
.arch--a { border-radius: 22px 22px 999px 999px; }
.arch--a img { object-position: 50% 70%; }
.arch--b img { object-position: 40% 40%; }
.collage__badge {
  position: absolute; z-index: 3; inset-inline-end: calc(44% - 70px); top: calc(50% - 70px);
  width: 140px; height: 140px; display: grid; place-content: center; text-align: center;
  background: var(--gold); clip-path: var(--star); color: var(--ink); line-height: 1.2;
  filter: drop-shadow(0 8px 10px rgba(43, 29, 20, .25));
}
.collage__badge span { font-size: 13px; font-weight: 700; }
.collage__badge b { font-family: "Lalezar", sans-serif; font-weight: 400; font-size: 21px; display: block; width: 90px; }
.collage__tile {
  position: absolute; z-index: -1; inset-inline-start: -40px; bottom: -40px; width: 220px; height: 220px;
  background: var(--teal); border-radius: 30px; transform: rotate(8deg);
  background-image: var(--girih-light); background-size: 40px 40px;
  opacity: .9;
}

/* marquee */
.marquee { background: var(--ink); color: var(--cream); overflow: hidden; border-block: 4px solid var(--gold); }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; padding-block: 14px; animation: marquee 48s linear infinite; }
.marquee span { font-family: "Lalezar", sans-serif; font-size: 24px; white-space: nowrap; }
.marquee i { width: 16px; height: 16px; background: var(--gold); clip-path: var(--star); flex: none; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ==========================================================
   LIVE SIGN PREVIEW
   ========================================================== */
.preview { position: relative; padding: 120px 0 100px; background: var(--sand); }
.awning {
  position: absolute; top: 0; inset-inline: 0; height: 64px;
  background: repeating-linear-gradient(90deg, var(--terra) 0 48px, var(--cream) 48px 96px);
  -webkit-mask: radial-gradient(circle at 24px 0, #000 24px, transparent 25px) 0 100% / 48px 24px repeat-x, linear-gradient(#000, #000) top / 100% 40px no-repeat;
  mask: radial-gradient(circle at 24px 0, #000 24px, transparent 25px) 0 100% / 48px 24px repeat-x, linear-gradient(#000, #000) top / 100% 40px no-repeat;
  filter: drop-shadow(0 6px 4px rgba(43, 29, 20, .2));
}
.preview .sec-head { margin-inline: auto; text-align: center; }
.preview .eyebrow { justify-content: center; }

.studio {
  display: grid; grid-template-columns: 360px 1fr; gap: 28px; align-items: stretch;
  background: var(--cream); border-radius: 28px; padding: 18px; box-shadow: var(--shadow);
  border: 1px solid var(--sand-2);
}
.controls { display: flex; flex-direction: column; gap: 18px; padding: 14px 10px 10px; }
.field { display: flex; flex-direction: column; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field legend, .field__label { font-weight: 800; font-size: 14.5px; color: var(--ink); padding: 0; }
.field small { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--sand-2); background: #fff;
  font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(31, 138, 138, .15); }
.field legend { margin-bottom: 8px; }
.field--row { flex-direction: row; align-items: center; justify-content: space-between; }

.styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.style-opt { position: relative; cursor: pointer; }
.style-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.style-opt__card {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 10px 4px 9px; border-radius: 14px; border: 2px solid var(--sand-2); background: #fff;
  font-size: 12.5px; font-weight: 700; line-height: 1.35; height: 100%; transition: border-color .2s, background-color .2s, transform .2s;
}
.style-opt:hover .style-opt__card { transform: translateY(-2px); }
.style-opt input:checked + .style-opt__card { border-color: var(--terra); background: #fff3ee; box-shadow: inset 0 0 0 1px var(--terra); }
.style-opt input:focus-visible + .style-opt__card { outline: 3px solid var(--teal); outline-offset: 2px; }
.style-opt__ico { width: 46px; height: 28px; border-radius: 5px; display: grid; place-items: center; font-family: "Lalezar", sans-serif; font-size: 22px; line-height: 1; }
.style-opt__ico--flex { background: linear-gradient(var(--terra), #e07a5f); border: 3px solid #c9cdd1; }
.style-opt__ico--chel { background: #33383d; color: var(--gold); text-shadow: 1px 1px 0 #aab, 2px 2px 0 #889; }
.style-opt__ico--neon { background: #15171c; color: transparent; -webkit-text-stroke: 1.2px #ff9db0; filter: drop-shadow(0 0 3px #ff5d7d); }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch i { display: block; width: 36px; height: 36px; background: var(--sw); clip-path: var(--star); transition: transform .2s; }
.swatch::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid transparent; transition: border-color .2s; pointer-events: none; }
.swatch:hover i { transform: rotate(22.5deg); }
.swatch input:checked ~ i { transform: rotate(22.5deg) scale(1.05); }
.swatch:has(input:checked)::after { border-color: var(--ink); }
.swatch input:focus-visible ~ i { outline: 3px solid var(--teal); }
.swatch:has(input:focus-visible)::after { border-color: var(--teal); border-width: 3px; }

.daynight {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 150px; height: 44px; padding: 4px;
  border-radius: 999px; border: 2px solid var(--ink); background: #fff; cursor: pointer;
}
.daynight__opt { position: relative; z-index: 2; display: grid; place-items: center; font-weight: 800; font-size: 14px; transition: color .3s; }
.daynight__knob { position: absolute; z-index: 1; top: 4px; bottom: 4px; inset-inline-start: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--gold); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), background-color .3s; }
.daynight[aria-checked="true"] .daynight__knob { transform: translateX(-100%); background: #1c2246; }
.daynight[aria-checked="true"] .daynight__opt:nth-child(2) { color: #fff; }
.controls__desc { font-size: 14px; color: var(--ink-2); background: var(--sand); border-radius: 12px; padding: 10px 14px; line-height: 1.7; min-height: 3.4em; }
.preview__note { text-align: center; color: var(--ink-3); font-size: 14px; margin-top: 18px; }

/* ---------- the scene ---------- */
.scene {
  --c: #C8553D; --c-ink: #fff;
  position: relative; container-type: inline-size; overflow: hidden; isolation: isolate;
  border-radius: 20px; aspect-ratio: 16 / 11; width: 100%; align-self: center;
  background: #cfe6ea;
}
.scene__sky { position: absolute; inset: 0; background: linear-gradient(#bfe2ea, #f7e7c9); transition: opacity .6s; }
.scene__sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#0b1030, #2a2a55 70%, #4a3a5a); opacity: 0; transition: opacity .6s; }
.sun, .moon { position: absolute; top: 2.5%; inset-inline-end: 1cqw; width: 5cqw; height: 5cqw; border-radius: 50%; z-index: 1; transition: opacity .6s, transform .6s; }
.sun { background: radial-gradient(circle, #ffe08a 55%, rgba(255, 224, 138, 0) 72%); box-shadow: 0 0 40px #ffd36b; }
.moon { background: #f4efe0; box-shadow: inset -1.4cqw -.6cqw 0 #d6cdb5, 0 0 30px rgba(244, 239, 224, .5); opacity: 0; transform: translateY(20px); width: 4.4cqw; height: 4.4cqw; }
.stars {
  position: absolute; inset: 0 0 50% 0; z-index: 1; opacity: 0; transition: opacity .8s;
  background:
    radial-gradient(1.5px 1.5px at 12% 20%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 46% 14%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 6%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 72% 26%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 4% 36%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 38% 30%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 92% 34%, #fff 50%, transparent 51%);
}

.building {
  position: absolute; z-index: 2; top: 6%; bottom: 15%; inset-inline: 7%;
  background:
    linear-gradient(90deg, rgba(0,0,0,.12), transparent 4%, transparent 96%, rgba(0,0,0,.12)),
    repeating-linear-gradient(0deg, transparent 0 calc(2.2cqw - 2px), rgba(120, 60, 30, .28) calc(2.2cqw - 2px) 2.2cqw),
    linear-gradient(#e2ab80, #d79a6c);
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -4px 0 #b5754c inset, 0 20px 40px -20px rgba(0, 0, 0, .5);
}
.building::before { /* parapet */
  content: ""; position: absolute; top: -1.6cqw; inset-inline: -1.5%; height: 2.2cqw; border-radius: 4px;
  background: repeating-linear-gradient(90deg, #a5462f 0 3cqw, #c25a40 3cqw 6cqw);
}
.building::after { /* night dim layer */
  content: ""; position: absolute; inset: 0; z-index: 2; background: #0a0d28; opacity: 0; transition: opacity .6s; pointer-events: none; border-radius: inherit;
}
.building__upper { position: absolute; top: 5%; inset-inline: 8%; height: 22%; display: flex; justify-content: space-between; }
.win { width: 18%; height: 100%; border-radius: 999px 999px 4px 4px; background: linear-gradient(#7fb2bb, #b9d7da); border: .7cqw solid #f4e3c8; box-shadow: 0 .6cqw 0 #b07a52; position: relative; z-index: 1; transition: background .6s; }
.signbay { position: absolute; top: 31%; height: 21%; inset-inline: 0; }
.bracket { position: absolute; top: 18%; width: 3%; height: 64%; background: #6e747a; border-radius: 3px; z-index: 1; }
.bracket--s { inset-inline-start: 3%; } .bracket--e { inset-inline-end: 3%; }
.spill { position: absolute; z-index: 3; top: 90%; inset-inline: 2%; height: 140%; opacity: 0; transition: opacity .6s; pointer-events: none;
  background: radial-gradient(ellipse 62% 80% at 50% 0%, color-mix(in srgb, var(--c) 80%, #fff 0%), transparent 72%); mix-blend-mode: screen; }

.sign { position: absolute; z-index: 4; inset: 0 4.5%; display: flex; }
.sign__face {
  position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 0 3cqw; overflow: hidden; transition: background .5s, box-shadow .5s, border-color .5s;
}
.sign__name { font-family: "Lalezar", sans-serif; font-size: 6.6cqw; line-height: 1.15; white-space: nowrap; transition: color .4s, text-shadow .4s, filter .4s, -webkit-text-stroke-color .4s; }
.sign__sub { font-weight: 700; font-size: 1.75cqw; line-height: 1.4; white-space: nowrap; margin-top: .2cqw; transition: color .4s, text-shadow .4s, filter .4s; }

/* style: flex lightbox */
.scene[data-style="flex"] .sign__face {
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 82%, #fff), var(--c) 55%, color-mix(in srgb, var(--c) 88%, #000));
  border: .75cqw solid; border-color: #eef0f2 #b9bec3 #8f959b #ced2d6; border-radius: .5cqw;
  box-shadow: 0 1.2cqw 1.6cqw -0.4cqw rgba(0, 0, 0, .35);
}
.scene[data-style="flex"] .sign__face::before { /* printed tile band */
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 12%;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 1.2cqw, transparent 1.2cqw 2.4cqw);
}
.scene[data-style="flex"] .sign__name { color: var(--c-ink); text-shadow: 0 .25cqw 0 rgba(0, 0, 0, .18); }
.scene[data-style="flex"] .sign__sub { color: var(--c-ink); opacity: .92; }

/* style: chelenium (channel letters on composite) */
.scene[data-style="chelenium"] .sign__face {
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(255, 255, 255, .09) calc(25% - 1px) 25%),
    linear-gradient(#41474d, #2a2e33);
  border-radius: .4cqw; border: .35cqw solid #1e2125;
  box-shadow: 0 1.2cqw 1.6cqw -.4cqw rgba(0, 0, 0, .45);
}
.scene[data-style="chelenium"] .sign__name {
  color: var(--c);
  text-shadow: .1cqw .12cqw 0 #d9dde1, .2cqw .24cqw 0 #c3c8cd, .3cqw .36cqw 0 #aeb4ba, .4cqw .48cqw 0 #99a0a6, .5cqw .6cqw 0 #868d94, .9cqw 1.2cqw .9cqw rgba(0, 0, 0, .55);
}
.scene[data-style="chelenium"] .sign__sub { color: #f4f1ea; text-shadow: .08cqw .1cqw 0 #aab0b6, .16cqw .2cqw 0 #8b9197; }

/* style: crystal / neon */
.scene[data-style="neon"] .sign__face {
  background:
    radial-gradient(circle at 2.2cqw 50%, #cfd4d8 .45cqw, #7d838a .5cqw, transparent .6cqw),
    radial-gradient(circle at calc(100% - 2.2cqw) 50%, #cfd4d8 .45cqw, #7d838a .5cqw, transparent .6cqw),
    linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 40%),
    rgba(20, 22, 30, .9);
  border-radius: 1.6cqw; border: .25cqw solid rgba(255, 255, 255, .35);
  box-shadow: 0 1.2cqw 1.6cqw -.4cqw rgba(0, 0, 0, .45), inset 0 0 0 .3cqw rgba(255, 255, 255, .05);
}
.scene[data-style="neon"] .sign__name { color: transparent; -webkit-text-stroke: .32cqw color-mix(in srgb, var(--c) 45%, #fff); }
.scene[data-style="neon"] .sign__sub { color: color-mix(in srgb, var(--c) 35%, #fff); opacity: .75; }

/* storefront */
.storefront { position: absolute; top: 56%; bottom: 0; inset-inline: 4%; display: grid; grid-template-columns: 1.55fr .75fr 1.25fr; gap: 2.2%; }
.shopwin, .door, .shutter { position: relative; border: .8cqw solid #4e3a2c; border-bottom: 0; border-radius: .6cqw .6cqw 0 0; overflow: hidden; }
.shopwin { background: linear-gradient(160deg, #a8cdd2, #e1eef0 55%, #b6d2d6); transition: background .6s; }
.shopwin__shelf { position: absolute; inset-inline: 0; bottom: 22%; height: 6%; background: #8a6040; }
.bread { position: absolute; bottom: 28%; width: 22%; height: 18%; border-radius: 50% 50% 40% 40%; background: radial-gradient(ellipse at 50% 30%, #f0c27b, #b8793a); }
.b1 { inset-inline-start: 8%; } .b2 { inset-inline-start: 38%; height: 22%; } .b3 { inset-inline-start: 68%; }
.shopwin__glare { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 38%, transparent 46%); }
.door { background: #5b4334; }
.door__glass { position: absolute; inset: 8% 14% 30%; background: linear-gradient(#9cc3c8, #d3e6e8); border-radius: 999px 999px 3px 3px; transition: background .6s; }
.door__handle { position: absolute; inset-inline-start: 16%; top: 62%; width: 10%; height: 9%; background: var(--gold); border-radius: 3px; }
.shutter { background: linear-gradient(#b4d3d7, #dceaec); }
.shutter__bar { position: absolute; inset: 0 0 42% 0; background: repeating-linear-gradient(#a7adb3 0 1.2cqw, #858c93 1.2cqw 1.45cqw); box-shadow: 0 .5cqw 0 #5e646a; transition: background .6s; }

.street { position: absolute; inset: auto 0 0 0; height: 15%; z-index: 3; background: linear-gradient(#bdb2a2, #9d9284); }
.curb { position: absolute; inset-inline: 0; top: 0; height: 18%; background: repeating-linear-gradient(90deg, #f2ead9 0 6cqw, #3a3a3a 6cqw 12cqw); opacity: .85; }
.lamp { position: absolute; bottom: 30%; inset-inline-start: 2.6%; width: .9cqw; height: 44cqw; background: #3d3f44; border-radius: 3px; }
.lamp__head { position: absolute; top: -1cqw; inset-inline-start: -1.6cqw; width: 4cqw; height: 1.6cqw; background: #3d3f44; border-radius: 1cqw 1cqw .3cqw .3cqw; }
.lamp__head::after { content: ""; position: absolute; top: 100%; inset-inline: 10%; height: .6cqw; background: #e9e1c6; border-radius: 0 0 1cqw 1cqw; transition: background .5s, box-shadow .5s; }
.scene__tag { position: absolute; top: 3.5%; inset-inline-start: 3%; z-index: 6; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(255, 246, 232, .85); color: var(--ink); }

/* ---------- night ---------- */
.scene.is-night .scene__sky::after { opacity: 1; }
.scene.is-night .sun { opacity: 0; transform: translateY(20px); }
.scene.is-night .moon { opacity: 1; transform: none; }
.scene.is-night .stars { opacity: 1; }
.scene.is-night .building::after { opacity: .68; }
.scene.is-night .street { background: linear-gradient(#3b3a45, #24232c); }
.scene.is-night .spill { opacity: .85; }
.scene.is-night .win--lit { z-index: 3; background: linear-gradient(#ffd27a, #e89a3e); box-shadow: 0 0 2cqw rgba(255, 190, 90, .6); }
.scene.is-night .shopwin { z-index: 3; background: linear-gradient(160deg, #ffcf7f, #ffe6b3 55%, #f0a956); box-shadow: 0 0 3cqw rgba(255, 190, 100, .5); }
.scene.is-night .storefront { z-index: 3; }
.scene.is-night .door__glass { background: linear-gradient(#ffd791, #f3b25e); }
.scene.is-night .shutter { background: #2a2730; }
.scene.is-night .shutter__bar { background: repeating-linear-gradient(#545961 0 1.2cqw, #3d4148 1.2cqw 1.45cqw); }
.scene.is-night .door { background: #3a2a20; }
.scene.is-night .lamp__head::after { background: #fff4c8; box-shadow: 0 0 2cqw 1cqw rgba(255, 230, 160, .8), 0 6cqw 8cqw 2cqw rgba(255, 220, 150, .18); }
.scene.is-night .scene__tag { background: rgba(255, 255, 255, .14); color: #fff; }

/* night: flex = evenly backlit face */
.scene.is-night[data-style="flex"] .sign__face {
  background: radial-gradient(ellipse 80% 120% at 50% 50%, color-mix(in srgb, var(--c) 70%, #fff), color-mix(in srgb, var(--c) 88%, #fff) 80%);
  border-color: #6d7277 #50555a #43474c #5d6267;
  box-shadow: 0 0 1.2cqw color-mix(in srgb, var(--c) 90%, #fff), 0 0 4cqw var(--c), 0 0 10cqw color-mix(in srgb, var(--c) 60%, transparent), inset 0 0 3cqw rgba(255, 255, 255, .35);
}
/* night: channel letters glow, with aluminium returns */
.scene.is-night[data-style="chelenium"] .sign__face { background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(255, 255, 255, .05) calc(25% - 1px) 25%), linear-gradient(#24282c, #17191c); }
.scene.is-night[data-style="chelenium"] .sign__name {
  color: color-mix(in srgb, var(--c) 55%, #fff);
  text-shadow: 0 0 .5cqw color-mix(in srgb, var(--c) 60%, #fff), .1cqw .12cqw 0 #5d646b, .2cqw .24cqw 0 #50565c, .3cqw .36cqw 0 #43484e, .4cqw .48cqw 0 #373b40, 0 0 1.6cqw var(--c), 0 0 3.5cqw var(--c), 0 0 7cqw var(--c);
}
.scene.is-night[data-style="chelenium"] .sign__sub { color: #fff; text-shadow: 0 0 .6cqw rgba(255, 255, 255, .8), .1cqw .12cqw 0 #50565c; }
/* night: neon outline glow */
.scene.is-night[data-style="neon"] .sign__name {
  -webkit-text-stroke-color: color-mix(in srgb, var(--c) 15%, #fff);
  text-shadow: 0 0 .4cqw var(--c), 0 0 1.4cqw var(--c), 0 0 3.5cqw var(--c), 0 0 7cqw color-mix(in srgb, var(--c) 70%, transparent);
  filter: drop-shadow(0 0 .3cqw var(--c));
}
.scene.is-night[data-style="neon"] .sign__sub { color: #fff; opacity: 1; filter: drop-shadow(0 0 .4cqw var(--c)) drop-shadow(0 0 1cqw var(--c)); }
.scene.is-night[data-style="neon"] .spill { opacity: 1; }
.scene.is-night[data-style="neon"].flicker .sign__name { animation: flick .9s steps(1) 1; }
@keyframes flick { 0%, 20%, 40% { opacity: .25; } 10%, 30%, 60%, 100% { opacity: 1; } }

/* ==========================================================
   SERVICES
   ========================================================== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc {
  position: relative; background: #fff; border: 1px solid var(--sand-2); border-radius: 26px; padding: 14px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.svc:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(43, 29, 20, .45); }
.svc__img { margin: 0; aspect-ratio: 4 / 3; border-radius: 999px 999px 14px 14px; overflow: hidden; background: var(--sand); }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc:hover .svc__img img { transform: scale(1.04); }
.svc__img--seg { display: grid; place-items: center; background: var(--cream-2) var(--girih) 0 0 / 60px 60px; border-radius: 14px; }
.svc__img--seg svg { width: 92%; height: auto; }
.svc__body { padding: 20px 10px 10px; }
.svc__no { font-family: "Lalezar", sans-serif; font-size: 18px; color: var(--terra); display: inline-flex; align-items: center; gap: 8px; }
.svc__no::after { content: ""; width: 40px; height: 2px; background: var(--gold); }
.svc h3 { font-family: "Lalezar", sans-serif; font-weight: 400; font-size: 28px; margin: 4px 0 8px; }
.svc p { color: var(--ink-2); font-size: 16px; }
.svc--feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; padding: 18px; background: var(--cream-2) var(--girih) 0 0 / 80px 80px; }
.svc--feature .svc__img { aspect-ratio: auto; height: 100%; min-height: 380px; border-radius: 999px 999px 18px 18px; }
.svc--feature .svc__img img { object-position: 50% 30%; }
.svc--feature .svc__body { padding: 26px 8px 18px 22px; align-self: center; }
.svc--feature h3 { font-size: 44px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-inline-start: 34px; color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 5px; width: 20px; height: 20px; background: var(--teal); clip-path: var(--star); }
.ticks b { color: var(--ink); }

/* ==========================================================
   COMPARE
   ========================================================== */
.girih-band { position: absolute; top: 0; inset-inline: 0; height: 18px; background: var(--terra) var(--girih-light) 0 0 / 36px 36px; }
#compare .sec-head { margin-inline: auto; text-align: center; }
#compare .eyebrow { justify-content: center; }
.cmp { background: var(--cream); border-radius: 26px; padding: 10px; box-shadow: var(--shadow); border: 1px solid var(--sand-2); }
.cmp__table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.cmp__table thead th {
  background: var(--ink); color: var(--cream); font-weight: 800; font-size: 14.5px; padding: 16px 14px; text-align: start;
}
.cmp__table thead th:first-child { border-start-start-radius: 18px; }
.cmp__table thead th:last-child { border-start-end-radius: 18px; }
.cmp__table tbody th, .cmp__table td { padding: 16px 14px; border-bottom: 1px solid var(--sand-2); text-align: start; vertical-align: middle; }
.cmp__table tbody th { font-family: "Lalezar", sans-serif; font-weight: 400; font-size: 21px; white-space: nowrap; }
.cmp__table tbody tr:nth-child(even) { background: rgba(243, 227, 199, .45); }
.cmp__table tbody tr:first-child { background: #fff1e9; }
.cmp__table tbody tr:last-child > * { border-bottom: 0; }
.cmp__table td:last-child { color: var(--ink-2); font-size: 15px; }
.cmp__dot { display: inline-block; width: 14px; height: 14px; background: var(--d); clip-path: var(--star); margin-inline-end: 10px; vertical-align: -1px; }
.rate { display: inline-flex; gap: 3px; font-size: 18px; letter-spacing: 2px; line-height: 1; }
.rate::before { color: var(--terra); }
.rate::after { color: var(--sand-2); }
.rate[data-r="1"]::before { content: "✦"; } .rate[data-r="1"]::after { content: "✦✦"; }
.rate[data-r="2"]::before { content: "✦✦"; } .rate[data-r="2"]::after { content: "✦"; }
.rate[data-r="3"]::before { content: "✦✦✦"; } .rate[data-r="3"]::after { content: ""; }
.cmp__legend { font-size: 13.5px; color: var(--ink-3); padding: 12px 14px 4px; }
.cmp__legend .rate { font-size: 13px; }

/* ==========================================================
   WHY
   ========================================================== */
.why {
  position: relative; padding-block: 110px; color: var(--cream);
  background: var(--girih-light) 0 0 / 80px 80px, radial-gradient(900px 600px at 100% 0%, #1f8a8a, transparent 60%), var(--teal-dd);
}
.why__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.why__head { position: sticky; top: 120px; }
.why__head .h2 { color: var(--cream); }
.why__head > p:not(.eyebrow) { color: rgba(255, 246, 232, .82); font-size: 18px; margin-top: 14px; }
.why__photo { margin-top: 30px; height: 320px; outline: 2px solid var(--gold); outline-offset: 8px; }
.why__photo img { object-position: 50% 40%; }
.why__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tile {
  position: relative; padding: 28px 26px 26px; border-radius: 22px;
  background: rgba(255, 246, 232, .06); border: 1px solid rgba(255, 246, 232, .18);
  transition: background-color .3s, transform .3s;
}
.tile:hover { background: rgba(255, 246, 232, .1); transform: translateY(-3px); }
.tile:last-child { grid-column: 1 / -1; background: var(--gold); color: var(--ink); border-color: var(--gold); }
.tile:last-child p { color: var(--ink-2); }
.tile:last-child .tile__ico { background: var(--ink); color: var(--gold); }
.tile__ico { display: grid; place-items: center; width: 52px; height: 52px; background: var(--gold); color: var(--ink); clip-path: var(--star); font-size: 20px; margin-bottom: 14px; }
.tile h3 { font-family: "Lalezar", sans-serif; font-weight: 400; font-size: 26px; margin-bottom: 6px; }
.tile p { color: rgba(255, 246, 232, .8); font-size: 15.5px; }

/* ==========================================================
   PROCESS
   ========================================================== */
#process .sec-head { margin-inline: auto; text-align: center; }
#process .eyebrow { justify-content: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; position: relative; }
.steps::before { /* string of lights */
  content: ""; position: absolute; top: 38px; inset-inline: 8%; height: 3px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px);
}
.step { position: relative; text-align: center; padding: 0 6px; }
.step__no {
  position: relative; display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 18px;
  background: var(--terra); color: var(--cream); clip-path: var(--star);
  font-family: "Lalezar", sans-serif; font-size: 34px; line-height: 1;
}
.step:nth-child(2) .step__no { background: var(--teal); }
.step:nth-child(3) .step__no { background: var(--gold); color: var(--ink); }
.step:nth-child(4) .step__no { background: var(--ink); }
.step:nth-child(5) .step__no { background: var(--terra-d); }
.step h3 { font-family: "Lalezar", sans-serif; font-weight: 400; font-size: 25px; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 15.5px; }

/* ==========================================================
   GALLERY
   ========================================================== */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 16px; }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }
.g__btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in; border-radius: 18px; overflow: hidden; background: var(--sand); text-align: start; }
.g--tall .g__btn { border-radius: 999px 999px 18px 18px; }
.g__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g__btn:hover img, .g__btn:focus-visible img { transform: scale(1.05); }
.g__cap {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; color: #fff;
  background: linear-gradient(transparent, rgba(30, 18, 10, .82)); display: flex; flex-direction: column; line-height: 1.4;
}
.g__cap b { font-size: 16px; }
.g__cap small { font-size: 13px; opacity: .85; display: inline-flex; align-items: center; gap: 6px; }
.g__cap small::before { content: ""; width: 9px; height: 9px; background: var(--gold); clip-path: var(--star); }
.gallery__note { font-size: 13.5px; color: var(--ink-3); margin-top: 18px; }

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
#voices .sec-head { margin-inline: auto; text-align: center; }
#voices .eyebrow { justify-content: center; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  margin: 0; position: relative; padding: 46px 30px 28px; border-radius: 24px; background: #fff; border: 1px solid var(--sand-2);
  box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
}
.quote::before { content: "«"; position: absolute; top: -26px; inset-inline-start: 24px; width: 56px; height: 56px; display: grid; place-items: center; background: var(--terra); color: var(--cream); clip-path: var(--star); font-family: "Lalezar", sans-serif; font-size: 34px; line-height: 1; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.95; }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 2px dashed var(--sand-2); }
.quote__av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); font-family: "Lalezar", sans-serif; font-size: 22px; color: var(--terra-d); flex: none; }
.quote figcaption span:last-child { display: flex; flex-direction: column; line-height: 1.5; }
.quote small { color: var(--ink-3); font-size: 13.5px; }
.quote--teal { background: var(--teal-d) var(--girih-light) 0 0 / 60px 60px; color: var(--cream); border-color: var(--teal-d); transform: translateY(-14px); }
.quote--teal::before { background: var(--gold); color: var(--ink); }
.quote--teal figcaption { border-color: rgba(255, 246, 232, .25); }
.quote--teal small { color: rgba(255, 246, 232, .75); }
.quote--teal .quote__av { background: rgba(255, 246, 232, .14); color: var(--gold); }

/* ==========================================================
   FAQ
   ========================================================== */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq__head { position: sticky; top: 120px; margin: 0; }
.faq__list { display: grid; gap: 14px; }
.faq details { background: var(--cream); border: 1px solid var(--sand-2); border-radius: 18px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); background: #fff; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 800; font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; background: var(--terra); clip-path: var(--star); transition: transform .35s, background-color .3s; }
.faq details[open] summary::after { transform: rotate(67.5deg); background: var(--teal); }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); }

/* ==========================================================
   CONTACT
   ========================================================== */
.contact { background: var(--cream) var(--girih) 0 0 / 80px 80px; }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact__info > p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; margin-top: 14px; }
.contact__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.contact__list li { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 18px; }
.contact__list li > span:first-child { width: 44px; height: 44px; display: grid; place-items: center; background: var(--teal); color: var(--cream); clip-path: var(--star); flex: none; font-size: 17px; }
.contact__list a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--gold); }
.contact__list a:hover { color: var(--terra-d); }
.plaque {
  display: inline-flex; flex-direction: column; align-items: center; margin-top: 32px; padding: 14px 34px; border-radius: 14px;
  background: var(--ink); color: var(--cream); border: 4px solid #8f959b; box-shadow: 0 0 0 2px var(--ink), 0 14px 30px -12px rgba(43, 29, 20, .6); line-height: 1.4;
}
.plaque span { font-size: 13px; opacity: .8; }
.plaque b { font-family: "Lalezar", sans-serif; font-weight: 400; font-size: 34px; color: var(--gold); text-shadow: 0 0 14px rgba(233, 180, 76, .55); }
.order { background: #fff; border-radius: 28px; padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--sand-2); display: grid; gap: 18px; position: relative; }
.order::before { content: ""; position: absolute; top: -1px; inset-inline: 34px; height: 6px; border-radius: 0 0 6px 6px; background: repeating-linear-gradient(90deg, var(--terra) 0 24px, var(--gold) 24px 30px, var(--teal) 30px 54px, var(--gold) 54px 60px); }
.order__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.order textarea { resize: vertical; min-height: 110px; }
.field input[aria-invalid="true"] { border-color: var(--terra); background: #fff6f3; }
.err { color: var(--terra-d); font-size: 13.5px; font-weight: 700; }
.order__note { font-size: 13px; color: var(--ink-3); text-align: center; }
.order__ok { background: #e6f4f1; color: var(--teal-dd); border: 1px solid #b7ddd6; border-radius: 12px; padding: 12px 16px; font-weight: 800; text-align: center; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: var(--ink) var(--girih-light) 0 0 / 80px 80px; color: rgba(255, 246, 232, .82); padding: 70px 0 40px; border-top: 6px solid var(--terra); }
.footer__grid { display: grid; grid-template-columns: 1.2fr .8fr 1.3fr; gap: 40px; align-items: start; }
.footer__plate { display: inline-block; background: var(--cream); padding: 12px 20px; border-radius: 16px; border: 3px solid var(--gold); }
.footer__plate img { width: 150px; height: auto; }
.footer__brand p { margin-top: 16px; max-width: 320px; }
.footer__nav { display: grid; gap: 8px; }
.footer a { color: var(--cream); }
.footer__nav a { text-decoration: none; font-weight: 600; }
.footer__nav a:hover { color: var(--gold); }
.footer__meta { display: grid; gap: 10px; font-size: 15px; }
.footer__small { font-size: 13px; opacity: .7; }

/* ==========================================================
   VIEWER
   ========================================================== */
.viewer { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 60px 70px; }
.viewer[hidden] { display: none; }
.viewer__backdrop { position: absolute; inset: 0; background: rgba(23, 14, 8, .9); backdrop-filter: blur(4px); }
.viewer__box { position: relative; margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.viewer__box img { max-height: calc(100vh - 170px); width: auto; height: auto; max-width: 100%; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); background: #222; }
.viewer__box figcaption { color: var(--cream); font-weight: 700; text-align: center; }
.viewer__close, .viewer__nav { position: absolute; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border: 0; cursor: pointer; background: var(--gold); color: var(--ink); clip-path: var(--star); font-size: 30px; line-height: 1; font-weight: 700; }
.viewer__close { top: 18px; inset-inline-end: 18px; }
.viewer__nav { top: calc(50% - 26px); background: var(--cream); }
.viewer__nav--prev { inset-inline-start: 14px; }
.viewer__nav--next { inset-inline-end: 14px; }
.viewer__count { position: absolute; bottom: 18px; color: var(--cream); font-size: 14px; opacity: .8; }

/* ==========================================================
   REVEAL
   ========================================================== */
.js-anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js-anim .reveal.is-in { opacity: 1; transform: none; }
.quote--teal.reveal.is-in { transform: translateY(-14px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
.is-static .marquee__track { animation: none; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1180px) {
  .menu a { padding: 8px 9px; font-size: 15px; }
  .studio { grid-template-columns: 320px 1fr; }
}
@media (max-width: 1100px) {
  .burger { display: block; }
  .menu {
    position: fixed; top: 82px; inset-inline: 12px; flex-direction: column; gap: 2px; margin: 0;
    background: var(--cream); border: 1px solid var(--sand-2); border-radius: 20px; padding: 12px; box-shadow: 0 30px 60px -20px rgba(43, 29, 20, .45);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .menu a { padding: 12px 14px; font-size: 17px; }
  .menu__cta-mobile { display: block; background: var(--terra); color: #fff !important; text-align: center; margin-top: 6px; }
  .topbar__actions { margin-inline-start: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .collage { height: 520px; }
  .studio { grid-template-columns: 1fr; }
  .scene { order: -1; }
  .controls { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
  .controls__desc, #orderThis { grid-column: 1 / -1; }
  .why__grid, .faq, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .why__head, .faq__head { position: static; }
  .services { grid-template-columns: 1fr 1fr; }
  .svc--feature { grid-template-columns: 1fr; }
  .svc--feature .svc__img { min-height: 0; aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__meta { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .sec-head--split { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .quote--teal, .quote--teal.reveal.is-in { transform: none; }
  .quote { margin-top: 20px; }
  /* comparison becomes cards */
  .cmp { background: transparent; border: 0; box-shadow: none; padding: 0; }
  .cmp__table, .cmp__table tbody, .cmp__table tr, .cmp__table th, .cmp__table td { display: block; }
  .cmp__table thead { display: none; }
  .cmp__table tbody { display: grid; gap: 14px; }
  .cmp__table tbody tr, .cmp__table tbody tr:nth-child(even), .cmp__table tbody tr:first-child { background: var(--cream); border: 1px solid var(--sand-2); border-radius: 18px; padding: 8px 18px 10px; box-shadow: var(--shadow); }
  .cmp__table tbody th { border-bottom: 2px dashed var(--sand-2); padding: 10px 0; }
  .cmp__table td { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 9px 0; text-align: end; }
  .cmp__table td::before { content: attr(data-label); font-weight: 700; color: var(--ink-3); font-size: 14px; text-align: start; flex: none; }
  .cmp__table tbody tr > *:last-child { border-bottom: 0; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .section, .why { padding-block: 76px; }
  .topbar__inner { min-height: 66px; gap: 12px; }
  .menu { top: 74px; }
  .brand img { width: 118px; }
  .topbar__cta { display: none; }
  .hero { padding-top: 36px; }
  .display { font-size: clamp(46px, 13vw, 60px); }
  .lead { font-size: 17px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .hero__stats { gap: 10px 24px; }
  .hero__stats dt { font-size: 30px; }
  .collage { height: 440px; gap: 12px; grid-template-columns: 1.2fr 1fr; }
  .collage__badge { width: 110px; height: 110px; top: calc(50% - 55px); inset-inline-end: calc(45% - 55px); }
  .collage__badge b { font-size: 17px; width: 70px; }
  .collage__badge span { font-size: 11px; }
  .arch--big { outline-offset: 5px; }
  .hero__grid { padding-bottom: 56px; }
  .marquee span { font-size: 20px; }
  .preview { padding: 96px 0 70px; }
  .studio { padding: 10px; border-radius: 22px; }
  .scene { min-height: 0; aspect-ratio: 4 / 3.6; }
  .controls { grid-template-columns: 1fr; padding: 8px 6px; }
  .services { grid-template-columns: 1fr; }
  .svc--feature h3 { font-size: 36px; }
  .svc--feature .svc__body { padding: 16px 8px 8px; }
  .steps { grid-template-columns: 1fr; text-align: start; row-gap: 22px; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; text-align: start; align-items: start; }
  .step__no { width: 60px; height: 60px; font-size: 26px; margin: 0; grid-row: span 2; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 10px; }
  .g--wide { grid-column: span 2; }
  .why__tiles { grid-template-columns: 1fr; }
  .why__photo { height: 220px; }
  .order { padding: 24px 18px; }
  .order__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .viewer { padding: 70px 12px; }
  .viewer__nav { top: auto; bottom: 14px; }
  .faq summary { padding: 18px; font-size: 16.5px; }
  .faq details p { padding: 0 18px 18px; }
}
@media (max-width: 820px) {
  .cmp__table tbody tr { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .cmp__table tbody th, .cmp__table td:first-of-type, .cmp__table td:last-child { grid-column: 1 / -1; }
}

/* Mobile tap targets: footer and contact links get ~44px hit area */
@media (max-width: 640px) {
  footer a, a[href^="tel:"], a[href^="mailto:"] { display: inline-block; padding-block: .6rem; }
}
