/* ============================================================
   Zaycev Studio — Homepage v2  (Design System v0.1)
   ============================================================ */

:root {
  --ink:    #111111;
  --paper:  #F7F6F2;
  --white:  #FFFFFF;
  --muted:  #686864;
  --line:   #D7D6D0;
  --panel:  #ECEBE6;
  --accent: #FFD84D;
  --font:   "Onest", "Inter", Arial, sans-serif;

  /* Motion tokens */
  --motion-fast:     160ms;
  --motion-base:     280ms;
  --motion-reveal:   600ms;
  --motion-page:     800ms;
  --ease-out:        cubic-bezier(0.22, 1, 0.36, 1);
  --ease-std:        ease-out;
  --motion-arrow:    5px;
  --motion-reveal-y: 20px;
  --motion-img-scale: 1.02;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body.hp {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
.hp a { color: inherit; text-decoration: none; }
.hp img { display: block; max-width: 100%; }
.hp ul, .hp ol { list-style: none; padding: 0; margin: 0; }
.hp button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ---- Container ---- */
.hp .frame {
  width: min(calc(100% - 96px), 1440px);
  margin-inline: auto;
}

/* ---- Scroll reveal ---- */
.hp .reveal {
  opacity: 0;
  transform: translateY(var(--motion-reveal-y));
  transition:
    opacity   var(--motion-reveal) var(--ease-out),
    transform var(--motion-reveal) var(--ease-out);
}
.hp .reveal.visible { opacity: 1; transform: none; }
.hp .reveal-d1 { transition-delay: 80ms; }
.hp .reveal-d2 { transition-delay: 160ms; }
.hp .reveal-d3 { transition-delay: 240ms; }
.hp .reveal-d4 { transition-delay: 320ms; }

/* ---- Section label (eyebrow) ---- */
.hp .label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

/* ---- Buttons ---- */
.hp .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: opacity 200ms cubic-bezier(0.22, 1, 0.36, 1);
  border: none;
  cursor: pointer;
}
.hp .btn:hover { opacity: 0.78; }
.hp .btn-primary { background: var(--accent); color: var(--ink); }
.hp .btn-outline  { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }

.hp .ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1.5px solid currentColor;
  transition: gap 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hp .ghost-link:hover { gap: 14px; }

/* ============================================================
   HEADER
   ============================================================ */
.hp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.hp-header .inner {
  width: min(calc(100% - 96px), 1440px);
  margin-inline: auto;
  height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.hp-header .logo img { width: 154px; display: block; }

/* Desktop nav */
.hp-nav { display: flex; gap: 6px; align-items: center; }
.hp-nav-pill {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: background 180ms, border-color 180ms, color 180ms;
  white-space: nowrap;
}
.hp-nav-pill:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Services dropdown */
.hp-dropdown { position: relative; }
.hp-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
  z-index: 200;
}
.hp-dropdown:hover .hp-dropdown-menu,
.hp-dropdown-menu:hover { display: block; }
.hp-dropdown-link {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  color: var(--ink);
  transition: background 150ms;
}
.hp-dropdown-link:hover { background: var(--panel); }

/* Header CTA */
.hp-header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1.5px solid var(--ink);
  transition: gap 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hp-header-cta:hover { gap: 12px; }
.hp-cta-arrow { width: 13px; height: 13px; display: inline-block; transition: transform 180ms; }
.hp-header-cta:hover .hp-cta-arrow { transform: translate(2px,-2px); }

/* Mobile toggle */
.hp-mobile-toggle {
  display: none;
  justify-self: end;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.hp-mobile-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 220ms, opacity 220ms;
}
.hp-mobile-toggle.open span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.hp-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.hp-mobile-toggle.open span:nth-child(3) { transform: translateY(-3.25px) rotate(-45deg); }

/* Mobile nav */
.hp-mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 8px 16px 24px;
}
.hp-mobile-nav.open { display: flex; }
.hp-mobile-nav a {
  padding: 13px 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.hp-mobile-nav a:last-child { border-bottom: none; }

/* Mobile services accordion */
.hp-mobile-services { border-bottom: 1px solid var(--line); }
.hp-mobile-services-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-family: var(--font);
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.hp-mobile-services-toggle svg {
  flex-shrink: 0;
  transition: transform 220ms var(--ease-out);
}
.hp-mobile-services-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.hp-mobile-services-list {
  display: flex;
  flex-direction: column;
  padding-bottom: 8px;
}
.hp-mobile-services-list[hidden] { display: none; }
.hp-mobile-services-list a {
  padding: 9px 0 9px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-bottom: none !important;
  letter-spacing: 0;
  transition: color var(--motion-fast);
}
.hp-mobile-services-list a:hover,
.hp-mobile-services-list a:focus { color: var(--ink); }

.hp-mobile-nav .hp-mobile-cta {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: none;
  padding-bottom: 0;
  font-weight: 700;
}

/* ============================================================
   HERO
   ============================================================ */
.hp-hero {
  padding: 72px 0 56px;
  min-height: calc(100svh - 70px);
  display: flex;
  flex-direction: column;
}
.hp-hero-eyebrow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: auto;
}
.hp-hero h1 {
  font-size: clamp(72px, 9.4vw, 148px);
  line-height: 0.87;
  letter-spacing: -0.075em;
  font-weight: 800;
  margin: auto 0;
  color: var(--ink);
}
.hp-h1-right { display: block; text-align: right; }
.hp-hero-foot {
  margin-top: auto;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}
