/* =========================================================
   جمعية القُرية للتراث — Public site styles
   يعتمد على tokens.css
   ========================================================= */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: var(--lh-body);
  color: var(--ink-2); background: var(--bg); font-weight: var(--fw-regular);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--primary-ink); text-decoration: none; }
a:hover { color: var(--primary-hover); }
h1, h2, h3, h4 { color: var(--ink); line-height: var(--lh-tight); margin: 0 0 var(--s-4); text-wrap: balance; }
h1 { font-size: var(--fs-3xl); font-weight: var(--fw-black); letter-spacing: -.01em; }
h2 { font-size: var(--fs-2xl); font-weight: var(--fw-black); }
h3 { font-size: var(--fs-lg); font-weight: var(--fw-semibold); }
h4 { font-size: var(--fs-md); font-weight: var(--fw-semibold); }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--terracotta); color: #fff; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-lg { width: 28px; height: 28px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--ivory); padding: 10px 16px; border-radius: var(--r-md); transition: top var(--t-fast); }
.skip-link:focus { top: 12px; color: var(--ivory); }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(64px, 8vw, 112px); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--sand { background: var(--sand-100); }
.section--dark { background: var(--dark-umber); color: var(--ivory); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--ivory); }
.section--terracotta { background: var(--terracotta); color: #fff; }
.section--terracotta h2, .section--terracotta h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: var(--s-4);
  font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--primary-ink); letter-spacing: .02em;
}
.eyebrow::before { content: ""; width: 28px; height: 12px; background: currentColor; -webkit-mask: url(../brand/el-crenel.svg) center / contain no-repeat; mask: url(../brand/el-crenel.svg) center / contain no-repeat; }
.section--dark .eyebrow, .section--terracotta .eyebrow { color: var(--sand); }
.lead { font-size: var(--fs-md); color: var(--ink-3); font-weight: var(--fw-light); max-width: 62ch; }
.section--dark .lead { color: var(--umber-200); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-7); flex-wrap: wrap; }
.section-head > div { max-width: 640px; }
.section-head h2 { margin-bottom: var(--s-3); }
.section-head .lead { margin: 0; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--primary); --_fg: var(--on-primary); --_bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-md); border: 1.5px solid var(--_bd);
  background: var(--_bg); color: var(--_fg); font-weight: var(--fw-semibold); font-size: var(--fs-base);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  white-space: nowrap; cursor: pointer;
}
.btn:hover { --_bg: var(--primary-hover); color: var(--_fg); }
.btn:active { transform: translateY(1px); }
.btn--outline { --_bg: transparent; --_fg: var(--ink); --_bd: var(--line-strong); }
.btn--outline:hover { --_bg: var(--ink); --_fg: var(--ivory); --_bd: var(--ink); }
.btn--ghost { --_bg: transparent; --_fg: var(--primary-ink); padding-inline: 12px; }
.btn--ghost:hover { --_bg: var(--terracotta-50); --_fg: var(--primary-hover); }
.btn--light { --_bg: var(--ivory); --_fg: var(--ink); }
.btn--light:hover { --_bg: #fff; --_fg: var(--terracotta-700); }
.btn--on-dark { --_bg: transparent; --_fg: var(--ivory); --_bd: rgb(245 240 232 / .45); }
.btn--on-dark:hover { --_bg: var(--ivory); --_fg: var(--ink); --_bd: var(--ivory); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: var(--fs-sm); }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: var(--fs-md); }
.btn .icon { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: var(--fw-semibold); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--t-base) var(--ease); }
.link-arrow:hover .icon { transform: translateX(-4px); }

