/* FACADEXPERT - site stylesheet (provided by the planner, do not edit).
   Colors come from CSS variables. The values below are the default "teal" theme;
   the chosen theme from the admin dashboard overrides them in base.html. */
:root {
  --text: #17252a;
  --muted: #646c6f;
  --paper: #feffff;
  --surface: #ffffff;
  --alt: #def2f1;
  --line: #c6d9d9;
  --dark: #17252a;
  --dark-2: #1f3a3e;
  --on-dark: #feffff;
  --on-dark-muted: #b9bebf;
  --primary: #297573;
  --primary-hover: #17252a;
  --on-primary: #ffffff;
  --accent: #3aafa9;
  --accent-on-dark: #3cb0aa;
  --number: #37a49f;
  --hero-bg: #3aafa9;
  --hero-title: #17252a;
  --hero-text: #17252a;
  --hero-eyebrow: #17252a;
  --hero-btn: #17252a;
  --hero-btn-text: #3aafa9;
  --glass-1: #e8f6f5;
  --glass-2: #3aafa9;
  --glass-3: #297573;
  --glass-4: #17252a;
  --frame: #17252a;
  --ok: #2f7d4f;
  --bad: #b03a2e;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.1; letter-spacing: 0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: 88px 0; }
.section--alt { background: var(--alt); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.section--dark .eyebrow { color: var(--accent-on-dark); }
.lead { font-size: 1.15rem; color: var(--muted); }
.section--dark .lead { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.text-center { text-align: center; }

/* ---------- buttons ---------- */
.btn { display: inline-block; padding: 13px 26px; border: 2px solid transparent; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; cursor: pointer; font-family: inherit; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.btn--small { padding: 7px 14px; font-size: 0.85rem; }
.btn--danger { background: var(--bad); color: #ffffff; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; letter-spacing: 0.08em; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; }
.nav-list a { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.nav-list a:hover, .nav-list a.active { color: var(--primary); text-decoration: none; }
.nav-list a.active { box-shadow: inset 0 -2px 0 var(--primary); }
.nav-list .btn { color: var(--on-primary); padding: 10px 20px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; font-size: 1rem; color: var(--text); cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--hero-bg); color: var(--hero-text); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; min-height: 600px; padding: 72px 0; }
.hero h1 { color: var(--hero-title); }
.hero .eyebrow { color: var(--hero-eyebrow); }
.hero-sub { font-size: 1.2rem; color: var(--hero-text); max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.hero .btn--primary { background: var(--hero-btn); color: var(--hero-btn-text); }
.hero .btn--primary:hover { background: var(--primary); color: var(--on-primary); }
.hero .btn--ghost { color: var(--hero-text); }
.hero .btn--ghost:hover { background: var(--hero-text); color: var(--hero-bg); border-color: var(--hero-text); }
.hero-visual {
  position: relative; height: 460px; transform: skewY(-6deg); border: 6px solid var(--frame);
  background:
    repeating-linear-gradient(90deg, var(--frame) 0 6px, transparent 6px 96px),
    repeating-linear-gradient(0deg, var(--frame) 0 4px, transparent 4px 115px),
    linear-gradient(160deg, var(--glass-1) 0%, var(--glass-2) 45%, var(--glass-3) 75%, var(--glass-4) 100%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 45%, transparent 60%); }
.page-hero { background: linear-gradient(120deg, var(--dark) 0%, var(--dark-2) 100%); color: var(--on-dark); padding: 96px 0 72px; }
.page-hero .eyebrow { color: var(--accent-on-dark); }
.page-hero h1 { color: var(--on-dark); margin-bottom: 12px; }
.page-hero p { color: var(--on-dark-muted); font-size: 1.15rem; max-width: 680px; margin: 0; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); transition: transform 0.2s, border-color 0.2s; }
.card:hover { transform: translateY(-4px); border-top-color: var(--primary); }
.card-number { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--number); line-height: 1; margin-bottom: 12px; }
.card p { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 16px 0 0; }
.checklist li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; background: linear-gradient(135deg, var(--accent), var(--primary)); clip-path: polygon(0 40%, 40% 0, 100% 0, 100% 60%, 60% 100%, 0 100%); }
.systems-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--dark-2); border: 1px solid var(--dark-2); }
.systems-list li { background: var(--dark); padding: 28px; font-family: var(--font-head); font-size: 1.35rem; letter-spacing: 0.04em; color: var(--on-dark); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { border-left: 3px solid var(--primary); padding-left: 20px; }
.stat-value { font-family: var(--font-head); font-size: 3rem; font-weight: 700; line-height: 1; }
.stat-label { color: var(--muted); font-size: 0.95rem; }
.quote { margin: 0; font-family: var(--font-head); font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.2; color: var(--on-dark); border-left: 4px solid var(--accent-on-dark); padding-left: 28px; }
.quote cite { display: block; margin-top: 18px; font-family: var(--font); font-size: 1rem; font-style: normal; color: var(--on-dark-muted); }
.leader { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
.leader-mark { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--dark)); flex: none; }
.leader-name { font-weight: 700; }
.leader-role { color: var(--muted); }
.cta-band { background: linear-gradient(110deg, var(--primary), var(--dark)); color: var(--on-dark); padding: 72px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--on-dark); margin: 0; }

