/* SHARON MAOR — final visual design system. RTL, logical properties throughout.
   The palette applies to the interface only: photographs are never filtered, tinted or overlaid. */

/* ---------- Fonts (self-hosted variable woff2, real weights only) ---------- */
@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/frank-ruhl-libre-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Frank Ruhl Libre";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/frank-ruhl-libre-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/heebo-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/heebo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #F2E8D8;
  --surface: #FAF5EC;

  --bronze: #A87432;
  --bronze-hover: #805522;
  --accent-line: #C49A59;

  --text: #30251B;
  --muted: #625648;
  --text-on-bronze: #FFF8ED;

  --line: #D8BE97;

  --font-head: "Frank Ruhl Libre", "Times New Roman", serif;
  --font-body: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --max: 1440px;
  --gutter: 20px;
  --section: 64px;
  --gap: 16px;
  --header-h: 76px;
}
@media (min-width: 768px) {
  :root { --gutter: 28px; --section: 80px; --gap: 20px; --header-h: 88px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 48px; --section: 96px; --gap: 24px; --header-h: 100px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.125rem; /* 18px */
  font-weight: 400;
  line-height: 1.7;
}
@media (min-width: 1024px) { body { font-size: 1.1875rem; } } /* 19px */

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.18;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-weight: 700; font-size: clamp(2.375rem, 1.85rem + 2.4vw, 3.75rem); }   /* 38px → 60px */
h2 { font-weight: 700; font-size: clamp(1.75rem, 1.55rem + 0.9vw, 2.25rem); }    /* 28px → 36px */
h3 { font-weight: 700; font-size: clamp(1.5rem, 1.38rem + 0.5vw, 1.875rem); line-height: 1.25; } /* 24px → 30px */
p { margin: 0 0 1em; }
a { color: var(--bronze-hover); text-underline-offset: 0.2em; }
a:hover { color: var(--text); }
img, picture, video { display: block; max-width: 100%; }
img { height: auto; border-radius: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--bronze-hover); outline-offset: 3px; }
main:focus { outline: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; inset-inline-start: 12px; top: -90px; z-index: 100;
  background: var(--text); color: var(--text-on-bronze); padding: 12px 18px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--text-on-bronze); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.lead { font-size: 1.06em; max-width: 34em; }
.eyebrow, .h-sub { font-size: 1.0625rem; color: var(--muted); margin: 0 0 0.6em; }
.h-sub { margin-top: -0.2em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 8px 30px;
  border: 1px solid var(--bronze); border-radius: 0;
  font-family: var(--font-body); font-size: 1.1875rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn--primary { background: var(--bronze); color: var(--text-on-bronze); }
.btn--primary:hover { background: var(--bronze-hover); border-color: var(--bronze-hover); color: var(--text-on-bronze); }
.btn--secondary { background: transparent; color: var(--text); border-color: var(--accent-line); font-weight: 600; }
.btn--secondary:hover { background: var(--surface); color: var(--text); border-color: var(--bronze); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header: full-width bronze bar ---------- */
.site-header { position: relative; z-index: 20; background: var(--bronze); color: var(--text-on-bronze); }
.site-header :focus-visible { outline-color: var(--text-on-bronze); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 24px;
}
.brand { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--text); line-height: 1.2; }
.brand:hover { color: var(--text); }
.brand__name { font-family: var(--font-head); font-size: 1.625rem; letter-spacing: 0.12em; font-weight: 700; }
.brand__desc { font-size: 1rem; color: var(--muted); }
.site-header .brand, .site-header .brand:hover, .site-header .brand__desc { color: var(--text-on-bronze); }
@media (min-width: 1024px) { .brand__name { font-size: 2rem; } } /* 32px */

.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 16px;
  background: none; border: 1px solid var(--text-on-bronze); border-radius: 0;
  font: inherit; font-size: 1.0625rem; font-weight: 600; color: var(--text-on-bronze); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; content: "";
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }

