/* ==========================================================================
   משה שרת , Mobile-first stylesheet
   Base styles target mobile. Larger screens are layered on with:
     @media (min-width: 701px)   tablet & desktop
     @media (min-width: 1440px)  wide desktop
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #08090b;
  --blue: #000032;
  --orange: #f55133;
  --paper: #fff;
  --mist: #f5f5f3;
  --line: #e5e5e2;
  --sans: "Narkiss Block", sans-serif;
  --page: 1280px;
  --gutter: clamp(22px, 6vw, 92px);
  --edge: 20px; /* fixed header distance from screen edges */
  --header-h: 72px;
  --type-display: clamp(20.66px, 5.54vw, 29.23px) /* mobile -10% */; /* -20% */
  --type-subtitle: 18px /* mobile -10% */;
  --type-body: 17.01px /* mobile -10% */; /* running text (13px +20%, +10%, +10%) */
}
@media (min-width: 701px) {
  :root {
    --type-display: 46px; /* -20% */
    --type-subtitle: clamp(21px, 2.5vw, 28px);
    --type-body: 20px /* running text + buttons */; /* running text (15px +20%, +10%, +10%) */
    --edge: 40px;
    --header-h: 88px;
  }
}

@font-face {
  font-family: "Narkiss Block";
  src: url("assets/fonts/narkiss-block-regular.otf") format("opentype");
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
}
@font-face {
  font-family: "Narkiss Block";
  src: url("assets/fonts/narkiss-block-medium-trial.otf") format("opentype");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h); /* chapter strip lands right under the header */
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit; /* iOS Safari defaults button text to system blue */
}

/* ---------- Header ----------
   Israel Canada logo pinned to the left edge; the Blue Atlit logo
   sits right next to the hamburger on the right edge. Both sides keep
   the same fixed distance (--edge) from the screen edge at any width. */
.site-header {
  direction: ltr;
  height: var(--header-h);
  padding: 0 var(--edge);
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(14px);
}
.brand {
  margin-right: auto;
}
.brand img {
  display: block;
  width: 112px;
  height: 51px;
  object-fit: contain;
}
.header-project {
  display: block;
  margin-right: 8px;
}
.header-project img {
  display: block;
  width: 77px; /* -15% */
  height: 51px;
  object-fit: contain;
}
.menu-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  /* bars are 29px inside a 44px tap area: pull out the transparent 7.5px so the icon lines up with --edge */
  margin-right: -7.5px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-trigger span {
  position: absolute;
  width: 29px;
  height: 3.2px; /* same stroke weight as the menu close X */
  border-radius: 1.6px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.2s;
}
.menu-trigger span:first-child {
  transform: translateY(-8px);
}
.menu-trigger span:last-of-type {
  transform: translateY(8px);
}
.menu-trigger b {
  display: none;
}
.menu-trigger.is-open span:first-child {
  transform: rotate(45deg);
}
.menu-trigger.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-trigger.is-open span:last-of-type {
  transform: rotate(-45deg);
}
@media (min-width: 701px) {
  .brand img {
    width: 142px;
    height: 65px;
  }
  .header-project img {
    width: 97px; /* -15% */
    height: 65px;
  }
  .header-project {
    margin-right: 12px;
  }
}

