/* 2026-08-28: typography and spacing rebalance */

:root {
  --header-h: 72px;
  --max-w: 1440px;
  --content-w: 1180px;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5.25rem;
}

html {
  font-size: 16px;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  line-height: 1.72;
}

/* GitHub Pages / multi-page layout */
.site-header {
  height: var(--header-h);
}

.header-inner {
  width: min(100%, 1560px);
  max-width: 1560px;
  padding-inline: clamp(18px, 2.6vw, 42px);
  gap: 16px;
}

.logo {
  gap: 8px;
  font-size: clamp(0.78rem, 0.9vw, 0.9rem);
}

.logo-mark {
  width: 38px;
  height: 40px;
}

nav ul {
  gap: 3px;
}

nav a {
  min-height: 42px;
  padding: 8px 13px;
  font-size: 0.88rem;
}

.hero-base {
  min-height: clamp(430px, 54svh, 600px);
  padding: calc(var(--header-h) + 28px) 24px 42px;
}

.hero-home {
  min-height: clamp(560px, 74svh, 760px);
  padding-bottom: 64px;
}

.hero-content {
  width: min(760px, 100%);
  max-width: 760px;
  padding: clamp(28px, 4.2vw, 44px);
  border-radius: 24px;
}

.hero-home .hero-content {
  width: min(840px, 100%);
  max-width: 840px;
}

.hero-kicker {
  margin-bottom: 18px;
  padding: 7px 15px;
  font-size: 0.78rem;
}

.hero-title,
.hero-home .hero-title {
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 5.3vw, 4.15rem);
  line-height: 1.28;
}

.hero-home .hero-title {
  font-size: clamp(2.7rem, 6vw, 4.7rem);
}

.hero-subtitle {
  max-width: 640px;
  font-size: clamp(0.96rem, 1.55vw, 1.16rem);
  line-height: 1.65;
}

.hero-cta {
  gap: 12px;
  margin-top: 26px;
}

.hero-slide-controls {
  gap: 7px;
  padding: 7px 9px;
}

.hero-slide-dot,
.hero-slide-pause {
  width: 40px;
  height: 40px;
}

.page-content,
.vision-section,
.about-section,
.license-section,
.future-section,
.research-lead,
.themes-section,
.activities-section,
.keywords-section,
.contact-section,
.news-section {
  padding-inline: clamp(20px, 3.2vw, 48px);
}

.section-header,
.highlights-section .section-header,
.types-section .section-header {
  margin-bottom: 38px;
}

.section-eyebrow {
  margin-bottom: 14px;
  padding: 6px 14px;
  font-size: 0.76rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.1vw, 2.5rem);
  line-height: 1.35;
}

.btn {
  min-height: 48px;
  padding: 11px 21px;
  gap: 9px;
  font-size: 0.88rem;
}

.portfolio-slider-section {
  --portfolio-card-height: clamp(225px, 20vw, 270px);
  --portfolio-gap: clamp(12px, 1.4vw, 18px);
  --portfolio-peek: clamp(42px, 5vw, 60px);
  padding: clamp(46px, 5.2vw, 72px) clamp(18px, 3vw, 44px);
}

.portfolio-slider-shell {
  width: min(1440px, 100%);
  column-gap: 24px;
}

.portfolio-slider-head {
  gap: 32px;
  margin-bottom: 30px;
}

.portfolio-slider-head h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.85rem);
}

.portfolio-slider-head p {
  padding: 13px 16px;
  font-size: 0.94rem;
  line-height: 1.65;
}

.portfolio-slide-link {
  gap: clamp(16px, 2vw, 26px);
  padding: clamp(22px, 3vw, 34px);
}

.portfolio-slide-number {
  width: clamp(54px, 6vw, 70px);
  height: clamp(54px, 6vw, 70px);
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
}

.portfolio-slide-copy h3 {
  margin-bottom: 8px;
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
}

.portfolio-slide-copy p {
  font-size: 0.94rem;
  line-height: 1.65;
}

.portfolio-slide-arrow {
  width: 46px;
  height: 46px;
  font-size: 1.15rem;
}