.site-nav {
  display: none;
  position: absolute; inset-inline: 0; top: 100%;
  background: var(--bronze); border-top: 1px solid var(--accent-line);
  padding: 4px var(--gutter) 20px;
}
.site-nav.is-open { display: block; }
.site-nav a {
  display: flex; align-items: center; min-height: 56px;
  color: var(--text-on-bronze); text-decoration: none; font-size: 1.0625rem; font-weight: 600;
  border-bottom: 1px solid var(--accent-line);
}
.site-nav li:last-child a { border-bottom: 0; }
.site-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.site-nav a[aria-current="page"] {
  text-decoration: underline; text-decoration-color: var(--surface);
  text-decoration-thickness: 2px; text-underline-offset: 0.35em;
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; padding: 0; border: 0; background: none; }
  .site-nav ul { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 44px); }
  .site-nav a {
    position: relative; min-height: 48px; border: 0; white-space: nowrap;
  }
  .site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: none; }
  .site-nav a::after {
    content: ""; position: absolute; inset-inline: 0; bottom: 6px; height: 2px;
    background: var(--surface); opacity: 0; transition: opacity 0.2s;
  }
  .site-nav a:hover::after, .site-nav a[aria-current="page"]::after { opacity: 1; }
}

/* ---------- Figures (no filters, overlays, tints, shadows or rounded corners) ---------- */
.fig { position: relative; margin: 0; overflow: hidden; background: var(--surface); }
.fig picture, .fig img { width: 100%; }
.fig[class*="ratio-"] picture, .fig[class*="ratio-"] img { height: 100%; object-fit: cover; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-11 { aspect-ratio: 1 / 1; }
.ratio-32 { aspect-ratio: 3 / 2; }
.pos-top picture, .pos-top img { object-position: 50% 0; }

.tag-render, .tag-stage {
  position: absolute; inset-inline-start: 0;
  font-size: 1rem; font-weight: 600; line-height: 1; padding: 9px 14px;
}
.tag-render { bottom: 0; background: var(--surface); color: var(--text); }
.tag-stage { top: 0; background: var(--bronze-hover); color: var(--text-on-bronze); }

/* ---------- Breadcrumb ---------- */
.crumbs { margin-bottom: 18px; font-size: 1rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; color: var(--accent-line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { padding-block: 32px var(--section); }
.hero__grid { display: grid; gap: 32px; }
.hero__text { align-self: center; }
.hero__text .btn, .hero__text .btn-row { margin-top: 12px; }
.hero__sub {
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.5rem, 1.38rem + 0.5vw, 1.875rem);
  color: var(--bronze-hover); margin-bottom: 0.7em;
}
.hero__media { min-width: 0; }

/* Home hero: three photographs inside one exact square.
   DOM order = large image first, so in RTL it sits on the right and the two small ones stack on the left. */
.hero--home .hero__media {
  display: grid;
  grid-template-columns: minmax(0, 66fr) minmax(0, 34fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  aspect-ratio: 1 / 1;
  width: 100%;
}
.hero--home .hero__media .fig { min-width: 0; min-height: 0; }
.hero--home .hero__media .fig picture,
.hero--home .hero__media .fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__main { grid-row: 1 / 3; }

.hero__single { aspect-ratio: 4 / 5; max-height: 80vh; width: 100%; }
.hero__single picture, .hero__single img { height: 100%; object-fit: cover; }

@media (min-width: 900px) {
  .hero { padding-block: 56px var(--section); }
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 88px); }
  .hero--page .hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}

.facts {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; padding-top: 18px;
  border-top: 1px solid var(--line); font-size: 1.0625rem; color: var(--text);
}
.facts li + li { padding-inline-start: 22px; border-inline-start: 1px solid var(--accent-line); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); border-top: 1px solid var(--line); }
.section--tight { padding-top: 0; border-top: 0; }
.section__head { max-width: 46em; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head p:last-child { margin-bottom: 0; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center p { margin-inline: auto; max-width: 38em; }
.section__cta { margin: clamp(28px, 4vw, 44px) 0 0; text-align: center; }

.row { display: grid; gap: var(--gap); }
@media (min-width: 600px) { .row--3 { grid-template-columns: repeat(2, 1fr); } .row--3 > :last-child { grid-column: 1 / -1; max-width: calc((100% - var(--gap)) / 2); width: 100%; justify-self: center; } }
@media (min-width: 900px) { .row--3 { grid-template-columns: repeat(3, 1fr); } .row--3 > :last-child { grid-column: auto; max-width: none; } }

/* Home portfolio mosaic */
.mosaic {
  display: grid; gap: var(--gap);
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "b b" "a e" "c d";
}
.mosaic .fig picture, .mosaic .fig img { height: 100%; object-fit: cover; }
.mosaic__a { grid-area: a; aspect-ratio: 3 / 4; }
.mosaic__b { grid-area: b; aspect-ratio: 3 / 2; }
.mosaic__c { grid-area: c; aspect-ratio: 1; }
.mosaic__d { grid-area: d; aspect-ratio: 1; }
.mosaic__e { grid-area: e; aspect-ratio: 3 / 4; }
@media (min-width: 900px) {
  .mosaic {
    grid-template-columns: 1fr 1.3fr 1.3fr 1fr;
    grid-template-rows: repeat(2, clamp(190px, 21vw, 310px));
    grid-template-areas: "a b b e" "a c d e";
  }
  .mosaic .fig { aspect-ratio: auto; }
}

/* Image + text split */
.split__grid { display: grid; gap: 32px; align-items: center; }
.split__text p { max-width: 32em; }
.split__media { aspect-ratio: 4 / 5; }
.split__media picture, .split__media img { height: 100%; object-fit: cover; object-position: 50% 12%; }
@media (min-width: 900px) {
  .split__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); }
}

