/* DANDA Design — site styles, matched to the approved mockups */

@font-face {
  font-family: "IBM Plex Sans Hebrew";
  src: url("/fonts/IBMPlexSansHebrew-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  src: url("/fonts/IBMPlexSansHebrew-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  src: url("/fonts/IBMPlexSansHebrew-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Hebrew";
  src: url("/fonts/IBMPlexSansHebrew-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("/fonts/LibreFranklin-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6f1e9;
  --sand: #eae1d3;
  --esp: #2e2621;
  --ch: #3a3734;
  --mute: #655c54;
  --line: #cdc2b2;
  --white: #ffffff;
  --wa: #3f6b55;
  --wa-on-dark: #a8c6b0;
  --wa-fab: #34a86e;
  --footer-mute: #c8beb2;
  --font: "IBM Plex Sans Hebrew", "Helvetica Neue", Arial, sans-serif;
  --logo: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --m: clamp(1.4rem, 6.67vw, 6.25rem);
  --gap: clamp(1rem, 1.7vw, 2.5rem);
  --header-h: 5.25rem;
  --max: 90rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: var(--font);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ch);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-weight: 200; color: var(--esp); margin: 0; line-height: 1.25; }
p { margin: 0; }

.skip {
  position: absolute;
  right: 1rem;
  top: -100px;
  background: var(--esp);
  color: var(--bg);
  padding: 0.6rem 1rem;
  z-index: 200;
}
.skip:focus { top: 1rem; }

/* ——— Wordmark ——— */
.wordmark {
  font-family: var(--logo);
  font-weight: 300;
  letter-spacing: 0.42em;
  direction: ltr;
  unicode-bidi: isolate;
  text-transform: uppercase;
  color: var(--esp);
  line-height: 1;
}
.wordmark-sub {
  font-family: var(--logo);
  font-weight: 300;
  letter-spacing: 0.46em;
  direction: ltr;
  unicode-bidi: isolate;
  text-transform: uppercase;
  font-size: 0.26em;
  margin-top: 0.7em;
  display: block;
  text-align: center;
}

/* ——— Header / nav ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
}
.header-inner {
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem var(--m) 1.15rem;
  max-width: var(--max);
  margin: 0 auto;
}
.logo {
  font-family: var(--logo);
  font-weight: 300;
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
  letter-spacing: 0.42em;
  direction: ltr;
  unicode-bidi: isolate;
  color: var(--esp);
  margin-left: -0.2em; /* optical: letter-spacing on last glyph */
}
.logo:hover { opacity: 0.7; }

.nav-desktop {
  display: none;
  direction: rtl;
  gap: clamp(1.4rem, 2.6vw, 2.7rem);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.35vw, 1.15rem);
  color: var(--ch);
}
.nav-desktop a {
  position: relative;
  padding-bottom: 0.2rem;
}
.nav-desktop a:hover { color: var(--esp); }
.nav-desktop a.is-active {
  font-weight: 400;
  color: var(--esp);
}
.nav-desktop a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -2px;
  height: 2px;
  background: var(--esp);
}

.nav-toggle {
  appearance: none;
  background: none;
  border: 0;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  color: var(--esp);
}
.nav-toggle span {
  display: block;
  width: 1.45rem;
  height: 2px;
  background: currentColor;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(45deg); }
.nav-toggle span { transition: transform 0.2s, opacity 0.2s; }

.nav-mobile {
  display: flex;
  flex-direction: column;
  padding: 0.5rem var(--m) 1.8rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a {
  padding: 0.85rem 0;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--esp);
  border-bottom: 1px solid var(--line);
}
.nav-mobile a.is-active { font-weight: 400; }

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .nav-toggle, .nav-mobile { display: none !important; }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 3.15rem;
  padding: 0 1.6rem;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1;
  border: 1.5px solid transparent;
  background: var(--esp);
  color: var(--bg);
  text-align: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
  white-space: nowrap;
}
.btn:hover { opacity: 0.9; }
.btn:focus-visible { outline: 2px solid var(--esp); outline-offset: 3px; }

.btn-outline {
  background: transparent;
  color: var(--esp);
  border-color: var(--esp);
}
.btn-outline:hover { background: var(--esp); color: var(--bg); opacity: 1; }

.btn-light {
  background: var(--bg);
  color: var(--esp);
  border-color: var(--bg);
}
.btn-light:hover { opacity: 0.92; }

