@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400..800&family=Unbounded:wght@400..900&display=swap');

:root {
  --ink: #171714;
  --paper-light: #fffdf8;
  --coral: #ff5c3b;
  --muted: #fffdf8;
  --line: rgba(255, 253, 248, 0.22);
  --surface: rgba(255, 253, 248, 0.08);
  --header-height: 72px;
  --font-heading: 'Unbounded', Arial, sans-serif;
  --font-body: 'Manrope', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); background: var(--ink); }
body { margin: 0; color: var(--paper-light); background: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.5; text-rendering: optimizeLegibility; }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { color: var(--ink); background: var(--paper-light); }

.site-header { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--header-height); padding: 0 clamp(20px, 4vw, 68px); border-bottom: 1px solid var(--line); background: rgba(23, 23, 20, 0.91); backdrop-filter: blur(16px); }
.brand { width: fit-content; font-family: var(--font-heading); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.035em; white-space: nowrap; }
.site-header nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; font-size: 0.875rem; font-weight: 800; text-transform: uppercase; }
.site-header nav a, .contact-links a, footer a { transition: opacity 180ms ease; }
.site-header nav a:hover, .contact-links a:hover, footer a:hover { opacity: 0.58; }
.header-contact { justify-self: end; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; }

.hero { position: relative; min-height: calc(100vh - 72px); padding: clamp(70px, 9vw, 130px) clamp(20px, 4vw, 68px) 88px; overflow: hidden; }
.hero::after { content: ''; position: absolute; width: clamp(250px, 34vw, 570px); height: clamp(250px, 34vw, 570px); top: 12%; right: -11%; z-index: 0; border-radius: 50%; background: var(--coral); opacity: 0.94; }
.hero-kicker, .hero h1, .hero-bottom { position: relative; z-index: 1; }
.hero-kicker { display: flex; align-items: center; gap: 10px; max-width: 1180px; margin: 0 auto 28px; font-size: 1.125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.status-dot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(255, 92, 59, 0.13); }
.hero h1 { max-width: 1180px; margin: 0 auto; font-family: var(--font-heading); font-size: clamp(42px, 5.8vw, 88px); color: var(--paper-light); font-weight: 600; line-height: 0.98; letter-spacing: -0.045em; }
.hero-bottom { display: grid; grid-template-columns: minmax(280px, 520px) 1fr; gap: 60px; align-items: end; max-width: 1180px; margin: 55px auto 0; }
.hero-bottom > p { margin: 0; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.4; }
.hero-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 220px; min-height: 50px; padding: 0 20px; border: 1px solid var(--paper-light); border-radius: 999px; color: #fff; font-size: 14px; font-weight: 700; transition: transform 180ms ease, background 180ms ease, color 180ms ease; }
.button:hover { transform: translateY(-2px); background: var(--coral); border-color: var(--coral); }

.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.proof-strip > div { display: flex; flex-direction: column; min-height: 178px; padding: 28px clamp(20px, 4vw, 54px); border-right: 1px solid var(--line); }
.proof-strip > div:last-child { border-right: 0; }
.proof-strip strong { font-family: var(--font-heading); font-size: clamp(40px, 4.6vw, 68px); font-weight: 600; letter-spacing: -0.04em; }
.proof-strip span { margin-top: auto; color: var(--paper-light); font-size: 14px; }