/* Call to action */
.cta { text-align: center; background: var(--surface); }
.cta__inner { max-width: 860px; }
.cta__inner > p { max-width: 36em; margin-inline: auto; }
.cta .btn { margin-top: 14px; }
.cta__contacts {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px;
  margin-top: 36px !important; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 1.0625rem;
}

/* Simple page head */
.page-head { padding-block: 48px clamp(32px, 5vw, 56px); }

/* ---------- What's New: project groups with aligned grids ---------- */
.project__head { display: grid; gap: 32px; align-items: center; margin-bottom: var(--gap); }
.project__text p:last-child { margin-bottom: 0; }
.project__title {
  padding-bottom: 14px; margin-bottom: 0.7em; position: relative;
}
.project__title::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 48px; height: 2px; background: var(--accent-line);
}
@media (min-width: 900px) {
  .project__head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); margin-bottom: var(--section); }
}
.project__wide { margin-bottom: var(--gap); }
.gallery { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Restoration ---------- */
.two-col { display: grid; gap: 32px; }
.two-col__media { margin-top: 20px; max-width: 420px; }
.prose p { max-width: 40em; }
@media (min-width: 900px) {
  .two-col { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
}

.treatments { counter-reset: t; display: grid; border-top: 1px solid var(--line); }
.treatments li {
  counter-increment: t; display: grid; grid-template-columns: 2.8em 1fr; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.treatments li::before {
  content: counter(t, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 700; color: var(--bronze-hover); font-size: 1.25rem;
}
@media (min-width: 900px) {
  .treatments { grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 6vw, 96px); }
}

.process { display: grid; gap: 0; }
.process__step { position: relative; padding: 24px 0; padding-inline-start: 68px; border-top: 1px solid var(--line); }
.process__num {
  position: absolute; inset-inline-start: 0; top: 24px;
  display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid var(--accent-line); border-radius: 50%;
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--bronze-hover);
}
.process__step h3 { margin-bottom: 0.3em; }
.process__short { font-weight: 600; margin-bottom: 0.5em; }
.process__detail { margin: 0; }
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); }
  .process__step { padding: 80px 0 0; border-top: 2px solid var(--accent-line); }
  .process__num { top: 18px; }
}

.video-block { display: grid; gap: 32px; margin-top: var(--section); padding-top: var(--section); border-top: 1px solid var(--line); align-items: center; }
.video-block__video { width: 100%; max-width: 360px; height: auto; background: var(--text); margin-inline: auto; }
@media (min-width: 900px) {
  .video-block { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); }
}

.pair { display: grid; gap: var(--gap); margin-bottom: var(--gap); }
.pair .fig { aspect-ratio: 16 / 10; }
.pair .fig picture, .pair .fig img { height: 100%; object-fit: cover; }
.stages { display: grid; gap: var(--gap); }
@media (min-width: 600px) { .pair, .stages { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .stages { grid-template-columns: repeat(3, 1fr); } }

.faq-wrap { max-width: 1040px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: clamp(1.5rem, 1.42rem + 0.3vw, 1.625rem); }
.faq summary::after {
  content: "+"; flex: none; font-size: 1.75rem; line-height: 1; color: var(--bronze-hover); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 0 24px; max-width: 44em; }

/* ---------- Portfolio: structured grid on a fixed row unit ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.filter {
  min-height: 48px; padding: 8px 20px;
  background: transparent; border: 1px solid var(--accent-line); border-radius: 0;
  font: inherit; font-size: 1.0625rem; font-weight: 500; color: var(--text); cursor: pointer; text-align: start;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filter:hover { background: var(--surface); border-color: var(--bronze); }
.filter[aria-pressed="true"] { background: var(--bronze-hover); border-color: var(--bronze-hover); color: var(--text-on-bronze); font-weight: 600; }

.pgrid { container-type: inline-size; }
.pgrid__list {
  --cols: 1;
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  /* one row unit = a 4:3 tile; portrait tiles span two units */
  grid-auto-rows: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols) * 0.75);
  grid-auto-flow: dense;
}
.pgrid__item { overflow: hidden; background: var(--surface); }
.pgrid__item--portrait { grid-row: span 2; }
.pgrid__item picture, .pgrid__item img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 560px) { .pgrid__list { --cols: 2; } }
@media (min-width: 1100px) { .pgrid__list { --cols: 3; } }

