/* Solo creative team landing page — RTL, mobile-first.
   Breakpoints: base (<700), 700+, 1000+. */

:root {
  --ink: #152b32;
  --mint: #ddf4eb;
  --yellow: #f7c955;
  --green: #126b54;
  --muted: #53666b;
  --line: #c5d5cf;
  --gutter: 20px;
  --max: 1160px;
}

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

html { scroll-padding-top: 120px; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 17px/1.75 'Noto Sans Hebrew', Arial, sans-serif;
  overflow-wrap: break-word;
}

a { color: inherit; text-underline-offset: 5px; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 900; line-height: 1.3; }
h1 { font-size: 36px; letter-spacing: -.5px; }
h2 { font-size: 27px; }
h3 { font-size: 20px; }
p { margin-bottom: 16px; }

mark {
  display: inline-block;
  padding: 0 7px;
  background: var(--yellow);
  color: inherit;
}

img { max-width: 100%; }

/* ---------- Layout frame ---------- */

nav, main, footer {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Header / nav ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 2px solid var(--ink);
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 16px;
  padding-block: 6px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.3;
  text-decoration: none;
}
.brand img { width: 30px; height: 30px; flex: none; }
.brand small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 500;
}

.links {
  display: flex;
  gap: 4px 18px;
}
.links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

/* ---------- Shared components ---------- */

.badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  border-radius: 25px;
  background: var(--mint);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 24px;
  border: 2px solid var(--ink);
  border-radius: 28px;
  background: var(--yellow);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.button:hover { filter: brightness(.97); }

.source-link {
  display: block;
  overflow: hidden;
  border: 1px solid #d5ded9;
  border-radius: 10px;
  box-shadow: 0 5px 20px #152b3210;
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-block: 28px 32px;
}

.hero h1 { margin-bottom: 20px; }

.lead {
  max-width: 34em;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.7;
}

.hero .button { margin-top: 14px; min-width: 160px; }