/* ---------- Brand decorations ---------- */
.mask { background: currentColor; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-position: center; mask-position: center; }
.crenel-edge { height: 22px; color: var(--dark-umber); background: currentColor; -webkit-mask: url(../brand/el-crenel.svg) repeat-x left bottom / 120px 22px; mask: url(../brand/el-crenel.svg) repeat-x left bottom / 120px 22px; }
.band { height: 64px; color: var(--terracotta); background: currentColor; -webkit-mask: url(../brand/el-band.svg) repeat-x center / auto 100%; mask: url(../brand/el-band.svg) repeat-x center / auto 100%; }
.band--thin { height: 34px; -webkit-mask-image: url(../brand/el-linear.svg); mask-image: url(../brand/el-linear.svg); }
.rosette-mark { position: absolute; pointer-events: none; color: var(--dark-umber); opacity: .07; aspect-ratio: 1; }
.rosette-mark svg { width: 100%; height: 100%; }
.arch { border-radius: var(--r-arch); overflow: hidden; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgb(245 240 232 / .88); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color var(--t-base), box-shadow var(--t-base);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgb(46 36 28 / .5); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: var(--s-5); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img.brand-emblem { height: 52px; width: auto; }
.brand img.brand-word { height: 34px; width: auto; }
.nav { margin-inline-start: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a {
  position: relative; display: flex; align-items: center; height: 44px; padding: 0 12px;
  color: var(--ink-2); font-weight: var(--fw-medium); font-size: .97rem; border-radius: var(--r-sm); white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav a:hover { color: var(--primary-ink); background: rgb(189 69 42 / .06); }
.nav a[aria-current="page"] { color: var(--primary-ink); font-weight: var(--fw-semibold); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--terracotta); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--r-md);
  border: 1px solid transparent; background: transparent; color: var(--ink-2); transition: background var(--t-fast), color var(--t-fast);
}
.icon-btn:hover { background: rgb(86 67 52 / .08); color: var(--ink); }
.lang-btn { font-weight: var(--fw-semibold); font-size: var(--fs-sm); font-family: system-ui, sans-serif; }
.menu-btn { display: none; }

.mobile-nav { position: fixed; inset: 0; z-index: 60; display: none; }
.mobile-nav.is-open { display: block; }
.mobile-nav__scrim { position: absolute; inset: 0; background: rgb(46 36 28 / .5); animation: fade var(--t-base) both; }
.mobile-nav__panel {
  position: absolute; inset-block: 0; inset-inline-start: 0; width: min(88vw, 380px); background: var(--ivory);
  padding: 20px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; animation: slideIn var(--t-base) var(--ease) both;
}
.mobile-nav__panel ul { list-style: none; padding: 0; margin: 16px 0; }
.mobile-nav__panel li a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 12px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: var(--fw-medium); font-size: var(--fs-md); }
.mobile-nav__panel li a[aria-current="page"] { color: var(--primary-ink); }
@keyframes fade { from { opacity: 0; } }
@keyframes slideIn { from { transform: translateX(100%); } }

@media (max-width: 1180px) {
  .nav, .header-actions .btn-cta { display: none; }
  .menu-btn { display: inline-grid; }
  .header-actions { margin-inline-start: auto; }
}
@media (max-width: 520px) {
  :root { --header-h: 72px; }
  .brand img.brand-emblem { height: 44px; }
  .brand img.brand-word { height: 26px; }
}
@media (max-width: 380px) { .brand img.brand-word { display: none; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 112px); }
.hero .rosette-mark { width: 760px; inset-inline-end: -300px; bottom: -340px; opacity: .08; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; }
.hero h1 { margin-bottom: var(--s-5); }
.hero h1 .accent { color: var(--terracotta); display: block; }
.hero .lead { font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); margin-bottom: var(--s-6); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__pillars { display: flex; gap: 28px; margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero__pillars div { display: flex; align-items: baseline; gap: 8px; color: var(--ink-3); font-size: var(--fs-sm); }
.hero__pillars b { font-size: var(--fs-md); color: var(--terracotta-700); font-weight: var(--fw-semibold); font-family: system-ui, sans-serif; }
.hero__media { position: relative; justify-self: end; width: min(100%, 520px); }
.hero__arch { aspect-ratio: 4 / 5; border-radius: var(--r-arch); overflow: hidden; position: relative; box-shadow: var(--shadow-3); border: 10px solid var(--terracotta); border-bottom: 0; background: var(--sand); }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(46 36 28 / .55)); }
.hero__base { height: 26px; background: var(--dark-umber); border-radius: 0 0 4px 4px; }
.hero__caption { position: absolute; inset-inline: 32px; bottom: 54px; z-index: 2; color: var(--ivory); display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); }
.hero__caption .icon { width: 18px; height: 18px; }
.hero__badge {
  position: absolute; inset-inline-start: -36px; top: 18%; z-index: 3; background: var(--surface); border-radius: var(--r-lg);
  padding: 16px 18px; box-shadow: var(--shadow-2); display: flex; align-items: center; gap: 14px; max-width: 250px;
}
.hero__badge .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--terracotta-50); color: var(--terracotta); display: grid; place-items: center; flex: none; }
.hero__badge .ic svg { width: 32px; height: 32px; }
.hero__badge strong { display: block; color: var(--ink); font-size: var(--fs-base); line-height: 1.4; }
.hero__badge span { font-size: var(--fs-xs); color: var(--ink-3); }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media { justify-self: center; width: min(100%, 420px); margin-top: var(--s-5); }
  .hero__badge { inset-inline-start: -8px; top: auto; bottom: 90px; }
}