.btn-wa {
  background: transparent;
  color: var(--wa);
  border-color: var(--wa);
}
.btn-wa:hover { background: rgba(63, 107, 85, 0.1); opacity: 1; }
.btn-wa .wa-ico { width: 1.05em; height: 1.05em; flex: none; display: block; }

.btn-wa.on-dark {
  color: var(--wa-on-dark);
  border-color: var(--wa-on-dark);
}
.btn-wa.on-dark:hover { background: rgba(168, 198, 176, 0.12); }
.btn-light:focus-visible,
.btn-wa.on-dark:focus-visible { outline-color: var(--bg); }

.btn-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: nowrap;
}
.btn-row > .btn { flex: 1 1 0; min-width: 0; }

/* ——— Hero (home) ——— */
.hero { padding: 0 0 clamp(3.5rem, 7vw, 6.5rem); }
.hero-frame {
  position: relative;
  margin: 0 var(--m);
  max-width: calc(var(--max) - 2 * 6.25rem);
  margin-inline: max(var(--m), calc((100% - var(--max) + 12.5rem) / 2));
}
.hero-frame > img {
  width: 100%;
  aspect-ratio: 2080 / 1300;
  object-fit: cover;
  object-position: 50% 55%;
}
.hero-panel {
  background: var(--bg);
  padding: clamp(1.4rem, 3.2vw, 3.2rem) clamp(1.2rem, 3.2vw, 3.2rem) 0;
}
.hero-panel .kicker {
  font-weight: 400;
  font-size: clamp(0.82rem, 1.3vw, 1.05rem);
  color: var(--mute);
  margin-bottom: 0.7em;
}
.hero-panel h1 {
  font-size: clamp(1.7rem, 3.85vw, 2.85rem);
  line-height: 1.28;
  max-width: 18ch;
}
@media (min-width: 800px) {
  .hero-panel {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(48%, 38rem);
    padding-bottom: 0;
  }
}

/* ——— Sections common ——— */
.section {
  padding: 0 var(--m) clamp(3.5rem, 8vw, 6.5rem);
  max-width: var(--max);
  margin: 0 auto;
}
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.65rem);
  text-align: start;
  margin-bottom: clamp(1.6rem, 4.2vw, 4.2rem);
}

/* ——— Services ——— */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.4rem, 4vw, 5rem) clamp(2rem, 3.3vw, 5rem);
}
.service-card img {
  width: 100%;
  aspect-ratio: 1000 / 900;
  object-fit: cover;
}
.service-card .service-head {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-top: 1.15rem;
  flex-direction: row;
}
.service-card .num {
  font-weight: 200;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  color: var(--mute);
  /* first in DOM → right side in RTL */
}
.service-card h3 {
  font-weight: 300;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}
.service-card p {
  margin: 0.7rem 0 1.25rem;
  color: var(--mute);
  font-weight: 300;
  font-size: clamp(0.98rem, 1.35vw, 1.15rem);
  line-height: 1.65;
}
@media (min-width: 800px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
}

/* ——— Studio / about ——— */
.studio {
  background: var(--sand);
  padding: clamp(3.2rem, 7vw, 6.5rem) var(--m);
}
.studio-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.8rem, 4vw, 4.5rem);
  align-items: center;
}
.studio .kicker {
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--mute);
  margin-bottom: 0.6rem;
}
.studio h2 {
  font-size: clamp(1.8rem, 3.3vw, 2.4rem);
  margin-bottom: 1.4rem;
}
.studio .copy p {
  margin-bottom: 1.05rem;
  font-size: clamp(0.98rem, 1.35vw, 1.15rem);
  line-height: 1.75;
  color: var(--ch);
  max-width: 42rem;
}
.studio .copy .btn { margin-top: 0.8rem; }
.studio-photo img {
  width: 100%;
  aspect-ratio: 910 / 983;
  object-fit: cover;
  object-position: 42% 66%;
}
@media (min-width: 900px) {
  .studio-inner {
    grid-template-columns: minmax(20rem, 1.15fr) minmax(16rem, 0.85fr);
    align-items: center;
  }
  /* RTL: first column (photo) on the right — we want photo on the LEFT.
     So put copy first in the DOM (right), photo second (left). */
}

