/* Suroor Khan portfolio.
   Layout: navy hero with field tiles and a ticker, then portfolio category cards, services, AI, student hub, about (navy), FAQ, quote and contact. */
:root {
  --navy-950: #06122e;
  --navy-900: #0a1b45;
  --navy-800: #10265c;
  --blue: #1f55e0;
  --blue-bright: #3b74ff;
  --blue-300: #9db9ff;
  --blue-100: #dce7ff;
  --mist: #f1f5fc;
  --ink: #0a1633;
  --muted: #4b5a78;
  --line: #d6e0f2;
  --white: #ffffff;
  --on-navy: #c9d6f3;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 28px;
  --gap-poster: 14px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px));
}
.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--white); color: var(--navy-900); padding: 10px 16px; border-radius: var(--r-s);
}
.skip:focus { left: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-bright); }
.btn-ghost { border-color: rgb(255 255 255 / .35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgb(255 255 255 / .08); }
.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { background: var(--blue-100); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: var(--white); }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgb(255 255 255 / .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 60px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  color: var(--navy-900); text-decoration: none; font-weight: 500;
  padding: 10px 14px; border-radius: 999px; transition: color .2s, background-color .2s;
}
.nav a:not(.btn):hover { background: var(--mist); color: var(--blue); }
.nav .btn { min-height: 42px; padding: 0 18px; margin-left: 8px; font-size: .95rem; }
.menu-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--white); color: var(--navy-900); cursor: pointer;
  place-items: center;
}
.menu-toggle .icon { width: 22px; height: 22px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60rem 36rem at 85% -10%, rgb(59 116 255 / .28), transparent 60%),
    var(--navy-900);
  color: var(--white);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-block: clamp(56px, 8vw, 112px);
}
.hero h1 {
  font-size: clamp(3.6rem, 9.4vw, 8.2rem);
  font-weight: 800; line-height: .9; letter-spacing: -.04em;
}
.hero h1 span { display: block; }
.hero-role { margin-top: 28px; font: 600 clamp(1.1rem, 2vw, 1.35rem)/1.35 var(--font-display); color: var(--blue-300); }
.hero-text { margin-top: 14px; max-width: 34rem; color: var(--on-navy); font-size: 1.15rem; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.field-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field-tile {
  display: flex; flex-direction: column; gap: 6px; min-height: 220px; padding: 22px;
  border-radius: var(--r-l); text-decoration: none; color: var(--white);
  background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14);
  transition: background-color .25s, border-color .25s, transform .25s;
}
.field-tile:hover { background: rgb(255 255 255 / .13); border-color: rgb(255 255 255 / .32); transform: translateY(-3px); }
.field-tile .service-icon { background: rgb(255 255 255 / .12); color: var(--white); margin-bottom: auto; }
.field-tile b { margin-top: 18px; font: 700 1.3rem/1.15 var(--font-display); letter-spacing: -.02em; }
.tile-line { color: var(--on-navy); font-size: .95rem; line-height: 1.4; }
.tile-count { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; color: var(--blue-300); font-weight: 600; font-size: .95rem; }

