/* ==========================================================================
   HAWK MEDIA — "Prairie altitude" design layer
   Loaded after tokens/main/components. Night navy + cool paper + hawk amber.
   Display: Bricolage Grotesque (variable width). Text: Instrument Sans.
   ========================================================================== */

@font-face {
  font-family: 'Bricolage';
  src: url('/assets/fonts/bricolage-grotesque-latin-standard-normal.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument';
  src: url('/assets/fonts/instrument-sans-latin-standard-normal.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument';
  src: url('/assets/fonts/instrument-sans-latin-standard-italic.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens (override legacy names so existing pages inherit) ---------- */
:root,
[data-theme="light"],
[data-theme="dark"] {
  --hm-night: #0B1628;
  --hm-night-2: #13223B;
  --hm-night-3: #1C2E4D;
  --hm-paper: #EEF2F6;
  --hm-white: #FFFFFF;
  --hm-ink: #0B1628;
  --hm-steel: #4F607A;
  --hm-mist: #A9B8CC;
  --hm-amber: #F5A524;
  --hm-amber-deep: #D98A0B;
  --hm-glacier: #A9C8E8;
  --hm-line: rgba(11, 22, 40, 0.12);
  --hm-line-dark: rgba(255, 255, 255, 0.14);

  --hm-display: 'Bricolage', 'Arial Narrow', system-ui, sans-serif;
  --hm-text: 'Instrument', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --hm-wrap: 1320px;
  --hm-gutter: clamp(1.25rem, 4vw, 3.5rem);
  --hm-section: clamp(4.5rem, 10vw, 9rem);
  --hm-radius: 14px;
  --hm-ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* legacy aliases */
  --font-family: var(--hm-text);
  --font-display: var(--hm-display);
  --c-hawk: var(--hm-amber);
  --c-hawk-bright: #FFB938;
  --c-amber: var(--hm-amber);
  --c-navy: var(--hm-night);
  --c-black: var(--hm-ink);
  --c-obsidian: var(--hm-night);
  --bg-page: var(--hm-paper);
  --bg-surface: var(--hm-white);
  --bg-subtle: #E3E9F0;
  --bg-card: var(--hm-white);
  --bg-card-hover: #F6F8FB;
  --bg-dark: var(--hm-night);
  --bg-dark-card: var(--hm-night-2);
  --bg-black: var(--hm-night);
  --text-primary: var(--hm-ink);
  --text-secondary: var(--hm-steel);
  --text-muted: #6A7A92;
  --text-on-dark: #FFFFFF;
  --text-muted-dark: var(--hm-mist);
  --text-on-amber: var(--hm-night);
  --border-subtle: var(--hm-line);
  --border-card: var(--hm-line);
  --border-focus: var(--hm-amber);
  --shadow-card: 0 1px 0 var(--hm-line);
  --shadow-hover: 0 18px 40px -18px rgba(11, 22, 40, 0.35);
}

/* Dark scope: any section with .is-dark flips the semantic variables */
.is-dark,
.section-dark,
.site-footer {
  --bg-page: var(--hm-night);
  --bg-surface: var(--hm-night-2);
  --bg-card: var(--hm-night-2);
  --text-primary: #FFFFFF;
  --text-secondary: var(--hm-mist);
  --text-muted: #8C9CB3;
  --border-subtle: var(--hm-line-dark);
  --border-card: var(--hm-line-dark);
  background: var(--hm-night);
  color: #FFFFFF;
}

/* ---------- Base type ---------- */
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--hm-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--hm-ink);
  background: var(--hm-paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .display-title {
  font-family: var(--hm-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  font-stretch: 88%;
  text-wrap: balance;
}
h1, .display-title { font-size: clamp(2.6rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.9rem); }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); letter-spacing: -0.015em; font-stretch: 92%; line-height: 1.15; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: var(--text-secondary); max-width: 62ch; }
:focus-visible { outline: 2px solid var(--hm-amber); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--hm-amber); color: var(--hm-night); }

/* Retire template chrome site-wide */
.eyebrow, .section-eyebrow { display: none !important; }
.theme-toggle-btn { display: none !important; }

/* ---------- Layout primitives ---------- */
.hm-wrap { width: 100%; max-width: var(--hm-wrap); margin-inline: auto; padding-inline: var(--hm-gutter); }
.hm-section { padding-block: var(--hm-section); }
.hm-paper { background: var(--hm-paper); }
.hm-white { background: var(--hm-white); }
.hm-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.hm-head h2 { margin: 0; max-width: 14ch; }
.hm-head p { margin: 0; color: var(--text-secondary); font-size: 1.125rem; max-width: 46ch; }
.hm-more { margin-top: clamp(2rem, 4vw, 3rem); }
.hm-link {
  color: inherit; font-weight: 600; text-decoration: none;
  background: linear-gradient(var(--hm-amber), var(--hm-amber)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 2px; transition: background-size 0.3s var(--hm-ease);
}
.hm-link:hover { background-size: 100% 100%; color: var(--hm-night); }

/* ---------- Buttons ---------- */
.hm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 52px; padding: 0 1.6rem; border-radius: 999px;
  font-family: var(--hm-text); font-size: 1rem; font-weight: 600; letter-spacing: 0;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--hm-ease);
}
.hm-btn:active { transform: translateY(1px); }
.hm-btn-amber { background: var(--hm-amber); color: var(--hm-night); }
.hm-btn-amber:hover { background: #FFB938; color: var(--hm-night); }
.hm-btn-ink { background: var(--hm-night); color: #fff; }
.hm-btn-ink:hover { background: var(--hm-night-3); color: #fff; }
.hm-btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.hm-btn-ghost:hover { background: rgba(127, 140, 160, 0.14); color: inherit; }
/* Legacy buttons re-skinned to match */
.btn { border-radius: 999px !important; font-family: var(--hm-text) !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; }
.btn-primary { background: var(--hm-amber) !important; color: var(--hm-night) !important; border-color: var(--hm-amber) !important; box-shadow: none !important; }
.btn-primary:hover { background: #FFB938 !important; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 900; padding: 14px var(--hm-gutter); background: transparent; pointer-events: none; }
.site-header .nav-bar {
  pointer-events: auto;
  max-width: var(--hm-wrap); margin: 0 auto; height: 64px; padding: 0 10px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: rgba(11, 22, 40, 0.78); color: #fff;
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 999px; box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.5);
}
.site-header .brand { color: #fff; gap: 10px; }
.site-header .brand-text, .mobile-drawer .brand-text { font-family: var(--hm-display); font-weight: 700; font-stretch: 85%; font-size: 1.25rem; letter-spacing: -0.02em; text-transform: none; }
.site-header .nav-links { gap: 0.25rem; }
.site-header .nav-link { color: rgba(255, 255, 255, 0.82) !important; font-weight: 500; font-size: 0.97rem; padding: 8px 14px; border-radius: 999px; letter-spacing: 0; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: #fff !important; background: rgba(255, 255, 255, 0.08); }
.site-header .nav-link.active::after, .site-header .nav-link::after { display: none !important; }
.site-header .nav-actions .btn { min-height: 44px; padding: 0 1.2rem; }
.site-header .menu-toggle { color: #fff; }
.site-header .menu-toggle .bar { background: #fff; }
.nav-dropdown-menu { border-radius: 18px !important; border: 1px solid var(--hm-line) !important; box-shadow: 0 30px 60px -20px rgba(11, 22, 40, 0.35) !important; background: #fff !important; }
.nav-dropdown-menu .dropdown-header { display: none; }
.dropdown-link-title { font-family: var(--hm-display); font-stretch: 90%; font-weight: 650; color: var(--hm-ink); }
.dropdown-link-desc { color: var(--hm-steel); }
main#main-content > section:first-of-type:not(.hm-hero) { padding-top: clamp(7.5rem, 12vw, 10rem) !important; }

/* ---------- Hero ---------- */
.hm-hero {
  position: relative; overflow: hidden;
  padding: clamp(8.5rem, 16vw, 12rem) 0 0;
  background:
    radial-gradient(1200px 520px at 85% -10%, rgba(169, 200, 232, 0.16), transparent 60%),
    var(--hm-night);
}
.hm-hero-kicker { color: var(--hm-glacier); font-size: 1rem; font-weight: 500; margin: 0 0 1.5rem; }
.hm-hero-title {
  margin: 0; color: #fff;
  font-size: clamp(3.1rem, 10.2vw, 10.25rem);
  line-height: 0.9; letter-spacing: -0.04em; font-weight: 750; font-stretch: 100%;
  max-width: none;
}
.hm-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hm-line > span { display: inline-block; }
.hm-flight { display: block; width: 100%; height: clamp(40px, 7vw, 110px); margin-top: clamp(-10px, -1vw, 0px); overflow: visible; }
.hm-flight path { fill: none; stroke: var(--hm-amber); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hm-hero-foot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: end;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.hm-hero-lead { margin: 0; max-width: 54ch; color: #D5DEEA; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; }
.hm-hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hm-hero .hm-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.hm-facts {
  list-style: none; margin: clamp(3.5rem, 7vw, 6rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--hm-line-dark);
}
.hm-facts li { padding: 1.75rem 1.5rem 2.25rem 0; display: grid; gap: 0.35rem; }
.hm-facts li + li { padding-left: 1.5rem; border-left: 1px solid var(--hm-line-dark); }
.hm-facts strong { font-family: var(--hm-display); font-stretch: 85%; font-size: 1.3rem; font-weight: 650; letter-spacing: -0.01em; color: #fff; }
.hm-facts span { color: var(--hm-mist); font-size: 0.95rem; }

/* The one orchestrated moment. Only transform and opacity animate (GPU-composited, no text reflow),
   and it starts after the display font has loaded so letters never swap mid-animation. */
.hm-line > span { will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .hm-hero:not(.is-ready) .hm-line > span { transform: translate3d(0, 105%, 0); }
  .hm-hero:not(.is-ready) .hm-flight path { stroke-dashoffset: 1600; }
  .hm-hero:not(.is-ready) .hm-hero-foot,
  .hm-hero:not(.is-ready) .hm-facts,
  .hm-hero:not(.is-ready) .hm-hero-kicker { opacity: 0; }
  .hm-flight path { stroke-dasharray: 1600; }
  .hm-hero.is-ready .hm-line > span { animation: hm-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: calc(var(--i) * 110ms); }
  .hm-hero.is-ready .hm-flight path { animation: hm-draw 1.4s cubic-bezier(0.65, 0, 0.35, 1) 0.45s both; }
  .hm-hero.is-ready .hm-hero-kicker { animation: hm-fade 0.6s ease both; }
  .hm-hero.is-ready .hm-hero-foot, .hm-hero.is-ready .hm-facts { animation: hm-fade-up 0.7s ease 0.6s both; }
}
@keyframes hm-rise { from { transform: translate3d(0, 105%, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes hm-draw { from { stroke-dashoffset: 1600; } to { stroke-dashoffset: 0; } }
@keyframes hm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hm-fade-up { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }

/* Callback bubble stays out of the hero on desktop. On phones the dock (WhatsApp + Free Quote) is the only floating contact, on every screen. */
.hm-callback-root, .hm-callback-launcher { transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s; }
body.hero-in-view .hm-callback-launcher { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(16px); }
.mobile-contact-dock .dock-container { grid-template-columns: 1fr 1.3fr; }
@media (max-width: 768px) { .hm-callback-launcher { display: none !important; } }

/* ---------- Services index ---------- */
.hm-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hm-ink); }
.hm-index li { border-bottom: 1px solid var(--hm-line); }
.hm-index-row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 48px;
  gap: 2rem; align-items: center; padding: clamp(1.4rem, 2.6vw, 2.2rem) 0;
  color: var(--hm-ink); text-decoration: none;
}
.hm-index-row::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--hm-amber); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--hm-ease);
}
.hm-index-title {
  font-family: var(--hm-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  font-size: clamp(1.8rem, 4vw, 3.4rem); font-stretch: 82%;
  transition: font-stretch 0.5s var(--hm-ease);
}
.hm-index-sub { color: var(--hm-steel); font-size: 1.05rem; max-width: 38ch; }
.hm-index-go { justify-self: end; color: var(--hm-ink); transition: transform 0.4s var(--hm-ease), color 0.2s; }
.hm-index-row:hover::after, .hm-index-row:focus-visible::after { transform: scaleX(1); }
.hm-index-row:hover .hm-index-title, .hm-index-row:focus-visible .hm-index-title { font-stretch: 100%; }
.hm-index-row:hover .hm-index-go { transform: translate(4px, -4px); color: var(--hm-amber-deep); }
.hm-industries { margin: 2.5rem 0 0; color: var(--hm-steel); max-width: 70ch; }

/* ---------- Split sections (approach, FAQ) ---------- */
.hm-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.hm-split-lead h2 { margin: 0 0 1.5rem; max-width: 13ch; }
.hm-split-lead p { color: var(--text-secondary); font-size: 1.15rem; max-width: 42ch; margin: 0 0 2rem; }
.hm-sticky { position: sticky; top: 120px; }
.hm-points { margin: 0; display: grid; gap: 0; }
.hm-points > div { padding: 1.6rem 0; border-top: 1px solid var(--hm-line); }
.hm-points > div:last-child { border-bottom: 1px solid var(--hm-line); }
.hm-points dt { font-family: var(--hm-display); font-stretch: 88%; font-weight: 650; font-size: 1.45rem; letter-spacing: -0.015em; margin-bottom: 0.4rem; }
.hm-points dd { margin: 0; color: var(--hm-steel); max-width: 52ch; }

/* ---------- Work ---------- */
.hm-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.hm-work-grid .portfolio-dual-card { border-radius: var(--hm-radius) !important; box-shadow: none !important; border: 1px solid var(--hm-line) !important; background: #fff !important; }

/* ---------- Process (a real sequence, so it is numbered) ---------- */
.hm-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--hm-ink); }
.hm-steps li { counter-increment: step; padding: 1.75rem 1.5rem 0 0; }
.hm-steps li + li { padding-left: 1.5rem; border-left: 1px solid var(--hm-line); }
.hm-steps li::before {
  content: counter(step); display: block; margin-bottom: 1.25rem;
  font-family: var(--hm-display); font-weight: 300; font-stretch: 75%; font-size: 4.5rem; line-height: 0.8; color: var(--hm-amber-deep);
}
.hm-steps h3 { margin: 0 0 0.6rem; }
.hm-steps p { margin: 0; color: var(--hm-steel); font-size: 0.98rem; }

/* ---------- Testimonials ---------- */
.hm-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.hm-quote { margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--hm-ink); }
.hm-quote blockquote { margin: 0 0 1.25rem; font-family: var(--hm-display); font-stretch: 92%; font-size: 1.35rem; line-height: 1.3; letter-spacing: -0.01em; }
.hm-quote figcaption { display: grid; color: var(--hm-steel); font-size: 0.95rem; }
.hm-quote figcaption strong { color: var(--hm-ink); }

/* ---------- Pricing ---------- */
.hm-pricing .hm-head p { color: var(--hm-mist); }
.hm-filters { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.hm-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--hm-night-2); border: 1px solid var(--hm-line-dark); }
.hm-seg button, .hm-chips button {
  font: 500 0.95rem/1 var(--hm-text); color: var(--hm-mist); background: transparent; border: 0;
  padding: 10px 16px; border-radius: 999px; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.hm-seg button.is-active { background: #fff; color: var(--hm-night); }
.hm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hm-chips button { border: 1px solid var(--hm-line-dark); }
.hm-chips button.is-active, .hm-chips button:hover { color: #fff; border-color: var(--hm-amber); }
.hm-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hm-price {
  display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--hm-radius);
  background: var(--hm-night-2); border: 1px solid var(--hm-line-dark);
}
.hm-price.is-featured { background: linear-gradient(180deg, rgba(245, 165, 36, 0.12), rgba(245, 165, 36, 0) 55%), var(--hm-night-2); border-color: rgba(245, 165, 36, 0.55); }
.hm-price-cat { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 1rem; color: var(--hm-glacier); font-size: 0.9rem; font-weight: 500; }
.hm-price-tag { color: var(--hm-night); background: var(--hm-amber); border-radius: 999px; padding: 2px 10px; font-size: 0.8rem; font-weight: 600; }
.hm-price h3 { color: #fff; margin: 0 0 0.4rem; font-size: 1.6rem; }
.hm-price-sub { color: var(--hm-mist); font-size: 0.95rem; margin: 0 0 1.25rem; }
.hm-price-amount { font-family: var(--hm-display); font-weight: 700; font-stretch: 85%; font-size: 2.4rem; letter-spacing: -0.03em; color: #fff; margin: 0 0 1.25rem; line-height: 1; }
.hm-price-amount small { display: block; margin-top: 0.4rem; font-family: var(--hm-text); font-size: 0.9rem; font-weight: 500; letter-spacing: 0; color: var(--hm-mist); }
.hm-price ul { list-style: none; margin: 0 0 1.75rem; padding: 1.25rem 0 0; border-top: 1px solid var(--hm-line-dark); display: grid; gap: 0.55rem; }
.hm-price li { position: relative; padding-left: 1.4rem; color: #DCE4EE; font-size: 0.95rem; }
.hm-price li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 2px; background: var(--hm-amber); }
.hm-price .hm-btn { margin-top: auto; width: 100%; }
.hm-price .hm-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.hm-pricing .hm-link:hover { color: var(--hm-night); }

/* ---------- FAQ ---------- */
.hm-faq { max-width: none !important; margin: 0 !important; }
.hm-faq .faq-item { border: 0 !important; border-top: 1px solid var(--hm-line) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; margin: 0 !important; }
.hm-faq .faq-item:last-child { border-bottom: 1px solid var(--hm-line) !important; }
.hm-faq .faq-trigger { padding: 1.4rem 0 !important; font-family: var(--hm-display) !important; font-stretch: 90%; font-weight: 600 !important; font-size: 1.2rem !important; letter-spacing: -0.01em; color: var(--hm-ink) !important; background: transparent !important; }
.hm-faq .faq-content p { color: var(--hm-steel); padding: 0 0 1.4rem !important; margin: 0; max-width: 62ch; }
.hm-faq .faq-icon { color: var(--hm-amber-deep) !important; }

/* ---------- Contact band (site-wide) ---------- */
.hm-contact { padding-block: var(--hm-section); background: radial-gradient(900px 500px at 0% 100%, rgba(245, 165, 36, 0.10), transparent 60%), var(--hm-night); }
.hm-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.hm-contact h2 { color: #fff; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 0.95; letter-spacing: -0.035em; margin: 0 0 1.5rem; max-width: 11ch; }
.hm-contact-lead > p { color: #D5DEEA; font-size: 1.15rem; max-width: 44ch; margin: 0 0 2.5rem; }
.hm-contact-direct { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--hm-line-dark); }
.hm-contact-direct li { display: grid; grid-template-columns: 110px 1fr; padding: 1rem 0; border-bottom: 1px solid var(--hm-line-dark); }
.hm-contact-direct span { color: var(--hm-mist); }
.hm-contact-direct a { color: #fff; font-weight: 600; text-decoration: none; }
.hm-contact-direct a:hover { color: var(--hm-amber); }
.hm-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--hm-night-2); border: 1px solid var(--hm-line-dark); border-radius: 20px; }
.hm-field { display: grid; gap: 0.45rem; }
.hm-field-wide { grid-column: 1 / -1; }
.hm-field label { color: #fff; font-size: 0.95rem; font-weight: 500; }
.hm-field label span { color: var(--hm-mist); font-weight: 400; }
.hm-field input, .hm-field textarea {
  width: 100%; font: 400 1rem/1.4 var(--hm-text); color: #fff;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 10px; padding: 0.85rem 1rem;
  transition: border-color 0.2s, background 0.2s;
}
.hm-field textarea { resize: vertical; min-height: 120px; }
.hm-field input::placeholder, .hm-field textarea::placeholder { color: #7D8DA5; }
.hm-field input:focus, .hm-field textarea:focus { outline: none; border-color: var(--hm-amber); background: rgba(255, 255, 255, 0.07); }
.hm-field [aria-invalid="true"] { border-color: #F27E6B; }
.hm-form-foot { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.hm-form-status { margin: 0; color: var(--hm-mist); font-size: 0.95rem; }
.hm-form-status.is-ok { color: #8FE0B0; }
.hm-form-status.is-error { color: #F7A898; }
.hm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.hm-form.is-sent { align-content: center; min-height: 360px; }

/* ---------- Footer ---------- */
.site-footer { background: #08111F !important; border-top: 1px solid var(--hm-line-dark); }
.site-footer .brand-text { font-family: var(--hm-display); font-stretch: 85%; font-weight: 700; text-transform: none; letter-spacing: -0.02em; }
.site-footer p, .site-footer a { color: var(--hm-mist); }
.site-footer a:hover { color: #fff; }
.footer-col-title { font-family: var(--hm-text) !important; font-size: 0.95rem !important; text-transform: none !important; letter-spacing: 0 !important; color: #fff !important; font-weight: 600 !important; }
.footer-brand p:last-of-type { font-family: var(--hm-text) !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 500 !important; color: var(--hm-glacier) !important; }
.footer-locations-bar .locations-label { text-transform: none !important; letter-spacing: 0 !important; font-family: var(--hm-text) !important; color: #fff !important; }
.footer-locations-bar a { color: var(--hm-mist) !important; }

/* ---------- Inner pages: inherit the system ---------- */
.section-silver { background: var(--hm-paper) !important; }
.card { border-radius: var(--hm-radius) !important; box-shadow: none !important; border: 1px solid var(--hm-line) !important; }
.section-header.text-center h2, .section-header h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.form-control { border-radius: 10px !important; font-family: var(--hm-text) !important; }

/* Contact page */
.hm-page-hero { padding: clamp(9rem, 15vw, 12rem) 0 clamp(3rem, 6vw, 5rem); }
.hm-page-hero h1 { color: #fff; margin: 0 0 1.25rem; max-width: 14ch; font-size: clamp(3rem, 8vw, 7.5rem); line-height: 0.92; letter-spacing: -0.04em; font-stretch: 92%; }
.hm-page-hero p { color: #D5DEEA; font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 56ch; margin: 0; }
.hm-contact-page { padding-top: 0; }
.hm-contact-page .hm-contact-grid { padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--hm-line-dark); }
.hm-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-pills .contact-service-pill { font: 500 0.92rem/1 var(--hm-text); color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; padding: 10px 14px; cursor: pointer; }
.hm-pills .contact-service-pill.is-selected { background: var(--hm-amber); border-color: var(--hm-amber); color: var(--hm-night); }
.hm-alert { grid-column: 1 / -1; padding: 1rem 1.25rem; border-radius: 10px; }
.hm-alert-ok { background: rgba(143, 224, 176, 0.12); border: 1px solid rgba(143, 224, 176, 0.5); color: #CFF3DD; }
.hm-alert-error { background: rgba(247, 168, 152, 0.12); border: 1px solid rgba(247, 168, 152, 0.5); color: #FAD3CB; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hm-steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .hm-steps li, .hm-steps li + li { padding: 1.5rem 1rem 0 0; border-left: 0; border-top: 1px solid var(--hm-line); }
  .hm-steps { border-top: 0; }
  .hm-prices, .hm-work-grid, .hm-quotes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hm-head, .hm-split, .hm-contact-grid, .hm-hero-foot { grid-template-columns: 1fr; }
  .hm-sticky { position: static; }
  .hm-facts { grid-template-columns: 1fr 1fr; }
  .hm-facts li, .hm-facts li + li { padding: 1.25rem 1rem 1.25rem 0; border-left: 0; border-bottom: 1px solid var(--hm-line-dark); }
  .hm-index-row { grid-template-columns: 1fr 36px; gap: 0.5rem 1rem; }
  .hm-index-sub { grid-column: 1; grid-row: 2; }
  .hm-index-go { grid-row: 1 / span 2; grid-column: 2; }
  .hm-index-title { font-stretch: 92%; }
  .hm-prices, .hm-work-grid, .hm-quotes { grid-template-columns: 1fr; }
  .site-header .nav-bar { height: 58px; padding-left: 18px; }
}
@media (max-width: 560px) {
  .hm-hero-title { font-size: clamp(2.6rem, 13vw, 4rem); }
  .hm-steps { grid-template-columns: 1fr; }
  .hm-facts { grid-template-columns: 1fr; }
  .hm-form { grid-template-columns: 1fr; }
  .hm-hero-actions .hm-btn { flex: 1 1 100%; }
  .hm-contact-direct li { grid-template-columns: 90px 1fr; }
  .site-header .nav-actions .btn-primary { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-index-title, .hm-index-row::after, .hm-index-go { transition: none; }
}

/* ==========================================================================
   Inner pages — bring older templates into the same system
   ========================================================================== */

/* Every inner page opens on a dark, left-aligned editorial header */
main#main-content > section:first-of-type:not(.hm-hero):not(.hm-page-hero) {
  --text-primary: #FFFFFF; --text-secondary: #D5DEEA; --text-muted: var(--hm-mist);
  --border-subtle: var(--hm-line-dark);
  background: radial-gradient(1000px 460px at 90% -10%, rgba(169, 200, 232, 0.14), transparent 60%), var(--hm-night) !important;
  color: #fff;
  padding-bottom: clamp(3.5rem, 7vw, 6rem) !important;
}
main#main-content > section:first-of-type:not(.hm-hero):not(.hm-page-hero) > .container,
main#main-content > section:first-of-type:not(.hm-hero):not(.hm-page-hero) > .container-sm,
main#main-content > section:first-of-type:not(.hm-hero):not(.hm-page-hero) > .container-editorial {
  max-width: var(--hm-wrap) !important; text-align: left !important; padding-inline: var(--hm-gutter);
}
main#main-content > section:first-of-type:not(.hm-hero):not(.hm-page-hero) h1 {
  color: #fff !important; font-size: clamp(2.8rem, 7.4vw, 6.6rem); line-height: 0.93; letter-spacing: -0.04em; font-stretch: 90%;
  max-width: 16ch; margin-left: 0 !important; margin-right: 0 !important;
}
main#main-content > section:first-of-type:not(.hm-hero):not(.hm-page-hero) .lead,
main#main-content > section:first-of-type:not(.hm-hero):not(.hm-page-hero) p {
  color: #D5DEEA !important; margin-left: 0 !important; margin-right: 0 !important; max-width: 60ch;
}
main#main-content > section:first-of-type:not(.hm-hero):not(.hm-page-hero) a:not(.btn) { color: var(--hm-glacier); }
main#main-content > section:first-of-type:not(.hm-hero):not(.hm-page-hero) .btn-outline,
main#main-content > section:first-of-type:not(.hm-hero):not(.hm-page-hero) .btn-silver,
main#main-content > section:first-of-type:not(.hm-hero):not(.hm-page-hero) .btn-secondary {
  background: transparent !important; color: #fff !important; border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
}
main#main-content > section:first-of-type:not(.hm-hero):not(.hm-page-hero) [class*="trust"],
main#main-content > section:first-of-type:not(.hm-hero):not(.hm-page-hero) [class*="badge"] { color: #fff; }
main#main-content > section:first-of-type:not(.hm-hero):not(.hm-page-hero) [class*="trust"] span,
main#main-content > section:first-of-type:not(.hm-hero):not(.hm-page-hero) [class*="trust"] small { color: var(--hm-mist) !important; }

/* Section headers: left aligned, editorial */
.section .section-header.text-center,
.section .section-header { text-align: left !important; max-width: var(--hm-wrap) !important; margin-left: 0 !important; margin-right: 0 !important; }
.section .section-header .lead { margin-left: 0 !important; }
.section .container > .text-center:not(.section-header) { text-align: left; }
.section .container > .text-center > [style*="justify-content: center"] { justify-content: flex-start !important; }

/* Small labels: sentence case, text face — no tracked caps or monospace */
[class*="badge"], [class*="-label"], [class*="-tag"], .watermark-sub, .callout-label, .service-pillar-title,
.dropdown-label, .card-tag, .portfolio-demo-pill, .badge-concept {
  font-family: var(--hm-text) !important; text-transform: none !important; letter-spacing: 0 !important;
}

/* Service detail: problems list */
.quad-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3rem); border-top: 1px solid var(--hm-ink); }
.quad-card { padding: 1.6rem 0; border-bottom: 1px solid var(--hm-line); }
.quad-badge { display: inline-block; background: none !important; color: var(--hm-amber-deep) !important; font-size: 0.9rem; font-weight: 600; padding: 0 !important; margin-bottom: 0.4rem; }
.quad-title { font-size: 1.45rem; margin: 0 0 0.4rem; }
.quad-desc { color: var(--hm-steel); margin: 0; }

/* Service detail: process */
.process-track { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 !important; border-top: 1px solid var(--hm-ink); }
.process-track .process-step { padding: 1.5rem 1.25rem 0 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.process-track .process-step + .process-step { padding-left: 1.25rem !important; border-left: 1px solid var(--hm-line) !important; }
.process-track .process-step-num {
  display: block !important; width: auto !important; height: auto !important; background: none !important; border-radius: 0 !important;
  font-family: var(--hm-display) !important; font-weight: 300 !important; font-stretch: 75%; font-size: 1.1rem !important; color: var(--hm-amber-deep) !important;
  margin-bottom: 1rem; position: static !important;
}
.process-track .process-step-title { font-size: 1.3rem; margin: 0 0 0.5rem; }
.process-track .process-step-desc { color: var(--hm-steel); font-size: 0.98rem; }

/* Services overview cards */
.service-panel-badge { background: none !important; border: 0 !important; padding: 0 !important; color: var(--hm-amber-deep) !important; font-size: 0.95rem !important; font-weight: 600 !important; }
.service-pillar-card { background: var(--hm-paper) !important; border: 0 !important; border-radius: 12px !important; }
.check-icon { color: var(--hm-amber-deep) !important; }

/* Pricing page filters */
.pricing-toggle-btn, .pricing-filter-pill, .billing-toggle-btn, .pricing-category-btn {
  font: 500 0.95rem/1 var(--hm-text) !important; padding: 10px 16px !important; border-radius: 999px !important;
  border: 1px solid var(--hm-line) !important; background: #fff !important; color: var(--hm-ink) !important; cursor: pointer;
}
.pricing-toggle-btn.is-active, .pricing-filter-pill.is-active, .billing-toggle-btn.is-active, .pricing-category-btn.is-active {
  background: var(--hm-night) !important; color: #fff !important; border-color: var(--hm-night) !important;
}
.hm-pricing .pricing-toggle-btn, .hm-pricing .pricing-filter-pill { background: transparent !important; color: var(--hm-mist) !important; border: 1px solid var(--hm-line-dark) !important; }
.hm-pricing .hm-seg .pricing-toggle-btn { border: 0 !important; }
.hm-pricing .pricing-toggle-btn.is-active { background: #fff !important; color: var(--hm-night) !important; }
.hm-pricing .pricing-filter-pill.is-active { color: #fff !important; border-color: var(--hm-amber) !important; }
main#main-content > section:first-of-type .pricing-toggle-btn, main#main-content > section:first-of-type .pricing-filter-pill {
  background: transparent !important; color: #D5DEEA !important; border-color: rgba(255, 255, 255, 0.25) !important;
}
main#main-content > section:first-of-type .pricing-toggle-btn.is-active, main#main-content > section:first-of-type .pricing-filter-pill.is-active {
  background: #fff !important; color: var(--hm-night) !important;
}

/* Portfolio filter + rows */
.portfolio-filter-bar { justify-content: flex-start !important; }
.portfolio-filter-bar .btn { background: #fff !important; color: var(--hm-ink) !important; border: 1px solid var(--hm-line) !important; }
.portfolio-filter-bar .btn.is-active { background: var(--hm-night) !important; color: #fff !important; }
.portfolio-editorial-row { border-radius: var(--hm-radius) !important; box-shadow: none !important; }
.portfolio-editorial-row:hover { transform: none !important; border-color: var(--hm-amber) !important; }
.portfolio-editorial-title { font-size: clamp(1.8rem, 3vw, 2.6rem) !important; }
@media (max-width: 860px) {
  .portfolio-editorial-row, .portfolio-editorial-row.reverse { grid-template-columns: 1fr !important; }
  .portfolio-editorial-row.reverse .portfolio-stage-column { order: 0; }
  .quad-grid { grid-template-columns: 1fr; }
  .process-track .process-step + .process-step { padding-left: 0 !important; border-left: 0 !important; border-top: 1px solid var(--hm-line) !important; }
}

/* Generic cards and dark sections on inner pages */
.section-dark { background: var(--hm-night) !important; }
.section-dark h2, .section-dark h3 { color: #fff; }
.card-dark { background: var(--hm-night-2) !important; border: 1px solid var(--hm-line-dark) !important; border-radius: var(--hm-radius) !important; box-shadow: none !important; }

/* Location landing pages */
.landing-hero { background: radial-gradient(1000px 460px at 90% -10%, rgba(169, 200, 232, 0.14), transparent 60%), var(--hm-night) !important; }
.landing-location-badge { background: transparent !important; border: 0 !important; color: var(--hm-glacier) !important; padding: 0 !important; font-weight: 500 !important; }
.landing-cta-call, .landing-cta-whatsapp {
  background: transparent !important; color: #fff !important; border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 999px !important; box-shadow: none !important;
}
.landing-cta-call:hover, .landing-cta-whatsapp:hover { border-color: var(--hm-amber) !important; color: #fff !important; }
.landing-trust-text strong, .landing-trust-text b { color: #fff !important; }
.landing-trust-strip { border-color: var(--hm-line-dark) !important; }

/* Mobile contact dock + chat launcher */
.mobile-contact-dock { background: rgba(11, 22, 40, 0.94) !important; border-top: 1px solid var(--hm-line-dark) !important; box-shadow: none !important; }
.dock-action-btn { background: transparent !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.18) !important; border-radius: 12px !important; font-family: var(--hm-text) !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 600 !important; }
.dock-action-btn svg { color: var(--hm-amber) !important; stroke: currentColor; }
.dock-action-btn.dock-quote { background: var(--hm-amber) !important; color: var(--hm-night) !important; border-color: var(--hm-amber) !important; }
.dock-action-btn.dock-quote svg { color: var(--hm-night) !important; }
.hm-callback-launcher { background: var(--hm-night) !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; }
@media (max-width: 768px) {
  .hm-callback-launcher { bottom: 92px !important; }
  .hm-callback-window { bottom: 160px !important; }
}

/* Links inside the dark inner-page header stay readable */
main#main-content > section:first-of-type:not(.hm-hero):not(.hm-page-hero) a:not(.btn):not([class*="landing-cta"]) { color: var(--hm-glacier) !important; }
.site-header .brand-text { color: #fff !important; }

/* Header keeps its dark glass look after scrolling */
.site-header.is-scrolled { background: transparent !important; box-shadow: none !important; padding-top: 10px; }
.site-header.is-scrolled .nav-bar {
  background: rgba(11, 22, 40, 0.86) !important; border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, 0.6) !important; height: 60px;
}
.site-header.is-scrolled .brand-text, .site-header.is-scrolled .nav-link { color: #fff !important; }

/* ==========================================================================
   Work / portfolio
   ========================================================================== */
.wk-hero h1 { max-width: none; }
.wk-section { padding-top: clamp(2.5rem, 5vw, 4rem); }
.wk-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.wk-filter {
  font: 500 0.95rem/1 var(--hm-text); padding: 11px 16px; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--hm-ink); border: 1px solid var(--hm-line); transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.wk-filter:hover { border-color: var(--hm-ink); }
.wk-filter.is-active { background: var(--hm-night); color: #fff; border-color: var(--hm-night); }
.wk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.wk-grid-home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wk-card { min-width: 0; }
.wk-card[hidden] { display: none; }
.wk-card-lg { grid-column: 1 / -1; }
.wk-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.wk-media {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--hm-radius); overflow: hidden;
  background: var(--hm-night); box-shadow: 0 1px 0 var(--hm-line);
}
.wk-card-lg .wk-media { aspect-ratio: 21 / 9; }
.wk-desktop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.7s var(--hm-ease); }
.wk-phone {
  position: absolute; right: 5%; bottom: -14%; width: 19%; aspect-ratio: 375 / 812; object-fit: cover; object-position: top;
  border-radius: 14px; border: 4px solid #0B1628; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.55);
  transition: transform 0.7s var(--hm-ease);
}
.wk-card-lg .wk-phone { width: 11%; bottom: -10%; right: 6%; }
.wk-link:hover .wk-desktop { transform: scale(1.03); }
.wk-link:hover .wk-phone { transform: translateY(-8%); }
.wk-media-type {
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.25rem, 3vw, 2rem);
  background: radial-gradient(600px 300px at 85% 0%, rgba(245, 165, 36, 0.28), transparent 60%), var(--hm-night);
}
.wk-type-name { font-family: var(--hm-display); font-weight: 750; font-stretch: 85%; color: #fff; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 0.95; letter-spacing: -0.03em; }
.wk-type-loc { color: var(--hm-glacier); margin-top: 0.6rem; }
.wk-body { padding: 1.1rem 0.15rem 0; }
.wk-card-lg .wk-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 0.25rem 3rem; align-items: start; }
.wk-card-lg .wk-meta, .wk-card-lg .wk-name { grid-column: 1; }
.wk-card-lg .wk-summary, .wk-card-lg .wk-tags { grid-column: 2; }
.wk-card-lg .wk-summary { grid-row: 1 / span 2; margin-top: 0.2rem; }
.wk-meta { display: flex; gap: 0.6rem; align-items: center; margin: 0 0 0.35rem; color: var(--hm-steel); font-size: 0.95rem; }
.wk-status { background: var(--hm-amber); color: var(--hm-night); border-radius: 999px; padding: 2px 9px; font-size: 0.8rem; font-weight: 600; }
.wk-name { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-stretch: 88%; line-height: 1.05; transition: color 0.2s; }
.wk-card-lg .wk-name { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.wk-link:hover .wk-name { color: var(--hm-amber-deep); }
.wk-summary { margin: 0 0 0.9rem; color: var(--hm-steel); max-width: 58ch; }
.wk-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wk-tags li { font-size: 0.85rem; font-weight: 500; color: var(--hm-ink); border: 1px solid var(--hm-line); border-radius: 999px; padding: 4px 10px; background: rgba(255, 255, 255, 0.6); }
.wk-none, .wk-empty { color: var(--hm-steel); margin-top: 1rem; }

/* Case study */
.cs-hero { padding-bottom: clamp(3rem, 6vw, 5rem); }
.cs-back { margin: 0 0 1.25rem; }
.cs-back a { color: var(--hm-glacier); text-decoration: none; font-weight: 500; }
.cs-back a::before { content: "\2190\00a0"; }
.cs-back a:hover { color: #fff; }
.cs-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(2rem, 4vw, 3rem) 0 0; border-top: 1px solid var(--hm-line-dark); }
.cs-facts div { padding: 1.1rem 1rem 0 0; }
.cs-facts div + div { padding-left: 1rem; border-left: 1px solid var(--hm-line-dark); }
.cs-facts dt { color: var(--hm-mist); font-size: 0.9rem; margin-bottom: 0.25rem; }
.cs-facts dd { margin: 0; color: #fff; font-weight: 500; }
.cs-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.cs-actions .hm-btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.cs-showcase { background: linear-gradient(var(--hm-night) 0 38%, var(--hm-paper) 38% 100%); padding-bottom: clamp(3rem, 6vw, 5rem); }
.cs-frames { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 22%; gap: clamp(1rem, 3vw, 2.5rem); align-items: end; }
.cs-browser { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px -30px rgba(11, 22, 40, 0.55); }
.cs-browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #EEF1F5; border-bottom: 1px solid var(--hm-line); }
.cs-browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #CBD3DE; }
.cs-browser-bar em { margin-left: 10px; font-style: normal; font-size: 0.85rem; color: var(--hm-steel); }
.cs-browser img { display: block; width: 100%; height: auto; }
.cs-phone { margin: 0 0 -1.5rem; border-radius: 26px; overflow: hidden; border: 6px solid #0B1628; background: #0B1628; box-shadow: 0 30px 60px -25px rgba(11, 22, 40, 0.6); aspect-ratio: 375 / 812; }
.cs-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cs-typecard {
  border-radius: 18px; padding: clamp(2rem, 6vw, 5rem); min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(800px 400px at 90% 0%, rgba(245, 165, 36, 0.3), transparent 60%), var(--hm-night-2);
  box-shadow: 0 30px 70px -30px rgba(11, 22, 40, 0.55);
}
.cs-typecard span { font-family: var(--hm-display); font-weight: 750; font-stretch: 85%; color: #fff; font-size: clamp(2.4rem, 7vw, 6rem); line-height: 0.92; letter-spacing: -0.035em; }
.cs-typecard small { color: var(--hm-glacier); font-size: 1.1rem; margin-top: 1rem; }
.cs-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); }
.cs-story h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 1rem; }
.cs-story p { color: var(--hm-steel); font-size: 1.1rem; max-width: 52ch; }
.cs-list { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 1px solid var(--hm-line); }
.cs-list li { padding: 0.8rem 0 0.8rem 1.5rem; border-bottom: 1px solid var(--hm-line); position: relative; font-weight: 500; }
.cs-list li::before { content: ""; position: absolute; left: 0; top: 1.3rem; width: 10px; height: 2px; background: var(--hm-amber-deep); }
.cs-next-wrap { padding-block: clamp(2.5rem, 5vw, 4rem); }
.cs-next { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.25rem 1rem; color: var(--hm-ink); text-decoration: none; border-top: 1px solid var(--hm-ink); padding-top: 1.5rem; }
.cs-next span { color: var(--hm-steel); grid-column: 1; }
.cs-next strong { grid-column: 1; font-family: var(--hm-display); font-weight: 700; font-stretch: 85%; font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -0.03em; line-height: 1; }
.cs-next svg { grid-column: 2; grid-row: 1 / span 2; transition: transform 0.3s var(--hm-ease); }
.cs-next:hover svg { transform: translateX(6px); }
.cs-next:hover strong { color: var(--hm-amber-deep); }

@media (max-width: 1100px) { .wk-grid-home { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .wk-grid, .wk-grid-home { grid-template-columns: 1fr; }
  .wk-card-lg .wk-media { aspect-ratio: 16 / 10; }
  .wk-card-lg .wk-body { display: block; }
  .wk-card-lg .wk-phone { width: 19%; }
  .cs-facts { grid-template-columns: 1fr 1fr; }
  .cs-facts div, .cs-facts div + div { padding: 1rem 1rem 0 0; border-left: 0; }
  .cs-frames { grid-template-columns: 1fr 27%; gap: 0.75rem; }
  .cs-phone { border-width: 4px; border-radius: 18px; margin-bottom: -1rem; }
  .cs-story { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .wk-desktop, .wk-phone { transition: none; } }
