/* ==========================================================================
   כחול עתלית — 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;
  }
}