.hp-hero-foot > p {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  max-width: 520px;
  color: var(--ink);
}
.hp-hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}
.hp-hero-proof {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 16px;
}
.hp-hero-proof::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--muted);
  flex-shrink: 0;
}

/* ============================================================
   SELECTED WORK
   ============================================================ */
.hp-work { padding: 96px 0 128px; }
.hp-work-label { margin-bottom: 72px; }

/* Editorial asymmetric grid: featured (full-width) + two below */
.hp-cases-grid { display: flex; flex-direction: column; gap: 40px; }
.hp-cases-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Base media */
.hp-case-media {
  overflow: hidden;
  border-radius: 3px;
  background: var(--panel);
  height: min(50vw, 640px);
}
.hp-case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--motion-reveal) var(--ease-out);
  will-change: transform;
}
.hp-case:hover .hp-case-media img { transform: scale(var(--motion-img-scale)); }

/* Featured case — full content width */
.hp-case--featured .hp-case-media { height: min(50vw, 640px); }
.hp-case--featured .hp-case-title {
  font-size: clamp(48px, 5.8vw, 88px);
}

/* Small cases — side by side */
.hp-case--sm .hp-case-media { height: min(26vw, 380px); }
.hp-case--sm .hp-case-title {
  font-size: clamp(26px, 2.6vw, 42px);
}
.hp-case--sm .hp-case-row { grid-template-columns: 48px 1fr 140px; }
.hp-case--sm .hp-case-problem { font-size: 14px; }
.hp-case--sm .hp-case-role { font-size: 11px; }

.hp-case-row {
  display: grid;
  grid-template-columns: 72px 1fr 200px;
  gap: 24px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
  margin-top: 14px;
  align-items: start;
}
.hp-case-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 5px;
}
.hp-case-title {
  font-size: clamp(38px, 4.7vw, 74px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.88;
  margin-bottom: 14px;
  color: var(--ink);
}
.hp-case-industry {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.hp-case-problem {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--muted);
  max-width: 580px;
}
.hp-case-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.hp-case-role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  line-height: 1.5;
}
.hp-case-link {
  display: inline-flex;
  align-items: center;
  will-change: gap;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--ink);
  color: var(--ink);
  transition: gap var(--motion-fast) var(--ease-out);
}
.hp-case-link:hover { gap: 12px; }
.hp-case-link svg { transition: transform var(--motion-fast) var(--ease-out); }
.hp-case-link:hover svg { transform: translate(var(--motion-arrow), calc(var(--motion-arrow) * -1)); }

/* ---- Case hover system ---- */

/* Card pointer + stretched link */
.hp-case { cursor: pointer; position: relative; }

/* Stretched link — entire card becomes clickable via hp-case-link */
.hp-case-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Number fades back — draws eye to title */
.hp-case-num {
  transition: opacity var(--motion-fast) var(--ease-std);
}
.hp-case:hover .hp-case-num,
.hp-case:focus-within .hp-case-num { opacity: 0.3; }

