@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(../assets/fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(../assets/fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/instrument-serif-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root { color-scheme: light; }
img { max-width: 100%; }

:root {
  --bg: #FFFFFF;
    --ink: #101113;
    --muted: #63666B;
    --line: #E7E5E0;
    --accent: #3B3FF0;
    --accent-2: #FF7A29;
    --maxw: 1080px;
}

* {
  margin:0; padding:0; box-sizing:border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
    color: var(--ink);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Archivo", sans-serif; letter-spacing: -0.015em;
}

a {
  color: inherit; text-decoration: none;
}

.wrap {
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
}

@media (max-width: 640px) {
.wrap {
  padding: 0 20px;
}
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
* {
  animation: none !important; transition: none !important;
}
}

header {
  position: sticky; top:0; z-index: 30;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
}

.nav {
  display:flex; align-items:center; justify-content:space-between; height:72px;
}

.logo {
  font-family:"Archivo", sans-serif; font-weight:900; font-size:1.02rem;
}

.nav-links {
  display:flex; gap:26px; font-size:0.89rem; color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
}

@media (max-width:820px) {
.nav-links {
  display:none;
}
}

.btn-primary {
  background: var(--ink); color:#fff; padding: 9px 18px; border-radius: 3px;
    font-weight:600; font-size:0.86rem; display:inline-block; transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--accent);
}

.hero {
  padding: 78px 0 56px; border-bottom: 1px solid var(--line);
}

.hero-name {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight:700; margin-bottom: 10px;
}

.hero-role {
  color: var(--muted); font-size: 1.08rem;
}

.hero-actions {
  display:flex; gap:14px; flex-wrap:wrap; margin-top: 22px;
}

.btn-outline {
  border:1px solid var(--ink); color: var(--ink); padding: 12px 22px; border-radius: 3px;
    font-weight:600; font-size:0.9rem; display:inline-flex; align-items:center; gap:8px;
    transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--ink); color:#fff;
}

.hero-actions .btn-primary {
  padding: 12px 22px; font-size:0.9rem;
}

#stats {
  border-top:none; padding: 0 0 72px;
}

.stats-grid {
  display:grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px;
}

@media (max-width: 860px) {
.stats-grid {
  grid-template-columns: 1fr;
}
}

.stat-block {
  position:relative; overflow:hidden; border-radius: 14px; min-height: 230px;
    background: #F4F3EE; padding: 30px 28px;
    display:flex; flex-direction:column; justify-content:flex-end;
}

.stat-fill {
  position:absolute; inset:0; background: var(--accent-2);
    transform: scaleX(0); transform-origin: left center;
    transition: transform 0.5s cubic-bezier(.65,0,.35,1);
}

.stat-block:hover .stat-fill {
  transform: scaleX(1);
}

.stat-block .stat-label {
  color: var(--muted); transition: color 0.3s;
}

.stat-block:hover .stat-label {
  color: rgba(255,255,255,0.92);
}

.stat-block b {
  transition: color 0.3s;
}

.stat-block:hover b {
  color:#fff;
}

.stat-block:hover {
  color:#fff;
}

.stat-content {
  position:relative; z-index:1;
}

.stat-block .stat-label {
  display:block; font-size:0.92rem; margin-bottom: 18px; max-width: 26ch;
}

.stat-block b {
  font-family:"Archivo",sans-serif; font-weight:900; font-size: 3.4rem; line-height:1; display:block;
}

@media (max-width: 640px) {
.stat-block b {
  font-size: 2.6rem;
}

.stat-block {
  min-height:190px;
}
}

#whatido {
  background:#fff; padding-top: 88px;
}

.whatido-head {
  display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap; margin-bottom: 48px;
}

.whatido-title {
  font-size: clamp(2rem, 4.4vw, 3rem); font-weight:800; line-height:1.05; max-width: 20ch;
}

.whatido-title em {
  display:block; font-family:"Instrument Serif", serif; font-style:italic; font-weight:400;
    color: var(--accent-2); font-size: 1.25em; line-height:1.1; margin-top: 4px;
}

.btn-view-all {
  display:inline-flex; align-items:center; gap:8px; background: var(--ink); color:#fff;
    padding: 13px 22px; border-radius: 999px; font-weight:600; font-size:0.92rem; flex-shrink:0;
    transition: background 0.2s;
}

.btn-view-all:hover {
  background: var(--accent);
}

.btn-view-all span {
  font-size:1rem;
}

.whatido-grid {
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}

