:root {
  --bg: #f4f0e6;
  --bg-deep: #eae3d4;
  --surface: #ffffff;
  --surface-warm: #ede7da;
  --ink: #171613;
  --ink-strong: #0e0d0b;
  --muted: #5a554c;
  --muted-light: #7c766b;
  --accent: #171613;
  --accent-hover: #2f2d27;
  --accent-bright: #f4f0e6;
  --accent-soft: #eae5d9;
  --border: #dfd8c7;
  --border-strong: #c9c0ac;
  --dark: #0e0d0b;
  --dark-elev: #171612;
  --dark-line: rgba(244, 240, 230, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; max-width: 100%; }
body {
  margin: 0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}
.stage-shell > *, .bento-grid > *, .planner-box > *, .disc-row > *, .metrics-bar > *, .timeline > * {
  min-width: 0;
  max-width: 100%;
}
h1, h2, h3, h4 { font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif; }
.container { max-width: 1220px; margin: 0 auto; padding: 0 24px; }

/* Scroll Progress Hairline */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2.5px; width: 0%; z-index: 100;
  background: var(--ink-strong);
  pointer-events: none;
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Navigation (Bright Warm Beige Glass) */
.nav-wrap {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245, 240, 230, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink-strong); }
.brand-svg { height: 32px; width: auto; display: block; flex-shrink: 0; }
.brand-wordmark { display: flex; flex-direction: column; line-height: 1; font-family: "Manrope", sans-serif; color: var(--ink-strong); }
.bw-main { font-size: 20px; font-weight: 800; letter-spacing: 0.04em; line-height: 0.95; }
.bw-sub { font-size: 7px; font-weight: 800; letter-spacing: 0.44em; margin-top: 3px; color: var(--muted); }

.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-family: "Manrope", sans-serif; font-weight: 600; font-size: 13.5px; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink-strong); }
.nav-actions { display: flex; align-items: center; gap: 9px; }

.cmd-trigger {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-strong);
  color: var(--ink); font-family: "Manrope", sans-serif; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all 0.16s;
}
.cmd-trigger:hover { border-color: var(--ink-strong); background: var(--surface-warm); }
.cmd-trigger kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px;
  padding: 1px 6px; border-radius: 5px; background: var(--bg); border: 1px solid var(--border); color: var(--ink);
}

