/*
  "את ואני" (partials/sections/with-me.html), 4.11.2026, DRAFT for Hamutal.
  Warm light block, no yellow: cream paper, a soft sunset glow, orange and deep ink. Photo first on mobile.
*/
.with-me {
  --wm-cream: #f6eee4; --wm-ink: #1b1716; --wm-orange: #ff7e06; --wm-rust: #d9481f; --wm-muted: #6b5f57;
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(56px, 7vw, 110px) var(--gutter, 24px);
  background: var(--wm-cream); color: var(--wm-ink);
}
.with-me::before {
  content: ""; position: absolute; z-index: -1; inset-block-start: -18%; inset-inline-end: -12%;
  inline-size: min(70vw, 820px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 126, 6, .32) 0%, rgba(217, 72, 31, .14) 45%, rgba(246, 238, 228, 0) 70%);
}

/* top: photo + intro */
.with-me__top {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center;
  gap: clamp(32px, 5vw, 80px); max-inline-size: 1200px; margin: 0 auto;
}
.with-me__media { position: relative; margin: 0; }
.with-me__media img {
  position: relative; z-index: 1; display: block; inline-size: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 200px 200px 28px 28px;
}
.with-me__frame {
  position: absolute; z-index: 0; inset: 18px -18px -18px 18px;
  border: 2px solid var(--wm-orange); border-radius: 200px 200px 28px 28px;
}
.with-me__note {
  position: absolute; z-index: 2; inset-block-end: 28px; inset-inline-start: -14px; margin: 0;
  padding: 10px 18px; border-radius: 999px; background: var(--wm-ink); color: var(--wm-cream);
  font-family: var(--font-text); font-size: 16px; font-weight: 600; transform: rotate(-3deg);
  box-shadow: 0 10px 24px rgba(27, 23, 22, .22);
}
.with-me__eyebrow {
  display: inline-block; margin: 0 0 18px; padding: 6px 16px; border-radius: 999px;
  background: var(--wm-orange); color: var(--wm-ink); font-family: var(--font-text); font-weight: 700; font-size: 16px;
}
.with-me__title {
  margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: normal;
  font-size: clamp(36px, 4.2vw, 62px); line-height: 1.05; color: var(--wm-ink);
}
.with-me__title span { display: block; }
.with-me__title-hl { margin-block-start: 10px; color: var(--wm-rust); }
.with-me__lead { max-inline-size: 30em; margin: 24px 0 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; }
.with-me__zero-one {
  display: flex; align-items: center; gap: 18px; margin: 28px 0 0;
  font-family: var(--font-display); font-size: clamp(64px, 7vw, 110px); line-height: 1; color: var(--wm-ink);
}
.with-me__zero-one span:last-child { color: var(--wm-orange); }
.with-me__arrow { font-family: var(--font-text); font-size: .5em; color: var(--wm-rust); }

/* the three "together" beats: connected like holding hands */
.with-me__beats {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px);
  max-inline-size: 1200px; margin: clamp(56px, 6vw, 90px) auto 0; padding: 0; list-style: none;
}
.with-me__beats::before {
  content: ""; position: absolute; z-index: 0; inset-inline: 8%; inset-block-start: 31px;
  border-block-start: 2px dashed var(--wm-orange);
}
.with-me__beat {
  position: relative; z-index: 1; padding: 0 clamp(18px, 2vw, 28px) 28px; text-align: center;
  background: #fff; border-radius: 28px; box-shadow: 0 14px 36px rgba(27, 23, 22, .07);
  margin-block-start: 31px;
}
.with-me__beat-n {
  display: grid; place-items: center; inline-size: 62px; block-size: 62px; margin: -31px auto 18px;
  border-radius: 50%; background: var(--wm-ink); color: var(--wm-cream);
  font-family: var(--font-display); font-size: 28px; line-height: 1;
}
.with-me__beat p { margin: 0; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.5; }
.with-me__beat strong { display: block; margin-block-end: 6px; font-family: var(--font-text); font-weight: 800; font-size: 1.2em; color: var(--wm-rust); }

/* who I am + my approach */
.with-me__story {
  display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start;
  max-inline-size: 1000px; margin: clamp(64px, 7vw, 110px) auto 0;
}
.with-me__story-photo img {
  display: block; inline-size: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 6px solid #fff; box-shadow: 0 14px 36px rgba(27, 23, 22, .12);
}
.with-me__story-title {
  margin: 0 0 20px; font-family: var(--font-display); font-weight: 600; letter-spacing: normal;
  font-size: clamp(30px, 3vw, 44px); line-height: 1.1; color: var(--wm-ink);
}
.with-me__story-body { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.65; color: var(--wm-ink); }
.with-me__story-body p + p { margin-block-start: 1em; }
.with-me__story-body strong { color: var(--wm-rust); }
.with-me__punch {
  margin: 32px 0 0; padding-inline-start: 20px; border-inline-start: 4px solid var(--wm-orange);
  font-family: var(--font-display); font-size: clamp(22px, 2.1vw, 30px); line-height: 1.3; color: var(--wm-ink);
}

@media (max-width: 860px) {
  .with-me { padding-block: 48px 56px; }
  .with-me::before { inline-size: 120vw; inset-block-start: -8%; inset-inline-end: -40%; }
  .with-me__top { grid-template-columns: 1fr; gap: 36px; }
  .with-me__media { max-inline-size: 360px; margin-inline: auto; inline-size: 86%; }
  .with-me__frame { inset: 12px -12px -12px 12px; }
  .with-me__note { font-size: 14px; inset-block-end: 20px; inset-inline-start: -10px; }
  .with-me__intro { text-align: center; }
  .with-me__title { font-size: 34px; }
  .with-me__lead { margin-inline: auto; font-size: 18px; }
  .with-me__zero-one { justify-content: center; font-size: 72px; }
  .with-me__beats { grid-template-columns: 1fr; gap: 8px; margin-block-start: 40px; }
  .with-me__beats::before { inset-inline: auto; inset-inline-start: 50%; inset-block: 31px 31px; border-block-start: 0; border-inline-start: 2px dashed var(--wm-orange); }
  .with-me__beat { margin-block-start: 31px; }
  .with-me__story { grid-template-columns: 1fr; gap: 24px; margin-block-start: 56px; text-align: center; }
  .with-me__story-photo { inline-size: 170px; margin-inline: auto; }
  .with-me__story-body { text-align: start; font-size: 18px; }
  .with-me__punch { text-align: start; font-size: 22px; }
}