@media (max-width: 900px) {
.whatido-grid {
  grid-template-columns: 1fr 1fr;
}
}

@media (max-width: 560px) {
.whatido-grid {
  grid-template-columns: 1fr;
}
}

.whatido-item {
  position:relative; overflow:hidden; border-radius: 18px; background:#F4F3EE;
    padding: 26px 22px; min-height: 200px; aspect-ratio: 1 / 1.05;
    display:flex; flex-direction:column; justify-content:flex-start;
}

.wi-fill {
  position:absolute; inset:0; transform: scaleX(0); transform-origin:left center;
    transition: transform 0.8s cubic-bezier(.65,0,.35,1);
}

.whatido-item:hover .wi-fill {
  transform: scaleX(1);
}

.wi-fill-a, .wi-fill-b {
  background: rgba(16,17,19,0.05);
}

.wi-content {
  position:relative; z-index:1;
}

.whatido-item h3 {
  font-size: clamp(0.98rem, 1.7vw, 1.18rem); font-weight:800; margin-bottom: 12px; line-height:1.2;
    overflow-wrap: break-word;
}

.whatido-item p {
  color: var(--muted); font-size:0.85rem; line-height:1.5;
}

.bring-head {
  margin: 56px 0 20px;
}

.bring-title {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight:800; line-height:1.05;
}

.wi-list {
  margin-top: 56px; border-top: 1px solid var(--line);
}

.wi-list-row {
  display:flex; align-items:baseline; gap: 18px; padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.wi-list-num {
  font-family:"Archivo",sans-serif; font-weight:800; font-size: clamp(1.15rem, 2.2vw, 1.6rem); color: var(--muted);
}

.wi-list-title {
  font-family:"Archivo",sans-serif; font-weight:800; font-size: clamp(1.15rem, 2.2vw, 1.6rem);
    color: var(--muted); flex:1;
}

.wi-list-row:hover .wi-list-title,
  .wi-list-row:hover .wi-list-num {
  color: var(--ink);
}

@media (max-width: 560px) {
.wi-list-row {
  flex-wrap:wrap;
}
}

section {
  border-bottom: 1px solid var(--line); padding: 72px 0;
}

section:last-of-type {
  border-bottom: none;
}

.kicker {
  color: var(--muted); font-size:0.86rem; margin-bottom: 10px;
}

.section-head {
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight:700; max-width: 30ch;
}

.about-grid {
  display:grid; grid-template-columns: 1.2fr 1fr; gap: 56px;
}

@media (max-width: 780px) {
.about-grid {
  grid-template-columns: 1fr;
}
}

.about-grid p {
  color:#2b2c2e; margin-bottom: 16px; max-width: 58ch;
}

.about-facts {
  border-top: 1px solid var(--line);
}

.about-facts li {
  list-style:none; padding: 16px 0; border-bottom: 1px solid var(--line);
}

.about-facts li .f-label {
  color: var(--muted); font-size:0.84rem; margin-bottom: 4px;
}

.about-facts li .f-value {
  font-size:0.98rem;
}

#about {
  background: var(--ink); color: #EDEAE0;
}

#about .kicker {
  color: var(--accent-2);
}

#about h2 {
  color: #fff;
}

#about .about-grid p {
  color: #C9C8C2;
}

#about .about-grid p em {
  color: #fff; font-style: normal; font-weight: 600;
}

#about .edu-name, #about .agency-name {
  color: #fff;
}

#about .edu-detail, #about .agency-detail {
  color: #9A9C96;
}

#about .agency-mark {
  border-color: rgba(255,255,255,0.5);
}

#about .agency-mark::before {
  border-color: rgba(255,255,255,0.3);
}

#about .agency-mark span {
  color: #fff;
}

#about .edu-seal {
  background:#fff; border-radius:6px; padding:4px; box-sizing:border-box;
}

#about .about-facts {
  border-top-color: rgba(255,255,255,0.15);
}

#about .about-facts li {
  border-bottom-color: rgba(255,255,255,0.15);
}

#about .about-facts .f-label {
  color: #9A9C96;
}

#about .about-facts .f-value {
  color: #fff;
}

#appearances {
  background: var(--accent); color:#fff;
}

#appearances .kicker {
  color: rgba(255,255,255,0.75);
}

#appearances h2 {
  color:#fff;
}

.appearances-grid {
  display:grid; grid-template-columns: repeat(2,1fr); gap: 22px;
}