/* ---------- Stats band ---------- */
.stats { background: var(--dark-umber); color: var(--ivory); position: relative; }
.stats .crenel-edge { position: absolute; top: -21px; inset-inline: 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 24px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; inset-inline-start: 0; top: 28%; bottom: 28%; width: 1px; background: rgb(245 240 232 / .18); }
.stat__num { font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); font-weight: var(--fw-black); color: #fff; line-height: 1.1; font-family: var(--font); }
.stat__num small { color: var(--terracotta-300); font-size: .6em; }
.stat__label { color: var(--umber-200); font-size: var(--fs-sm); margin-top: 6px; }
@media (max-width: 720px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
}

/* ---------- Pillars ---------- */
.about-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-split__media { position: relative; }
.about-split__media .main { aspect-ratio: 5 / 6; object-fit: cover; width: 100%; border-radius: var(--r-arch); }
.about-split__media .sub { position: absolute; width: 46%; aspect-ratio: 1; object-fit: cover; inset-inline-start: -24px; bottom: -32px; border-radius: 50%; border: 8px solid var(--bg); box-shadow: var(--shadow-2); }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: var(--s-6); }
.pillar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; transition: border-color var(--t-base), transform var(--t-base) var(--ease); }
.pillar:hover { border-color: var(--terracotta-300); transform: translateY(-2px); }
.pillar__n { font-family: system-ui, sans-serif; color: var(--terracotta); font-weight: 700; font-size: var(--fs-sm); }
.pillar h3 { font-size: var(--fs-md); margin: 6px 0 4px; }
.pillar p { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.7; }
@media (max-width: 900px) { .about-split { grid-template-columns: minmax(0, 1fr); } .about-split__media { max-width: 460px; } .about-split__media .sub { inset-inline-start: 0; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow var(--t-base), transform var(--t-base) var(--ease), border-color var(--t-base);
  position: relative;
}
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); border-color: transparent; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { font-size: var(--fs-md); margin: 0; }
.card__body h3 a { color: inherit; }
.card__body h3 a::after { content: ""; position: absolute; inset: 0; }
.card__body p { margin: 0; color: var(--ink-3); font-size: var(--fs-sm); line-height: 1.75; }
.card__meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: var(--fs-xs); margin-top: auto; padding-top: 10px; }
.card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.card__meta .icon { width: 15px; height: 15px; }
.card__tag { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 1; }