.nav-burger {
  display: none; width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink-strong);
  font-size: 18px; cursor: pointer; align-items: center; justify-content: center;
}
.mobile-drawer {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px 24px 18px; background: var(--surface); border-bottom: 1px solid var(--border);
}
.mobile-drawer.is-open { display: flex; }
.mobile-drawer a { padding: 10px 12px; border-radius: 10px; color: var(--ink-strong); text-decoration: none; font-family: "Manrope", sans-serif; font-weight: 700; font-size: 14.5px; }
.mobile-drawer a:hover { background: var(--bg); }
@media (max-width: 920px) { .nav-links, .cmd-trigger { display: none; } .nav-burger { display: inline-flex; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-family: "Manrope", sans-serif; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1); font-size: 14px; letter-spacing: -0.01em;
}
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 26px; font-size: 14.5px; }
.btn-full { width: 100%; }
.btn-emerald { background: var(--ink-strong); color: #f4f0e6; box-shadow: 0 8px 22px rgba(18, 17, 13, 0.18); }
.btn-emerald:hover { background: #2d2a22; transform: translateY(-1px); }
.btn-primary { background: var(--ink-strong); color: #f4f0e6; }
.btn-primary:hover { background: #2c2921; transform: translateY(-1px); }
.btn-secondary { background: var(--surface); color: var(--ink-strong); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-warm); border-color: var(--ink); }
.btn-white { background: #f4f0e6; color: var(--ink-strong); }
.btn-white:hover { background: #ffffff; transform: translateY(-1px); }
.btn-outline-white { background: var(--surface); color: var(--ink-strong); border-color: var(--border-strong); }
.btn-outline-white:hover { background: var(--surface-warm); border-color: var(--ink-strong); }
.cta-box .btn-emerald { background: #ead9bc; color: #12110d; }
.cta-box .btn-emerald:hover { background: #ffffff; }
.cta-box .btn-outline-white { background: rgba(255, 255, 255, 0.06); color: #f4f0e6; border-color: rgba(244, 240, 230, 0.3); }
.cta-box .btn-outline-white:hover { background: rgba(244, 240, 230, 0.14); }
.planner-summary .btn-emerald { background: #ead9bc; color: #12110d; }
.planner-summary .btn-emerald:hover { background: #ffffff; }

/* BRIGHT WARM BEIGE ENGINEERING BLUEPRINT HERO */
.canvas-hero {
  position: relative;
  background-color: #f4eee2;
  background-image:
    linear-gradient(to right, rgba(23, 22, 19, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 22, 19, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, #f6f1e7 0%, #eae1d0 100%);
  background-size: 44px 44px, 44px 44px, 100% 100%;
  color: var(--ink-strong);
  padding: 64px 0 60px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) { .canvas-hero { padding: 36px 0 42px; background-size: 34px 34px, 34px 34px, 100% 100%; } }

#hero-mesh {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 1;
}
.hero-glow {
  position: absolute; inset: -12% auto auto 50%; transform: translateX(-50%);
  width: 980px; height: 420px;
  background: radial-gradient(ellipse at center, rgba(255, 253, 248, 0.72) 0%, transparent 72%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }

.hero-telemetry {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 26px;
}
.live-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-strong);
  font-family: "Manrope", sans-serif; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; color: var(--ink-strong);
  box-shadow: 0 2px 8px rgba(18, 17, 13, 0.05);
}
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-strong); animation: pulseDot 2.2s infinite; display: inline-block; }
@keyframes pulseDot { 0%,100%{box-shadow:0 0 0 0 rgba(18,17,13,0.35)} 50%{box-shadow:0 0 0 6px rgba(18,17,13,0)} }

.ist-clock {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0.04em;
}

.hero-monument {
  font-size: clamp(32px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink-strong);
  margin: 0 0 22px;
  max-width: 980px;
}
.hero-monument span {
  display: inline-block;
  background: #e3d3b8;
  color: var(--ink-strong);
  padding: 0 14px 4px;
  border-radius: 14px;
}

.hero-subrow {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 42px;
}
.hero-subrow p { margin: 0; max-width: 540px; font-size: 17px; color: var(--muted); }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 11px; }

/* BRIGHT ELEVATED STUDIO DEVICE STAGE */
.stage-shell {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 20px;
  align-items: stretch;
  box-shadow: 0 28px 64px rgba(28, 26, 20, 0.1);
}
@media (max-width: 920px) { .stage-shell { grid-template-columns: minmax(0, 1fr); padding: 14px; } }

.stage-list { display: flex; flex-direction: column; gap: 8px; }
.stage-btn {
  position: relative; overflow: hidden;
  width: 100%; text-align: left; cursor: pointer;
  padding: 13px 15px; border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: all 0.16s ease;
}
.stage-btn:hover { background: var(--surface-warm); border-color: var(--border-strong); }
.stage-btn.is-active {
  background: var(--ink-strong);
  border-color: var(--ink-strong);
  color: #f4f0e6;
}
.stage-btn::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2.5px; width: 0%;
  background: #e3d3b8;
}
.stage-btn.is-active::after { animation: stageBar 5s linear forwards; }
.stage-shell:hover .stage-btn.is-active::after { animation-play-state: paused; }
@keyframes stageBar { from { width: 0%; } to { width: 100%; } }

.stage-btn strong { display: block; font-family: "Manrope", sans-serif; font-size: 14.5px; font-weight: 800; color: var(--ink-strong); }
.stage-btn.is-active strong { color: #ffffff; }
.stage-btn span { font-size: 12px; color: var(--muted); }
.stage-btn.is-active span { color: #d8cdb9; }
.stage-btn b { font-size: 14px; color: var(--ink-strong); }
.stage-btn.is-active b { color: #e3d3b8; }

.stage-viewer {
  border-radius: 18px; overflow: hidden;
  background: var(--bg); border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.win-chrome {
  height: 34px; padding: 0 14px;
  background: var(--surface-warm); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.win-dots { display: inline-flex; gap: 6px; }
.win-dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.win-dots i:nth-child(1) { background: #ff5f56; }
.win-dots i:nth-child(2) { background: #ffbd2e; }
.win-dots i:nth-child(3) { background: #27c93f; }
.win-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px;
  color: var(--muted); background: var(--surface); border: 1px solid var(--border); padding: 2px 12px; border-radius: 999px;
}
.stage-screen {
  flex: 1; min-height: 290px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #f5fbf7; transition: background 0.25s ease;
}
.stage-screen img { width: 100%; height: 100%; max-height: 360px; object-fit: contain; display: block; transition: opacity 0.22s ease; }
.stage-bar {
  padding: 13px 16px; background: var(--surface); border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
}
.stage-bar p { margin: 0; font-size: 13px; color: var(--muted); }
.stage-bar a {
  font-family: "Manrope", sans-serif; font-size: 12.5px; font-weight: 800;
  color: #f4f0e6; background: var(--ink-strong); padding: 7px 15px; border-radius: 999px; text-decoration: none;
}
.stage-bar a:hover { background: #2e2b24; }

/* OVERLAPPING TELEMETRY METRICS STRIP */
.metrics-wrap { margin-top: -36px; position: relative; z-index: 10; padding: 0 24px; }
.metrics-bar {
  max-width: 1060px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 20px 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  box-shadow: 0 20px 48px rgba(18, 17, 13, 0.09);
}
@media (max-width: 760px) { .metrics-bar { grid-template-columns: repeat(2, 1fr); padding: 16px; } }
.m-cell { text-align: center; border-right: 1px solid var(--border); padding: 2px 8px; }
.m-cell:last-child { border-right: 0; }
@media (max-width: 760px) { .m-cell { border-right: 0; } }
.m-cell strong { display: block; font-family: "Manrope", sans-serif; font-size: 28px; font-weight: 800; color: var(--ink-strong); letter-spacing: -0.03em; line-height: 1.05; }
.m-cell span { font-size: 12px; font-weight: 600; color: var(--muted); }

/* ASYMMETRIC BENTO PORTFOLIO */
.section { padding: 84px 24px; }
@media (max-width: 768px) { .section { padding: 56px 20px; } }
.eyebrow {
  display: inline-block; font-family: "Manrope", sans-serif; font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.sec-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.sec-head h2 { margin: 0 0 10px; font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; line-height: 1.1; letter-spacing: -0.035em; color: var(--ink-strong); }
.muted { color: var(--muted); margin: 0; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--muted);
  font-family: "Manrope", sans-serif; font-size: 13px; font-weight: 700;
  padding: 8px 15px; border-radius: 999px; cursor: pointer; transition: all 0.16s;
}
.filter-btn:hover { color: var(--ink-strong); border-color: var(--ink); }
.filter-btn.is-active { background: var(--ink-strong); border-color: var(--ink-strong); color: #f4f0e6; }

.bento-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.bento-grid.is-filtered .proj-card { grid-column: span 6; }
@media (max-width: 900px) { .span-7, .span-5, .span-6, .bento-grid.is-filtered .proj-card { grid-column: span 12; } }

.proj-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.proj-card.is-hidden { display: none; }
.proj-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 24px 50px rgba(28, 26, 20, 0.1); }

.proj-media { position: relative; display: block; height: 300px; background: #181715; overflow: hidden; border-bottom: 1px solid var(--border); cursor: pointer; }
@media (max-width: 900px) { .proj-media { height: auto; aspect-ratio: 16 / 10; } }
.proj-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.proj-media-contain img { object-fit: contain; }
.proj-media-dark { background: #0b0f18; padding: 8px 12px; }
.proj-media-warm { background: #f2efe6; }
.proj-media-mint { background: #eaf6f2; }
.proj-media-green { background: #f5fbf7; }
.proj-card:hover .proj-media img { transform: scale(1.025); }
.proj-media-badge {
  position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(18, 17, 13, 0.82); backdrop-filter: blur(8px); color: #f4f0e6;
  font-family: "Manrope", sans-serif; font-size: 11.5px; font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.14); pointer-events: none;
}
.proj-media-phones {
  display: flex; align-items: center; justify-content: center; gap: 16px; padding: 18px 20px;
  background: linear-gradient(145deg, #1d1c19 0%, #2a2824 100%);
}
.proj-media-phones img { width: auto; height: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; box-shadow: 0 14px 28px rgba(0, 0, 0, 0.42); }

/* AI / Data / Security Live Mockups (extra bottom clearance for floating badge) */
.mock-stage { width: 100%; height: 100%; padding: 16px 20px 48px; background: linear-gradient(145deg, #171614 0%, #1d2623 100%); color: #f4f0e6; display: flex; flex-direction: column; justify-content: space-between; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #a8a298; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 9px; }
.mock-dots { display: inline-flex; gap: 5px; }
.mock-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.22); display: block; }
.mock-live { padding: 2px 8px; border-radius: 999px; background: rgba(25,195,159,0.16); color: #67d3bf; font-weight: 700; font-size: 10.5px; }
.mock-chart-row { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 14px; align-items: center; flex: 1; padding: 12px 0; }
.mock-svg { width: 100%; height: 112px; display: block; }
.mock-metrics { display: flex; flex-direction: column; gap: 8px; }
.mock-kpi { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 8px 10px; }
.mock-kpi span { display: block; font-size: 10px; color: #a8a298; }
.mock-kpi strong { font-family: "Manrope", sans-serif; font-size: 14px; color: #fff; }
.mock-kpi strong.up { color: #67d3bf; }
.mock-sql-box { background: rgba(0,0,0,0.34); border: 1px solid rgba(255,255,255,0.09); border-radius: 10px; padding: 10px 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: #d8d4cc; line-height: 1.5; margin: 10px 0; }
.mock-sql-q { color: #67d3bf; margin-bottom: 4px; font-weight: 600; }
.mock-sql-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.proj-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.proj-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 12.5px; }
.p-tag { padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); color: var(--ink); font-family: "Manrope", sans-serif; font-weight: 700; font-size: 11.5px; }
.proj-link { color: var(--accent); font-family: "Manrope", sans-serif; font-weight: 700; text-decoration: none; }
.proj-link:hover { text-decoration: underline; }
.p-muted { color: var(--muted-light); font-weight: 600; font-size: 12px; }
.proj-body h3 { margin: 0 0 8px; font-size: 20px; font-weight: 800; color: var(--ink-strong); letter-spacing: -0.02em; }
.proj-body p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.58; flex: 1; }
.proj-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.tech-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-row span { font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 6px; background: var(--bg); border: 1px solid var(--border); color: var(--muted); }
.proj-detail-btn {
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink-strong);
  font-family: "Manrope", sans-serif; font-size: 12.5px; font-weight: 700; padding: 6px 13px; border-radius: 999px; cursor: pointer; transition: all 0.15s;
}
.proj-detail-btn:hover { background: var(--ink-strong); color: #f4f0e6; border-color: var(--ink-strong); }

/* DARK SPOTLIGHT ENGINEERING DISCIPLINES */
.disciplines-band {
  background: var(--dark); color: #f4f0e6; padding: 84px 0;
  border-radius: 36px; margin: 0 14px;
}
@media (max-width: 768px) { .disciplines-band { margin: 0; border-radius: 24px; padding: 56px 0; } }
.disc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.disciplines-band .eyebrow { color: var(--accent-bright); }
.disc-head h2 { margin: 0; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.03em; color: #ffffff; max-width: 620px; }
.disc-head p { margin: 0; max-width: 380px; font-size: 14.5px; color: #ada79b; }

.disc-rows { border-top: 1px solid var(--dark-line); }
.disc-row {
  position: relative;
  display: grid; grid-template-columns: 72px 1.1fr 1.4fr auto; gap: 20px; align-items: center;
  padding: 26px 12px; border-bottom: 1px solid var(--dark-line);
  transition: background 0.18s ease, padding-left 0.18s ease;
  background: radial-gradient(360px circle at var(--mx, -400px) var(--my, -400px), rgba(229, 210, 176, 0.12), transparent 70%);
}
.disc-row:hover { padding-left: 20px; }
@media (max-width: 860px) { .disc-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 4px; } .disc-row:hover { padding-left: 4px; } }
.disc-num { font-family: "Manrope", sans-serif; font-size: 13px; font-weight: 800; color: #e5d2b0; letter-spacing: 0.08em; }
.disc-row h3 { margin: 0; font-size: 21px; font-weight: 700; color: #ffffff; letter-spacing: -0.02em; }
.disc-row p { margin: 0; font-size: 14px; color: #b7b0a4; }
.disc-tag { font-family: "Manrope", sans-serif; font-size: 11.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(229, 210, 176, 0.32); color: #eadbc0; white-space: nowrap; justify-self: start; }

/* Interactive Scope Configurator */
.planner-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 36px 34px;
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 32px; align-items: stretch;
  box-shadow: 0 18px 46px rgba(28, 26, 20, 0.06);
}
@media (max-width: 880px) { .planner-box { grid-template-columns: 1fr; padding: 24px 20px; } }
.planner-label { font-family: "Manrope", sans-serif; font-size: 11.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted-light); margin: 0 0 12px; }
.choice-grid { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.choice-chip {
  border: 1px solid var(--border-strong); background: var(--bg); color: var(--ink);
  font-family: "Manrope", sans-serif; font-size: 13px; font-weight: 700;
  padding: 10px 15px; border-radius: 999px; cursor: pointer; transition: all 0.15s;
}
.choice-chip:hover { border-color: var(--ink); }
.choice-chip.is-selected { background: var(--ink-strong); border-color: var(--ink-strong); color: #f4f0e6; }
.choice-chip.is-extra.is-selected { background: var(--accent); border-color: var(--accent); color: #ffffff; }

.planner-summary {
  background: linear-gradient(165deg, #1f1d17 0%, #11100d 100%);
  color: #f4f0e6; border-radius: 18px; padding: 26px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.ps-head { font-family: "Manrope", sans-serif; font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-bright); }
.ps-title { margin: 6px 0 4px; font-size: 22px; font-weight: 800; color: #ffffff; }
.ps-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 0; border-top: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
.ps-meta span { display: block; font-size: 11.5px; color: #a8a296; }
.ps-meta strong { font-family: "Manrope", sans-serif; font-size: 15px; color: #ffffff; }
.ps-extras { font-size: 13px; color: #cbc5ba; margin: 0; }

/* Timeline + CTA + Footer */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }
.tl-step { padding: 28px 24px; border-right: 1px solid var(--border); }
.tl-step:last-child { border-right: 0; }
@media (max-width: 900px) { .tl-step { border-right: 0; border-bottom: 1px solid var(--border); } .tl-step:last-child { border-bottom: 0; } }
.tl-num { font-family: "Manrope", sans-serif; font-size: 32px; font-weight: 800; color: var(--accent); letter-spacing: -0.04em; line-height: 1; margin-bottom: 14px; display: block; }
.tl-step h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; color: var(--ink-strong); }
.tl-step p { margin: 0; font-size: 13.8px; color: var(--muted); }

.cta-box {
  background: linear-gradient(135deg, #12110d 0%, #1c1a15 100%);
  color: #f4f0e6; border-radius: 26px; padding: 52px 44px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  border: 1px solid rgba(244, 240, 230, 0.12); box-shadow: 0 28px 64px rgba(18, 17, 13, 0.22);
}
@media (max-width: 640px) { .cta-box { padding: 34px 24px; } }
.cta-box .eyebrow { color: var(--accent-bright); }
.cta-box h2 { margin: 0 0 10px; font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; letter-spacing: -0.03em; max-width: 560px; color: #ffffff; }
.cta-box p { margin: 0; color: #cbc5ba; max-width: 500px; font-size: 15px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.footer { border-top: 1px solid var(--border); background: var(--surface); padding: 28px 0; font-size: 13.5px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-logo-svg { height: 22px; width: auto; display: block; flex-shrink: 0; }
.footer-brand strong { color: var(--ink-strong); font-family: "Manrope", sans-serif; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--ink-strong); }

/* ⌘K Command Palette */
.cmd-backdrop {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(14, 13, 10, 0.72); backdrop-filter: blur(10px);
  display: none; align-items: flex-start; justify-content: center; padding: 12vh 18px 24px;
}
.cmd-backdrop.is-open { display: flex; }
.cmd-box {
  width: 100%; max-width: 560px; background: #191813; color: #f4f0e6;
  border: 1px solid rgba(244, 240, 230, 0.16); border-radius: 20px; overflow: hidden;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.65);
}
.cmd-input {
  width: 100%; padding: 18px 20px; background: transparent; border: 0;
  border-bottom: 1px solid var(--dark-line); color: #ffffff;
  font-family: "Manrope", sans-serif; font-size: 15px; outline: none;
}
.cmd-list { max-height: 340px; overflow-y: auto; padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.cmd-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 14px; border-radius: 11px; text-decoration: none; color: #e5dfd3;
  font-family: "Manrope", sans-serif; font-size: 13.5px; font-weight: 600;
  background: transparent; border: 0; width: 100%; text-align: left; cursor: pointer;
}
.cmd-item:hover { background: rgba(244, 240, 230, 0.1); color: #ffffff; }
.cmd-item span { font-size: 11.5px; color: #8f897d; }
.cmd-foot { padding: 10px 18px; border-top: 1px solid var(--dark-line); font-size: 11.5px; color: #8c867a; display: flex; justify-content: space-between; }

/* Product Modal */
.modal-backdrop { position: fixed; inset: 0; z-index: 95; background: rgba(17, 16, 14, 0.75); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop.is-open { display: flex; }
.modal-card { width: 100%; max-width: 780px; max-height: 90vh; overflow-y: auto; background: var(--bg); border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; background: var(--surface); border-bottom: 1px solid var(--border); }
.modal-head h3 { margin: 0; font-size: 19px; color: var(--ink-strong); }
.modal-close { width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); color: var(--ink-strong); font-size: 18px; cursor: pointer; }
.modal-media { background: #181715; padding: 18px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.modal-media img { max-width: 100%; max-height: 390px; border-radius: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); }
.modal-body { padding: 22px; }
.modal-body p { margin: 0 0 16px; color: var(--muted); font-size: 14.5px; }
.modal-highlights { margin: 0 0 20px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
@media (max-width: 600px) { .modal-highlights { grid-template-columns: 1fr; } }
.modal-highlights li { font-size: 13.5px; color: var(--ink); padding: 8px 11px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* --- Dijital Kartvizit (/kart.html) — Preserved 100% --- */
.card-page-body { background: radial-gradient(640px 420px at 50% -10%, rgba(14, 143, 116, 0.25), transparent 70%), radial-gradient(circle at 20% 100%, #262420 0%, #0e0d0b 75%); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.vcard-shell { width: 100%; max-width: 440px; perspective: 1200px; }
.vcard-topbar { display: flex; justify-content: flex-start; margin-bottom: 12px; }
.vcard-back-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(244, 240, 230, 0.08); border: 1px solid rgba(244, 240, 230, 0.18); color: #f4f0e6; font-family: "Manrope", sans-serif; font-size: 13px; font-weight: 600; text-decoration: none; backdrop-filter: blur(8px); transition: all 0.16s ease; }
.vcard-back-btn:hover { background: rgba(244, 240, 230, 0.16); border-color: rgba(25, 195, 159, 0.5); color: #ffffff; }
.vcard { background: #f4f0e6; border-radius: 26px; overflow: hidden; box-shadow: 0 36px 84px rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.14); transition: transform 0.2s ease-out; transform-style: preserve-3d; }
.vcard-hero { position: relative; background: linear-gradient(155deg, #1b1a17 0%, #11100e 65%, #122d27 100%); color: #f4f0e6; padding: 24px 22px 22px; text-align: center; overflow: hidden; }
.vcard-brand-lockup { display: inline-flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 18px; }
.vcard-brand-svg { height: 42px; width: auto; display: block; flex-shrink: 0; }
.vcard-wordmark { display: flex; flex-direction: column; align-items: flex-start; font-family: "Manrope", sans-serif; color: #F4F0E6; }
.vw-main { font-size: 26px; font-weight: 800; letter-spacing: 0.04em; line-height: 0.92; }
.vw-sub { font-size: 8.5px; font-weight: 800; letter-spacing: 0.46em; margin-top: 4px; color: #dcd5c5; }
.vcard-hero h1 { margin: 0 0 4px; font-size: 22px; color: #ffffff; letter-spacing: -0.02em; }
.vcard-role { margin: 0 0 4px; font-family: "Manrope", sans-serif; font-size: 13.5px; font-weight: 600; color: #67d3bf; }
.vcard-sub { margin: 0; font-size: 12.5px; color: #b7b1a6; }
.vcard-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px 18px 0; background: #f4f0e6; }
.vtab-btn { border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-family: "Manrope", sans-serif; font-size: 13px; font-weight: 600; padding: 9px 8px; border-radius: 10px; cursor: pointer; transition: all 0.15s; }
.vtab-btn.is-active { background: var(--ink-strong); border-color: var(--ink-strong); color: #f4f0e6; }
.vcard-body { padding: 16px 20px 20px; }
.vtab-panel { display: none; }
.vtab-panel.is-active { display: block; }
.vcard-main-btn { margin-bottom: 12px; border-radius: 12px; }
.vcard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; text-align: left; }
.vc-btn { display: block; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--ink); transition: all 0.15s; }
.vc-btn:hover { background: var(--surface-warm); border-color: var(--border-strong); transform: translateY(-1px); }
.vc-btn.vc-primary-tile { background: var(--accent-soft); border-color: #c2dfd8; }
.vc-btn.vc-primary-tile strong { color: var(--accent); }
.vc-btn strong { display: block; font-family: "Manrope", sans-serif; font-size: 14px; color: var(--ink-strong); }
.vc-btn span { font-size: 12px; color: var(--muted); }
.vcard-footer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vc-prod-list { display: flex; flex-direction: column; gap: 9px; max-height: 390px; overflow-y: auto; padding-right: 2px; }
.vc-prod-card { display: flex; align-items: center; gap: 12px; padding: 9px 11px; border-radius: 13px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--ink); text-align: left; transition: all 0.15s; }
.vc-prod-card:hover { border-color: var(--border-strong); background: var(--surface-warm); }
.vc-prod-thumb { width: 56px; height: 42px; border-radius: 8px; object-fit: cover; background: #181715; flex-shrink: 0; border: 1px solid var(--border); }
.vc-prod-badge-thumb { width: 56px; height: 42px; border-radius: 8px; background: linear-gradient(145deg, #181715, #0e8f74); color: #f4f0e6; font-family: "Manrope", sans-serif; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vc-prod-info { flex: 1; min-width: 0; }
.vc-prod-info strong { display: block; font-family: "Manrope", sans-serif; font-size: 13.5px; color: var(--ink-strong); }
.vc-prod-info span { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-prod-arrow { color: var(--accent); font-weight: 700; font-size: 15px; }
.vc-qr-box { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; text-align: center; }
.vc-qr-img { width: 210px; height: 210px; display: block; margin: 0 auto 12px; border-radius: 10px; }
.vc-qr-box p { margin: 0 0 4px; font-family: "Manrope", sans-serif; font-weight: 600; font-size: 14.5px; color: var(--ink-strong); }
.vc-qr-box small { color: var(--muted); font-size: 12.5px; }

/* === MOBILE PERFECTION PASS (360px–920px) === */
@media (max-width: 920px) {
  .container { padding: 0 16px; }
  .nav { height: 64px; }
  .brand-svg { height: 28px; }
  .bw-main { font-size: 18px; }
  .bw-sub { font-size: 6.5px; }

  .hero-telemetry { margin-bottom: 16px; }
  .ist-clock { display: none; }
  .hero-monument { font-size: clamp(28px, 8vw, 42px); line-height: 1.1; margin-bottom: 14px; }
  .hero-monument span { padding: 0 10px 3px; border-radius: 10px; }
  .hero-subrow { margin-bottom: 24px; gap: 16px; }
  .hero-subrow p { font-size: 14.5px; }
  .hero-cta-row { width: 100%; flex-direction: column; gap: 10px; }
  .hero-cta-row .btn { width: 100%; padding: 13px 18px; font-size: 14px; }

  /* Clean 2-column grid for Live Stage tabs (zero horizontal cutoff or scroll!) */
  .stage-shell { padding: 12px; gap: 12px; border-radius: 20px; }
  .stage-list {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    overflow: visible;
    padding-bottom: 0;
  }
  .stage-btn {
    width: 100%;
    min-width: 0;
    padding: 9px 11px;
    border-radius: 11px;
    justify-content: center;
    text-align: center;
  }
  .stage-btn:last-child:nth-child(odd) { grid-column: span 2; }
  .stage-btn span, .stage-btn b { display: none; }
  .stage-btn strong { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .stage-screen { min-height: 195px; }
  .stage-screen img { max-height: 225px; }
  .stage-bar { padding: 12px 14px; flex-direction: column; align-items: stretch; gap: 10px; }
  .stage-bar p { font-size: 12.5px; }
  .stage-bar a { text-align: center; padding: 9px 14px; }

  /* Wrap Portfolio Filter Bar cleanly (no half-cut labels on right edge!) */
  .sec-head-row { margin-bottom: 24px; gap: 16px; }
  .filter-bar {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    overflow: visible;
    gap: 7px;
    padding-bottom: 0;
  }
  .filter-btn { flex: 0 0 auto; white-space: nowrap; font-size: 12.5px; padding: 7px 13px; }

  /* Clean mobile project cards, dual phones & AI mockups (no overlapping badges!) */
  .bento-grid { gap: 18px; }
  .proj-card { border-radius: 18px; }
  .proj-media-phones { gap: 10px; padding: 14px 12px; }
  .proj-media-phones img { max-width: 46%; }
  .proj-media:has(.mock-stage) { aspect-ratio: auto; height: auto; }
  .mock-stage { padding: 16px 16px 48px; gap: 10px; }
  .mock-bar { flex-wrap: wrap; gap: 6px; font-size: 10.5px; }
  .mock-chart-row { grid-template-columns: 1fr; gap: 10px; padding: 6px 0; }
  .mock-svg { height: 90px; }
  .mock-metrics { flex-direction: row; gap: 8px; }
  .mock-kpi { flex: 1; min-width: 0; }
  .mock-sql-grid { grid-template-columns: 1fr; gap: 6px; }

  .proj-body { padding: 16px 16px 18px; }
  .proj-top { flex-wrap: wrap; gap: 6px; }
  .proj-body h3 { font-size: 17.5px; }
  .proj-body p { font-size: 13.5px; margin-bottom: 14px; }
  .proj-footer { flex-direction: column; align-items: stretch; gap: 12px; }
  .proj-detail-btn { width: 100%; text-align: center; padding: 9px 14px; }

  /* Disciplines, Planner, Timeline, CTA & Footer */
  .disciplines-band { margin: 0; border-radius: 22px; padding: 48px 0; }
  .disc-head { margin-bottom: 24px; }
  .disc-row h3 { font-size: 18px; }

  .planner-box { padding: 20px 16px; gap: 20px; border-radius: 20px; }
  .choice-grid { gap: 7px; margin-bottom: 18px; }
  .choice-chip { font-size: 12.5px; padding: 8px 12px; max-width: 100%; white-space: normal; text-align: left; }
  .planner-summary { padding: 20px 18px; }
  .ps-title { font-size: 19px; }
  .ps-meta { grid-template-columns: 1fr; gap: 10px; }

  .tl-step { padding: 20px 14px; }
  .cta-box { padding: 28px 20px; border-radius: 20px; }
  .cta-btns { width: 100%; flex-direction: column; }
  .cta-btns .btn { width: 100%; }

  .footer { padding: 24px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-links { gap: 10px 18px; }
}


/* === HIGH-END ARCHITECTURAL LAYOUT & FLOW UPGRADE (ORIGINAL WARM-BEIGE PALETTE PRESERVED) === */

/* 1. Asymmetric 2-Column Editorial Hero Split */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 44px;
}
.hero-copy .hero-telemetry { margin-bottom: 22px; }
.hero-copy .hero-monument {
  font-size: clamp(32px, 5vw, 66px);
  line-height: 1.04;
  margin-bottom: 18px;
}
.hero-lead {
  margin: 0 0 26px;
  max-width: 580px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* Right-Column Architectural System Spec Card */
.hero-spec-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 22px 48px rgba(28, 26, 20, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.spec-eyebrow {
  font-family: "Manrope", sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--ink-strong);
}
.spec-ver {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 999px;
}
.spec-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.spec-kpi {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 10px;
  text-align: center;
}
.spec-kpi strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink-strong);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.spec-kpi span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 3px;
}
.spec-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.spec-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 11px;
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.16s ease;
}
.spec-row:hover {
  background: var(--bg);
  border-color: var(--border);
  transform: translateX(2px);
}
.spec-row span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  color: #0e8f74;
}
.spec-row strong {
  flex: 1;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-strong);
}
.spec-row b {
  font-size: 13px;
  color: var(--muted-light);
}

/* 2. Full-Width Cinema Studio Device Stage (Horizontal Pill Dock + Wide Viewport) */
.stage-shell.stage-cinema {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
}
.stage-cinema .stage-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.stage-cinema .stage-btn {
  padding: 10px 12px;
  border-radius: 12px;
  flex-direction: row;
  align-items: center;
}
.stage-cinema .stage-btn strong {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stage-cinema .stage-btn span {
  font-size: 11px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stage-cinema .stage-btn b { display: none; }
.stage-cinema .stage-screen { min-height: 410px; padding: 14px; }
.stage-cinema .stage-screen img { max-height: 440px; border-radius: 10px; }
.win-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0e8f74;
}

/* 3. Refined Dual-Lane Kinetic Flow — Warm Beige & Carbon Ink Palette */
.ticker-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ede6d8 0%, #e7dfd0 100%);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  user-select: none;
}
.ticker-glow {
  display: none;
}
.ticker-lane {
  position: relative;
  z-index: 2;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  will-change: transform;
  animation: amaTickerFwd 30s linear infinite;
}
.ticker-track.ticker-reverse {
  animation: amaTickerRev 36s linear infinite;
}
.ticker-lane:hover .ticker-track { animation-play-state: paused; }
@keyframes amaTickerFwd {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes amaTickerRev {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}
.tk-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--ink-strong);
  font-family: "Manrope", sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(23, 22, 19, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.tk-pill:hover {
  transform: translateY(-1px);
  border-color: var(--ink-strong);
}
.tk-pill.tk-accent {
  background: var(--ink-strong);
  border-color: var(--ink-strong);
  color: #f4f0e6;
}
.tk-pill.tk-accent i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e3d3b8;
  display: inline-block;
}
.tk-pill.tk-sand {
  background: #e3d3b8;
  border-color: #d2c0a1;
  color: var(--ink-strong);
}
.tk-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: all 0.18s ease;
}
.tk-chip b {
  color: #0e8f74;
  font-weight: 700;
}
.tk-chip:hover {
  color: var(--ink-strong);
  border-color: var(--border-strong);
  background: var(--surface);
}

/* 4. Featured Flagship Horizontal Split Card in Portfolio */
.span-12 { grid-column: span 12; }
.proj-card-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  align-items: stretch;
}
.proj-card-featured .proj-media {
  height: auto;
  min-height: 360px;
  border-bottom: 0;
  border-right: 1px solid var(--border);
}
.proj-card-featured .proj-body {
  padding: 32px 34px;
  justify-content: center;
}
.proj-card-featured .proj-body h3 {
  font-size: 25px;
  line-height: 1.18;
  margin-bottom: 12px;
}
.proj-card-featured .proj-body p {
  font-size: 15px;
  line-height: 1.68;
}
.bento-grid.is-filtered .proj-card-featured {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
}
.bento-grid.is-filtered .proj-card-featured .proj-media {
  min-height: 280px;
  height: 300px;
  border-right: 0;
  border-bottom: 1px solid var(--border);
}

/* 5. Sticky-Left / Scrolling-Right Engineering Disciplines */
.disc-split {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 52px;
  align-items: start;
}
.disc-sticky {
  position: sticky;
  top: 108px;
}
.disc-sticky h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
}
.disc-sticky p {
  margin: 0;
  font-size: 15px;
  color: #ada79b;
  line-height: 1.65;
}
.disc-split .disc-row {
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px 18px;
  align-items: start;
  padding: 24px 16px;
}
.disc-split .disc-row h3 { grid-column: 2; font-size: 20px; }
.disc-split .disc-row p { grid-column: 2; }
.disc-split .disc-tag { grid-column: 2; margin-top: 6px; }

/* 6. Connected Engineering Milestone Timeline */
.timeline {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(28, 26, 20, 0.05);
}
.tl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.tl-top .tl-num { margin-bottom: 0; }
.tl-phase {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
}

/* 7. Structured Multi-Column Tech Company Footer */
.footer { padding: 48px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.75fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: start;
}
.footer-col-brand .footer-brand { margin-bottom: 10px; font-size: 16px; }
.footer-desc { margin: 0; max-width: 400px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-label {
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-strong);
  margin-bottom: 4px;
}
.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--ink-strong); }

/* Responsive Refinements for New Architectural Layout */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .stage-cinema .stage-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .proj-card-featured { grid-template-columns: 1fr; }
  .proj-card-featured .proj-media { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--border); }
  .disc-split { grid-template-columns: 1fr; gap: 28px; }
  .disc-sticky { position: static; }
}
@media (max-width: 760px) {
  .canvas-hero { padding: 28px 0 36px; }
  .hero-split { gap: 20px; margin-bottom: 24px; }
  .hero-copy .hero-telemetry { margin-bottom: 14px; }
  .live-pill { font-size: 10px; padding: 5px 12px; }
  .hero-copy .hero-monument { font-size: clamp(29px, 8.2vw, 38px); line-height: 1.08; margin-bottom: 12px; }
  .hero-lead { font-size: 14.5px; line-height: 1.58; margin-bottom: 18px; }
  .hero-cta-row { gap: 8px; }
  .hero-cta-row .btn { padding: 12px 16px; font-size: 13.5px; }

  /* Compact Engineered Spec Card on Mobile */
  .hero-spec-card { padding: 14px; border-radius: 18px; gap: 12px; }
  .spec-head { padding-bottom: 9px; }
  .spec-metrics { gap: 6px; }
  .spec-kpi { padding: 8px 6px; border-radius: 10px; }
  .spec-kpi strong { font-size: 17px; }
  .spec-kpi span { font-size: 10.5px; }
  .spec-rows { gap: 2px; }
  .spec-row { padding: 7px 8px; }
  .spec-row strong { font-size: 12.5px; }

  /* Sleek Touch-Scrollable Single-Row Pill Dock on Mobile Cinema Stage */
  .stage-shell.stage-cinema { padding: 12px; gap: 10px; border-radius: 18px; }
  .stage-cinema .stage-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    padding-bottom: 2px;
  }
  .stage-cinema .stage-list::-webkit-scrollbar { display: none; }
  .stage-cinema .stage-btn {
    flex: 0 0 auto;
    width: auto;
    scroll-snap-align: start;
    padding: 8px 13px;
    border-radius: 999px;
  }
  .stage-cinema .stage-btn strong { font-size: 12.5px; }
  .stage-cinema .stage-btn span { display: none; }
  .stage-cinema .stage-screen { min-height: 205px; padding: 8px; }
  .stage-cinema .stage-screen img { max-height: 235px; }
  .win-chrome { height: 30px; padding: 0 10px; }
  .win-url { font-size: 10.5px; padding: 1px 10px; }
  .win-tag { display: none; }

  .ticker-band { padding: 16px 0; gap: 9px; }
  .ticker-track { gap: 8px; }
  .tk-pill { padding: 7px 13px; font-size: 11px; }
  .tk-chip { padding: 6px 11px; font-size: 10px; }

  .proj-card-featured .proj-media { min-height: 205px; }
  .proj-card-featured .proj-body { padding: 18px 16px; }
  .proj-card-featured .proj-body h3 { font-size: 19px; margin-bottom: 8px; }
  .proj-card-featured .proj-body p { font-size: 13.5px; }

  /* Clean Full-Width Disciplines Cards on Narrow Mobile */
  .disciplines-band { margin: 0 8px; border-radius: 22px; padding: 42px 0; }
  .disc-split { gap: 22px; }
  .disc-sticky h2 { font-size: 26px; margin-bottom: 10px; }
  .disc-sticky p { font-size: 13.8px; }
  .disc-sticky .btn { width: 100%; margin-top: 16px !important; }
  .disc-split .disc-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 10px;
  }
  .disc-split .disc-row h3 { font-size: 17.5px; }
  .disc-split .disc-row p { font-size: 13.5px; }
  .disc-split .disc-tag { margin-top: 4px; font-size: 11px; padding: 4px 10px; }

  /* Timeline & Footer on Mobile */
  .timeline { border-radius: 18px; }
  .tl-step { padding: 20px 16px; }
  .tl-top { margin-bottom: 10px; }
  .tl-num { font-size: 26px; }
  .footer { padding: 34px 0 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
}


/* === MOBILE 100/100 NATIVE ERGONOMICS & BOTTOM-SHEET PASS === */
section[id] { scroll-margin-top: 84px; }
.btn, .choice-chip, .stage-btn, .filter-btn, .spec-row, .proj-detail-btn {
  -webkit-tap-highlight-color: transparent;
}
.btn:active, .choice-chip:active, .stage-btn:active, .filter-btn:active, .proj-detail-btn:active {
  transform: scale(0.975);
}

@media (max-width: 760px) {
  /* Single-row swipeable category filter pills */
  .filter-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { scroll-snap-align: start; min-height: 36px; }

  /* Luxury Mobile Drawer Menu */
  .mobile-drawer {
    padding: 10px 16px 16px;
    gap: 2px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 44px rgba(18, 17, 13, 0.12);
  }
  .mobile-drawer a {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .mobile-drawer a:last-child { border-bottom: 0; }

  /* Native iOS Bottom-Sheet Product Detail Modal */
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }
  .modal-card {
    max-width: 100%;
    max-height: 92dvh;
    border-radius: 24px 24px 0 0;
    border-bottom: 0;
  }
  .modal-head {
    position: sticky;
    top: 0;
    z-index: 5;
    padding: 16px 18px;
  }
  .modal-body {
    padding: 18px 18px calc(22px + env(safe-area-inset-bottom, 0px));
  }
  .modal-actions .btn { width: 100%; }

  /* Balanced 2-Column Links Grid in Mobile Footer + Safe Area */
  .footer {
    padding: 32px 0 calc(28px + env(safe-area-inset-bottom, 0px));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
  }
  .footer-col-brand {
    grid-column: span 2;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
  }
  .footer-col a {
    font-size: 13px;
    word-break: break-word;
  }
}