@media (max-width: 780px) {
.appearances-grid {
  grid-template-columns: 1fr;
}
}

.appearance-card {
  display:block; border-radius:4px; overflow:hidden; background: rgba(255,255,255,0.08);
}

.appearance-thumb {
  position:relative; aspect-ratio: 16/9; background:#000; overflow:hidden;
}

.appearance-thumb img {
  width:100%; height:100%; object-fit:cover; opacity:0.85; transition: opacity 0.2s;
}

.appearance-card:hover .appearance-thumb img {
  opacity:1;
}

.appearance-play {
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
}

.appearance-play span {
  width:52px; height:52px; border-radius:50%; background: rgba(255,255,255,0.92);
    display:flex; align-items:center; justify-content:center;
}

.appearance-play svg {
  width:18px; height:18px; color: var(--accent); margin-left:3px;
}

.appearance-body {
  padding: 16px 18px 20px;
}

.appearance-body .a-title {
  font-weight:600; font-size:0.96rem; margin-bottom:4px;
}

.appearance-body .a-meta {
  font-size:0.82rem; color: rgba(255,255,255,0.65);
}

.rail-wrap {
  position:relative;
}

.rail {
  overflow-x:auto; overflow-y:hidden; scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
}

.rail::-webkit-scrollbar {
  display:none;
}

.rail > img {
  scroll-snap-align: start;
}

.rail-btn {
  position:absolute; top:50%; transform: translateY(-50%); z-index:3;
    width:40px; height:40px; border-radius:50%; border:none;
    background: rgba(255,255,255,0.92); color: var(--ink);
    font-size:1.3rem; line-height:1; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    transition: background 0.2s;
}

.rail-btn:hover {
  background:#fff;
}

.rail-btn-prev {
  left:10px;
}

.rail-btn-next {
  right:10px;
}

@media (max-width: 640px) {
.rail-btn {
  width:34px; height:34px; font-size:1.1rem;
}
}

.edu-row {
  display:flex; flex-wrap:wrap; gap:26px; margin: 26px 0 30px;
}

.agency-row {
  display:flex; flex-wrap:wrap; gap:26px; margin: 4px 0 30px;
}

.agency-card {
  display:flex; align-items:center; gap:14px;
}

.agency-mark {
  width:52px; height:52px; border:1.5px solid var(--ink); border-radius:50%; flex-shrink:0;
    display:flex; align-items:center; justify-content:center; position:relative;
}

.agency-mark::before {
  content:""; position:absolute; inset:4px; border:1px solid var(--ink); border-radius:50%; opacity:0.5;
}

.agency-mark span {
  font-family:"Archivo",sans-serif; font-weight:900; font-size:0.72rem; text-align:center; line-height:1.1;
}

.agency-name {
  font-size:0.92rem; font-weight:600;
}

.agency-detail {
  font-size:0.82rem; color: var(--muted);
}

.edu-card {
  display:flex; align-items:center; gap:14px; max-width: 300px;
}

.edu-seal {
  width:52px; height:52px; flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
}

.edu-seal img {
  width:100%; height:100%; object-fit:contain;
}

.edu-name {
  font-size:0.92rem; font-weight:600;
}

.edu-detail {
  font-size:0.82rem; color: var(--muted);
}

.job {
  padding: 36px; border: 1px solid rgba(255,255,255,0.12); border-radius: 4px;
    margin-bottom: 20px; background: #14151A;
}

.job-head {
  display:flex; justify-content:space-between; align-items:baseline; gap:16px; flex-wrap:wrap; margin-bottom:16px;
}

.job-head h3 {
  font-size:1.2rem; font-weight:700; color:#fff;
}

.job-badge {
  font-size:0.82rem; color: rgba(255,255,255,0.6); border:1px solid rgba(255,255,255,0.25); border-radius:3px; padding:5px 11px; white-space:nowrap;
}

.job ul {
  padding-left: 20px;
}

.job li {
  color:#C9C8C2; font-size:0.97rem; margin-bottom: 10px; max-width: 64ch;
}

.job li:last-child {
  margin-bottom:0;
}

.job li strong {
  color:#fff;
}

.case-study {
  border: 1px solid rgba(255,255,255,0.12); border-radius: 4px; padding: 40px; margin-bottom: 20px; background:#14151A;
}

.case-head {
  display:flex; justify-content:space-between; align-items:baseline; gap:16px; flex-wrap:wrap; margin-bottom:18px;
}

.case-head h3 {
  font-size:1.25rem; font-weight:700; color:#fff;
}