.linkedin-proof {
  width: 100%;
  max-width: 400px;
  margin: 0;
  justify-self: center;
}
.linkedin-proof img { display: block; width: 100%; height: auto; }
.linkedin-proof figcaption {
  padding-top: 4px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* ---------- Work section ---------- */

.work-section {
  padding-block: 32px;
  border-top: 2px solid var(--ink);
}

.section-intro { margin-bottom: 22px; }

.journey {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.journey article {
  padding: 22px;
  border: 2px solid var(--ink);
  border-radius: 15px;
}
.journey h3 { margin-bottom: 10px; }
.journey p { margin: 0; font-size: 16px; line-height: 1.8; }

.step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  padding-block: 32px;
  border-top: 2px solid var(--ink);
}
.faq h2 { margin-bottom: 12px; }

details { border-bottom: 1px solid var(--line); }

summary {
  min-height: 58px;
  padding: 14px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

details p { margin: 0; padding-bottom: 14px; font-size: 16px; }

/* ---------- Closing / contact ---------- */

.closing {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  margin-block: 4px 32px;
  padding: 26px 22px;
  border-radius: 18px;
  background: var(--mint);
}
.closing h2 { font-size: 28px; }
.closing p { margin: 0; }

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.whatsapp-link { background: var(--green); color: #fff; }
.linkedin-link { background: #fff; }

/* ---------- Footer ---------- */

footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-block: 10px 16px;
  border-top: 2px solid var(--ink);
  font-size: 13px;
}
footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

/* ---------- Focus ---------- */

a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}

/* ---------- 700px and up ---------- */

@media (min-width: 700px) {
  :root { --gutter: 28px; }

  html { scroll-padding-top: 84px; }

  nav { flex-wrap: nowrap; padding-block: 10px; }
  .brand { font-size: 20px; gap: 10px; }
  .brand img { width: 36px; height: 36px; }
  .brand small { font-size: 11px; }
  .links { gap: 22px; }
  .links a { font-size: 15px; }

  h1 { font-size: 42px; }
  h2 { font-size: 30px; }

  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    padding-block: 40px;
  }
  .hero-message { padding-top: 8px; }
  .lead { font-size: 18px; }
  .linkedin-proof { justify-self: end; max-width: 380px; }

  .work-section, .faq { padding-block: 40px; }

  .journey { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .journey article { padding: 20px; }
  .journey p { font-size: 15px; }

  .closing {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 32px;
    align-items: center;
    padding: 32px;
    margin-bottom: 40px;
  }
  .closing h2, .closing p { grid-column: 1; }
  .contact-buttons {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 280px;
    margin-top: 0;
  }

  footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-block: 8px;
  }
}

/* ---------- 1000px and up ---------- */

@media (min-width: 1000px) {
  :root { --gutter: 32px; }

  h1 { font-size: 52px; }

  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    padding-block: 48px;
  }
  .hero-message { padding-top: 16px; }
  .hero h1 { margin-bottom: 24px; }
  .lead { font-size: 20px; }
  .linkedin-proof { max-width: 430px; }

  .work-section, .faq { padding-block: 48px; }
  .section-intro { margin-bottom: 26px; }

  .journey { gap: 20px; }
  .journey article { padding: 24px; }
  .journey p { font-size: 16px; }

  .closing { padding: 40px; column-gap: 48px; }
  .contact-buttons { width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Composition v2 ---------- */

.journey article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  row-gap: 6px;
  padding: 14px 16px 16px;
}
.journey .step { width: 30px; height: 30px; margin: 0; font-size: 13px; }
.journey h3 { margin: 0; font-size: 19px; }
.journey p { grid-column: 1 / -1; line-height: 1.7; }

.hero-message { display: flex; flex-direction: column; align-items: flex-start; }
.hero-message .badge { align-self: flex-start; }

@media (min-width: 700px) {
  .hero { align-items: stretch; }
  .hero h1 { font-size: 36px; }
  .hero-message {
    justify-content: center;
    padding: 32px 24px;
    border-radius: 18px;
    background: var(--mint);
  }
  .linkedin-proof { align-self: start; }
  .journey article { padding: 16px 18px 18px; }
}

@media (min-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; }
  .hero h1 { font-size: 52px; }
  .hero-message { padding: 56px 56px; }
  .hero-message .badge { background: #fff; }
  .linkedin-proof { max-width: 380px; }
  .journey article { padding: 20px 22px 22px; }

  .faq {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    column-gap: 40px;
    align-items: start;
  }
  .faq h2 { margin: 0; }
  .faq details:first-of-type { grid-column: 2; grid-row: 1; border-top: 1px solid var(--line); }
  .faq details:last-of-type { grid-column: 2; grid-row: 2; }
}

/* ---------- Composition v3 ---------- */

/* Proof: crop the text above the video so header-less strip keeps
   video, reactions and the impressions row; render wide enough to read. */
.source-link img {
  aspect-ratio: 551 / 449;
  object-fit: cover;
  object-position: bottom;
}
.linkedin-proof { max-width: 460px; }

/* One-row compact header on small screens */
nav { flex-wrap: nowrap; padding-block: 4px; gap: 0 12px; }
.brand { min-height: 48px; font-size: 17px; white-space: nowrap; }
.brand small { display: none; }
.links { gap: 14px; }
.links a { min-height: 48px; white-space: nowrap; }
@media (max-width: 419px) {
  .links a:first-child { display: none; }
}
@media (min-width: 700px) {
  .brand small { display: block; }
  nav { padding-block: 10px; }
  .links { gap: 22px; }
  .links a:first-child { display: flex; }
}

/* Tight step cards on mobile */
@media (max-width: 699px) {
  .work-section { padding-block: 26px; }
  .journey { gap: 10px; }
  .journey article { padding: 12px 14px 14px; row-gap: 2px; }
  .journey h3 { font-size: 18px; }
  .journey p { font-size: 15px; line-height: 1.6; }
  .journey .step { width: 28px; height: 28px; }
}

@media (min-width: 700px) {
  .hero { align-items: center; }
  .linkedin-proof { align-self: center; max-width: none; }
}
@media (min-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr) 500px; gap: 40px; padding-block: 40px; }
  .hero-message { padding: 44px 52px; }
  .linkedin-proof { max-width: 500px; }
}

/* ---------- Composition v4: two-window proof card ---------- */

/* Same image twice: top window = author header + opening lines,
   bottom window = reactions + impressions row. A dotted seam joins them. */
.source-link { display: flex; flex-direction: column; background: #fff; }
.source-link img { aspect-ratio: auto; object-fit: cover; width: 100%; height: auto; }
.source-link img:first-child { order: 0; aspect-ratio: 551 / 200; object-position: top; }
.source-link img:last-child { order: 2; aspect-ratio: 551 / 126; object-position: bottom; }
.source-link::before {
  content: "";
  order: 1;
  height: 16px;
  border-block: 1px solid #e3e9e6;
  background: #f3f7f5 radial-gradient(circle, #9fb2ab 1.5px, transparent 2px) center / 12px 16px repeat-x;
}
.linkedin-proof { max-width: 460px; }

@media (min-width: 700px) {
  .hero { align-items: center; }
}
@media (min-width: 1000px) {
  .hero-message { padding: 40px 52px; }
  .linkedin-proof { max-width: 500px; }
}
