/* Futura (uploaded by client) — Latin; Greek falls back to Didact Gothic, Hebrew to Heebo */
@font-face {
  font-family: 'FuturaBookC';
  src: url('../fonts/futura.woff2') format('woff2'), url('../fonts/futura.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'FuturaBookC';
  src: url('../fonts/futura-bold.woff2') format('woff2'), url('../fonts/futura-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   FOURTSADAKIS ARCHITECTS & ENGINEERS — v4
   Fresh minimal editorial: bold sans masthead, serif hero,
   beige stat strip, icon cards, dark featured band, logo carousels
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f5;
  --beige: #f1f1ee;
  --dark: #0d0e10;
  --dark-2: #121316;
  --text: #141517;
  --muted: #555552;
  --faint: #8f8f8a;
  --gold: #9a9a94;
  --gold-deep: #3c3c38;
  --gold-light: #e6e6e1;
  --line: rgba(20, 21, 23, .12);
  --line-strong: rgba(20, 21, 23, .3);
  --line-inv: rgba(240, 237, 230, .12);
  --header-h: 104px;
  --font-body: 'FuturaBookC', 'Didact Gothic', 'Heebo', system-ui, sans-serif;
  --font-sans: 'FuturaBookC', 'Didact Gothic', 'Heebo', system-ui, sans-serif;
  --font-serif: 'Cormorant Garamond', 'Literata', 'Frank Ruhl Libre', Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-soft: 0 18px 50px rgba(20, 20, 20, .07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--dark); color: #fff; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container.wide { max-width: 1400px; }
.container.narrow { max-width: 880px; }

/* ---------- Typography ---------- */
h1, h2, h3 { line-height: 1.12; }

.kicker {
  font-size: .7rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 400;
  margin-bottom: 1rem;
}

.h-sans {
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 1.3rem; }

.section-intro { color: var(--muted); max-width: 720px; font-size: 1rem; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-block;
  padding: .95rem 2.4rem;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all .35s var(--ease);
  font-family: var(--font-sans);
}
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: var(--gold-light); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--dark); }

.link-arrow {
  display: inline-block;
  margin-top: 1rem;
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: all .3s var(--ease);
}
.link-arrow:hover { color: var(--gold-deep); padding-inline-start: 6px; }

/* ---------- Header (always light, slim) ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: transform .45s var(--ease);
}
.site-header.hidden { transform: translateY(-100%); }
.header-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 28px;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}
.logo img { height: 72px; width: auto; transition: opacity .3s; }
.logo:hover img { opacity: .65; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav > a, .nav-item-drop > a {
  position: relative;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text);
  padding: .4rem 0;
  transition: color .25s;
}
.main-nav > a::after, .nav-item-drop > a::after {
  content: '';
  position: absolute;
  bottom: 0; inset-inline-start: 0;
  width: 100%; height: 2px;
  background: var(--dark);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform .35s var(--ease);
}
.main-nav > a:hover::after, .main-nav > a.active::after,
.nav-item-drop > a:hover::after, .nav-item-drop > a.active::after { transform: scaleX(1); }
.main-nav > a:hover, .nav-item-drop > a:hover { color: var(--gold-deep); }
.caret { font-size: .55rem; opacity: .6; }
.nav-portal { color: var(--gold-deep) !important; }
.portal-arrow { font-size: .8em; }

.nav-item-drop { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); inset-inline-start: -1.2rem;
  min-width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--dark);
  box-shadow: var(--shadow-soft);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .28s var(--ease);
  padding: .7rem 0;
}
.nav-item-drop::before {
  content: '';
  position: absolute; top: 100%; left: 0;
  width: 100%; height: 14px;
}
.nav-item-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: .5rem 1.4rem;
  font-size: .82rem;
  color: var(--muted);
  transition: all .2s;
}
.dropdown a em {
  font-style: normal;
  font-size: .66rem;
  color: var(--gold);
  margin-inline-end: .5rem;
}
.dropdown a:hover { color: var(--text); padding-inline-start: 1.7rem; background: var(--bg-soft); }
.lang-switch .dropdown { min-width: 170px; inset-inline-start: auto; inset-inline-end: -1rem; }

.burger { display: none; background: none; border: 0; width: 34px; height: 20px; position: relative; z-index: 130; color: var(--text); }
.burger span {
  position: absolute; left: 0; width: 100%; height: 2px;
  background: currentColor;
  transition: all .3s var(--ease);
}
.burger span:nth-child(1) { top: 4px; }
.burger span:nth-child(2) { top: 14px; }
body.nav-open .burger span:nth-child(1) { top: 9px; transform: rotate(45deg); }
body.nav-open .burger span:nth-child(2) { top: 9px; transform: rotate(-45deg); }

/* ---------- Masthead (home) ---------- */
.masthead {
  padding: calc(var(--header-h) + 2.6rem) 0 2rem;
  background: var(--bg);
}
.masthead-logo {
  height: clamp(64px, 8vw, 96px);
  width: auto;
  margin: 0 auto;
}
.masthead .container { text-align: center; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Hero band (photo + serif overlay) ---------- */
.hero-band {
  position: relative;
  min-height: 74vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-band-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.kenburns { animation: kenburns 22s var(--ease) forwards; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-band-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,11,13,.28) 0%, rgba(10,11,13,.34) 60%, rgba(10,11,13,.55) 100%);
}
.hero-band-content { position: relative; z-index: 2; padding: 0 28px; max-width: 980px; }
.hero-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.4vw, 4.3rem);
  line-height: 1.15;
  margin-bottom: 2.2rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero-serif em { font-style: italic; }