.case-study > p {
  color:#C9C8C2; font-size:0.98rem; max-width: 68ch; margin-bottom: 14px;
}

.case-subhead {
  font-family:"Archivo",sans-serif; font-weight:700; font-size:0.86rem; text-transform:uppercase; letter-spacing:0.04em; color: var(--accent-2); margin: 18px 0 10px;
}

.case-study ul {
  padding-left: 20px; margin-bottom: 16px;
}

.case-study li {
  color:#C9C8C2; font-size:0.97rem; margin-bottom: 8px; max-width: 64ch;
}

.case-stats {
  display:flex; flex-wrap:wrap; gap: 28px; margin: 22px 0 26px; padding-top:20px; border-top:1px solid rgba(255,255,255,0.12);
}

.case-stats div b {
  display:block; font-family:"Archivo",sans-serif; font-size:1.5rem; font-weight:700; margin-bottom:4px; color:#fff;
}

.case-stats div span {
  color: rgba(255,255,255,0.55); font-size:0.82rem;
}

.case-press {
  display:inline-flex; align-items:center; gap:10px; border:1px solid rgba(255,255,255,0.25);
    border-radius:3px; padding:11px 16px; font-size:0.88rem; margin-bottom: 26px; color:#fff;
    max-width:100%;
}

.case-press-label {
  min-width:0; overflow-wrap:anywhere;
}

.case-press-icon {
  flex:0 0 auto; line-height:1;
}

.case-press:hover {
  border-color: var(--accent-2); color: var(--accent-2);
}

.case-gallery {
  column-count: 3; column-gap: 6px;
}

.case-gallery a {
  display:block; overflow:hidden; margin-bottom: 6px; break-inside: avoid;
    transition: transform 0.25s ease, box-shadow 0.25s ease; position:relative;
}

.case-gallery a:hover {
  transform: scale(1.03); box-shadow: 0 10px 24px rgba(0,0,0,0.25); z-index:2;
}

.case-gallery img {
  width:100%; height:auto; display:block;
}

@media (max-width: 780px) {
.case-gallery {
  column-count: 2;
}

.case-study {
  padding: 26px;
}
}

.mb-collage {
  column-count: 3; column-gap: 6px;
}

.mb-collage a {
  display:block; overflow:hidden; margin-bottom: 6px; break-inside: avoid;
}

.mb-collage img {
  width:100%; height:auto; display:block;
}

@media (max-width: 780px) {
.mb-collage {
  column-count: 2;
}
}

.job-media {
  display:flex; flex-wrap:wrap; gap:14px; margin-top: 18px;
}

.media-thumb {
  width: 150px; aspect-ratio: 4/3; border: 1px dashed rgba(255,255,255,0.25); border-radius:4px;
    display:flex; align-items:center; justify-content:center; text-align:center;
    padding: 10px; overflow:hidden; background:#1A1B21;
}

.media-thumb img {
  width:100%; height:100%; object-fit:cover;
}

.media-thumb span {
  font-size:0.74rem; color: rgba(255,255,255,0.55); line-height:1.4;
}

.media-link {
  display:inline-flex; align-items:center; gap:6px; font-size:0.86rem;
    border:1px solid rgba(255,255,255,0.25); border-radius:3px; padding:8px 14px; color:#fff;
}

.media-link:hover {
  border-color: var(--accent-2); color: var(--accent-2);
}

.media-link-row {
  display:flex; flex-wrap:wrap; gap:10px; margin-top:14px;
}

.expo-badges {
  display:flex; flex-wrap:wrap; gap:10px; margin-top: 22px;
}

.expo-badges span {
  font-family:"Archivo",sans-serif; font-weight:700; font-size:0.92rem;
    border:1px solid var(--line); border-radius:3px; padding:9px 16px;
}

#expo p {
  color:#2f3134; font-size:0.98rem; max-width:48ch;
}

#expo {
  background: var(--accent-2); padding-bottom: 0;
}

#expo .kicker {
  color: rgba(16,17,19,0.6);
}

#expo h2 {
  color: #101113;
}

#expo .expo-badges span {
  border-color: rgba(16,17,19,0.35); color:#101113; font-weight:600;
}

.expo-top {
  display:grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items:start;
}

@media (max-width: 780px) {
.expo-top {
  grid-template-columns: 1fr;
}
}

.expo-photo {
  border-radius: 8px; overflow:hidden; aspect-ratio: 4/4.6;
}

