/* ═══════════════════════════════════════════════
   Reset
   ═══════════════════════════════════════════════ */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth}
body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,picture,video,canvas,svg{display:block;max-width:100%}
input,button,textarea,select{font:inherit;color:inherit}
button{cursor:pointer;background:none;border:none}
p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}
ul,ol{list-style:none}

/* ═══════════════════════════════════════════════
   Design Tokens — Dark (default)
   ═══════════════════════════════════════════════ */
:root{
  --bg:         #0b0b0d;
  --bg-card:    rgba(255,255,255,.025);
  --text:       #f2f2f2;
  --muted:      rgba(242,242,242,.72);
  --border:     rgba(255,255,255,.10);
  --input-bg:   rgba(255,255,255,.04);
  --input-focus: rgba(255,255,255,.06);
  --opt-bg:     #1a1a1e;

  --burgundy:      rgba(178,58,72,.70);
  --burgundySolid: #b23a48;
  --burgundySoft:  rgba(178,58,72,.45);
  --burgundyHover: #c94455;
  --burgundyGlow:  rgba(178,58,72,.3);
  --burgundyTag:   rgba(178,58,72,.14);
  --burgundyTagTx: #d4757f;

  --hoverDur: 270ms;

  --font-ui: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
             "Segoe UI", "Helvetica Neue", Arial,
             "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;

  color-scheme: dark light;
}

/* ═══════════════════════════════════════════════
   Design Tokens — Light
   ═══════════════════════════════════════════════ */
[data-theme="light"]{
  --bg:         #f8f7f5;
  --bg-card:    rgba(0,0,0,.03);
  --text:       #1a1a1e;
  --muted:      rgba(26,26,30,.65);
  --border:     rgba(0,0,0,.10);
  --input-bg:   rgba(0,0,0,.04);
  --input-focus: rgba(0,0,0,.06);
  --opt-bg:     #ffffff;

  --burgundyTag:   rgba(178,58,72,.10);
  --burgundyTagTx: #943040;
}

/* ═══════════════════════════════════════════════
   Base
   ═══════════════════════════════════════════════ */
html{ min-height:100% }
body{
  min-height:100vh;
  background: var(--bg);
  color: var(--text);
  padding-top:72px;
  font-family: var(--font-ui);
  line-height:1.8;
  letter-spacing:.15px;
  transition: background .3s ease, color .3s ease;
}
body:not(.page-home){
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(128,128,128,.06), transparent 55%),
    radial-gradient(900px 500px at 90% 20%, rgba(128,128,128,.05), transparent 60%),
    var(--bg);
}

a{
  color: var(--text);
  opacity:.9;
  text-decoration:none;
  transition: color var(--hoverDur), text-shadow var(--hoverDur), opacity var(--hoverDur);
}
a:hover{
  color: var(--burgundySolid);
  text-shadow: 0 0 10px var(--burgundySoft), 0 0 18px rgba(107,26,31,.35);
  opacity:1;
}
a:focus-visible{
  outline: 2px solid rgba(178,58,72,.55);
  outline-offset:3px;
  border-radius:6px;
}

/* ═══════════════════════════════════════════════
   Navbar
   ═══════════════════════════════════════════════ */
.navbar{
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,.78)!important;
}
[data-theme="light"] .navbar{
  background: rgba(248,247,245,.88)!important;
}
[data-theme="light"] .navbar .navbar-toggler-icon{
  filter: invert(1);
}
.navbar-brand{
  display:flex;
  align-items:center;
  gap:.5rem;
}
.navbar-brand__img{
  height:22px;
  width:auto;
}
/* Dark mode: show white name, hide black */
.navbar-brand__img--dark{ display:inline-block }
.navbar-brand__img--light{ display:none }
[data-theme="light"] .navbar-brand__img--dark{ display:none }
[data-theme="light"] .navbar-brand__img--light{ display:inline-block }
/* SVG brand image */
.navbar-brand__svg{
  height:22px;
  width:auto;
}

