/* ============================================================
   ANTONI DIMITROV — landing page (/antoni)
   Standalone stylesheet: this page deliberately does not use the
   main site chrome. Eco Drift green appears only as an accent.
   ============================================================ */

:root {
  --a-ink: #10151a;
  --a-ink-soft: #2c3540;
  --a-muted: #667281;
  --a-paper: #ffffff;
  --a-paper-alt: #f6f7f5;
  --a-line: #e3e6e2;
  --a-green: #00632b;
  --a-green-soft: #e8f1eb;
  --a-radius: 14px;
  --a-max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.antoni {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--a-ink);
  background: var(--a-paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.antoni img { max-width: 100%; display: block; }
.antoni a { color: inherit; text-decoration: none; }
.antoni ul { list-style: none; }

.a-wrap { width: 100%; max-width: var(--a-max); margin: 0 auto; padding: 0 22px; }
.a-section { padding: 64px 0; }
.a-section--alt { background: var(--a-paper-alt); }
.a-section--ink { background: var(--a-ink); color: #fff; }

.a-eyebrow {
  font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--a-green);
}
.a-section--ink .a-eyebrow { color: #7fd4a6; }

.a-h2 { font-size: clamp(1.5rem, 4.2vw, 2.1rem); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.a-lead { color: var(--a-muted); margin-top: 12px; max-width: 62ch; }
.a-section--ink .a-lead { color: #b9c4d0; }

/* ---------- Buttons ---------- */
.a-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; transition: transform .15s ease, background .15s ease, border-color .15s ease;
  min-height: 46px;
}
.a-btn:active { transform: translateY(1px); }
/* Scoped with .antoni so these beat the `.antoni a { color: inherit }` base rule. */
.antoni .a-btn--primary { background: var(--a-green); color: #fff; }
.antoni .a-btn--primary:hover { background: #005324; }
.antoni .a-btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.antoni .a-btn--ghost:hover { border-color: #fff; }
.antoni .a-btn--outline { border-color: var(--a-line); color: var(--a-ink); background: #fff; }
.antoni .a-btn--outline:hover { border-color: var(--a-ink); }
.a-btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ---------- 1. Hero ---------- */
.a-hero { background: var(--a-ink); color: #fff; padding: 40px 0 48px; }
.a-hero__grid { display: grid; gap: 30px; }
.a-hero__name { font-size: .95rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #8fa3b6; }
.a-hero__headline { font-size: clamp(2rem, 8vw, 3.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; margin-top: 14px; }
.a-hero__pillars { margin-top: 14px; font-size: 1rem; color: #9fd8bb; font-weight: 500; }
.a-hero__role { margin-top: 22px; color: #c3ccd6; font-size: .95rem; }
.a-hero__cred { margin-top: 8px; color: #8b97a4; font-size: .875rem; }
.a-hero__portrait {
  border-radius: var(--a-radius); overflow: hidden; background: #1b232c;
  aspect-ratio: 4 / 5; order: -1;
}
.a-hero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

/* ---------- 2. Video ---------- */
.a-video__frame {
  position: relative; border-radius: var(--a-radius); overflow: hidden;
  background: #000; aspect-ratio: 16 / 9; margin-top: 24px; border: 1px solid var(--a-line);
}
.a-video__frame iframe, .a-video__frame video { width: 100%; height: 100%; border: 0; display: block; }
.a-video__poster { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.a-video__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(16,21,26,.35); border: 0; cursor: pointer; width: 100%; color: #fff;
}
.a-video__play span {
  display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.95);
  color: var(--a-ink); font-weight: 600; padding: 12px 20px; border-radius: 999px;
}

/* Portrait (9:16) clips shot on a phone. The frame is capped and centred so the
   video does not become a full-width column on desktop; `contain` keeps the
   burned-in captions inside the frame instead of cropping them away. */
.a-video__frame--portrait {
  aspect-ratio: 9 / 16;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.a-video__frame--portrait video { object-fit: contain; }
/* The heading follows the centred card, so the two read as one block. The rest
   of the page stays left-aligned. */
.a-section--video-portrait .a-h2 { text-align: center; }

/* ---------- 3. What I work on ---------- */
.a-cards { display: grid; gap: 18px; margin-top: 30px; }
.a-card {
  border: 1px solid var(--a-line); border-radius: var(--a-radius); background: #fff;
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.a-card__kicker { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--a-muted); font-weight: 700; }
.a-card__title { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.a-card__tag { font-weight: 600; color: var(--a-green); }
.a-card p { color: var(--a-ink-soft); }
.a-card__list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.a-card__list li {
  font-size: .8rem; padding: 5px 11px; border-radius: 999px;
  background: var(--a-paper-alt); color: var(--a-ink-soft); border: 1px solid var(--a-line);
}
.a-card__media { border-radius: 10px; overflow: hidden; border: 1px solid var(--a-line); margin-top: 4px; }
.a-card__media img { width: 100%; height: 190px; object-fit: cover; }
.a-card__foot { margin-top: auto; padding-top: 14px; }
.a-card__note { font-size: .85rem; color: var(--a-muted); font-style: italic; }

/* ---------- 4. It's all connected ---------- */
.a-chain { display: grid; gap: 12px; margin-top: 28px; counter-reset: chain; }
.a-chain li {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px;
  border: 1px solid var(--a-line); border-radius: 12px; background: #fff;
}
.a-chain li::before {
  counter-increment: chain; content: counter(chain);
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--a-green-soft); color: var(--a-green);
  font-size: .8rem; font-weight: 700; display: grid; place-items: center;
}
.a-chain strong { font-weight: 700; }
.a-chain span { color: var(--a-ink-soft); }

/* ---------- 5. Proof ---------- */
.a-proof { display: grid; gap: 16px; margin-top: 30px; }
.a-proof__item { border-top: 2px solid var(--a-green); padding-top: 14px; }
.a-proof__value { font-size: clamp(1.4rem, 4.5vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.a-proof__value--long { font-size: clamp(1.05rem, 3vw, 1.25rem); line-height: 1.25; }
.a-proof__label { color: var(--a-muted); font-size: .9rem; margin-top: 6px; }
.a-accred { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--a-line); }
.a-accred li { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--a-muted); font-weight: 600; }

.a-proof__photo { margin-top: 30px; border: 1px solid var(--a-line); border-radius: 12px; overflow: hidden; background: #fff; }
.a-proof__photo img { width: 100%; height: 240px; object-fit: cover; }
.a-proof__photo figcaption { padding: 12px 14px; font-size: .85rem; color: var(--a-ink-soft); }
.a-credit { display: block; color: var(--a-muted); font-size: .75rem; margin-top: 3px; }

/* ---------- 6. Questions ---------- */
.a-questions { display: grid; gap: 14px; margin-top: 28px; }
.a-question {
  padding: 20px 22px; border-radius: 12px; background: #fff; border: 1px solid var(--a-line);
  font-size: 1.02rem; font-weight: 500; line-height: 1.45;
}
.a-question::before { content: "?"; color: var(--a-green); font-weight: 800; margin-right: 10px; }

/* ---------- 7. Tools ---------- */
.a-tool { display: grid; gap: 16px; }
.a-tool__shot { border: 1px solid var(--a-line); border-radius: 10px; overflow: hidden; background: var(--a-paper-alt); }
.a-tool__shot img { width: 100%; height: 200px; object-fit: cover; object-position: top center; }

/* ---------- 8. Speaking ---------- */
.a-speaking { display: grid; gap: 16px; margin-top: 28px; }
.a-speaking figure { border-radius: 12px; overflow: hidden; border: 1px solid var(--a-line); background: #fff; }
.a-speaking img { width: 100%; height: 230px; object-fit: cover; }
.a-speaking figcaption { padding: 12px 14px; font-size: .85rem; color: var(--a-ink-soft); }
.a-speaking .a-credit { display: block; color: var(--a-muted); font-size: .75rem; margin-top: 3px; }

/* ---------- 9. Latest thinking ---------- */
.a-latest { display: grid; gap: 16px; margin-top: 28px; }
.a-latest__card { border: 1px solid var(--a-line); border-radius: 12px; overflow: hidden; background: #fff; display: block; }
.a-latest__card img { width: 100%; height: 170px; object-fit: cover; }
.a-latest__body { padding: 18px; }
.a-latest__body h3 { font-size: 1.05rem; font-weight: 700; }
.a-latest__body p { color: var(--a-muted); font-size: .9rem; margin-top: 6px; }

/* ---------- 10. Final CTA + footer ---------- */
.a-final { text-align: left; }
.a-footer { padding: 26px 0 100px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; }
.a-footer ul { display: flex; flex-wrap: wrap; gap: 18px; font-size: .9rem; color: #b9c4d0; }
.a-footer a:hover { color: #fff; }
.a-footer__legal { margin-top: 14px; font-size: .78rem; color: #6b7885; }

/* ---------- Sticky mobile action bar ---------- */
.a-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-top: 1px solid var(--a-line);
}
.a-sticky .a-btn { flex: 1; padding: 11px 12px; font-size: .88rem; min-height: 44px; }

/* ---------- Desktop ---------- */
@media (min-width: 760px) {
  .a-section { padding: 84px 0; }
  .a-hero { padding: 64px 0 72px; }
  .a-hero__grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }
  .a-hero__portrait { order: 0; aspect-ratio: 3 / 4; }
  .a-cards { grid-template-columns: 1fr 1fr; gap: 22px; }
  .a-proof { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .a-questions { grid-template-columns: 1fr 1fr; }
  .a-tool { grid-template-columns: 1fr 1fr; gap: 22px; }
  .a-speaking { grid-template-columns: repeat(3, 1fr); }
  .a-latest { grid-template-columns: repeat(3, 1fr); }
  .a-chain { grid-template-columns: repeat(5, 1fr); }
  .a-chain li { flex-direction: column; gap: 10px; }
  .a-sticky { display: none; }
  .a-footer { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .a-btn { transition: none; }
}
