/* Konger Classics — self-contained static site stylesheet */
:root {
  color-scheme: light dark;
  --navy: #1e2a40;
  --navy-deep: #111b2d;
  --yellow: #ffd60a;
  --yellow-deep: #caa600;
  --ink: #172033;
  --muted: #59657a;
  --canvas: #fffdf7;
  --surface: #ffffff;
  --surface-soft: #f3f0e8;
  --line: #d9dfe8;
  --shadow: 0 18px 48px rgba(30, 42, 64, 0.12);
  --shadow-small: 0 8px 24px rgba(30, 42, 64, 0.1);
  --radius-large: 1.75rem;
  --radius-medium: 1.1rem;
  --radius-small: 0.75rem;
  --content: 72rem;
  --reading: 45rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f7f4ec;
    --muted: #bac4d2;
    --canvas: #101827;
    --surface: #18243a;
    --surface-soft: #202f48;
    --line: #34445e;
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    --shadow-small: 0 8px 24px rgba(0, 0, 0, 0.23);
    --yellow-deep: #ffe478;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

body {
  margin: 0;
  min-width: 20rem;
  background: var(--canvas);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration-color: var(--yellow-deep); text-decoration-thickness: 0.12em; text-underline-offset: 0.17em; }
a:hover { text-decoration-thickness: 0.2em; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; border-radius: 0.25rem; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  padding: 0.65rem 0.9rem;
  border-radius: 0.5rem;
  background: var(--yellow);
  color: var(--navy-deep);
  font-weight: 750;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.shell { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }
.reading { width: min(100%, var(--reading)); }

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--canvas) 93%, transparent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--ink); text-decoration: none; min-width: fit-content; }
.brand-mark { width: 2.5rem; height: 2.5rem; border-radius: 0.85rem; box-shadow: 0 5px 12px rgba(30, 42, 64, 0.12); }
.brand-text { display: grid; line-height: 1; }
.brand-name { font-size: 1.05rem; font-weight: 850; letter-spacing: -0.035em; }
.brand-sub { margin-top: 0.17rem; color: var(--muted); font-size: 0.67rem; font-weight: 780; letter-spacing: 0.12em; text-transform: uppercase; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.25rem 0.9rem; }
.site-nav a { padding: 0.3rem 0.15rem; color: var(--muted); font-size: 0.94rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 0.2em; text-underline-offset: 0.32em; }