.expo-photo img {
  width:100%; height:100%; object-fit:cover; display:block;
}

@media (max-width: 780px) {
.expo-photo {
  max-width: 320px;
}
}

.expo-stat {
  margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(16,17,19,0.2); max-width: 320px;
}

.expo-stat b {
  font-family:"Archivo",sans-serif; font-size:1.7rem; font-weight:700; color:#101113; display:block; margin-bottom:4px;
}

.expo-stat span {
  color:#2f3134; font-size:0.85rem;
}

.expo-filmstrip-outer {
  background:#0E0F0C; padding: 14px 32px; margin-top: 44px;
}

.expo-filmstrip {
  display:flex; align-items:center; gap:6px;
}

.expo-filmstrip img {
  height: 160px; width:auto; flex-shrink:0; border-radius:2px; display:block;
}

@media (max-width: 640px) {
.expo-filmstrip img {
  height: 110px;
}
}

.events-head {
  font-family:"Archivo",sans-serif; font-weight:700; font-size:0.86rem; text-transform:uppercase;
    letter-spacing:0.04em; color: rgba(16,17,19,0.6); margin: 40px 0 14px;
}

.events-collage {
  column-count: 4; column-gap: 6px; margin-bottom: 8px;
}

.events-collage a {
  display:block; overflow:hidden; margin-bottom: 6px; break-inside: avoid;
}

.events-collage img {
  width:100%; height:auto; display:block;
}

@media (max-width: 780px) {
.events-collage {
  column-count: 2;
}
}

.lang-head {
  font-family:"Archivo",sans-serif; font-weight:700; font-size:0.86rem; text-transform:uppercase; letter-spacing:0.04em; color: var(--accent-2); margin: 30px 0 14px;
}

.lang-btn-row {
  display:flex; flex-wrap:wrap; gap: 10px;
}

.lang-btn {
  display:inline-flex; align-items:baseline; gap:6px; cursor:default; user-select:none;
    border:1px solid rgba(255,255,255,0.3); border-radius: 999px; padding: 9px 16px;
    font-family:"Archivo",sans-serif; font-weight:700; font-size:0.9rem; color:#fff;
    background: rgba(255,255,255,0.06);
}

.lang-btn em {
  font-family:"Inter",sans-serif; font-style:normal; font-weight:400; font-size:0.76rem; color:#9A9C96;
}

.lang-note {
  color:#9A9C96 !important; font-size:0.85rem; margin-top:16px; max-width:52ch;
}

#contact {
  padding-bottom: 60px;
}

.contact-grid {
  display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items:start;
}

@media (max-width:780px) {
.contact-grid {
  grid-template-columns:1fr;
}
}

#contact h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight:700; margin-bottom: 16px; max-width: 18ch;
}

.contact-grid > div > p {
  color: var(--muted); max-width: 44ch; margin-bottom: 26px;
}

.contact-list {
  border-top:1px solid var(--line);
}

.contact-list li {
  list-style:none; display:flex; justify-content:space-between; padding: 16px 0;
    border-bottom: 1px solid var(--line); font-size:0.98rem;
}

.contact-list li span:first-child {
  color: var(--muted);
}

.contact-list li a:hover {
  color: var(--accent);
}

footer {
  padding: 26px 0; color: var(--muted); font-size:0.84rem;
    display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
}

