:root {
  --paper: #f4fbf7;
  --paper-2: #e5f6ee;
  --ink: #163028;
  --muted: #5c7268;
  --line: #d5ebdf;
  --seal: #0e7a45;
  --seal-deep: #0c3f2c;
  --sky: #d7f3ea;
  --seal-ink: #f4fff8;
  --card: #ffffff;
  --mast: #ffffff;
  --shadow: 0 18px 40px rgba(12, 63, 44, 0.08);
  --radius: 22px;
  --serif: "Outfit", "Segoe UI", sans-serif;
  --script: "Great Vibes", cursive;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.6;
  padding-bottom: env(safe-area-inset-bottom);
}
body.theme-gece { color-scheme: dark; }
a { color: var(--seal); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0 0 1rem; }
.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; line-height: 1.1; }
h2 { font-size: clamp(1.45rem, 2vw, 1.9rem); margin: 2.2rem 0 0.8rem; }
h3 { margin: 0 0 0.45rem; font-size: 1.2rem; }
p { margin: 0 0 0.8rem; }
img { max-width: 100%; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  z-index: 20;
}
.skip:focus { top: 0.6rem; }

.wrap { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.topbar { background: var(--seal-deep); color: #e7f6ee; font-size: 0.92rem; }
.topbar-row { display: flex; gap: 1.1rem; align-items: center; min-height: 2.4rem; flex-wrap: wrap; }
.topbar a { color: inherit; text-decoration: none; }
.topbar span { margin-left: auto; }
.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  padding-top: env(safe-area-inset-top);
}
.mast {
  position: relative;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(12, 63, 44, 0.05);
}
.mast-bar { display: flex; align-items: center; gap: 0.8rem; min-height: 4.6rem; flex-wrap: wrap; }
.brand { display: flex; gap: 0.75rem; align-items: center; text-decoration: none; color: var(--seal-deep); min-width: 0; }
.brand strong { display: block; font-size: 0.98rem; line-height: 1.2; max-width: 14rem; }
.seal {
  width: 2.7rem; height: 2.7rem; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--seal); color: white;
}
.seal svg { width: 1.35rem; height: 1.35rem; }
.nav-toggle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.burger { display: none; margin-left: auto; align-items: center; gap: 0.35rem; min-height: 2.75rem; padding: 0 0.2rem; cursor: pointer; }
.burger span { width: 1.15rem; height: 2px; background: var(--ink); display: block; border-radius: 2px; }
.burger b { font-weight: 600; font-size: 0.92rem; }
.nav { display: flex; flex-wrap: wrap; gap: 0.1rem; align-items: center; margin-left: auto; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a.on, .nav a:hover { color: var(--seal); }
.nav a.enter { background: var(--seal); color: white; margin-left: 0.35rem; padding: 0.45rem 0.95rem; }
.nav a.enter:hover { background: var(--seal-deep); color: white; }

main.page { padding: 1.8rem 0 4.5rem; }
.flash-slot:empty { display: none; }
.foot { background: var(--seal-deep); color: #d7ebdf; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr; gap: 1.4rem; align-items: start; padding: 2.2rem 0 1.4rem; }
.foot h2 { color: white; font-size: 1rem; margin: 0 0 0.6rem; }
.foot .foot-brand strong { display: block; color: white; font-size: 1.05rem; margin: 0.6rem 0 0.2rem; }
.foot .script { color: #b7e7c8; font-size: 1.7rem; margin: 0 0 0.6rem; }
.foot address, .foot span { font-style: normal; }
.foot a, .foot .foot-grid span { display: block; color: inherit; text-decoration: none; min-height: 2rem; }
.foot .seal { background: rgba(255,255,255,0.12); }
.foot-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.12); padding: 0.9rem 0 1.2rem; font-size: 0.88rem; }

.kicker { color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; font-weight: 700; }
.lead, .quiet { color: var(--muted); }
.letter { max-width: 44rem; }
.letter.narrow { max-width: 28rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin: 1.6rem 0 0.4rem; }
.stats div { background: var(--card); border-radius: var(--radius); padding: 1.1rem 1.15rem; box-shadow: var(--shadow); }
.stats strong { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.stats span { color: var(--muted); }
.bands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1rem; }
.card { background: var(--card); border-radius: var(--radius); padding: 1.1rem 1.15rem; margin: 0 0 0.8rem; box-shadow: var(--shadow); }
.bands > div, .people { background: color-mix(in srgb, var(--card) 78%, transparent); border-radius: var(--radius); padding: 0.4rem 1rem 1rem; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { border-top: 1px solid var(--line); padding: 0.75rem 0; }
.list a, .list span { display: flex; justify-content: space-between; gap: 1rem; text-decoration: none; color: inherit; align-items: baseline; }
.list em { color: var(--muted); font-style: normal; }
.people-row, .board { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.8rem; margin: 0 0 1rem; }
.person, .board li { background: var(--card); border-radius: 1.2rem; padding: 1rem; box-shadow: var(--shadow); }
.person img, .monogram { width: 4.4rem; height: 4.4rem; object-fit: cover; border-radius: 1.1rem; display: block; margin-bottom: 0.7rem; }
.monogram, .person .monogram { display: grid; place-items: center; background: var(--seal); color: var(--seal-ink); font-family: var(--serif); font-size: 1.6rem; }
.person strong, .person em, .person > span, .board strong, .board span { display: block; }
.person em, .board span { color: var(--muted); font-style: normal; }
.person dl { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 0.7rem; margin: 0.7rem 0 0; }
.person dt, .iban dt { color: var(--muted); }
.person dd, .iban dd { margin: 0; }
.prop-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; margin-bottom: 0.45rem; }
.props { border: 1px solid var(--line); border-radius: 1rem; padding: 0.8rem; }
.plates { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.8rem; }
.plate { min-height: 210px; padding: 1rem; border-radius: 1.3rem; background: var(--ink); color: var(--seal-ink); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.plate img { width: calc(100% + 2rem); margin: -1rem -1rem 0.8rem; height: 140px; object-fit: cover; display: block; }
.plate span { font-family: var(--serif); font-size: 1.8rem; }
.plate em { color: color-mix(in srgb, var(--seal-ink) 72%, transparent); font-style: normal; }
.iban { display: grid; grid-template-columns: 8rem 1fr; gap: 0.4rem 1rem; background: var(--card); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); }

.form { display: grid; gap: 0.85rem; max-width: 40rem; margin: 1rem 0 2rem; }
.field { display: grid; gap: 0.3rem; }
.field span { color: var(--muted); font-size: 0.88rem; font-weight: 600; }
input, select, textarea, button { font: inherit; color: inherit; }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="number"], input[type="date"], input[type="datetime-local"], input[type="file"], select, textarea {
  width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 0.9rem; padding: 0.75rem 0.85rem; min-height: 2.9rem;
}
textarea { min-height: 7rem; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--seal) 55%, white); outline-offset: 1px; }
.btn, .quiet-btn {
  border: 0; cursor: pointer; padding: 0.7rem 1rem; min-height: 2.75rem;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; font-weight: 700;
}
.btn { background: var(--seal); color: var(--seal-ink); }
.quiet-btn { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.check { display: flex; gap: 0.65rem; align-items: flex-start; }
.check input { width: 1.1rem; height: 1.1rem; margin-top: 0.25rem; }
.flash { background: color-mix(in srgb, var(--seal) 14%, var(--card)); border-radius: 1rem; padding: 0.8rem 1rem; }
.demo { margin-top: 1.5rem; color: var(--muted); }
.demo ul { padding-left: 1.1rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 1rem; }
.filters input { max-width: 18rem; }
.row-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sheet-scroll { overflow-x: auto; }
.sheet { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 1rem; overflow: hidden; }
.sheet th, .sheet td { border-bottom: 1px solid var(--line); text-align: left; padding: 0.7rem 0.55rem; vertical-align: top; }
.sheet th { font-size: 0.78rem; color: var(--muted); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.print-only { display: none; }

.slider { display: flex; gap: 0.8rem; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 0 1.4rem; scroll-behavior: smooth; }
.slide {
  flex: 0 0 100%; scroll-snap-align: start; min-height: 280px;
  border-radius: 1.6rem; background: linear-gradient(145deg, var(--seal), color-mix(in srgb, var(--ink) 70%, var(--seal)));
  color: var(--seal-ink); display: flex; align-items: flex-end; padding: 1.5rem;
}
.slide-photo { background-size: cover; background-position: center; }
.slide-copy { max-width: 36rem; }
.slide-copy h2, .slide-copy p { color: inherit; }
.slide .btn { background: var(--card); color: var(--ink); }
.themes { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.swatch { display: flex; align-items: center; gap: 0.45rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.75rem; background: var(--card); min-height: 2.75rem; }
.swatch-kagit { box-shadow: inset 8px 0 #0e7a45; }

.hero {
  position: relative;
  color: white;
  min-height: 540px;
  overflow: hidden;
  border-bottom-left-radius: 2.6rem;
  border-bottom-right-radius: 2.6rem;
  background: var(--seal-deep);
}
.hero-slider, .hero-frame { position: absolute; inset: 0; }
.hero-frame {
  opacity: 0;
  background-position: center;
  background-size: cover;
  transition: opacity 0.7s ease;
}
.hero-frame.on { opacity: 1; z-index: 1; }
.hero-frame .shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 40, 28, 0.86) 0%, rgba(8, 40, 28, 0.5) 40%, rgba(8, 40, 28, 0.12) 68%);
}
.hero-copy { position: relative; z-index: 1; max-width: 58%; padding: 4.2rem 0 5rem; }
.hero .script { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 0.2rem; }
.hero-copy h1, .hero-copy h2 { color: white; font-size: clamp(2.4rem, 4.6vw, 4rem); margin: 0 0 0.7rem; }
.hero-copy > p, .hero-copy p { max-width: 36rem; color: rgba(255,255,255,0.92); }
.btn.light { background: white; color: var(--seal-deep); }
.hero-overlay { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; pointer-events: none; }
.hero-overlay-bar { display: flex; justify-content: flex-end; width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.hero-links { pointer-events: auto; width: min(340px, 100%); background: white; color: var(--ink); border-radius: 1.3rem; padding: 0.45rem; box-shadow: 0 18px 40px rgba(8, 40, 28, 0.18); }
.hero-dots { position: absolute; z-index: 3; left: max(1rem, calc(50% - 590px)); bottom: 1.5rem; display: flex; gap: 0.4rem; }
.hero-dot { width: 0.7rem; height: 0.7rem; border: 0; border-radius: 50%; padding: 0; background: rgba(255,255,255,0.55); cursor: pointer; }
.hero-dot.on { background: white; transform: scale(1.15); }
.hero-links a { display: grid; grid-template-columns: auto 1fr auto; gap: 0.7rem; align-items: center; text-decoration: none; color: inherit; padding: 0.75rem 0.7rem; border-radius: 0.9rem; font-weight: 650; }
.hero-links a + a { border-top: 1px solid var(--line); }
.hero-links a:hover { background: var(--paper-2); }
.hero-links span { width: 2.2rem; height: 2.2rem; border-radius: 0.7rem; display: grid; place-items: center; background: var(--paper-2); color: var(--seal); }
.hero-links svg { width: 1.15rem; height: 1.15rem; }
.hero-links em { color: var(--seal); font-style: normal; font-size: 1.3rem; }
.services { margin-top: -1.6rem; position: relative; z-index: 1; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.service { position: relative; min-height: 188px; background: white; border-radius: 1.25rem; box-shadow: var(--shadow); overflow: hidden; }
.service > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.service::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, #fff 42%, rgba(255,255,255,0.88) 58%, rgba(255,255,255,0.15) 100%); }
.service-copy { position: relative; z-index: 1; max-width: 68%; padding: 1rem 0.95rem 0.95rem; }
.service-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; display: grid; place-items: center; background: var(--paper-2); color: var(--seal); margin: 0 0 0.55rem; }
.service-icon svg, .band-head svg, .about-stats svg { width: 1.2rem; height: 1.2rem; }
.service h2 { font-size: 1.15rem; margin: 0 0 0.35rem; }
.service p { color: var(--muted); font-size: 0.95rem; }
.service a { color: var(--seal); font-weight: 700; text-decoration: none; }
.about { padding: 2.4rem 0 1rem; }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.2fr 0.7fr; gap: 1.2rem; align-items: center; }
.about-visual {
  min-height: 280px; border-radius: 1.8rem; overflow: hidden;
  background: var(--seal-deep);
}
.about-visual img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; }
.about .kicker { color: var(--seal); }
.about-stats { display: grid; gap: 0.7rem; }
.about-stats div { background: white; border-radius: 1.1rem; padding: 0.85rem 0.9rem; box-shadow: var(--shadow); display: grid; grid-template-columns: auto 1fr; column-gap: 0.7rem; align-items: center; }
.about-stats span { grid-row: span 2; width: 2.3rem; height: 2.3rem; border-radius: 0.7rem; display: grid; place-items: center; background: var(--paper-2); color: var(--seal); }
.about-stats strong { font-size: 1.25rem; }
.about-stats em { color: var(--muted); font-style: normal; font-size: 0.92rem; }
.news-band, .gallery-band { padding: 0.4rem 0 1.4rem; }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.news-card { background: white; border-radius: 1.3rem; padding: 1rem 1.05rem 0.4rem; box-shadow: var(--shadow); }
.band-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 0.4rem; }
.band-head h2 { display: flex; align-items: center; gap: 0.45rem; font-size: 1.25rem; margin: 0; }
.band-head h2 span { color: var(--seal); display: grid; }
.band-head > a { color: var(--seal); font-weight: 700; text-decoration: none; white-space: nowrap; }
.notice, .story { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: center; text-decoration: none; color: inherit; padding: 0.75rem 0; border-top: 1px solid var(--line); }
.story { grid-template-columns: 4.6rem auto 1fr; }
.story img { width: 4.6rem; height: 3.4rem; object-fit: cover; border-radius: 0.7rem; }
.date-badge, .story-mark { width: 3.3rem; height: 3.3rem; border-radius: 0.9rem; background: var(--paper-2); color: var(--seal-deep); display: grid; place-items: center; text-align: center; line-height: 1.05; }
.date-badge b, .story-mark { font-size: 1.15rem; }
.date-badge small, .story-mark small { display: block; font-size: 0.72rem; font-weight: 700; }
.notice strong, .story strong, .notice em, .story em { display: block; }
.notice em, .story em { color: var(--muted); font-style: normal; font-size: 0.92rem; }
.board-band { background: linear-gradient(180deg, var(--paper-2), var(--paper)); padding: 1.6rem 0 1.8rem; margin-top: 0.6rem; }
.board-intro { align-items: end; margin-bottom: 1rem; }
.board-intro h2 { font-size: clamp(1.6rem, 3vw, 2rem); }
.board-intro p { margin: 0.25rem 0 0; color: var(--muted); max-width: 36rem; }
.board-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.board-card { background: white; border-radius: 1.3rem; padding: 1.15rem 0.9rem 1rem; text-align: center; box-shadow: var(--shadow); }
.board-card img, .board-card .monogram { width: 4.6rem; height: 4.6rem; border-radius: 50%; object-fit: cover; margin: 0 auto 0.7rem; }
.board-card .monogram { display: grid; place-items: center; background: var(--seal); color: white; font-size: 1.5rem; font-weight: 700; }
.board-card strong, .board-card em, .board-card span { display: block; }
.board-card em, .board-card span { color: var(--muted); font-style: normal; font-size: 0.92rem; }
.gallery-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.gallery-row .plate { min-height: 220px; padding: 0 0 0.85rem; }
.gallery-row .plate img { width: 100%; height: 150px; margin: 0 0 0.7rem; object-fit: cover; }
.gallery-row .plate span, .gallery-row .plate strong, .gallery-row .plate em { padding: 0 0.85rem; }
.swatch-gece { box-shadow: inset 8px 0 #7c93ff; }
.swatch-lacivert { box-shadow: inset 8px 0 #1d4ed8; }
.swatch-zeytin { box-shadow: inset 8px 0 #3f6212; }
.swatch-kum { box-shadow: inset 8px 0 #c2410c; }

.desk { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 100vh; background: #f3f5f8; color: #16181d; }
.desk-top { display: none; }
.side {
  background: #10141c;
  color: #f5f7fb;
  padding: 1.1rem 0.85rem 0.9rem;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.side .brand, .side .brand em { color: #f5f7fb; }
.side .brand em { color: #aeb6c4; }
.side-nav { display: grid; gap: 0.85rem; margin: 1rem 0 0.6rem; align-content: start; overflow: auto; min-height: 0; padding-right: 0.15rem; }
.side-group { display: grid; gap: 0.12rem; }
.side-group h2 { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #8b95a7; margin: 0 0.45rem 0.2rem; line-height: 1.2; }
.side-group h2::before { content: ""; display: inline-block; width: 0.42rem; height: 0.42rem; margin-right: 0.4rem; border-radius: 99px; background: #3dce7a; vertical-align: 0.08rem; }
.side-group:nth-child(2) h2::before { background: #7eb6ff; }
.side-group:nth-child(3) h2::before { background: #f0c14a; }
.side-group:nth-child(4) h2::before { background: #f08a6a; }
.side-group:nth-child(5) h2::before { background: #c4a0ff; }
.side-group:nth-child(6) h2::before { background: #8fd0c0; }
.side-nav a { color: #d5dbe6; text-decoration: none; padding: 0.28rem 0.4rem; border-radius: 0.8rem; min-height: 2.45rem; display: flex; align-items: center; gap: 0.6rem; transition: background 0.16s ease, color 0.16s ease; }
.nav-ico { width: 1.85rem; height: 1.85rem; border-radius: 0.62rem; display: grid; place-items: center; background: rgba(255,255,255,0.06); color: #c9d3e0; flex: 0 0 auto; transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease; }
.side-nav svg, .side-out svg { width: 1.05rem; height: 1.05rem; }
.side-nav a:hover { background: #1c2430; color: white; }
.side-nav a:hover .nav-ico { background: rgba(14, 122, 69, 0.35); color: #d8ffe8; transform: translateY(-1px); }
.side-nav a.on { background: linear-gradient(90deg, rgba(14, 122, 69, 0.42), rgba(14, 122, 69, 0.08)); color: white; box-shadow: inset 3px 0 0 #3dce7a; }
.side-nav a.on .nav-ico { background: #0e7a45; color: white; transform: none; }
.side-foot { margin-top: auto; padding-top: 0.75rem; border-top: 1px solid #2a3342; }
.side-out button { width: 100%; background: transparent; color: #d5dbe6; border: 1px solid #2c3544; border-radius: 0.85rem; padding: 0.45rem 0.8rem; min-height: 2.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.side-out button:hover { border-color: #3dce7a; color: white; }
.who { display: flex; align-items: center; gap: 0.65rem; color: #aeb6c4; font-size: 0.88rem; margin: 0 0 0.65rem; }
.who-mark { width: 2.2rem; height: 2.2rem; border-radius: 0.7rem; background: #0e7a45; color: white; display: grid; place-items: center; font-weight: 700; flex: 0 0 auto; }
.who-copy { min-width: 0; }
.who-copy strong, .who-copy span { display: block; }
.who-copy strong { color: white; font-size: 0.95rem; }
.desk-main { padding: 1.5rem 1.4rem 3rem; min-width: 0; }
.desk-head h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.desk .sheet { background: white; }
.desk .card, .desk .stats div, .desk .person { background: white; }

body.theme-gece {
  --paper: #0e1116;
  --paper-2: #1a2030;
  --ink: #f4f6fb;
  --muted: #b7c0d0;
  --line: #2a3344;
  --seal: #8ea2ff;
  --seal-deep: #07090d;
  --sky: #243044;
  --seal-ink: #0e1116;
  --card: #171c27;
  --mast: rgba(14, 17, 22, 0.88);
  --shadow: none;
}
body.theme-lacivert {
  --paper: #eef3fb;
  --paper-2: #d5e2f5;
  --ink: #10233f;
  --muted: #4d5e78;
  --line: #d5e0ef;
  --seal: #1d4ed8;
  --seal-deep: #10233f;
  --sky: #d5e2f5;
  --seal-ink: #f8fbff;
  --card: #ffffff;
  --mast: rgba(238, 243, 251, 0.9);
}
body.theme-zeytin {
  --paper: #f3f6ee;
  --paper-2: #dce6d2;
  --ink: #1c2414;
  --muted: #5b6752;
  --line: #d7e0cc;
  --seal: #3f6212;
  --seal-deep: #243010;
  --sky: #e4ecd8;
  --seal-ink: #f7fbf1;
  --card: #ffffff;
  --mast: rgba(243, 246, 238, 0.9);
}
body.theme-kum {
  --paper: #fbf6ef;
  --paper-2: #f0e2d2;
  --ink: #3a2418;
  --muted: #7b6558;
  --line: #eadccb;
  --seal: #c2410c;
  --seal-deep: #3a2418;
  --sky: #f0e2d2;
  --seal-ink: #fff7f2;
  --card: #ffffff;
  --mast: rgba(251, 246, 239, 0.9);
}

main.sub { padding: 0; }
.page-hero { position: relative; overflow: hidden; color: white; border-radius: 0 0 2.4rem 2.4rem; background: var(--seal-deep); }
.page-hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, var(--seal-deep) 8%, color-mix(in srgb, var(--seal) 78%, transparent) 62%, color-mix(in srgb, var(--seal-deep) 35%, transparent)); }
.page-hero-copy { position: relative; z-index: 1; padding: 2.3rem 0 2.6rem; }
.page-hero h1 { color: white; margin: 0.15rem 0 0.45rem; font-size: clamp(2.1rem, 4vw, 3.3rem); }
.page-hero .script { color: #e7fff1; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0.35rem 0 0; }
.page-hero .lead { color: rgba(255,255,255,0.9); max-width: 40rem; margin: 0; }
.page-hero .flash { background: white; color: var(--ink); margin-top: 1rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; font-size: 0.88rem; font-weight: 600; }
.crumbs a, .crumbs span { color: white; text-decoration: none; }
.crumbs span[aria-hidden] { opacity: 0.6; }
.page-stack { padding-bottom: 2.6rem; }
.module { padding: 1.35rem 0; }
.module.tone { background: linear-gradient(180deg, color-mix(in srgb, var(--seal) 8%, var(--paper)), transparent); }
.module .people { background: transparent; padding: 0; }
.module .people h3 { margin: 1.1rem 0 0.45rem; }
.prose-card, .info-tile { background: white; border-radius: 1.3rem; padding: 1.2rem 1.25rem 1.3rem; box-shadow: var(--shadow); }
.prose-card .form { margin-top: 0.2rem; }
.due-amount { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0.2rem 0; color: var(--seal-deep); font-weight: 700; }
.entry-grid, .event-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0.8rem; }
.story-grid, .contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0.8rem; }
.entry, .event-tile { display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: center; background: white; border-radius: 1.2rem; padding: 0.95rem 1rem; text-decoration: none; color: inherit; box-shadow: var(--shadow); }
.entry strong, .event-tile strong, .entry em, .event-tile em, .event-tile small { display: block; }
.entry em, .event-tile em, .event-tile small { color: var(--muted); font-style: normal; font-size: 0.92rem; }
.story-card { display: grid; background: white; border-radius: 1.2rem; overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); }
.story-card img { width: 100%; height: 150px; object-fit: cover; }
.story-card span { display: grid; gap: 0.2rem; padding: 0.85rem 0.95rem 1rem; }
.story-card em { color: var(--muted); font-style: normal; font-size: 0.88rem; }
.info-tile span { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.info-tile strong, .info-tile a { color: inherit; text-decoration: none; }
.duo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 0.9rem; align-items: start; }
.page-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; max-width: none; }
.page-module { background: white; border: 0; border-radius: 1rem; padding: 0.85rem 1rem 1rem; box-shadow: var(--shadow); margin: 0; }
.page-module legend { font-weight: 700; padding: 0 0.2rem; }
.pick-row { display: grid; grid-template-columns: 1fr 5.2rem; gap: 0.55rem; align-items: center; padding: 0.32rem 0; border-top: 1px solid var(--line); }
.pick-row input[type="number"] { min-height: 2.2rem; padding: 0.3rem 0.45rem; }
.page-modules > .btn { justify-self: start; }

@media (max-width: 980px) {
  .burger { display: inline-grid; }
  .mast-bar .nav { display: none; width: 100%; margin: 0 0 0.8rem; flex-direction: column; align-items: stretch; }
  .mast-bar .nav-toggle:checked ~ .nav { display: flex; }
  .nav a { width: 100%; }
  .nav-drop { display: block; }
  .nav-sub { position: static; display: grid; box-shadow: none; padding: 0 0 0 0.8rem; }
  .bands, .split, .stats, .foot-grid, .prop-row, .about-grid, .news-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-slider { position: relative; }
  .hero-frame { position: absolute; inset: 0; }
  .hero-frame.on { position: relative; }
  .hero-copy { max-width: none; padding: 2rem 0 1.2rem; }
  .hero-overlay { position: relative; inset: auto; padding: 0 0 1rem; }
  .hero-overlay-bar { display: block; width: min(1180px, calc(100% - 2rem)); }
  .hero-links { width: 100%; }
  .hero-dots { left: 1rem; bottom: 0.8rem; }
  .service::after { background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, #fff 52%); }
  .service-copy { max-width: none; padding-top: 5.2rem; }
  .service-grid, .gallery-row { grid-template-columns: 1fr 1fr; }
  .board-row { display: flex; overflow-x: auto; padding-bottom: 0.4rem; }
  .board-card { flex: 0 0 11rem; }
  .topbar span { margin-left: 0; }
  .nav a.enter { margin-left: 0; width: auto; }
  .desk { display: block; background: #f3f5f8; }
  .desk-top {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    position: sticky;
    top: 0;
    z-index: 12;
    background: #10141c;
    color: white;
    padding: calc(0.55rem + env(safe-area-inset-top)) 0.9rem 0.55rem;
  }
  .desk-top .burger span { background: white; }
  .desk-top strong { font-size: 0.95rem; }
  .side { display: none; position: static; height: auto; overflow: visible; }
  .desk .nav-toggle:checked ~ .side { display: flex; }
  .side-nav { overflow: visible; }
  .desk-main { padding: 1rem 0.9rem 2.5rem; }
  .iban, .duo, .page-modules { grid-template-columns: 1fr; }
  .page-hero { border-radius: 0 0 1.4rem 1.4rem; }
  .filters input { max-width: none; }
}
@media (max-width: 640px) {
  .wrap { width: min(1120px, calc(100% - 1.2rem)); }
  .service-grid, .gallery-row { grid-template-columns: 1fr; }
  .slide { min-height: 220px; padding: 1.1rem; }
  .brand em { max-width: 9rem; }
}
.nav-drop { position: relative; display: inline-flex; align-items: center; }
.nav-drop > a { display: inline-flex; }
.nav-sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 12rem;
  background: #fff; border-radius: 1rem; box-shadow: var(--shadow); padding: 0.4rem;
  z-index: 40;
}
.nav-drop:hover .nav-sub, .nav-drop:focus-within .nav-sub { display: grid; }
.nav-sub a { display: block; width: 100%; border-radius: 0.7rem; }
.hero-align-center .hero-copy { margin: 0 auto; text-align: center; }
.hero-align-center .hero-copy > p, .hero-align-center .hero-copy p { margin-left: auto; margin-right: auto; }
.hero-align-right .hero-copy { margin-left: auto; text-align: right; }
.hero-align-right .hero-copy > p, .hero-align-right .hero-copy p { margin-left: auto; }
.hero-frame.image-only .shade { background: rgba(8, 40, 28, 0.18); }
.hero-frame.image-only .hero-copy { display: none; }
.form.wide { max-width: 54rem; }
.media-preview img, .thumb-sm { max-height: 90px; max-width: 180px; border-radius: 0.7rem; object-fit: cover; display: block; }
.thumb-row, .content-thumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.6rem; }
.thumb-row figure { margin: 0; display: grid; gap: 0.3rem; }
.thumb-row img, .content-thumbs img { width: 7.5rem; height: 5.4rem; object-fit: cover; border-radius: 0.8rem; display: block; }
form.inline { display: inline; }
.cover-img { width: 100%; max-height: 22rem; object-fit: cover; border-radius: 1.1rem; margin: 0 0 1rem; }
.rich-body img { max-width: 100%; height: auto; border-radius: 0.8rem; }
.member-pick { overflow: auto; }

.member-page { padding: 1.4rem 0 3.5rem; }
.member-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.member-side {
  background: #fff; border-radius: 1.4rem; box-shadow: var(--shadow);
  padding: 1.1rem 1rem 1.2rem; position: sticky; top: 5.5rem;
}
.member-who strong, .member-who span { display: block; }
.member-who { margin: 0 0 0.9rem; }
.member-who span { color: var(--muted); font-size: 0.86rem; }
.member-nav { display: grid; gap: 0.2rem; margin-bottom: 0.9rem; }
.member-nav a {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.55rem 0.7rem; border-radius: 0.8rem; color: var(--ink); font-weight: 600;
}
.member-nav a .nav-ico { width: 1.2rem; display: grid; place-items: center; color: var(--seal); }
.member-nav a .nav-ico svg { width: 1.15rem; height: 1.15rem; }
.member-nav a.on, .member-nav a:hover { background: var(--paper-2); color: var(--seal-deep); }
.member-main h1 { margin-top: 0; }
.member-stats { margin: 0 0 1.2rem; }
.member-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin: 0 0 1.2rem; }
.member-card {
  background: #fff; border-radius: 1.3rem; box-shadow: var(--shadow);
  padding: 1.05rem 1.1rem 1.15rem;
}
.member-card h2 { margin: 0 0 0.7rem; font-size: 1.1rem; }
.member-list { list-style: none; padding: 0; margin: 0 0 0.8rem; }
.member-list li { padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.member-list strong, .member-list span { display: block; }
.member-list span { color: var(--muted); font-size: 0.88rem; }
.event-line { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 0.7rem; }
.event-line span, .event-line small { display: block; color: var(--muted); }

.member-login-body { min-height: 100vh; }
.member-login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 0.9fr; }
.member-login-visual { position: relative; min-height: 100vh; background-size: cover; background-position: center; color: #fff; }
.member-login-visual .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,40,28,.35), rgba(8,40,28,.82)); }
.member-login-copy { position: relative; z-index: 1; padding: 3.5rem 3rem; max-width: 34rem; }
.member-login-copy h1 { color: #fff; }
.member-login-copy p { color: rgba(255,255,255,.9); }
.member-login-panel { display: grid; align-content: center; padding: 2.4rem 2rem; background: var(--paper); }
.member-login-panel .form { max-width: 26rem; }
.member-login-panel h2 { margin: 1rem 0 0.35rem; }

@media (max-width: 980px) {
  .member-shell { grid-template-columns: 1fr; }
  .member-side { position: static; }
  .member-nav { grid-template-columns: repeat(2, 1fr); }
  .member-grid { grid-template-columns: 1fr; }
  .member-login { grid-template-columns: 1fr; }
  .member-login-visual { min-height: 18rem; }
  .member-login-copy { padding: 2rem 1.2rem; }
}

@media print {
  .mast, .foot, .topbar, .site-head, .side, .desk-top, .burger, .no-print, .flash, .form, .skip { display: none !important; }
  .print-only { display: block; }
  .desk, .desk-main { display: block; background: white; color: black; padding: 0; }
  body { background: white; color: black; }
  .sheet, .card, .person { box-shadow: none; }
}