.vision-inner,
.about-inner,
.contact-grid {
  gap: clamp(34px, 4vw, 52px);
}

.vision-heading {
  margin-top: 18px;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.5;
}

.vision-text,
.about-lead,
.lead-body,
.contact-desc,
.future-text {
  font-size: 1rem;
  line-height: 1.75;
}

.vision-meta {
  gap: 16px;
  margin-top: 28px;
  padding-top: 28px;
}

.vision-meta-item,
.about-item,
.license-item {
  padding: 19px 20px;
}

.meta-num {
  font-size: 2.15rem;
}

.highlights-grid,
.theme-grid,
.activities-grid,
.types-grid,
.license-grid {
  gap: 20px;
}

:is(.highlight-card, .theme-card, .activity-card, .type-card) {
  min-height: 0;
  padding: 30px 24px;
}

.highlight-num,
.theme-num {
  margin-bottom: 18px;
}

.highlight-title {
  font-size: 1.55rem;
}

.theme-title,
.activity-title,
.type-title {
  margin-bottom: 14px;
  font-size: 1.2rem;
  line-height: 1.5;
}

.highlight-desc,
.theme-desc,
.activity-card li,
.type-desc {
  font-size: 0.94rem;
  line-height: 1.7;
}

.timeline-v-item {
  padding-bottom: 40px;
}

.timeline-title {
  font-size: 1.25rem;
}

.timeline-body p,
.roadmap-body p {
  font-size: 0.96rem;
  line-height: 1.72;
}

.roadmap-item {
  gap: 30px;
  padding-bottom: 32px;
}

.activity-emoji,
.type-emoji {
  margin-bottom: 18px;
  padding: 11px 15px;
  font-size: 2rem;
}

.research-lead-inner {
  padding: 40px 36px;
}

.lead-quote {
  margin-bottom: 20px;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.75;
}

.future-card {
  padding: 52px 42px;
}

.future-text {
  margin: 26px auto 32px;
}

.contact-card {
  padding: 44px 38px;
}

.email-address {
  margin-bottom: 26px;
  font-size: clamp(1.35rem, 2.7vw, 1.85rem);
}

.blog-container {
  max-width: 1120px;
}

.blog-hero + .page-content,
.blog-hero ~ .page-content {
  padding-top: 48px;
  padding-bottom: 58px;
}

.filter-container {
  gap: 8px;
  margin-bottom: 32px;
  padding: 10px 12px;
}

.filter-btn {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 0.86rem;
}

.blog-posts {
  gap: 14px;
}

.blog-header {
  min-height: 92px;
  padding: 17px 22px;
  gap: 14px;
}

.blog-meta {
  margin-bottom: 8px;
}

.blog-title {
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.5;
}

.toggle-icon {
  width: 36px;
  height: 36px;
}

.blog-content-inner {
  margin: 0 18px 18px;
  padding: 20px 22px;
  font-size: 0.94rem;
  line-height: 1.75;
}

.site-footer {
  padding: 54px 24px 24px;
}