.ticker { background: var(--navy-950); color: var(--on-navy); overflow: hidden; border-block: 1px solid rgb(255 255 255 / .08); }
.ticker-track { display: flex; width: max-content; animation: ticker 50s linear infinite; }
.ticker-set { display: flex; align-items: center; flex: none; }
.ticker-set span { padding: 22px 28px; white-space: nowrap; font: 600 1.15rem/1 var(--font-display); letter-spacing: -.01em; }
.ticker-set .icon { width: 14px; height: 14px; color: var(--blue-bright); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-mist { background: var(--mist); }
.section-head { max-width: 40rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.1rem; max-width: 36rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.service { padding-top: 24px; border-top: 3px solid var(--navy-900); }
.service-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--blue-100); color: var(--blue);
}
.service-icon .icon { width: 26px; height: 26px; }
.service h3 { margin-top: 20px; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.service p { margin-top: 10px; color: var(--muted); }

/* Work */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  font: 600 .95rem/1 var(--font-body); cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--navy-900); }
.chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.chip-count { font-weight: 500; opacity: .65; font-variant-numeric: tabular-nums; }
.gallery { columns: 3 250px; column-gap: 20px; }
.work-item { break-inside: avoid; margin: 0 0 20px; }
.work-btn {
  display: block; width: 100%; padding: 0; border: 0; text-align: left;
  background: var(--white); color: inherit; font: inherit; cursor: zoom-in;
  border-radius: var(--r-m); overflow: hidden;
  box-shadow: 0 1px 2px rgb(10 27 69 / .08), 0 8px 24px rgb(10 27 69 / .08);
  transition: box-shadow .25s, transform .25s;
}
.work-btn:hover { box-shadow: 0 2px 4px rgb(10 27 69 / .1), 0 16px 36px rgb(10 27 69 / .16); transform: translateY(-3px); }
.work-media { overflow: hidden; background: var(--blue-100); }
.work-media img { width: 100%; transition: transform .5s; }
.work-btn:hover .work-media img { transform: scale(1.03); }
.work-cap { padding: 12px 16px 14px; }
.work-title { display: block; font-weight: 600; line-height: 1.3; }
.work-cat { display: block; font-size: .875rem; color: var(--muted); }
.empty {
  display: grid; justify-items: start; gap: 12px;
  max-width: 34rem; padding: 32px; border-radius: var(--r-l);
  background: var(--white); border: 1.5px dashed var(--blue-300);
}
.empty .service-icon { margin-bottom: 4px; }
.empty h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.empty p { color: var(--muted); }
.empty .btn { margin-top: 8px; }

/* Student hub */
.hub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hub-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px; border-radius: var(--r-l);
  border: 1.5px solid var(--line); background: var(--white);
}
.hub-card .service-icon { margin-bottom: 8px; }
.hub-card h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.hub-card p { color: var(--muted); }
.pill {
  align-self: flex-start; margin-top: auto;
  padding: 6px 12px; border-radius: 999px;
  background: var(--mist); color: var(--navy-800);
  font-size: .85rem; font-weight: 600;
}
.hub-card .pill { margin-top: 12px; }
.hub-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.hub-cta p { color: var(--muted); }