/* Pattern placeholder media (on-brand, used where a photo is not available yet) */
.ph { position: relative; display: grid; place-items: center; width: 100%; height: 100%; color: rgb(255 255 255 / .9); background: var(--terracotta); overflow: hidden; }
.ph::before { content: ""; position: absolute; inset: -10%; background: currentColor; opacity: .12; -webkit-mask: url(../brand/el-geometric.svg) 0 0 / 90px auto repeat; mask: url(../brand/el-geometric.svg) 0 0 / 90px auto repeat; }
.ph svg { width: 34%; height: auto; max-height: 60%; position: relative; }
.ph--umber { background: var(--dark-umber); }
.ph--sage { background: var(--sage-700); }
.ph--sand { background: var(--sand); color: var(--dark-umber); }
.ph--burnt { background: var(--burnt-umber); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: var(--fs-xs); font-weight: var(--fw-semibold); background: var(--surface); color: var(--ink-2); box-shadow: var(--shadow-1); white-space: nowrap; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--ok { background: var(--ok-bg); color: var(--ok); box-shadow: none; }
.badge--warn { background: var(--warn-bg); color: var(--warn); box-shadow: none; }
.badge--info { background: var(--info-bg); color: var(--info); box-shadow: none; }
.badge--brand { background: var(--terracotta-50); color: var(--terracotta-700); box-shadow: none; }
.badge--muted { background: var(--sand-100); color: var(--ink-3); box-shadow: none; }

/* Progress */
.progress { display: grid; gap: 6px; }
.progress__row { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--ink-3); }
.progress__row b { color: var(--ink); font-family: system-ui, sans-serif; }
.progress__bar { height: 6px; background: var(--sand-100); border-radius: 6px; overflow: hidden; }
.progress__bar i { display: block; height: 100%; background: var(--terracotta); border-radius: 6px; }

