/* OMEGA MUSIC PRODUCTION – site styles (replaces Ashe/Elementor CSS) */

/* ---------- Fonts (local, latin + latin-ext only; variable fonts cover 400–700) ---------- */
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/c79c2f5783-memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fonts/1c3db71c56-memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTSGmu1aB.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url(fonts/190d4f630e-memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWuU6F.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url(fonts/a142414c99-memtYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWqWt06F15M.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Jost (SIL OFL 1.1, see fonts/OFL-Jost.txt) – geometric like the logo wordmark */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/jost-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/jost-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Design tokens (P2-1) ---------- */
:root {
  --bg: #1c1c1c; --bg-elev: #262626; --bg-elev-2: #303030; --bg-nav: #111;
  --line: #3a3a3a;
  --text: #cfcfcf; --text-muted: #a3a3a3; --heading: #fff;
  --accent: #ca9b52; --accent-hover: #ddb06a; --on-accent: #161616;
  --danger: #f08a7e;
  --radius: 6px; --space: clamp(16px, 3vw, 32px);
  --section: clamp(56px, 8vw, 104px);
  --wrap: 1160px;
  --font-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --hero-img: url(img/hero-mixer-1000.webp);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.7 var(--font-body);     /* 17px */
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }  /* 18px */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: var(--accent-hover); }
/* headings echo the logo wordmark: geometric capitals, light weight, wide tracking */
h1, h2, h3 { font-family: var(--font-head); color: var(--heading); font-weight: 300; line-height: 1.2; margin: 0 0 .6em;
  text-transform: uppercase; letter-spacing: .12em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 350; }
h3 { font-size: 1.1rem; font-weight: 500; letter-spacing: .1em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
strong { color: var(--heading); font-weight: 600; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--accent); color: var(--on-accent);
  padding: 10px 16px; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: var(--on-accent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--space); }
.section { padding: var(--section) 0; }
.section--alt { background: var(--bg-elev); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--text-muted); }
.eyebrow { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .6em; }
.lead { font-size: 1.15em; }
.muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px;
  padding: .7em 1.4em; border-radius: var(--radius); border: 2px solid var(--accent);
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn--ghost { background: transparent; color: var(--heading); }
.btn--ghost:hover { background: rgba(202, 155, 82, .14); color: var(--heading); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Navigation (P1-2, P1-3) ---------- */
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(17, 17, 17, .96); border-bottom: 1px solid #222; }
@supports (backdrop-filter: blur(6px)) { .site-nav { background: rgba(17, 17, 17, .85); backdrop-filter: blur(8px); } }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo img { height: 42px; width: 42px; }
/* wordmark cut out of the main logo, so it matches the hero logo exactly */
.nav-logo .nav-wordmark { height: 30px; width: auto; }
@media (max-width: 400px) { .nav-logo .nav-wordmark { height: 25px; } }
.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { display: block; padding: 10px 14px; color: var(--text); text-decoration: none; font-size: .95rem;
  font-weight: 600; letter-spacing: .04em; position: relative; }
.nav-menu a:hover { color: var(--heading); }
.nav-menu a[aria-current="page"] { color: var(--accent); }
.nav-menu a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--accent); }
.nav-menu .nav-cta a { margin-left: 8px; border: 2px solid var(--accent); border-radius: var(--radius); padding: 8px 16px; color: var(--heading); }
.nav-menu .nav-cta a:hover { background: var(--accent); color: var(--on-accent); }
.nav-menu .nav-cta a[aria-current="page"] { background: var(--accent); color: var(--on-accent); }
.nav-menu .nav-cta a[aria-current="page"]::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--heading); width: 48px; height: 48px; margin-right: -10px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 767px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px var(--space) 20px; background: var(--bg-nav); border-bottom: 1px solid #222; }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 14px 4px; border-bottom: 1px solid #222; font-size: 1.05rem; }
  .nav-menu a[aria-current="page"]::after { left: 4px; right: auto; width: 32px; bottom: 8px; }
  .nav-menu .nav-cta a { margin: 16px 0 0; text-align: center; border-bottom: 2px solid var(--accent); }
  .no-js .nav-menu { display: flex; position: static; }
}

