/* Jessica Bachar — built to the Figma (frame 3:2, 1440 wide). Sizes are Figma px × --s, where
   --s = 1/1440 of the page width, capped at 1.6px: exact at 1440, proportional either side, centred
   beyond 2304px.
   Below 900px a stacked phone layout takes over. The layout is physical (left/right as in the
   Figma) in both languages; only text direction changes. */

@font-face { font-family: "Noto Sans Hebrew"; font-weight: 400; font-display: swap; src: url("/assets/fonts/noto-sans-hebrew-hebrew-400.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Noto Sans Hebrew"; font-weight: 500; font-display: swap; src: url("/assets/fonts/noto-sans-hebrew-hebrew-500.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Noto Sans Hebrew"; font-weight: 400; font-display: swap; src: url("/assets/fonts/noto-sans-hebrew-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Noto Sans Hebrew"; font-weight: 500; font-display: swap; src: url("/assets/fonts/noto-sans-hebrew-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Arimo"; font-style: italic; font-display: swap; src: url("/assets/fonts/arimo-hebrew-400-italic.woff2") format("woff2"); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Arimo"; font-style: italic; font-display: swap; src: url("/assets/fonts/arimo-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Lato"; font-display: swap; src: url("/assets/fonts/lato-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Raleway"; font-display: swap; src: url("/assets/fonts/raleway-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Libre Caslon Display"; font-display: swap; src: url("/assets/fonts/libre-caslon-display-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("/assets/fonts/poppins-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --ink: #020922; /* page background */
  --white: #ffffff;
  --mist: #ebeaea; /* contact card, copyright bar */
  --text-dark: #0b0b0b;
  --sand: #e3d3a4; /* focus ring, links on photos */
  /* 1 Figma px: scales with the page width (cqw = body width without the scrollbar), up to 1.6× */
  --s: min(calc(100cqw / 1440), 1.6px);
  --heb: "Noto Sans Hebrew", system-ui, sans-serif;
  --display: "Libre Caslon Display", "Noto Sans Hebrew", serif;
  --lato: "Lato", "Noto Sans Hebrew", sans-serif;
  --raleway: "Raleway", "Noto Sans Hebrew", sans-serif;
  color-scheme: dark;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px; /* clear the fixed top bar */
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font: 400 16px/1.5 var(--lato);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  container-type: inline-size; /* lets --s use cqw */
}
img,
video {
  display: block;
  max-inline-size: 100%;
}
a {
  color: inherit;
}
h1,
h2,
p,
dl,
dd,
figure {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--ring, var(--sand));
  outline-offset: 3px;
}
.about__card,
.contact__card,
.reels {
  --ring: var(--ink); /* sand is ~1.3:1 on these light surfaces */
}
.skip {
  position: absolute;
  inset-inline-start: 16px;
  inset-block-start: -100px;
  background: var(--sand);
  color: var(--ink);
  padding: 0.5em 1em;
  z-index: 30;
}
.skip:focus {
  inset-block-start: 8px;
}
.sr-only {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* Always reachable language switch (the Figma has no header bar). */
.lang-switch {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 20;
  padding: 4px 12px;
  border: 1px solid rgb(255 255 255 / 0.5);
  border-radius: 999px;
  background: rgb(2 9 34 / 0.6);
  backdrop-filter: blur(6px);
  font: 400 13px/1.4 var(--lato);
  text-decoration: none;
}
.lang-switch:hover {
  background: rgb(2 9 34 / 0.9);
}

/* Slim bar that slides down once the hero's vertical menu has scrolled away (initTopbar). */
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 15;
  block-size: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 calc(66 * var(--s)) 0 112px;
  background: rgb(2 9 34 / 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgb(255 255 255 / 0.35);
  direction: ltr;
  transform: translateY(-101%);
  transition: transform 0.35s ease;
}
.topbar.is-shown {
  transform: none;
}
.topbar__nav {
  display: flex;
  gap: 32px;
  font: 500 14px/1 "Poppins", var(--heb);
}
.topbar a {
  text-decoration: none;
}
.topbar a:hover {
  text-decoration: underline;
}
.topbar__name {
  font: 400 18px/1 var(--display);
  text-transform: uppercase;
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .topbar {
    transition: none;
  }
}
@media (max-width: 560px) {
  .topbar {
    padding-inline: 100px 16px;
  }
  .topbar__nav {
    gap: 16px;
    font-size: 13px;
  }
  .topbar__name {
    display: none;
  }
}

/* Shared section heading (Caslon 44 like the other headings; Hebrew falls back to Noto) / Lato 14 */
.title {
  font: 400 max(28px, calc(44 * var(--s))) / 1.36 var(--display);
  text-align: center;
}
.subtitle {
  margin-top: calc(4 * var(--s));
  font: 400 max(13px, calc(14 * var(--s))) / 1.2 var(--lato);
  text-align: center;
}

/* ---------- Hero (Figma "Header", 1440 × 755) ---------- */
.hero {
  position: relative;
  inline-size: calc(1440 * var(--s));
  block-size: calc(755 * var(--s));
  margin-inline: auto;
  direction: ltr;
}
.hero__menu {
  position: absolute;
  left: calc(66 * var(--s));
  top: calc(249 * var(--s));
  display: flex;
  flex-direction: column;
  gap: calc(72 * var(--s));
}
.hero__menu a {
  writing-mode: vertical-rl;
  rotate: 180deg; /* reads bottom-to-top, like the Figma's -90° text */
  font: 500 max(13px, calc(18 * var(--s))) / 1.5 "Poppins", var(--heb);
  text-decoration: none;
}
.hero__menu a:hover {
  text-decoration: underline;
}
.hero__rule {
  position: absolute;
  background: var(--white);
}
.hero__rule--v {
  left: calc(113 * var(--s));
  top: 0;
  inline-size: 1px;
  block-size: 100%;
}
.hero__rule--h {
  left: calc(113 * var(--s));
  bottom: 0;
  inline-size: calc(592 * var(--s));
  block-size: 1px;
}
.hero__text {
  position: absolute;
  left: calc(196 * var(--s));
  top: calc(175 * var(--s));
  inline-size: calc(483 * var(--s));
}
.hero__roles {
  margin-left: calc(31 * var(--s));
  inline-size: max-content;
  font: 500 max(13px, calc(18 * var(--s))) / 1.4 var(--heb);
}
.hero__name {
  margin: calc(25 * var(--s)) 0 0 calc(31 * var(--s));
  inline-size: calc(452 * var(--s));
  font: 400 calc(130 * var(--s)) / 1 var(--display);
  text-transform: uppercase;
  text-align: center;
}
:lang(en) .hero__name {
  font-size: calc(112 * var(--s)); /* caps Caslon is wider than the Figma's Noto at 130 */
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: calc(7 * var(--s));
  margin-top: calc(13 * var(--s));
  font: 400 max(13px, calc(18 * var(--s))) / 1.4 var(--lato);
  text-decoration: none;
}
.hero__cta img {
  inline-size: calc(39 * var(--s));
  block-size: auto;
  transition: translate 0.25s ease;
}
.hero__cta:hover img {
  translate: 4px 0;
}
.hero__photo {
  position: absolute;
  left: calc(1110 * var(--s));
  top: 0;
  inline-size: calc(352 * var(--s));
  block-size: calc(534 * var(--s));
}
.hero__photo img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
/* The lined-paper panel the polaroid hangs in (Figma "1676910175520"), 450 × 754 */
.paper {
  position: absolute;
  left: calc(759 * var(--s));
  top: 0;
  inline-size: calc(450 * var(--s));
  block-size: calc(754 * var(--s));
  overflow: hidden;
  z-index: 1;
}
.paper__bg {
  position: absolute;
  inline-size: 134.04%;
  block-size: 100%;
  left: -25.12%;
  top: -1.09%;
  max-inline-size: none;
  object-fit: cover;
}
.polaroid {
  position: absolute;
  left: 4%;
  top: -10%;
  inline-size: 75%; /* frame ≈ 348px wide at 1440, as in the Figma */
}
.polaroid__body {
  position: relative;
  transform: rotate(-2deg);
  transform-origin: 45.3% 1%;
  filter: drop-shadow(0 18px 22px rgb(0 0 0 / 0.28));
  will-change: transform;
  touch-action: pan-y;
}
.polaroid img {
  inline-size: 100%;
  block-size: auto;
}
/* written on the paper, overlapping the polaroid's bottom-right corner (as in the Figma) */
.signature {
  position: absolute;
  left: 52%;
  top: 80%;
  inline-size: 46%;
  color: #121212;
  transform: rotate(-11deg);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
  .js .polaroid {
    visibility: hidden; /* initHero reveals it as the drop begins, so no settled frame flashes first */
  }
}

/* ---------- Drifting strips (headshots, reels) ---------- */
/* initDrift() clones enough sets to cover the screen and loops by exactly one set. On touch,
   initSwipeDrift() drifts the native swipe row instead; with reduced motion it just stays a swipe row. */
.drift__viewport {
  overflow-x: auto;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin; /* without drift (reduced motion, touch) mouse users scroll the row */
  direction: ltr;
}
.drift__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  inline-size: max-content;
}
.drift__track > li {
  flex: none;
  scroll-snap-align: start;
}
.is-drifting .drift__viewport {
  overflow: hidden;
  scrollbar-width: none;
  scroll-snap-type: none;
}
.is-drifting .drift__track {
  will-change: transform;
}
.is-swipe-drifting .drift__viewport {
  scroll-snap-type: none; /* snapping would pull the drift back to a card every frame */
  scrollbar-width: none;
}

/* ---------- Portraits (Figma "Portraits") ---------- */
.headshots {
  padding-top: calc(89 * var(--s));
}
.headshots .drift__viewport {
  margin-top: calc(50 * var(--s));
}
.headshots .drift__track > li {
  inline-size: calc(283 * var(--s));
  margin-inline-end: calc(7 * var(--s));
}
.shot {
  all: unset;
  display: block;
  cursor: zoom-in;
  aspect-ratio: 283 / 420;
  overflow: hidden;
  background: #11182e;
}
.shot img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.shot:hover img {
  transform: scale(1.03);
}
.shot:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: -2px;
}
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-inline-size: 100vw;
  max-block-size: 100vh;
  overflow: visible;
}
.lightbox::backdrop {
  background: rgb(2 9 34 / 0.94);
}
.lightbox__img {
  max-block-size: 88vh;
  max-inline-size: 88vw;
  inline-size: auto;
}
.lightbox__btn {
  position: fixed;
  background: none;
  border: 0;
  color: var(--white);
  font: 300 2.6rem/1 var(--heb);
  inline-size: 56px;
  block-size: 56px;
  cursor: pointer;
}
.lightbox__prev {
  inset-inline-start: 8px;
  inset-block-start: 50%;
  translate: 0 -50%;
}
.lightbox__next {
  inset-inline-end: 8px;
  inset-block-start: 50%;
  translate: 0 -50%;
}
.lightbox__close {
  inset-inline-end: 8px;
  inset-block-start: 8px;
}
@media (prefers-reduced-motion: reduce) {
  .shot img {
    transition: none;
  }
}

/* ---------- About (Figma "About") ---------- */
.about {
  position: relative;
  margin-top: calc(66 * var(--s));
  block-size: calc(698 * var(--s));
  overflow: hidden;
}
/* The photo is already framed like the Figma's zoomed crop: Jessica on the right, the card on the left. */
.about__photo img {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.about__card {
  position: absolute;
  left: 0;
  bottom: 0;
  inline-size: calc(594 * var(--s));
  min-block-size: calc(515 * var(--s)); /* grows upward if the copy runs longer than the Figma's */
  padding: calc(25 * var(--s)) calc(37 * var(--s));
  background: var(--white);
  color: var(--text-dark);
  text-align: center;
}
.about__title {
  font: 400 max(26px, calc(44 * var(--s))) / 1.23 var(--display);
  color: #000;
}
.about__text {
  margin-top: calc(17 * var(--s));
  font: italic 400 max(13px, calc(18 * var(--s))) / 1.15 "Arimo", var(--heb);
  text-wrap: pretty;
}
.about__text p + p {
  margin-top: 1.15em;
}

/* ---------- Personal details (Figma "Personal Details", 705 + 735 × 538) ---------- */
.details {
  display: grid;
  grid-template-columns: calc(705 * var(--s)) 1fr;
  block-size: calc(538 * var(--s));
  direction: ltr;
}
.details__photo {
  display: block;
  overflow: hidden;
  min-block-size: 0;
}
.details__photo img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: 50% 7.4%;
}
.details__panel {
  padding: calc(81 * var(--s)) 0 0 calc(138 * var(--s));
}
.details__title {
  margin-left: calc(19 * var(--s));
  inline-size: max-content;
  font: 400 max(26px, calc(44 * var(--s))) / 1.23 var(--display);
}
.details__list {
  display: flex;
  gap: calc(40 * var(--s)); /* Figma 57 for 4 items; the 5th (Languages) needs the room */
  margin-top: calc(91 * var(--s));
  text-align: center;
}
:lang(he) .details__list {
  direction: rtl; /* Hebrew reads right to left; the list stays where the Figma puts it */
  inline-size: max-content;
}
.details__list dt {
  font: 400 max(12px, calc(14 * var(--s))) / 1.2 var(--lato);
}
.details__list dd {
  margin-top: calc(10 * var(--s));
  font: 400 max(12px, calc(14 * var(--s))) / 1.2 var(--raleway);
}

/* ---------- Moments I love to share (Figma "Moments", white, 789 tall) ---------- */
.reels {
  background: var(--white);
  color: var(--text-dark);
  padding: calc(65 * var(--s)) 0;
  direction: ltr; /* heading sits on the left in both languages, as in the Figma */
}
:lang(he) .reels__title {
  direction: rtl;
}
.reels__head {
  display: grid;
  margin-left: calc(68 * var(--s));
  inline-size: calc(271 * var(--s));
  font-weight: 400;
}
.reels__kicker {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--s));
  font: 400 max(14px, calc(20 * var(--s))) / 0.7 var(--lato);
}
.reels__kicker::after {
  content: "";
  inline-size: calc(95 * var(--s));
  border-top: 1px solid var(--text-dark);
}
.reels__title {
  margin-top: calc(5 * var(--s));
  font: 400 max(26px, calc(44 * var(--s))) / 1.25 var(--display);
  text-align: center;
}
.reels .drift__viewport {
  margin-top: calc(60 * var(--s));
}
.reel {
  position: relative;
  inline-size: calc(355 * var(--s));
  aspect-ratio: 355 / 525;
  margin-inline-end: calc(5 * var(--s));
  background: #11182e;
  overflow: hidden;
}
.reel__video {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.reel__views {
  position: absolute;
  inset-block-end: 12px;
  inset-inline-start: 12px;
  color: var(--white);
  font: 500 max(12px, calc(14 * var(--s))) / 1.2 var(--heb);
  word-spacing: 0.25em;
  text-shadow: 0 1px 6px rgb(0 0 0 / 0.8);
}
/* The whole card is the link; the visible text stays only for screen readers. On touch, a
   long press plays the preview instead (site.js), so no callout/selection menu. */
.reel__link {
  position: absolute;
  font-size: 0;
  -webkit-touch-callout: none;
  user-select: none;
}
.reel__link::after {
  content: "";
  position: absolute;
  inset: -100vmax;
}
.reel__link:focus-visible {
  outline: none; /* the card carries the ring instead */
}
.reel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  block-size: 30%;
  background: linear-gradient(to top, rgb(2 9 34 / 0.85), transparent);
  pointer-events: none;
}
.reel__views,
.reel__link {
  z-index: 1;
}
.reel {
  cursor: pointer;
}
.reel:has(.reel__link:focus-visible) {
  outline: 3px solid var(--sand);
  outline-offset: -3px;
}