/* Title shifts right — primary directional cue */
.hp-case-title {
  transition: transform var(--motion-base) var(--ease-out);
}
.hp-case:hover .hp-case-title,
.hp-case:focus-within .hp-case-title { transform: translateX(6px); }

/* Problem text brightens on hover */
.hp-case-problem {
  transition: color var(--motion-base) var(--ease-std);
}
.hp-case:hover .hp-case-problem,
.hp-case:focus-within .hp-case-problem { color: var(--ink); }

/* Link + arrow also react on full-card hover */
.hp-case:hover .hp-case-link,
.hp-case:focus-within .hp-case-link { gap: 12px; }
.hp-case:hover .hp-case-link svg,
.hp-case:focus-within .hp-case-link svg {
  transform: translate(var(--motion-arrow), calc(var(--motion-arrow) * -1));
}

/* Featured: slightly stronger image scale */
.hp-case--featured:hover .hp-case-media img,
.hp-case--featured:focus-within .hp-case-media img { transform: scale(1.03); }

/* Touch active state */
@media (hover: none) {
  .hp-case:active .hp-case-title { transform: translateX(3px); }
  .hp-case:active .hp-case-media img { transform: scale(1.01); }
  .hp-case:active .hp-case-num { opacity: 0.5; }
}

.hp-work-bridge {
  margin-top: 88px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  max-width: 640px;
}

/* ============================================================
   WHEN TO CALL US
   ============================================================ */