/* ---------- Side menu ---------- */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}
.menu-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.side-menu {
  position: fixed;
  z-index: 55;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(440px, 90vw);
  /* menu links start right below the header line */
  padding: calc(var(--header-h) - 20px) clamp(26px, 5vw, 56px) 28px;
  background: #fff;
  transform: translateX(102%);
  transition: transform 0.42s cubic-bezier(0.22, 0.7, 0.15, 1);
  display: flex;
  flex-direction: column;
  overflow: auto;
}
.side-menu.is-open {
  transform: translateX(0);
}
.menu-head {
  position: absolute;
  top: calc((var(--header-h) - 44px) / 2); /* X sits exactly where the hamburger was */
  left: 0;
  right: 0;
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 44px;
  padding: 0 var(--edge);
  border: 0;
}
.menu-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 -9px 0 0; /* same optical edge alignment as the hamburger */
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
  font-size: 0;
  color: transparent;
}
/* drawn X: same stroke as the hamburger bars (3.2px); 26px wide like the old 60px glyph */
.menu-close::before,
.menu-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 37px;
  height: 3.2px;
  border-radius: 1.6px;
  background: var(--ink);
}
.menu-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.menu-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.menu-nav {
  display: grid;
  padding: 20px 0;
}
.menu-nav a {
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 10px 0;
  font-size: max(var(--type-body), 17px);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.menu-nav a span {
  font-size: max(var(--type-body), 9px);
  letter-spacing: 0.08em;
  color: var(--orange);
}
.menu-nav .menu-main .menu-number {
  font-size: max(var(--type-body), 17px);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--orange);
}
.menu-nav a.menu-subitem {
  padding-right: 22px;
  font-size: max(var(--type-body), 15px);
  font-weight: 400;
  border-bottom: 0;
  color: #545550;
}
.menu-nav a.menu-chapter-two {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.menu-nav a.menu-chapter-three,
.menu-nav a.menu-chapter-four,
.menu-nav a.menu-chapter-five,
.menu-nav a.menu-chapter-six {
  margin-top: 0;
  border-top: 0;
  padding-top: 12px;
}
.menu-nav a.menu-subitem + a.menu-subitem {
  padding-top: 5px;
}
@media (min-width: 701px) {
  .menu-nav a {
    padding: 12px 0;
    font-size: var(--type-body);
  }
  .menu-nav .menu-main .menu-number {
    font-size: var(--type-body);
  }
  .menu-nav a.menu-subitem {
    padding-right: 25px;
    font-size: max(var(--type-body), 16px);
  }
  .menu-nav a.menu-chapter-two {
    margin-top: 0;
    border-top: 0;
    padding-top: 12px;
  }
}

/* ---------- Hero ---------- */
.hero {
  height: calc(82svh - var(--header-h));
  min-height: 500px;
  max-height: 690px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #072c40;
  color: #fff;
}
.hero-video,
.hero-wash {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-video {
  object-fit: cover;
  object-position: 58% center;
}
.hero-wash {
  background:
    linear-gradient(0deg, rgba(0, 8, 14, 0.64), rgba(0, 8, 14, 0.14) 65%),
    linear-gradient(90deg, rgba(0, 8, 14, 0.1), rgba(0, 8, 14, 0.18));
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 0 var(--edge) /* aligned with header & chapters */;
  text-align: center;
}
.hero h1 {
  font-size: clamp(39.38px, 11.25vw, 60.75px);
  font-weight: 500;
  line-height: 0.98;
  margin: 0 0 13px;
}
.hero-content > p {
  max-width: 680px;
  margin: 0 auto 9px;
  font-size: var(--type-subtitle);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
}
.hero-content > p.hero-lead {
  font-weight: 500;
  margin-bottom: 14px;
}
.hero-content > p.hero-description {
  font-size: calc(var(--type-subtitle) * 0.92);
  font-weight: 300;
  font-synthesis: none;
}
@media (min-width: 701px) {
  .hero {
    height: min(740px, calc(100svh - var(--header-h)));
    min-height: 520px;
    max-height: none;
  }
  .hero-video {
    object-position: 50% 50%;
  }
  .hero-wash {
    background:
      linear-gradient(90deg, rgba(3, 9, 15, 0.2), rgba(4, 13, 22, 0.16) 35%, rgba(5, 10, 15, 0.61)),
      linear-gradient(0deg, rgba(2, 8, 13, 0.38), transparent 35%);
  }
  .hero h1 {
    font-size: clamp(50px, 8.5vw, 97.5px);
    margin-bottom: 18px;
  }
  .hero-content > p {
    margin-bottom: 10px;
    line-height: 1.4;
  }
  .hero-content > p.hero-lead {
    margin-bottom: 15px;
    line-height: 1.25;
  }
  .hero-content > p.hero-description {
    line-height: 1.25;
    font-size: 24px;
  }
}

/* ---------- Soundtrack ---------- */
.soundtrack {
  background: #fff;
  color: var(--ink);
  padding: 27px 20px 30px;
  border-bottom: 1px solid var(--line);
}
/* mobile: title, line and play button stacked and centred */
.soundtrack-inner {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.soundtrack-copy {
  text-align: center;
}
/* play button: site orange + black triangle, grows on hover so it reads as clickable */
.soundtrack-play {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--orange);
  color: #000;
  transition: transform 0.2s, background 0.2s;
}
.soundtrack-play:hover,
.soundtrack-play:focus-visible {
  transform: scale(1.08);
  background: #d94329;
}
.soundtrack-play-icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
  transform: translateX(-2px); /* RTL page: optical centre of the triangle */
}
@media (min-width: 701px) {
  /* desktop: text, with the button to its left */
  .soundtrack-inner {
    flex-direction: row;
    justify-content: center;
    gap: 40px;
  }
  .soundtrack-play {
    width: 76px;
    height: 76px;
  }
  .soundtrack-play-icon {
    width: 34px;
    height: 34px;
  }
}
.soundtrack-copy h2 {
  font-size: var(--type-display);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0 0 11px;
}
.soundtrack-copy p {
  font-size: var(--type-subtitle);
  line-height: 1.3;
  margin: 0;
  color: #555650;
}
@media (min-width: 701px) {
  .soundtrack {
    padding: 34px var(--gutter);
  }
  .soundtrack-copy h2 {
    margin-bottom: 15px;
  }
  .soundtrack-copy p {
    font-size: var(--type-subtitle);
    line-height: 1.25;
  }
}

/* ---------- Chapter navigation (below the soundtrack) ---------- */
.chapter-nav {
  padding: 20px var(--edge) 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.chapter-nav ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chapter-nav a {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 56px;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: max(var(--type-body), clamp(13px, 3.8vw, 16px));
  font-weight: 600;
  line-height: 1.25;
  transition: background 0.2s;
  background: var(--orange);
  color: #000;
  justify-content: center;
  text-align: center;
  gap: 8px;
}
.chapter-nav a:hover,
.chapter-nav a:focus-visible {
  background: #d94329;
}
@media (min-width: 701px) {
  .chapter-nav {
    padding: 28px var(--edge) 32px;
  }
  .chapter-nav ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .chapter-nav a {
    min-height: 64px;
    padding: 12px 16px;
    font-size: var(--type-body);
    gap: 12px;
  }
}
@media (min-width: 1200px) {
  .chapter-nav ul {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* ---------- "Back to menu" button at the end of each chapter ---------- */

.back-to-nav {
  display: flex;
  justify-content: flex-end; /* RTL: sits on the left */
  margin-top: 28px;
}

.back-to-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 4px;
  background: var(--orange);
  font-size: max(var(--type-body), 12px);
  font-weight: 600;
  transition: background 0.2s;
  color: #000;
  line-height: 1.2;
}

.back-to-nav a:hover,
.back-to-nav a:focus-visible {
  background: #d94329;
}

@media (min-width: 701px) {
  .back-to-nav {
    margin-top: 40px;
  }
  .back-to-nav a {
    font-size: max(var(--type-body), 13px);
    min-height: 42px;
    padding: 8px 16px;
  }
}

/* ---------- Shared chapter layout ---------- */
.section-pad {
  padding: 70px var(--edge);
}
.chapter-heading {
  padding: 30px var(--edge);
  margin: 0 calc(-1 * var(--edge)) 28px;
  background: #000;
  color: #fff;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
}
.chapter-heading h2 {
  font-size: var(--type-display);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
}
.chapter-heading .chapter-num {
  color: var(--orange);
}
.chapter-heading > p {
  margin: 11px 0 0;
  color: #fff;
  font-size: var(--type-subtitle);
  font-weight: 400;
  line-height: 1.3;
  grid-column: 2;
}
@media (min-width: 701px) {
  .section-pad {
    padding: 106px var(--edge);
  }
  .chapter-heading {
    padding: 44px var(--edge);
    margin-bottom: 40px;
  }
  .chapter-heading > p {
    margin-top: 15px;
    line-height: 1.25;
  }
}
.section-pad:has(> .chapter-heading:first-child) {
  padding-top: 0;
}

/* ---------- Shared accordions & buttons ---------- */
.transfer-accordions {
  margin: 34px auto 0;
  border-top: 1px solid var(--line);
}
.community-accordions,
.supplier-accordions {
  margin-top: 0;
  background: #fff;
}
.transfer-accordion {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.transfer-accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 16px;
  font-size: var(--type-subtitle);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.transfer-accordion summary::-webkit-details-marker {
  display: none;
}
.transfer-accordion summary:hover {
  background: #fafaf8;
}
.transfer-accordion summary::after {
  content: "+";
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 300;
  color: var(--orange);
  line-height: 1;
}
.transfer-accordion[open] summary::after {
  content: "−";
}
.transfer-panel {
  padding: 0 16px 20px;
  color: #30312e;
  font-size: var(--type-body);
  line-height: 1.5;
}
.transfer-panel > p {
  margin: 0 0 13px;
}
.transfer-panel ul {
  margin: 0 0 19px;
  padding-inline-start: 19px;
}
.transfer-panel li {
  padding: 3px 0;
}
.transfer-panel a:not(.transfer-button) {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.transfer-panel a[href*="mast.co.il"]:not(.transfer-button) {
  color: var(--orange);
}
.transfer-panel .supplier-entry a {
  color: var(--orange);
  text-decoration: none;
}
.transfer-panel a[href^="tel:"] {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}
.service-phone a {
  font-weight: 600;
  unicode-bidi: plaintext;
}
.transfer-panel .service-phone {
  margin: 9px 0 17px;
}
.transfer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 40px;
  padding: 8px 13px;
  background: var(--orange);
  color: #000;
  border-radius: 4px;
  font-size: max(var(--type-body), 12px);
  font-weight: 600;
  text-align: center;
  transition: background 0.2s;
  line-height: 1.2;
}
.transfer-button:hover {
  background: #d94329;
}
.provider-list {
  margin-top: 10px;
  border-top: 1px solid var(--line);
}
.provider-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--type-body);
}
.provider-row > strong,
.provider-row > span,
.provider-row > span a {
  font-size: inherit;
}
.provider-row > span {
  grid-column: 1;
  direction: rtl;
}
.provider-row > a.provider-button {
  grid-column: 1;
  grid-row: auto;
  align-self: center;
  justify-self: start;
  width: 160px;
  padding: 8px 13px;
  font-size: max(var(--type-body), 12px);
  white-space: nowrap;
  margin-top: 4px;
  max-width: 100%;
  justify-content: center;
}
.insurance-notice {
  margin-top: 23px;
  padding: 15px 14px;
  background: #000;
  color: #fff;
}
.insurance-notice p {
  margin: 0;
  color: #fff;
}
.insurance-notice p + p {
  margin-top: 8px;
}
@media (min-width: 701px) {
  .transfer-accordions {
    margin-top: 48px;
  }
  .community-accordions,
  .supplier-accordions {
    margin-top: 0;
  }
  .transfer-accordion summary {
    padding: 22px 24px;
    font-size: var(--type-subtitle);
  }
  .transfer-panel {
    padding: 0 24px 26px;
    line-height: 1.55;
  }
  .transfer-panel ul {
    padding-inline-start: 22px;
  }
  .transfer-button {
    min-height: 42px;
    padding: 8px 16px;
    font-size: max(var(--type-body), 13px);
  }
  .provider-row {
    grid-template-columns: 100px minmax(150px, 1fr) auto;
    gap: 14px;
  }
  .provider-row > span {
    grid-column: auto;
  }
  .provider-row > a.provider-button {
    grid-column: auto;
    grid-row: auto;
    width: 190px;
    padding: 8px 16px;
    font-size: max(var(--type-body), 13px);
    margin-top: 0;
  }
  .insurance-notice {
    padding: 18px 20px;
  }
}

/* ---------- 01 Onboarding checklist ---------- */
.onboarding {
  background: var(--mist);
  padding-top: 69px;
  padding-bottom: 74px;
}
.checklist-panel {
  margin: 0 auto;
  background: #fff;
  padding: 22px 17px;
}
.progress-area {
  padding: 19px 0 12px;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: max(var(--type-body), 12px);
}
.progress-meta strong {
  font-size: max(var(--type-body), 12px);
  color: var(--orange);
  font-weight: 600;
}
.progress-track {
  height: 5px;
  background: #ececea;
  overflow: hidden;
}
.progress-track > span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--orange);
  transition: width 0.3s ease;
}
.checklist {
  border-top: 1px solid var(--line);
}
.check-item {
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 34.5px;
  gap: 11px;
  align-items: start;
  min-height: 60px;
  padding: 16px 1px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.2s;
}
.check-item:hover {
  background: #fafaf8;
}
.check-item input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.check-box {
  width: 23px;
  height: 23px;
  margin-top: 2px;
  display: grid;
  place-items: center;
  border: 2px solid #a8a8a3;
  border-radius: 4px;
  transition: background 0.2s, border-color 0.2s;
}
.check-box::after {
  content: "";
  width: 11px;
  height: 6px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg) scale(0);
  transition: transform 0.15s;
}
.check-item input:checked + .check-box {
  background: var(--orange);
  border-color: var(--orange);
}
.check-item input:checked + .check-box::after {
  transform: translateY(-1px) rotate(-45deg) scale(1);
}
.check-item input:focus-visible + .check-box {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.check-copy {
  display: grid;
  gap: 5px;
}
.check-copy strong {
  font-size: var(--type-subtitle); /* +20% (was 14px) */
  font-weight: 600;
  line-height: 1.25;
}
.check-copy > span {
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.45;
  color: #62635e;
}
.check-item.is-complete .check-copy strong,
.check-item.is-complete .check-copy > span {
  color: #989994;
}
.check-item.is-complete .check-copy strong {
  text-decoration: line-through;
  text-decoration-color: #c7c7c3;
}
.check-icon {
  display: grid;
  place-items: center;
  width: 34.5px;
  height: 34.5px;
  margin-top: 1px;
  color: var(--orange);
}
.check-icon svg {
  width: 28.5px;
  height: 28.5px;
}
.drilling-notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 24px 0 0;
  padding: 16px 20px;
  background: #000;
  color: #fff;
  width: fit-content;
  max-width: 100%;
}
.drilling-notice p {
  margin: 0;
  font-size: var(--type-body);
  line-height: 1.45;
}
.drilling-notice strong {
  font-weight: 600;
}
@media (min-width: 701px) {
  .onboarding {
    padding-top: 94px;
    padding-bottom: 102px;
  }
  .checklist-panel {
    padding: clamp(22px, 4vw, 48px) clamp(20px, 5vw, 58px);
  }
  .progress-area {
    padding: 23px 0 15px;
  }
  .check-item {
    grid-template-columns: 22px minmax(0, 1fr) 45px;
    gap: 16px;
    min-height: 62px;
    padding: 19px 3px;
  }
  .check-box {
    width: 22px;
    height: 22px;
  }
  .check-copy strong {
    font-size: var(--type-subtitle); /* +20% (was 15px) */
  }
  .check-copy > span {
    line-height: 1.5;
  }
  .check-icon {
    width: 42px;
    height: 42px;
  }
  .check-icon svg {
    width: 31.5px;
    height: 31.5px;
  }
  .drilling-notice {
    gap: 15px;
    margin-top: 28px;
    padding: 20px 28px;
  }
  .drilling-notice p {
    line-height: 1.5;
  }
}