main { overflow: hidden; }
.hero { padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(3.25rem, 7vw, 6rem); }
.hero-grid { display: grid; align-items: center; gap: clamp(2.5rem, 6vw, 6rem); grid-template-columns: minmax(0, 1.05fr) minmax(17rem, 0.95fr); }
.eyebrow { display: inline-flex; align-items: center; gap: 0.55rem; margin: 0 0 1rem; color: var(--muted); font-size: 0.78rem; font-weight: 830; letter-spacing: 0.1em; text-transform: uppercase; }
.eyebrow::before { width: 0.53rem; height: 0.53rem; border-radius: 50%; background: var(--yellow); content: ""; box-shadow: 0 0 0 4px color-mix(in srgb, var(--yellow) 25%, transparent); }
h1, h2, h3 { color: var(--ink); font-weight: 840; letter-spacing: -0.045em; line-height: 1.06; }
h1 { max-width: 13ch; margin: 0; font-size: clamp(2.65rem, 6.2vw, 5.9rem); }
h2 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 3rem); }
h3 { margin: 0; font-size: 1.22rem; }
p { margin: 0; }
.hero-copy { max-width: 40rem; margin-top: 1.45rem; color: var(--muted); font-size: clamp(1.06rem, 1.8vw, 1.27rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.button, .button-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 2.95rem; padding: 0.72rem 1rem; border: 1px solid transparent; border-radius: 0.75rem; font-weight: 800; text-align: center; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.button { background: var(--yellow); color: #152038; box-shadow: 0 7px 0 color-mix(in srgb, var(--yellow) 40%, #a18600); }
.button:hover { transform: translateY(-2px); box-shadow: 0 9px 0 color-mix(in srgb, var(--yellow) 40%, #a18600); }
.button-secondary { border-color: var(--line); color: var(--ink); background: var(--surface); }
.button-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-small); }

.hero-art { position: relative; isolation: isolate; }
.hero-art::before { position: absolute; z-index: -1; top: 7%; right: 2%; width: 74%; height: 84%; border-radius: 2.2rem; background: var(--yellow); content: ""; transform: rotate(3.5deg); }
.hero-art figure { margin: 0; padding: 0.85rem; border: 1px solid var(--line); border-radius: 2rem; background: var(--surface); box-shadow: var(--shadow); transform: rotate(-1.3deg); }
.hero-art img { width: 100%; border-radius: 1.35rem; }
.hero-art figcaption { padding: 0.65rem 0.45rem 0.1rem; color: var(--muted); font-size: 0.83rem; }

.band { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.band-soft { background: var(--surface-soft); border-block: 1px solid var(--line); }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.section-top p { max-width: 32rem; color: var(--muted); }

.principle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.principle { min-height: 11rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-medium); background: var(--surface); box-shadow: 0 8px 20px rgba(30, 42, 64, 0.045); }
.principle-number { display: inline-grid; width: 2rem; height: 2rem; place-items: center; border-radius: 0.6rem; background: var(--yellow); color: #172033; font-size: 0.79rem; font-weight: 850; }
.principle h3 { margin-top: 1.2rem; font-size: 1.05rem; }
.principle p { margin-top: 0.55rem; color: var(--muted); font-size: 0.95rem; }

.project-card { display: grid; grid-template-columns: minmax(14rem, 0.88fr) minmax(0, 1.12fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-large); background: var(--surface); box-shadow: var(--shadow); }
.project-card-media { display: grid; align-items: center; padding: clamp(1.4rem, 3vw, 2.6rem); background: var(--navy); }
.project-card-media img { width: 100%; border-radius: 1rem; }
.project-card-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.8rem, 4vw, 4rem); }
.project-card-copy .eyebrow { margin-bottom: 0.8rem; }
.project-card-copy h2 { max-width: 14ch; font-size: clamp(1.9rem, 3.2vw, 3.25rem); }
.project-card-copy p { max-width: 34rem; margin-top: 1rem; color: var(--muted); }
.project-card-copy .button { margin-top: 1.7rem; }

.page-hero { padding: clamp(2.7rem, 6vw, 5rem) 0 clamp(2.6rem, 4vw, 3.5rem); }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.4rem, 5vw, 4.7rem); }
.page-hero p:not(.eyebrow) { max-width: 46rem; margin-top: 1.25rem; color: var(--muted); font-size: 1.16rem; }

.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.25rem; }
.project-tile { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-medium); background: var(--surface); box-shadow: 0 9px 25px rgba(30, 42, 64, 0.06); }
.project-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.project-tile { transition: transform 160ms ease, box-shadow 160ms ease; }
.project-tile img { width: 100%; background: var(--navy); }
.project-tile-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.4rem; }
.project-tile-content p { margin-top: 0.65rem; color: var(--muted); }
.project-tile-content .text-link { margin-top: auto; padding-top: 1.3rem; font-weight: 800; }

.product-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.82fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.product-intro-copy p { max-width: 40rem; margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }
.product-intro-image { position: relative; padding: 1rem; border-radius: 1.6rem; background: var(--navy); box-shadow: var(--shadow); }
.product-intro-image::after { position: absolute; right: -1rem; bottom: -1rem; z-index: -1; width: 6rem; height: 6rem; border-radius: 1.5rem; background: var(--yellow); content: ""; }
.product-intro-image img { border-radius: 1.05rem; }

.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 3rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 1.65rem; color: var(--muted); }
.feature-list li::before { position: absolute; top: 0.61rem; left: 0; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--yellow); content: ""; box-shadow: 0 0 0 4px color-mix(in srgb, var(--yellow) 19%, transparent); }

.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.gallery-card { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-medium); background: var(--surface); }
.gallery-card.wide { grid-column: 1 / -1; }
.gallery-card img { width: 100%; background: var(--navy); }
.gallery-card figcaption { padding: 0.8rem 1rem 0.9rem; color: var(--muted); font-size: 0.9rem; }