/* About */
.about { background: var(--navy-900); color: var(--white); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; }
.about-copy { margin-top: 24px; display: grid; gap: 18px; color: var(--on-navy); font-size: 1.15rem; max-width: 36rem; }
.about-copy strong { color: var(--white); font-weight: 600; }
.ai-panel {
  padding: clamp(24px, 4vw, 40px); border-radius: var(--r-l);
  background: var(--navy-800); border: 1px solid rgb(255 255 255 / .12);
}
.ai-panel h3 { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.ai-panel h3 .icon { color: var(--blue-300); width: 28px; height: 28px; }
.ai-list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 22px; }
.ai-list li { padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .12); }
.ai-list li:first-child { padding-top: 0; border-top: 0; }
.ai-list b { display: block; font: 700 1.1rem/1.3 var(--font-display); color: var(--white); }
.ai-list span { display: block; margin-top: 4px; color: var(--on-navy); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 28px; border-radius: var(--r-l);
  border: 1.5px solid var(--line); background: var(--white);
}
.contact-card .service-icon { margin-bottom: 14px; }
.contact-card h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
.contact-value { color: var(--muted); overflow-wrap: anywhere; }
.contact-card .btn { margin-top: 18px; }
.contact-card-main { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.contact-card-main .service-icon { background: rgb(255 255 255 / .12); color: var(--white); }
.contact-card-main .contact-value { color: var(--on-navy); }
.social { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.social p { font-weight: 600; }
.social-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social-list a {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--line); background: var(--white); color: var(--navy-900);
  transition: background-color .2s, color .2s, border-color .2s;
}
.social-list a:hover { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.social-list .icon { width: 22px; height: 22px; }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--on-navy); padding-block: 36px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer .social-list a { background: transparent; border-color: rgb(255 255 255 / .22); color: var(--white); }
.site-footer .social-list a:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.site-footer small { font-size: .9rem; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.footer-nav a { color: var(--on-navy); text-decoration: none; padding: 8px 10px; border-radius: 999px; }
.footer-nav a:hover { color: var(--white); background: rgb(255 255 255 / .08); }
.footer-logo { display: inline-flex; padding: 8px 14px; border-radius: 14px; background: var(--white); }
.footer-logo img { height: 40px; width: auto; }

/* Portfolio: tabs, category cards, category pages */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tab {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  font: 600 1rem/1 var(--font-body); cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.tab:hover { border-color: var(--navy-900); }
.tab[aria-selected="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.panel-intro { margin-bottom: 24px; color: var(--muted); }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cat-card {
  display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden;
  background: var(--white); color: inherit; text-decoration: none;
  box-shadow: 0 1px 2px rgb(10 27 69 / .08), 0 8px 24px rgb(10 27 69 / .08);
  transition: box-shadow .25s, transform .25s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgb(10 27 69 / .1), 0 18px 40px rgb(10 27 69 / .18); }
.cat-cover { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-900); }
.cat-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-cover img { transform: scale(1.05); }
.cat-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 18px; }
.cat-title { font: 700 1.15rem/1.2 var(--font-display); letter-spacing: -.01em; }
.cat-count { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.cat-body .pill { margin: 0; align-self: center; white-space: nowrap; }
.cat-page { display: grid; gap: 36px; }
.back {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px 10px 12px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--white);
  color: var(--navy-900); font-weight: 600; text-decoration: none;
}
.back:hover { border-color: var(--navy-900); }
.cat-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.cat-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; }
.cat-head p { margin-top: 12px; max-width: 40rem; color: var(--muted); font-size: 1.1rem; }
.pill-solid { background: var(--navy-900); color: var(--white); }
.empty-cat {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: center;
  padding: clamp(20px, 3vw, 32px); border-radius: var(--r-l);
  background: var(--white); border: 1.5px dashed var(--blue-300);
}
.empty-cat img { width: 100%; border-radius: var(--r-m); }
.empty-cat h3 { font: 800 1.8rem/1.1 var(--font-display); letter-spacing: -.02em; }
.empty-cat p { margin: 12px 0 22px; color: var(--muted); max-width: 30rem; }
.more h3 { margin-bottom: 14px; font: 700 1.2rem/1.2 var(--font-display); }
a.chip { text-decoration: none; }

/* Student hub links, FAQ */
.hub-link { color: inherit; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.hub-link:hover { border-color: var(--navy-900); transform: translateY(-3px); box-shadow: 0 14px 36px rgb(10 27 69 / .12); }
.hub-go { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.faq-list { border-top: 1.5px solid var(--line); }
.faq-list details { border-bottom: 1.5px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font: 600 1.15rem/1.3 var(--font-display);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--blue); transition: transform .25s; }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list details p { padding: 0 4px 24px; max-width: 40rem; color: var(--muted); }

/* AI, process, glance, quote */
.ai-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.step { position: relative; padding-top: 4px; }
.step-n {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-900); color: var(--white);
  font: 700 1.1rem/1 var(--font-display);
}
.step h3 { margin-top: 18px; font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.step p { margin-top: 8px; color: var(--muted); }
.glance {
  padding: clamp(24px, 4vw, 40px); border-radius: var(--r-l);
  background: var(--navy-800); border: 1px solid rgb(255 255 255 / .12);
}
.glance h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.glance dl { margin: 24px 0 0; display: grid; gap: 20px; }
.glance dl > div { padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .12); }
.glance dl > div:first-child { padding-top: 0; border-top: 0; }
.glance dt { font-size: .9rem; color: var(--blue-300); font-weight: 600; }
.glance dd { margin: 4px 0 0; color: var(--white); }
.quote-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.quote-grid .section-head { margin-bottom: 0; }
.quote-form {
  display: grid; gap: 18px;
  padding: clamp(24px, 4vw, 36px); border-radius: var(--r-l);
  border: 1.5px solid var(--line); background: var(--white);
  box-shadow: 0 12px 40px rgb(10 27 69 / .08);
}
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--ink);
  font: inherit;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--blue-100); border-color: var(--blue); }
.quote-form .btn { justify-self: start; }