/* ---------- About ---------- */
.about { padding-block: 32px var(--section); }
.about__grid { display: grid; gap: 36px; }
.about__media { display: grid; gap: var(--gap); align-content: start; }
.about__media .fig { aspect-ratio: 4 / 5; }
.about__media .fig picture, .about__media .fig img { height: 100%; object-fit: cover; object-position: 50% 12%; }
.about__media .about__second { aspect-ratio: 5 / 4; }
.about__media .about__second picture, .about__media .about__second img { object-position: 50% 70%; }
.about__second { display: none; }
.about .btn-row { margin-top: 32px; }
@media (min-width: 900px) {
  .about { padding-top: 56px; }
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); }
  .about__second { display: block; }
}

/* ---------- Contact ---------- */
.contact-banner { border-bottom: 1px solid var(--line); background: var(--surface); }
.contact-banner picture, .contact-banner img {
  width: 100%; height: clamp(180px, 30vw, 380px); object-fit: cover; object-position: 50% 55%;
}
.contact { padding-block: clamp(36px, 5vw, 64px) var(--section); }
.contact h1 { max-width: 20em; }
.contact__head { margin-bottom: clamp(28px, 4vw, 48px); }
.contact__grid { display: grid; gap: 48px; }
@media (min-width: 900px) {
  .contact__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(48px, 7vw, 110px); }
}

.form__row { margin-bottom: 20px; }
.form label { display: block; margin-bottom: 6px; font-size: 1.0625rem; font-weight: 600; color: var(--text); }
.form input, .form textarea {
  width: 100%; padding: 13px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 0;
  font: inherit; color: var(--text);
}
.form input { min-height: 54px; }
.form textarea { resize: vertical; }
.form input:hover, .form textarea:hover { border-color: var(--accent-line); }
.form input:focus-visible, .form textarea:focus-visible {
  outline: 2px solid var(--bronze); outline-offset: 0; border-color: var(--bronze);
}
.form__hint { font-size: 1.0625rem; }
.form .btn { min-width: 200px; }
.form__status { min-height: 1.7em; margin: 14px 0 0; font-size: 1.0625rem; font-weight: 600; color: var(--bronze-hover); }

.contact__details dl { margin: 0 0 28px; border-top: 1px solid var(--line); }
.contact__details dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact__details dt { font-size: 1rem; color: var(--muted); }
.contact__details dd { margin: 0; overflow-wrap: anywhere; }
.contact__details dd a { color: var(--text); text-decoration: none; }
.contact__details dd a:hover { color: var(--bronze-hover); text-decoration: underline; }
.contact__details dd [dir="ltr"] { display: inline-block; }