/* ---------- projects ---------- */
.project-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--text); transition: transform 0.2s; }
.project-card:hover { transform: translateY(-4px); text-decoration: none; }
.project-media { position: relative; aspect-ratio: 4 / 3; background: repeating-linear-gradient(90deg, var(--frame) 0 4px, transparent 4px 60px), repeating-linear-gradient(0deg, var(--frame) 0 3px, transparent 3px 70px), linear-gradient(165deg, var(--glass-1), var(--glass-2) 55%, var(--glass-3)); }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-count { position: absolute; right: 12px; bottom: 12px; background: var(--dark); color: var(--on-dark); font-size: 0.8rem; padding: 3px 10px; border-radius: 20px; }
.project-body { padding: 24px; }
.project-body p { color: var(--muted); margin: 0; }
.project-meta { display: flex; gap: 8px 14px; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }
.project-meta span + span::before { content: "/"; margin-right: 14px; color: var(--line); }
.empty-state { border: 2px dashed var(--line); border-radius: var(--radius); padding: 56px 24px; text-align: center; color: var(--muted); }
.project-detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.facts-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.facts-list li { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.facts-list li:last-child { border-bottom: 0; }
.facts-list strong { display: block; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.gallery figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
.gallery figcaption { padding: 10px 14px; font-size: 0.9rem; color: var(--muted); }
.description { white-space: pre-line; }

/* ---------- forms ---------- */
.form { background: var(--surface); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); background: var(--surface); }
.field textarea { min-height: 150px; resize: vertical; }
.field textarea.short { min-height: 70px; }
.field-hint { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }
.field-error { color: var(--bad); font-size: 0.85rem; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 24px; font-weight: 500; }
.alert--success { background: #e7f4ec; color: var(--ok); border-left: 4px solid var(--ok); }
.alert--error { background: #fbeceb; color: var(--bad); border-left: 4px solid var(--bad); }
.contact-info { list-style: none; padding: 0; margin: 0; }
.contact-info li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-info strong { display: block; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- admin dashboard ---------- */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 77px); }
.admin-side { background: var(--dark); color: var(--on-dark); padding: 28px 0; }
.admin-side h4 { padding: 0 24px; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); }
.admin-nav { list-style: none; margin: 0 0 24px; padding: 0; }
.admin-nav a { display: flex; justify-content: space-between; align-items: center; padding: 11px 24px; color: var(--on-dark); border-left: 3px solid transparent; }
.admin-nav a:hover { background: var(--dark-2); text-decoration: none; }
.admin-nav a.active { background: var(--dark-2); border-left-color: var(--accent-on-dark); }
.admin-nav .count { background: var(--accent-on-dark); color: var(--dark); border-radius: 20px; font-size: 0.75rem; font-weight: 700; padding: 1px 9px; }
.admin-side form { padding: 0 24px; }
.admin-main { padding: 40px; background: var(--paper); min-width: 0; }
.admin-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.admin-bar h1, .admin-bar h2 { margin: 0; font-size: 2.2rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 28px; box-shadow: var(--shadow); }
.panel h3 { margin-bottom: 16px; }
.overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
.overview a { display: block; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 22px; color: var(--text); }
.overview a:hover { text-decoration: none; border-top-color: var(--primary); }
.overview .stat-value { font-size: 2.6rem; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filters a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 20px; font-size: 0.88rem; color: var(--text); background: var(--surface); }
.filters a.active { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.admin-table { width: 100%; border-collapse: collapse; background: var(--surface); box-shadow: var(--shadow); font-size: 0.92rem; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { background: var(--dark); color: var(--on-dark); font-weight: 600; }
.admin-table .message { max-width: 360px; white-space: pre-line; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.badge--new { background: var(--alt); color: var(--primary); }
.badge--contacted { background: #fff3d6; color: #7a5600; }
.badge--closed { background: var(--line); color: var(--text); }
.inline-form { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.inline-form select, .inline-form input, .inline-form button { font: inherit; font-size: 0.85rem; padding: 4px 8px; }
.login-box { max-width: 420px; margin: 0 auto; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 2px solid var(--line); margin-bottom: 24px; }
.tabs a { padding: 10px 18px; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs a.active { color: var(--primary); border-bottom-color: var(--primary); }
.tabs a:hover { text-decoration: none; color: var(--text); }
.field-group { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; }
.field-group h4 { font-family: var(--font); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.save-bar { position: sticky; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); padding: 16px 0; display: flex; gap: 12px; align-items: center; }
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.theme-card { position: relative; display: block; background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.theme-card input { position: absolute; opacity: 0; }
.theme-card:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 3px var(--alt); }
.theme-card input:focus-visible + .swatches { outline: 3px solid var(--accent); }
.swatches { display: flex; height: 64px; }
.swatches span { flex: 1; }
.theme-name { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; font-weight: 600; }
.theme-current { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); }
.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.thumb { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 0.85rem; }
.thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.thumb div { padding: 8px 10px; }
.thumb .cover-badge { color: var(--primary); font-weight: 700; }
.thumb .inline-form { display: flex; width: 100%; margin: 0 0 6px; }
.thumb .inline-form input { flex: 1; min-width: 0; }
.list-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.list-row img { width: 72px; height: 54px; object-fit: cover; border-radius: var(--radius); flex: none; }
.list-row .grow { flex: 1; min-width: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: 64px 0 28px; font-size: 0.95rem; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--accent-on-dark); }
.site-footer .brand { margin-bottom: 16px; color: var(--on-dark); }
.site-footer h4 { color: var(--on-dark); font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid var(--dark-2); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { height: 260px; }
  .grid-3, .grid-4, .stats, .overview { grid-template-columns: repeat(2, 1fr); }
  .systems-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .project-detail { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side { padding: 12px 0; }
  .admin-nav { display: flex; flex-wrap: wrap; margin-bottom: 8px; }
  .admin-nav a { border-left: 0; padding: 8px 14px; }
  .admin-side h4 { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 16px 20px; }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 16px; }
  .grid-2, .grid-3, .grid-4, .stats, .form-row, .systems-list, .footer-grid, .overview, .gallery { grid-template-columns: 1fr; }
  .form, .admin-main { padding: 24px; }
  .admin-table { display: block; overflow-x: auto; }
}

/* ---------- home slideshow (photos fade one to the next) ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-show { position: relative; height: min(86vh, 860px); min-height: 520px; overflow: hidden; background: var(--dark); color: #fff; }
.hero-show-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; visibility: hidden; transition: opacity 1.4s ease, visibility 0s linear 1.4s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.4s ease, visibility 0s; z-index: 1; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--hero-zoom-from, 1.1)); will-change: transform; }
.hero-slide.is-active img, .hero-slide.is-leaving img { animation: hero-zoom var(--hero-zoom-time, 8s) linear forwards; }
@keyframes hero-zoom { from { transform: scale(var(--hero-zoom-from, 1.1)); } to { transform: scale(var(--hero-zoom-to, 1.2)); } }
.hero-slide::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0) 80%),
              linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 45%); }
.hero-slide-text { position: absolute; left: 0; right: 0; bottom: 150px; z-index: 2; }
.hero-slide-caption { display: inline-block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; border-left: 3px solid var(--accent-on-dark); padding-left: 12px; margin-bottom: 14px; }
.hero-slide-title { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; line-height: 0.98; letter-spacing: 0.01em;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem); max-width: 15ch; color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.hero-slide-link { display: inline-block; margin-top: 18px; color: #fff; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.9rem; border-bottom: 2px solid var(--accent-on-dark); padding-bottom: 4px; }
.hero-slide-link:hover { color: var(--accent-on-dark); }
.hero-slide.is-active .hero-slide-text > * { animation: hero-rise 0.9s ease both; }
.hero-slide.is-active .hero-slide-title { animation-delay: 0.15s; }
.hero-slide.is-active .hero-slide-link { animation-delay: 0.3s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-show-bar { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero-show .hero-actions { margin-top: 0; }
.hero-show .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.hero-show .btn--ghost:hover { background: #fff; color: var(--dark); border-color: #fff; }
.hero-show-controls { display: flex; align-items: center; gap: 10px; }
.hero-show-dots { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.hero-show-dots button, .hero-show-arrow, .hero-show-pause { background: none; border: 0; color: #fff; cursor: pointer; font: inherit; padding: 6px 2px; }
.hero-show-dots button { display: flex; flex-direction: column; gap: 6px; opacity: 0.6; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; }
.hero-show-dots button[aria-current="true"], .hero-show-dots button:hover { opacity: 1; }
.hero-show-dots .bar { display: block; width: 44px; height: 2px; background: rgba(255, 255, 255, 0.35); overflow: hidden; }
.hero-show-dots .bar span { display: block; height: 100%; width: 0; background: var(--accent-on-dark); }
.hero-show-dots button[aria-current="true"] .bar span { width: 100%; }
.hero-show.is-playing .hero-show-dots button[aria-current="true"] .bar span { width: 0; animation: hero-progress var(--hero-time, 6s) linear forwards; }
.hero-show.is-paused .hero-show-dots button[aria-current="true"] .bar span { animation-play-state: paused; }
@keyframes hero-progress { from { width: 0; } to { width: 100%; } }
.hero-show-arrow { font-size: 2rem; line-height: 1; padding: 0 8px; opacity: 0.8; }
.hero-show-arrow:hover, .hero-show-pause:hover { opacity: 1; color: var(--accent-on-dark); }
.hero-show-pause { font-size: 0.75rem; opacity: 0.8; margin-left: 4px; }
.hero-show button:focus-visible, .hero-show a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.is-active { transition: none; }
  .hero-slide.is-active img, .hero-slide.is-leaving img, .hero-slide.is-active .hero-slide-text > * { animation: none; }
}
/* dashboard: slide list */
.slide-list { display: grid; gap: 16px; }
.slide-row { display: grid; grid-template-columns: 180px 1fr auto; gap: 16px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.slide-row img { width: 180px; height: 100px; object-fit: cover; border-radius: var(--radius); }
.slide-fields { display: grid; grid-template-columns: 1fr 1.4fr 1fr auto; gap: 8px; align-items: center; }
.slide-fields input { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; }
.slide-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
@media (max-width: 960px) {
  .slide-row { grid-template-columns: 120px 1fr; }
  .slide-row img { width: 120px; height: 72px; }
  .slide-fields { grid-template-columns: 1fr; }
  .slide-actions { grid-column: 1 / -1; flex-direction: row; }
}
@media (max-width: 720px) {
  .hero-show { height: 78vh; min-height: 480px; }
  .hero-slide-text { bottom: 150px; }
  .hero-show-bar { bottom: 22px; gap: 14px; }
  .hero-show .hero-actions { gap: 10px; flex-wrap: nowrap; }
  .hero-show .hero-actions .btn { padding: 11px 14px; font-size: 0.88rem; white-space: nowrap; }
  .hero-show-arrow { display: none; }
  .hero-show-dots { gap: 10px; }
  .hero-show-dots .bar { width: 28px; }
}