/* ---------- 01b Ownership transfer ---------- */
.ownership {
  background: #fff;
  padding-top: 69px;
  padding-bottom: 78px;
}
.ownership-intro {
  margin: 0;
}
.ownership-intro h2 {
  margin: 0 0 11px;
  font-size: var(--type-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.ownership-intro > p {
  margin: 0;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.45;
  color: #555650;
}
@media (min-width: 701px) {
  .ownership {
    padding-top: 93px;
    padding-bottom: 110px;
  }
  .ownership-intro h2 {
    margin: 0 0 15px;
  }
  .ownership-intro > p {
    line-height: 1.5;
  }
}

/* ---------- 02 Building ---------- */
.building {
  background: var(--mist);
  padding-top: 69px;
  padding-bottom: 74px;
}
.building-list {
  margin: 0 auto;
  padding: 5px 17px;
  background: #fff;
}
.building-item {
  display: grid;
  grid-template-columns: 40.5px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.building-item:last-child {
  border-bottom: 0;
}
.building-icon {
  display: grid;
  place-items: center;
  width: 34.5px;
  height: 34.5px;
  margin-top: 1px;
  color: var(--orange);
}
.building-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.building-item h3 {
  margin: 0 0 6px;
  font-size: var(--type-subtitle);
  font-weight: 500;
  line-height: 1.3;
}
.building-item p {
  margin: 0;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.45;
  color: #565751;
}
@media (min-width: 701px) {
  .building {
    padding-top: 88px;
    padding-bottom: 100px;
  }
  .building-list {
    padding: 10px clamp(20px, 5vw, 58px);
  }
  .building-item {
    grid-template-columns: 51px minmax(0, 1fr);
    gap: 17px;
    padding: 20px 2px;
  }
  .building-icon {
    width: 42px;
    height: 42px;
  }
  .building-icon svg {
    width: 34.5px;
    height: 34.5px;
  }
  .building-item h3 {
    line-height: 1.25;
  }
  .building-item p {
    line-height: 1.5;
  }
}

/* ---------- Full-width video breaks ---------- */
.chapter-video {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #071f2c;
}
.chapter-video video,
.chapter-video img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@media (min-width: 701px) {
  .chapter-video {
    height: clamp(230px, 36vw, 490px);
  }
}

/* ---------- 03 Community ---------- */
.community {
  background: #fff;
  padding-top: 69px;
  padding-bottom: 74px;
}
.clinic-list article {
  padding: 7px 0 13px;
  border-bottom: 1px solid var(--line);
}
.clinic-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.clinic-list h3 {
  margin: 0 0 5px;
  font-size: var(--type-subtitle);
  font-weight: 500;
  line-height: 1.25;
}
.clinic-list p {
  margin: 0 0 5px;
}
.clinic-list .service-phone {
  margin: 6px 0 0;
}
@media (min-width: 701px) {
  .community {
    padding-top: 88px;
    padding-bottom: 100px;
  }
  .clinic-list h3 {
    font-size: var(--type-subtitle);
  }
}

/* ---------- 04 Local life ---------- */
.local-life {
  background: var(--mist);
  padding-top: 69px;
  padding-bottom: 74px;
}
.local-card {
  display: flex;
  flex-direction: column;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.local-card h4 {
  margin: 0 0 6px;
  font-size: var(--type-subtitle);
  font-weight: 600;
  line-height: 1.3;
}
.local-card p {
  margin: 0;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.45;
  color: #565751;
}
.local-card .local-phone {
  margin: 7px 0 0;
  line-height: 1.4;
}
.local-phone a {
  color: var(--orange);
}
.local-phone a:hover {
  text-decoration: underline;
}
.local-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 11px;
  gap: 8px;
  flex-wrap: wrap;
}
.local-actions .transfer-button {
  min-width: 0;
  white-space: nowrap;
}
@media (min-width: 701px) {
  .local-life {
    padding-top: 88px;
    padding-bottom: 100px;
  }
  .local-card {
    padding: 17px 0;
  }
  .local-card h4 {
    font-size: var(--type-subtitle);
  }
  .local-card p {
    line-height: 1.5;
  }
  .local-card .local-phone {
    line-height: 1.4;
  }

  .local-actions {
    padding-top: 13px;
  }
}

/* 04 categories are accordions: cards sit inside the panel */

.local-accordions {
  margin-top: 0;
  background: #fff;
}

.transfer-panel .local-card:first-child {
  border-top: 0;
  padding-top: 0;
}

.transfer-panel .local-phone a {
  color: var(--orange);
  text-decoration: none;
}

/* ---------- 05 Surroundings ---------- */
.surroundings {
  background: #fff;
  padding-top: 69px;
  padding-bottom: 74px;
}
.surroundings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0 auto;
}
.surrounding-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--mist);
}
.surrounding-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.surrounding-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 17px;
}
.surrounding-copy h3 {
  margin: 0 0 9px;
  font-size: var(--type-subtitle);
  font-weight: 500;
  line-height: 1.25;
}
.surrounding-copy p {
  margin: 0 0 20px;
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.45;
  color: #565751;
}
.surrounding-copy .transfer-button {
  margin-top: auto;
}
@media (min-width: 701px) {
  .surroundings {
    padding-top: 88px;
    padding-bottom: 100px;
  }
  .surroundings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .surrounding-card > img {
    aspect-ratio: 16 / 8.5;
  }
  .surrounding-copy {
    padding: 23px 24px 25px;
  }
  .surrounding-copy p {
    line-height: 1.5;
  }
}

