/* =========================================================
   AdsHouse — layout & colors modeled on encode.com.bd
   Colors: change them here, in :root
   ========================================================= */
:root {
  --base: #e7edf4;       /* page background */
  --fog: #f4f8fc;        /* cards */
  --fg: #14293b;         /* main text */
  --muted: #48627a;      /* soft text */
  --faint: #7a8fa0;
  --hairline: rgba(20, 41, 59, .16);
  --hue: #1c6ea4;        /* main blue (changes per service while scrolling) */
  --brand-navy: #0b1530; /* AdsHouse logo navy */
  --brand-orange: #ff6b35; /* AdsHouse logo orange */
  --p1: #d9601f; --p2: #c5215f; --p3: #0e8266; --p4: #2f6cd0; --p5: #6b4fd8;

  --display: "Clash Display", "Space Grotesk", "Inter", sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
  --r-sm: .7rem; --r-md: .85rem; --r-lg: 1.1rem; --r-xl: 1.3rem;
  --shadow: 0 1px 2px rgba(20, 41, 59, .04), 0 16px 40px -28px rgba(20, 41, 59, .22);
  --shadow-glow: 0 1px 2px rgba(20, 41, 59, .05), 0 26px 60px -34px color-mix(in oklab, var(--hue) 55%, transparent);
  --nav-h: 5.2rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14.5px; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Inter", "Hind Siliguri", system-ui, sans-serif;
  color: var(--fg); background: var(--base); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html[lang="bn"] body { font-family: "Hind Siliguri", "Inter", sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
.wrap { max-width: 72rem; margin-inline: auto; padding-inline: 1.5rem; width: 100%; position: relative; z-index: 1; }

/* ---------- Background: soft aurora + grain ---------- */
.veil {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(78% 58% at 50% -12%, color-mix(in oklab, var(--hue) 30%, transparent), transparent 64%),
    linear-gradient(180deg, color-mix(in oklab, white 50%, transparent) 0%, transparent 34%, color-mix(in oklab, var(--hue) 7%, transparent) 100%);
  transition: background .6s;
}
.veil::after {
  content: ""; position: absolute; inset: -25%;
  background-image:
    radial-gradient(32% 30% at 18% 32%, color-mix(in oklab, var(--hue) 22%, transparent), transparent 70%),
    radial-gradient(28% 26% at 82% 24%, color-mix(in oklab, var(--p4) 16%, transparent), transparent 70%),
    radial-gradient(34% 32% at 74% 72%, color-mix(in oklab, var(--brand-orange) 12%, transparent), transparent 70%),
    radial-gradient(30% 30% at 26% 80%, color-mix(in oklab, var(--p3) 14%, transparent), transparent 70%);
  animation: aurora 44s ease-in-out infinite alternate;
}
@keyframes aurora { to { transform: translate(4%, -3%) rotate(6deg) scale(1.05); } }
.grain {
  position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .footer { position: relative; z-index: 1; }

/* ---------- Type helpers ---------- */
.display { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; line-height: .98; }
.display em { font-style: normal; font-weight: 600; color: var(--muted); }
html[lang="bn"] .display { font-family: "Hind Siliguri", sans-serif; letter-spacing: -.01em; line-height: 1.18; }
.mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; color: var(--muted); }
html[lang="bn"] .mono { font-family: "Hind Siliguri", var(--mono); text-transform: none; letter-spacing: .02em; font-size: .86rem; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; }
.kicker::before { content: ""; width: 1.75rem; height: 1px; background: var(--hue); }
.hue { color: var(--hue); }
.dot { width: .4rem; height: .4rem; border-radius: 99px; flex: none; background: var(--hue); display: inline-block; }
.h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-top: .8rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 3rem; padding: 0 1.6rem;
  border-radius: var(--r-sm); font-weight: 600; font-size: .95rem; background: var(--hue); color: #fff; border: 0; cursor: pointer;
  box-shadow: 0 12px 40px -16px color-mix(in oklab, var(--hue) 80%, transparent); transition: filter .2s, background-color .5s;
}
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--hairline); box-shadow: none; }
.btn-ghost:hover { border-color: var(--hue); color: var(--hue); filter: none; }
.cta-row { margin-top: 1.8rem; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.cta-row.left { justify-content: flex-start; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: .8rem 1rem; pointer-events: none; }
.nav-in {
  pointer-events: auto; max-width: 62rem; margin-inline: auto; height: 3.6rem; display: flex; align-items: center; gap: .9rem;
  padding: .4rem .5rem .4rem 1.15rem; border: 1px solid var(--hairline); border-radius: 999px;
  background: color-mix(in oklab, var(--base) 68%, transparent); backdrop-filter: blur(16px) saturate(1.25); -webkit-backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: inset 0 1px color-mix(in oklab, white 60%, transparent), 0 18px 40px -24px rgba(20, 41, 59, .22);
  position: relative;
}
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.12rem; color: var(--brand-navy); letter-spacing: -.01em; flex: none; }
.brand b { color: var(--brand-orange); font-weight: 700; }
.brand.big { font-size: 1.45rem; }
.nav-links { display: flex; align-items: center; gap: .15rem; margin-inline: auto; }
.nav-links a { padding: .5rem .95rem; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--muted); transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--fg); background: color-mix(in oklab, var(--fg) 7%, transparent); }
.nav-links a.on { color: var(--fg); background: color-mix(in oklab, var(--hue) 18%, transparent); }
.nav-act { display: flex; align-items: center; gap: .6rem; flex: none; }
.lang { background: transparent; border: 1px solid var(--hairline); border-radius: 999px; height: 2.4rem; padding: 0 .9rem; cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--fg); transition: border-color .2s, color .2s; }
.lang:hover { border-color: var(--hue); color: var(--hue); }
.cta {
  display: inline-flex; align-items: center; gap: .4rem; height: 2.4rem; padding: 0 1.05rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
  color: #fff; background: var(--hue); box-shadow: 0 10px 26px -12px color-mix(in oklab, var(--hue) 85%, transparent); transition: background-color .5s, filter .2s;
}
.cta:hover { filter: brightness(1.08); }
.cta svg { transition: transform .2s; }
.cta:hover svg { transform: translateX(3px); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: .7rem; flex-direction: column; gap: .32rem; }
.burger span { width: 1.3rem; height: 1.5px; border-radius: 2px; background: var(--fg); transition: transform .25s, opacity .25s; display: block; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(.47rem) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-.47rem) rotate(-45deg); }