/* ---------- Hero (home) and page header (subpages) ---------- */
.hero, .page-hero { position: relative; background: #000 var(--hero-img) center / cover no-repeat; color: var(--heading); }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.72) 60%, var(--bg) 100%); }
.hero > .wrap, .page-hero > .wrap { position: relative; }
@media (min-width: 1000px) { .hero { --hero-img: url(img/hero-mixer-1920.webp); } }
.hero { min-height: min(86vh, 760px); display: flex; align-items: center; padding: 72px 0 96px; }
/* --hero-h1 sets the logo width (9.6x); the h1 is sized from it so its capitals match the
   logo wordmark: cap height 0.69x, weight 250, tracking 0.32em (measured from the logo image) */
.hero { --hero-h1: clamp(1.9rem, 5.4vw, 3.8rem); --hero-gap: clamp(30px, 4.4vw, 52px); }
.hero-logo { width: min(calc(9.6 * var(--hero-h1)), 92vw); margin-bottom: var(--hero-gap); filter: drop-shadow(0 2px 6px rgba(0,0,0,.7)); }
/* padding-left offsets the trailing letter-spacing on each line so the centered text stays centered */
.hero h1 { max-width: none; font-size: calc(.69 * var(--hero-h1)); font-weight: 250; letter-spacing: .32em; padding-left: .32em; line-height: 1.5; margin-bottom: .9em; text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.hero .lead { max-width: 560px; color: #e4e4e4; margin-bottom: 1.8em; }
.page-hero { padding: clamp(56px, 9vw, 96px) 0 clamp(28px, 4vw, 40px); }
.page-hero h1 { margin: 0; }
.page-hero p { margin: .6em 0 0; color: #dcdcdc; max-width: 640px; }

/* ---------- Home page: everything centered ---------- */
.page-home .hero { text-align: center; }
.page-home .hero-logo { margin-left: auto; margin-right: auto; }
/* "Recording · Mixing · Mastering" sits midway between logo and heading (same gap above and below) */
.page-home .hero .eyebrow { font-size: max(.95rem, calc(.3 * var(--hero-h1))); letter-spacing: .22em; padding-left: .22em;
  line-height: 1.2; margin-bottom: calc(var(--hero-gap) - .21 * var(--hero-h1)); }  /* minus the h1 leading above its capitals */
@media (max-width: 480px) { .page-home .hero .eyebrow { font-size: .8rem; letter-spacing: .14em; padding-left: .14em; } }
.page-home .hero h1, .page-home .hero .lead { margin-left: auto; margin-right: auto; }
/* From 1000px: heading on one line. One line is ~31.2em wide (with tracking), so the size follows the
   content width (100cqi of the hero minus the side padding) and never exceeds the logo-matched size.
   Below 1000px a single line would get too small, so it keeps its three lines there. */
@media (min-width: 1000px) {
  .page-home .hero { container-type: inline-size; }
  .page-home .hero h1 { white-space: nowrap;
    font-size: min(calc(.69 * var(--hero-h1)), calc((min(100cqi, var(--wrap)) - 2 * var(--space)) / 31.6)); }
  .page-home .hero h1 br { display: none; }
}
.page-home .btn-row { justify-content: center; }
.page-home .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.page-home .card, .page-home .steps li, .page-services .card { text-align: center; align-items: center; }
.page-home .card-icon, .page-services .card-icon { margin-left: auto; margin-right: auto; }
.page-home .player { max-width: 760px; margin: 0 auto; }
.page-home .section-link { text-align: center; }
.page-home .about { grid-template-columns: 1fr; justify-items: center; text-align: center; max-width: 760px; }
.page-home .about img { max-width: 360px; }
.page-home .facts { justify-items: center; }
.page-home .facts li { padding-left: 0; }
.page-home .facts li::before { position: static; display: inline-block; margin-right: 10px; vertical-align: -1px; }
.page-home .cta-band .wrap { flex-direction: column; justify-content: center; text-align: center; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px);
  display: flex; flex-direction: column; }
.section--alt .card { background: var(--bg-elev-2); }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--text); }
.card .card-foot { margin-top: auto; padding-top: 12px; }
.card-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(202, 155, 82, .12); color: var(--accent); }
.card-icon svg { width: 24px; height: 24px; fill: currentColor; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- About ---------- */
.about { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .about { grid-template-columns: 5fr 7fr; } }
.about img { border-radius: var(--radius); width: 100%; max-width: 440px; aspect-ratio: 5 / 6; object-fit: cover; object-position: center 20%; }
.facts { list-style: none; padding: 0; margin: 1.4em 0 1.8em; display: grid; gap: 12px; }
.facts li { position: relative; padding-left: 30px; }
.facts li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 14px; border-radius: 50%;
  border: 3px solid var(--accent); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; grid-template-columns: 1fr; }
@media (min-width: 560px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 300 2.4rem/1 var(--font-head); letter-spacing: .08em;
  color: var(--accent); margin-bottom: 14px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, #2a2318 0%, #1f1f1f 60%); border-top: 1px solid #3a3122; border-bottom: 1px solid #3a3122; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: .4em 0 0; color: var(--text-muted); }

/* ---------- Audio player (P1-5) ---------- */
.player { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.track { display: grid; grid-template-columns: 52px 1fr; gap: 6px 16px; align-items: center;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px 14px 14px; }
.section--alt .track { background: var(--bg-elev-2); }
.track.is-playing { border-color: var(--accent); }
.track-play { grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--accent);
  background: transparent; color: var(--accent); cursor: pointer; display: grid; place-items: center; transition: background-color .15s, color .15s; }
/* [data-track] covers both the home list (.track) and the portfolio cards (.release) */
.track-play:hover, [data-track].is-playing .track-play { background: var(--accent); color: var(--on-accent); }
.track-play svg { width: 20px; height: 20px; fill: currentColor; }
.track-play .i-pause, [data-track].is-playing .track-play .i-play { display: none; }
[data-track].is-playing .track-play .i-pause { display: block; }
.track-meta { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.track-title { color: var(--heading); font-weight: 600; }
.track-artist { color: var(--text-muted); font-size: .9em; }
.track-time { color: var(--text-muted); font-size: .85em; font-variant-numeric: tabular-nums; margin-left: auto; }
.track-seek { width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer; accent-color: var(--accent);
  -webkit-appearance: none; appearance: none; --p: 0%; }
.track-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--p), #4a4a4a var(--p)); }
.track-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: var(--heading); border: 0; }
.track-seek::-moz-range-track { height: 4px; border-radius: 2px; background: #4a4a4a; }
.track-seek::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--accent); }
.track-seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--heading); border: 0; }