.section { padding: clamp(82px, 10vw, 150px) clamp(20px, 4vw, 68px); }
.section-heading { max-width: 1320px; margin: 0 auto clamp(60px, 8vw, 110px); }
.section-heading h2, .contact h2 { margin: 0; font-family: var(--font-heading); font-size: clamp(36px, 4.7vw, 68px); font-weight: 600; line-height: 1.04; letter-spacing: -0.045em; }
.case-list { display: flex; flex-direction: column; gap: 92px; max-width: 1320px; margin: 0 auto; }
.case-card { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr); min-height: 660px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22); }
.case-visual { position: relative; display: block; min-height: 460px; overflow: hidden; background: var(--ink); }
.video-trigger { width: 100%; padding: 0; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.case-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.34)); }
.case-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.76) contrast(1.05); transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 300ms ease; }
.case-visual:hover img { transform: scale(1.035); filter: saturate(1) contrast(1.03); }
.play-button { position: absolute; right: 28px; bottom: 28px; z-index: 2; display: grid; width: 68px; height: 68px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--paper-light); font-size: 22px; transition: transform 180ms ease, background 180ms ease; }
.arrow-button { font-size: 30px; }
.case-visual:hover .play-button { transform: scale(1.08); background: var(--coral); }
.case-copy { display: flex; flex-direction: column; min-width: 0; padding: clamp(34px, 4vw, 62px); }
.case-label { margin: 0; color: var(--coral); font-size: 12px; font-weight: 700; line-height: 1.35; letter-spacing: 0.12em; text-transform: uppercase; }
.case-copy h3 { margin: 20px 0 8px; font-family: var(--font-heading); font-size: clamp(32px, 3vw, 48px); font-weight: 600; line-height: 1.05; letter-spacing: -0.045em; overflow-wrap: normal; word-break: normal; hyphens: none; }
.case-client { margin: 13px 0 2px; font-weight: 700; }
.case-copy dl { margin: 34px 0 30px; }
.case-copy dl > div { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.case-copy dt { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.case-copy dd { margin: 0; }
.case-copy .result-row dd { font-weight: 700; }

.video-modal { width: min(1200px, calc(100vw - 40px)); max-width: none; padding: 0; border: 1px solid var(--line); border-radius: 22px; color: var(--paper-light); background: #0d0d0b; box-shadow: 0 30px 110px rgba(0, 0, 0, 0.72); }
.video-modal::backdrop { background: rgba(0, 0, 0, 0.84); backdrop-filter: blur(8px); }
.video-modal-shell { padding: 18px; }
.video-modal-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 2px 2px 16px; }
.video-modal-header h2 { margin: 0; font-family: var(--font-heading); font-size: clamp(18px, 2vw, 28px); font-weight: 600; line-height: 1.2; }
.video-modal-close { flex: 0 0 auto; display: grid; width: 42px; height: 42px; padding: 0; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--paper-light); background: transparent; font: 400 30px/1 var(--font-body); cursor: pointer; transition: color 180ms ease, background 180ms ease, border-color 180ms ease; }
.video-modal-close:hover { color: var(--ink); border-color: var(--coral); background: var(--coral); }
.video-player { display: block; width: 100%; max-height: calc(100vh - 150px); aspect-ratio: 16 / 9; border-radius: 12px; background: #000; object-fit: contain; }

.process { color: var(--paper-light); background: var(--ink); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1320px; margin: 0 auto; border-top: 1px solid rgba(255, 255, 255, 0.2); border-left: 1px solid rgba(255, 255, 255, 0.2); background: var(--surface); }
.step { min-height: 250px; padding: 30px; border-right: 1px solid rgba(255, 255, 255, 0.2); border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.step span { color: var(--coral); font-size: 12px; font-weight: 700; }
.step h3 { margin: 62px 0 8px; font-family: var(--font-heading); font-size: 30px; font-weight: 600; line-height: 1.15; letter-spacing: -0.035em; }
.step p { max-width: 310px; margin: 0; color: var(--paper-light); }

.contact { position: relative; overflow: hidden; color: var(--paper-light); background: var(--ink); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr); gap: clamp(44px, 7vw, 108px); align-items: stretch; max-width: 1320px; margin: 0 auto; }
.contact-photo { width: 100%; max-width: 480px; aspect-ratio: 4 / 5; border-radius: 20px; object-fit: cover; object-position: center 24%; }
.contact-copy { display: flex; flex-direction: column; min-height: 100%; }
.contact-message { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: clamp(34px, 5vw, 70px); }
.contact-message > p,
.contact h2 { max-width: 820px; margin: 0; font-size: clamp(30px, 3.35vw, 48px); line-height: 1.22; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: auto; padding-top: 56px; }
.contact-links a { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; }
footer { display: flex; justify-content: space-between; padding: 26px clamp(20px, 4vw, 68px); color: var(--paper-light); background: var(--ink); font-size: 13px; }

.reveal { animation: rise 720ms both cubic-bezier(0.2, 0.75, 0.2, 1); }
.delay-1 { animation-delay: 80ms; }
.delay-2 { animation-delay: 160ms; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1000px) {
  .case-card { grid-template-columns: 1fr; }
  .case-visual { min-height: 56vw; max-height: 690px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr); }
}

@media (max-width: 850px) {
  :root { --header-height: 104px; }
  .site-header { grid-template-columns: 1fr auto; gap: 12px 16px; padding-block: 14px; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; }
  .header-contact { grid-column: 2; grid-row: 1; }
}

@media (max-width: 700px) {
  .brand, .header-contact { font-size: 1.125rem; }
  .hero { min-height: auto; padding-top: 72px; }
  .hero::after { top: 18%; right: -36%; opacity: 0.74; }
  .hero-kicker { align-items: flex-start; }
  .status-dot { margin-top: 9px; }
  .hero h1 { font-size: clamp(34px, 10vw, 52px); line-height: 1.02; }
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; margin-top: 38px; }
  .hero-actions { justify-content: flex-start; }
  .button { width: 100%; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip > div { min-height: 145px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip > div:last-child { border-bottom: 0; }
  .section-heading h2 { font-size: 36px; }
  .case-list { gap: 54px; }
  .case-card { border-radius: 18px; }
  .case-visual { min-height: 62vw; }
  .case-copy { padding: 28px 22px 32px; }
  .case-copy h3 { font-size: 24px; }
  .case-copy dl > div { grid-template-columns: 1fr; gap: 5px; }
  .video-modal { width: calc(100vw - 20px); border-radius: 16px; }
  .video-modal-shell { padding: 10px; }
  .video-modal-header { padding: 4px 2px 12px; }
  .video-player { max-height: calc(100vh - 112px); border-radius: 9px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step { min-height: 210px; }
  .step h3 { margin-top: 38px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-photo { width: min(100%, 420px); }
  .contact-message { gap: 28px; }
  .contact-message > p,
  .contact h2 { font-size: clamp(28px, 8vw, 38px); }
  .contact-links { justify-content: flex-start; padding-top: 42px; }
  .contact-links a { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