/* ---------- Section dots (right edge) ---------- */
.filament { position: fixed; top: 50%; right: 1.1rem; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; align-items: center; gap: .65rem; }
.filament a { width: .42rem; height: .42rem; border-radius: 99px; border: 1px solid color-mix(in oklab, var(--fg) 35%, transparent); transition: background-color .25s, transform .25s, border-color .25s; }
.filament a.on { background: var(--hue); border-color: var(--hue); transform: scale(1.5); }

/* ---------- Rooms ---------- */
.room { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; padding-block: 6rem 3rem; }
.section { position: relative; padding-block: clamp(4rem, 10vh, 6rem); }

/* Reveal */
.r { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.r.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding-top: 6.5rem; }
.hero-in { display: flex; flex-direction: column; align-items: center; }
.hp { display: flex; flex-direction: column; align-items: center; gap: .6rem; margin-bottom: 1.4rem; }
.hp-slide {
  position: relative; display: flex; align-items: center; gap: .55rem; width: min(90vw, 34rem); padding: .34rem .7rem .34rem .42rem; border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--k) 26%, var(--hairline));
  background: color-mix(in oklab, color-mix(in oklab, var(--fog) 70%, var(--base)) 80%, transparent); backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: inset 0 1px color-mix(in oklab, white 45%, transparent), 0 16px 34px -18px #14293b80, 0 8px 28px -10px color-mix(in oklab, var(--k) 38%, transparent);
  transition: transform .25s, box-shadow .3s, border-color .3s;
}
.hp-slide:hover { transform: translateY(-2px); }
.hp-tag { flex: none; display: inline-flex; align-items: center; gap: .4rem; font-family: var(--mono); font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--k); background: color-mix(in oklab, var(--k) 12%, transparent); padding: .28rem .6rem; border-radius: 999px; transition: color .3s; }
html[lang="bn"] .hp-tag { font-family: "Hind Siliguri", sans-serif; font-size: .78rem; letter-spacing: 0; padding: .12rem .6rem; }
.hp-dot { width: .4rem; height: .4rem; border-radius: 99px; background: var(--k); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--k) 55%, transparent); } 100% { box-shadow: 0 0 0 .5rem transparent; } }
.hp-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; font-weight: 500; transition: opacity .25s; }
.hp-arrow { flex: none; color: var(--muted); }
.hp-dots { display: flex; gap: .35rem; }
.hp-dots button { position: relative; width: .4rem; height: .32rem; border: 0; padding: 0; border-radius: 99px; cursor: pointer; overflow: hidden; background: color-mix(in oklab, var(--faint) 55%, transparent); transition: width .35s cubic-bezier(.2,.7,.2,1); }
.hp-dots button.on { width: 1.6rem; background: color-mix(in oklab, var(--k, var(--hue)) 20%, transparent); }
.hp-dots button.on::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--k, var(--hue)); transform-origin: left; animation: fill 4.5s linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero .kicker { margin-top: .6rem; }
.hero-word {
  font-size: clamp(3.2rem, 15vw, 12rem); line-height: .9; margin-top: 1.2rem; white-space: nowrap;
  background: linear-gradient(180deg, var(--fg) 20%, color-mix(in oklab, var(--hue) 70%, var(--fg)) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.035em;
}
html[lang="bn"] .hero-word { font-family: var(--display); line-height: .9; letter-spacing: -.035em; }
.hero-tag { max-width: 34rem; margin-top: 1.6rem; color: var(--muted); font-size: 1.1rem; line-height: 1.55; }
.chips { margin-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem .6rem; }
.chips li { font-size: .8rem; color: var(--muted); border: 1px solid var(--hairline); border-radius: 99px; padding: .35rem .85rem; }
.platforms { margin-top: 2.8rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.platforms ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem 2rem; }
.platforms li { display: flex; align-items: center; gap: .55rem; color: var(--muted); font-size: .92rem; font-weight: 500; transition: color .2s; }
.platforms li:hover { color: var(--fg); }
.pf-ic { width: 1.35rem; height: 1.35rem; border-radius: .35rem; display: grid; place-items: center; font-size: .66rem; font-weight: 800; color: #fff; background: var(--p); }
.scroll-cue { position: relative; z-index: 1; margin: 2.2rem auto 0; font-size: .66rem; }

/* ---------- Service rooms ---------- */
.svc { overflow: hidden; }
.ghost {
  position: absolute; z-index: 0; top: 50%; right: -1rem; transform: translateY(-50%); font-size: clamp(10rem, 34vw, 30rem); line-height: 1;
  pointer-events: none; color: transparent; -webkit-text-stroke: 1px color-mix(in oklab, var(--hue) 30%, transparent); opacity: .55;
}
.svc-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.svc-title { font-size: clamp(2.4rem, 5.6vw, 4.4rem); margin-top: .6rem; }
.svc-tag { margin-top: .7rem; font-weight: 600; font-size: 1.05rem; }
.svc-blurb { margin-top: 1rem; max-width: 32rem; color: var(--muted); line-height: 1.6; }
.svc-list { margin-top: 1.8rem; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 2rem; max-width: 40rem; }
.svc-list li { display: flex; align-items: center; gap: .7rem; font-size: .95rem; }
.explore { display: inline-block; margin-top: 1.8rem; font-weight: 600; font-size: .95rem; transition: letter-spacing .25s; }
.explore:hover { letter-spacing: .02em; }
.shape-box { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 26rem; justify-self: center; }
.shape { width: 100%; height: 100%; display: block; }

/* ---------- How we work (finale) ---------- */
.finale-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.finale h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-top: .6rem; }
.finale p { margin-top: 1rem; color: var(--muted); line-height: 1.6; max-width: 34rem; }
.steps { margin-top: 1.4rem; display: flex; flex-direction: column; gap: .8rem; max-width: 34rem; }
.steps li { display: flex; gap: .9rem; align-items: baseline; }
.idx { font-family: var(--mono); font-weight: 700; color: var(--hue); font-size: .8rem; flex: none; }
.steps strong { color: var(--fg); font-weight: 600; }
.steps span span { color: var(--muted); }
.finale .cta-row { margin-top: 2rem; }
.globe-box { position: relative; max-width: 28rem; width: 100%; aspect-ratio: 1 / 1; margin-inline: auto; }
#globe { width: 100%; height: 100%; display: block; }
.globe-pin { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); pointer-events: none; transition: opacity .3s; }
.globe-pin i { position: absolute; left: 50%; top: 50%; width: .7rem; height: .7rem; transform: translate(-50%, -50%); border-radius: 99px; background: var(--brand-orange); box-shadow: 0 0 0 3px #fff; }
.globe-pin i::after { content: ""; position: absolute; inset: -.3rem; border-radius: 99px; background: var(--brand-orange); opacity: .5; animation: ping 1.7s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
.globe-pin em { position: absolute; bottom: .9rem; left: 50%; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: .72rem; font-weight: 600; padding: .12rem .55rem; border-radius: 99px; border: 1px solid var(--hairline); background: var(--fog); color: var(--fg); }

.plat-cards { margin-top: 4.5rem; text-align: center; }
.plat-cards .plat-cards-label { max-width: none; margin: 0 0 1.25rem; font-size: .92rem; font-weight: 500; color: var(--muted); }
.plat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; max-width: 58rem; margin: 0 auto; }
.plat-card { display: flex; align-items: center; gap: .85rem; padding: .8rem 1.1rem .8rem .8rem; border: 1px solid var(--hairline); border-radius: .9rem; background: color-mix(in oklab, var(--fog) 60%, transparent); text-align: left; }
.plat-mark { flex: none; width: 2.5rem; height: 2.5rem; border-radius: .6rem; display: grid; place-items: center; font-weight: 800; font-size: .95rem; color: var(--p); background: color-mix(in oklab, var(--p) 12%, transparent); }
.plat-card b { display: block; font-weight: 600; font-size: .95rem; line-height: 1.2; }
.plat-card small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.3; }