.hero-main {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 1.05;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero-brand {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(.78rem, 1.4vw, 1rem);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  margin-bottom: 2.4rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Classic photo hero (project pages) */
.hero {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-page { min-height: 60vh; padding-top: var(--header-h); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; will-change: transform; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,11,13,.4) 0%, rgba(10,11,13,.2) 45%, rgba(10,11,13,.6) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 28px; max-width: 1000px; }
.hero-content .kicker { color: var(--gold-light); }

/* ---------- Page head (inner pages, light) ---------- */
.page-head {
  padding: calc(var(--header-h) + 4rem) 0 3rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.page-title {
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 5.6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: .015em;
}
.page-title-sm { font-size: clamp(1.9rem, 4.4vw, 3.4rem); text-transform: none; letter-spacing: -.01em; }
.page-sub { margin-top: 1.4rem; color: var(--muted); max-width: 720px; }
.ph-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 3rem;
  align-items: end;
}
.ph-img img { width: 100%; height: 260px; object-fit: cover; }

/* Entry line reveals */
.line-reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: rise 1s var(--ease) forwards;
}
.line-reveal.d1 { animation-delay: .12s; }
.line-reveal.d2 { animation-delay: .26s; }
.line-reveal.d3 { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .05s; }
.reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .23s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .line-reveal { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .kenburns, .logo-track { animation: none !important; }
}

/* ---------- Intro / welcome ---------- */
.intro-sec {
  padding: 5.5rem 0;
  text-align: center;
  background: var(--bg);
}
.intro-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- Stats line (beige strip) ---------- */
.stats-line {
  background: var(--beige);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.6rem 0;
}
.stats-line-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.sl-item { display: flex; align-items: baseline; gap: .7rem; }
.sl-label {
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
}
.sl-value {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--text);
  line-height: 1;
}