/* ---------- Heritage tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tile { background: var(--surface); padding: 28px 22px; display: flex; flex-direction: column; gap: 14px; color: var(--ink-2); position: relative; transition: background var(--t-base); min-height: 210px; }
.tile:hover { background: var(--ivory-50); color: var(--ink-2); }
.tile__icon { width: 64px; height: 64px; color: var(--dark-umber); transition: color var(--t-base), transform var(--t-base) var(--ease); }
.tile:hover .tile__icon { color: var(--terracotta); transform: translateY(-3px); }
.tile h3 { font-size: var(--fs-md); margin: 0; }
.tile p { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.7; }
.tile .icon-go { position: absolute; top: 22px; inset-inline-end: 22px; width: 20px; height: 20px; color: var(--umber-300); transition: color var(--t-base), transform var(--t-base) var(--ease); }
.tile:hover .icon-go { color: var(--terracotta); transform: translateX(-4px); }
@media (max-width: 1024px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tile { padding: 22px 16px; min-height: 0; } .tile__icon { width: 48px; height: 48px; } }

/* ---------- Expert CTA ---------- */
.expert-cta { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; background: var(--terracotta); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
.expert-cta .rosette-mark { color: #fff; opacity: .1; width: 520px; inset-inline-end: -160px; top: -160px; }
.expert-cta h2 { color: #fff; }
.expert-cta p { color: rgb(255 255 255 / .9); }
.expert-cta .eyebrow { color: var(--sand); }
.ask { position: relative; display: flex; gap: 8px; background: #fff; border-radius: var(--r-lg); padding: 8px; box-shadow: var(--shadow-3); }
.ask input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 12px; min-height: 48px; color: var(--ink); font-size: var(--fs-base); }
.ask input:focus { outline: none; }
.ask:focus-within { outline: 3px solid var(--sand); outline-offset: 3px; }
.suggests { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.suggests button { border: 1px solid rgb(255 255 255 / .4); background: rgb(255 255 255 / .08); color: #fff; border-radius: 999px; padding: 6px 14px; font-size: var(--fs-sm); min-height: 36px; transition: background var(--t-fast); }
.suggests button:hover { background: rgb(255 255 255 / .2); }
.expert-cta__card { position: relative; background: rgb(46 36 28 / .25); border: 1px solid rgb(255 255 255 / .2); border-radius: var(--r-lg); padding: 24px; backdrop-filter: blur(4px); }
.expert-cta__card .q { font-weight: var(--fw-semibold); margin-bottom: 12px; display: flex; gap: 10px; }
.expert-cta__card .a { color: rgb(255 255 255 / .88); font-size: var(--fs-sm); line-height: 1.8; margin: 0; }
.expert-cta > * { min-width: 0; }
@media (max-width: 900px) { .expert-cta { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 480px) { .ask .btn { padding: 0 16px; } .expert-cta { border-radius: var(--r-lg); } }

/* ---------- News ---------- */
.news-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.news-feature { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 460px; display: flex; align-items: end; color: #fff; }
.news-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.news-feature:hover img { transform: scale(1.03); }
.news-feature::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 30%, rgb(46 36 28 / .92)); }
.news-feature__body { position: relative; z-index: 2; padding: 32px; }
.news-feature h3 { color: #fff; font-size: var(--fs-xl); margin: 12px 0; }
.news-feature h3 a { color: inherit; }
.news-feature h3 a::after { content: ""; position: absolute; inset: 0; }
.news-feature p { color: rgb(255 255 255 / .85); margin: 0; }
.news-list { display: grid; gap: 4px; }
.news-item { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 14px; border-radius: var(--r-md); position: relative; transition: background var(--t-fast); align-items: center; }
.news-item:hover { background: var(--surface); }
.news-item__media { aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; }
.news-item__media img { width: 100%; height: 100%; object-fit: cover; }
.news-item h3 { font-size: var(--fs-base); margin: 4px 0 0; line-height: 1.6; }
.news-item h3 a { color: var(--ink); }
.news-item h3 a::after { content: ""; position: absolute; inset: 0; }
.news-item time { font-size: var(--fs-xs); color: var(--ink-3); }
@media (max-width: 900px) { .news-layout { grid-template-columns: 1fr; } .news-feature { min-height: 380px; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--dark-umber); color: var(--ivory); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band img { width: 96px; }
.cta-band h2 { color: var(--ivory); font-size: var(--fs-xl); margin-bottom: 6px; }
.cta-band p { margin: 0; color: var(--umber-200); }
.cta-band .actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; text-align: center; } .cta-band img { margin-inline: auto; } .cta-band .actions { justify-content: center; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--umber-900); color: var(--umber-200); position: relative; margin-top: 0; }
.site-footer .band { color: var(--terracotta); background-color: var(--terracotta); height: 54px; }
.footer-band-wrap { background: var(--umber-900); padding-top: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-block: 56px 40px; }
.footer-brand img { width: 230px; margin-bottom: 18px; }
.footer-brand .emblem { width: 72px; margin-bottom: 14px; }
.footer-brand p { font-size: var(--fs-sm); line-height: 1.9; color: var(--umber-300); max-width: 36ch; }
.site-footer h3 { color: var(--ivory); font-size: var(--fs-base); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--umber-200); display: inline-flex; align-items: center; gap: 10px; min-height: 36px; font-size: var(--fs-sm); }
.site-footer a:hover { color: #fff; }
.site-footer .icon { width: 18px; height: 18px; color: var(--terracotta-300); }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; justify-content: center; border: 1px solid rgb(245 240 232 / .18); border-radius: 50%; }
.socials a:hover { background: var(--terracotta); border-color: var(--terracotta); }
.socials a .icon { color: inherit; width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgb(245 240 232 / .12); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--umber-300); }
.footer-bottom a { min-height: 0; font-size: var(--fs-xs); }
.newsletter { display: flex; gap: 8px; margin-top: 8px; }
.newsletter input { flex: 1; min-width: 0; min-height: 44px; border-radius: var(--r-md); border: 1px solid rgb(245 240 232 / .2); background: rgb(245 240 232 / .06); color: var(--ivory); padding: 0 14px; }
.newsletter input::placeholder { color: var(--umber-300); }
.footer-grid > * { min-width: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(48px, 6vw, 80px); background: var(--dark-umber); color: var(--ivory); isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(46 36 28 / .2), rgb(46 36 28 / .85) 70%); }
.page-hero .rosette-mark { color: var(--ivory); opacity: .08; width: 560px; inset-inline-end: -180px; top: -140px; }
.page-hero h1 { color: #fff; font-size: var(--fs-3xl); margin-bottom: var(--s-4); }
.page-hero .lead { color: var(--umber-200); }
.page-hero .crenel-edge { position: absolute; bottom: -1px; inset-inline: 0; color: var(--bg); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: var(--fs-sm); color: var(--umber-300); margin-bottom: var(--s-5); flex-wrap: wrap; }
.breadcrumb a { color: var(--sand); }
.breadcrumb .icon { width: 14px; height: 14px; }

/* ---------- Chips / tabs ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-2); font-size: var(--fs-sm); font-weight: var(--fw-medium); display: inline-flex; align-items: center; gap: 8px; transition: all var(--t-fast); }
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.chip .count { font-size: var(--fs-xs); opacity: .7; font-family: system-ui, sans-serif; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; min-height: 52px; padding: 0 18px; border: 0; background: none; color: var(--ink-3); font-weight: var(--fw-medium); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--primary-ink); font-weight: var(--fw-semibold); }
.tab[aria-selected="true"]::after { content: ""; position: absolute; inset-inline: 12px; bottom: -1px; height: 3px; background: var(--terracotta); border-radius: 3px 3px 0 0; }
.tab .icon { width: 18px; height: 18px; }
[role="tabpanel"][hidden] { display: none; }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 10px; }
.accordion details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color var(--t-fast); }
.accordion details[open] { border-color: var(--terracotta-300); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; font-weight: var(--fw-semibold); color: var(--ink); min-height: 56px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform var(--t-base) var(--ease); color: var(--terracotta); }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.accordion .acc-body { padding: 0 20px 20px; color: var(--ink-3); line-height: 1.9; }
.accordion .acc-body p:last-child { margin: 0; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; }
.field label { font-weight: var(--fw-medium); color: var(--ink); font-size: var(--fs-sm); }
.field label .req { color: var(--danger); }
.input, .select, .textarea { width: 100%; min-height: 50px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); padding: 0 14px; color: var(--ink); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.textarea { min-height: 150px; padding: 12px 14px; resize: vertical; line-height: 1.8; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--umber-500); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 4px rgb(189 69 42 / .14); }
.input::placeholder, .textarea::placeholder { color: var(--umber-500); }
.field .hint { font-size: var(--fs-xs); color: var(--ink-3); }
.field .error { font-size: var(--fs-xs); color: var(--danger); display: none; align-items: center; gap: 6px; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field.has-error .error { display: flex; }
.field .error .icon { width: 15px; height: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.radio-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.radio-cards label { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); cursor: pointer; text-align: center; font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--ink-2); transition: all var(--t-fast); background: var(--surface); }
.radio-cards input { position: absolute; opacity: 0; }
.radio-cards label:has(input:checked) { border-color: var(--terracotta); background: var(--terracotta-50); color: var(--terracotta-700); }
.radio-cards label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.radio-cards .icon { width: 24px; height: 24px; }
@media (max-width: 640px) { .radio-cards { grid-template-columns: repeat(2, 1fr); } }

.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); font-size: var(--fs-sm); align-items: flex-start; }
.alert--ok { background: var(--ok-bg); color: var(--ok); }
.alert .icon { width: 20px; height: 20px; margin-top: 2px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 28px; padding-inline-start: 36px; }
.timeline::before { content: ""; position: absolute; inset-block: 8px; inset-inline-start: 11px; width: 2px; background: var(--line-strong); }
.timeline li { position: relative; list-style: none; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -32px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--terracotta); }
.timeline .yr { font-family: system-ui, sans-serif; font-weight: 700; color: var(--terracotta-700); font-size: var(--fs-sm); }
.timeline h4 { margin: 2px 0 4px; }
.timeline p { margin: 0; color: var(--ink-3); font-size: var(--fs-sm); }

/* ---------- Gallery & lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery button { border: 0; padding: 0; border-radius: var(--r-md); overflow: hidden; position: relative; background: var(--sand); }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgb(28 22 17 / .94); display: none; place-items: center; padding: 24px; }
.lightbox.is-open { display: grid; animation: fade var(--t-base) both; }
.lightbox img { max-height: 82vh; border-radius: var(--r-md); box-shadow: var(--shadow-3); }
.lightbox figcaption { color: var(--umber-200); text-align: center; margin-top: 14px; font-size: var(--fs-sm); }
.lightbox .icon-btn { position: absolute; top: 18px; inset-inline-end: 18px; color: #fff; background: rgb(255 255 255 / .1); }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Inner pages
   ========================================================= */
/* Vision / mission */
.vm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vm__item { background: var(--surface); border-radius: var(--r-lg); padding: 32px 28px; border-top: 4px solid var(--terracotta); box-shadow: var(--shadow-1); }
.vm__item:nth-child(2) { border-color: var(--dark-umber); }
.vm__item:nth-child(3) { border-color: var(--sage); }
.vm__item .ic { width: 56px; height: 56px; color: var(--terracotta); margin-bottom: 18px; }
.vm__item p { color: var(--ink-3); margin: 0; }
@media (max-width: 900px) { .vm { grid-template-columns: 1fr; } }

/* Logo philosophy */
.philo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: center; }
.philo__logo { width: min(320px, 70vw); }
.philo__col { display: grid; gap: 36px; }
.philo__item { display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.philo__item .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--terracotta); color: #fff; font-weight: 700; font-family: system-ui, sans-serif; font-size: var(--fs-sm); }
.philo__item h3 { font-size: var(--fs-md); margin: 6px 0 4px; }
.philo__item p { margin: 0; color: var(--ink-3); font-size: var(--fs-sm); }
@media (max-width: 960px) { .philo { grid-template-columns: 1fr; } .philo__logo { margin-inline: auto; order: -1; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 18px; }
.avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-size: 1.6rem; font-weight: 700; color: #fff; background: var(--dark-umber); position: relative; }
.avatar::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px dashed var(--sand); }
.member:nth-child(3n+2) .avatar { background: var(--terracotta); }
.member:nth-child(3n) .avatar { background: var(--sage-700); }
.member h3 { font-size: var(--fs-base); margin: 0 0 2px; }
.member p { margin: 0; color: var(--ink-3); font-size: var(--fs-sm); }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }

/* Docs list */
.docs { display: grid; gap: 10px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color var(--t-fast); }
.doc:hover { border-color: var(--terracotta-300); }
.doc .ft { width: 46px; height: 52px; border-radius: 6px; background: var(--terracotta-50); color: var(--terracotta-700); display: grid; place-items: center; font-family: system-ui, sans-serif; font-size: 11px; font-weight: 700; flex: none; }
.doc > div { flex: 1; min-width: 0; }
.doc h3 { font-size: var(--fs-base); margin: 0; }
.doc span { font-size: var(--fs-xs); color: var(--ink-3); }

/* Project featured */
.proj-feature { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--surface); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-2); }
.proj-feature__media { min-height: 420px; position: relative; }
.proj-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proj-feature__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 16px; }
.proj-feature__body p { margin: 0; color: var(--ink-3); }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px 0; border-block: 1px solid var(--line); margin: 0; }
.kv dt { font-size: var(--fs-xs); color: var(--ink-3); }
.kv dd { margin: 2px 0 0; font-weight: var(--fw-semibold); color: var(--ink); }
@media (max-width: 900px) { .proj-feature { grid-template-columns: 1fr; } .proj-feature__media { min-height: 260px; } }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.empty { text-align: center; padding: 48px 16px; color: var(--ink-3); }
.empty svg { width: 64px; height: 64px; margin: 0 auto 12px; color: var(--umber-300); }