/* ---------- Something new (Figma "Something New" + photo 1476 × 437) ---------- */
.new {
  padding-top: calc(56 * var(--s));
}
.new__photo {
  display: block;
  margin-top: calc(28 * var(--s));
}
.new__photo img {
  inline-size: 100%;
  block-size: calc(437 * var(--s));
  object-fit: cover;
  object-position: 50% 9%;
}

/* ---------- Follow (Figma "Follow Instagram") ---------- */
.follow {
  inline-size: calc(1440 * var(--s));
  margin: calc(57 * var(--s)) auto 0;
  padding-inline: calc(57 * var(--s)) calc(83 * var(--s));
  direction: ltr;
}
.follow__head {
  position: relative;
  block-size: calc(42 * var(--s));
}
.follow__title {
  position: absolute;
  left: calc(95 * var(--s));
  top: calc(5 * var(--s));
  font: 400 max(12px, calc(14 * var(--s))) / 1.2 var(--lato);
  text-transform: uppercase;
}
.follow__title a {
  text-decoration: none;
}
.follow__title a:hover {
  text-decoration: underline;
}
.socials {
  display: flex;
  align-items: center;
  gap: calc(20 * var(--s));
}
.follow .socials {
  position: absolute;
  left: calc(1151 * var(--s));
  top: 0;
}
.socials a {
  display: grid;
  place-items: center;
  min-inline-size: 28px;
  min-block-size: 28px;
}
.follow__strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: calc(2 * var(--s));
}
.follow__strip img {
  inline-size: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* ---------- Agency + contact card ---------- */
.contact {
  position: relative;
  inline-size: calc(1440 * var(--s));
  block-size: calc(284 * var(--s));
  margin-inline: auto;
  direction: ltr;
}
.agency {
  position: absolute;
  left: calc(116 * var(--s));
  top: calc(66 * var(--s));
  inline-size: calc(322 * var(--s));
}
.agency__name {
  font: 400 max(24px, calc(40 * var(--s))) / 1.2 var(--display);
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}
.agency__rule,
.contact__rule {
  display: block;
  inline-size: calc(111 * var(--s));
  border-top: 1px solid currentColor;
}
.agency__rule {
  margin: calc(10 * var(--s)) 0 0 calc(52 * var(--s));
}
.agency__people {
  margin: calc(7 * var(--s)) 0 0 calc(52 * var(--s));
  font: 400 max(12px, calc(14 * var(--s))) / 1.2 var(--lato);
  text-transform: uppercase;
  white-space: nowrap;
}
.agency__email {
  margin: calc(13 * var(--s)) 0 0 calc(54 * var(--s));
  font: 400 max(11px, calc(12 * var(--s))) / 1.2 var(--lato);
  text-transform: uppercase;
}
.contact__card {
  position: absolute;
  left: calc(722 * var(--s));
  top: calc(26 * var(--s));
  inline-size: calc(705 * var(--s));
  block-size: calc(258 * var(--s));
  padding: calc(40 * var(--s)) calc(177 * var(--s)) 0 calc(97 * var(--s));
  background: var(--mist);
  color: var(--text-dark);
  text-align: center;
}
:lang(he) .contact__card {
  direction: rtl;
}
.contact__title {
  padding-inline-start: calc(8 * var(--s));
  font: 400 max(24px, calc(40 * var(--s))) / 1.2 var(--display);
}
.contact__rule {
  margin: calc(10 * var(--s)) auto 0;
}
.contact__agent,
.contact__email,
.contact__note {
  font: 400 max(12px, calc(14 * var(--s))) / 1.2 var(--lato);
}
.contact__agent,
.contact__email {
  margin-top: calc(10 * var(--s));
}
.contact__note {
  margin-top: calc(37 * var(--s));
  text-align: start;
}
.contact a,
.site-footer a {
  text-decoration: none;
}
.contact a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

/* ---------- Footer (Figma "Footer", 1440 × 368) ---------- */
.site-footer {
  position: relative;
  inline-size: calc(1440 * var(--s));
  block-size: calc(368 * var(--s));
  margin: 0 auto; /* the Figma's 52px of empty ink below the copyright bar is dropped */
  direction: ltr;
}
.footer__links {
  position: absolute;
  left: calc(181 * var(--s));
  top: calc(106 * var(--s));
  display: flex;
  flex-direction: column;
  gap: calc(13 * var(--s));
  font: 400 max(12px, calc(14 * var(--s))) / 1.2 var(--raleway);
}
:lang(he) .footer__links {
  align-items: flex-end;
}
.footer__links-title {
  margin-bottom: calc(2 * var(--s));
  font: 400 max(18px, calc(27 * var(--s))) / 1.2 var(--display);
  text-transform: uppercase;
}
.footer__name {
  position: absolute;
  left: calc(551 * var(--s));
  top: calc(108 * var(--s));
  inline-size: calc(191 * var(--s));
  font: 400 max(28px, calc(49 * var(--s))) / 1.24 var(--display);
  text-transform: uppercase;
  text-align: center;
}
.footer__socials {
  position: absolute;
  left: calc(926 * var(--s));
  top: calc(155 * var(--s));
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--s));
}
.footer__photo {
  position: absolute;
  z-index: 1; /* sits over the copyright bar, as in the Figma */
  right: calc(2 * var(--s));
  top: 0;
  inline-size: calc(400 * var(--s));
  block-size: 100%;
}
.footer__photo img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.footer__copyright {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  block-size: calc(50 * var(--s));
  padding-left: calc(179 * var(--s));
  display: flex;
  align-items: center;
  background: var(--mist);
  color: var(--text-dark);
  font: 400 max(11px, calc(14 * var(--s))) / 1.2 var(--raleway);
}