/* ---------- 06 Suppliers ---------- */
.suppliers {
  background: var(--mist);
  padding-top: 69px;
  padding-bottom: 74px;
}
.supplier-notice {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 23px;
  padding: 16px 20px;
  background: #000;
  color: #fff;
}
.supplier-notice p {
  margin: 0;
  font-size: var(--type-body);
  line-height: 1.45;
}
.supplier-notice strong {
  font-weight: 600;
}
.supplier-summary {
  display: flex;
  align-items: center;
  gap: 11px;
}
.supplier-summary > span:last-child {
  display: grid;
  gap: 4px;
}
.supplier-summary strong {
  font-weight: 500;
}
.supplier-summary small {
  font-size: max(var(--type-body), 12px);
  font-weight: 400;
  color: #666;
}
.supplier-icon {
  display: grid;
  place-items: center;
  width: 37.5px;
  height: 37.5px;
  flex: 0 0 37.5px;
}
.supplier-icon img {
  display: block;
  width: 33px;
  height: 33px;
  object-fit: contain;
}
.supplier-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 32px;
}
.supplier-entry {
  display: grid;
  gap: 5px;
  align-content: start;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.supplier-entry h3 {
  margin: 0;
  font-size: max(var(--type-body), 13px);
  font-weight: 400;
  color: #666;
}
.supplier-entry > strong {
  font-size: max(var(--type-body), 15px);
  font-weight: 500;
}
.supplier-entry a {
  width: fit-content;
  font-weight: 500;
}
.supplier-entry div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: max(var(--type-body), 15.6px);
}
.supplier-separator {
  margin: 0 9px;
  color: #999;
}
@media (min-width: 701px) {
  .suppliers {
    padding-top: 88px;
    padding-bottom: 100px;
  }
  .supplier-notice {
    margin-bottom: 29px;
    padding: 20px 28px;
  }  .supplier-notice p {
    line-height: 1.5;
  }
  .supplier-summary {
    gap: 14px;
  }
  .supplier-summary small {
    font-size: max(var(--type-body), 13px);
  }
  .supplier-icon {
    width: 45px;
    height: 45px;
    flex-basis: 45px;
  }
  .supplier-icon img {
    width: 37.5px;
    height: 37.5px;
  }
  .supplier-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .supplier-entry {
    padding: 14px 0;
  }
}