.footer-inner {
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand .footer-logo {
  font-size: 1.16rem;
}

.footer-bottom {
  padding-top: 22px;
}

/* Sites preview / one-page layout */
.masthead {
  top: 12px;
  min-height: 64px;
  height: 64px;
  padding: 6px 9px 6px 7px;
  gap: 16px;
}

.brand {
  gap: 9px;
}

.brand-seal {
  width: 46px;
  height: 46px;
  font-size: 14px;
}

.brand-name {
  font-size: 14px;
}

.brand-name small {
  font-size: 7px;
}

.mast-nav {
  gap: clamp(12px, 1.8vw, 28px);
}

.mast-nav a {
  padding: 13px 1px 9px;
  font-size: 11.5px;
}

.mast-nav a span {
  font-size: 7.5px;
}

.lang-switch,
.menu-button {
  min-height: 42px;
  height: 42px;
}

.lang-switch button {
  width: 34px;
  height: 34px;
  font-size: 10px;
}

.menu-button {
  width: 42px;
}

.hero-stage,
.hero-shell {
  min-height: clamp(620px, 78svh, 820px);
}

.hero-topline {
  top: 94px;
  font-size: 10px;
}

.hero-display {
  top: 31%;
  width: min(92vw, 1320px);
  font-size: clamp(52px, 7.4vw, 110px);
}

:lang(en) .hero-display {
  max-width: 1180px;
  font-size: clamp(46px, 6.5vw, 94px);
}

.hero-summary {
  bottom: 4.5vh;
  width: min(600px, 50vw);
  padding: 16px 19px;
}

.slide-index {
  margin-bottom: 10px;
  padding: 6px 10px;
  font-size: 10px;
}

.hero-summary p {
  margin-bottom: 14px;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.65;
}

.hero-links {
  gap: 8px;
}

.hero-links a {
  min-width: 160px;
  min-height: 46px;
  padding: 11px 15px;
  font-size: 12px;
}

.hero-data {
  bottom: 4.5vh;
  width: 220px;
}

.hero-data strong {
  font-size: 17px;
}

.hero-controls {
  gap: 7px;
}

.hero-controls > button {
  width: 44px;
  height: 44px;
  font-size: 14px;
}

.hero-controls > div button.active {
  height: 28px;
}

.section-pad {
  padding: clamp(64px, 7vw, 96px) max(4vw, 24px);
}

.section-number {
  top: 20px;
  left: max(4vw, 24px);
}

.section-heading h2,
.profile-copy h2,
.research-intro h2,
.blog h2,
.contact h2 {
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.12;
}

.eyebrow {
  margin-bottom: 16px;
  font-size: 11px;
}

.vision-copy > p,
.large-copy,
.research-intro > p,
.blog-head > p {
  margin: 24px 0;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.72;
}

.vision,
.profile {
  gap: 5vw;
}

.stat-row div {
  padding: 18px 12px 8px;
}

.stat-row strong {
  font-size: 32px;
}

.stat-row span {
  font-size: 10px;
}

.photo-stack {
  padding: 14px 14px 50px;
}

.photo-frame {
  height: clamp(390px, 42vw, 480px);
}

.name-ticket {
  padding: 14px 19px;
}

.name-ticket b {
  font-size: 23px;
}

.mini-grid {
  gap: 12px;
  margin: 26px 0;
}

.mini-grid article {
  padding: 17px;
}

.mini-grid h3 {
  margin: 11px 0 6px;
  font-size: 17px;
}

.mini-grid p {
  font-size: 14px;
  line-height: 1.62;
}

.text-link {
  min-height: 42px;
  font-size: 14px;
}

.theme-grid {
  gap: 14px;
  margin: 38px 0 28px;
}

.theme-card {
  min-height: 270px;
  padding: 20px;
}

.theme-card h3 {
  margin: 54px 0 11px;
  font-size: 23px;
}

.theme-card p {
  font-size: 14px;
  line-height: 1.65;
}

.button {
  min-height: 48px;
  padding: 12px 19px;
  font-size: 14px;
}

.post-list {
  margin: 36px 0 24px;
}

.post-list article {
  grid-template-columns: 62px 1fr 32px;
  gap: 14px;
  padding: 17px 6px;
}

.post-num {
  width: 42px;
  height: 42px;
}

.post-list small {
  font-size: 10px;
}

.post-list h3 {
  font-size: clamp(16px, 1.55vw, 20px);
}

.contact {
  min-height: 520px;
}

.contact h2 {
  font-size: clamp(42px, 5.5vw, 76px);
}

.contact > div > p:not(.eyebrow) {
  max-width: 680px;
  margin: 20px 0 28px;
  font-size: 17px;
  line-height: 1.7;
}

.contact-stamp {
  width: min(220px, 21vw);
}

.footer-top {
  padding: 52px max(4vw, 24px) 28px;
}

.footer-brand {
  font-size: clamp(54px, 8.5vw, 128px);
}

.footer-marquee {
  padding: 10px 0;
  font-size: 17px;
}

.footer-bottom {
  padding: 28px max(4vw, 24px) 34px;
  gap: 24px;
  font-size: 11px;
}

.back-top {
  width: 56px;
  height: 56px;
}

@media (max-width: 1180px) {
  :root {
    --header-h: 68px;
  }

  .header-inner {
    padding-inline: 16px;
  }

  nav a {
    min-height: 48px;
    padding: 11px 16px;
    font-size: 0.94rem;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 64px;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
  }

  html {
    font-size: 16px;
  }

  .hero-base {
    min-height: clamp(390px, 50svh, 520px);
    padding: calc(var(--header-h) + 24px) 16px 36px;
  }

  .hero-home {
    min-height: clamp(600px, 78svh, 700px);
    padding-bottom: 66px;
  }

  .hero-content {
    padding: 26px 20px;
  }

  .hero-title,
  .hero-home .hero-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .portfolio-slider-section {
    --portfolio-card-height: clamp(220px, 51vw, 270px);
    --portfolio-peek: 42px;
    padding: 48px 14px 54px;
  }

  .portfolio-slider-head {
    gap: 12px;
    margin-bottom: 22px;
  }

  .portfolio-slider-head h2 {
    font-size: clamp(1.65rem, 7vw, 2.15rem);
  }

  .portfolio-slide-link {
    padding: 22px 20px;
  }

  .has-decor :is(.vision-col-text, .vision-col-body, .about-intro, .contact-lead) {
    padding: 20px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: clamp(1.6rem, 6.5vw, 2.05rem);
  }

  .btn {
    min-height: 48px;
    padding: 12px 19px;
  }

  .blog-header {
    min-height: 82px;
    padding: 15px 17px;
  }

  .footer-inner {
    gap: 26px;
  }

  .masthead {
    top: 9px;
    min-height: 58px;
    height: 58px;
  }

  .brand-seal {
    width: 43px;
    height: 43px;
  }

  .hero-stage,
  .hero-shell {
    min-height: 680px;
  }

  .hero-topline {
    top: 84px;
  }

  .hero-display {
    top: 26%;
    left: 20px;
    width: calc(100% - 40px);
    font-size: clamp(46px, 11vw, 78px);
  }

  :lang(en) .hero-display {
    font-size: clamp(42px, 10vw, 70px);
  }

  .hero-summary {
    right: 20px;
    bottom: 22px;
    left: 20px;
    width: auto;
    padding: 15px 17px;
  }

  .hero-summary p {
    font-size: 15px;
  }

  .hero-controls {
    top: 43%;
    right: 20px;
  }

  .section-pad {
    padding: 64px 22px;
  }

  .section-number {
    top: 16px;
    left: 22px;
  }

  .vision,
  .profile {
    gap: 48px;
  }

  .photo-frame {
    height: 400px;
  }

  .contact {
    min-height: 600px;
  }

  .contact h2 {
    font-size: clamp(38px, 9vw, 62px);
  }
}

@media (max-width: 560px) {
  :root {
    --space-xl: 3.5rem;
  }

  .hero-home {
    min-height: 580px;
  }

  .hero-title,
  .hero-home .hero-title {
    font-size: clamp(1.85rem, 10vw, 2.6rem);
  }

  .hero-cta {
    margin-top: 20px;
  }

  .portfolio-slider-section {
    --portfolio-card-height: 230px;
    padding: 42px 12px 48px;
  }

  .portfolio-slider-head {
    padding: 18px 15px;
  }

  .portfolio-slide-link {
    gap: 14px 12px;
    padding: 18px 16px;
  }

  .portfolio-slide-number {
    width: 50px;
    height: 50px;
  }

  .portfolio-slide-arrow {
    width: 42px;
    height: 42px;
  }

  .section-title {
    font-size: clamp(1.55rem, 7.5vw, 1.95rem);
  }

  .filter-container {
    margin-bottom: 24px;
  }

  .blog-header {
    min-height: 76px;
  }

  .blog-content-inner {
    margin: 0 12px 12px;
    padding: 17px 18px;
  }

  .site-footer {
    padding-top: 44px;
  }

  .masthead {
    gap: 6px;
  }

  .hero-stage,
  .hero-shell {
    min-height: 630px;
  }

  .hero-topline {
    top: 76px;
  }

  .hero-display {
    top: 24%;
    font-size: clamp(42px, 12vw, 62px);
  }

  .hero-summary {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 13px 14px;
  }

  .hero-summary p {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .hero-links a {
    min-width: 132px;
    min-height: 43px;
    padding: 10px 12px;
    font-size: 11px;
  }

  .hero-controls {
    top: 39%;
    right: 14px;
  }

  .hero-controls > button {
    width: 40px;
    height: 40px;
  }

  .section-pad {
    padding: 56px 18px;
  }

  .section-heading h2,
  .profile-copy h2,
  .research-intro h2,
  .blog h2 {
    font-size: clamp(30px, 9.5vw, 38px);
  }

  .vision-copy > p,
  .large-copy,
  .research-intro > p,
  .blog-head > p {
    margin: 18px 0;
    font-size: 15px;
  }

  .photo-frame {
    height: 340px;
  }

  .theme-grid {
    margin-top: 28px;
  }

  .theme-card {
    min-height: 225px;
  }

  .theme-card h3 {
    margin-top: 38px;
    font-size: 21px;
  }

  .contact {
    min-height: 560px;
    padding-bottom: 170px;
  }

  .contact > div > p:not(.eyebrow) {
    font-size: 15px;
  }

  .contact-stamp {
    width: 150px;
  }

  .footer-top {
    padding-top: 42px;
  }

  .footer-bottom {
    padding-top: 24px;
    padding-bottom: 28px;
  }
}

/* 2026-08-28: compact controls and page chrome */

:root {
  --header-h: 64px;
  --max-w: 1600px;
  --content-w: 1280px;
  --space-md: 1.25rem;
  --space-lg: 2.5rem;
  --space-xl: 4.25rem;
}

/* Multi-page header, banners, controls, and footer */
.site-header {
  border-bottom-width: 3px;
}

.site-header::before,
.site-header::after {
  bottom: -3px;
  height: 3px;
}

.header-inner {
  width: min(100%, 1680px);
  max-width: 1680px;
  padding-inline: clamp(16px, 2.2vw, 36px);
}

.site-header .logo {
  gap: 0.45em;
  font-size: clamp(0.76rem, 0.82vw, 0.86rem);
  line-height: 1.25;
}

.site-header .logo::before {
  font-size: 1.15em;
}

.site-header nav a {
  min-height: 0;
  padding: 0.48em 0.78em;
  font-size: 0.84rem;
  line-height: 1.3;
  border-width: 1.5px;
}

.menu-toggle {
  width: 38px;
  height: 38px;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  width: 21px;
  height: 2.5px;
}

.menu-icon::before {
  top: -7px;
}

.menu-icon::after {
  top: 7px;
}

.marquee {
  margin: 10px 0;
  padding: 10px 0;
  border-block-width: 3px;
}

.marquee-track,
.marquee-item {
  gap: 36px;
}

.marquee-track {
  padding-right: 36px;
}

.marquee-item {
  font-size: 1rem;
}

.section-header,
.highlights-section .section-header,
.types-section .section-header {
  margin-bottom: 30px;
}

.section-eyebrow {
  margin-bottom: 11px;
  padding: 0.42em 0.9em;
}

.btn {
  min-height: 0;
  gap: 0.55em;
  padding: 0.56em 1em;
  font-size: 0.86rem;
  line-height: 1.35;
  border-width: 2px;
}

.btn-primary,
.btn-outline {
  box-shadow: 4px 4px 0 var(--navy);
}

.btn-arrow::after {
  font-size: 1.05em;
}

.filter-container {
  gap: 6px;
  margin-bottom: 28px;
  padding: 8px 10px;
}

.filter-btn {
  min-height: 0;
  padding: 0.46em 0.85em;
  font-size: 0.82rem;
  line-height: 1.25;
  border-width: 2px;
}

.site-footer {
  padding: 40px 22px 18px;
  border-top-width: 3px;
}

.site-footer .footer-inner {
  gap: 24px;
  margin-bottom: 22px;
}

.site-footer .footer-brand .footer-logo {
  margin-bottom: 9px;
  font-size: 1.05rem;
}

.site-footer .footer-brand p {
  font-size: 0.86rem;
  line-height: 1.65;
}

.site-footer .footer-col h4 {
  margin-bottom: 12px;
  font-size: 0.84rem;
}

.site-footer .footer-col ul {
  gap: 8px;
}

.site-footer .footer-col a {
  gap: 7px;
  font-size: 0.86rem;
}

.site-footer .footer-bottom {
  padding-top: 15px;
  font-size: 0.78rem;
}

/* One-page Sites preview and GitHub homepage */
.masthead {
  top: 9px;
  min-height: 56px;
  height: 56px;
  padding: 5px 7px 5px 6px;
  gap: 12px;
}

.brand {
  gap: 7px;
}

.brand-seal {
  width: 40px;
  height: 40px;
  font-size: 12px;
}

.brand-name {
  font-size: 13px;
}

.brand-name small {
  margin-top: 2px;
  font-size: 6px;
}

.mast-nav {
  gap: clamp(10px, 1.5vw, 23px);
}

.mast-nav a {
  min-height: 0;
  padding: 10px 0 6px;
  font-size: 10.5px;
  line-height: 1.15;
}

.mast-nav a span {
  top: 0;
  font-size: 6.5px;
}

.lang-switch,
.menu-button {
  min-height: 36px;
  height: 36px;
}

.lang-switch {
  padding: 2px;
}

.lang-switch button {
  width: 30px;
  height: 30px;
  font-size: 9px;
}

.menu-button {
  width: 36px;
  padding: 8px;
}

.hero-stage,
.hero-shell {
  min-height: clamp(570px, 70svh, 720px);
}

.hero-topline {
  top: 78px;
}

.hero-summary {
  bottom: 3.5vh;
  width: min(570px, 47vw);
  padding: 13px 15px;
}

.slide-index {
  margin-bottom: 7px;
  padding: 0.38em 0.7em;
}

.hero-summary p {
  margin-bottom: 10px;
  font-size: clamp(13px, 1.05vw, 16px);
}

.hero-links {
  gap: 6px;
}

.hero-links a {
  min-width: 0;
  min-height: 0;
  gap: 0.7em;
  padding: 0.52em 0.9em;
  font-size: 0.74rem;
  line-height: 1.3;
}

.hero-data {
  bottom: 3.5vh;
}

.hero-controls {
  gap: 5px;
}

.hero-controls > button {
  width: 38px;
  height: 38px;
  font-size: 12px;
}

.hero-controls > div {
  gap: 4px;
}

.hero-controls > div button {
  min-height: 0;
  height: 13px;
}

.hero-controls > div button.active {
  height: 24px;
}

.kinetic-banner {
  height: 72px;
  margin-top: -8px;
}

.banner-row {
  height: 34px;
  border-block-width: 1.5px;
  font-size: 10px;
}

.row-one {
  top: 7px;
}

.row-two {
  top: 33px;
}

.section-pad {
  padding: clamp(52px, 5.8vw, 78px) max(3vw, 20px);
}

.section-number {
  top: 14px;
  left: max(3vw, 20px);
  padding: 0.4em 0.7em;
}

.vision,
.profile {
  gap: 3.5vw;
}

.vision-copy > p,
.large-copy,
.research-intro > p,
.blog-head > p {
  margin: 20px 0;
}

.stat-row div {
  padding: 14px 10px 7px;
}

.photo-stack {
  padding: 10px 10px 42px;
}

.photo-frame {
  height: clamp(360px, 38vw, 450px);
}

.name-ticket {
  padding: 11px 15px;
}

.mini-grid {
  margin: 20px 0;
}

.mini-grid article {
  padding: 14px;
}

.text-link {
  min-height: 0;
  gap: 0.5em;
  padding-bottom: 0.22em;
  font-size: 0.84rem;
  line-height: 1.35;
}

.theme-grid {
  margin: 28px 0 20px;
}

.theme-card {
  min-height: 235px;
  padding: 17px;
}

.theme-card h3 {
  margin: 38px 0 9px;
  font-size: 21px;
}

.button {
  min-height: 0;
  gap: 0.7em;
  padding: 0.54em 0.95em;
  font-size: 0.84rem;
  line-height: 1.35;
  box-shadow: 3px 3px 0 var(--line);
}

.post-list {
  margin: 28px 0 20px;
}

.post-list article {
  padding: 14px 5px;
}

.post-num {
  width: 38px;
  height: 38px;
  font-size: 12px;
}

.contact {
  min-height: 460px;
}

.contact > div > p:not(.eyebrow) {
  margin: 17px 0 22px;
}

.contact-stamp {
  width: min(190px, 18vw);
}

.mega-footer .footer-top {
  padding: 36px max(3vw, 20px) 20px;
  gap: 20px;
}

.mega-footer .footer-brand {
  font-size: clamp(44px, 7vw, 98px);
}

.mega-footer .footer-marquee {
  padding: 7px 0;
  font-size: 13px;
}

.mega-footer .footer-bottom {
  padding: 20px max(3vw, 20px) 24px;
  gap: 16px;
  font-size: 10.5px;
}

.mega-footer .footer-bottom nav {
  gap: 7px 16px;
}

.mega-footer .footer-bottom nav a {
  min-height: 0;
  line-height: 1.35;
}

.mega-footer .back-top {
  width: 46px;
  height: 46px;
  font-size: 9px;
}

.mega-footer .footer-bottom small {
  padding-top: 12px;
}

@media (max-width: 1040px) {
  .site-header nav {
    padding: 18px 18px 24px;
  }

  .site-header nav ul {
    gap: 5px;
  }

  .site-header nav a {
    padding: 0.58em 0.85em;
    font-size: 0.92rem;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 58px;
    --space-lg: 2.15rem;
    --space-xl: 3.65rem;
  }

  .hero-cta {
    align-items: center;
  }

  .hero-cta .btn {
    width: auto;
  }

  .site-footer .footer-inner {
    gap: 20px;
  }

  .masthead {
    top: 8px;
    min-height: 54px;
    height: 54px;
  }

  .brand-seal {
    width: 38px;
    height: 38px;
  }

  .hero-topline {
    top: 72px;
  }

  .hero-summary {
    padding: 12px 14px;
  }

  .hero-controls {
    right: 16px;
  }

  .section-pad {
    padding: 52px 20px;
  }

  .mega-footer .footer-bottom {
    gap: 14px;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 56px;
    --space-xl: 3.25rem;
  }

  .site-header nav {
    padding: 14px 14px 20px;
  }

  .site-footer {
    padding-top: 34px;
  }

  .masthead {
    top: 7px;
    min-height: 52px;
    height: 52px;
  }

  .brand-seal {
    width: 36px;
    height: 36px;
  }

  .lang-switch,
  .menu-button {
    min-height: 34px;
    height: 34px;
  }

  .lang-switch button {
    width: 28px;
    height: 28px;
  }

  .menu-button {
    width: 34px;
  }

  .hero-stage,
  .hero-shell {
    min-height: clamp(560px, 70svh, 610px);
  }

  .hero-topline {
    top: 68px;
  }

  .hero-summary {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 11px 12px;
  }

  .hero-links a {
    padding: 0.5em 0.82em;
    font-size: 0.7rem;
  }

  .hero-controls {
    right: 12px;
  }

  .hero-controls > button {
    width: 36px;
    height: 36px;
  }

  .kinetic-banner {
    height: 64px;
  }

  .banner-row {
    height: 31px;
    font-size: 9px;
  }

  .row-one {
    top: 6px;
  }

  .row-two {
    top: 30px;
  }

  .section-pad {
    padding: 46px 16px;
  }

  .section-number {
    top: 11px;
    left: 16px;
  }

  .theme-card {
    min-height: 210px;
  }

  .contact {
    min-height: 500px;
  }

  .mega-footer .footer-top {
    padding-top: 30px;
  }

  .mega-footer .footer-bottom {
    padding-top: 17px;
    padding-bottom: 20px;
  }
}