/* ---------- Phones: stacked layout ---------- */
@media (max-width: 900px) {
  .hero {
    block-size: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px 16px 0;
  }
  .hero__menu {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
  }
  :lang(he) .hero__menu {
    direction: rtl;
  }
  .hero__menu a {
    writing-mode: horizontal-tb;
    rotate: none;
    font-size: 14px;
  }
  .hero__rule,
  .hero__photo {
    display: none;
  }
  .hero__text {
    position: static;
    order: 2;
    inline-size: auto;
    margin-top: 28px;
    text-align: center;
  }
  .hero__roles,
  .hero__name {
    margin: 0 auto;
    inline-size: auto;
  }
  .hero__name,
  :lang(en) .hero__name {
    margin-top: 12px;
    font-size: clamp(56px, 18vw, 96px);
  }
  .hero__cta {
    margin-top: 12px;
  }
  .hero__cta img {
    inline-size: 30px;
  }
  .paper {
    position: relative;
    left: auto;
    order: 1;
    margin-top: 20px;
    inline-size: min(78vw, 360px);
    block-size: auto;
    aspect-ratio: 450 / 754;
  }
  .headshots {
    padding-top: 56px;
  }
  .headshots .drift__viewport {
    margin-top: 24px;
  }
  .headshots .drift__track > li {
    inline-size: 60vw;
    margin-inline-end: 6px;
  }
  .about {
    margin-top: 48px;
    block-size: auto;
    overflow: visible;
  }
  .about__photo img {
    position: static;
    inline-size: 100%;
    block-size: auto;
    aspect-ratio: 4 / 3;
    object-position: 85% 50%;
  }
  .about__card {
    position: relative;
    inline-size: auto;
    min-block-size: 0;
    margin: -40px 16px 0;
    padding: 28px 20px;
  }
  .about__text {
    margin-top: 16px;
  }
  .details {
    grid-template-columns: 1fr;
    block-size: auto;
  }
  .details__photo img {
    aspect-ratio: 4 / 3;
    object-position: 50% 15%;
  }
  .details__panel {
    padding: 40px 16px 48px;
    text-align: center;
  }
  .details__title {
    margin: 0 auto;
  }
  .details__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 28px;
    margin-top: 28px;
  }
  :lang(he) .details__list {
    inline-size: auto;
  }
  .reels {
    padding: 48px 0;
  }
  .reels__head {
    margin: 0 auto;
    inline-size: max-content;
  }
  .reels .drift__viewport {
    margin-top: 28px;
  }
  .reel {
    inline-size: 62vw;
    margin-inline-end: 6px;
  }
  .new {
    padding-top: 48px;
  }
  .new .title,
  .new .subtitle {
    padding-inline: 16px;
  }
  .new__photo {
    margin-top: 20px;
  }
  .new__photo img {
    block-size: auto;
    aspect-ratio: 4 / 3;
  }
  .follow {
    margin-top: 48px;
    padding-inline: 16px;
  }
  .follow__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    block-size: auto;
    margin-bottom: 14px;
  }
  .follow__title,
  .follow .socials {
    position: static;
  }
  .follow__strip {
    grid-template-columns: repeat(5, 45vw);
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
  }
  .follow__strip li {
    scroll-snap-align: start;
  }
  .contact {
    block-size: auto;
    display: grid;
    gap: 28px;
    padding: 44px 16px 0;
  }
  .agency,
  .contact__card {
    position: static;
    inline-size: auto;
    block-size: auto;
  }
  .agency {
    text-align: center;
  }
  .agency__rule,
  .agency__people,
  .agency__email {
    margin-inline: auto;
    text-align: center;
  }
  .agency__rule {
    margin-top: 10px;
  }
  .contact__card {
    padding: 32px 20px;
  }
  .contact__note {
    text-align: center;
  }
  .site-footer {
    block-size: auto;
    display: grid;
    justify-items: center;
    gap: 24px;
    margin: 0;
    padding: 48px 16px 0;
    text-align: center;
  }
  .footer__links,
  .footer__name,
  .footer__socials,
  .footer__photo,
  .footer__copyright {
    position: static;
  }
  .footer__links,
  :lang(he) .footer__links {
    align-items: center;
  }
  .footer__name {
    inline-size: auto;
  }
  .footer__socials {
    flex-direction: row;
  }
  .footer__photo {
    inline-size: 100%;
  }
  .footer__photo img {
    block-size: auto;
    aspect-ratio: 4 / 3;
  }
  .footer__copyright {
    justify-content: center;
    padding: 16px;
    margin-inline: -16px;
    inline-size: calc(100% + 32px);
    block-size: auto;
  }
}
