/* ============================================================
   Cassandra Cruz · cassandracruzweb.com
   Design: papel picado (Mexican cut-paper) motif system.
   Warm paper base, cut-paper bunting, pennant markers,
   pierced corner rosette, brick gallery, tri-colour dots.
   ============================================================ */

:root {
  --paper: #fdf9f3;
  --card: #ffffff;
  --ink: #221a1c;
  --muted: #6b5a55;
  --mag: #c2185b;
  --mag-dark: #8e1244;
  --ora: #e07a2f;
  --teal: #1f6f78;
  --teal-dark: #175258;
  --cord: #b8865b;
  --line: #eadfd2;
  --size: 1180px;
  --font-body: 'Reddit Sans', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Kenia', 'Reddit Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(184, 134, 91, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--mag); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.shell { max-width: var(--size); margin: 0 auto; padding: 0 22px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--mag); color: #fff; padding: 10px 16px; z-index: 60;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------------------------------------------------------- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(253, 249, 243, 0.97);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: "";
  display: block;
  height: 9px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22100%22 height=%229%22 viewBox=%220 0 100 9%22%3E%3Crect width=%22100%22 height=%221.6%22 fill=%22%23b8865b%22/%3E%3Cpolygon points=%223,1.6 16,1.6 9.5,8%22 fill=%22%23c2185b%22/%3E%3Cpolygon points=%2219,1.6 32,1.6 25.5,8%22 fill=%22%23e07a2f%22/%3E%3Cpolygon points=%2235,1.6 48,1.6 41.5,8%22 fill=%22%231f6f78%22/%3E%3Cpolygon points=%2251,1.6 64,1.6 57.5,8%22 fill=%22%23c2185b%22/%3E%3Cpolygon points=%2267,1.6 80,1.6 73.5,8%22 fill=%22%23e07a2f%22/%3E%3Cpolygon points=%2283,1.6 96,1.6 89.5,8%22 fill=%22%231f6f78%22/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 100px 9px;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding-top: 12px; padding-bottom: 12px;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 27px; line-height: 1.05;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.wordmark span { color: var(--mag); }

.main-nav { display: flex; align-items: center; gap: 4px 16px; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 500;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--mag); border-bottom-color: var(--ora); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--teal); color: var(--teal); }

/* buttons (nav button must re-declare colour: .main-nav a wins on specificity) */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.2;
  padding: 11px 20px;
  border-radius: 3px;
  text-decoration: none;
  background: var(--mag);
  color: #fff;
  border: 2px solid var(--mag);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--mag-dark); border-color: var(--mag-dark); color: #fff; }
.main-nav a.btn { color: #fff; border-bottom: 2px solid var(--mag); padding: 10px 18px; }
.main-nav a.btn:hover { color: #fff; background: var(--mag-dark); border-color: var(--mag-dark); border-bottom-color: var(--mag-dark); }
.btn-lg { font-size: 17px; padding: 14px 26px; }
.btn-outline {
  background: var(--card); color: var(--mag); border-color: var(--mag);
}
.btn-outline:hover { background: var(--mag); color: #fff; border-color: var(--mag); }

/* ---------------------------------------------------------- bunting ---- */
.bunting {
  height: 48px;
  margin: 0 0 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22156%22 height=%2248%22 viewBox=%220 0 156 48%22%3E%3Crect width=%22156%22 height=%222.4%22 fill=%22%23b8865b%22/%3E%3Cpolygon points=%226,2.4 26,2.4 16,38.4%22 fill=%22%23c2185b%22/%3E%3Ccircle cx=%2216%22 cy=%2222.2%22 r=%223.1%22 fill=%22%23fdf9f3%22/%3E%3Cpolygon points=%2232,2.4 52,2.4 42,29.4%22 fill=%22%23e07a2f%22/%3E%3Ccircle cx=%2242%22 cy=%2217.2%22 r=%223.1%22 fill=%22%23fdf9f3%22/%3E%3Cpolygon points=%2258,2.4 78,2.4 68,38.4%22 fill=%22%231f6f78%22/%3E%3Ccircle cx=%2268%22 cy=%2222.2%22 r=%223.1%22 fill=%22%23fdf9f3%22/%3E%3Cpolygon points=%2284,2.4 104,2.4 94,29.4%22 fill=%22%23c2185b%22/%3E%3Ccircle cx=%2294%22 cy=%2217.2%22 r=%223.1%22 fill=%22%23fdf9f3%22/%3E%3Cpolygon points=%22110,2.4 130,2.4 120,38.4%22 fill=%22%23e07a2f%22/%3E%3Ccircle cx=%22120%22 cy=%2222.2%22 r=%223.1%22 fill=%22%23fdf9f3%22/%3E%3Cpolygon points=%22136,2.4 156,2.4 146,29.4%22 fill=%22%231f6f78%22/%3E%3Ccircle cx=%22146%22 cy=%2217.2%22 r=%223.1%22 fill=%22%23fdf9f3%22/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 156px 48px;
}

/* ------------------------------------------------------ section kit ---- */
.section { padding: 44px 0 8px; }
.sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.sec-tag {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1;
  color: #fff;
  background: var(--mag);
  padding: 9px 12px 13px;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
  min-width: 48px;
  text-align: center;
}
.sec-tag.t-ora { background: var(--ora); color: var(--ink); }
.sec-tag.t-teal { background: var(--teal); }
.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(27px, 3.2vw, 38px);
  font-weight: 400;
  color: var(--teal);
  margin: 0;
  line-height: 1.1;
}
.section p { margin: 0 0 14px; }
.lead-line { color: var(--muted); font-size: 16.5px; max-width: 68ch; margin-bottom: 20px; }

/* --------------------------------------------------------- hero ---- */
.hero { padding: 8px 0 14px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 44px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mag);
  margin: 0 0 14px;
  border-bottom: 3px solid var(--ora);
  padding-bottom: 4px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.6vw, 72px);
  font-weight: 400;
  line-height: 1.0;
  color: var(--teal);
  margin: 0 0 16px;
}
.hero-lead { font-size: 18.5px; max-width: 54ch; margin: 0 0 24px; }
.hero-lead strong { color: var(--mag); font-weight: 700; }
.hero-cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-note { font-size: 14.5px; color: var(--muted); }