.hp-situations { padding: 16px 0 112px; }
.hp-sit-head {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10%;
  align-items: end;
  padding: 72px 0 88px;
}
.hp-sit-head h2 {
  font-size: clamp(48px, 6.4vw, 100px);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.88;
  color: var(--ink);
}
.hp-sit-head > p {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--muted);
}
.hp-sit-list { border-top: 2px solid var(--ink); }
.hp-sit-item {
  display: grid;
  grid-template-columns: 72px 1fr 1fr 28px;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-inline 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hp-sit-item:hover { padding-inline: 14px; }
.hp-sit-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.hp-sit-title {
  font-size: clamp(22px, 2.7vw, 40px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
}
.hp-sit-desc {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--muted);
  max-width: 440px;
}
.hp-sit-arrow {
  width: 17px;
  height: 17px;
  color: var(--muted);
  flex-shrink: 0;
}
.hp-sit-bridge {
  margin-top: 40px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

/* ============================================================
   WAYS TO WORK TOGETHER
   ============================================================ */
.hp-services { padding: 16px 0 112px; }
.hp-svc-label { margin-bottom: 56px; }
.hp-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.hp-svc-col {
  padding: 36px 36px 48px 0;
  border-top: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
}
.hp-svc-col + .hp-svc-col {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}
.hp-svc-idx {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.hp-svc-name {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
  margin-bottom: 32px;
  color: var(--ink);
}
.hp-svc-divider { height: 1px; background: var(--line); margin: 20px 0; }
.hp-svc-micro {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.hp-svc-text {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.hp-svc-scope {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hp-svc-scope li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.hp-svc-scope li::before {
  content: '';
  display: block;
  width: 14px;
  height: 1px;
  background: var(--muted);
  flex-shrink: 0;
}
.hp-svc-ref {
  margin-top: auto;
  padding-top: 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.hp-svc-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1.5px solid var(--ink);
  transition: gap 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hp-svc-cta:hover { gap: 12px; }
.hp-svc-bridge {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

/* ============================================================
   UX REVIEW  (dark)
   ============================================================ */
.hp-review {
  background: var(--ink);
  color: var(--white);
  padding: 28px 0 112px;
}
.hp-review .label {
  border-color: #333330;
  color: #888882;
}
.hp-review-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.hp-review-content { padding-top: 80px; }
.hp-review-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666660;
  margin-bottom: 28px;
}
.hp-review-headline {
  font-size: clamp(48px, 5.8vw, 92px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.87;
  margin-bottom: 36px;
  color: var(--white);
}
.hp-review-lead {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.5;
  color: #aaa9a4;
  margin-bottom: 20px;
  max-width: 600px;
}
.hp-review-detail {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: #666660;
  max-width: 580px;
  margin-bottom: 56px;
}
.hp-review-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 5px;
  border-bottom: 1.5px solid var(--white);
  transition: gap 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hp-review-cta:hover { gap: 16px; }

/* ============================================================
   PROCESS
   ============================================================ */
.hp-process { padding: 112px 0 128px; }
.hp-process-head {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10%;
  align-items: end;
  padding: 72px 0 96px;
}
.hp-process-head h2 {
  font-size: clamp(52px, 6.8vw, 108px);
  font-weight: 800;
  letter-spacing: -0.072em;
  line-height: 0.85;
  color: var(--ink);
}
.hp-process-head > p {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--muted);
}
.hp-step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
}
.hp-step {
  padding: 20px 20px 32px 0;
  border-bottom: 1px solid var(--line);
}
.hp-step + .hp-step {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.hp-step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.hp-step-title {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-top: 52px;
  margin-bottom: 10px;
  color: var(--ink);
}
.hp-step-desc {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--muted);
  max-width: 200px;
}
.hp-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hp-principle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--muted);
}
.hp-principle::before { content: '→'; flex-shrink: 0; }

/* ============================================================
   ABOUT + TRUST
   ============================================================ */
.hp-about {
  padding: 16px 0 112px;
  border-top: 1px solid var(--line);
}
.hp-about-label { margin-bottom: 72px; }
.hp-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 72px;
  align-items: start;
}
.hp-about-headline {
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin-bottom: 32px;
  color: var(--ink);
}
.hp-about-body p {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 20px;
}
.hp-about-body p:last-of-type { margin-bottom: 0; }
.hp-about-geo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.hp-about-cta-row {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.hp-about-image-area {
  border-radius: 4px;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.hp-about-image-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.hp-placeholder-note {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--line);
}

/* Trust: logos + testimonial */
.hp-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}
.hp-trust-micro {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.hp-trust-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hp-trust-logos img {
  height: 22px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  opacity: 0.5;
  filter: grayscale(1);
  transition: opacity 200ms;
}
.hp-trust-logos img:hover { opacity: 0.8; }
.hp-all-clients {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--muted);
  transition: gap 180ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hp-all-clients:hover { gap: 10px; }

/* Testimonial */
.hp-testimonial {
  padding: 32px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
}
.hp-testimonial blockquote {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 24px;
}
.hp-testimonial blockquote::before {
  content: '"';
  font-size: 24px;
  font-weight: 800;
  line-height: 0;
  position: relative;
  top: 4px;
  margin-right: 2px;
}
.hp-testimonial-author { display: flex; flex-direction: column; gap: 4px; }
.hp-testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.hp-testimonial-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.hp-testimonial-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--muted);
  transition: gap 160ms;
}
.hp-testimonial-link:hover { gap: 9px; }

.hp-about-bridge {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--muted);
  max-width: 680px;
}

/* ============================================================
   FINAL CTA  (dark)
   ============================================================ */
.hp-cta {
  background: var(--ink);
  color: var(--white);
  padding: 28px 0 112px;
}
.hp-cta .label {
  border-color: #333330;
  color: #888882;
}
.hp-cta-headline {
  font-size: clamp(64px, 9vw, 144px);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.82;
  margin: 80px 0 80px;
  color: var(--white);
}
.hp-cta-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  padding-top: 32px;
  border-top: 1.5px solid #2e2e2c;
}
.hp-cta-desc {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  color: #888882;
  max-width: 480px;
}
.hp-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.hp-cta-email-alt {
  font-size: 13px;
  font-weight: 600;
  color: #555552;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hp-cta-email-alt a {
  color: #888882;
  transition: color 180ms;
}
.hp-cta-email-alt a:hover { color: var(--white); }

/* ============================================================
   FOOTER
   ============================================================ */
.hp-footer {
  background: var(--ink);
  border-top: 1px solid #222220;
  padding: 40px 0 32px;
}
.hp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.hp-footer-logo img { width: 148px; filter: invert(1); }
.hp-footer-col { display: flex; flex-direction: column; gap: 10px; }
.hp-footer-col-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #444440;
  margin-bottom: 4px;
}
.hp-footer-col a {
  font-size: 13px;
  font-weight: 600;
  color: #666660;
  transition: color 180ms;
}
.hp-footer-col a:hover { color: var(--white); }
.hp-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid #222220;
  font-size: 12px;
  font-weight: 600;
  color: #444440;
}

/* ============================================================
   MOBILE  ≤ 768px
   ============================================================ */