/* ——— Featured projects ——— */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.featured-grid a { display: block; overflow: hidden; }
.featured-grid img {
  width: 100%;
  aspect-ratio: 490 / 780;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.featured-grid a:hover img { transform: scale(1.03); }
@media (min-width: 800px) {
  .featured-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ——— Projects index ——— */
.page-intro { padding-top: 0.4rem; }
.page-intro h1 {
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  margin-bottom: 0.8rem;
}
.page-intro .lede {
  color: var(--mute);
  font-size: clamp(0.98rem, 1.35vw, 1.15rem);
  max-width: 46rem;
  line-height: 1.65;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 5.5rem) clamp(1.6rem, 3.3vw, 5rem);
}
.project-card h2 {
  font-weight: 200;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  margin-top: 1.15rem;
}
.project-card p {
  color: var(--mute);
  margin: 0.45rem 0 1.1rem;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  line-height: 1.6;
}
.project-card img {
  width: 100%;
  aspect-ratio: 1000 / 668;
  object-fit: cover;
}
@media (min-width: 800px) {
  .project-grid { grid-template-columns: 1fr 1fr; }
}

/* ——— Project detail ——— */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--mute);
  font-size: 0.95rem;
  font-weight: 300;
  margin: 0 var(--m) 1.4rem;
  max-width: var(--max);
  width: calc(100% - 2 * var(--m));
  margin-inline: max(var(--m), calc((100% - var(--max) + 12.5rem) / 2));
}
.back-link .chev {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor; /* points right, back in RTL */
}
.back-link:hover { color: var(--esp); }

.project-head { padding-bottom: 0 !important; }
.project-head .kicker {
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--mute);
  margin-bottom: 0.55rem;
}
.project-head h1 {
  font-size: clamp(2rem, 3.8vw, 2.65rem);
  margin-bottom: 0.7rem;
}
.project-head .line {
  font-size: clamp(0.98rem, 1.35vw, 1.15rem);
  color: var(--ch);
  margin-bottom: clamp(1.4rem, 3.2vw, 2.4rem);
  max-width: 40rem;
}

.project-hero {
  margin: 0 var(--m) var(--gap);
  max-width: calc(var(--max) - 12.5rem);
  margin-inline: max(var(--m), calc((100% - var(--max) + 12.5rem) / 2));
}
.project-hero img,
.project-hero button {
  width: 100%;
  aspect-ratio: 2080 / 1180;
  object-fit: cover;
  border: 0;
  padding: 0;
  background: none;
  cursor: zoom-in;
  display: block;
}
.project-hero img { height: 100%; }

.gallery {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  margin: 0 var(--m) clamp(3rem, 7vw, 6rem);
  max-width: calc(var(--max) - 12.5rem);
  margin-inline: max(var(--m), calc((100% - var(--max) + 12.5rem) / 2));
}
.gal-row {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.gal-row a,
.gal-row button.gal-item {
  display: block;
  border: 0;
  padding: 0;
  background: none;
  cursor: zoom-in;
  width: 100%;
  overflow: hidden;
}
.gal-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 800px) {
  .gal-row { flex-direction: row; } /* RTL: first child on the right */
  .gal-row.trio > * { flex: 1 1 0; }
  .gal-row.trio img { aspect-ratio: 1 / 1.45; }
  .gal-row.lp .is-land { flex: 1 1 0; }
  .gal-row.lp .is-port { flex: 0 0 28%; }
  .gal-row.lp img { aspect-ratio: auto; height: 100%; }
  .gal-row.lp { align-items: stretch; }
  .gal-row.lp .is-port img { aspect-ratio: 0.68 / 1; }
  .gal-row.lp .is-land img { aspect-ratio: 1.55 / 1; }
  .gal-row.pair > * { flex: 1 1 0; }
  .gal-row.pair.both-p img { aspect-ratio: 1 / 1.35; }
  .gal-row.pair.not-both-p img { aspect-ratio: 1 / 0.68; }
  .gal-row.single-p { justify-content: flex-start; }
  .gal-row.single-p > * { width: 42%; flex: 0 0 42%; }
  .gal-row.single-p img { aspect-ratio: 0.68 / 1; }
  .gal-row.single-l img { aspect-ratio: 1 / 0.58; }
}