/* Portfolio release grid */
.releases { display: grid; gap: clamp(16px, 2.4vw, 24px); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); list-style: none; padding: 0; margin: 0; }
.release { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.release.is-playing { border-color: var(--accent); }
.release-cover { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #1a1a1a; }
.release-body { padding: 16px 18px 18px; display: grid; grid-template-columns: 1fr 52px; gap: 4px 14px; align-items: center; }
.release-body .track-play { grid-row: span 2; grid-column: 2; }
.release-body .track-meta { display: block; }
.release-body .track-title, .release-body .track-artist { display: block; }
.release-body .track-seek { grid-column: 1 / -1; }
.release-body .track-time { display: block; margin: 2px 0 0; }

/* ---------- Prose (legal pages, text pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose a { word-break: break-word; }
.prose li { margin-bottom: .35em; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; display: grid; gap: 10px; }
.faq details { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; color: var(--heading); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 20px 18px; }

/* ---------- Info box ---------- */
.infobox { background: var(--bg-elev); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 22px 24px; }
.infobox h3 { margin-bottom: .4em; }
.infobox ul { margin: .4em 0 0; }

/* ---------- Contact (P2-3) ---------- */
.contact { display: grid; gap: clamp(28px, 5vw, 56px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .contact { grid-template-columns: 7fr 4fr; } }
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; color: var(--heading); margin-bottom: 6px; font-size: .95rem; }
.field .opt { color: var(--text-muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--radius);
  background: var(--bg-elev); border: 1px solid #4a4a4a; color: var(--heading); font: inherit; font-size: 1rem; }
.field textarea { min-height: 160px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(202, 155, 82, .3); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { display: block; color: var(--danger); font-size: .9rem; margin-top: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.form-hint { font-size: .9rem; color: var(--text-muted); margin: 8px 0 0; }
/* Spam trap: invisible for people, bots fill it in */
.form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.captcha { display: grid; justify-items: start; gap: 12px; padding: 16px 18px; border: 1px dashed var(--line); border-radius: var(--radius); }
.captcha[hidden] { display: none; }
.captcha-notice { margin: 0; font-size: .9rem; color: var(--text-muted); }
.captcha [data-captcha-widget]:empty, .captcha [hidden] { display: none; }
.form-status { padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-elev); }
.form-status[hidden] { display: none; }
.form-status.is-error { border-color: var(--danger); }
.form-status.is-ok { border-color: var(--accent); }
.contact-aside .infobox + .infobox { margin-top: 16px; }
.contact-aside a { font-weight: 600; }

/* ---------- Search page ---------- */
.search-form { display: flex; gap: 10px; max-width: 560px; margin-bottom: 32px; }
.search-form input { flex: 1; min-height: 48px; padding: 10px 14px; border-radius: var(--radius); background: var(--bg-elev); border: 1px solid #4a4a4a; color: var(--heading); font: inherit; }
.search-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(202, 155, 82, .3); }
#omp-search-results .blog-grid { list-style: none; padding: 0; display: grid; gap: 14px; }
#omp-search-results article { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
#omp-search-results h2 { font-size: 1.3rem; margin-bottom: .3em; }
#omp-search-results h2 a { color: var(--heading); text-decoration: none; }
#omp-search-results .read-more a { font-weight: 600; }
#omp-search-results mark { background: rgba(202, 155, 82, .35); color: var(--heading); }

/* ---------- Footer (P2-4) ---------- */
.site-footer { background: var(--bg-nav); border-top: 1px solid #222; padding: 56px 0 28px; font-size: .95rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: flex-start; }
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { color: var(--text-muted); max-width: 340px; margin: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--accent); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid #222; color: var(--text-muted); font-size: .85rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-bottom a { color: var(--text-muted); }

/* ---------- 404 ---------- */
.notfound { text-align: center; max-width: 640px; margin: 0 auto; }
.notfound .code { font: 200 clamp(5rem, 18vw, 9rem)/1 var(--font-head); letter-spacing: .1em; color: var(--accent); margin-bottom: .1em; }
.notfound .btn-row { justify-content: center; margin-top: 28px; }