/* App design panel */
.app-panel { display: grid; gap: clamp(40px, 6vw, 64px); }
.app-intro { max-width: 40rem; }
.app-intro h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.app-intro p { margin-top: 12px; color: var(--muted); }
.app-group h3 { margin: 0 0 6px; font: 700 1.3rem/1.2 var(--font-display); letter-spacing: -.02em; }
.app-group > p { margin: 0 0 20px; color: var(--muted); font-size: .98rem; }
.app-grid { display: grid; gap: 16px; }
.app-grid-banners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.app-grid-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.app-grid-icons { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.app-grid-drips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.app-grid .work-btn { height: 100%; }
.app-grid-drips .work-btn { background: var(--white); border: 1px solid var(--line); box-shadow: none; }
.app-grid-drips .work-media { background: var(--mist); padding: 14px 18px; }
.app-grid-drips .work-media img { max-height: 280px; width: auto; margin-inline: auto; }
.app-grid-icons .work-btn { border-radius: var(--r-s); }
.app-grid-icons .work-media { aspect-ratio: 1; background: var(--white); }
.app-grid-icons .work-media img { height: 100%; object-fit: cover; }

/* Viewer */
.viewer {
  width: min(96vw, 980px); max-height: 94vh; padding: 0; border: 0; border-radius: var(--r-l);
  background: var(--navy-950); color: var(--white); overflow: hidden;
}
.viewer::backdrop { background: rgb(3 8 22 / .86); }
.viewer-body { display: grid; grid-template-columns: minmax(0, 1fr); max-height: 94vh; }
.viewer-img { display: grid; place-items: center; background: var(--navy-950); padding: 16px 16px 0; min-height: 0; }
.viewer-img img { max-height: calc(94vh - 112px); width: auto; max-width: 100%; border-radius: var(--r-s); background: var(--mist); }
.viewer-bar { display: flex; align-items: center; gap: 12px; padding: 16px 20px 18px; }
.viewer-title { margin-right: auto; min-width: 0; }
.viewer-title b { display: block; font: 700 1.1rem/1.3 var(--font-display); }
.viewer-title span { color: var(--on-navy); font-size: .9rem; }
.viewer-btn {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  border: 1.5px solid rgb(255 255 255 / .3); background: transparent; color: var(--white); cursor: pointer;
}
.viewer-btn:hover { background: var(--white); color: var(--navy-900); }

/* Responsive */
@media (max-width: 1000px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .quote-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .services, .hub, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-grid-banners { grid-template-columns: minmax(0, 1fr); }
  .app-grid-icons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .app-grid-drips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { columns: 2 150px; column-gap: 14px; }
  .work-item { margin-bottom: 14px; }
}
@media (max-width: 760px) {
  .empty-cat { grid-template-columns: minmax(0, 1fr); }
  .services, .ai-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .menu-toggle { display: grid; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px max(20px, env(safe-area-inset-left, 0px)) 20px;
    background: var(--white); border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px; }
  .nav .btn { margin: 8px 0 0; min-height: 48px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .brand img { height: 48px; }
  .field-tiles { grid-template-columns: minmax(0, 1fr); }
  .field-tile { min-height: 0; }
  .field-tile .service-icon { margin-bottom: 4px; }
  .field-tile b { margin-top: 8px; }
  .cat-grid { grid-template-columns: minmax(0, 1fr); }
  .ticker-set span { padding: 18px 20px; font-size: 1.05rem; }
  .work-cap { padding: 10px 12px 12px; }
  .work-title { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* Particles */
.particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero, .about { position: relative; overflow: hidden; }
.hero > :not(.particles), .about > :not(.particles) { position: relative; z-index: 1; }
.hero-grid { z-index: 1; }
.offers { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.offers li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.offers li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .6em; border-radius: 50%; background: var(--blue); }
.empty-cat .btn + .btn { margin-left: 8px; }
.empty-cat .empty-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn-ghost-dark { border-color: var(--line); color: var(--navy-900); background: var(--white); }
.btn-ghost-dark:hover { border-color: var(--blue); }
.offers-title { margin-top: 18px; font: 700 1rem/1.2 var(--font-display); color: var(--navy-900); }