/* ——— Footer / contact CTA ——— */
.site-footer {
  background: var(--esp);
  color: var(--white);
  padding: clamp(3rem, 7vw, 5.5rem) var(--m) clamp(3rem, 6vw, 4.5rem);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column-reverse;
  gap: 2.4rem;
}
.footer-brand .wordmark,
.footer-brand .logo-lockup {
  color: var(--white);
  font-family: var(--logo);
  font-weight: 300;
  font-size: clamp(1.3rem, 2vw, 1.5rem);
  letter-spacing: 0.42em;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
.footer-brand .wordmark-sub { color: var(--white); font-size: 0.55rem; letter-spacing: 0.46em; margin-top: 0.65em; }
.footer-cta { flex: 1; }
.footer-lead {
  font-weight: 200;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.35;
  max-width: 22em;
  margin-bottom: 1.15rem;
}
.footer-contact {
  color: var(--footer-mute);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.5vw, 1.25rem);
  margin-bottom: 1.6rem;
}
.footer-contact a:hover { color: var(--white); }
.footer-actions {
  display: flex;
  gap: 0.85rem;
  max-width: 36rem;
}
.footer-actions .btn { flex: 1 1 0; height: 3.15rem; font-size: 1rem; }
.footer-form-wrap {
  margin-top: 2rem;
  max-width: 36rem;
}
.footer-form-wrap[hidden] { display: none; }

@media (min-width: 900px) {
  .footer-inner {
    flex-direction: row; /* RTL: first (CTA) on the right, brand on the left */
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
  }
  .footer-brand { padding-top: 0.4rem; min-width: 14rem; }
  /* In RTL row, first item (cta) is on the right. Brand is second → left.
     We want that. So DOM: cta then brand. */
}

/* Landing / simple footer (centered) */
.footer-simple {
  background: var(--esp);
  color: var(--footer-mute);
  text-align: center;
  padding: 3.2rem var(--m) 4.5rem;
}
.footer-simple .logo-lockup {
  color: var(--white);
  font-family: var(--logo);
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: 0.42em;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
.footer-simple .wordmark-sub { color: var(--white); }
.footer-simple .footer-contact { margin-top: 1.6rem; }

/* ——— Forms ——— */
.contact-block {
  padding: clamp(3rem, 7vw, 5rem) var(--m) clamp(3rem, 6vw, 4.5rem);
}
.contact-block.on-sand { background: var(--sand); }
.contact-block.on-bg { background: var(--bg); }
.contact-inner { max-width: 42rem; margin: 0 auto; }
@media (min-width: 800px) {
  .contact-inner { margin: 0; margin-right: auto; margin-left: auto; max-width: 40rem; }
  .landing .contact-inner { max-width: 36rem; }
}
.contact-block .kicker {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--mute);
  margin-bottom: 0.7rem;
}
.contact-block h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  line-height: 1.3;
  margin-bottom: 1.1rem;
  max-width: 18ch;
}
.contact-block .phone-prompt { color: var(--mute); margin-bottom: 0.35rem; }
.contact-block .phone-num {
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--esp);
  display: inline-block;
  margin-bottom: 0.7rem;
}
.contact-block .form-prompt { color: var(--mute); margin-bottom: 1.6rem; }

.contact-form label,
.footer-form-wrap label {
  display: block;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--mute);
  margin-bottom: 0.35rem;
}
.contact-form .field,
.footer-form-wrap .field { margin-bottom: 1.15rem; }
.contact-form input,
.contact-form textarea,
.footer-form-wrap input,
.footer-form-wrap textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--line);
  border-radius: 0;
  color: var(--esp);
  font-size: 1.05rem;
  font-weight: 300;
  padding: 0.55rem 0 0.7rem;
  outline: none;
}
.contact-form textarea,
.footer-form-wrap textarea {
  border: 1.5px solid var(--line);
  min-height: 8rem;
  padding: 0.7rem 0.8rem;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus,
.footer-form-wrap input:focus,
.footer-form-wrap textarea:focus { border-color: var(--esp); }
.honey {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.form-note {
  text-align: center;
  color: var(--mute);
  font-size: 0.82rem;
  margin-top: 1.1rem;
}
.form-status {
  margin-top: 1rem;
  font-size: 0.98rem;
  min-height: 1.4em;
}
.form-status.is-ok { color: var(--wa); }
.form-status.is-err { color: #8a3a32; }

.footer-form-wrap label { color: var(--footer-mute); }
.footer-form-wrap input,
.footer-form-wrap textarea {
  color: var(--white);
  border-color: #786c62;
}
.footer-form-wrap input:focus,
.footer-form-wrap textarea:focus { border-color: var(--bg); }
.footer-form-wrap .form-status.is-ok { color: var(--wa-on-dark); }
.footer-form-wrap .form-status.is-err { color: #e8b4ae; }
.footer-form-wrap .btn-row { margin-top: 0.4rem; }

/* ——— Landing pages ——— */
.landing { overflow-x: hidden; }
.landing-wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.2rem var(--m) 0;
}
@media (min-width: 900px) {
  .landing-wrap { max-width: 44rem; padding-inline: 0; }
}
.landing-kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--mute);
  margin-bottom: 0.8rem;
}
.landing-kicker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.landing-wrap h1 {
  font-size: clamp(2rem, 7vw, 3.15rem);
  line-height: 1.22;
  margin-bottom: 1.4rem;
}
.landing-hero-img {
  margin: 0;
  /* bleed slightly like the mockup (left-aligned, right padded) is mobile-specific;
     on the real site we keep it full-width within the wrap, and allow a slight bleed on small screens. */
}
.landing-hero-img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.landing-wrap .lede {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.7;
  color: var(--ch);
  margin: 1.6rem 0 1.5rem;
}
.landing-wrap > .btn { margin-bottom: 3rem; }

.pkg-head { margin: 0.5rem 0 1.6rem; }
.pkg-head .kicker { font-weight: 400; font-size: 0.9rem; color: var(--mute); margin-bottom: 0.4rem; }
.pkg-head h2 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); }

