* { box-sizing:border-box }
:root { color-scheme:dark; --night:#091d26; --cream:#faf4e7; --orange:#ffb16f; --muted:#c3d1d2; --line:#34505a }
body { margin:0; background:var(--night); color:var(--cream); font:16px/1.65 "Segoe UI",Arial,sans-serif }
a { color:inherit; text-underline-offset:.25em }
a:hover { color:var(--orange) }
a:focus-visible { outline:3px solid var(--orange); outline-offset:3px }
.member-nav { display:flex; justify-content:space-between; align-items:center; gap:1.5rem; padding:16px max(5vw,20px); border-block-end:1px solid var(--line) }
.member-nav a { text-decoration:none; font-weight:600 }
.brand { font-size:1.65rem; line-height:1; letter-spacing:-.06em }.brand span { color:var(--orange) }
main { max-width:1850px; margin:auto }
.detail-hero,.detail-section { padding:clamp(52px,6vw,96px) clamp(22px,6vw,110px); border-block-end:1px solid var(--line) }
.detail-hero { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); gap:6vw; align-items:center; background:radial-gradient(ellipse at 83% 42%,#35544e,transparent 61%),#081924 }
h1,h2,h3,p,figure { margin:0 }
h1,h2 { font-family:Georgia,"Times New Roman",serif; font-weight:400; text-wrap:balance; line-height:1.06; letter-spacing:-.035em }
h1 { font-size:clamp(46px,5.5vw,86px) }
h2 { font-size:clamp(33px,4.1vw,61px); max-width:29ch }
h1 em,h2 em { color:var(--orange); font-weight:400 }
h3 { font-size:clamp(21px,1.8vw,28px); line-height:1.25; font-weight:600 }
.project-kicker,.detail-step strong { display:block; margin:0 0 18px; color:var(--orange); font-size:.74rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase }
.detail-lead,.detail-hero p:not(.project-kicker) { max-width:76ch; margin-block-start:20px; color:var(--muted); font-size:clamp(1.02rem,1.35vw,1.22rem); line-height:1.7 }
.detail-hero .ethnos-promise { color:#eed0a7!important; font:italic 1.15rem/1.5 Georgia,serif!important }
.btn { display:inline-flex; align-items:center; padding:9px 15px; margin-block-start:22px; border:1px solid #9b7352; border-radius:7px; text-decoration:none; color:var(--orange); font-size:.88rem; font-weight:650 }
.btn:hover { background:#25414a; color:var(--cream) }
figure { min-width:0 }figure img { width:100%; display:block; object-fit:cover }
.ethnos-hero img { height:clamp(360px,37vw,580px); object-position:50% 53% }
figcaption { margin-block-start:9px; color:var(--muted); font-size:.86rem; line-height:1.55 }
figcaption small { display:block; font-size:.72rem; margin-block-start:3px }
figcaption a { color:inherit }
.ethnos-creators,.detail-steps,.ethnos-values,.values-list { display:grid; gap:clamp(16px,2.4vw,35px); margin-block-start:34px }
.values-list { grid-template-columns:repeat(2,minmax(0,1fr)) }
.ethnos-creators,.detail-steps,.ethnos-values { grid-template-columns:repeat(3,minmax(0,1fr)) }

.ethnos-creators img { height:clamp(240px,28vw,410px) }.ethnos-creators figure:first-child img { object-position:65% 55% }.ethnos-creators figure:nth-child(2) img { object-position:70% 50% }
.ethnos-split,.ethnos-manifest { display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,5vw,78px); align-items:center; background:#102c34 }
.ethnos-split img { max-height:580px }.ethnos-manifest { grid-template-columns:.65fr 1fr }.ethnos-manifest img { max-height:430px;object-position:center 52% }
.ethnos-route { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-block:27px; padding-block:16px; border-block:1px solid var(--line); color:#f8c38e }
[dir=rtl] .ethnos-route span:nth-child(even) { transform:scaleX(-1) }
.detail-step,.ethnos-values article,.values-list>div { border-block-start:1px solid #9b7352; padding-block-start:17px }
.detail-step p,.ethnos-values p,.values-list dd { margin:10px 0 0; color:var(--muted) }
.values-list { padding:0;margin-block-end:0 }.values-list dt { font:400 clamp(23px,2.2vw,33px)/1.25 Georgia,serif }

@media(max-width:850px) {
  .detail-hero,.ethnos-split,.ethnos-manifest { grid-template-columns:1fr; gap:30px }
  .ethnos-hero img { height:clamp(250px,55vw,430px) }
  .ethnos-creators { gap:16px }.ethnos-creators img { height:220px }
}
@media(max-width:620px) {
  .detail-hero,.detail-section { padding:36px 20px }
  .ethnos-creators,.detail-steps,.ethnos-values,.values-list { grid-template-columns:1fr }
  .ethnos-creators img { height:auto; max-height:440px }
  .member-nav { gap:12px }.member-nav { font-size:.9rem }
}

.member-nav { justify-content:flex-start; gap:clamp(12px,1.6vw,26px); padding-block:3px; }
.member-nav a { display:inline-flex; align-items:center; min-height:44px; }
.member-nav .brand { gap:7px; }
.member-nav img { width:23px; height:34px; object-fit:contain; }
.valuesPortraits, .municipal-photos {
  display:grid; align-items:start; gap:clamp(9px,1.5vw,24px);
}
.valuesPortraits {
  grid-template-columns:minmax(0,5fr) minmax(0,6fr) minmax(0,6fr) minmax(0,5fr);
  max-width:1280px; margin:32px auto 0;
}
.valuesPortraits img, .municipal-photos img { width:100%; height:auto; object-fit:contain; }
.valuesPortraits figcaption, .municipal-photos figcaption { overflow-wrap:break-word; }
.municipal-section {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:clamp(28px,4vw,72px); align-items:center;
}
.municipal-photos { grid-template-columns:minmax(0,2fr) minmax(0,1fr); }
.municipal-photos img { background:#102c34; }
/* Apply justification only where a line has room for several words. */
.detail-hero > div, .detail-section, .detail-section > div,
.detail-step, .ethnos-values article, .values-list > div { container-type:inline-size; }
@container (min-width: 21rem) {
  main p:not(.project-kicker,.ethnos-promise), .values-list dd {
    text-align:justify; text-align-last:start; hyphens:auto;
  }
}
@media (max-width:850px) {
  .municipal-section { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:480px) {
  .valuesPortraits figcaption { font-size:.76rem; }
  .municipal-photos { gap:10px; }
}

@media (max-width:760px) {
  .valuesPortraits { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 12px; }
  .valuesPortraits img { height:clamp(160px,50vw,320px); }
}