/* ---------- Footer: a quiet, architectural close in three RTL columns ---------- */
.site-footer {
  background: var(--bg); color: var(--text); border-top: 2px solid var(--accent-line);
  font-size: 1.0625rem;
}
.site-footer__inner { display: grid; padding-block: 18px; }
.site-footer__col { min-width: 0; padding-block: 30px; border-bottom: 1px solid var(--line); }
.site-footer__col:last-child { border-bottom: 0; }
.site-footer__brand .brand { width: 100%; gap: 12px; align-items: flex-start; }
.site-footer__brand .brand__name {
  font-size: clamp(2rem, 2.5vw, 2.5rem); letter-spacing: .085em; line-height: 1.1;
}
.site-footer__brand .brand__desc { color: var(--muted); font-size: 1.0625rem; line-height: 1.7; }
.site-footer__brand .brand::after {
  content: ""; display: block; width: 48px; height: 2px; margin-top: 14px; background: var(--accent-line);
}
.site-footer h2 {
  font-size: 1.4375rem; font-weight: 700; margin: 0 0 18px; padding-bottom: 16px; position: relative;
}
.site-footer h2::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0;
  width: 48px; height: 2px; background: var(--accent-line);
}
.site-footer ul { display: grid; gap: 2px; }
.site-footer li a, .site-footer li .footer-item {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px;
  max-width: 100%; color: var(--text); text-decoration: none;
}
.site-footer__contact a span[dir="ltr"] { overflow-wrap: anywhere; min-width: 0; }
.site-footer li a:hover { color: var(--bronze-hover); text-decoration: underline; }
.site-footer__nav a[aria-current="page"] {
  font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent-line); text-decoration-thickness: 2px;
}
.site-footer svg { flex: none; width: 20px; height: 20px; color: var(--bronze); }
.site-footer__legal {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 24px; min-height: 72px; padding-block: 18px; position: relative;
  font-size: 1rem; color: var(--muted);
}
.site-footer__legal::before {
  content: ""; position: absolute; inset-inline: var(--gutter); top: 0; height: 1px; background: var(--line);
}
.site-footer__legal a { color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.site-footer__legal a:hover { color: var(--text); }
@media (min-width: 900px) {
  .site-footer__inner { grid-template-columns: 1.2fr .85fr 1.2fr; padding-block: 72px 64px; }
  .site-footer__col { padding-block: 0; padding-inline: clamp(48px, 4vw, 64px); border-bottom: 0; border-inline-start: 1px solid var(--line); }
  .site-footer__col:first-child { padding-inline-start: 0; border-inline-start: 0; }
  .site-footer__col:last-child { padding-inline-end: 0; }
}

/* ---------- Final spacing and responsive refinements ---------- */
/* The specified bronze/light pair is 3.82:1: use large, bold type on bronze. */
.site-header .brand__desc, .site-nav a, .nav-toggle { font-size: 1.1875rem; font-weight: 700; }
.site-header .brand__desc { line-height: 1.4; }

.hero__text, .project__text, .about__text, .split__text { min-width: 0; }
.hero__text .lead { line-height: 1.8; }
.hero__text h1 { margin-bottom: .45em; }
.hero--home h1::after { content: ""; display: block; width: 80px; height: 2px; margin-block: 24px 28px; background: var(--accent-line); }
.hero--home .btn::after { content: "←"; font-size: 1.5rem; font-weight: 400; margin-inline-start: 24px; }
.section__head::before {
  content: ""; display: block; width: 48px; height: 2px;
  background: var(--accent-line); margin-bottom: 20px;
}
.section__head--center::before { margin-inline: auto; }
.preview:nth-of-type(3), .split { background: var(--surface); }
.project:nth-of-type(even) { background: var(--surface); }
.project__wide { max-height: 760px; overflow: hidden; }
.project__wide img { max-height: 760px; object-fit: contain; }
.about__text .prose { line-height: 1.8; }
.about__text .prose p + p { margin-top: 1.35em; }
.contact__head { max-width: 1060px; }
.contact__details { min-width: 0; }
.form { padding: clamp(20px, 3vw, 40px); border: 1px solid var(--line); background: var(--surface); }
.form input, .form textarea { background: var(--bg); }
.form textarea { min-height: 180px; }
.filters { gap: 8px; }
.filter:focus-visible { outline-offset: 4px; }
.faq summary { min-height: 72px; }
@media (min-width: 900px) {
  .hero--home .hero__text { padding-block: 24px; }
  .hero--page .hero__single { max-height: 660px; }
  .about__text { padding-block: 12px; }
  .contact__details { padding-top: 8px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .site-header__inner { gap: 18px; }
  .site-header .brand__name { font-size: 1.75rem; }
  .site-nav ul { gap: 18px; }
}
@media (max-width: 599px) {
  .site-header__inner { gap: 12px; }
  .site-header .brand__name { font-size: 1.375rem; letter-spacing: .08em; }
  .site-header .brand__desc { font-size: 1.1875rem; }
  .nav-toggle { padding-inline: 12px; min-width: 48px; justify-content: center; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hero { padding-top: 28px; }
  .hero__grid { gap: 28px; }
  .hero__single { max-height: none; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { padding-inline: 22px; max-width: 100%; }
  .facts { gap: 10px; }
  .facts li + li { padding-inline-start: 0; border-inline-start: 0; }
  .facts li { flex-basis: 100%; }
  .row--3 { gap: 20px; }
  .row--3 .fig { aspect-ratio: 4 / 5; }
  .contact__grid { gap: 36px; }
  .contact h1 { font-size: 2.375rem; }
  .form .btn { width: 100%; }
  .form__hint a { overflow-wrap: anywhere; }
  .filter { flex: 1 1 auto; padding-inline: 14px; text-align: center; }
  .site-footer__legal { align-items: flex-start; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