.photo-frame {
  position: relative;
  background: var(--card);
  padding: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(120, 78, 46, 0.16);
}
.photo-frame img { width: 100%; }
.hero-photo { aspect-ratio: 2 / 3; object-fit: cover; }
.hero-photo-wrap::after {
  content: "";
  position: absolute;
  right: -20px; top: -20px;
  width: 116px; height: 116px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22120%22 height=%22120%22 viewBox=%220 0 120 120%22%3E%3Crect width=%22120%22 height=%22120%22 rx=%224%22 fill=%22%23ffffff%22/%3E%3Cpath d=%22M 22,0 A 98,98 0 0 0 120,98%22 fill=%22none%22 stroke=%22%23c2185b%22 stroke-width=%223%22/%3E%3Cpath d=%22M 46,0 A 74,74 0 0 0 120,74%22 fill=%22none%22 stroke=%22%23e07a2f%22 stroke-width=%222.5%22/%3E%3Ccircle cx=%22106.5%22 cy=%2258.5%22 r=%229.5%22 fill=%22%231f6f78%22/%3E%3Ccircle cx=%22106.5%22 cy=%2258.5%22 r=%224%22 fill=%22%23fdf9f3%22/%3E%3Ccircle cx=%2282.2%22 cy=%2246.6%22 r=%229.5%22 fill=%22%231f6f78%22/%3E%3Ccircle cx=%2282.2%22 cy=%2246.6%22 r=%224%22 fill=%22%23fdf9f3%22/%3E%3Ccircle cx=%2265.6%22 cy=%2225.4%22 r=%229.5%22 fill=%22%231f6f78%22/%3E%3Ccircle cx=%2265.6%22 cy=%2225.4%22 r=%224%22 fill=%22%23fdf9f3%22/%3E%3Ccircle cx=%22109%22 cy=%2211%22 r=%228%22 fill=%22%23e07a2f%22/%3E%3Ccircle cx=%22109%22 cy=%2211%22 r=%223.2%22 fill=%22%23ffffff%22/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  box-shadow: 0 8px 18px rgba(120, 78, 46, 0.18);
}
.hero-note-wrap { margin-top: 14px; }

/* ----------------------------------------------------- partners ---- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  margin: 0; padding: 0;
}
.partner-card {
  display: flex; align-items: center; justify-content: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px dotted var(--cord);
  border-radius: 4px;
  height: 150px;
  padding: 14px;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.partner-card:nth-child(3n+1) { border-top-color: var(--mag); }
.partner-card:nth-child(3n+2) { border-top-color: var(--ora); }
.partner-card:nth-child(3n+3) { border-top-color: var(--teal); }
.partner-card:hover { transform: translateY(-2px); border-color: var(--mag); }
.partner-card img { max-width: 200px; max-height: 118px; width: auto; height: auto; }

/* ------------------------------------------------- quick profile ---- */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  margin: 0 0 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 26px 16px;
}
.facts > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}
.facts dt { color: var(--muted); font-size: 15px; margin: 0; }
.facts dd { margin: 0; font-weight: 600; text-align: right; font-size: 15.5px; }