.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li {
  border-top: 1px solid var(--line);
  padding: 1.15rem 0 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 1.2rem;
  align-items: start;
}
.svc-list li:last-child { border-bottom: 1px solid var(--line); }
.svc-list .num {
  font-weight: 200;
  font-size: 1.35rem;
  color: var(--mute);
  grid-row: 1 / span 2;
  line-height: 1.3;
  min-width: 2.2rem;
}
.svc-list h3 { font-weight: 400; font-size: 1.2rem; line-height: 1.35; }
.svc-list p { color: var(--mute); font-size: 1rem; line-height: 1.6; }

/* contractor mid photo pair */
.photo-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin: 2rem 0;
  position: relative;
}
.photo-pair .caption {
  color: var(--mute);
  font-weight: 200;
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}
.photo-pair img { width: 100%; object-fit: cover; }
.photo-pair .tall { aspect-ratio: 600 / 860; }
.photo-pair .short { aspect-ratio: 400 / 600; }
@media (min-width: 640px) {
  .photo-pair {
    grid-template-columns: 1fr 1.4fr;
    align-items: end;
  }
  /* RTL: first (caption+short) on the right — we want short on LEFT, tall on RIGHT.
     DOM: tall first (right), then the left stack. */
}

.bleed-img { margin: 2rem calc(var(--m) * -1) 0.6rem; }
.bleed-img img { width: 100%; aspect-ratio: 16 / 7.2; object-fit: cover; }
.img-caption {
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--mute);
  margin: 0.6rem 0 1.2rem;
}
.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin: 0.4rem 0 1.2rem;
}
.two-up img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; }
.single-img { margin: 0.4rem 0 2rem; }
.single-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Renovation cinematic hero */
.reno-hero {
  position: relative;
  color: var(--white);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.reno-hero .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.reno-hero .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% 50%;
}
.reno-hero .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 25, 22, 0.92) 0%, rgba(30, 25, 22, 0.55) 42%, rgba(30, 25, 22, 0.15) 70%, rgba(30, 25, 22, 0.2) 100%);
}
.reno-hero .site-header {
  position: relative;
  z-index: 2;
  background: transparent;
}
.reno-hero .logo,
.reno-hero .nav-toggle,
.reno-hero .nav-desktop a { color: var(--white); }
.reno-hero .nav-desktop a.is-active::after { background: var(--white); }
.reno-hero .nav-toggle span { background: var(--white); }
.reno-hero-copy {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 3rem var(--m) 3.5rem;
  max-width: 46rem;
  margin-right: 0;
  width: 100%;
}
@media (min-width: 900px) {
  .reno-hero-copy { max-width: 44rem; margin-right: auto; margin-left: auto; padding-inline: 0; padding-bottom: 4.5rem; }
}
.reno-hero-copy .kicker { color: #e1d7c8; font-weight: 400; font-size: 0.95rem; margin-bottom: 0.7rem; }
.reno-hero-copy h1 { color: var(--white); font-size: clamp(2.1rem, 6.5vw, 3.2rem); margin-bottom: 1rem; }
.reno-hero-copy .lede { color: #ebe4da; font-weight: 300; font-size: clamp(1.02rem, 2vw, 1.2rem); line-height: 1.65; margin-bottom: 1.5rem; max-width: 28em; }

/* Process timeline */
.timeline { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  bottom: 1.15rem;
  right: 6px;
  width: 1.5px;
  background: var(--line);
}
.timeline li {
  position: relative;
  padding-right: 2.4rem;
  padding-bottom: 1.8rem;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline .dot {
  position: absolute;
  right: 0;
  top: 0.85rem;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--esp);
  border-radius: 50%;
  background: var(--bg);
  z-index: 1;
}
.timeline .step-label {
  font-weight: 300;
  font-size: 0.88rem;
  color: var(--mute);
}
.timeline h3 { font-weight: 400; font-size: 1.25rem; margin: 0.15rem 0 0.25rem; }
.timeline p { color: var(--mute); font-size: 1rem; }

.timeline-photos { margin: 1.8rem 0 2.2rem; }
.timeline-photos .wide { margin-bottom: 0.55rem; }
.timeline-photos .wide img { width: 100%; aspect-ratio: 16 / 9.5; object-fit: cover; }
.timeline-photos .two-up { margin: 0; }

/* From the projects (reno dark band) */
.from-projects {
  background: var(--esp);
  color: var(--white);
  padding: clamp(3rem, 6vw, 4.5rem) var(--m) clamp(3.5rem, 7vw, 5.5rem);
}
.from-projects-inner { max-width: 46rem; margin: 0 auto; }
.from-projects .kicker { color: var(--footer-mute); font-weight: 400; font-size: 0.9rem; margin-bottom: 0.6rem; }
.from-projects h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 1.8rem; }
.from-proj-photos {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0.7rem;
  align-items: end;
}
.from-proj-photos .port img { width: 100%; aspect-ratio: 560 / 840; object-fit: cover; }
.from-proj-photos .land img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
/* RTL: first (port) on the right — matches mockup (tall bath on the right). */

/* ——— WhatsApp FAB ——— */
.wa-fab {
  position: fixed;
  left: max(1.1rem, env(safe-area-inset-left, 0px) + 1.1rem);
  bottom: max(1.1rem, env(safe-area-inset-bottom, 0px) + 1.1rem);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--wa-fab);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 45;
  box-shadow: 0 2px 10px rgba(46, 38, 33, 0.18);
  transition: transform 0.15s, box-shadow 0.15s;
}
.wa-fab:hover { transform: scale(1.06); box-shadow: 0 4px 14px rgba(46, 38, 33, 0.22); }
.wa-fab:focus-visible { outline: 2px solid var(--esp); outline-offset: 3px; }
.wa-fab svg { width: 22px; height: 22px; }
@media (min-width: 800px) {
  .wa-fab { width: 52px; height: 52px; left: 1.5rem; bottom: 1.5rem; }
  .wa-fab svg { width: 26px; height: 26px; }
}

