/* ============================================================
   RICHRUN — SELF MARKETING CONSOLE
   Pure white skin, beige accents, orange point, no dot textures
   ============================================================ */

:root {
  --orange: #f74301;
  --orange-soft: #ff6a2c;
  --white: #ffffff;
  --off-white: #fafafa;
  --beige: #f0e7d6;
  --beige-2: #e8ddc5;
  --dark: #222222;
  --dark-2: #2c2c2c;
  --text-dim: #5a544c;
  --text-mute: #8a8378;
  --line: rgba(34, 34, 34, 0.08);
  --line-strong: rgba(34, 34, 34, 0.16);
  --display: "Archivo Black", "Pretendard", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --body: "Pretendard", "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; background: var(--white); }
body {
  font-family: var(--body);
  background: var(--white);
  color: var(--dark);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; }

.container {
  width: min(1280px, 92vw);
  margin: 0 auto;
}

/* ---------- background glow only ---------- */
.bg-grid, .bg-grain { display: none; }
.bg-glow {
  position: fixed; pointer-events: none; z-index: 0;
  width: 900px; height: 900px;
  top: -340px; right: -240px;
  background: radial-gradient(circle, rgba(247,67,1,0.10) 0%, transparent 60%);
  filter: blur(40px);
}

body > .ticker,
body > .site-header,
body > section,
body > .site-footer { position: relative; z-index: 2; }

/* ---------- ticker ---------- */
.ticker {
  border-bottom: 1px solid var(--line);
  background: var(--beige);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  padding: 8px 0;
}
.ticker__track {
  display: inline-flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker 38s linear infinite;
}
.ticker__track span { color: var(--text-dim); }
.ticker__track span::before {
  content: ""; display: inline-block; width: 6px; height: 6px;
  background: var(--orange); border-radius: 50%; margin-right: 10px;
  vertical-align: middle;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 32px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__img {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 8px;
}
.nav { display: flex; gap: 28px; font-size: 14px; }
.nav a {
  position: relative; color: var(--text-dim); transition: color 0.18s ease;
  letter-spacing: 0.02em;
}
.nav a:hover { color: var(--dark); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -22px;
  width: 0; height: 2px; background: var(--orange);
  transition: width 0.25s ease;
}
.nav a:hover::after { width: 100%; }
.header__cta { display: flex; align-items: center; gap: 8px; }
.hamburger { display: none; width: 36px; height: 36px; flex-direction: column; gap: 5px; padding: 0; }
.hamburger span { display: block; height: 2px; width: 22px; background: var(--dark); margin: 0 auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: all 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
  color: var(--dark);
}
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--dark);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(247,67,1,0.04);
}
.btn--primary {
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 24px -8px rgba(247,67,1,0.55), 0 0 0 1px rgba(247,67,1,0.2);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -8px rgba(247,67,1,0.7), 0 0 0 1px rgba(247,67,1,0.35);
  background: #ff5417;
}
.btn--lg { padding: 14px 22px; font-size: 13px; }
.btn--xl { padding: 18px 28px; font-size: 14px; }
.btn__dot {
  width: 6px; height: 6px; background: currentColor; border-radius: 50%;
  animation: pulse 1.6s infinite ease-in-out;
}
.btn--primary .btn__dot { background: #fff; }
.btn__arrow { font-family: var(--display); font-size: 14px; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ---------- hero ---------- */
.hero {
  padding: 100px 0 120px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}
.hero__meta {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--orange); text-transform: uppercase;
  margin-bottom: 32px;
}
.meta__line {
  display: inline-block; width: 56px; height: 1px;
  background: var(--orange);
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(64px, 9vw, 140px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin-bottom: 36px;
}
.hero__line { display: block; }
.hero__line--accent {
  color: var(--orange);
}
.hero__sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 44px;
}
.hero__actions {
  display: flex; gap: 12px; margin-bottom: 56px; flex-wrap: wrap;
}
.hero__stats {
  list-style: none; display: flex; gap: 48px;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.hero__stats li { display: flex; flex-direction: column; gap: 4px; }
.hero__stats strong {
  font-family: var(--display);
  font-size: 36px; color: var(--dark);
  letter-spacing: -0.02em;
}
.hero__stats em {
  font-style: normal; color: var(--orange); margin-left: 2px;
}
.hero__stats span {
  font-family: var(--mono); font-size: 11px;
  color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.12em;
}

/* ---------- hero panel (console) ---------- */
.hero__right { position: relative; }
.hero__panel {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 30px 70px -20px rgba(34,34,34,0.16),
    0 0 0 1px rgba(247,67,1,0.04);
}
.panel__head {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px;
  background: var(--beige);
  border-bottom: 1px solid var(--line);
}
.panel__lights { display: flex; gap: 6px; }
.panel__lights i {
  width: 9px; height: 9px; border-radius: 50%;
  background: #ddd; display: block;
}
.panel__lights i:nth-child(1) { background: #ff5f57; }
.panel__lights i:nth-child(2) { background: #febc2e; }
.panel__lights i:nth-child(3) { background: #28c840; }
.panel__title {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim); flex: 1;
}
.panel__status {
  font-family: var(--mono);
  font-size: 11px; color: var(--orange);
  letter-spacing: 0.16em;
}
.panel__body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.panel__row {
  display: grid; grid-template-columns: 92px 1fr; align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.panel__row:last-of-type { border-bottom: 0; }
.panel__label {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--text-mute); text-transform: uppercase;
}
.panel__value {
  font-size: 14px; color: var(--dark);
}
.panel__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.panel__chips em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--dark);
  text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--white);
}
.panel__bar {
  display: block; height: 8px;
  background: var(--beige);
  border-radius: 2px; overflow: hidden;
  position: relative;
}
.panel__bar span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--orange) 0%, #ff8447 100%);
  position: relative;
  animation: barfill 1.6s ease-out;
}
@keyframes barfill { from { width: 0 !important; } }
.panel__rank {
  font-family: var(--display);
  font-size: 22px; color: var(--dark);
  letter-spacing: -0.02em;
}
.panel__rank em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px; color: var(--orange);
  margin-left: 8px;
}
.panel__terminal {
  margin-top: 6px;
  background: var(--dark);
  border: 1px solid var(--dark);
  border-radius: 4px;
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 0.02em;
}
.cursor {
  display: inline-block;
  animation: blink 1s infinite step-end;
  margin-right: 6px;
}
@keyframes blink { 50% { opacity: 0; } }