/* ---------- Sections ---------- */
.section { padding: 6rem 0; position: relative; }
.alt-band { background: var(--bg-soft); border-top: 1px solid var(--line); }
.section-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* ---------- Icon cards ---------- */
.icon-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.2rem;
}
.icon-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  padding: 2rem 1.7rem 2.4rem;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  display: flex; flex-direction: column;
}
.icon-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--line-strong); }
.ic-icon {
  width: 42px; height: 42px;
  color: var(--text);
  margin-bottom: 1.3rem;
  transition: color .3s, transform .35s var(--ease);
}
.icon-card:hover .ic-icon { color: var(--gold-deep); transform: scale(1.08); }
.icon-card h3 {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 400;
  margin-bottom: .55rem;
}
.icon-card p {
  font-size: .85rem;
  color: var(--faint);
  flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ic-more {
  margin-top: 1.1rem;
  font-size: 1.05rem;
  color: var(--gold-deep);
  transition: transform .3s var(--ease);
}
.icon-card:hover .ic-more { transform: translateX(6px); }
[dir="rtl"] .ic-more { transform: scaleX(-1); }
[dir="rtl"] .icon-card:hover .ic-more { transform: scaleX(-1) translateX(6px); }

/* ---------- Pro services cards ---------- */
.pro-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.pro-card {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.pro-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--line-strong); }
.pro-img { overflow: hidden; aspect-ratio: 16 / 7.5; background: var(--bg-soft); }
.pro-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pro-card:hover .pro-img img { transform: scale(1.05); }
.pro-body { padding: 1.9rem 2rem 2.2rem; }
.pro-body .ic-icon { margin-bottom: 1rem; }
.pro-body h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: .6rem;
}
.pro-body p { font-size: .92rem; color: var(--muted); margin-bottom: .4rem; }
@media (max-width: 820px) { .pro-cards { grid-template-columns: 1fr; } }

/* smaller service cards (services page) */
.svc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}
.pro-card.pro-sm .pro-img { aspect-ratio: 16 / 9; }
.pro-card.pro-sm .pro-body { padding: 1.3rem 1.4rem 1.6rem; }
.pro-card.pro-sm h3 { font-size: 1.02rem; }
.pro-card.pro-sm p {
  font-size: .85rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: .6rem;
}
.ic-icon.ic-sm { width: 28px; height: 28px; margin-bottom: .8rem; }
.pro-card.pro-sm .ic-more {
  font-size: 1.05rem;
  color: var(--gold-deep);
  transition: transform .3s var(--ease);
  display: inline-block;
}
.pro-card.pro-sm:hover .ic-more { transform: translateX(6px); }

/* ---------- Dark featured band ---------- */
.dark-band {
  background: var(--dark);
  color: #f0ede6;
  padding: 6rem 0;
}
.band-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.6rem;
}
.carousel-nav { display: flex; gap: .5rem; }
.cnav {
  width: 46px; height: 46px;
  background: none;
  border: 1px solid var(--line-inv);
  color: #f0ede6;
  font-size: 1.1rem;
  transition: all .3s var(--ease);
}
.cnav:hover { background: #f0ede6; color: var(--dark); border-color: #f0ede6; }
[dir="rtl"] .cnav { transform: scaleX(-1); }

.proj-carousel {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: .5rem;
}
.proj-carousel::-webkit-scrollbar { display: none; }
.pc-card {
  flex: 0 0 clamp(270px, 30vw, 400px);
  scroll-snap-align: start;
}
.pc-img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--dark-2); }
.pc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), opacity .4s;
}
.pc-card:hover .pc-img img { transform: scale(1.06); }
.pc-caption { padding-top: .9rem; display: flex; align-items: baseline; gap: .9rem; }
.pc-cat {
  font-family: var(--font-sans);
  font-size: .6rem; font-weight: 400;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-light);
}
.pc-caption h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 400; transition: color .3s; }
.pc-card:hover .pc-caption h3 { color: var(--gold-light); }
.dark-band .center-cta { margin-top: 3rem; }

