:root {
  color-scheme: dark;
  --ink: #141a45;
  --ink-light: #1f2763;
  --paper: #fbf0d4;
  --text: #f7eedb;
  --gold: #ffb300;
  --red: #e4572e;
  --dark: #0d1132;
  --heading: Rockwell, 'Roboto Slab', Clarendon, 'Bookman Old Style', Georgia, serif;
  --body: 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --flower: radial-gradient(circle at 50% 50%, var(--red) 0 2px, transparent 2.5px), radial-gradient(ellipse at 50% 27%, var(--gold) 0 3px, transparent 3.5px), radial-gradient(ellipse at 50% 73%, var(--gold) 0 3px, transparent 3.5px), radial-gradient(ellipse at 27% 50%, var(--gold) 0 3px, transparent 3.5px), radial-gradient(ellipse at 73% 50%, var(--gold) 0 3px, transparent 3.5px);
  --lattice: repeating-linear-gradient(45deg, transparent 0 13px, var(--gold) 13px 14px, transparent 14px 28px), repeating-linear-gradient(-45deg, transparent 0 13px, var(--gold) 13px 14px, transparent 14px 28px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--ink); color: var(--text); font: clamp(1.0625rem, 1vw + .65rem, 1.25rem)/1.7 var(--body); }
.page { min-width: 0; }
.page-home main { counter-reset: section; }
.page-sub { background: var(--ink); }
::selection { background: var(--gold); color: var(--ink); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; box-shadow: 0 0 0 2px var(--paper); }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
p, ul, ol, dl { margin: 0 0 1.3em; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .65em; max-width: 100%; min-width: 0; font-family: var(--heading); font-weight: 700; line-height: 1.12; text-wrap: balance; overflow-wrap: normal; word-break: normal; hyphens: auto; }
:is(h1, h2, h3, h4, h5, h6) a { overflow-wrap: normal; word-break: normal; hyphens: auto; }
h1 { font-size: clamp(2.5rem, 4.4vw, 4.8rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 3.1vw, 3rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.5rem, 2.2vw, 2.2rem); }
h4, h5, h6 { font-size: 1.25rem; }
li { padding-left: .15em; }
strong, b { font-weight: 700; }
small { font-size: max(12px, .85em); }
hr { border: 0; border-top: 2px dotted var(--gold); margin: 2.5rem 0; }
blockquote { margin: 1.5rem 0; padding: 0; border: 0; }
code, pre, kbd { font-family: 'Courier New', Courier, monospace; font-size: max(12px, .9em); }
pre { white-space: pre-wrap; overflow-wrap: anywhere; }
table { width: 100%; border-collapse: collapse; font-size: max(12px, .9em); }
th, td { padding: .7em; text-align: left; border-bottom: 1px solid currentColor; overflow-wrap: anywhere; }
input, textarea, select, button { max-width: 100%; font: inherit; }
button, input, select { min-height: 44px; }
.wrap { width: min(100% - var(--gutter) * 2, 1320px); margin-inline: auto; }
.wrap > *, .split > *, .hero-inner > *, .card-grid > *, .partner-list > * { min-width: 0; }
.skip-link { position: fixed; z-index: 20; top: 1rem; left: 1rem; padding: .75rem 1.25rem; background: var(--gold); color: var(--ink); transform: translateY(-180%); font-weight: bold; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: relative; background: var(--ink); padding-block: 1.6rem 2rem; }
.site-header::after, .hero::after, .section::after, .site-footer::before, .page-header::after {
  content: ''; position: absolute; inset: auto 0 0; height: 20px; background-color: var(--ink); background-image: var(--flower); background-size: 28px 20px; border-block: 1px solid var(--gold); pointer-events: none;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; font: 700 clamp(1.4rem, 2.2vw, 2.15rem)/1.12 var(--heading); letter-spacing: -.04em; text-decoration: none; min-height: 44px; }