@media (max-width: 768px) {
  .hp .frame { width: calc(100% - 32px); }
  .hp-header .inner { width: calc(100% - 32px); grid-template-columns: 1fr auto; }
  .hp-nav { display: none; }
  .hp-header-cta { display: none; }
  .hp-mobile-toggle { display: flex; }

  .hp-hero { padding: 44px 0 40px; min-height: calc(100svh - 70px); }
  .hp-hero h1 { font-size: clamp(56px, 15.5vw, 80px); }
  .hp-h1-right { text-align: left; }
  .hp-hero-foot { grid-template-columns: 1fr; gap: 20px; }
  .hp-hero-ctas { justify-content: flex-start; }

  .hp-work { padding: 80px 0 96px; }
  .hp-cases-grid { gap: 56px; }
  .hp-cases-row { grid-template-columns: 1fr; gap: 56px; }
  .hp-case-media,
  .hp-case--featured .hp-case-media,
  .hp-case--sm .hp-case-media { height: 68vw; min-height: 260px; }
  .hp-case-row { grid-template-columns: 44px 1fr; }
  .hp-case--sm .hp-case-row { grid-template-columns: 44px 1fr; }
  .hp-case-aside { grid-column: 2; align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .hp-case--featured .hp-case-title { font-size: clamp(38px, 11vw, 56px); }
  .hp-case--sm .hp-case-title { font-size: clamp(28px, 9vw, 42px); }
  .hp-case-role { text-align: left; }
  .hp-case--sm .hp-case-role { font-size: 12px; }
  .hp-case--sm .hp-case-problem { font-size: 15px; }

  .hp-situations { padding-bottom: 80px; }
  .hp-sit-head { grid-template-columns: 1fr; gap: 28px; padding: 48px 0 64px; }
  .hp-sit-head h2 { font-size: clamp(42px, 13vw, 60px); }
  .hp-sit-item { grid-template-columns: 44px 1fr 22px; gap: 12px; padding: 20px 0; }
  .hp-sit-item:hover { padding-inline: 0; }
  .hp-sit-desc { grid-column: 2; font-size: 14px; }
  .hp-sit-title { font-size: 22px; }

  .hp-services { padding-bottom: 80px; }
  .hp-svc-grid { grid-template-columns: 1fr; }
  .hp-svc-col { padding: 32px 0 40px; }
  .hp-svc-col + .hp-svc-col { padding-left: 0; border-left: none; border-top: 1px solid var(--line); }

  .hp-review { padding-bottom: 80px; }
  .hp-review-body { grid-template-columns: 1fr; }
  .hp-review-body > div:first-child { display: none; }
  .hp-review-content { padding-top: 56px; }
  .hp-review-headline { font-size: clamp(44px, 13vw, 64px); }

  .hp-process { padding: 80px 0 96px; }
  .hp-process-head { grid-template-columns: 1fr; gap: 28px; padding: 48px 0 64px; }
  .hp-process-head h2 { font-size: clamp(44px, 13vw, 64px); }
  .hp-step-grid { grid-template-columns: 1fr 1fr; }
  .hp-step + .hp-step { border-left: none; }
  .hp-step:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .hp-principles { grid-template-columns: 1fr; gap: 14px; }

  .hp-about { padding-bottom: 80px; }
  .hp-about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hp-about-image-area { min-height: 260px; }
  .hp-about-headline { font-size: clamp(34px, 10vw, 52px); }
  .hp-trust { grid-template-columns: 1fr; gap: 48px; }

  .hp-cta { padding-bottom: 80px; }
  .hp-cta-headline { font-size: clamp(52px, 15vw, 80px); margin: 56px 0; }
  .hp-cta-row { grid-template-columns: 1fr; gap: 28px; }
  .hp-cta-actions { align-items: flex-start; }

  .hp-footer-grid { grid-template-columns: 1fr 1fr; }
  .hp-footer-logo { grid-column: 1 / -1; }
  .hp-footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration:   0.01ms !important;
    animation-delay:      0ms    !important;
    transition-duration:  0.01ms !important;
  }
  .hp .reveal,
  .hp .hp-hero-eyebrow,
  .hp .hp-h1-line1,
  .hp .hp-h1-right,
  .hp .hp-hero-foot,
  .hp .hp-hero-proof {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .hp-case-media img { transform: none !important; }
}