/* ---------- Logo bands (tools & clients) ---------- */
.logo-band {
  padding: 3.6rem 0 3.2rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
}
.clients-band { background: var(--bg-soft); }
.band-label {
  font-family: var(--font-sans);
  text-align: center;
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 2.2rem;
}
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee + .logo-marquee { margin-top: 2rem; }
.logo-track {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  width: max-content;
  animation: marquee 26s linear infinite;
  padding: 0 2.25rem;
}
.logo-track.slow { animation-duration: 45s; }
.logo-track.rev { animation-direction: reverse; }
[dir="rtl"] .logo-track { animation-direction: reverse; }
[dir="rtl"] .logo-track.rev { animation-direction: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-item { flex: 0 0 auto; display: flex; align-items: center; }
.logo-item img {
  height: 44px; width: auto; max-width: 170px;
  object-fit: contain;
  filter: grayscale(1) opacity(.55);
  transition: filter .35s;
}
.logo-item:hover img { filter: grayscale(0) opacity(1); }
.logo-text {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  transition: color .3s;
}
.logo-text:hover { color: var(--text); }

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.split-text p { margin-bottom: 1.1rem; color: var(--muted); }
.split-img { position: relative; overflow: hidden; box-shadow: var(--shadow-soft); }
.split-img img {
  width: 100%;
  height: clamp(380px, 52vh, 600px);
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.split-img:hover img { transform: scale(1.04); }

/* ---------- Services editorial list (services page) ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  display: grid;
  grid-template-columns: 70px 1fr 1.2fr 50px;
  align-items: center;
  gap: 2rem;
  padding: 1.9rem .6rem;
  border-bottom: 1px solid var(--line);
  transition: background .35s, padding .35s var(--ease);
}
.svc-row:hover { background: var(--bg-soft); padding-inline-start: 1.4rem; }
.svc-num { font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--gold); }
.svc-name {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1.15rem, 2.1vw, 1.7rem);
  transition: color .3s;
}
.svc-row:hover .svc-name { color: var(--gold-deep); }
.svc-excerpt {
  font-size: .87rem;
  color: var(--faint);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.svc-arrow { font-size: 1.3rem; color: var(--faint); transition: transform .35s var(--ease), color .3s; }
.svc-row:hover .svc-arrow { transform: translateX(8px); color: var(--gold-deep); }
[dir="rtl"] .svc-arrow { transform: scaleX(-1); }
[dir="rtl"] .svc-row:hover .svc-arrow { transform: scaleX(-1) translateX(8px); }

.svc-preview {
  position: fixed;
  z-index: 90;
  width: 300px; height: 210px;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transform: scale(.92) rotate(-2deg);
  transition: opacity .3s var(--ease), transform .4s var(--ease);
  box-shadow: 0 30px 70px rgba(25, 22, 15, .3);
}
.svc-preview.on { opacity: 1; transform: scale(1) rotate(0deg); }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (pointer: coarse) { .svc-preview { display: none; } }

/* ---------- Projects grid (projects page) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.8rem;
}
.feature-tile { grid-column: span 2; position: relative; display: block; }
.feature-tile.tile-lg { grid-column: span 4; }
.ft-img { overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-soft); box-shadow: var(--shadow-soft); }
.tile-lg .ft-img { aspect-ratio: 16 / 9.5; }
.ft-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.feature-tile:hover .ft-img img { transform: scale(1.06); }
.ft-caption { display: flex; align-items: baseline; gap: 1.1rem; padding: 1rem .2rem 0; }
.ft-cat {
  font-family: var(--font-sans);
  font-size: .6rem; font-weight: 400;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep);
}
.ft-caption h3 { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 400; transition: color .3s; }
.feature-tile:hover .ft-caption h3 { color: var(--gold-deep); }
.center-cta { text-align: center; margin-top: 4rem; }

/* Filter bar */
.filter-bar { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.2rem; }
.filter-btn {
  background: none;
  border: 1px solid var(--line);
  padding: .6rem 1.7rem;
  font-family: var(--font-sans);
  font-size: .7rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
  transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--dark); color: var(--text); }
.filter-btn.active { background: var(--dark); border-color: var(--dark); color: #fff; }

/* Project meta */
.project-meta {
  display: flex; flex-wrap: wrap; gap: 3rem;
  justify-content: center;
  padding: 1.8rem 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 3rem;
  background: var(--beige);
}
.pm-item { display: flex; flex-direction: column; gap: .2rem; text-align: center; }
.pm-item > span:last-child { font-family: var(--font-serif); font-size: 1.15rem; }
.pm-label {
  font-family: var(--font-sans);
  font-size: .6rem; font-weight: 400;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep);
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }
.gallery-item {
  grid-column: span 2;
  border: 0; padding: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
  box-shadow: 0 10px 30px rgba(25, 22, 15, .07);
}
.gallery-item.g-wide { grid-column: span 4; aspect-ratio: 16 / 9.5; }
.gallery-item::after {
  content: '+';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 200;
  color: #fff;
  background: rgba(13, 14, 16, .3);
  opacity: 0;
  transition: opacity .35s;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(10, 10, 12, .95);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 86vh; object-fit: contain; }
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: none; border: 0;
  color: #fff;
  font-size: 2.2rem; font-weight: 200; line-height: 1;
  opacity: .65;
  transition: opacity .2s;
  padding: .6rem 1.1rem;
  z-index: 2;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: 1; }