.navbar .nav-link{
  color: var(--muted);
  transition: color var(--hoverDur), text-shadow var(--hoverDur);
}
.navbar .nav-link:hover{
  color: var(--burgundySolid)!important;
  text-shadow: 0 0 10px var(--burgundySoft);
}
.navbar .nav-link.active{
  color: var(--burgundySolid)!important;
  font-weight:600;
  text-shadow: 0 0 12px var(--burgundy);
}

/* Nav English labels — stacked below Japanese */
.navbar .nav-link{
  display:flex;
  flex-direction:column;
  align-items:center;
  line-height:1.3;
}
@media(max-width:991px){
  .navbar .nav-link{
    align-items:flex-start;
    padding:.5rem 0;
  }
}
.nav-en{
  display:block;
  font-size:.52rem;
  opacity:.45;
  font-weight:300;
  letter-spacing:.8px;
  margin-top:1px;
}

/* Theme toggle — SWAPPED: dark=sun, light=moon */
.theme-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;height:36px;
  border-radius:50%;
  color: var(--muted);
  font-size:1.1rem;
  transition: color var(--hoverDur), background var(--hoverDur);
}
.theme-toggle:hover{
  color: var(--text);
  background: var(--bg-card);
}
/* Dark mode shows sun (switch to light), Light mode shows moon (switch to dark) */
.theme-toggle .bi-sun-fill{ display:inline }
.theme-toggle .bi-moon-fill{ display:none }
[data-theme="light"] .theme-toggle .bi-sun-fill{ display:none }
[data-theme="light"] .theme-toggle .bi-moon-fill{ display:inline }

/* ═══════════════════════════════════════════════
   Layout
   ═══════════════════════════════════════════════ */
.page-wrap{
  min-height:calc(100vh - 72px);
  display:flex;
  flex-direction:column;
}
main{ flex:1 }
.stack-2x > * + *{ margin-top:3rem }
.kicker{
  color:var(--burgundySolid);
  font-size:1.1rem;
  font-weight:600;
  letter-spacing:.5px;
}

/* Page subtitle (toned-down h1) */
.page-subtitle{
  font-size:1.05rem;
  font-weight:400;
  color:var(--muted);
  margin-top:.2rem;
}

/* ═══════════════════════════════════════════════
   Hero (はじめ)
   ═══════════════════════════════════════════════ */
.hero-home{
  position:relative;
  max-width:720px;
  margin:0 auto;
}
.hero-home__img{
  width:100%;
  height:auto;
  display:block;
}
@media(max-width:767px){
  .hero-home__img{
    max-height:80vh;
    object-fit:contain;
    object-position:center top;
  }
}
.hero-home__overlay{
  position:absolute;
  bottom:0; left:0; right:0;
  padding:2rem 1.5rem 1.5rem;
  background:linear-gradient(to top,rgba(11,11,13,.92) 0%,rgba(11,11,13,.6) 60%,transparent 100%);
}
.hero-home__name-img{
  height:2rem;
  width:auto;
  margin-bottom:.4rem;
}
.hero-home__name{
  font-size:1.8rem;
  font-weight:600;
  line-height:1.3;
  margin-bottom:.15rem;
  color:#f2f2f2;
}
.hero-home__name-en{
  font-size:1rem;
  color:rgba(242,242,242,.72);
  margin-bottom:.6rem;
}
.hero-home__tagline{
  font-size:.88rem;
  color:rgba(242,242,242,.72);
  letter-spacing:.8px;
}
@media(min-width:768px){
  .hero-home__overlay{ padding:2.5rem 2rem 2rem }
  .hero-home__name{ font-size:2.2rem }
  .hero-home__name-img{ height:2.5rem }
  .hero-home__name-en{ font-size:1.1rem }
  .hero-home__tagline{ font-size:.95rem }
}