/* Heritage sites */
.site-card { display: grid; grid-template-columns: 180px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.site-card .ph svg { width: 44%; }
.site-card__body { padding: 22px; }
.site-card__body h3 { margin: 6px 0; font-size: var(--fs-md); }
.site-card__body p { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.8; }
@media (max-width: 560px) { .site-card { grid-template-columns: 1fr; } .site-card .ph { height: 140px; } }
.elements { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.element { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 16px; text-align: center; }
.element svg { height: 72px; width: 100%; color: var(--dark-umber); margin-bottom: 14px; }
.element h3 { font-size: var(--fs-base); margin: 0 0 4px; color: var(--terracotta-700); }
.element p { margin: 0; font-size: var(--fs-xs); color: var(--ink-3); }
@media (max-width: 960px) { .elements { grid-template-columns: repeat(2, 1fr); } }

/* Expert (chat) */
.expert { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.expert-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 16px); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.panel h3 { font-size: var(--fs-base); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.topic-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.topic-list button { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 10px; border: 0; background: none; border-radius: var(--r-md); text-align: start; color: var(--ink-2); font-weight: var(--fw-medium); }
.topic-list button:hover { background: var(--ivory); }
.topic-list svg { width: 28px; height: 28px; color: var(--terracotta); flex: none; }
.chat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); display: flex; flex-direction: column; min-height: 640px; overflow: hidden; box-shadow: var(--shadow-1); }
.chat__head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--ivory-50); }
.chat__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--ivory); display: grid; place-items: center; border: 2px solid var(--terracotta); overflow: hidden; flex: none; }
.chat__avatar img { width: 30px; }
.chat__head h2 { font-size: var(--fs-md); margin: 0; }
.chat__head p { margin: 0; font-size: var(--fs-xs); color: var(--ok); display: flex; align-items: center; gap: 6px; }
.chat__head p::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.chat__log { flex: 1; padding: 24px 20px; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; max-height: 560px; background: var(--bg-soft); }
.msg { max-width: 78%; padding: 14px 16px; border-radius: 16px; line-height: 1.85; font-size: .97rem; }
.msg p { margin: 0; }
.msg--bot { background: var(--surface); border: 1px solid var(--line); border-start-start-radius: 4px; align-self: flex-start; color: var(--ink-2); }
.msg--me { background: var(--dark-umber); color: var(--ivory); border-start-end-radius: 4px; align-self: flex-end; }
.msg__src { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.msg__src a { font-size: var(--fs-xs); display: inline-flex; align-items: center; gap: 4px; background: var(--ivory); padding: 2px 10px; border-radius: 999px; }
.msg__src .icon { width: 13px; height: 13px; }
.typing { display: inline-flex; gap: 4px; padding: 6px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--umber-300); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; } }
.chat__suggest { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 20px 14px; background: var(--bg-soft); }
.chat__suggest button { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 999px; padding: 6px 14px; min-height: 38px; font-size: var(--fs-sm); color: var(--ink-2); }
.chat__suggest button:hover { border-color: var(--terracotta); color: var(--terracotta-700); }
.chat__form { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); align-items: end; }
.chat__form textarea { flex: 1; min-height: 50px; max-height: 160px; resize: none; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); line-height: 1.6; }
.chat__form textarea:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 4px rgb(189 69 42 / .14); }
.chat__note { font-size: var(--fs-xs); color: var(--ink-3); padding: 0 16px 12px; margin: 0; }
@media (max-width: 960px) { .expert { grid-template-columns: 1fr; } .expert-side { position: static; order: 2; } .msg { max-width: 92%; } .chat { min-height: 540px; } }

/* Contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.ccard { display: flex; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.ccard .ic { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--terracotta-50); color: var(--terracotta); display: grid; place-items: center; flex: none; }
.ccard h3 { font-size: var(--fs-base); margin: 0 0 2px; }
.ccard p, .ccard a { margin: 0; font-size: var(--fs-sm); color: var(--ink-3); }
.ccard a:hover { color: var(--primary-ink); }
.form-card { background: var(--surface); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-2); border: 1px solid var(--line); }
.map { aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; position: relative; background: var(--sand-100); border: 1px solid var(--line); }
.map::before { content: ""; position: absolute; inset: 0; background: var(--umber-300); opacity: .5; -webkit-mask: url(../brand/el-geometric.svg) 0 0 / 70px auto repeat; mask: url(../brand/el-geometric.svg) 0 0 / 70px auto repeat; }
.map__pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -80%); color: var(--terracotta); display: grid; justify-items: center; gap: 8px; }
.map__pin svg { width: 48px; height: 48px; filter: drop-shadow(0 6px 10px rgb(46 36 28 / .3)); }
.map__pin span { background: var(--surface); color: var(--ink); padding: 6px 12px; border-radius: 999px; font-size: var(--fs-sm); font-weight: 600; box-shadow: var(--shadow-2); white-space: nowrap; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }

/* Media */
.video-card .card__media::after { content: ""; position: absolute; inset: 0; background: rgb(46 36 28 / .35); }
.play { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgb(255 255 255 / .92); color: var(--terracotta); display: grid; place-items: center; box-shadow: var(--shadow-2); }
.play svg { width: 26px; height: 26px; fill: currentColor; }
.press { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .press { grid-template-columns: 1fr; } }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-md); border: 1px solid var(--line); color: var(--ink-2); font-family: system-ui, sans-serif; background: var(--surface); }
.pagination a[aria-current] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.pagination .icon { width: 18px; height: 18px; }