/* ---------- Team ---------- */
.team-grid { margin-top: 2.2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.1rem; }
.member {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.9rem 1.4rem 1.6rem;
  border: 1px solid var(--hairline); border-radius: var(--r-xl); background: var(--fog);
  box-shadow: inset 0 1px color-mix(in oklab, white 60%, transparent), var(--shadow); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.member:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--hue) 45%, transparent); box-shadow: var(--shadow-glow); }
.avatar { width: 6rem; height: 6rem; border-radius: 99px; overflow: hidden; display: grid; place-items: center; font-family: var(--display); font-size: 1.7rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--fg), var(--hue)); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { margin-top: 1rem; font-size: 1.05rem; font-weight: 600; }
.member p { margin-top: .4rem; padding-top: .55rem; border-top: 1px solid var(--hairline); width: 100%; font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hue); }
html[lang="bn"] .member p { font-family: inherit; text-transform: none; letter-spacing: 0; font-size: .9rem; }

/* ---------- Proposal ---------- */
.pp-intro { max-width: 36rem; }
.pp {
  display: grid; grid-template-columns: .76fr 1.24fr; margin-top: 2.2rem; border: 1px solid var(--hairline); border-radius: var(--r-xl); overflow: hidden;
  background: var(--fog); box-shadow: inset 0 1px color-mix(in oklab, white 55%, transparent), var(--shadow-glow);
}
.pp-sum { position: relative; overflow: hidden; background: var(--fg); color: #e8f0f7; }
.pp-sum::after { content: ""; position: absolute; inset: auto -30% -50%; height: 75%; background: radial-gradient(58% 100% at 50% 100%, color-mix(in oklab, var(--hue) 60%, transparent), transparent 72%); pointer-events: none; }
.pp-sum-in { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.15rem; height: 100%; padding: 1.6rem 1.5rem; }
.pp-sum-in > * + * { padding-top: 1rem; border-top: 1px solid rgba(232, 240, 247, .14); }
.pp-head { color: #fff; font-size: .66rem; }
.pp-list { display: flex; flex-direction: column; gap: .72rem; }
.pp-list li { display: flex; align-items: baseline; gap: .55rem; font-family: var(--mono); font-size: .7rem; }
.pp-list b { color: color-mix(in oklab, var(--hue) 55%, white); }
.pp-list i { font-style: normal; text-transform: uppercase; letter-spacing: .14em; white-space: nowrap; color: rgba(232, 240, 247, .5); }
html[lang="bn"] .pp-list i { font-family: "Hind Siliguri", sans-serif; text-transform: none; letter-spacing: 0; font-size: .85rem; }
.pp-list li::after { content: ""; flex: 1; min-width: .8rem; border-bottom: 1px dotted rgba(232, 240, 247, .22); transform: translateY(-.18rem); }
.pp-list span { order: 1; max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(232, 240, 247, .32); transition: color .2s; font-family: "Inter", "Hind Siliguri", sans-serif; }
.pp-list li.done span { color: #fff; }
.pp-next { display: flex; flex-direction: column; gap: .6rem; font-size: .8rem; line-height: 1.45; color: rgba(232, 240, 247, .72); }
.pp-next li { display: flex; gap: .5rem; }
.pp-next li::before { content: "→"; color: color-mix(in oklab, var(--hue) 55%, white); }
.pp-meter { margin-top: auto; display: flex; flex-direction: column; gap: .45rem; }
.pp-meter-head { display: flex; justify-content: space-between; font-size: .62rem; color: rgba(232, 240, 247, .5); }
.pp-meter-head b { color: #fff; }
.pp-bar { display: flex; gap: .22rem; }
.pp-bar i { flex: 1; height: .3rem; border-radius: 1px; background: rgba(232, 240, 247, .13); transition: background-color .25s; }
.pp-bar i.on { background: color-mix(in oklab, var(--hue) 65%, white); }
.pp-meter small { font-size: .76rem; line-height: 1.5; color: rgba(232, 240, 247, .5); }

.pp-form { display: flex; flex-direction: column; gap: 1.3rem; padding: 1.6rem 1.5rem; }
.pp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.2rem; }
.fld { display: block; border: 0; min-width: 0; }
.fld.wide { grid-column: 1 / -1; }
.lbl { display: block; margin-bottom: .15rem; font-size: .6rem; letter-spacing: .16em; color: var(--faint); }
.lbl i { font-style: normal; opacity: .65; }
html[lang="bn"] .lbl { font-size: .82rem; }
.fld input, .fld textarea {
  width: 100%; padding: .35rem .1rem; border: 0; border-bottom: 1px solid var(--hairline); border-radius: 0; background: transparent;
  color: var(--fg); font-size: .95rem; transition: border-color .18s, box-shadow .18s; resize: vertical;
}
.fld input { height: 2.3rem; }
.fld textarea { min-height: 4.4rem; line-height: 1.55; }
.fld input:focus, .fld textarea:focus { outline: 0; border-color: var(--hue); box-shadow: 0 1px 0 0 var(--hue); }
.fld ::placeholder { color: #9aabbb; }
.pp-svcs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .35rem; }
.opt, .chip { position: relative; display: block; }
.opt input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.opt > span { display: flex; align-items: flex-start; gap: .55rem; padding: .62rem .7rem; border: 1px solid var(--hairline); border-radius: var(--r-sm); cursor: pointer; height: 100%; transition: border-color .18s, background-color .18s; }
.opt b { flex: none; font-family: var(--mono); font-size: .68rem; line-height: 1.6; color: var(--faint); }
.opt em { display: block; font-style: normal; font-size: .86rem; font-weight: 600; line-height: 1.3; color: var(--fg); }
.opt small { display: block; margin-top: .1rem; font-size: .74rem; line-height: 1.3; color: var(--muted); }
.opt:hover > span { border-color: color-mix(in oklab, var(--pill) 50%, transparent); }
.opt input:checked + span { border-color: color-mix(in oklab, var(--pill) 62%, transparent); background: color-mix(in oklab, var(--pill) 9%, transparent); }
.opt input:checked + span b { color: var(--pill); }
.pp-budgets { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .35rem; }
.chip span { display: block; padding: .34rem .78rem; border: 1px solid var(--hairline); border-radius: 99px; font-size: .8rem; font-weight: 500; white-space: nowrap; color: var(--muted); cursor: pointer; transition: all .18s; }
.chip:hover span { border-color: color-mix(in oklab, var(--hue) 50%, transparent); color: var(--fg); }
.chip input:checked + span { border-color: var(--hue); background: var(--hue); color: #fff; }
.opt input:focus-visible + span, .chip input:focus-visible + span { outline: 2px solid var(--hue); outline-offset: 2px; }
.pp-err { padding: .55rem .75rem; border-radius: var(--r-sm); background: rgba(190, 40, 40, .08); font-size: .85rem; color: #b42424; }
.pp-submit { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; padding-top: 1.15rem; border-top: 1px solid var(--hairline); }
.fine { flex: 1; min-width: 11rem; font-size: .78rem; line-height: 1.45; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px dashed var(--hairline); background: color-mix(in oklab, var(--base) 86%, transparent); }
.ft-top { max-width: 72rem; margin-inline: auto; padding: 4rem 1.5rem 3rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.75rem 3rem; }
.ft-brand { max-width: 24rem; }
.ft-blurb { margin-top: 1.25rem; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.ft-links { display: flex; flex-wrap: wrap; gap: 2.5rem 4rem; }
.ft-col h3 { font-size: .85rem; font-weight: 600; }
.ft-col ul { margin-top: 1.1rem; display: flex; flex-direction: column; gap: .65rem; font-size: .88rem; color: var(--muted); }
.ft-col a { transition: color .2s; }
.ft-col a:hover { color: var(--fg); }
.ft-bottom { border-top: 1px dashed var(--hairline); font-size: .8rem; color: var(--muted); }
.ft-bottom > div { max-width: 72rem; margin-inline: auto; padding: 1.25rem 1.5rem; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .nav-links {
    position: absolute; top: calc(100% + .7rem); right: 0; width: min(16rem, 86vw); flex-direction: column; align-items: stretch; gap: .2rem; padding: .6rem;
    border: 1px solid var(--hairline); border-radius: 1.25rem; background: color-mix(in oklab, var(--base) 94%, transparent); backdrop-filter: blur(16px);
    box-shadow: 0 30px 70px -30px rgba(20, 41, 59, .35); display: none; margin: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .7rem .9rem; border-radius: .75rem; font-size: .98rem; }
  .nav-act { margin-left: auto; }
  .burger { display: flex; }
  .filament { display: none; }
  .svc-grid, .finale-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .shape-box { max-width: 16rem; order: -1; }
  .room { min-height: auto; padding-block: 5rem 3rem; }
  .hero { min-height: 100svh; }
  .pp { grid-template-columns: 1fr; }
  .plat-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hide-sm { display: none !important; }
  .svc-list, .pp-grid, .plat-row { grid-template-columns: 1fr; }
  .pp-svcs { grid-template-columns: 1fr; }
  .ghost { font-size: 13rem; right: -2rem; top: 12rem; }
  .nav-in { padding-left: .9rem; }
  .hero-tag { font-size: 1rem; }
  .pp-form, .pp-sum-in { padding: 1.3rem 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .r { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
.ft-col li { max-width: 15rem; line-height: 1.5; }