.panel__halftone { display: none; }

.hero__badge {
  position: absolute;
  top: -28px; right: -32px;
  width: 138px; height: 138px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: grid; place-content: center;
  text-align: center;
  font-family: var(--display);
  box-shadow: 0 0 0 1px rgba(247,67,1,0.25), 0 12px 30px -8px rgba(247,67,1,0.5);
  animation: spinSlow 16s linear infinite;
  transform-origin: center;
  z-index: 3;
}
.hero__badge span { font-size: 11px; letter-spacing: 0.16em; font-family: var(--mono); font-weight: 700; }
.hero__badge strong { display: block; font-size: 16px; line-height: 1.1; margin: 4px 0; letter-spacing: -0.01em; }
.hero__badge-arrow { font-size: 18px !important; letter-spacing: 0 !important; }
@keyframes spinSlow {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

/* ---------- section heads ---------- */
.section-head { text-align: center; padding: 80px 0 32px; }
.section-head__num {
  font-family: var(--mono);
  font-size: 11px; color: var(--orange);
  letter-spacing: 0.18em; margin-bottom: 12px;
}
.section-head__title {
  font-family: var(--display);
  font-size: clamp(36px, 4.5vw, 56px);
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-head__sub { color: var(--text-dim); font-size: 15px; }

.filters { padding-bottom: 28px; }
.filters__bar {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  padding: 0 0 8px;
}
.chip {
  font-family: var(--mono);
  font-size: 12px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  transition: all 0.18s ease;
  text-transform: uppercase;
  background: transparent;
}
.chip:hover { color: var(--orange); border-color: var(--orange); }
.chip.is-active {
  background: var(--orange); border-color: var(--orange);
  color: #fff; font-weight: 700;
  box-shadow: 0 6px 18px -6px rgba(247,67,1,0.5);
}

/* ---------- services ---------- */
.services { padding: 60px 0 80px; position: relative; }
.services--alt { background: var(--beige); }
.services--alt::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--line);
}
.services__head {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: end; gap: 20px;
  padding-bottom: 36px;
  border-bottom: 1px dashed var(--line-strong);
  margin-bottom: 36px;
  position: relative;
}
.services__index {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 0.16em;
}
.services__title {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--dark);
  letter-spacing: -0.02em;
}
.services__title em {
  font-style: normal;
  color: var(--orange);
}
.services__count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.services__toggle {
  display: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line-strong);
  color: var(--dark);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1;
  align-items: center; justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.services--alt .services__toggle { background: var(--white); }

/* ---------- grid + cards ---------- */
.grid { display: grid; gap: 16px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px 22px 20px;
  min-height: 220px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(.2,.7,.2,1), border-color 0.25s ease, background 0.25s, box-shadow 0.25s;
  box-shadow: 0 1px 0 rgba(34,34,34,0.02);
}
.services--alt .card { background: var(--white); }
.card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 22px 40px -18px rgba(34,34,34,0.16), 0 0 0 1px rgba(247,67,1,0.18);
}
.card:hover::after { transform: scaleX(1); }
.card.is-hidden { display: none; }

