/* =========================================================
   EditByDanny
   Blue #00BCD4 · White #FFFFFF · Pitch black #000000
   ========================================================= */
:root {
  --blue: #00BCD4;
  --blue-dim: rgba(0, 188, 212, 0.14);
  --white: #FFFFFF;
  --black: #000000;
  --ink-1: #0A0A0A;
  --ink-2: #121212;
  --ink-3: #1C1C1C;
  --line: #262626;
  --muted: #A3A3A3;
  --faint: #6B6B6B;

  --display: "Archivo", system-ui, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 5vw, 80px);
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blue); color: var(--black); }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; }
.accent { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 15px 26px;
  font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  border-radius: 4px;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: var(--black); }
.btn-primary:hover { background: var(--white); }
.btn-ghost { border: 1px solid #3A3A3A; color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.logo { font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: -.02em; font-stretch: 110%; }
.logo span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.nav-links a { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta { background: var(--blue); color: var(--black); padding: 10px 16px; border-radius: 3px; font-weight: 500; }
.nav-links .nav-cta:hover { background: var(--white); color: var(--black); }
.progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--blue); transform-origin: left; transform: scaleX(0);
}

/* ---------- Standard YouTube / video embed ---------- */
.embed { position: relative; aspect-ratio: 16 / 9; width: 100%; background: var(--black); overflow: hidden; }
.embed iframe, .embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed video { object-fit: contain; background: var(--black); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3vh) var(--gutter) 5vh;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute; z-index: -1;
  top: 0; right: 0; bottom: 0;
  width: 60%;
  background: var(--ink-2) 30% center / cover no-repeat;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--black) 0%, rgba(0,0,0,.55) 14%, rgba(0,0,0,.08) 40%, rgba(0,0,0,0) 100%),
    linear-gradient(0deg, var(--black) 0%, transparent 28%);
}
.hero-content { position: relative; width: min(100%, 680px); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: clamp(11px, 1.1vw, 14px);
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.eyebrow strong { color: var(--white); font-weight: 500; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(0,188,212,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(0,188,212,0); } 100% { box-shadow: 0 0 0 0 rgba(0,188,212,0); } }

.hero-title {
  font-family: var(--display);
  font-weight: 900; font-stretch: 112%;
  font-size: clamp(3rem, min(7vw, 10vh), 6.8rem);
  line-height: .92; letter-spacing: -.045em;
  max-width: 9ch;
  margin: clamp(14px, 2.4vh, 28px) 0 clamp(18px, 3vh, 32px);
}
.embed.hero-reel { width: min(100%, 520px, calc(25vh * 16 / 9)); border-radius: 8px; }
.hero-sub { margin: clamp(14px, 2.4vh, 24px) 0 clamp(18px, 3vh, 28px); max-width: 28em; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: #CFCFCF; }
.hero-sub strong { color: var(--white); font-weight: 700; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero entrance: photo first, then the left side */
.hero-in { opacity: 0; animation: heroIn .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
.hero-media.hero-in { animation-name: heroPhotoIn; animation-duration: 1.4s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes heroPhotoIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

/* ---------- Section basics ---------- */
section { position: relative; }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .25em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.section-title {
  font-family: var(--display); font-weight: 900; font-stretch: 112%;
  font-size: clamp(2.4rem, 6vw, 5rem); line-height: .95; letter-spacing: -.045em;
}

/* ---------- My best work (grid) ---------- */
.work { padding-top: clamp(80px, 14vh, 150px); padding-bottom: clamp(80px, 14vh, 150px); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(36px, 6vh, 56px); }
.work-card {
  background: var(--ink-1); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: border-color .3s;
}
.work-card:hover { border-color: rgba(0,188,212,.45); }
.work-card.feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.6fr 1fr; }
.work-card.feature .work-info { display: flex; flex-direction: column; justify-content: center; padding: 28px 32px; }
.work-card.feature .work-desc { font-size: clamp(18px, 1.5vw, 21px); margin-top: 18px; }
.work-info { padding: 20px 22px 24px; }
.who { display: flex; align-items: center; gap: 14px; }
.who > div { flex: 1; min-width: 0; }
.who h3 { font-family: var(--display); font-weight: 800; font-size: clamp(19px, 1.7vw, 24px); letter-spacing: -.02em; line-height: 1.15; }
.subs { color: var(--muted); font-size: 15px; margin-top: 2px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; border: 1.5px solid var(--line); }
.avatar-text { display: grid; place-items: center; background: var(--ink-3); color: var(--blue); font-family: var(--mono); font-size: 12px; font-weight: 500; }
.tag { display: inline-block; align-self: flex-start; margin-top: 14px; font-size: 11px; color: var(--blue); border: 1px solid rgba(0,188,212,.4); padding: 5px 9px; border-radius: 3px; }
.work-desc { margin-top: 14px; font-size: 17px; color: #E0E0E0; }

/* ---------- Testimonials (phones) ---------- */
.clients { padding-bottom: clamp(80px, 14vh, 160px); }
.phones { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 6vh, 64px); }
.phone-card { margin: 0; width: min(100%, 280px); }
.phone {
  position: relative; aspect-ratio: 9 / 19; border-radius: 42px; overflow: hidden;
  background: var(--black);
  border: 10px solid #151515;
  box-shadow: 0 0 0 1px #2E2E2E, 0 30px 80px -30px rgba(0,188,212,.25);
}
.phone video { width: 100%; height: 100%; object-fit: cover; background: var(--black); }
.phone-card figcaption { margin-top: 22px; }
.phone-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.phone-meta b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.phone-meta .mono { font-size: 11px; color: var(--muted); }
.phone-card blockquote { margin: 12px 0 0; font-size: 18px; line-height: 1.5; color: #E0E0E0; }

/* ---------- Process ---------- */
.process { padding-bottom: clamp(80px, 14vh, 160px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(36px, 6vh, 56px); }
.steps li { position: relative; padding: 32px 28px; background: var(--ink-1); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.steps li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--blue); }
.steps li:hover { border-color: rgba(0,188,212,.5); transform: translateY(-4px); }
.step-num { display: block; font-family: var(--display); font-weight: 900; font-size: 48px; line-height: 1; color: var(--blue); margin-bottom: 26px; }
.steps h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 16px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: clamp(80px, 14vh, 160px); }
.about-photo { aspect-ratio: 4 / 5; border-radius: 6px; border: 1px solid var(--line); background: var(--ink-2) 40% 30% / cover no-repeat; }
.about-text .section-title { margin-bottom: 28px; }
.about-text > p:not(.kicker) { font-size: clamp(17px, 1.4vw, 20px); color: #CFCFCF; margin-bottom: 18px; }
.mission { margin-top: 24px; padding: 26px 28px; border-left: 3px solid var(--blue); background: var(--blue-dim); }
.mission .mono { font-size: 12px; margin-bottom: 10px; }
.mission-line { font-family: var(--display); font-weight: 700; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.3; letter-spacing: -.02em; color: var(--white); }

/* ---------- Contact + footer share one background ---------- */
.finale {
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(0,188,212,.14), rgba(0,188,212,0) 75%);
}
.contact { padding: clamp(100px, 18vh, 200px) 0 clamp(80px, 14vh, 160px); text-align: center; }
.contact-title { font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: clamp(2.6rem, 8vw, 7rem); line-height: .92; letter-spacing: -.045em; text-transform: uppercase; }
.contact-sub { margin: 24px 0 40px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 2.5vw, 28px); }
.social {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: clamp(120px, 14vw, 150px); padding: 24px 12px 18px;
  background: rgba(10,10,10,.8); border: 1px solid var(--line); border-radius: 14px;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.social svg { width: 40px; height: 40px; fill: var(--white); transition: fill .3s; }
.social span { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.social:hover { transform: translateY(-4px); border-color: var(--blue); background: var(--blue-dim); }
.social:hover svg { fill: var(--blue); }
.contact-email { display: inline-block; margin-top: 32px; color: var(--muted); font-size: 16px; border-bottom: 1px solid var(--line); transition: color .2s, border-color .2s; }
.contact-email:hover { color: var(--blue); border-color: var(--blue); }

.footer { border-top: 1px solid rgba(255,255,255,.06); color: var(--faint); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 28px; padding-bottom: 28px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { align-items: flex-end; }
  .hero-media { width: 100%; background-position: 62% top; }
  .hero-media::after { background: linear-gradient(0deg, var(--black) 10%, rgba(0,0,0,.6) 60%, rgba(0,0,0,.35) 100%); }
  @keyframes heroPhotoIn { from { opacity: 0; } to { opacity: .38; } }
  .embed.hero-reel { width: 100%; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card.feature { grid-template-columns: 1fr; }
  .work-card.feature .work-info { padding: 20px 22px 24px; }
  .work-card.short .embed { aspect-ratio: 9 / 16; max-height: 78vh; }
  .about { grid-template-columns: 1fr; }
  .about-side { max-width: 520px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 900px) {
  .hero-media.hero-in { opacity: .38; }
}