.brand::before, .prose h2::before { content: ''; flex: 0 0 25px; display: inline-block; width: 25px; height: 25px; background-image: var(--flower); background-size: 25px 25px; }
.site-nav ul, .footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.35rem; margin: 0; padding: 0; }
.site-nav a, .footer-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding-block: .55rem; font: 700 .75rem/1.4 var(--heading); letter-spacing: .09em; text-transform: uppercase; text-decoration: none; }
.site-nav a::after { content: ''; position: absolute; inset: auto 0 0; height: 5px; background: repeating-linear-gradient(90deg, var(--gold) 0 7px, transparent 7px 10px); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a[aria-current='page']::after,
body:has(.prose-figure img[src='img/durga.jpg']) .site-nav a[href='durga-puja.html']::after,
body:has(.prose-figure img[src='img/diwali.jpg']) .site-nav a[href='diwali.html']::after,
body:has(.prose-figure img[src='img/musik.jpg']) .site-nav a[href='musik-und-tanz.html']::after,
body:has(.prose-figure img[src='img/schrift.jpg']) .site-nav a[href='sprachen-und-schriften.html']::after,
body:has(.prose-figure img[src='img/kueche.jpg']) .site-nav a[href='indische-kueche.html']::after { transform: scaleX(1); }
.hero { position: relative; padding-block: clamp(3rem, 6vw, 6rem) clamp(4rem, 7vw, 7rem); overflow: hidden; isolation: isolate; }
.hero-inner { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
.hero-inner::before { content: ''; position: absolute; z-index: -1; right: -2%; top: -3rem; width: 28rem; height: 28rem; border: 45px double var(--ink-light); border-radius: 50% 50% 15% 50%; transform: rotate(35deg); box-shadow: 0 0 0 25px var(--ink-light); }
.hero-text { grid-column: 1 / 9; grid-row: 1; padding: clamp(1.5rem, 4vw, 4rem); padding-right: clamp(2rem, 6vw, 6rem); background: var(--paper); color: var(--ink); border-top: 8px solid var(--red); }
.eyebrow { display: table; padding: .35rem .7rem; margin-bottom: 1.5rem; background: var(--red); color: var(--dark); font: 700 .8rem/1.5 var(--heading); text-transform: uppercase; letter-spacing: .11em; }
.hero h1::after, .page-header h1::after { content: ''; display: block; width: min(4.8em, 60%); height: .13em; background: var(--gold); margin-top: .2em; }
.lead { font-size: clamp(1.12rem, 1.3vw, 1.35rem); line-height: 1.65; }
.hero .lead { max-width: 49ch; }
.hero-actions { margin-top: 1.8rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; max-width: 100%; padding: .8rem 1.25rem; background: var(--paper); color: var(--ink); border: 3px solid var(--ink); border-radius: 0; box-shadow: 6px 6px 0 var(--ink); text-decoration: none; font: 700 1rem/1.4 var(--heading); transition: transform .18s, box-shadow .18s; }
.btn-primary { background: var(--gold); }
.hero-media { grid-column: 8 / -1; grid-row: 1; z-index: 1; margin: 3rem 1rem 0 0; border: 7px solid var(--ink); transform: rotate(1.5deg); box-shadow: 14px 14px 0 var(--gold); }
.hero-media img { width: 100%; aspect-ratio: 2 / 3; }
.section { position: relative; padding-block: clamp(3.5rem, 7vw, 6.5rem); counter-increment: section; }
.section-title { position: relative; max-width: 25ch; padding-left: clamp(3.8rem, 6vw, 5.3rem); margin-bottom: 1.2em; }
.section-title::before { content: counter(section, decimal-leading-zero); position: absolute; left: 0; top: 0; width: clamp(2.8rem, 4.8vw, 4rem); aspect-ratio: 1; display: grid; place-items: center; background: var(--gold); color: var(--ink); border-radius: 50%; font-size: max(12px, .62em); border: 3px double var(--ink); }
.section-title::after { content: ''; display: block; width: 112px; height: 12px; margin-top: .6em; background-color: var(--ink); background-image: var(--lattice); background-size: 28px 28px; }
.section-intro { max-width: 68ch; margin-bottom: 2.5rem; }
.section > .wrap > p { max-width: 72ch; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 2rem; margin-block: 3rem; }
.card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 290px; padding: 2.7rem clamp(1.25rem, 2.5vw, 2.3rem) 2rem; background: var(--paper); color: var(--ink); box-shadow: 8px 8px 0 var(--gold); transition: transform .2s, box-shadow .2s; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 17px; background-color: var(--ink); background-image: var(--flower); background-size: 28px 20px; border-block: 1px solid var(--gold); }
.card:first-child { grid-column: span 2; background: var(--gold); box-shadow: 8px 8px 0 var(--red); min-height: 310px; }
.card:first-child .card-title { font-size: clamp(2.2rem, 4vw, 4rem); }
.card:nth-child(odd):not(:first-child) { background: var(--ink-light); color: var(--text); }
.card:nth-child(4) { margin-top: 1.4rem; }
.card-text { max-width: 48ch; font-size: 1.08rem; }
.card-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; padding: .55rem 1rem; border: 1px solid var(--paper); border-radius: 999px; background: var(--ink); color: var(--paper); font: 700 .85rem/1.4 var(--heading); text-decoration: none; }
.card .card-link { margin-top: auto; }
.card-link::after { content: ''; width: .55rem; height: .55rem; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: rotate(45deg); }
.section-feature, .page-home main > .section:nth-of-type(5) { background: var(--paper); color: var(--ink); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
.split-text > p:first-of-type::first-letter { float: left; font: 700 4.5rem/.85 var(--heading); margin: .08em .12em 0 0; color: var(--gold); text-shadow: 1px 1px 0 var(--ink); }
.split-media, .prose-figure { padding: 10px; border: 7px double var(--ink); background: var(--paper); box-shadow: 12px 12px 0 var(--gold); }
.split-media { transform: rotate(-1deg); }
.split-media img { width: 100%; aspect-ratio: 4 / 5; }
.fact-list { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0; }
.fact { padding: 1rem 1.5rem; border: 3px double var(--ink); outline: 3px solid var(--paper); background: var(--paper); color: var(--ink); font-family: var(--heading); }
.section-partners, #partner { background: var(--ink); color: var(--text); border-top: 6px double var(--gold); }
.partner-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem; list-style: none; padding: 0; margin: 0; counter-reset: partner; }
.partner { position: relative; counter-increment: partner; padding: 1.1rem; background: var(--paper); color: var(--ink); border-bottom: 3px dotted var(--gold); }
.partner::before { content: counter(partner, decimal-leading-zero); display: inline-grid; place-items: center; min-width: 2.1rem; min-height: 2.1rem; margin-bottom: .7rem; background: var(--red); color: var(--dark); font: 700 .8rem/1 var(--heading); }
.partner-link { display: block; min-height: 44px; background: var(--ink); color: var(--gold); padding: .75rem 1rem; font: .95rem/1.6 'Courier New', Courier, monospace; overflow-wrap: anywhere; word-break: normal; }
.partner-phrase { margin: 0; padding: .9rem 1rem; font: 700 .78rem/1.6 var(--heading); text-transform: uppercase; letter-spacing: .08em; }
.partner-desc { margin: 0; padding: 1rem; background: var(--ink); color: var(--text); border-top: 1px dotted var(--gold); font-size: 1rem; }
.article { padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(4rem, 8vw, 8rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; font: 700 .75rem/1.5 var(--heading); text-transform: uppercase; letter-spacing: .09em; margin-bottom: 2rem; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); }
.page-header { position: relative; padding-bottom: 3rem; margin-bottom: 3rem; }
.page-header h1 { max-width: 24ch; color: var(--text); }
.page-header .lead { max-width: 70ch; margin-bottom: 1rem; }
.page-header::after { height: 26px; background-size: 32px 26px; }
.prose { width: min(100%, 82ch); margin: 3rem 0 0 auto; padding: clamp(1.35rem, 4.5vw, 4.5rem); color-scheme: light; background: var(--paper); color: var(--ink); border-top: 6px solid var(--gold); overflow-wrap: anywhere; }
.prose > * { max-width: 66ch; }
.prose h2 { position: relative; padding-left: 2.1rem; font-size: clamp(1.65rem, 2.5vw, 2.4rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h2::before { position: absolute; top: .12em; left: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose a { text-decoration-thickness: 2px; }
.prose-figure { width: min(calc(100% - 14px), 82ch); margin-block: 0 3.5rem; }
.prose-figure img { width: 100%; aspect-ratio: 3 / 2; }
figcaption { font-size: .85rem; line-height: 1.5; color: var(--ink); padding: .8rem .3rem 0; }
.note, aside.note { padding: 1.3rem 1.5rem; background: #f0dfb8; color: var(--ink); border-left: 6px solid var(--gold); margin-block: 2rem; }
.note p:last-child { margin-bottom: 0; }
.site-footer { position: relative; background: var(--dark); color: var(--text); padding-block: 4rem 3rem; }
.site-footer::before { top: 0; bottom: auto; height: 24px; background-image: var(--lattice); background-size: 28px 28px; }
.footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 2rem; }
.footer-note { max-width: 64ch; margin: 0; font-size: .98rem; }
.footer-nav { flex-shrink: 0; }
.footer-nav a { color: var(--gold); }
@media (hover: hover) {
  .btn:hover { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
  .card:hover { transform: translate(4px, 4px); box-shadow: 4px 4px 0 var(--gold); }
  .card:first-child:hover { box-shadow: 4px 4px 0 var(--red); }
  .card-link:hover { background: var(--dark); text-decoration: underline; }
}
@media (min-width: 1400px) { .hero-text { padding-block: 4.5rem; } }
@media (max-width: 1100px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .hero h1 { font-size: clamp(2.4rem, 4.7vw, 3.5rem); }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 760px) {
  .hero-inner, .split { grid-template-columns: minmax(0, 1fr); }
  .hero-text { grid-column: 1; grid-row: auto; padding: 1.5rem; }
  .hero h1 { font-size: clamp(2.3rem, 7vw, 3.7rem); }
  .hero-media { grid-column: 1; grid-row: auto; width: 78%; margin: -1rem .5rem 0 auto; transform: none; box-shadow: 8px 8px 0 var(--gold); }
  .hero-media img { aspect-ratio: 4 / 5; }
  .hero-inner::before { width: 17rem; height: 17rem; top: auto; bottom: -2rem; right: auto; left: -3rem; }
  .hero-text { padding-bottom: 3rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .card:nth-child(4) { margin-top: 0; }
  .card { min-height: 280px; }
  .split-media { width: calc(100% - 8px); transform: none; box-shadow: 8px 8px 0 var(--gold); }
  .split-media img { aspect-ratio: 3 / 2; }
  .partner-list { grid-template-columns: minmax(0, 1fr); }
  .prose { margin-top: 2rem; }
  .prose-figure { box-shadow: 8px 8px 0 var(--gold); }
  .site-header::after, .hero::after, .section::after, .page-header::after { height: 16px; background-size: 24px 16px; }
}
@media (max-width: 480px) {
  .site-nav ul { gap: 0 1rem; }
  .site-nav a { font-size: .75rem; letter-spacing: .06em; }
  .brand { font-size: 1.6rem; }
  .hero { padding-top: 2rem; }
  .card-grid { grid-template-columns: minmax(0, 1fr); padding-right: 8px; }
  .card:first-child { grid-column: auto; }
  .card, .card:first-child { min-height: 0; }
  h1, .hero h1, .page-header h1 { font-size: clamp(1.2rem, 5.5vw, 1.65rem); }
  h2, h3, .card-title, .card:first-child .card-title { font-size: clamp(1.2rem, 5.5vw, 1.65rem); }
  .card-link { margin-top: .5rem; }
  .section-title { padding-left: 3.6rem; }
  .prose h2 { font-size: clamp(1.2rem, 5.5vw, 1.65rem); padding-left: 1.8rem; }
  .prose h2::before { width: 21px; height: 21px; background-size: 21px 21px; }
  .prose-figure { padding: 5px; }
  .footer-nav ul { gap: .2rem 1rem; }
}
@media (max-width: 600px) {
  header nav a, .card-link { display: inline-flex; align-items: center; min-height: 44px; }
  header nav, header nav ul { display: flex; flex-wrap: wrap; gap: 4px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