/* ---------- 06 Escalation message (end of chapter) ---------- */

.supplier-escalation {
  margin-top: 23px;
  padding: 0;
  color: var(--ink);
}

.supplier-escalation h3 {
  margin: 0 0 6px;
  font-size: var(--type-subtitle);
  font-weight: 500;
  line-height: 1.25;
}

.supplier-escalation p {
  margin: 0;
  font-size: var(--type-subtitle);
  line-height: 1.45;
}

.supplier-escalation a {
  color: var(--orange);
  font-weight: 600;
  white-space: nowrap;
}

@media (min-width: 701px) {
  .supplier-escalation {
    margin-top: 29px;
    padding: 0;
  }
  .supplier-escalation h3 {
    margin-bottom: 8px;
  }
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 310px;
  padding: 38px var(--edge);
  background: #08090b url("assets/images/contact-bg.avif") center / auto 360px no-repeat;
  color: #08090b;
}
.contact-card {
  width: min(100%, 850px);
  padding: 30px 19px;
  background: var(--orange);
  text-align: center;
}
.contact-card h2 {
  margin: 0 0 16px;
  font-size: clamp(22.5px, 6.3vw, 30.6px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.contact-card p {
  margin: 0;
  font-size: max(var(--type-body), 16px);
  font-weight: 400;
  line-height: 1.6;
}
.contact-card a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-card a[href^="tel:"] {
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}
@media (min-width: 701px) {
  .contact {
    min-height: 390px;
    padding: 65px var(--edge);
    background-size: cover;
  }
  .contact-card {
    padding: clamp(28px, 5.5vw, 72px) clamp(22px, 6vw, 85px);
  }
  .contact-card h2 {
    margin-bottom: 24px;
    font-size: 46px;
  }
  .contact-card p {
    font-size: 24px;
    line-height: 1.65;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 102px;
  padding: 17px 23px;
  background: #08090b;
  color: #fff;
  text-align: center;
}
.site-footer > a {
  display: flex;
  justify-content: center;
  align-items: center;
}
.site-footer img {
  width: 210px; /* 3x */
}
@media (min-width: 701px) {
  .site-footer {
    min-height: 82px;
    padding: 18px var(--gutter);
  }
  .site-footer img {
    width: 246px; /* 3x */
  }
}

/* ---------- Wide screens ----------
   Chapters span the full width (edge to edge minus --edge). To keep lines
   readable, lists split into columns instead of stretching. */
@media (min-width: 1100px) {
  .checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
  }
  .building-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 48px;
  }
  /* last row has no divider: the last item, plus its neighbour when the row is full */
  .building-item:nth-last-child(2):nth-child(odd) {
    border-bottom: 0;
  }
}
@media (min-width: 1300px) {
  .surroundings-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .supplier-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Short screens (phones in landscape) ----------
   With ~375-430px of height, the full header and a fixed-height hero
   take most of the screen and cut the welcome text. */
@media (max-height: 500px) and (orientation: landscape) {
  :root {
    --header-h: 56px;
  }
  .brand img {
    width: 88px;
    height: 40px;
  }
  .header-project img {
    width: 60px;
    height: 40px;
  }
  .hero {
    height: auto;
    min-height: calc(100svh - var(--header-h));
    max-height: none;
    padding: 28px 0;
  }
  .hero h1 {
    font-size: clamp(34px, 6vw, 52px);
    margin-bottom: 10px;
  }
  .hero-content > p {
    font-size: max(var(--type-body), 17px);
    margin-bottom: 6px;
  }
  .hero-content > p.hero-description {
    font-size: max(var(--type-body), 16px);
  }
}

/* phone numbers never break at their hyphens */

a[href^="tel:"] {
  white-space: nowrap;
}

/* ---------- Touch targets ----------
   Inline text links (phones, sites) are only ~17-20px tall.
   An invisible pseudo-element extends the tap area to ~44px
   without changing how the text looks or flows. */
.transfer-panel a:not(.transfer-button),
.local-phone a,
.contact-card a,
.supplier-escalation a {
  position: relative;
}
.transfer-panel a:not(.transfer-button)::after,
.local-phone a::after,
.contact-card a::after,
.supplier-escalation a::after {
  content: "";
  position: absolute;
  inset: -12px -4px;
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .hero-video {
    display: none;
  }
}

/* ---------- Project customization: Moshe Sharett ---------- */
.header-project {
  color: var(--blue);
  text-align: right;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: .01em;
}
.header-project small {
  display: block;
  margin-top: 4px;
  color: #666;
  font-size: 11px;
  font-weight: 400;
}
.hero.moshe-hero { background: #162b3b; }
.hero.moshe-hero .hero-video { object-position: center 48%; }
.header-project img { width: 120px; filter: brightness(.22); }
.hero.moshe-hero .hero-wash {
  background: linear-gradient(0deg, rgba(4, 13, 23, .76), rgba(4, 13, 23, .34));
}
.moshe-project-logo {
  position: absolute;
  z-index: 2;
  top: var(--edge);
  right: var(--edge);
  display: block;
  padding: 8px 10px;
  border-radius: 3px;
  background: rgba(3, 8, 13, .48);
}
.moshe-project-logo img {
  display: block;
  width: clamp(122px, 23vw, 180px);
  height: auto;
}
.project-gallery {
  background: #f5f5f3;
  padding-top: 58px;
  padding-bottom: 62px;
}
.render-gallery {
  display: block;
  max-width: var(--page);
  margin: 0 auto;
}
.project-gallery .chapter-heading h2 { grid-template-columns: 1fr; }
.project-gallery .chapter-heading > p { grid-column: 1; text-align: right; }
.render-stage {
  position: relative;
  overflow: hidden;
  background: transparent;
}
.render-slides {
  position: relative;
  aspect-ratio: 16 / 8.4;
}
.render-slides figure {
  position: absolute;
  inset: 0;
  display: block;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #e7e7e4;
  opacity: 0;
  visibility: hidden;
  transform: translateX(22px) scale(.985);
  transition: opacity .65s ease, transform .8s cubic-bezier(.2,.7,.2,1), visibility .65s;
  pointer-events: none;
}
.render-slides figure.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}
.render-slides img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
}
.render-slides figure.project-real-photo img {
  aspect-ratio: 16 / 8.4;
  object-fit: contain;
  background: transparent;
}
.render-slides figure.project-real-photo { background: transparent; }
.render-slides figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 32px 22px 17px;
  color: #fff;
  font-size: max(var(--type-body), 14px);
  background: linear-gradient(transparent, rgba(0,0,0,.67));
}
.render-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 50%;
  color: #fff;
  background: rgba(13, 27, 38, .52);
  cursor: pointer;
  transform: translateY(-50%);
}
.render-arrow:hover { background: rgba(13, 27, 38, .82); }
.render-arrow svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.render-prev { right: 16px; }
.render-next { left: 16px; }
.render-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 44px;
  color: #656660;
  font-size: 13px;
}
.render-dots { display: flex; direction: ltr; gap: 8px; }
.render-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #bcbdb8;
  cursor: pointer;
  transition: width .2s, background .2s;
}
.render-dots button.is-active { width: 23px; background: var(--orange); }
.render-arrow:focus-visible, .render-dots button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.check-item { grid-template-columns: 23px minmax(0, 1fr) 34.5px; }
.check-icon svg { padding: 0; }
.photo-credit {
  margin-top: 11px;
  color: #696a64;
  font-size: 11px;
  text-underline-offset: 2px;
}
.checklist-stage { margin-top: 28px; }
.checklist-stage + .checklist-stage {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.stage-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.stage-number {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--orange);
  border-radius: 50%;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
}
.stage-heading h3 {
  margin: 0 0 3px;
  color: var(--blue);
  font-size: clamp(23px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.15;
}
.stage-heading p {
  margin: 0;
  color: #686963;
  font-size: max(var(--type-body), 14px);
}
.check-item { grid-template-columns: 23px minmax(0, 1fr) 34.5px; }
.check-copy a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.property-details {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: max(var(--type-body), 14px);
}
.property-details strong { color: var(--blue); }
.post-handover-notes {
  display: grid;
  gap: 13px;
  margin-top: 16px;
}
.post-handover-notes article {
  padding: 18px;
  background: #f5f5f3;
}
.post-handover-notes h4 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: var(--type-subtitle);
}
.post-handover-notes p {
  margin: 0 0 8px;
  font-size: var(--type-body);
  line-height: 1.5;
}
.post-handover-notes p:last-child { margin-bottom: 0; }
.fine-print {
  color: #70716c;
  font-size: max(14px, calc(var(--type-body) * .86)) !important;
}
.local-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 18px;
}
.local-cards .local-card:first-child { border-top: 0; }
.surroundings-intro {
  max-width: 760px;
  margin: -5px auto 25px;
  color: #5e5f5a;
  font-size: var(--type-body);
  line-height: 1.5;
}
.contact {
  color: var(--ink);
  background: #08090b url("assets/images/atlit-contact-pattern.avif") center / auto 360px no-repeat;
  color: #fff;
}
.contact .chapter-heading {
  display: block;
  margin: 0 0 20px;
  padding: 0;
  background: transparent;
  text-align: center;
}
.contact .chapter-heading h2 {
  display: block;
  font-size: var(--type-display);
}
.contact-project-photo {
  width: 100%;
  height: clamp(150px, 22vw, 280px);
  margin: 0;
  overflow: hidden;
}
.contact-project-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: min(100%, 1000px);
}
.contact-grid .contact-card {
  width: 100%;
  padding: 23px 20px;
  border: 1px solid #e3e5e2;
  border-top: 3px solid rgba(245, 81, 51, .65);
  border-radius: 9px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 7px 24px rgba(20, 27, 31, .07);
  text-align: right;
}
.contact-grid .contact-card h3 {
  margin: 0 0 11px;
  color: var(--blue);
  font-size: clamp(23px, 3vw, 29px);
  font-weight: 600;
  line-height: 1.2;
}
.contact-kicker {
  display: block;
  margin-bottom: 7px;
  color: #777a76;
  font-size: 13px;
}
.contact-grid .contact-card p {
  margin: 0;
  color: #555a58;
  font-size: max(var(--type-body), 15px);
  line-height: 1.5;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}