.notice { padding: clamp(1.5rem, 3vw, 2.3rem); border: 1px dashed color-mix(in srgb, var(--yellow) 73%, var(--line)); border-radius: var(--radius-medium); background: color-mix(in srgb, var(--yellow) 12%, var(--surface)); }
.notice h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
.notice p { max-width: 45rem; margin-top: 0.75rem; color: var(--muted); }
.play-placeholder { display: inline-flex; align-items: center; min-height: 3.1rem; margin-top: 1.3rem; padding: 0.72rem 1rem; border: 2px dashed var(--yellow-deep); border-radius: 0.75rem; color: var(--ink); font-weight: 800; }
.play-placeholder small { display: block; margin-left: 0.4rem; color: var(--muted); font-size: 0.78rem; font-weight: 650; }

.faq { display: grid; gap: 0.85rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface); }
.faq summary { padding: 1.05rem 1.15rem; cursor: pointer; color: var(--ink); font-weight: 800; }
.faq details p { padding: 0 1.15rem 1.15rem; color: var(--muted); }

.article { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.article h1 { max-width: 16ch; font-size: clamp(2.35rem, 5vw, 4.35rem); }
.article .article-lead { max-width: 42rem; margin-top: 1.3rem; color: var(--muted); font-size: 1.15rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; margin-top: 1.5rem; color: var(--muted); font-size: 0.92rem; }
.draft-label { display: inline-flex; margin-top: 1.5rem; padding: 0.34rem 0.6rem; border-radius: 0.45rem; background: var(--yellow); color: #172033; font-size: 0.76rem; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }
.policy-content { margin-top: 2.5rem; }
.policy-content section { padding: 1.65rem 0; border-top: 1px solid var(--line); }
.policy-content h2 { font-size: clamp(1.35rem, 2.7vw, 2rem); }
.policy-content p + p { margin-top: 0.85rem; }
.policy-content p, .policy-content li { color: var(--muted); }
.policy-content ul { margin: 0.85rem 0 0; padding-left: 1.25rem; }
.policy-content li + li { margin-top: 0.5rem; }
.policy-content strong { color: var(--ink); }

.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.72fr); gap: 1.25rem; }
.support-card { padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--radius-medium); background: var(--surface); box-shadow: 0 9px 25px rgba(30, 42, 64, 0.06); }
.support-card h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.support-card p { margin-top: 0.8rem; color: var(--muted); }
.support-card ul { margin: 1rem 0 0; padding-left: 1.25rem; color: var(--muted); }
.support-card li + li { margin-top: 0.55rem; }
.privacy-note { margin-top: 1.2rem !important; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 0.93rem; }

.empty-state { max-width: 45rem; padding: clamp(2rem, 5vw, 4rem); border: 1px dashed var(--line); border-radius: var(--radius-large); background: var(--surface); }
.empty-state h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.empty-state p { margin-top: 1rem; color: var(--muted); }

.site-footer { margin-top: auto; border-top: 1px solid var(--line); background: var(--navy-deep); color: #edf1f8; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 2rem 0; }
.footer-inner p { color: #cbd4e1; font-size: 0.92rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.footer-nav a { color: #f7f4ec; font-size: 0.9rem; font-weight: 720; }

@media (max-width: 50rem) {
  .hero-grid, .project-card, .product-intro, .support-grid { grid-template-columns: 1fr; }
  .principle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card-media { min-height: 15rem; }
  .product-intro-image { max-width: 34rem; }
}

@media (max-width: 38rem) {
  .shell { width: min(calc(100% - 1.4rem), var(--content)); }
  .header-inner { align-items: flex-start; flex-direction: column; gap: 0.65rem; padding-block: 0.9rem; }
  .site-nav { justify-content: flex-start; }
  .site-nav a { padding: 0.2rem 0.1rem; }
  .hero { padding-top: 3rem; }
  .hero-art { max-width: 31rem; }
  .principle-grid, .gallery-grid, .feature-list { grid-template-columns: 1fr; }
  .gallery-card.wide { grid-column: auto; }
  .section-top { align-items: flex-start; flex-direction: column; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