/* Portrait images */
.hero-img{ width:100% }
.hero-img--portrait{
  width:100%;
  border-radius:4px;
  object-fit:cover;
  object-position:top center;
}
@media(min-width:992px){
  .hero-img--portrait{ max-height:70vh }
}
@media(max-width:991px){
  .hero-img--portrait{
    max-width:360px;
    object-fit:contain;
    margin:0 auto;
  }
}

/* ═══════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════ */
.footer{
  border-top:1px solid var(--border);
  color:var(--muted);
}
.socials{
  display:inline-flex;
  gap:14px;
  align-items:center;
}
.social-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  font-size:1.22rem;
  line-height:1;
  transition: color var(--hoverDur), text-shadow var(--hoverDur);
}
.social-link:hover{
  color:var(--burgundySolid);
  text-shadow:0 0 10px var(--burgundySoft);
}

/* Footer note icon with circle */
.note-circle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1em;
  height:1em;
  border-radius:50%;
  border:1.25px solid var(--muted);
  transition: border-color var(--hoverDur);
}
.social-link:hover .note-circle{
  border-color:var(--burgundySolid);
}
.note-circle__icon{
  height:1em;
  width:1em;
}
/* Switch per theme */
.note-circle__icon--dark{ display:inline }
.note-circle__icon--light{ display:none }
[data-theme="light"] .note-circle__icon--dark{ display:none }
[data-theme="light"] .note-circle__icon--light{ display:inline }

/* ═══════════════════════════════════════════════
   note icon (legacy inline)
   ═══════════════════════════════════════════════ */
.note-icon-wrap{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1.25em; height:1.25em;
  flex-shrink:0;
}
.note-logo{
  display:block;
  height:1em; width:auto;
}
/* Switch note logo per theme */
.note-logo--dark{ display:inline }
.note-logo--light{ display:none }
[data-theme="light"] .note-logo--dark{ display:none }
[data-theme="light"] .note-logo--light{ display:inline }

/* ═══════════════════════════════════════════════
   note link block (ながれ)
   ═══════════════════════════════════════════════ */
.note-link{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.5rem 1rem;
  border:1px solid var(--border);
  border-radius:8px;
  font-size:.9rem;
  transition: border-color var(--hoverDur), background var(--hoverDur);
}
.note-link:hover{
  border-color: var(--burgundySolid);
  background: var(--bg-card);
}
.note-link .note-logo{
  height:1.1em;
}
.note-link .note-link__text{
  font-size:.9rem;
}

/* note inline logo (ながれ — inline in text) */
.note-inline-link{
  display:inline;
  vertical-align:baseline;
}
.note-inline-logo{
  height:1.5em;
  width:auto;
  vertical-align:baseline;
  position:relative;
  top:.4em;
}

/* ═══════════════════════════════════════════════
   Concert Gallery (かたち)
   ═══════════════════════════════════════════════ */
.concert-section{ margin-bottom:1rem }
.concert-sub-title{
  font-size:.9rem;
  font-weight:600;
  color:var(--muted);
  margin-bottom:.75rem;
  padding-bottom:.4rem;
  border-bottom:1px solid var(--border);
}
.concert-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:1rem;
}
.concert-card{
  border:1px solid var(--border);
  border-radius:10px;
  overflow:hidden;
  cursor:pointer;
  transition: border-color var(--hoverDur), transform .2s;
}
.concert-card:hover{
  border-color:var(--burgundySolid);
  transform:translateY(-2px);
}
.concert-card__img{
  width:100%;
  aspect-ratio:16/11;
  object-fit:cover;
}
.concert-card__body{
  padding:.8rem 1rem;
}
.concert-card__title{
  font-weight:600;
  font-size:.9rem;
  margin-bottom:.2rem;
}
.concert-card__meta{
  font-size:.78rem;
  color:var(--muted);
}

