:root {
  --bg: #f6f6f6;
  --rose: #fdf6f5;
  --mint: #f3fafa;
  --white: #ffffff;
  --ink: #000000;
  --ink-2: #2b2b2b;
  --ink-3: #6b6b6b;
  --line: #e4e4e4;
  --serif: "Brygada 1918", Georgia, serif;
  --sans: "Red Hat Display", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.45 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: #000; color: #fff; }
:focus-visible { outline: 2px solid #000; outline-offset: 3px; border-radius: 4px; }
svg { width: 1em; height: 1em; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
h2.serif { margin: 0; font-size: clamp(32px, 4vw, 46px); line-height: 1.15; text-align: center; }

section { padding: 88px 20px; }

/* Phones */
.phone { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; padding: 5px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 14px rgba(0,0,0,.08); }
.phone .notch { display: none; }
.screen { position: relative; height: 100%; border-radius: 17px; overflow: hidden; background: #e9e9e9; }
.screen video, .screen > img { width: 100%; height: 100%; object-fit: cover; }
.screen.is-live { cursor: pointer; background: #000; }
.screen.is-live video { display: block; }
.play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; font-size: 20px; pointer-events: none; transition: opacity .2s; }
.play { opacity: 0; }
.screen.is-paused .play { opacity: 1; }

.soon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 12px; text-align: center; font-size: 13px; font-weight: 500; color: var(--ink-3); background: linear-gradient(180deg, #efefef, #e2e2e2); }
.soon-play { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 20px; }

.badge { position: relative; z-index: 2; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto -26px; border-radius: 50%; background: #fff; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); overflow: hidden; }
.badge img { width: 100%; height: 100%; object-fit: cover; }
.badge-empty { visibility: hidden; }

/* Hero */
.hero { min-height: min(100vh, 900px); display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px; max-width: 1120px; margin: 0 auto; padding-top: 64px; padding-bottom: 64px; }
.hero-copy { text-align: center; }
.hello { margin: 0 0 40px; font: 500 clamp(26px, 2.6vw, 34px)/1.2 var(--serif); }
.hero h1 { margin: 0 auto; max-width: 13ch; font-weight: 300; font-size: clamp(40px, 5.4vw, 66px); line-height: 1.08; letter-spacing: -0.01em; }
.hero h1 strong { font-weight: 800; }
.hero-sub { margin: 32px auto 0; max-width: 30ch; font-size: clamp(18px, 1.6vw, 21px); letter-spacing: .02em; color: var(--ink-2); }
.btn { display: inline-block; margin-top: 32px; padding: 14px 28px; border-radius: 999px; background: #000; color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }

.hero-media { position: relative; justify-self: center; display: grid; grid-template-columns: auto auto; column-gap: 18px; align-items: start; }
.phone-hero { width: clamp(240px, 24vw, 310px); border-radius: 44px; padding: 11px; background: #111; box-shadow: 0 0 0 2px #3a3a3a, 0 18px 40px rgba(0,0,0,.18); }
.phone-hero .notch { display: block; position: absolute; z-index: 2; top: 11px; left: 50%; width: 42%; height: 22px; margin-left: -21%; border-radius: 0 0 14px 14px; background: #111; }
.phone-hero .screen { border-radius: 34px; background: #000; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 53% 50%; }
.vsl-soon { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); white-space: nowrap; padding: 7px 14px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 13px; font-weight: 500; }
.hero-social { list-style: none; margin: 96px 0 0; padding: 0; display: grid; gap: 12px; }
.hero-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #000; color: #fff; font-size: 22px; text-decoration: none; transition: transform .2s; }
.hero-social li:last-child a { background: transparent; color: #000; font-size: 34px; border-radius: 6px; }
.hero-social a:hover { transform: scale(1.08); }
.hero-stats { grid-column: 1; margin: 22px 0 0; text-align: center; font-style: italic; font-size: 15px; line-height: 1.4; color: var(--ink-2); }

/* Portfolio */
.portfolio { padding-top: 24px; }
.work-row { list-style: none; margin: 56px auto 0; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 36px; }
.cap { margin: 16px 0 0; text-align: center; line-height: 1.25; }
.cap strong { display: block; font-size: 22px; font-weight: 700; }
.cap b { display: block; font-size: 15px; font-weight: 700; letter-spacing: .03em; }
.cap span { display: block; margin-top: 2px; font-size: 15px; letter-spacing: .03em; color: var(--ink-2); }
.cap-sm b { font-size: 16px; letter-spacing: .06em; }

/* Campaigns */
.tint-rose { background: var(--rose); }
.tint-mint { background: var(--mint); }
.campaign-head { text-align: center; }
.campaign-sub { margin: 4px 0 0; font-size: clamp(20px, 2vw, 26px); }
.campaign-body { max-width: 1000px; margin: 40px auto 0; display: grid; grid-template-columns: 1fr 2.3fr; gap: 48px; align-items: center; }
.campaign-side { text-align: center; font-size: 19px; line-height: 1.35; }
.campaign-side p { margin: 0 auto 22px; max-width: 24ch; }
.campaign-logo { display: grid; place-items: center; width: 132px; height: 132px; margin: 0 auto 28px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.06); font-size: 64px; overflow: hidden; }
.campaign-logo img { width: 100%; height: 100%; object-fit: contain; }
.trio { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.campaign-foot { max-width: 900px; margin: 40px auto 0; text-align: center; font-size: 19px; }

/* Why */
.why { background: var(--white); }
.why-grid { max-width: 820px; margin: 48px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 56px 64px; }
.why h3 { margin: 0 0 18px; font-size: 24px; font-weight: 700; line-height: 1.15; }
.why .emo { display: inline-block; margin-right: 10px; font-size: 28px; vertical-align: -3px; }
.why p { margin: 0; color: var(--ink-2); }
.why ul { margin: 0; padding-left: 22px; color: var(--ink-2); }

/* Process */
.process { background: var(--white); padding-top: 24px; }
.steps { list-style: none; position: relative; max-width: 780px; margin: 48px auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.steps::before { content: ""; position: absolute; top: 33px; left: -10px; right: 8%; height: 2px; background: #000; }
.steps::after { content: ""; position: absolute; top: 26px; left: -10px; width: 2px; height: 16px; background: #000; }
.steps li { position: relative; }
.step-icon { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto; border: 3px solid #000; border-radius: 50%; background: #fff; font-size: 40px; }
.steps h3 { margin: 12px 0 8px; font-size: 24px; font-weight: 400; }
.steps p { margin: 0 auto; max-width: 18ch; font-size: 14px; line-height: 1.3; color: var(--ink-2); }

/* Contact */
.contact { background: var(--white); padding-top: 24px; text-align: center; }
.email { margin: 24px 0 0; display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; font-size: clamp(20px, 2.2vw, 26px); }
.email a { text-decoration: none; overflow-wrap: anywhere; }
.email a:hover { text-decoration: underline; }
.email svg { font-size: 38px; }
.contact-note { margin: 28px 0 0; font-size: 17px; color: var(--ink-2); }

.foot { background: var(--white); padding: 24px 20px 48px; text-align: center; font-size: 14px; color: var(--ink-3); }
.foot ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; justify-content: center; gap: 18px; }
.foot a { display: grid; place-items: center; width: 40px; height: 40px; font-size: 22px; color: var(--ink); }
.foot p { margin: 0; }

/* Tablet */
@media (max-width: 960px) {
  .work-row { grid-template-columns: repeat(3, 1fr); max-width: 640px; }
  .campaign-body { grid-template-columns: 1fr; gap: 32px; }
  .campaign-side p { max-width: 40ch; }
}

/* Phone */
@media (max-width: 680px) {
  section { padding: 64px 16px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; gap: 48px; }
  .hello { margin-bottom: 24px; }
  .hero-sub { margin-top: 20px; }
  .hero-media { column-gap: 12px; }
  .phone-hero { width: min(62vw, 250px); border-radius: 38px; }
  .phone-hero .screen { border-radius: 28px; }
  .hero-social { margin-top: 64px; }
  .work-row { grid-template-columns: repeat(2, 1fr); gap: 32px 18px; margin-top: 40px; }
  .work-row li:last-child { grid-column: 1 / -1; width: calc(50% - 9px); justify-self: center; }
  .cap strong { font-size: 19px; }
  .cap b, .cap span { font-size: 13px; }
  .trio { gap: 10px; }
  .trio .badge { width: 40px; height: 40px; margin-bottom: -18px; font-size: 16px; }
  .trio .soon { font-size: 11px; gap: 8px; }
  .trio .soon-play { width: 34px; height: 34px; font-size: 16px; }
  .cap-sm b { font-size: 12px; letter-spacing: .02em; }
  .campaign-logo { width: 104px; height: 104px; font-size: 50px; }
  .campaign-side { font-size: 17px; }
  .campaign-foot { font-size: 17px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why h3 { font-size: 22px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
}
