/* ExcelGraphics — Concept B "Bright Editorial"
   Plain CSS, no build step. Edit tokens in :root to retheme. */

:root {
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-mute: #6a6a6a;
  --paper: #ffffff;
  --paper-soft: #f6f6f6;
  --paper-tint: #f2f2f2;
  --line: #e6e6e6;

  --blue: #35c4f5;
  --blue-deep: #0e8fc4;
  --blue-ink: #0a6f99;
  --purple: #8b2fc9;
  --purple-ink: #6a1fa0;
  --pink: #ff1493;
  --pink-ink: #b5126a;
  --red: #ff3b3b;
  --red-ink: #b51f1f;
  --yellow: #ffc452;
  --yellow-ink: #8a5a00;
  --green: #8fd14f;
  --green-ink: #3b6d0e;

  --radius: 24px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: 32px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-decoration: none; }
a:hover { color: var(--blue-ink); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 16px; color: #fff; }

/* Rainbow rule */
.rainbow { display: flex; height: 6px; width: 100%; }
.rainbow span { flex: 1; }
.rainbow span:nth-child(1) { background: var(--red); }
.rainbow span:nth-child(2) { background: var(--yellow); }
.rainbow span:nth-child(3) { background: var(--green); }
.rainbow span:nth-child(4) { background: var(--blue); }
.rainbow span:nth-child(5) { background: var(--purple); }
.rainbow span:nth-child(6) { background: var(--pink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 32px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 16px; border: 0; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue-deep); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-soft { background: var(--paper-tint); color: var(--ink); }
.btn-soft:hover { background: #e8e8e8; color: var(--ink); }
.btn-sm { min-height: 46px; padding: 0 24px; font-size: 15px; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f2f2f2; color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; font-size: 15px; letter-spacing: .3em; text-transform: uppercase; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.nav-links > ul { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a, .nav-btn { color: var(--ink); font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-btn:hover { color: var(--blue-deep); }
.nav-links a.btn-dark { color: #fff; }
.nav-links a.btn-dark:hover { color: #fff; }
.nav-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 8px 0; cursor: pointer; }
.nav-btn svg { transition: transform .2s; }
.has-menu { position: relative; }
.has-menu.is-open .nav-btn svg { transform: rotate(180deg); }
.menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: min(680px, calc(100vw - 48px)); background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.16), 0 0 0 1px var(--line); padding: 18px; display: none; z-index: 60; }
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-menu.is-open .menu { display: block; }
@media (hover: hover) and (min-width: 769px) {
  .has-menu:hover .menu, .has-menu:focus-within .menu { display: block; }
  .has-menu:hover .nav-btn svg, .has-menu:focus-within .nav-btn svg { transform: rotate(180deg); }
}
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.menu-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 14px; color: var(--ink); background: var(--paper-soft); transition: transform .15s, background .15s; }
.menu-card:hover { transform: translateY(-2px); color: var(--ink); }
.menu-card strong { font-size: 15px; font-weight: 600; line-height: 1.3; }
.menu-card > span:last-child { font-size: 13px; color: var(--ink-soft); line-height: 1.45; }
.menu-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 6px; }
.menu-icon svg { width: 18px; height: 18px; }
.menu-blue .menu-icon { background: var(--blue-deep); } .menu-blue:hover { background: #e0f5fd; }
.menu-purple .menu-icon { background: var(--purple); } .menu-purple:hover { background: #f1e4fa; }
.menu-pink .menu-icon { background: var(--pink); } .menu-pink:hover { background: #ffe2f1; }
.menu-card[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--ink); }
.menu-more { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 16px 6px 2px; margin-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; }
.menu-more > span { color: var(--ink-mute); margin-right: 6px; }
.menu-more a { color: var(--ink); font-weight: 500; }
.menu-more a:hover { color: var(--blue-deep); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 3px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* Hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero h1 { font-size: clamp(38px, 4.6vw, 62px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--blue-deep); }
.hero p { max-width: 560px; font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-soft); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scene { position: relative; }
.scene { display: block; width: 100%; height: auto; overflow: visible; }
.scene .layer { transition: transform .25s ease-out; will-change: transform; }
.scene .orbit { transform-box: fill-box; transform-origin: center; animation: spin 90s linear infinite; }
.scene .pop { transform-box: fill-box; transform-origin: center; animation: pop-in .7s cubic-bezier(.2,.9,.3,1.15) both; animation-delay: var(--d, 0s); }
.scene .bar { transform-box: fill-box; transform-origin: left center; animation: bar-in .6s ease-out both; animation-delay: var(--d, 0s); }
.scene .vbar { transform-box: fill-box; transform-origin: center bottom; animation: vbar-in .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d, 0s); }
.scene .slide-in { transform-box: fill-box; transform-origin: center; animation: slide-in .6s cubic-bezier(.2,.9,.3,1.15) both; animation-delay: var(--d, 0s); }
.scene .piece-in { transform-box: fill-box; transform-origin: center; animation: piece-in 1s cubic-bezier(.2,.9,.3,1.1) both; animation-delay: var(--d, 0s); }
.scene .float { transform-box: fill-box; transform-origin: center; animation: float var(--t, 7s) ease-in-out infinite; animation-delay: var(--fd, 0s); }
.scene .heart { transform-box: fill-box; transform-origin: center; animation: heart 2.6s ease-in-out infinite 2.2s; }
.scene .knob { transform-box: fill-box; transform-origin: center; animation: knob 5s ease-in-out infinite 2.6s; }
.scene .spark { transform-box: fill-box; transform-origin: center; animation: spark 3s ease-in-out infinite; animation-delay: var(--d, 0s); opacity: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(18px) scale(.7); } to { opacity: 1; transform: none; } }
@keyframes bar-in { from { transform: scaleX(0); } to { transform: none; } }
@keyframes vbar-in { from { transform: scaleY(0); } to { transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translate(40px, -12px); } to { opacity: 1; transform: none; } }
@keyframes piece-in { from { opacity: 0; transform: scale(.2) rotate(-70deg); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(5deg); } }
@keyframes heart { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.35); } 24% { transform: scale(1); } }
@keyframes knob { 0%, 35%, 100% { transform: translateX(0); } 45%, 90% { transform: translateX(-16px); } }
@keyframes spark { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(30deg); } }

/* Discipline ticker */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.m-item { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; white-space: nowrap; color: var(--ink); }
.m-item i { width: 12px; height: 12px; border-radius: 4px; transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding-top: 8px; list-style: none; margin: 0; padding-left: 0; }
.pill { padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.pill-red { background: #ffe9e9; color: var(--red-ink); }
.pill-yellow { background: #fff3d6; color: var(--yellow-ink); }
.pill-green { background: #eaf7db; color: var(--green-ink); }
.pill-blue { background: #e0f5fd; color: var(--blue-ink); }
.pill-purple { background: #f1e4fa; color: var(--purple-ink); }
.pill-pink { background: #ffe2f1; color: var(--pink-ink); }

/* Section basics */
.section { padding: 112px 0; }
.section-soft { background: var(--paper-soft); }
.section-dark { background: var(--ink); color: #fff; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--blue-deep); }
.section-dark .eyebrow { color: var(--yellow); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.section-head.center { align-items: center; text-align: center; margin: 0 auto; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.1; }
.section-head p { font-size: 17px; color: var(--ink-soft); }
.section-dark .section-head p { color: #b8b8b8; }

/* Core services (the three) */
.core { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.core-card { border-radius: var(--radius); padding: 40px 36px 230px; display: flex; flex-direction: column; gap: 20px; min-height: 640px; color: var(--ink); position: relative; overflow: hidden; }
.card-scene { position: absolute; left: 36px; right: -24px; bottom: -46px; pointer-events: none; transition: transform .35s cubic-bezier(.2,.8,.2,1); filter: drop-shadow(0 18px 24px rgba(0,0,0,.18)); }
.card-scene svg { display: block; width: 100%; height: auto; }
.card-scene-app { left: 24px; right: -8px; bottom: -40px; filter: none; }
.card-scene-app svg { filter: drop-shadow(0 14px 18px rgba(0,0,0,.2)); }
.card-scene-mkt { left: 24px; right: -12px; bottom: -22px; filter: none; }
.card-scene-mkt svg { filter: drop-shadow(0 14px 18px rgba(0,0,0,.18)); }
.core-card:hover .card-scene { transform: translateY(-10px); }
.core-card .num { font-size: 14px; font-weight: 600; opacity: .75; }
.core-card .icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.55); }
.core-card h3 { font-size: 28px; font-weight: 700; }
.core-card p { font-size: 15.5px; line-height: 1.65; }
.core-card ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; font-weight: 500; }
.core-card li { display: flex; gap: 10px; align-items: flex-start; }
.core-card li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-top: 8px; opacity: .7; }
.core-card .card-btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px 0 26px; border-radius: 14px; font-weight: 600; font-size: 15px; position: relative; z-index: 1; box-shadow: 0 10px 24px rgba(0,0,0,.18); transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; }
.core-card .card-btn svg { transition: transform .15s ease; }
.core-card .card-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,0,0,.24); }
.core-card .card-btn:hover svg { transform: translateX(4px); }
.core-blue .card-btn { background: var(--ink); color: #fff; }
.core-blue .card-btn:hover { background: #000; color: #fff; }
.core-purple .card-btn { background: #fff; color: var(--purple-ink); }
.core-purple .card-btn:hover { background: #fff; color: var(--purple-ink); }
.core-pink .card-btn { background: #fff; color: var(--pink-ink); }
.core-pink .card-btn:hover { background: #fff; color: var(--pink-ink); }
.core-blue { background: var(--blue); color: #072c3a; }
.core-purple { background: var(--purple); color: #fff; }
.core-purple .icon { background: rgba(255,255,255,.18); }
.core-pink { background: var(--pink); color: #fff; }
.core-pink .icon { background: rgba(255,255,255,.2); }

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about-copy { display: flex; flex-direction: column; gap: 20px; }
.about-copy h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; }
.about-copy p { font-size: 17px; color: var(--ink-soft); }
.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.motion-tile { grid-column: 1 / -1; background: #fff; border-radius: 16px; padding: 20px 24px 22px; display: flex; flex-direction: column; gap: 6px; border-bottom: 4px solid var(--purple); }
.motion-tile span { font-size: 14px; color: var(--ink-soft); }
.motion { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto; }
.motion .mp { transform-box: fill-box; transform-origin: center; animation: assemble 7s cubic-bezier(.3,.9,.3,1) infinite; animation-delay: var(--md, 0s); }
@keyframes assemble {
  0%, 100% { transform: var(--out); opacity: 0; }
  18%, 72% { transform: none; opacity: 1; }
  86% { transform: var(--out); opacity: 0; }
}
.stat { background: #fff; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 8px; border-bottom: 4px solid var(--line); }
.stat strong { font-size: 32px; font-weight: 800; line-height: 1; }
.stat span { font-size: 14px; color: var(--ink-soft); }
.stat-red { border-color: var(--red); }
.stat-blue { border-color: var(--blue); }
.stat-green { border-color: var(--green); }
.stat-pink { border-color: var(--pink); }

/* Secondary services */
.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.more-item { background: var(--paper-soft); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; border-top: 4px solid var(--line); }
.more-icon { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 6px; }
.more-icon svg { width: 22px; height: 22px; }
.more-item h3 { font-size: 19px; font-weight: 600; }
.more-item p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.more-red { border-color: var(--red); }
.more-yellow { border-color: var(--yellow); }
.more-green { border-color: var(--green); }
.more-blue { border-color: var(--blue); }
.more-purple { border-color: var(--purple); }
.more-pink { border-color: var(--pink); }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; position: relative; }
.process::before { content: ""; position: absolute; left: 8%; right: 8%; top: 50px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--blue-deep), var(--purple), #d6127a, var(--ink)); transform: scaleX(0); transform-origin: left center; transition: transform 1.4s cubic-bezier(.2,.8,.2,1) .2s; }
.process.is-visible::before { transform: scaleX(1); }
.process.reveal { opacity: 1; transform: none; }
.step { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; position: relative; }
.step .step-num { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; background: var(--ink); }
.step h3 { font-size: 19px; font-weight: 600; }
.step p { font-size: 15px; color: var(--ink-soft); }

/* Commitment */
.section-dark { position: relative; overflow: hidden; }
.blobs-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: .32; animation: drift 26s ease-in-out infinite; }
.blob-1 { background: var(--purple); left: -160px; top: -200px; }
.blob-2 { background: var(--pink); right: -180px; top: -120px; animation-delay: -9s; }
.blob-3 { background: var(--blue-deep); left: 35%; bottom: -320px; animation-delay: -17s; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(60px, 40px) scale(1.1); } 66% { transform: translate(-40px, 70px) scale(.95); } }
.commit { display: grid; grid-template-columns: 400px 1fr; gap: 64px; align-items: flex-start; position: relative; }
.commit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }
.commit-item { padding: 24px 0; border-top: 2px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.commit-item strong { font-size: 18px; font-weight: 600; }
.commit-item span { font-size: 14px; color: #b8b8b8; }
.c-red { border-color: var(--red); } .c-blue { border-color: var(--blue); } .c-green { border-color: var(--green); }
.c-yellow { border-color: var(--yellow); } .c-purple { border-color: #b46be8; } .c-pink { border-color: var(--pink); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: flex-start; }
.contact-copy { display: flex; flex-direction: column; gap: 20px; }
.contact-copy h2 { font-size: clamp(36px, 4.5vw, 56px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
.contact-copy p { font-size: 18px; color: var(--ink-soft); max-width: 520px; }
.contact-meta { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; font-size: 16px; }
.contact-meta a { font-weight: 500; }
.form { background: var(--paper-soft); border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid #d9d9d9; border-radius: 10px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue-deep); outline: none; box-shadow: 0 0 0 3px rgba(14,143,196,.2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--ink-mute); }
.form-status { font-size: 15px; font-weight: 500; min-height: 1.5em; }
.form-status.ok { color: var(--green-ink); }
.form-status.err { color: var(--red-ink); }
.honey { position: absolute; left: -9999px; }

/* Contact CTA card (home page; the form itself lives in the modal) */
.contact-cta { background: #fff; border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; gap: 14px; border-top: 6px solid var(--blue); }
.contact-cta h3 { font-size: 26px; font-weight: 700; }
.contact-cta p { font-size: 16px; color: var(--ink-soft); }
.contact-cta .btn { align-self: flex-start; margin-top: 6px; }
.contact-cta .swatches { display: flex; gap: 8px; }
.contact-cta .swatches span { width: 14px; height: 14px; border-radius: 50%; }

/* Contact modal */
.modal { border: 0; padding: 0; background: transparent; width: min(720px, calc(100vw - 32px)); max-width: none; max-height: none; margin: auto; color: var(--ink); }
.modal::backdrop { background: rgba(12,12,12,.6); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-card { background: #fff; border-radius: var(--radius); padding: 40px; position: relative; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; }
.modal-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; padding-right: 48px; }
.modal-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; }
.modal-head p { font-size: 16px; color: var(--ink-soft); }
.modal-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--paper-tint); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.modal-close:hover { background: #e4e4e4; }
.modal .form { background: transparent; padding: 0; }
.modal .form .btn { width: auto; align-self: flex-start; }
body.modal-open { overflow: hidden; }

/* Service pages */
.svc-hero { padding: 72px 0 80px; color: var(--ink); }
.svc-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.svc-hero .crumb { display: flex; width: fit-content; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: inherit; opacity: .8; margin-bottom: 22px; }
.svc-hero .crumb:hover { opacity: 1; }
.svc-hero .eyebrow { color: inherit; opacity: .8; }
.svc-hero h1 { font-size: clamp(38px, 5vw, 64px); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 10px 0 18px; }
.svc-hero .lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 620px; margin-bottom: 28px; }
.svc-hero .hero-actions { justify-content: flex-start; }
.svc-hero .btn-light { background: #fff; color: var(--ink); }
.svc-hero { overflow: hidden; }
.svc-hero-art { position: relative; }
.svc-hero-art .scene { max-width: 560px; margin: 0 auto; }
.scene .ring { animation: ring 1.4s cubic-bezier(.2,.8,.2,1) 2.2s forwards; }
@keyframes ring { to { stroke-dashoffset: 0; } }
.scene .cursor { transform-box: fill-box; transform-origin: top left; animation: cursor 6s ease-in-out 1.6s infinite; }
@keyframes cursor { 0% { transform: translate(300px, 420px); } 25%, 32% { transform: translate(120px, 206px); } 30% { transform: translate(120px, 206px) scale(.85); } 60% { transform: translate(380px, 150px); } 100% { transform: translate(300px, 420px); } }
.svc-blue { background: var(--blue); color: #072c3a; }
.svc-purple { background: var(--purple); color: #fff; }
.svc-pink { background: var(--pink); color: #fff; }
.svc-purple .btn-dark, .svc-pink .btn-dark { background: var(--ink); }
.glance { border-bottom: 1px solid var(--line); background: #fff; }
.glance-list { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 12px 36px; font-size: 15px; font-weight: 500; }
.glance-list li { display: flex; align-items: center; gap: 10px; }
.glance-list li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; transform: rotate(45deg); background: var(--blue); }
.glance-list li:nth-child(2)::before { background: var(--purple); }
.glance-list li:nth-child(3)::before { background: var(--pink); }
.glance-list li:nth-child(4)::before { background: var(--green); }
.glance-list li:nth-child(5)::before { background: var(--yellow); }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.feature { background: var(--paper-soft); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.feature .icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; }
.feature h3 { font-size: 19px; font-weight: 600; }
.feature p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.bg-blue { background: var(--blue-deep); } .bg-purple { background: var(--purple); } .bg-pink { background: var(--pink); }
.bg-red { background: var(--red); } .bg-yellow { background: var(--yellow); color: var(--ink) !important; } .bg-green { background: var(--green); color: var(--ink) !important; }

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.fit-col { display: flex; flex-direction: column; gap: 18px; }
.fit-col h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; line-height: 1.1; }
.fit-col > p { font-size: 17px; color: var(--ink-soft); }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; font-weight: 500; }
.checks li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.deliverables { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.deliverables strong { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-deep); }
.deliverables ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.deliverables li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.deliverables li:last-child { border-bottom: 0; }

.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 500; color: var(--blue-deep); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.65; }

/* Service hero variants */
.svc-hero.flip .svc-hero-copy { order: 2; }
.svc-hero.flip .svc-hero-art { order: 1; }
.svc-hero.center .svc-hero-inner { grid-template-columns: 1fr; gap: 24px; }
.svc-hero.center .svc-hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.svc-hero.center .lead { margin-left: auto; margin-right: auto; max-width: 720px; }
.svc-hero.center .hero-actions { justify-content: center; }
.svc-hero.center .svc-hero-art .scene { max-width: 820px; }
.svc-hero.center { padding-bottom: 40px; }

/* Website page: anatomy, included table, timeline */
.anatomy { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.anatomy-art svg { display: block; width: 100%; height: auto; }
.callouts { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.callouts li { display: flex; gap: 16px; align-items: flex-start; }
.callout-num { flex: none; width: 30px; height: 30px; border-radius: 50%; color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.callouts strong { display: block; font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.callouts p { font-size: 15px; color: var(--ink-soft); }
.inc-table { margin: 40px 0 0; border-top: 2px solid var(--ink); }
.inc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.inc-row dt { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 17px; }
.inc-row dd { margin: 0; font-size: 15.5px; color: var(--ink-soft); line-height: 1.65; }
.inc-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; }
.inc-icon svg { width: 18px; height: 18px; }
.timeline { margin-top: 56px; }
.tl-bar { display: flex; gap: 6px; height: 14px; }
.tl-bar span { border-radius: 7px; transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.timeline.is-visible .tl-bar span:nth-child(1) { transform: none; }
.timeline.is-visible .tl-bar span:nth-child(2) { transform: none; transition-delay: .25s; }
.timeline.is-visible .tl-bar span:nth-child(3) { transform: none; transition-delay: .5s; }
.timeline.is-visible .tl-bar span:nth-child(4) { transform: none; transition-delay: .75s; }
.tl-cols { display: flex; gap: 6px; margin-top: 20px; }
.tl-col { display: flex; flex-direction: column; gap: 6px; padding-right: 20px; }
.tl-when { font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.tl-col strong { font-size: 19px; font-weight: 600; }
.tl-col p { font-size: 14.5px; color: var(--ink-soft); }
.faq-2col { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }

/* App page: phases, bento, compare */
.phases-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.phases-head { position: sticky; top: 100px; }
.phases-head .btn { align-self: flex-start; margin-top: 8px; }
.phases { position: relative; display: flex; flex-direction: column; gap: 28px; }
.phases::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.phase { display: grid; grid-template-columns: 150px 1fr; gap: 20px; }
.phase-label { display: flex; align-items: flex-start; gap: 14px; padding-top: 22px; }
.phase-dot { flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 5px #fff; margin-top: 1px; position: relative; z-index: 1; }
.phase-label strong { font-size: 15px; font-weight: 700; }
.phase-card { background: var(--paper-soft); border-radius: 20px; padding: 24px 28px; }
.phase-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.phase-card ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: 14.5px; color: var(--ink-soft); }
.phase-card li { display: flex; gap: 8px; }
.phase-card li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); margin-top: 8px; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.tile { background: #fff; border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.tile .icon { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 4px; }
.tile .icon svg { width: 20px; height: 20px; }
.tile h3 { font-size: 19px; font-weight: 600; }
.tile p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.tile-lg { grid-column: span 4; grid-row: span 2; }
.tile-md { grid-column: span 2; }
.tile-sm { grid-column: span 2; }
.tile-purple { background: var(--purple); color: #fff; }
.tile-purple p { color: rgba(255,255,255,.82); }
.tile-purple .icon { background: rgba(255,255,255,.2); }
.tile-art { position: absolute; right: 26px; bottom: 26px; width: 46%; height: auto; }
.tile-lg h3, .tile-lg p { max-width: 50%; }
.compare-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.compare table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 16px 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 15px; font-weight: 700; border-bottom: 2px solid var(--ink); padding-top: 0; }
.compare tbody th { font-weight: 600; color: var(--ink); width: 34%; }
.compare td { color: var(--ink-soft); }
.compare tbody tr:nth-child(odd) { background: var(--paper-soft); }
.compare .swatch { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 8px; vertical-align: -1px; }

/* Marketing page: calendar, rail, ways */
.month { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 13.5px; font-weight: 500; margin-top: 8px; }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cal-legend i { width: 12px; height: 12px; border-radius: 4px; }
.calendar { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-head { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-mute); text-align: center; padding-bottom: 6px; }
.cal-cell { aspect-ratio: 1; background: var(--paper-soft); border-radius: 10px; display: flex; align-items: flex-end; padding: 6px; }
.cal-cell i { font-style: normal; font-size: 11px; font-weight: 600; border-radius: 6px; padding: 4px 7px; width: 100%; text-align: center; line-height: 1.2; transform: scale(.6); opacity: 0; transition: transform .4s cubic-bezier(.2,.9,.3,1.2), opacity .3s; }
.calendar.is-visible .cal-cell i { transform: none; opacity: 1; }
.calendar.is-visible .cal-cell:nth-child(3n) i { transition-delay: .1s; }
.calendar.is-visible .cal-cell:nth-child(3n+1) i { transition-delay: .2s; }
.calendar.is-visible .cal-cell:nth-child(3n+2) i { transition-delay: .3s; }
.calendar.is-visible .cal-cell:nth-child(n+16) i { transition-delay: .45s; }
.calendar.is-visible .cal-cell:nth-child(n+23) i { transition-delay: .6s; }
.rail-section { overflow: hidden; }
.rail-wrap { margin-top: 40px; }
.rail { --rail-pad: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; padding: 8px var(--rail-pad) 24px; scroll-padding-left: var(--rail-pad); scrollbar-width: thin; }
.rail::after { content: ""; flex: none; width: 1px; }
.rail-card { flex: none; width: 300px; scroll-snap-align: start; background: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); }
.rail-card .icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; }
.rail-card h3 { font-size: 19px; font-weight: 600; }
.rail-card p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; align-items: stretch; }
.way { background: var(--paper-soft); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.way h3 { font-size: 24px; font-weight: 700; }
.way > p { font-size: 15.5px; color: var(--ink-soft); }
.way .checks { margin: 8px 0 12px; }
.way .checks li { font-size: 15px; }
.way .btn { margin-top: auto; }
.way-featured { background: #fff; box-shadow: 0 0 0 2px var(--pink), 0 24px 48px rgba(255,20,147,.14); }
.way-featured .checks li::before { background: var(--pink); }

.svc-cta { text-align: center; }
.svc-cta .container { position: relative; }
.svc-cta .section-head { align-items: center; text-align: center; margin: 0 auto; }
.svc-cta .hero-actions { margin-top: 28px; }
.svc-cta .btn-light { background: #fff; color: var(--ink); }
.other-services { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 56px auto 0; max-width: 820px; text-align: left; }
.other-services a { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; transition: background .15s; }
.other-services a:hover { background: rgba(255,255,255,.12); color: #fff; }
.other-services span { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); font-weight: 600; }
.other-services strong { font-size: 18px; font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding: 72px 0 0; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { font-size: 15px; color: #b8b8b8; max-width: 320px; line-height: 1.65; }
.footer-marks { display: flex; gap: 8px; }
.footer-marks i { width: 14px; height: 14px; border-radius: 4px; transform: rotate(45deg); }
.footer-col h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #8a8a8a; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: #fff; font-size: 15px; }
.footer-col a:hover { color: var(--blue); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-contact a { font-weight: 500; }
.footer-contact span { font-size: 14px; color: #b8b8b8; }
.footer-contact .btn { margin-top: 10px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 0 var(--gutter) 26px; }
.footer-bottom::before { content: ""; flex-basis: 100%; height: 1px; background: rgba(255,255,255,.12); margin-bottom: 22px; }
.copyright { font-size: 13px; color: #8a8a8a; }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; font-weight: 500; }
.to-top:hover { color: var(--blue); }
.site-footer .rainbow { position: absolute; left: 0; right: 0; bottom: 0; }

/* Reveal on scroll (progressive enhancement) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
  .scene *, .motion .mp, .marquee-track, .blob { animation: none !important; }
  .scene .spark { opacity: 1; }
  .scene .ring { stroke-dashoffset: 0; }
  .scene .cursor { display: none; }
  .scene .layer { transition: none; }
  .process::before { transform: none; transition: none; }
  .motion .mp { transform: none; opacity: 1; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { align-items: center; text-align: center; }
  .hero-copy p { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-scene { max-width: 560px; margin: 0 auto; width: 100%; }
  .core { grid-template-columns: 1fr; }
  .core-card { min-height: 0; padding-bottom: 36px; }
  .card-scene { position: static; margin: 8px -12px -60px; filter: none; }
  .card-scene svg { filter: drop-shadow(0 14px 18px rgba(0,0,0,.18)); }
  .card-scene-app, .card-scene-mkt { margin-bottom: -40px; }
  .core-card:hover .card-scene { transform: none; }
  .process::before { display: none; }
  .more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commit { grid-template-columns: 1fr; gap: 40px; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .svc-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .svc-hero.flip .svc-hero-copy { order: 1; }
  .svc-hero.flip .svc-hero-art { order: 2; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fit { grid-template-columns: 1fr; gap: 32px; }
  .anatomy, .phases-wrap, .compare-wrap, .month { grid-template-columns: 1fr; gap: 36px; }
  .phases-head { position: static; }
  .faq-2col { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-lg { grid-column: span 2; grid-row: auto; min-height: 320px; }
  .tile-md, .tile-sm { grid-column: span 1; }
  .ways { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 48px; }
  .marquee-track { gap: 32px; animation-duration: 36s; }
  .m-item { font-size: 14px; }
  .blob { width: 360px; height: 360px; }
  .nav-toggle { display: inline-flex; flex-direction: column; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; max-height: calc(100vh - 80px); overflow: auto; }
  .nav-links.is-open { display: block; }
  .nav-links > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links li a, .nav-btn { display: flex; width: 100%; justify-content: space-between; padding: 14px 0; font-size: 17px; }
  .nav-links li a.btn { display: flex; justify-content: center; padding: 0 24px; margin-top: 8px; }
  .menu { position: static; transform: none; width: auto; box-shadow: none; border-radius: 0; padding: 0 0 12px; }
  .menu-grid { grid-template-columns: 1fr; gap: 8px; }
  .nav-links li .menu-card { flex-direction: row; justify-content: flex-start; align-items: center; gap: 14px; padding: 12px 14px; font-size: 15px; }
  .menu-card .menu-icon { margin: 0; flex: none; }
  .menu-card strong { font-size: 15px; }
  .menu-card > span:last-child { display: none; }
  .menu-more { padding: 12px 4px 4px; gap: 8px 16px; }
  .nav-links li .menu-more a { display: inline; width: auto; padding: 4px 0; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .site-footer { padding-top: 56px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-bottom: 32px; }
  .more { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .commit-list { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-actions .btn, .contact-copy .btn { width: auto; }
  .contact-cta { padding: 28px; }
  .contact-cta .btn, .modal .form .btn { width: 100%; align-self: stretch; }
  .modal { width: calc(100vw - 24px); }
  .modal-card { padding: 28px 22px; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .modal-close { top: 12px; right: 12px; }
  .svc-hero { padding: 48px 0 40px; }
  .glance-list { gap: 10px 24px; font-size: 14px; }
  .inc-row { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .tl-cols { flex-direction: column; gap: 18px; }
  .tl-col { padding-right: 0; }
  .tl-bar { height: 10px; }
  .phase { grid-template-columns: 1fr; gap: 10px; }
  .phases::before { display: none; }
  .phase-label { padding-top: 0; }
  .phase-card ul { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile-lg, .tile-md, .tile-sm { grid-column: span 1; }
  .tile-art { position: static; width: 100%; margin-top: 10px; }
  .tile-lg h3, .tile-lg p { max-width: none; }
  .compare th, .compare td { padding: 12px 10px; font-size: 14px; }
  .cal-cell i { font-size: 9px; padding: 3px 2px; }
  .calendar { padding: 10px; gap: 4px; }
  .rail-card { width: 260px; }
  .way { padding: 26px; }
  .way .btn { width: 100%; }
  .features { grid-template-columns: 1fr; }
  .other-services { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .about-grid { grid-template-columns: 1fr; }
  .brand span { display: none; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
}