/* External link cards */
.ext-card{
  display:flex;
  align-items:center;
  gap:1rem;
  padding:1rem 1.2rem;
  border:1px solid var(--border);
  border-radius:10px;
  transition:border-color var(--hoverDur),background var(--hoverDur);
}
.ext-card:hover{
  border-color:var(--burgundySolid);
  background:var(--bg-card);
}
.ext-card__icon{
  font-size:1.4rem;
  color:var(--burgundySolid);
  flex-shrink:0;
}
.ext-card__body{ flex:1; min-width:0 }
.ext-card__title{
  font-weight:600;
  font-size:.9rem;
  margin-bottom:.15rem;
}
.ext-card__desc{
  font-size:.78rem;
  color:var(--muted);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.ext-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:1rem;
}
.ext-grid > *{ display:flex; flex-direction:column }
.ext-grid > * > .ext-card,
.ext-grid > .ext-card{
  flex:1;
}
/* Sub-links under a card */
.ext-sub-links{
  margin-top:.5rem;
  padding-left:2.6rem;
  font-size:.82rem;
  color:var(--muted);
}

/* Flyer modal */
.modal-overlay{
  display:none;
  position:fixed;
  inset:0;
  z-index:10000;
  background:rgba(0,0,0,.88);
  backdrop-filter:blur(4px);
  align-items:center;
  justify-content:center;
  padding:1rem;
}
.modal-overlay.active{ display:flex }
.modal-content{
  position:relative;
  max-width:900px;
  width:100%;
  max-height:90vh;
}
.modal-close{
  position:absolute;
  top:-2.5rem; right:0;
  color:#fff;
  font-size:1.5rem;
  z-index:10001;
}
.modal-nav{
  display:flex;
  gap:.5rem;
  margin-bottom:.5rem;
}
.modal-nav-btn{
  padding:.35rem 1rem;
  border-radius:6px;
  font-size:.82rem;
  font-weight:600;
  color:rgba(255,255,255,.6);
  border:1px solid rgba(255,255,255,.2);
  transition:all .2s;
}
.modal-nav-btn.active{
  color:#fff;
  border-color:var(--burgundySolid);
  background:var(--burgundySolid);
}
.modal-img{
  width:100%;
  max-height:80vh;
  object-fit:contain;
  border-radius:6px;
}

/* YouTube CTA */
.yt-cta{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.6rem 1.4rem;
  border:1px solid var(--border);
  border-radius:8px;
  font-weight:600;
  font-size:.9rem;
  color:var(--muted);
  transition:all var(--hoverDur);
}
.yt-cta:hover{
  border-color:#ff0000;
  color:#ff0000;
  background:rgba(255,0,0,.06);
  text-shadow:none;
}

/* Video description */
.video-cage-quote{
  font-size:1.2em;
  color:var(--muted);
  margin-bottom:.25rem;
}
.video-cage-quote--ja{ font-size:1.05em; margin-bottom:0 }
.video-cage-quote em{ font-style:italic }
.quote-attr{ font-style:normal }
.video-desc{
  margin-top:2rem;
  text-align:right;
  color:var(--muted);
}
.video-desc p{ margin-bottom:0; color:var(--muted) }
.video-desc p + p{ margin-top:.9em }

/* ═══════════════════════════════════════════════
   Forms (shared)
   ═══════════════════════════════════════════════ */
.form-control,
.form-select{
  background: var(--input-bg);
  border:1px solid var(--border);
  color:var(--text);
  transition:border-color .2s, box-shadow .2s;
}
.form-control:focus,
.form-select:focus{
  background:var(--input-focus);
  border-color:rgba(178,58,72,.4);
  box-shadow:0 0 0 3px rgba(178,58,72,.12);
  color:var(--text);
}
.form-control::placeholder{ color:var(--muted); opacity:.5 }
.form-label{
  color:var(--text);
  font-size:.9rem;
  margin-bottom:.35rem;
}
.form-label .text-danger{
  color:var(--burgundySolid)!important;
  font-size:.75rem;
}
select option{ background:var(--opt-bg); color:var(--text) }

