/* Community, places and editorial stories. Existing brand and hero remain intact. */
/* Improve paragraph endings without hard-coded viewport-specific line breaks. */
p, dd, figcaption, address, .hero-event-date, .dialog-footnote {text-wrap:pretty}
h2, h3 {text-wrap:balance}
.info-dialog h2 {font-size:clamp(30px,10.4vw,42px)}
.desktop-nav {gap:24px}
.hero-event-place {font-size:24px}
.hero-event-date {line-height:1.5}
.mobile-menu {overflow-y:auto;overscroll-behavior:contain}
.mobile-menu nav a {min-height:52px}
.impact {background:#e3f1ed}
.anniversary-layout {display:grid;grid-template-columns:1.1fr 1fr;gap:7%;align-items:center}
.anniversary-copy h2 {font-size:clamp(48px,5.6vw,86px);line-height:1.02;letter-spacing:-.065em;font-weight:500;margin:18px 0 28px}
.anniversary-number {font-size:1.6em;letter-spacing:-.08em;margin-right:.04em}
.anniversary-copy>p {max-width:500px;font-size:17px;line-height:1.7;margin-bottom:28px}
.mascot-scene {position:relative;margin:0;padding:44px 0 0;text-align:center}
.mascot-scene img {width:100%;height:auto;display:block;transform:rotate(-5deg)}
.mascot-bubble {display:inline-block;background:var(--cream);border:1px solid #243b6714;border-radius:24px 24px 24px 4px;padding:16px 24px;font-size:17px;line-height:1.4;transform:rotate(4deg);position:relative;z-index:1;margin-bottom:-22px}
.mascot-scene figcaption {font-size:12px;line-height:1.6;color:#4c6078;margin-top:4px}
/* Illustrated annual results: values remain live text, artwork is decorative. */
.impact-stats {margin-top:64px;padding:0;background:transparent;color:var(--navy);border:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
.impact-stats-heading {grid-column:1/-1;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:0 0 12px}
.impact-stats-title {margin:0;color:var(--navy);font-size:28px;font-weight:550;line-height:1.2;letter-spacing:-.045em;text-wrap:initial}
.impact-stats-heading p {color:#50617c;font-size:12px;line-height:1.5;text-align:left}
.impact-stat {position:relative;isolation:isolate;min-width:0;min-height:220px;padding:24px;display:flex;flex-direction:column;justify-content:flex-end;gap:7px;color:var(--navy);border-radius:18px;background:#fff8ec}
.impact-stat--people {background:#f8e5ee}
.impact-stat--trips {background:#d8efec}
.impact-stat--ideas {background:#fff6e5}
.impact-stat--stories {background:#e2e7f3}
.impact-stat-art {position:absolute;top:14px;right:12px;width:124px;height:90px;object-fit:contain;pointer-events:none}
.impact-stat strong {position:relative;font-size:clamp(60px,5.6vw,84px);letter-spacing:-.075em;font-weight:550;line-height:1;font-variant-numeric:lining-nums tabular-nums}
.impact-stat>span {position:relative;font-size:14px;line-height:1.45;letter-spacing:-.02em;text-wrap:balance}
.places {background:var(--cream)}
.places-grid {display:grid;grid-template-columns:1fr 1fr;gap:24px}
.place-card {padding:36px;border:1px solid var(--line);border-radius:28px;display:flex;flex-direction:column;background:#fffdf8}
.place-card:nth-child(2) {background:#e8f1ef}
.place-card-top {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:32px}
.place-number {width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:var(--navy);color:white;font-size:12px;flex:none}
.place-region {font-size:10px;letter-spacing:.08em;text-align:right}
.place-card h3 {font-size:clamp(28px,2.9vw,44px);letter-spacing:-.05em;line-height:1.15;font-weight:500}
.place-official {font-size:12px;color:#50617c;line-height:1.6;margin:16px 0 28px;min-height:38px}
.place-card address {font-style:normal;display:flex;flex-direction:column;align-items:flex-start;gap:15px;font-size:16px;line-height:1.6;margin-top:auto}
.place-card address a {max-width:100%;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:4px}
.place-card address small {font-size:11px;display:block;color:#50617c;text-decoration:none}
.place-actions {display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:32px;padding-top:24px;border-top:1px solid var(--line)}
.place-actions .text-link {font-size:12px;padding:12px 18px;white-space:normal}
.place-story-link {font-size:12px;text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}
.places-note {font-size:12px;line-height:1.7;max-width:850px;margin:24px 0 0;color:#50617c}
.places-note a {color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.stories {background:#f0ede5}
.featured-story {position:relative;isolation:isolate;display:grid;grid-template-columns:1.6fr 1fr;min-height:600px;overflow:hidden;border-radius:28px;color:#fff}
.story-photo {position:absolute;inset:0;z-index:-2;display:block;overflow:hidden}
.story-photo img {width:100%;height:100%;display:block;object-fit:cover;object-position:center 24%}
/* Keep faces clear; progressively blur the photograph toward the text column. */
.story-photo::after {content:'';position:absolute;inset:0;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);-webkit-mask-image:linear-gradient(90deg,transparent 59%,#000 71%);mask-image:linear-gradient(90deg,transparent 59%,#000 71%);pointer-events:none}
.story-photo:focus-visible {outline:3px solid var(--pink);outline-offset:-7px}
.featured-story:has(.story-photo:focus-visible) {outline:3px solid var(--pink);outline-offset:5px}
.featured-story-copy {position:relative;isolation:isolate;grid-column:2;padding:clamp(32px,4vw,60px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-shadow:0 1px 10px #10213c38}
.featured-story-copy::before {content:'';position:absolute;inset:0 0 0 -25%;z-index:-1;background:linear-gradient(90deg,#151b2300,#151b238f 28%,#151b23a6);pointer-events:none}
.story-type {font-size:10px;letter-spacing:.09em;line-height:1.5;color:#fff}
.featured-story h3 {font-size:clamp(32px,3.6vw,52px);font-weight:500;letter-spacing:-.055em;line-height:1.12;margin:28px 0 24px}
.featured-story p {font-size:15px;line-height:1.75;color:#fff;max-width:480px}
.story-author {font-size:12px;margin:24px 0 28px}
.featured-story .button {background:var(--cream);color:var(--navy);font-size:13px;min-height:48px;text-shadow:none}
.album-heading {display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin:64px 0 28px}
.album-heading h3 {font-size:36px;font-weight:500;letter-spacing:-.05em}
.album-heading p {font-size:14px;line-height:1.65;margin:0;max-width:360px}
.album-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 22px}
.album-card {display:block;border:1px solid var(--line);border-radius:24px;overflow:hidden;background:var(--cream);transition:border-color .2s}
.album-card:hover {border-color:var(--navy)}
.album-cover {height:210px;background:#d5e9e6;position:relative;display:grid;place-items:center;overflow:hidden}
.album-cover svg {width:90px;height:72px;transform:rotate(-8deg)}
.album-cover::before {content:'';position:absolute;width:190px;height:190px;border:1px solid #243b6726;border-radius:50%;right:-40px;top:-75px}
.album-format {position:absolute;left:22px;top:22px;font-size:10px;letter-spacing:.12em}
.album-index {position:absolute;right:20px;bottom:-12px;font-size:88px;letter-spacing:-.08em;opacity:.14;line-height:1}
.album-color-2 {background:#f4dce5}.album-color-3 {background:#dce2f0}.album-color-4 {background:#e4e0d5}.album-color-5 {background:#cee7e8}
.album-caption {padding:24px}
.album-caption h3 {font-size:24px;font-weight:550;letter-spacing:-.04em;line-height:1.2}
.album-caption p {font-size:13px;line-height:1.5;margin:10px 0 22px;color:#52647e}
.album-caption>span {display:inline-flex;min-height:44px;align-items:center;border-bottom:1px solid #243b6740;font-size:12px}
.channel-band {margin-top:64px;color:var(--navy);background:var(--aqua);border-radius:28px;padding:36px 40px;display:flex;align-items:center;justify-content:space-between;gap:32px}
.channel-band h3 {max-width:560px;font-size:34px;font-weight:500;letter-spacing:-.05em;line-height:1.15;margin:12px 0}
.channel-band p {font-size:15px;line-height:1.6;max-width:480px}
.channel-band .button {flex:none;min-width:200px}
.channel-copy {min-width:0;flex:1}
.channel-eyebrow {display:flex;align-items:center;gap:10px}
.channel-eyebrow .small-label {line-height:1.4}
.channel-symbol {display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:var(--navy);color:var(--aqua)}
.telegram-icon {display:block;width:22px;height:22px;flex:none}
.channel-symbol .telegram-icon {width:16px;height:16px;margin-left:-1px}
.contact-channel,.mobile-menu>a {display:inline-flex;align-items:center;gap:10px}
.place-card address .place-phone {white-space:nowrap;overflow-wrap:normal;font-variant-numeric:tabular-nums;letter-spacing:.025em;text-decoration-color:#243b6750}
.team-grid {row-gap:44px}
.person {min-width:0}
.person-graphic {height:260px}
.person-information {padding-top:22px}
.person-role {margin:0;line-height:1.5;min-height:33px}
.person h3 {font-size:clamp(28px,2.6vw,38px);line-height:1.12;margin:10px 0 0}

.person-deputy {background:#edcfdc;color:var(--navy)}
.person-organizer {background:#dde4f0;color:var(--navy)}
.person-smm {background:#e5e2d8;color:var(--navy)}
.person-deputy i,.person-organizer i,.person-smm i {color:var(--pink)}
.person-graphic i {width:64px;height:64px;top:28px;right:28px}
.person-graphic .decorative-star {width:100%;height:100%}
.join-team {min-height:390px;display:flex;flex-direction:column;align-items:flex-start}
.join-team .round-arrow {margin-top:auto}
.contact-block {min-width:0}
.contact-email {font-size:clamp(16px,1.8vw,22px);margin-top:20px;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:5px}
.contact-channel {font-size:13px;margin-top:18px;display:inline-flex;min-height:44px;align-items:center;border:1px solid var(--line);padding:10px 18px;border-radius:999px}
@media(max-width:1100px){
  .desktop-nav {gap:17px}.desktop-nav a {font-size:12px}.header-help {margin-left:20px}
  .place-card {padding:28px}.place-card h3 {font-size:30px}.place-card address {font-size:14px}
  .featured-story-copy {padding:32px}.featured-story h3 {font-size:36px}
  .impact-stats {gap:12px}
  .impact-stat {padding:20px;min-height:220px}.impact-stat-art {width:108px;height:79px}
  .impact-stat>span {min-height:41px}
}
@media(max-width:1000px){
  .featured-story {grid-template-columns:1fr;min-height:0;padding-top:clamp(230px,40vw,400px)}
  /* A soft continuation of the same photo fills the taller, content-sized card. */
  .featured-story::before {content:'';position:absolute;inset:-24px;z-index:-3;background:url('assets/photos-v1/site/story-karabanovo-320.webp') center/cover;filter:blur(22px);pointer-events:none}
  .story-photo {bottom:auto;height:clamp(290px,48vw,480px);-webkit-mask-image:linear-gradient(#000 65%,transparent);mask-image:linear-gradient(#000 65%,transparent)}
  .story-photo img {object-position:center 38%}
  .story-photo::after {display:none}
  .featured-story-copy {grid-column:1;padding:32px}
  .featured-story-copy::before {inset:-70px 0 0;background:linear-gradient(#151b2300,#151b238f 70px,#151b23a6)}
  .featured-story h3 {margin:18px 0 20px}
  .desktop-nav {display:none}.header-help {margin-left:auto}
  .menu-button {display:flex;flex-direction:column;justify-content:center;gap:6px;width:44px;height:44px;align-items:center;flex:none}
  .menu-button span {height:1px;width:22px;background:var(--navy);transition:transform .25s}
  .menu-button[aria-expanded=true] span:first-child {transform:translateY(3.5px) rotate(45deg)}
  .menu-button[aria-expanded=true] span:last-child {transform:translateY(-3.5px) rotate(-45deg)}
  .mobile-menu {position:fixed;inset:77px 0 0;z-index:49;background:var(--cream);padding:22px max(24px,4vw);display:flex;flex-direction:column;gap:25px}
  .mobile-menu nav {display:flex;flex-direction:column}
  .mobile-menu nav a {display:flex;justify-content:space-between;font-size:25px;letter-spacing:-.04em;border-bottom:1px solid var(--line);padding:14px 0;line-height:1.2}
  .mobile-menu nav a span {font-size:10px;padding-top:9px}
  .mobile-menu>a {font-size:14px;padding-block:10px}
  .anniversary-layout {gap:25px}.anniversary-copy h2 {font-size:52px}.anniversary-copy>p {font-size:15px}
  .mascot-bubble {font-size:14px;padding:14px 18px}.mascot-scene figcaption {font-size:11px}
  .team-grid {grid-template-columns:repeat(2,minmax(0,1fr))}.person-graphic {height:240px}
  .album-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .header-help {margin-left:auto}.hero-event-place {font-size:23px}
  .anniversary-layout {grid-template-columns:1fr;gap:30px}
  .anniversary-copy h2 {font-size:clamp(46px,13vw,68px);margin:14px 0 24px}
  .anniversary-number {font-size:1.5em}.anniversary-copy>p {font-size:15px;max-width:480px}
  .mascot-scene {padding:0;max-width:450px;width:100%;justify-self:center}.mascot-scene img {max-height:300px;object-fit:contain}
  .mascot-bubble {margin-bottom:-16px}.mascot-scene figcaption {margin-top:0}
  .impact-stats {grid-template-columns:repeat(2,minmax(0,1fr));margin-top:36px;gap:12px}
  .impact-stats-heading {display:block;padding:0 0 8px}.impact-stats-title {font-size:26px}.impact-stats-heading p {text-align:left;font-size:12px;margin-top:7px}
  .impact-stat {padding:18px;min-height:204px;border-radius:16px;gap:6px}.impact-stat-art {top:12px;right:8px;width:100px;height:73px}
  .impact-stat strong {font-size:58px}.impact-stat>span {font-size:13px;min-height:38px;max-width:140px}
  .places-grid {grid-template-columns:1fr;gap:20px}.place-card {padding:26px}.place-card-top {margin-bottom:28px}.place-card h3 {font-size:30px}.place-official {min-height:0;margin-bottom:24px}.place-card address {font-size:15px}
  .place-actions {gap:12px 20px}.places-note {font-size:11px}
  .featured-story-copy {padding:28px}.featured-story h3 {font-size:32px;margin:22px 0}.featured-story p {font-size:15px}.story-author {margin:20px 0 24px}.featured-story .button {width:100%;font-size:12px}
  .album-heading {display:block;margin-top:44px}.album-heading h3 {font-size:30px;margin-bottom:15px}.album-heading p {font-size:13px}
  .album-grid {gap:14px}.album-cover {height:150px}.album-cover svg {width:60px}.album-format {left:15px;top:16px;font-size:8px}.album-index {font-size:64px;right:16px}
  .album-caption {padding:18px 15px}.album-caption h3 {font-size:20px}.album-caption p {font-size:11px;min-height:34px}.album-caption>span {font-size:11px;line-height:1.4}
  .channel-band {padding:28px;display:block;margin-top:40px}.channel-band h3 {font-size:30px}.channel-band p {font-size:14px}.channel-band .button {margin-top:25px;width:100%;min-width:0}
  .person-information {padding-top:16px}.person-graphic {height:200px}.person h3 {font-size:clamp(23px,5.8vw,30px)}.person-role {font-size:9px;min-height:28px}.person-graphic i {width:42px;height:42px;top:20px;right:20px}
  .join-team {min-height:320px}.contact-email {font-size:19px}.contact-channel {font-size:12px;margin-top:14px}
}
@media(max-width:540px){
  .team-grid {grid-template-columns:1fr;gap:20px}
  .person {display:grid;grid-template-columns:105px minmax(0,1fr);gap:20px;align-items:center;padding:0 0 20px;border-bottom:1px solid var(--line)}
  .person-graphic {height:145px;border-radius:20px}.person-graphic>span {font-size:61px;left:10px;bottom:4px}.person-graphic i {width:30px;height:30px;right:15px;top:16px}
  .person-information {padding:0}.person-role {min-height:0;font-size:9px}.person h3 {font-size:25px;line-height:1.12;margin-top:10px}
  .join-team {min-height:320px;grid-column:auto;margin-top:6px}.join-team h3 {font-size:30px}
}
@media(max-width:380px){
  .impact-stats {gap:10px}.impact-stats-heading {padding:0 0 10px}
  .impact-stat {padding:14px;min-height:190px}.impact-stat strong {font-size:52px}.impact-stat-art {width:88px;height:64px}
  .person {grid-template-columns:84px minmax(0,1fr);gap:14px}.person-graphic {height:130px}.person-graphic>span {font-size:52px}.person h3 {font-size:23px}
  .album-grid {grid-template-columns:1fr}.album-cover {height:180px}.album-caption p {min-height:0}.album-caption h3 {font-size:24px}
  .place-card {padding:22px}.place-card h3 {font-size:27px}.place-region {font-size:9px}
}

.person-founder {background:var(--aqua);color:var(--navy)}
.person-founder i {color:var(--pink)}
.person-director {background:var(--navy);color:var(--cream)}
.person-director i {color:var(--aqua)}
.person-role {text-transform:uppercase}

.trips-poster-link{display:block;min-height:44px;font-size:12px;text-decoration:underline;text-underline-offset:4px;padding:8px 0;margin-top:4px}

.place-illustration{display:block;width:100%;height:clamp(145px,17vw,220px);object-fit:contain;margin:-8px 0 28px}
@media(max-width:760px){.place-illustration{height:auto;aspect-ratio:2.5;margin:-4px 0 24px}}

/* Transparent portraits use one shared background across all team cards. */
.person-graphic.person-portrait { background: #d0e2e3; }
.person-portrait::before, .person-portrait::after { display: none; }
.person-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
@media (min-width: 541px) {
  .team-grid .person-graphic { height: auto; aspect-ratio: 1; }
}
@media (max-width: 540px) {
  .person-portrait img { object-position: 50% 35%; }
}

/* Preserve headroom in the new portrait across square and mobile crops. */
.person-portrait.person-founder img { object-position: center top; }