/* Preserve the original hero typography after making its title semantic. */
.hero-name { font-family: 'Inter', sans-serif; letter-spacing: normal; }
.gallery-spaced { margin-top: 18px; }
.expo-title { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 700; margin-bottom: 16px; max-width: 20ch; }
.about-title { font-size: clamp(1.4rem, 2.4vw, 1.85rem); margin-bottom: 20px; }
.contact-button { padding: 14px 26px; font-size: 0.96rem; }
/* Keep the original gallery geometry across responsive source dimensions. */
img[width="449"][height="300"] { aspect-ratio: 449 / 300; }
img[width="480"][height="270"] { aspect-ratio: 480 / 270; }
img[width="480"][height="308"] { aspect-ratio: 480 / 308; }
img[width="480"][height="640"] { aspect-ratio: 480 / 640; }
img[width="520"][height="804"] { aspect-ratio: 520 / 804; }
img[width="520"][height="909"] { aspect-ratio: 520 / 909; }
img[width="520"][height="952"] { aspect-ratio: 520 / 952; }
img[width="559"][height="741"] { aspect-ratio: 559 / 741; }
img[width="560"][height="560"] { aspect-ratio: 560 / 560; }
img[width="560"][height="745"] { aspect-ratio: 560 / 745; }
img[width="560"][height="746"] { aspect-ratio: 560 / 746; }
img[width="560"][height="868"] { aspect-ratio: 560 / 868; }
img[width="560"][height="881"] { aspect-ratio: 560 / 881; }
img[width="560"][height="984"] { aspect-ratio: 560 / 984; }
img[width="560"][height="1012"] { aspect-ratio: 560 / 1012; }
img[width="560"][height="1034"] { aspect-ratio: 560 / 1034; }
img[width="560"][height="1216"] { aspect-ratio: 560 / 1216; }
img[width="640"][height="320"] { aspect-ratio: 640 / 320; }
img[width="640"][height="363"] { aspect-ratio: 640 / 363; }
img[width="640"][height="384"] { aspect-ratio: 640 / 384; }
img[width="640"][height="672"] { aspect-ratio: 640 / 672; }
img[width="640"][height="814"] { aspect-ratio: 640 / 814; }
img[width="640"][height="1029"] { aspect-ratio: 640 / 1029; }
img[width="640"][height="1390"] { aspect-ratio: 640 / 1390; }
img[width="645"][height="460"] { aspect-ratio: 645 / 460; }
img[width="700"][height="393"] { aspect-ratio: 700 / 393; }
img[width="700"][height="438"] { aspect-ratio: 700 / 438; }
img[width="700"][height="466"] { aspect-ratio: 700 / 466; }
img[width="700"][height="478"] { aspect-ratio: 700 / 478; }
img[width="700"][height="525"] { aspect-ratio: 700 / 525; }
img[width="700"][height="539"] { aspect-ratio: 700 / 539; }
img[width="700"][height="933"] { aspect-ratio: 700 / 933; }
img[width="700"][height="1049"] { aspect-ratio: 700 / 1049; }
img[width="800"][height="431"] { aspect-ratio: 800 / 431; }
img[width="800"][height="444"] { aspect-ratio: 800 / 444; }
img[width="900"][height="581"] { aspect-ratio: 900 / 581; }
img[width="900"][height="1035"] { aspect-ratio: 900 / 1035; }


/* Password overlay: a lightweight visual gate over the original page. */
html.access-locked,
html.access-locked body {
  overflow: hidden;
}

.access-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  background: rgba(250, 249, 245, 0.5);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.access-card {
  width: min(100%, 400px);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  box-shadow: 0 14px 48px rgba(16, 17, 19, 0.08);
}

.access-card h2 {
  margin-bottom: 20px;
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 700;
}

.access-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.access-fields input {
  min-width: 0;
  width: 100%;
  height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  line-height: 1.4;
  transition: border-color 0.2s;
}

.access-fields input:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.access-fields input[aria-invalid="true"] {
  border-color: #a32b20;
}

.access-submit {
  min-height: 46px;
  padding: 10px 18px;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.access-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.access-message {
  margin: 0;
  color: #a32b20;
  font-size: 0.875rem;
  line-height: 1.5;
}

.access-message:not(:empty),
.access-noscript {
  margin-top: 14px;
}

.access-noscript {
  color: var(--muted);
  font-size: 0.875rem;
}

@media (max-width: 480px) {
  .access-gate { padding: 20px; }
  .access-card { padding: 26px 22px; }
}

@media (max-height: 360px) {
  .access-gate { place-items: start center; }
}

/* Keep anchor targets below the 72px navigation and its bottom border. */
html { scroll-padding-top: 97px; }

/* Let stacked cards follow their content rather than desktop proportions. */
@media (max-width: 900px) {
  #whatido { padding-top: clamp(40px, 6vw, 64px); }
  .whatido-head {
    gap: 20px;
    margin-bottom: clamp(24px, 4vw, 32px);
  }
  .whatido-item {
    aspect-ratio: auto;
    min-height: clamp(148px, 24vw, 192px);
    padding: clamp(18px, 4.8vw, 24px);
  }
}

@media (max-width: 860px) {
  #stats {
    padding-top: clamp(20px, 4vw, 28px);
    padding-bottom: clamp(40px, 7vw, 56px);
  }
  .stat-block {
    min-height: clamp(126px, 24vw, 168px);
    padding: clamp(18px, 4.8vw, 24px);
  }
  .stat-block .stat-label { margin-bottom: 12px; }
}

@media (max-width: 560px) {
  .stats-grid, .whatido-grid { gap: 12px; }
}