.btn-burgundy{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.75rem 2rem;
  background:var(--burgundySolid);
  color:#fff;
  border:none;
  border-radius:8px;
  font-weight:600;
  font-size:.95rem;
  transition:background .2s, box-shadow .2s;
}
.btn-burgundy:hover{
  background:var(--burgundyHover);
  box-shadow:0 0 20px var(--burgundyGlow);
  color:#fff;
  text-shadow:none;
}
.btn-burgundy:disabled{ opacity:.5; cursor:not-allowed }
.btn-burgundy:disabled:hover{ background:var(--burgundySolid); box-shadow:none }

.form-note{ font-size:.82rem; color:var(--muted) }
.form-success{ text-align:center; padding:2rem }
.form-success h3{ color:var(--text); margin-bottom:.5rem }

/* Honeypot */
.ohnohoney{ position:absolute; left:-9999px }

/* Validation */
.form-control.is-invalid,
.form-select.is-invalid{
  border-color:#dc3545;
  box-shadow:0 0 0 3px rgba(220,53,69,.15);
}
.invalid-feedback{
  display:none;
  font-size:.78rem;
  color:#dc3545;
  margin-top:.25rem;
}
.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback{
  display:block;
}

/* ═══════════════════════════════════════════════
   Lesson page
   ═══════════════════════════════════════════════ */
.lesson-intro{ color:var(--muted); margin-bottom:1.5rem }
.intro-features{ display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.8rem }
.intro-tag{
  padding:.25rem .7rem;
  border-radius:20px;
  font-size:.78rem;
  background:var(--burgundyTag);
  color:var(--burgundyTagTx);
}

/* Tabs (shared between lesson & shape) */
.lesson-tabs{
  display:flex;
  gap:.25rem;
  border-bottom:1px solid var(--border);
  margin-bottom:2rem;
}
.lesson-tab-btn{
  padding:.65rem 1.2rem;
  border:none;
  background:none;
  color:var(--muted);
  font-size:.88rem;
  border-bottom:2px solid transparent;
  transition:color .2s, border-color .2s;
}
.lesson-tab-btn:hover{ color:var(--text) }
.lesson-tab-btn.active{
  color:var(--burgundySolid);
  border-bottom-color:var(--burgundySolid);
  font-weight:600;
}
.lesson-panel{ display:none }
.lesson-panel.visible{ display:block }

/* System compare */
.system-compare{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-bottom:2rem }
@media(max-width:575px){ .system-compare{ grid-template-columns:1fr } }
.system-box{
  padding:1rem 1.2rem;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--bg-card);
}
.system-box-title{ font-weight:600; font-size:.95rem; margin-bottom:.4rem; display:flex; align-items:center; gap:.5rem }
.system-dot{ width:8px; height:8px; border-radius:50%; background:var(--burgundySolid); display:inline-block }
.system-box-desc{ font-size:.82rem; color:var(--muted); line-height:1.6 }