.sticker-row { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0 0 8px; list-style: none; }
.sticker {
  display: inline-block;
  background: var(--card);
  border: 2px solid var(--teal);
  border-radius: 3px;
  padding: 6px 13px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 0 rgba(184, 134, 91, 0.25);
  transform: rotate(-1deg);
}
.sticker:nth-child(even) { transform: rotate(1.1deg); border-color: var(--mag); }
.sticker:nth-child(3n) { transform: rotate(-0.4deg); border-color: var(--ora); }

/* ------------------------------------------------------- about ---- */
.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 46px;
  align-items: start;
}
.about-grid .photo-frame { position: relative; }
.about-grid .photo-frame::after {
  content: "";
  position: absolute;
  right: -18px; top: -18px;
  width: 108px; height: 108px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22120%22 height=%22120%22 viewBox=%220 0 120 120%22%3E%3Crect width=%22120%22 height=%22120%22 rx=%224%22 fill=%22%23ffffff%22/%3E%3Cpath d=%22M 22,0 A 98,98 0 0 0 120,98%22 fill=%22none%22 stroke=%22%23c2185b%22 stroke-width=%223%22/%3E%3Cpath d=%22M 46,0 A 74,74 0 0 0 120,74%22 fill=%22none%22 stroke=%22%23e07a2f%22 stroke-width=%222.5%22/%3E%3Ccircle cx=%22106.5%22 cy=%2258.5%22 r=%229.5%22 fill=%22%231f6f78%22/%3E%3Ccircle cx=%22106.5%22 cy=%2258.5%22 r=%224%22 fill=%22%23fdf9f3%22/%3E%3Ccircle cx=%2282.2%22 cy=%2246.6%22 r=%229.5%22 fill=%22%231f6f78%22/%3E%3Ccircle cx=%2282.2%22 cy=%2246.6%22 r=%224%22 fill=%22%23fdf9f3%22/%3E%3Ccircle cx=%2265.6%22 cy=%2225.4%22 r=%229.5%22 fill=%22%231f6f78%22/%3E%3Ccircle cx=%2265.6%22 cy=%2225.4%22 r=%224%22 fill=%22%23fdf9f3%22/%3E%3Ccircle cx=%22109%22 cy=%2211%22 r=%228%22 fill=%22%23e07a2f%22/%3E%3Ccircle cx=%22109%22 cy=%2211%22 r=%223.2%22 fill=%22%23ffffff%22/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  box-shadow: 0 8px 18px rgba(120, 78, 46, 0.18);
}
.about-photo { aspect-ratio: 4 / 5; object-fit: cover; }
.about-copy h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--mag);
  margin: 0 0 10px;
}
.about-copy p { max-width: 62ch; }
.about-copy p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------ career ---- */
.career-block { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.career-block p { max-width: 60ch; }

.rail { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; margin: 6px 0 0; padding: 0; }
.rail li { position: relative; padding-top: 26px; }
.rail li::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--mag);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--mag);
}
.rail li::after {
  content: "";
  position: absolute; left: 25px; right: 4px; top: 7px; height: 3px;
  background-image: repeating-linear-gradient(90deg, var(--cord) 0 10px, transparent 10px 17px);
}
.rail li:nth-child(3n)::after { display: none; }
.rail li.c2::before { background: var(--ora); box-shadow: 0 0 0 2px var(--ora); }
.rail li.c3::before { background: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.rail .yr { display: block; font-family: var(--font-display); font-size: 21px; color: var(--teal); line-height: 1.1; }
.rail .tx { display: block; font-size: 15px; color: var(--muted); }

/* ------------------------------------------------------ gallery ---- */
.brick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; }
.brick figure {
  margin: 0;
  background: var(--card);
  padding: 11px 11px 14px;
  border: 1px solid var(--line);
  border-top: 3px dashed var(--mag);
  box-shadow: 0 10px 22px rgba(120, 78, 46, 0.12);
}
.brick figure:nth-child(2) { border-top-color: var(--ora); transform: translateY(34px); }
.brick figure:nth-child(3) { border-top-color: var(--teal); }
.brick img { width: 100%; }
.brick figcaption { display: none; }

