:root {
  --bg: #fafafa;
  --text: #111111;
  --muted: #5f6368;
  --line: #e4e4e4;
  --panel: #ffffff;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --pad: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::selection { background: #111; color: #fff; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
h1, h2, p { margin: 0; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 22px; border-radius: 10px;
  background: #111; color: #fff; text-decoration: none;
  font: 600 16px/1 var(--font); white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: #333; }
.btn:active { transform: scale(0.98); }
.btn-small { height: 38px; padding: 0 16px; font-size: 15px; }

.copy {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: 500 16px/1.3 var(--font); color: var(--muted);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line);
}
.copy:hover { color: var(--text); text-decoration-color: var(--text); }

.top {
  max-width: var(--max); margin: 0 auto; padding: 18px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.name { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; text-decoration: none; }

main > section { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }

/* hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center;
  padding-top: 32px; padding-bottom: 72px;
}
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; max-width: 12ch; }
.lead { margin-top: 22px; max-width: 34ch; font-size: 1.2rem; color: #333; }
.actions { margin-top: 32px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero .copy { font-size: 18px; font-weight: 600; color: var(--text); text-decoration-color: var(--text); }
.sub b { color: var(--text); }

.phone {
  position: relative; width: min(340px, 78vw); aspect-ratio: 9 / 16;
  border-radius: 28px; overflow: hidden; background: #000;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.45);
}
.hero-video { margin: 0; }
.vid { display: block; width: 100%; height: 100%; object-fit: cover; }

.sound {
  position: absolute; left: 12px; bottom: 12px;
  height: 34px; padding: 0 12px; border-radius: 10px; border: 0; cursor: pointer;
  background: rgba(17, 17, 17, 0.72); color: #fff;
  font: 600 13px/1 var(--font);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sound[aria-pressed="true"] { background: #fff; color: #111; }

/* work */
.work { padding-top: 48px; padding-bottom: 80px; border-top: 1px solid var(--line); }
.grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
.frame { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #000; }
.frame .vid { cursor: pointer; }
.title { margin-top: 12px; font-weight: 700; font-size: 17px; }
.note { margin-top: 2px; color: var(--muted); font-size: 15px; }

/* proof */
.proof { padding-top: 48px; padding-bottom: 80px; border-top: 1px solid var(--line); }
.sub { margin-top: 8px; color: var(--muted); }
.shots { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
.big { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.when { margin-top: 6px; color: var(--muted); font-size: 15px; min-height: 2.6em; }
.shots img { display: block; width: 100%; height: auto; margin-top: 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }

/* about */
.about {
  display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; align-items: center;
  padding-top: 64px; padding-bottom: 80px; border-top: 1px solid var(--line);
}
.me { display: block; width: 100%; height: auto; border-radius: 18px; }
.about-text { display: flex; flex-direction: column; gap: 16px; max-width: 54ch; }
.about-text p { color: #333; font-size: 1.08rem; }
.about-text .rates { color: var(--text); font-weight: 600; padding-top: 4px; }

/* contact */
.contact { padding-top: 72px; padding-bottom: 96px; border-top: 1px solid var(--line); }
.mail {
  display: inline-block; margin-top: 18px;
  font-size: clamp(1.4rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; text-decoration-color: var(--line);
  overflow-wrap: anywhere;
}
.mail:hover { text-decoration-color: var(--text); }

.foot { max-width: var(--max); margin: 0 auto; padding: 24px var(--pad) 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }

/* tablet */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* phone */
@media (max-width: 720px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 12px; padding-bottom: 56px; }
  .hero-video { order: 2; justify-self: center; }
  .hero-text { display: contents; }
  .hero h1 { order: 1; }
  .lead, .hero .actions { order: 3; }
  .lead { margin-top: 0; }
  .hero .actions { margin-top: -8px; }
  .grid { gap: 22px 12px; }
  .note { font-size: 14px; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 48px; }
  .me { max-width: 320px; }
  .shots { gap: 28px 14px; }
}