/* Price cards */
.card-grid{
  display:grid;
  gap:1rem;
  margin-bottom:1.5rem;
}
.card-grid--3{ grid-template-columns:1fr }
.card-grid--2{ grid-template-columns:1fr }
@media(min-width:600px){
  .card-grid--3{ grid-template-columns:repeat(2,1fr) }
  .card-grid--2{ grid-template-columns:repeat(2,1fr) }
}
@media(min-width:900px){
  .card-grid--3{ grid-template-columns:repeat(3,1fr) }
}
.price-card{
  display:flex;
  flex-direction:column;
  border:1px solid var(--border);
  border-radius:12px;
  padding:1.4rem;
  background:var(--bg-card);
  transition:border-color .25s, background .25s;
}
.price-card:hover{
  border-color:rgba(178,58,72,.28);
  background:rgba(178,58,72,.06);
}
.card-tag{
  display:inline-block;
  padding:.2rem .65rem;
  border-radius:16px;
  font-size:.75rem;
  font-weight:600;
  background:var(--burgundyTag);
  color:var(--burgundyTagTx);
  margin-bottom:.6rem;
  align-self:flex-start;
}
.card-target{ font-weight:600; font-size:.95rem; margin-bottom:.3rem }
.card-desc{ font-size:.82rem; color:var(--muted); margin-bottom:.8rem; line-height:1.6; flex:1 }
.card-prices{ margin-bottom:.6rem }
.card-price-row{ display:flex; align-items:baseline; gap:.6rem; padding:.25rem 0 }
.card-dur{ font-size:.82rem; color:var(--muted); min-width:3em }
.card-amount{ font-size:1.25rem; font-weight:600 }
.card-kara{ font-size:.75rem; font-weight:400; color:var(--muted); margin-left:.2em }
.card-amount-sub{ font-size:.78rem; color:var(--muted) }
.card-monthly{ font-size:.8rem; color:var(--muted); padding-top:.4rem; border-top:1px solid var(--border); margin-top:auto }
.card-consult{ font-size:.85rem; color:var(--muted); line-height:1.7; margin-top:auto }
.card-consult-link{ color:var(--burgundySolid); font-weight:600 }

/* Trial box */
.trial-box{
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--bg-card);
  overflow:hidden;
}
.trial-header{ padding:1.5rem 1.5rem 1rem }
.trial-title{ font-size:1.15rem; font-weight:600; margin-bottom:.4rem }
.trial-price{ font-size:1.3rem; font-weight:600 }
.trial-price-note{ font-size:.82rem; font-weight:400; color:var(--muted) }
.trial-body{ padding:0 1.5rem 1.5rem; color:var(--muted); font-size:.88rem; line-height:1.7 }

/* Trial form */
.trial-form{ padding:1.5rem; border-top:1px solid var(--border) }
.trial-form-title{ font-weight:600; margin-bottom:1rem }
.trial-form .form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:.8rem 1rem }
@media(max-width:575px){ .trial-form .form-grid{ grid-template-columns:1fr } }
.trial-form .form-grid .full{ grid-column:1 / -1 }
.trial-form .form-note{ font-size:.78rem; color:var(--muted); margin-top:.8rem }
.trial-form .form-submit{
  display:inline-flex; align-items:center; gap:.5rem;
  margin-top:.8rem; padding:.7rem 1.8rem;
  background:var(--burgundySolid); color:#fff;
  border:none; border-radius:8px;
  font-weight:600; font-size:.9rem;
  transition:background .2s, box-shadow .2s;
}
.trial-form .form-submit:hover{ background:var(--burgundyHover); box-shadow:0 0 20px var(--burgundyGlow) }
.trial-form .form-submit:disabled{ opacity:.5; cursor:not-allowed }
.trial-form-success{ text-align:center; padding:2rem 1.5rem }
.trial-form-success h3{ color:var(--text); margin-bottom:.5rem }

/* Info blocks */
.info-block{ margin-bottom:2rem }
.info-title{ font-weight:600; font-size:1.05rem; margin-bottom:.8rem }
.info-list{ color:var(--muted); font-size:.88rem; line-height:1.8 }
.info-list li{
  padding:.15rem 0 .15rem 1.2rem;
  position:relative;
}
.info-list li::before{
  content:"·";
  position:absolute;
  left:.3rem;
  font-weight:700;
}
.info-list .hl{ color:var(--text); font-weight:500 }

/* CTA */
.lesson-cta{
  text-align:center;
  padding:2rem;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--bg-card);
  margin-top:2rem;
}
.lesson-cta-text{ color:var(--muted); margin-bottom:.8rem }
.lesson-cta-btn{
  display:inline-block;
  padding:.7rem 2rem;
  background:var(--burgundySolid);
  color:#fff;
  border-radius:8px;
  font-weight:600;
  transition:background .2s, box-shadow .2s;
}
.lesson-cta-btn:hover{
  background:var(--burgundyHover);
  box-shadow:0 0 20px var(--burgundyGlow);
  color:#fff;
  text-shadow:none;
}