/* ------------------------------------------------------- social ---- */
.social-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.social-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 4px;
  padding: 13px 18px;
  text-decoration: none;
  color: var(--ink);
}
.social-row:nth-child(2) { border-left-color: var(--mag); }
.social-row:nth-child(3) { border-left-color: var(--ora); }
.social-row:nth-child(4) { border-left-color: var(--teal); }
.social-row:hover { border-color: var(--mag); border-left-color: var(--mag); }
.social-row .platform { font-weight: 700; }
.social-row .handle { color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------- footer ---- */
.site-footer {
  margin-top: 56px;
  border-top: 4px dotted var(--cord);
  background: rgba(255, 255, 255, 0.72);
  padding: 30px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.footer-brand { display: block; }
.brand-name { font-family: var(--font-display); font-size: 25px; color: var(--teal); display: block; line-height: 1.1; }
.brand-line { color: var(--muted); font-size: 14.5px; display: block; margin-top: 6px; }
.language-nav { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.language-nav a { color: var(--ink); font-size: 14.5px; text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 1px; }
.language-nav a:hover { color: var(--mag); border-bottom-color: var(--ora); }
.language-nav a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--teal); }
.footer-legal { margin: 0; font-size: 14px; color: var(--muted); }

/* -------------------------------------------------- subpage kit ---- */
.page-top { padding: 26px 0 6px; }
.page-top .eyebrow { margin-bottom: 0; }
.page-top h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 400;
  color: var(--teal);
  margin: 12px 0 12px;
  line-height: 1.02;
}
.page-top .lead { font-size: 18px; color: var(--ink); max-width: 70ch; margin: 0; }

.prose { max-width: 76ch; }
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 400;
  color: var(--mag);
  margin: 36px 0 12px;
}
.prose h2:first-child { margin-top: 6px; }
.prose p { margin: 0 0 15px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 7px; }

.tl { list-style: none; margin: 8px 0 0; padding: 0 0 0 26px; border-left: 3px dashed var(--cord); max-width: 78ch; }
.tl li { position: relative; padding: 0 0 20px 8px; }
.tl li::before {
  content: "";
  position: absolute; left: -34px; top: 7px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--mag); border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--mag);
}
.tl li.c2::before { background: var(--ora); box-shadow: 0 0 0 2px var(--ora); }
.tl li.c3::before { background: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.tl .when { font-weight: 700; color: var(--teal); }
.tl .when::after { content: ": "; }
.tl .what { color: var(--ink); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 18px; padding: 0; }
.chips li {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 3px;
  padding: 7px 13px;
  font-size: 14.5px;
  font-weight: 500;
}
.chips li:nth-child(3n+1) { border-left-color: var(--mag); }
.chips li:nth-child(3n+2) { border-left-color: var(--ora); }

.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 10px 0 20px; }
.stat { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--mag); border-radius: 4px; padding: 16px 18px; }
.stat:nth-child(3n+2) { border-top-color: var(--ora); }
.stat:nth-child(3n+3) { border-top-color: var(--teal); }
.stat .num { font-family: var(--font-display); font-size: 30px; color: var(--teal); display: block; line-height: 1.1; }
.stat .lbl { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; }

.qa-list { display: grid; gap: 18px; max-width: 86ch; }
.qa {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 6px solid var(--mag);
  border-radius: 4px;
  padding: 20px 24px 18px;
}
.qa:nth-child(3n+2) { border-left-color: var(--ora); }
.qa:nth-child(3n+3) { border-left-color: var(--teal); }
.qa h2 {
  font-family: var(--font-display);
  font-size: 21.5px;
  font-weight: 400;
  color: var(--teal);
  margin: 0 0 8px;
}
.qa p { margin: 0; padding-top: 10px; border-top: 1px dashed var(--line); }

/* --------------------------------------------------------- 404 ---- */
.center-card { max-width: 720px; margin: 40px auto 30px; text-align: center; }
.center-card .code { font-family: var(--font-display); font-size: clamp(70px, 13vw, 130px); color: var(--mag); line-height: 1; margin: 8px 0 4px; }
.center-card h1 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 40px); font-weight: 400; color: var(--teal); margin: 0 0 12px; }
.center-card p { margin: 0 auto 22px; max-width: 52ch; }

/* ----------------------------------------------------- responsive ---- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-photo-wrap { max-width: 460px; }
  .about-grid { grid-template-columns: 1fr; gap: 62px; }
  .about-grid .photo-frame { max-width: 420px; }
  .career-block { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .main-nav { justify-content: flex-start; gap: 2px 12px; }
  .main-nav a { font-size: 14.5px; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partner-card { height: 132px; padding: 10px; }
  .partner-card img { max-width: 150px; max-height: 96px; }
  .facts { grid-template-columns: 1fr; padding: 4px 18px 12px; }
  .brick { grid-template-columns: 1fr; }
  .brick figure:nth-child(2) { transform: none; }
  .brick figure { max-width: 420px; }
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail li:nth-child(3n)::after { display: block; }
  .rail li:nth-child(2n)::after { display: none; }
  .social-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .photo-frame::after, .about-grid .photo-frame::after { width: 84px; height: 84px; right: -12px; top: -12px; }
  .hero-photo-wrap::after { width: 84px; height: 84px; right: -12px; top: -12px; }
}

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