.lb-close { top: 20px; inset-inline-end: 24px; }
.lb-prev { inset-inline-start: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2.2rem;
}
.team-card { text-align: center; }
.team-photo { aspect-ratio: 1; overflow: hidden; margin-bottom: 1.1rem; background: var(--beige); box-shadow: var(--shadow-soft); }
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(65%);
  transition: filter .6s var(--ease), transform 1s var(--ease);
}
.team-card:hover .team-photo img { filter: grayscale(0); transform: scale(1.04); }
.team-card h3 { font-family: var(--font-sans); font-weight: 400; font-size: 1.02rem; }
.team-card p { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-top: .2rem; }

/* ---------- Article (service pages) ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 5rem;
  align-items: start;
}
.article-body h3 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.35rem;
  margin: 2.4rem 0 1rem;
}
.article-body h3::after {
  content: '';
  display: block;
  width: 44px; height: 2px;
  background: var(--gold);
  margin-top: .6rem;
}
.article-body h4 { font-family: var(--font-sans); font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; margin: 1.7rem 0 .7rem; color: var(--gold-deep); }
.article-body p { margin-bottom: 1.2rem; color: var(--muted); }
.article-body strong { color: var(--text); font-weight: 700; }
.article-body ul { margin: 0 0 1.5rem; padding-inline-start: 1.2rem; color: var(--muted); list-style: none; }
.article-body li { margin-bottom: .55rem; position: relative; padding-inline-start: 1.1rem; }
.article-body li::before { content: '—'; position: absolute; inset-inline-start: -0.6rem; color: var(--gold); }
.article-contact { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--text); }

.sidebar { position: sticky; top: calc(var(--header-h) + 28px); }
.sidebar h4 {
  font-family: var(--font-sans);
  font-size: .66rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1.1rem;
}
.sidebar-list { list-style: none; margin-bottom: 2.6rem; }
.sidebar-list a {
  display: block;
  padding: .64rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
  color: var(--muted);
  transition: color .2s, padding-inline-start .25s var(--ease);
}
.sidebar-list a em { font-style: normal; font-size: .66rem; color: var(--gold); margin-inline-end: .5rem; }
.sidebar-list a:hover { color: var(--text); padding-inline-start: 8px; }
.sidebar-list a.active { color: var(--text); font-weight: 400; border-bottom-color: var(--gold); }
.sidebar-contact { background: var(--bg-soft); border: 1px solid var(--line); padding: 1.6rem; }
.sidebar-contact p { font-size: .9rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  margin: 0 0 4rem;
}
.contact-block {
  text-align: center;
  padding: 2.4rem 1.5rem;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.contact-block:hover { border-color: var(--line-strong); box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.contact-block h3 {
  font-family: var(--font-sans);
  font-size: .66rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: .9rem;
}
.contact-block p { color: var(--muted); }
.contact-block a:hover { color: var(--gold-deep); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.4rem;
  align-items: stretch;
}
.contact-form h3 { margin-bottom: 1.6rem; text-transform: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: .95rem 1.1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--faint); }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--dark); background: #fff;
}
.form-note { font-size: .78rem; color: var(--faint); margin-bottom: 1.3rem; }
.contact-map { border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.contact-map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; filter: grayscale(.85); }

/* ---------- CTA strip (dark) ---------- */
.cta-strip {
  background: var(--beige);
  color: var(--text);
  border-top: 1px solid var(--line);
  padding: 6.5rem 0;
  text-align: center;
}
.cta-strip .kicker { color: var(--gold-deep); }
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 5.4vw, 3.9rem);
  font-weight: 400;
  margin-bottom: .8rem;
}
.cta-title a { transition: color .3s; }
.cta-title a:hover { color: var(--gold-deep); }
.cta-arrow { display: inline-block; color: var(--gold-deep); transition: transform .4s var(--ease); }
.cta-title a:hover .cta-arrow { transform: translateX(12px); }
[dir="rtl"] .cta-arrow { transform: scaleX(-1); }
[dir="rtl"] .cta-title a:hover .cta-arrow { transform: scaleX(-1) translateX(12px); }
.cta-sub { color: var(--muted); }