/* ——— Lightbox ——— */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 14, 0.94);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 3.5rem 4rem;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}
.lightbox .lb-btn {
  position: absolute;
  background: none;
  border: 0;
  color: var(--bg);
  font-size: 1.8rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}
.lightbox .lb-btn:hover { opacity: 1; }
.lightbox .lb-close { top: 0.6rem; left: 0.6rem; font-size: 2rem; }
.lightbox .lb-prev { right: 0.3rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { left: 0.3rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count {
  position: absolute;
  bottom: 0.9rem;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--footer-mute);
  font-size: 0.9rem;
}

/* ——— Body scroll lock ——— */
body.nav-open { overflow: hidden; }
body.lb-open { overflow: hidden; }

/* ——— Utilities ——— */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

/* Renovation page: nav overlays the cinematic hero, solid after scroll */
body.reno .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
}
body.reno .site-header .logo,
body.reno .site-header .nav-toggle,
body.reno .site-header .nav-desktop a { color: #fff; }
body.reno .site-header .nav-toggle span { background: #fff; }
body.reno .site-header .nav-desktop a.is-active::after { background: #fff; }
body.reno .site-header.is-solid,
body.reno.nav-open .site-header {
  position: sticky;
  background: var(--bg);
}
body.reno .site-header.is-solid .logo,
body.reno .site-header.is-solid .nav-toggle,
body.reno .site-header.is-solid .nav-desktop a,
body.reno.nav-open .site-header .logo,
body.reno.nav-open .site-header .nav-toggle,
body.reno.nav-open .site-header .nav-desktop a { color: var(--esp); }
body.reno .site-header.is-solid .nav-toggle span,
body.reno.nav-open .site-header .nav-toggle span { background: var(--esp); }
body.reno .site-header.is-solid .nav-desktop a.is-active::after,
body.reno.nav-open .site-header .nav-desktop a.is-active::after { background: var(--esp); }
body.reno .nav-mobile { background: var(--bg); }
body.reno.nav-open .nav-mobile a { color: var(--esp); }
body.reno .reno-hero { min-height: 100svh; }

/* Contractor photo pair: tall living on the right, caption top-left, bath lower-left */
.photo-pair {
  display: grid;
  gap: 0.8rem 1rem;
  margin: 2.2rem 0 2.4rem;
  position: relative;
}
.photo-pair .tall img { width: 100%; aspect-ratio: 600 / 860; object-fit: cover; }
.photo-pair .short img { width: 100%; aspect-ratio: 400 / 600; object-fit: cover; }
.photo-pair .caption {
  color: var(--mute);
  font-weight: 200;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.3;
}
@media (min-width: 640px) {
  .photo-pair {
    grid-template-columns: 1.35fr 0.9fr; /* RTL: col1 (tall) on the right, wider */
    grid-template-rows: auto 1fr auto;
  }
  .photo-pair .tall { grid-column: 1; grid-row: 1 / -1; }
  .photo-pair .caption { grid-column: 2; grid-row: 1; }
  .photo-pair .short { grid-column: 2; grid-row: 3; }
}

.from-proj-photos { align-items: end; }
.from-proj-photos .land { padding-bottom: 15%; }

@media (min-width: 800px) {
  .btn { height: 3.35rem; font-size: 1.1rem; }
  .footer-actions .btn { height: 3.35rem; }
}

/* Centered footer (requested 22.11.2026) */
.site-footer .footer-inner { flex-direction: column-reverse !important; align-items: center !important; justify-content: center !important; text-align: center; gap: 2.4rem; }
.site-footer .footer-brand { text-align: center; min-width: 0; padding-top: 0; }
.site-footer .footer-brand .wordmark-sub { text-align: center; }
.site-footer .footer-cta { width: 100%; display: flex; flex-direction: column; align-items: center; }
.site-footer .footer-lead { margin-left: auto; margin-right: auto; text-align: center; }
.site-footer .footer-contact { text-align: center; }
.site-footer .footer-actions { width: 100%; margin-left: auto; margin-right: auto; justify-content: center; }
.site-footer .footer-form-wrap { width: 100%; margin-left: auto; margin-right: auto; text-align: right; }
.site-footer .footer-brand .logo-lockup { padding-left: 0.42em; }
.site-footer .footer-brand .wordmark-sub { display: block; padding-left: 0.46em; }

/* Mobile hero fills first screen (requested 22.11.2026) */
@media (max-width: 799px) {
  .hero {
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
    display: flex; flex-direction: column;
    padding-bottom: 2rem;
  }
  .hero-frame { flex: 1 1 auto; display: flex; flex-direction: column; }
  .hero-frame > img { flex: 1 1 auto; min-height: 0; max-height: 62svh; height: 100%; aspect-ratio: auto; object-position: 100% 70%; }
  .hero-panel { flex: 0 0 auto; padding-bottom: 0; }
}

/* Contractor page tidy (22.11.2026) */
.photo-pair { grid-template-columns: 1fr 1fr !important; grid-template-rows: auto !important; gap: 0.7rem !important; align-items: stretch !important; margin: 2rem 0 2.4rem !important; }
.photo-pair figure, .photo-pair .tall, .photo-pair .short { margin: 0; grid-column: auto !important; grid-row: auto !important; aspect-ratio: auto !important; overflow: hidden; }
.photo-pair .tall img, .photo-pair .short img { width: 100%; height: 100%; aspect-ratio: 3 / 4 !important; object-fit: cover; display: block; }
.gallery { display: grid; gap: 0.7rem; margin: 2.4rem 0 3rem; }
.gallery .single-img, .gallery .two-up { margin: 0; }
.gallery .single-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.gallery .two-up { gap: 0.7rem; }
.gallery .two-up img { aspect-ratio: 3 / 4; display: block; }

/* Renovation "from projects" uniform grid (22.11.2026) */
.from-projects-inner { max-width: 60rem; }
.from-proj-photos.grid6 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; align-items: stretch; }
.from-proj-photos.grid6 figure { margin: 0; padding: 0 !important; }
.from-proj-photos.grid6 img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
@media (min-width: 800px) { .from-proj-photos.grid6 { grid-template-columns: repeat(3, 1fr); gap: 0.9rem; } }

/* Home cinematic hero (22.11.2026) */
body.home-hero .reno-hero .bg img { object-position: 30% 50%; }
@media (min-width: 900px) { body.home-hero .reno-hero .bg img { object-position: 50% 55%; } }
body.home-hero main > .reno-hero { margin-bottom: clamp(3.5rem, 7vw, 6.5rem); }

/* Studio photo burgundy-brown frame */
.studio-photo img { border: clamp(8px, 1.4vw, 14px) solid #6b352b; box-sizing: border-box; }


/* ——— Legal pages, footer legal links, a11y focus (22.11.2026) ——— */
:focus-visible {
  outline: 2px solid var(--esp);
  outline-offset: 3px;
}
.skip:focus,
.skip:focus-visible {
  top: 1rem;
  outline: 2px solid var(--bg);
  outline-offset: 2px;
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--esp);
  outline-offset: 2px;
}
.footer-form-wrap input:focus-visible,
.footer-form-wrap textarea:focus-visible,
.btn-light:focus-visible,
.btn-wa.on-dark:focus-visible,
.site-footer a:focus-visible,
.footer-simple a:focus-visible,
.lightbox .lb-btn:focus-visible,
.wa-fab:focus-visible {
  outline-color: var(--bg);
}
/* When the reno header sits over the hero (not solid, nav closed) use a light ring */
body.reno:not(.nav-open) .site-header:not(.is-solid) a:focus-visible,
body.reno:not(.nav-open) .site-header:not(.is-solid) button:focus-visible {
  outline-color: #fff;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin-top: 2.1rem;
  font-size: 0.92rem;
  color: var(--footer-mute);
  line-height: 1.5;
}
.footer-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.footer-legal a:hover,
.footer-legal a[aria-current="page"] { color: var(--white); }
.footer-copy {
  margin-top: 0.85rem;
  text-align: center;
  color: var(--footer-mute);
  font-size: 0.88rem;
}
.site-footer { padding-bottom: clamp(3.4rem, 7vw, 5.2rem); }
.site-footer .footer-legal { margin-top: 2.4rem; }

.form-privacy {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--mute);
  margin: 0.15rem 0 1.15rem;
}
.form-privacy a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.footer-form-wrap .form-privacy { color: var(--footer-mute); }
.field-error {
  color: #8a3a32;
  font-size: 0.88rem;
  margin: 0.3rem 0 0;
}
.footer-form-wrap .field-error { color: #e8b4ae; }
.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] { border-color: #8a3a32; }
.footer-form-wrap input[aria-invalid="true"],
.footer-form-wrap textarea[aria-invalid="true"] { border-color: #e8b4ae; }

.legal-main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.6rem var(--m) 4.8rem;
}
.legal-main h1 {
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  margin-bottom: 0.55rem;
}
.legal-meta {
  color: var(--mute);
  margin-bottom: 2rem;
}
.legal-main h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  margin: 2.15rem 0 0.7rem;
}
.legal-main h3 {
  font-size: 1.12rem;
  font-weight: 400;
  margin: 1.35rem 0 0.4rem;
}
.legal-main p,
.legal-main li {
  margin-bottom: 0.85rem;
}
.legal-main ul,
.legal-main ol {
  margin: 0 0 1rem;
  padding-right: 1.3rem;
}
.legal-main a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
.legal-main a:hover { color: var(--esp); }

/* Prevent horizontal overflow / sideways drift on mobile */
html, body { max-width: 100%; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
.contact-form { position: relative; }
.contact-form .honey { right: 0 !important; left: auto !important; top: 0 !important; width: 1px !important; min-width: 0 !important; max-width: 1px !important; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0 !important; }
.landing-hero-img.landing-wrap { margin-inline: auto; }
body.reno .from-projects { margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { body.contractor-page .reno-hero .bg img { object-position: 50% 62%; } }