.card__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.card__type {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  color: var(--text-mute); text-transform: uppercase;
  padding: 4px 8px; border: 1px solid var(--line-strong); border-radius: 3px;
  background: var(--off-white);
}
.services--alt .card__type { background: #fff; }

/* badge as image icon */
.badge-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 4px;
  display: block;
  flex-shrink: 0;
}

/* fallback text badges (kakao, etc.) */
.badge {
  width: 36px; height: 36px; border-radius: 8px;
  display: grid; place-items: center;
  font-family: var(--display); font-size: 14px;
  color: #fff;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.badge--kakao { background: #fee500; color: var(--dark); border-color: transparent; }
.badge--seo { background: #6c5ce7; }
.badge--commerce { background: #4a8eff; }
.badge--advisory { background: var(--beige); color: var(--orange); border-color: rgba(247,67,1,0.35); }
.badge--offline { background: #5c4a30; }
.badge--community { background: #4a4a4a; }
.badge--sns { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.badge--celeb { background: var(--dark); color: var(--orange); border-color: rgba(247,67,1,0.45); font-size: 16px; }
.badge--film { background: var(--dark); color: var(--orange); border-color: rgba(247,67,1,0.4); }
.badge--web { background: var(--dark); color: #fff; }
.badge--press { background: var(--beige); border-color: rgba(247,67,1,0.4); color: var(--orange); }
.badge--award { background: var(--orange); color: #fff; font-size: 16px; }
.badge--jp { background: #fff; color: #d11a1a; font-family: serif; border-color: var(--line-strong); }

.card h4 {
  font-family: var(--body);
  font-size: 17px; font-weight: 700;
  color: var(--dark); letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.card p {
  font-size: 13px; color: var(--text-dim);
  line-height: 1.55; margin-bottom: 14px;
  flex: 1;
}
.card__tags {
  display: flex; flex-wrap: wrap; gap: 4px;
  list-style: none; margin-bottom: 14px;
}
.card__tags li {
  font-family: var(--mono); font-size: 10px;
  color: var(--text-mute);
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
  letter-spacing: 0.04em;
  background: var(--off-white);
}
.services--alt .card__tags li { background: #fff; }
.card__cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px;
  color: var(--orange);
  letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 700;
  padding: 0;
}
.card__cta span { transition: transform 0.2s ease; font-family: var(--display); font-size: 13px; }
.card:hover .card__cta span { transform: translateX(4px); }

.card--lg { min-height: 260px; padding: 28px; }
.card--xl { min-height: 280px; padding: 32px; }
.card--lg h4 { font-size: 20px; }
.card--xl h4 { font-size: 24px; }
.card--xl p { font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 96px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 30% 50%, rgba(247,67,1,0.10) 0%, transparent 60%),
    var(--beige);
  overflow: hidden;
}
.cta-band__inner {
  position: relative;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center;
}
.cta-band__pre {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--orange);
  display: block; margin-bottom: 16px;
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 56px);
  color: var(--dark); letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
}
.cta-band p {
  color: var(--text-dim); font-size: 16px;
  max-width: 540px;
}
.cta-band__right { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-band__note {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--text-mute); text-transform: uppercase;
}
.cta-band__halftone { display: none; }

/* ---------- stats ---------- */
.stats { padding: 70px 0; border-bottom: 1px solid var(--line); background: var(--white); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stats__item {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px 24px 24px 0;
  border-right: 1px dashed var(--line-strong);
}
.stats__item:last-child { border-right: 0; }
.stats__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--text-mute); text-transform: uppercase;
}
.stats__num {
  font-family: var(--display);
  font-size: 56px; color: var(--dark);
  letter-spacing: -0.03em; line-height: 1;
}
.stats__num em { font-style: normal; color: var(--orange); margin-left: 4px; }
.stats__bar {
  display: block; height: 2px;
  background: linear-gradient(90deg, var(--orange) 0%, transparent 100%);
  width: 80%;
}

/* ---------- footer ---------- */
.site-footer { padding: 80px 0 0; background: var(--dark); color: var(--white); }
.site-footer .logo__img { background: transparent; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__tag {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--orange);
  text-transform: uppercase;
  margin: 20px 0 12px;
}
.footer__copy { font-size: 12px; color: rgba(255,255,255,0.42); }
.footer__col h5 {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col li { font-size: 13px; color: rgba(255,255,255,0.62); }
.footer__col a:hover { color: var(--orange); }
.footer__strip {
  background: #0c0c0c;
  padding: 16px 0;
}
.footer__strip .container {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,0.42); letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- floating CTA ---------- */
.float-cta {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 40;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 22px;
  background: var(--orange);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(247,67,1,0.12), 0 20px 40px rgba(34,34,34,0.22);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.float-cta:hover { transform: translateY(-2px) scale(1.02); }
.float-cta__pulse {
  width: 10px; height: 10px;
  background: #fff;
  border-radius: 50%;
  position: relative;
}
.float-cta__pulse::before {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%; border: 2px solid #fff;
  animation: ringPulse 1.6s infinite;
}
@keyframes ringPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.float-cta__text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.float-cta__text strong {
  font-family: var(--display);
  font-size: 15px; letter-spacing: -0.01em;
  color: #fff;
}
.float-cta__text em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}

/* ---------- modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 24px;
}
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(34, 34, 34, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.2s ease;
}
.modal__panel {
  position: relative;
  width: min(540px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid rgba(247,67,1,0.3);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 30px 80px -10px rgba(34,34,34,0.32), 0 0 0 1px rgba(247,67,1,0.08);
  animation: modalIn 0.32s cubic-bezier(.2,.7,.2,1);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 16px;
}
.modal__pre {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.18em;
  color: var(--orange); text-transform: uppercase;
  margin-bottom: 8px;
}
.modal__brand h3 {
  font-family: var(--display);
  font-size: 28px; color: var(--dark);
  letter-spacing: -0.02em;
}
.modal__close {
  width: 36px; height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--text-dim);
  font-size: 14px;
  background: var(--white);
}
.modal__close:hover { color: var(--orange); border-color: var(--orange); }
.modal__lede { color: var(--text-dim); font-size: 14px; margin-bottom: 24px; }
.modal__form { display: flex; flex-direction: column; gap: 14px; }
.modal__field { display: flex; flex-direction: column; gap: 6px; }
.modal__field label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.12em;
  color: var(--text-dim); text-transform: uppercase;
}
.modal__field input,
.modal__field select,
.modal__field textarea {
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--dark);
  font-family: var(--body);
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.modal__field input:focus,
.modal__field select:focus,
.modal__field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247,67,1,0.14);
}
.modal__field input::placeholder,
.modal__field textarea::placeholder {
  color: var(--text-mute);
}
.modal__agree {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--text-dim);
  cursor: pointer;
}
.modal__agree input {
  accent-color: var(--orange);
  width: 16px; height: 16px;
}
.modal__submit { justify-content: center; margin-top: 8px; }
.modal__success {
  text-align: center; padding: 24px 0;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
[hidden] { display: none !important; }
.modal__success-mark {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange); color: #fff;
  font-size: 28px; font-weight: 800;
  box-shadow: 0 12px 28px -8px rgba(247,67,1,0.5);
}
.modal__success h4 {
  font-family: var(--display);
  font-size: 24px; color: var(--dark);
}
.modal__success p { color: var(--text-dim); font-size: 14px; }
.modal__halftone { display: none; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0.001; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 64px 0 80px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__badge { width: 110px; height: 110px; top: -16px; right: 8px; }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; gap: 32px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item { border-right: 0; border-bottom: 1px dashed var(--line); padding-bottom: 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__strip .container { flex-direction: column; gap: 6px; text-align: center; }
  .float-cta__text { display: none; }
  .float-cta { padding: 16px; }

  /* mobile: filter chips hidden, sections become accordion */
  .filters__bar { display: none; }
  .section-head { padding: 56px 0 20px; }

  .services { padding: 0; border-bottom: 1px solid var(--line); }
  .services .container { padding: 0; width: 100%; }
  .services__head {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "index title toggle" "count count count";
    align-items: center;
    gap: 12px 16px;
    padding: 22px 6vw;
    margin: 0;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
  }
  .services__index { grid-area: index; }
  .services__title { grid-area: title; font-size: 22px; }
  .services__count { grid-area: count; padding-top: 2px; }
  .services__toggle { grid-area: toggle; display: inline-flex; }
  .services.is-open .services__toggle {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
    transform: rotate(45deg);
  }
  .services .grid {
    display: none;
    padding: 0 6vw 32px;
  }
  .services.is-open .grid { display: grid; }
  .services--alt {
    /* keep alt background visible at title even when collapsed */
  }
  .services--alt .services__head { background: var(--beige); }

  .card { min-height: 0; }
  .card--lg, .card--xl { min-height: 0; padding: 22px; }
  .card--lg h4 { font-size: 18px; }
  .card--xl h4 { font-size: 20px; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .hero__badge { display: none; }
  .modal__panel { padding: 24px; }
}