/* ---------- Footer (dark) ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr .8fr;
  gap: 3rem;
  padding: 4.5rem 28px;
}
.footer-logo { height: 52px; width: auto; margin-bottom: 1.3rem; }
.footer-tag { font-size: .86rem; line-height: 1.7; max-width: 300px; }
.footer-est { margin-top: 1.2rem; font-size: .62rem; letter-spacing: .34em; color: var(--faint); }
.footer-col h4 {
  font-family: var(--font-sans);
  color: var(--text); font-size: .64rem;
  letter-spacing: .28em; text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a, .footer-col p a { font-size: .88rem; transition: color .2s; }
.footer-links a:hover, .footer-col p a:hover { color: var(--gold-deep); }
.footer-col p { font-size: .88rem; margin-bottom: 1rem; }
.footer-social {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .68rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: color .2s, border-color .2s;
}
.footer-social:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.footer-qr img { width: 120px; background: #fff; padding: 8px; border: 1px solid var(--line); margin-bottom: .9rem; }
.footer-qr p { font-size: .76rem; }
.footer-bottom {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 1.5rem 28px;
  font-size: .72rem;
  letter-spacing: .12em;
  color: #6d6a63;
}

/* ---------- RTL letter-spacing sanity ---------- */
[dir="rtl"] .kicker, [dir="rtl"] .btn, [dir="rtl"] .main-nav > a, [dir="rtl"] .nav-item-drop > a,
[dir="rtl"] .sl-label, [dir="rtl"] .pm-label, [dir="rtl"] .filter-btn, [dir="rtl"] .ft-cat,
[dir="rtl"] .pc-cat, [dir="rtl"] .band-label, [dir="rtl"] .footer-col h4, [dir="rtl"] .contact-block h3,
[dir="rtl"] .link-arrow, [dir="rtl"] .team-card p, [dir="rtl"] .sidebar h4 { letter-spacing: .05em; }
[dir="rtl"] .masthead-title, [dir="rtl"] .page-title, [dir="rtl"] .h-sans { letter-spacing: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split, .article-layout, .contact-layout, .ph-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 48px 1fr 40px; }
  .svc-excerpt { display: none; }
  .feature-tile, .feature-tile.tile-lg { grid-column: span 6; }
  .gallery-item, .gallery-item.g-wide { grid-column: span 3; }
  .stats-line-inner { flex-direction: column; gap: .9rem; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .main-nav {
    position: fixed; inset: 0;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(16px);
    flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 100px 40px 40px;
    gap: .3rem;
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
    overflow-y: auto;
    z-index: 110;
  }
  .main-nav.open { opacity: 1; visibility: visible; }
  .main-nav > a, .nav-item-drop > a {
    font-size: 1.5rem;
    letter-spacing: .02em;
    padding: .55rem 0;
  }
  .main-nav > a span::before, .nav-item-drop > a span::before {
    content: attr(data-n);
    font-size: .6rem;
    color: var(--gold);
    margin-inline-end: .9rem;
    vertical-align: super;
  }
  .nav-item-drop { width: 100%; }
  .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    border: 0; background: none; backdrop-filter: none; box-shadow: none;
    padding: 0 0 .5rem 1.4rem;
    display: none;
  }
  .nav-item-drop.open-sub .dropdown { display: block; }
  .dropdown a { padding: .4rem 0; font-size: .95rem; }
  .section { padding: 4.2rem 0; }
  .gallery-item, .gallery-item.g-wide { grid-column: span 6; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .band-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