/* ═══════════════════════════════════════════════
   Contact — flow steps (right column)
   ═══════════════════════════════════════════════ */
.flow-steps{ counter-reset:flow }
.flow-step{
  display:flex;
  align-items:flex-start;
  gap:.8rem;
  padding:.6rem 0;
}
.flow-step + .flow-step{
  border-top:1px solid var(--border);
}
.flow-num{
  counter-increment:flow;
  display:flex; align-items:center; justify-content:center;
  width:28px; height:28px;
  border-radius:50%;
  background:var(--burgundySolid);
  color:#fff;
  font-size:.75rem;
  font-weight:700;
  flex-shrink:0;
}
.flow-text{
  font-size:.88rem;
  color:var(--muted);
  line-height:1.5;
}

/* ═══════════════════════════════════════════════
   Cookie consent
   ═══════════════════════════════════════════════ */
.cookie-banner{
  position:fixed;
  bottom:0; left:0; right:0;
  z-index:9998;
  background:rgba(20,20,24,.96);
  backdrop-filter:blur(8px);
  border-top:1px solid var(--border);
  padding:.8rem 1.2rem;
  display:none;
  align-items:center;
  justify-content:center;
  gap:1rem;
  font-size:.82rem;
  color:rgba(242,242,242,.72);
}
[data-theme="light"] .cookie-banner{
  background:rgba(248,247,245,.96);
  color:rgba(26,26,30,.65);
}
.cookie-banner.show{ display:flex; flex-wrap:wrap }
.cookie-btn{
  padding:.4rem 1rem;
  border-radius:6px;
  font-size:.8rem;
  font-weight:600;
  transition:background .2s;
}
.cookie-accept{
  background:var(--burgundySolid);
  color:#fff;
  border:none;
}
.cookie-accept:hover{ background:var(--burgundyHover) }
.cookie-decline{
  background:transparent;
  color:var(--muted);
  border:1px solid var(--border);
}
.cookie-decline:hover{ background:var(--bg-card) }

/* ═══════════════════════════════════════════════
   Skip link
   ═══════════════════════════════════════════════ */
.skip-link{
  position:absolute;
  left:-9999px; top:8px;
  padding:8px 12px;
  background:#000;
  border:1px solid var(--border);
  border-radius:10px;
  color:#fff;
  z-index:9999;
}
.skip-link:focus{ left:12px }

/* ═══════════════════════════════════════════════
   Utilities
   ═══════════════════════════════════════════════ */
@media(prefers-reduced-motion:reduce){
  *{ scroll-behavior:auto!important; transition:none!important }
}

/* ═══════════════════════════════════════════════
   404 Error Page
   ═══════════════════════════════════════════════ */
.error-page{
  text-align:center;
  padding:4rem 1rem;
  max-width:480px;
  margin:0 auto;
}
.error-code{
  font-size:5rem;
  font-weight:700;
  line-height:1;
  color:var(--burgundySolid);
  margin-bottom:.5rem;
  text-shadow:0 0 40px var(--burgundyGlow);
}
.error-title{
  font-size:1.2rem;
  font-weight:600;
  margin-bottom:.8rem;
}
.error-desc{
  font-size:.9rem;
  color:var(--muted);
  margin-bottom:2rem;
}
.error-links{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.8rem;
}
.error-link{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.6rem 1.4rem;
  border:1px solid var(--border);
  border-radius:8px;
  font-size:.9rem;
  color:var(--muted);
  transition:border-color var(--hoverDur), color var(--hoverDur), background var(--hoverDur);
}
.error-link:hover{
  border-color:var(--burgundySolid);
  color:var(--burgundySolid);
  background:rgba(178,58,72,.06);
  text-shadow:none;
}