.contact-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid #e5e7e4;
  border-radius: 24px;
  background: #f7f8f6;
  color: var(--blue);
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  text-decoration: none !important;
}
.contact-action:hover, .contact-action:focus-visible {
  border-color: #aeb5bb;
  background: #eef1f1;
}
.contact-action svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-person {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid #eceeeb;
  font-size: 15px;
}
.contact-person strong { color: #303639; font-weight: 500; }
.contact-person a {
  width: fit-content;
  color: var(--orange);
  text-decoration: none;
}
.contact-notice {
  width: min(100%, 1000px);
  margin: 15px auto 0;
  padding: 13px 17px;
  border-right: 3px solid rgba(245, 81, 51, .65);
  background: rgba(255, 255, 255, .95);
  color: #555a58;
}
@media (min-width: 701px) {
  .header-project { font-size: 20px; }
  .header-project small { font-size: 12px; }
  .header-project img { width: 140px; }
  .project-gallery { padding-top: 78px; padding-bottom: 84px; }
  .render-slides img { aspect-ratio: 16 / 7.4; }
  .checklist-panel { padding: 30px clamp(24px, 4vw, 58px); }
  .checklist-stage { margin-top: 38px; }
  .checklist-stage + .checklist-stage { padding-top: 38px; }
  .post-handover-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supplier-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .render-slides { aspect-ratio: 16 / 7.4; }
  .contact { background-size: cover; }
}


@media (prefers-reduced-motion: reduce) {
  .hero.moshe-hero .hero-video { display: none; }
  .hero.moshe-hero { background: #162b3b url("assets/images/moshe-exterior-1.webp") center / cover no-repeat; }
}

@media (min-width: 1300px) {
  .supplier-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* One consistent size for running copy. Heading hierarchy remains separate. */
p,
.check-copy > span,
.property-details,
.contact-person {
  font-size: var(--type-body) !important;
}
.fine-print { font-size: var(--type-body) !important; }

/* Keep project links clear and consistent. */
.check-copy a,
.transfer-panel a:not(.transfer-button),
.local-phone a,
.post-handover-notes a,
.contact a,
.supplier-escalation a,
.photo-credit {
  color: var(--orange) !important;
  text-decoration: none !important;
}
main a:not(.transfer-button):not(.chapter-nav a) {
  color: var(--orange) !important;
  text-decoration: none !important;
}

/* In this screen only, the two handover stage labels replace number badges. */
#receiving .stage-number { display: none; }
#receiving .stage-heading h3 { color: var(--orange); }

@media (prefers-reduced-motion: reduce) {
  .render-slides figure { transition: none; }
}
.render-stage { touch-action: pan-y; }
.contact .chapter-heading .chapter-title { color: #fff; }
.contact-action { font-size: var(--type-body); }

/* A compact cinematic pause, using the same placement as the source template. */
.moshe-video-break { height: 112px; }
@media (min-width: 701px) {
  .moshe-video-break { height: clamp(155px, 16vw, 220px); }
}
@media (prefers-reduced-motion: reduce) {
  .moshe-video-break {
    background: #071f2c url("assets/images/moshe-photo-facade.webp") center / cover no-repeat;
  }
  .moshe-video-break video { display: none; }
}

/* Match the source template's contact finish: dark pattern and one orange panel. */
.contact {
  color: #08090b;
  background: #08090b url("assets/images/atlit-contact-pattern.avif") center / auto 360px no-repeat;
}
.contact-panel {
  width: min(100%, 850px);
  padding: clamp(28px, 5.5vw, 72px) clamp(22px, 6vw, 85px);
  background: var(--orange);
  color: #08090b;
  text-align: center;
}
.contact-grid .contact-card + .contact-card {
  border-top: 1px solid rgba(8, 9, 11, .24);
}
.contact-panel .chapter-heading {
  margin: 0 0 22px;
  padding: 0;
  display: block;
  background: transparent;
  color: #08090b;
}
.contact-panel .chapter-heading h2,
.contact-panel .chapter-heading .chapter-title {
  display: block;
  color: #08090b;
  font-size: clamp(24px, 6.3vw, 30.6px);
}
@media (min-width: 701px) {
  .contact-panel .chapter-heading h2,
  .contact-panel .chapter-heading .chapter-title { font-size: 46px; }
}
.contact-grid {
  width: 100%;
  grid-template-columns: 1fr;
  gap: 18px;
}
.contact-grid .contact-card {
  width: 100%;
  padding: 12px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #08090b;
  text-align: center;
}
.contact-grid .contact-card h3 { color: #08090b; }
.contact-kicker { color: rgba(8, 9, 11, .74); }
.contact-grid .contact-card p { color: #08090b; }
.contact-person { border-color: rgba(8, 9, 11, .22); }
.contact-person strong { color: #08090b; }
#contact .contact-person {
  justify-items: center;
  text-align: center;
}
#contact .contact-person a { justify-self: center; }
#contact .contact-actions { justify-content: center; }
#contact a { color: #08090b !important; text-decoration: none !important; }
.contact-action {
  min-height: 0;
  padding: 5px 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #08090b;
}
.contact-action:hover,
.contact-action:focus-visible { background: transparent; border-color: transparent; }
#top .back-to-nav a { color: #08090b !important; }
.contact-notice {
  width: 100%;
  margin: 16px auto 0;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid rgba(8, 9, 11, .24);
  background: transparent;
  color: #08090b;
  text-align: center;
}
.contact-project-photo { height: clamp(130px, 16vw, 220px); }
.post-handover-notes article {
  padding: 20px;
  border: 1px solid #e5e5e2;
  border-radius: 5px;
  background: #fff;
}
#top .soundtrack-play { color: #08090b !important; }
.soundtrack-play-icon { fill: #08090b !important; }
@media (min-width: 701px) {
  .contact { background-size: cover; }
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid .contact-card + .contact-card {
    border-top: 0;
    border-right: 1px solid rgba(8, 9, 11, .24);
  }
}


/* Focused alignment and project footer refinements */
.tidhar-top {
  padding: 34px var(--edge) 42px;
  background: #f5f4f1;
}
.tidhar-top .chapter-heading { margin-bottom: 16px; text-align: center; }
.tidhar-contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 16px 28px;
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 22px 28px;
  border: 0;
  background: #fff;
  text-align: center;
}
.tidhar-contact-row p { margin: 0; line-height: 1.65; }
.tidhar-contact-row .transfer-button { grid-column: 1 / -1; justify-self: center; }
.tidhar-contact-row a:not(.transfer-button) { color: var(--orange); text-decoration: none; }
.nowrap-link { white-space: nowrap; }
.surroundings-intro { text-align: center; }
.post-handover-notes { grid-template-columns: 1fr; }
.post-handover-notes article { width: 100%; }
.contact {
  padding-top: 0;
  padding-bottom: clamp(34px, 6vw, 70px);
  color: #fff;
  background: #0b2936 url("assets/images/atlit-contact-pattern.avif") center / cover no-repeat;
}
.contact-panel {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(34px, 5.5vw, 66px) clamp(22px, 6vw, 80px) 30px;
  background: transparent;
  color: #fff;
  text-align: center;
}
.contact-panel .chapter-heading { text-align: center; }
.contact-panel .chapter-heading h2,
.contact-panel .chapter-heading .chapter-title { color: #fff; }
.contact-panel .chapter-heading p { max-width: 650px; margin: 14px auto 0; color: rgba(255,255,255,.9); }
.contact-grid { display: flex; justify-content: center; width: 100%; }
.contact-grid .contact-card {
  max-width: 640px;
  padding: 14px 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  text-align: center;
}
.contact-grid .contact-card h3,
.contact-grid .contact-card p,
.contact-kicker,
.contact-person strong { color: #fff; }
#contact a { color: var(--orange) !important; text-decoration: none !important; }
.contact-actions { justify-content: center; }
.contact-action { color: #fff; }
.contact-notice {
  width: min(100%, 640px);
  margin: 18px auto 0;
  padding: 18px 10px 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.92);
  text-align: center;
}
.contact-project-photo { height: clamp(160px, 23vw, 270px); }
.check-icon svg { width: 25px; height: 25px; }
@media (max-width: 700px) {
  .tidhar-contact-row { grid-template-columns: 1fr; gap: 12px; padding: 20px 16px; }
  .tidhar-contact-row .transfer-button { grid-column: auto; }
}

/* Final contact screen follows the supplied Israel Canada reference */
.contact {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(480px, 70vh, 700px);
  padding: clamp(38px, 7vw, 84px) var(--edge);
  color: #08090b;
  background-color: #050505;
  background-image: url("assets/images/atlit-contact-pattern.avif");
  background-position: center;
  background-size: auto 520px;
  background-repeat: repeat;
}
.contact-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(1064px, 90vw);
  min-height: 378px;
  margin: 0 auto;
  padding: clamp(38px, 6vw, 76px) clamp(24px, 7vw, 90px);
  background: var(--orange);
  color: #08090b;
  text-align: center;
}
.contact-panel h2 {
  margin: 0 0 32px;
  color: #08090b;
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.2;
}
.contact-details p {
  margin: 0 0 12px;
  color: #08090b;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.5;
}
.contact-details a {
  color: #08090b;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-footer {
  min-height: 158px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #08090b;
}
.site-footer img { width: 250px; max-width: 56vw; height: auto; }
@media (max-width: 700px) {
  .contact { min-height: 460px; background-size: auto 360px; }
  .contact-panel { width: 100%; min-height: 300px; }
  .contact-panel h2 { margin-bottom: 25px; }
  .site-footer { min-height: 120px; }
  .site-footer img { width: 190px; }
}

#contact .contact-details a { color: #08090b !important; text-decoration: underline !important; }


/* Simple centered Tidhar contact panel */
.tidhar-top {
  padding: clamp(30px, 5vw, 56px) var(--edge);
  background: #fff;
}
.tidhar-card {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) clamp(18px, 5vw, 60px);
  background: var(--orange);
  color: #08090b;
  text-align: center;
}
.tidhar-card h2 {
  margin: 0 0 10px;
  color: #08090b;
  font-size: clamp(27px, 3.8vw, 40px);
  line-height: 1.2;
}
.tidhar-card > p { margin: 0 0 24px; color: #08090b; }
.tidhar-contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
  width: min(100%, 680px);
  margin: 0 auto 24px;
}
.tidhar-contacts p {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0;
  line-height: 1.5;
}
.tidhar-contacts a { color: #08090b; text-decoration: underline; text-underline-offset: 3px; }
.tidhar-app-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  background: #08090b;
  color: #fff !important;
  text-decoration: none !important;
}
@media (max-width: 700px) {
  .tidhar-contacts { grid-template-columns: 1fr; gap: 18px; }
}

/* Keep the Moshe Sharett mark legible in the header */
.header-project img { width: 156px; height: 64px; filter: none; }
@media (min-width: 701px) {
  .header-project img { width: 196px; height: 76px; filter: none; }
}
/* Tidhar support belongs directly above the branded closing contact section. */
.tidhar-top {
  padding: clamp(30px, 5vw, 54px) var(--edge);
  background: #f5f4f1;
}
.tidhar-card {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(24px, 3.5vw, 38px) clamp(18px, 5vw, 54px);
  border: 1px solid #e9e4dc;
  border-top: 4px solid var(--orange);
  background: #fff;
  color: #202124;
  text-align: center;
  box-shadow: 0 8px 28px rgba(8, 9, 11, .045);
}
.tidhar-card h2 {
  margin: 0 0 8px;
  color: #202124;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.25;
}
.tidhar-card > p { margin: 0 0 22px; color: #626262; }
.tidhar-contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  width: min(100%, 720px);
  margin: 0 auto 22px;
}
.tidhar-contacts p {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 15px 18px;
  border: 1px solid #ece9e4;
  background: #faf9f7;
  line-height: 1.5;
}
.tidhar-contacts strong { color: #343434; }
.tidhar-contacts a { color: #c64b2c; text-decoration: none; }
.tidhar-contacts a:hover, .tidhar-contacts a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.tidhar-app-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid #d9d4ce;
  background: #fff;
  color: #282828 !important;
  text-decoration: none !important;
  transition: background-color .18s ease, border-color .18s ease;
}
.tidhar-app-link:hover, .tidhar-app-link:focus-visible { border-color: var(--orange); background: #fff8f4; }
@media (max-width: 700px) {
  .tidhar-contacts { grid-template-columns: 1fr; gap: 10px; }
}
/* The city photograph sits between Tidhar support and the patterned final panel. */
.contact-project-photo {
  width: 100%;
  height: clamp(180px, 27vw, 340px);
  margin: 0;
  overflow: hidden;
  background: #e8e6e1;
}
.contact-project-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  filter: none;
}
/* Give the opening statement the stronger emphasis used in the source template. */
.hero-content > p.hero-lead {
  max-width: 900px;
  font-size: clamp(21px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1.25;
}
/* Tighten the handoff into the closing contact area and match the template panel width. */
.suppliers { padding-bottom: 24px; }
.suppliers .back-to-nav { margin-top: 24px; }
.tidhar-top { padding-top: 22px; padding-bottom: 34px; }
.contact-panel { width: min(850px, 84vw); }
@media (max-width: 700px) {
  .suppliers { padding-bottom: 16px; }
  .suppliers .back-to-nav { margin-top: 18px; }
  .tidhar-top { padding-top: 18px; padding-bottom: 26px; }
  .contact-panel { width: 100%; }
}
/* Make the welcome lead visibly prominent like the template. */
.hero-content > p.hero-lead {
  max-width: 1000px;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 500;
  line-height: 1.2;
}
@media (max-width: 700px) {
  .hero-content > p.hero-lead { font-size: clamp(21px, 5.4vw, 27px); }
}
/* Match the hierarchy visible in the Atlit reference: lead between title and body. */
.hero-content > p.hero-lead {
  max-width: 1000px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
}
@media (max-width: 700px) {
  .hero-content > p.hero-lead { font-size: 22px; }
}

/* 21.10 review: hero body lines match the lead line size. */
.hero-content > p.hero-description { font-size: clamp(22px, 2.8vw, 30px) !important; line-height: 1.3; }

/* 21.10 review: larger, legible project logo in the header. */
.header-project img { width: 230px; height: 84px; }
@media (max-width: 1100px) {
  .header-project img { width: 180px; height: 66px; }
}
@media (max-width: 700px) {
  .header-project img { width: 175px; height: 64px; }
}
/* Taller header so the larger logos have breathing room. */
:root { --header-h: 88px; }
@media (min-width: 701px) {
  :root { --header-h: 108px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  :root { --header-h: 64px; }
  .header-project img { width: 140px; height: 50px; }
}

/* The stage divider below is enough; no second line under the last task. */
#beforeChecklist .check-item:last-child { border-bottom: 0; }

/* Property address closes the management task copy. */
.check-copy .task-address { display: block; margin-top: 8px; color: var(--ink); font-weight: 600; }

/* Water is already handled by the developer. */
.check-item:has(input:disabled) { cursor: default; }

/* Service details and buttons inside task copy, as in the Atlit template. */
.check-copy .task-service { display: block; margin-top: 8px; }
.check-copy .task-fine-print { display: block; margin-top: 8px; color: #70716c; }
.check-copy a.transfer-button { color: #000 !important; text-decoration: none !important; }
.check-copy .task-button { margin-top: 10px; }
.check-copy .provider-list { display: block; margin-top: 6px; }
.check-copy .provider-row { padding: 8px 0; }

/* Before-handover stage: section title above the orange stage label. */
#receiving .stage-intro {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: var(--type-subtitle) !important;
  font-weight: 600;
}

/* Legal links under the footer logo, as on the Israel Canada site. */
.site-footer { flex-direction: column; gap: 18px; padding: 28px 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; }
.footer-links a { color: #fff; font-size: 15px; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--orange); }

/* Footer contact links without underlines. */
#contact .contact-details a { text-decoration: none !important; }

/* Rich text from the CMS (task bodies) */
.check-copy .rich-text { display: block; }
.check-copy .rich-text p { margin: 0 0 1em; }
.check-copy .rich-text p:last-child { margin-bottom: 0; }
.check-copy .rich-text strong { font-size: inherit; font-weight: 600; color: var(--ink); }
