* { box-sizing: border-box; }
:root {
  --bg: #fff;
  --surface: #efefeb;
  --fg: #000;
  --muted: #666;
  --border: #d8d8d2;
  --accent: #b9964f;
  --navy: #1d304d;
}
html { color-scheme: light; scroll-behavior: smooth; background: #050505; }
body {
  margin: 0;
  background: #050505;
  color: var(--fg, #000);
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }
.site-shell { min-height: 100vh; background: #050505; }
.site-shell > main { background: var(--bg); }
.topline { background: oklch(11% 0 0); border-bottom: 1px solid color-mix(in oklch, white 17%, transparent); color: white; }
.masthead {
  width: min(var(--max, 1240px), calc(100% - 40px));
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand-lockup { display: flex; align-items: center; min-width: 0; }
.brand-lockup img { width: min(252px, 55vw); height: auto; object-fit: contain; }
.masthead-line { width: 1px; height: 42px; background: color-mix(in oklch, white 28%, transparent); justify-self: end; }
.tagline { color: color-mix(in oklch, white 72%, transparent); font-size: 13px; line-height: 1.35; max-width: 310px; font-style: italic; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid color-mix(in oklch, white 18%, transparent); background: transparent; color: white; cursor: pointer; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 18px; height: 1.5px; margin: 5px auto; background: currentColor; transition: transform 180ms, opacity 140ms; }
.menu-open .nav-toggle { border-color: var(--accent); }
.menu-open .nav-toggle span { opacity: 0; }
.menu-open .nav-toggle::before { transform: translateY(6.5px) rotate(45deg); }
.menu-open .nav-toggle::after { transform: translateY(-6.5px) rotate(-45deg); }
.nav-bar { border-top: 1px solid color-mix(in oklch, white 10%, transparent); background: oklch(14% 0 0); }
.nav-inner { width: min(var(--max, 1240px), calc(100% - 40px)); margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 54px); min-height: 48px; }
.nav-inner a { position: relative; color: color-mix(in oklch, white 78%, transparent); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; padding: 17px 0; }
.nav-inner a:hover, .nav-inner a:focus-visible { color: white; outline: none; }
.nav-inner a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 50%; width: 42px; height: 2px; background: var(--accent); transform: translateX(-50%); }
.home-hero { position: relative; color: white; background: #070707; }
.hero-stage, .page-hero {
  min-height: clamp(560px, 72vh, 820px);
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
  background: #08090d;
}
.hero-stage::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: var(--hero-focus, center);
  filter: saturate(0.92) contrast(1.08) brightness(0.82);
  transform: scale(1.035);
}
.hero-stage::after, .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.76) 0%, rgba(0,0,0,0.38) 42%, rgba(0,0,0,0.12) 76%),
    linear-gradient(0deg, rgba(0,0,0,0.56), rgba(0,0,0,0.04) 48%);
}
.hero-inner { position: relative; z-index: 2; width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: clamp(88px, 12vw, 140px) 0 56px; }
.eyebrow, .section-kicker { font-family: "IBM Plex Mono", "JetBrains Mono", SFMono-Regular, ui-monospace, monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 18px; }
.eyebrow { color: color-mix(in oklch, white 82%, transparent); }
.eyebrow.dark { color: var(--muted); }
.hero-inner h1, .page-hero h1 {
  font-family: "Bodoni 72", Didot, "Bodoni MT", "Libre Bodoni", "Playfair Display", Georgia, serif;
  font-size: clamp(56px, 8.4vw, 120px);
  line-height: 0.94;
  letter-spacing: 0;
  font-weight: 500;
  max-width: 960px;
  margin: 0;
  text-wrap: balance;
}
.hero-copy { max-width: 690px; margin: 24px 0 0; font-size: clamp(18px, 2vw, 24px); line-height: 1.45; color: color-mix(in oklch, white 86%, transparent); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-tags span { border: 1px solid color-mix(in oklch, white 26%, transparent); padding: 10px 14px; font-size: 12px; text-transform: uppercase; }
.hero-meta { display: flex; align-items: center; gap: 20px; margin: 28px 0 18px; font-family: "IBM Plex Mono", monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; }
.hero-rule { width: 74px; height: 2px; background: var(--accent); display: inline-block; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border: 1px solid var(--fg); background: var(--fg); color: white; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1; cursor: pointer; }
.btn:hover, .btn:focus-visible { outline: 2px solid color-mix(in oklch, var(--accent) 45%, transparent); outline-offset: 2px; }
.btn.secondary { background: transparent; color: var(--fg); }
.btn-light { border-color: color-mix(in oklch, white 44%, transparent); background: rgba(0,0,0,.35); color: white; }
.search-panel { position: relative; z-index: 3; width: min(420px, calc(100% - 28px)); margin: -56px auto 0; background: white; color: var(--fg); border: 1px solid var(--border); padding: 18px; display: grid; gap: 10px; }
.search-panel label, .form-panel label, .admin-form label { display: grid; gap: 7px; font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
input, textarea, select { width: 100%; border: 1px solid var(--border, oklch(82% 0 0)); padding: 12px 14px; background: white; color: var(--fg, #000); }
textarea { resize: vertical; }
.section { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: clamp(72px, 9vw, 118px) 0; }
.section-tight { padding-top: clamp(64px, 8vw, 92px); }
.two-column, .split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr); gap: clamp(44px, 7vw, 86px); align-items: start; }
.section-kicker { color: var(--fg); margin-bottom: 2px; letter-spacing: 0.34em; text-transform: lowercase; }
.issue-kicker-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px clamp(14px, 2vw, 22px); margin: 0 0 2px; }
.issue-kicker-row .section-kicker { margin: 0; }
.issue-pager { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; font-family: "IBM Plex Mono", "JetBrains Mono", SFMono-Regular, ui-monospace, monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.issue-select-label { display: inline-flex; align-items: baseline; gap: 8px; color: var(--muted); }
.issue-select { width: auto; min-width: 168px; max-width: min(320px, 52vw); border: 0; border-bottom: 1px solid var(--border); background: transparent; color: var(--fg); padding: 0 22px 2px 0; font: inherit; letter-spacing: 0.04em; text-transform: none; }
.issue-select:focus-visible { outline: 2px solid color-mix(in oklch, var(--accent) 45%, transparent); outline-offset: 3px; }
.section-title, .editor-band h2 {
  font-family: "Bodoni 72", Didot, "Bodoni MT", "Libre Bodoni", "Playfair Display", Georgia, serif;
  font-size: clamp(44px, 6.2vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 500;
  margin: 0 0 28px;
}
.lead { max-width: 74ch; color: var(--muted); font-size: clamp(17px, 1.7vw, 20px); }
.section:not(.split):not(.two-column) > .lead,
.section:not(.split):not(.two-column) > div > .lead { max-width: min(112ch, 100%); }
.split .lead, .two-column .lead { max-width: 74ch; }
.choice-list { display: grid; gap: 16px; }
.choice-card { display: grid; grid-template-columns: 160px 1fr; gap: 18px; border-top: 1px solid var(--border); padding-top: 18px; }
.choice-card img { width: 100%; aspect-ratio: 4/3; object-fit: contain; object-position: center; background: var(--surface); border: 1px solid var(--border); }
.choice-card h3, .article-card h3, .sitemap-card h3 { margin: 0 0 8px; font-family: "Bodoni 72", Didot, Georgia, serif; font-size: 28px; font-weight: 500; line-height: 1.04; }
.choice-card p, .article-card p, .sitemap-card p { margin: 0; color: var(--muted); }
.choice-card a { display: inline-block; margin-top: 12px; border-bottom: 1px solid var(--accent); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.editor-band { background: oklch(11% 0 0); color: white; }
.editor-inner { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: clamp(54px, 8vw, 86px) 0; display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.editor-inner img { width: 100%; max-height: 460px; object-fit: cover; border: 1px solid color-mix(in oklch, white 18%, transparent); }
.editor-inner p { color: color-mix(in oklch, white 78%, transparent); }
.channel-grid, .article-card-grid, .sitemap-grid, .admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.channel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.channel-card, .article-card, .sitemap-card, .admin-card, .form-panel { border: 1px solid var(--border); padding: 20px; background: color-mix(in oklch, var(--surface) 42%, white); }
.channel-card { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 14px; min-height: 360px; }
.post-card { display: block; transition: border-color 160ms, transform 160ms; }
.post-card:hover, .post-card:focus-visible { border-color: var(--accent); outline: none; transform: translateY(-2px); }
.channel-image, .post-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.channel-no { display: block; font-family: "Courier New", monospace; font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }
.channel-title { margin: 0; font-family: "Bodoni 72", Didot, Georgia, serif; font-size: 28px; font-weight: 500; line-height: 1.04; }
.channel-description { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.channel-link { display: block; align-self: end; font-weight: 800; text-transform: uppercase; font-size: 13px; }
.form-panel { display: grid; gap: 14px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-status { margin: 0; font-size: 13px; }
.form-status.success { color: oklch(45% .14 150); }
.form-status.error { color: oklch(48% .18 28); }
.policy-page { max-width: 880px; }
.policy-section { margin-top: 28px; border-top: 2px solid var(--fg); padding-top: 24px; }
.policy-section li { margin-bottom: 12px; color: var(--muted); }
.site-footer { background: oklch(10% 0 0); color: white; }
.footer-inner { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr .8fr; gap: 36px; }
.footer-logo { width: min(236px, 68vw); margin-bottom: 18px; }
.footer-heading { font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em; color: white; }
.footer-copy, .footer-contact-list, .footer-column p, .footer-quick-links a { color: color-mix(in oklch, white 70%, transparent); }
.footer-quick-links, .footer-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid color-mix(in oklch, white 12%, transparent); }
.footer-bottom-inner { width: min(1240px, calc(100% - 40px)); margin: 0 auto; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-legal { display: flex; gap: 20px; }
.article-body { max-width: 820px; font-size: 20px; color: var(--muted); }
.admin-body { min-height: 100vh; background: oklch(96% 0 0); color: var(--fg); display: grid; grid-template-columns: 260px 1fr; }
.admin-sidebar { background: oklch(10% 0 0); color: white; min-height: 100vh; padding: 22px; position: sticky; top: 0; align-self: start; }
.admin-sidebar img { width: 200px; margin-bottom: 28px; }
.admin-sidebar nav { display: grid; gap: 6px; }
.admin-sidebar a { padding: 11px 12px; border: 1px solid transparent; color: color-mix(in oklch, white 78%, transparent); }
.admin-sidebar a:hover { border-color: color-mix(in oklch, white 18%, transparent); color: white; }
.admin-logout { display: block; margin-top: 30px; }
.admin-main { padding: 28px; min-width: 0; }
.admin-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.admin-header h1, .login-panel h1 { margin: 0; font-family: "Bodoni 72", Didot, Georgia, serif; font-size: 44px; font-weight: 500; }
.admin-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 20px; }
.admin-card { background: white; border-color: oklch(86% 0 0); margin-bottom: 18px; }
.admin-card.wide { grid-column: span 2; }
.admin-grid .admin-card > span { font-family: "Bodoni 72", Didot, Georgia, serif; font-size: 54px; display: block; }
.admin-table { width: 100%; border-collapse: collapse; background: white; }
.admin-table th, .admin-table td { text-align: left; border-bottom: 1px solid oklch(88% 0 0); padding: 12px; vertical-align: top; }
.admin-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.admin-form { display: grid; gap: 16px; }
.admin-form.compact { max-width: 760px; }
.admin-heading-row, .admin-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.admin-heading-row h2, .admin-card-header h2 { margin: 0 0 6px; font-family: "Bodoni 72", Didot, Georgia, serif; font-size: 32px; font-weight: 500; }
.admin-inline-form { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.admin-section-editor { display: grid; gap: 14px; border-top: 1px solid oklch(88% 0 0); padding-top: 18px; margin-top: 18px; }
.admin-section-editor h3 { margin: 0; font-size: 16px; }
.admin-card-list { display: grid; gap: 12px; margin-top: 12px; }
.admin-card-list .admin-help { margin: 0; }
.admin-editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; align-items: start; }
.admin-editor-main, .admin-editor-sidebar { display: grid; gap: 16px; }
.title-input { font-family: "Bodoni 72", Didot, Georgia, serif; font-size: 34px; }
.slug-row, .media-field-row, .button-row { display: flex; gap: 10px; align-items: center; }
.slug-row span { color: var(--muted); }
.media-field-row input, .slug-row input { flex: 1; }
.segmented { display: inline-flex; border: 1px solid oklch(82% 0 0); }
.segmented button { border: 0; background: white; padding: 8px 12px; cursor: pointer; }
.segmented button.active { background: var(--fg); color: white; }
.editor-toolbar { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid oklch(88% 0 0); padding-bottom: 10px; margin-bottom: 10px; }
.editor-toolbar button { border: 1px solid oklch(84% 0 0); background: oklch(96% 0 0); padding: 7px 10px; cursor: pointer; }
.content-preview { min-height: 360px; border: 1px solid var(--border); background: oklch(98% 0 0); padding: 16px; overflow: auto; }
.content-preview img { max-width: 100%; margin: 12px 0; }
.image-drop-button { width: 100%; min-height: 140px; border: 2px dashed oklch(80% 0 0); background: oklch(98% 0 0); cursor: pointer; color: var(--muted); }
.is-hidden { display: none !important; }
.page-block-list { display: grid; gap: 10px; }
.page-block-item { display: flex; justify-content: space-between; align-items: center; gap: 14px; border: 1px solid oklch(86% 0 0); background: oklch(98% 0 0); padding: 12px; }
.page-block-item span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; text-transform: uppercase; }
.page-block-item button, .block-picker-grid button { border: 1px solid oklch(84% 0 0); background: white; padding: 8px 10px; cursor: pointer; }
.page-block-item button[disabled] { opacity: .45; cursor: not-allowed; }
.block-picker-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.block-picker-grid button { display: grid; gap: 6px; text-align: left; min-height: 110px; }
.block-picker-grid span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.serp-card { border: 1px solid oklch(86% 0 0); background: oklch(98% 0 0); padding: 14px; }
.serp-card strong { display: block; color: oklch(39% .12 256); font-size: 18px; }
.serp-card span { display: block; margin-top: 4px; color: oklch(44% .12 150); font-size: 13px; overflow-wrap: anywhere; }
.serp-card p { margin: 8px 0 0; color: var(--muted); }
.admin-repeater { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; border-top: 1px solid oklch(88% 0 0); padding-top: 16px; margin-top: 16px; }
.admin-repeater-actions { display: flex; align-items: end; }
.admin-repeater.nav-repeater { grid-template-columns: 150px minmax(160px, 1fr) minmax(160px, 1fr) 150px 120px 110px 110px 90px; align-items: end; }
.nav-repeater[draggable="true"] { cursor: grab; }
.nav-repeater.dragging { opacity: .55; outline: 2px solid var(--accent); background: color-mix(in oklch, var(--accent) 8%, white); }
.check-row { min-height: 46px; display: flex !important; grid-template-columns: none !important; align-items: center; gap: 8px !important; }
.check-row input { width: auto; }
.admin-help { color: var(--muted); }
.admin-alert { padding: 12px 14px; border: 1px solid var(--border); background: white; color: #050505; }
.admin-alert.success { border-color: oklch(65% .14 150); color: #17462d; }
.admin-alert.error { border-color: oklch(60% .18 28); color: #5c1f1a; }
.btn.danger { background: oklch(48% .18 28); border-color: oklch(48% .18 28); color: white; }
.status-filters, .media-type-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.status-filters a, .media-type-tabs a, .pagination a, .pagination button { border: 1px solid oklch(84% 0 0); background: white; padding: 8px 12px; cursor: pointer; }
.status-filters a.active, .media-type-tabs a.active, .pagination .active { background: var(--fg); border-color: var(--fg); color: white; }
.table-actions:not(td) { display: flex; gap: 10px; }
.admin-table td.table-actions { display: table-cell; white-space: nowrap; }
.admin-table td.table-actions > * + * { margin-left: 10px; }
.admin-table td.table-actions form { display: inline; margin: 0; }
.table-actions form { margin: 0; }
.inquiry-list-card { overflow-x: auto; }
.inquiry-table { min-width: 900px; table-layout: fixed; }
.inquiry-col-status { width: 78px; }
.inquiry-col-from { width: 230px; }
.inquiry-col-received { width: 170px; }
.inquiry-col-actions { width: 160px; }
.inquiry-table th:nth-child(4), .inquiry-table td:nth-child(4) { white-space: nowrap; }
.inquiry-table th:nth-child(5), .inquiry-table td:nth-child(5) { text-align: left; }
.inquiry-from-cell { padding-right: 24px; }
.inquiry-summary-cell { padding-left: 18px; }
.inquiry-from-cell strong, .inquiry-from-cell small, .inquiry-summary-cell strong, .inquiry-snippet { display: block; max-width: 100%; overflow-wrap: anywhere; word-break: normal; }
.inquiry-actions-cell { white-space: nowrap; }
.inquiry-actions { display: flex; align-items: center; gap: 18px; min-height: 24px; }
.inquiry-actions form { display: inline-flex; margin: 0; }
.inquiry-action-link { display: inline-flex; align-items: center; min-height: 24px; border: 0; background: transparent; color: var(--fg); padding: 0; font: inherit; font-size: 13px; line-height: 1.2; text-transform: none; cursor: pointer; }
.inquiry-action-link:hover, .inquiry-action-link:focus-visible { text-decoration: underline; outline: none; }
.inquiry-table button.inquiry-action-link { font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.inquiry-table td small { margin-top: 3px; color: var(--muted); line-height: 1.35; }
.inquiry-row-unread { background: color-mix(in oklch, var(--accent) 10%, white); }
.admin-card .inquiry-status { display: inline-flex; align-items: center; border: 1px solid oklch(82% 0 0); padding: 4px 8px; font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", system-ui, sans-serif; font-size: 11px; font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: .06em; }
.inquiry-status.new { border-color: color-mix(in oklch, var(--accent) 52%, black); background: color-mix(in oklch, var(--accent) 22%, white); }
.inquiry-status.read { background: oklch(94% 0 0); color: var(--muted); }
.inquiry-snippet { max-width: 460px; margin: 4px 0 0; color: var(--muted); }
.empty-state { padding: 42px 20px; text-align: center; }
.empty-state h2 { margin: 0 0 8px; font-family: "Bodoni 72", Didot, Georgia, serif; font-size: 34px; font-weight: 500; }
.empty-state p { margin: 0; color: var(--muted); }
.inquiry-detail-card { display: grid; gap: 24px; }
.inquiry-detail-header { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); }
.admin-card .inquiry-detail-header span:not(.inquiry-status) { display: inline; font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", system-ui, sans-serif; font-size: 14px; line-height: 1.2; }
.inquiry-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.inquiry-detail-grid div { border: 1px solid oklch(88% 0 0); background: oklch(98% 0 0); padding: 14px; }
.inquiry-detail-grid span { display: block; margin-bottom: 4px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.inquiry-detail-grid strong { display: block; font-size: 17px; overflow-wrap: anywhere; }
.inquiry-message-section h3 { margin: 0 0 8px; font-size: 16px; text-transform: uppercase; letter-spacing: .08em; }
.inquiry-message-box { min-height: 150px; border: 1px solid oklch(88% 0 0); background: oklch(98% 0 0); padding: 16px; white-space: pre-wrap; }
.inquiry-meta { border-top: 1px solid oklch(88% 0 0); padding-top: 16px; color: var(--muted); font-size: 14px; }
.inquiry-meta p { margin: 0 0 6px; }
.taxonomy-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 18px; align-items: start; }
.taxonomy-list-card { overflow-x: auto; }
.taxonomy-table button { border: 1px solid oklch(84% 0 0); background: white; padding: 7px 10px; cursor: pointer; }
.taxonomy-modal { width: min(520px, 100%); }
.tag-choice-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-choice { display: inline-flex !important; grid-template-columns: none !important; align-items: center; gap: 7px !important; border: 1px solid oklch(84% 0 0); padding: 8px 10px; background: oklch(98% 0 0); cursor: pointer; }
.tag-choice input { width: auto; }
.tag-choice:has(input:checked), .tag-pill { background: var(--fg); color: white; border-color: var(--fg); }
.tag-picker { display: grid; gap: 10px; }
.tag-selected, .tag-button-list { display: flex; flex-wrap: wrap; gap: 8px; min-height: 30px; }
.tag-pill { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--fg); padding: 5px 10px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.tag-pill button { border: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; line-height: 1; opacity: .72; padding: 0; }
.tag-pill button:hover, .tag-pill button:focus-visible { opacity: 1; outline: none; }
.tag-button-list button { border: 1px solid oklch(84% 0 0); background: oklch(98% 0 0); color: var(--fg); cursor: pointer; font-size: 12px; padding: 6px 9px; text-transform: none; }
.tag-button-list button:hover, .tag-button-list button:focus-visible { border-color: var(--fg); outline: none; }
.tag-empty { color: var(--muted); font-size: 13px; }
.settings-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.settings-card { display: grid; gap: 10px; min-height: 180px; padding: 22px; border: 1px solid oklch(86% 0 0); background: white; }
.settings-card h2 { margin: 0; font-family: "Bodoni 72", Didot, Georgia, serif; font-size: 30px; font-weight: 500; }
.settings-card p { margin: 0; color: var(--muted); }
.settings-card span { align-self: end; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.upload-zone { border: 2px dashed oklch(78% 0 0); background: oklch(97% 0 0); padding: 34px; text-align: center; display: grid; gap: 8px; cursor: pointer; margin-bottom: 18px; }
.upload-zone.active, .upload-zone:hover { border-color: var(--accent); background: color-mix(in oklch, var(--accent) 8%, white); }
.upload-zone input { display: none; }
.upload-progress > div:first-child { display: flex; justify-content: space-between; }
.upload-bar { height: 8px; background: oklch(88% 0 0); margin-top: 10px; }
.upload-bar span { display: block; height: 100%; background: var(--accent); }
.media-toolbar { display: grid; grid-template-columns: 1fr minmax(240px, 360px); gap: 16px; align-items: center; }
.media-search { display: flex; gap: 8px; }
.bulk-toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.media-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.agency-media-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.media-card { border: 1px solid oklch(86% 0 0); background: white; padding: 12px; cursor: pointer; }
.media-select-row { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 7px !important; margin-bottom: 8px; font-size: 11px; color: var(--muted); }
.media-select-row input { width: auto; }
.media-card img, .media-thumb { aspect-ratio: 1; object-fit: cover; width: 100%; }
.media-thumb { display: grid; place-items: center; background: oklch(94% 0 0); overflow: hidden; }
.media-thumb img { height: 100%; object-fit: cover; }
.media-card p { margin: 10px 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-card code { display: block; font-size: 11px; overflow-wrap: anywhere; }
.media-empty { grid-column: 1 / -1; }
.admin-modal-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(0,0,0,.62); padding: 24px; }
.admin-modal-backdrop[hidden] { display: none; }
.admin-modal { width: min(860px, 100%); max-height: min(860px, 92vh); overflow: auto; background: white; padding: 22px; border: 1px solid oklch(80% 0 0); }
.admin-modal header { display: flex; justify-content: space-between; align-items: center; gap: 18px; border-bottom: 1px solid oklch(88% 0 0); padding-bottom: 12px; margin-bottom: 18px; }
.admin-modal header h2 { margin: 0; }
.media-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.modal-preview { min-height: 240px; display: grid; place-items: center; background: oklch(96% 0 0); }
.modal-preview img { max-height: 360px; object-fit: contain; }
.modal-preview video, .modal-preview iframe { width: 100%; min-height: 360px; border: 0; }
.modal-preview video { background: black; }
.media-picker-modal { width: min(980px, 100%); }
.media-picker-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.media-picker-item { border: 1px solid oklch(86% 0 0); background: white; padding: 8px; cursor: pointer; text-align: left; }
.media-picker-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.media-picker-item span { display: block; margin-top: 6px; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.admin-login-body { min-height: 100vh; display: grid; place-items: center; background: oklch(10% 0 0); color: white; }
.login-panel { width: min(420px, calc(100% - 32px)); border: 1px solid color-mix(in oklch, white 18%, transparent); padding: 28px; display: grid; gap: 18px; }
.login-panel img { width: 260px; }
.login-panel form { display: grid; gap: 14px; }
@media (max-width: 960px) {
  .masthead { grid-template-columns: 220px 1fr auto; }
}
@media (max-width: 760px) {
  .masthead { width: min(100% - 28px, var(--max, 1240px)); grid-template-columns: 1fr auto; min-height: 74px; gap: 12px; }
  .masthead-line, .tagline { display: none; }
  .brand-lockup img { width: min(230px, 68vw); }
  .nav-toggle { display: block; }
  .nav-bar { position: fixed; inset: 74px 0 auto; z-index: 30; transform: translateY(calc(-100% - 90px)); visibility: hidden; pointer-events: none; transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), visibility 0s linear 200ms; border-bottom: 1px solid color-mix(in oklch, white 14%, transparent); }
  .menu-open .nav-bar { transform: translateY(0); visibility: visible; pointer-events: auto; transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), visibility 0s; }
  .nav-inner { width: min(100% - 28px, var(--max, 1240px)); min-height: auto; padding: 18px 0 22px; display: grid; justify-content: stretch; gap: 0; }
  .nav-inner a { min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid color-mix(in oklch, white 8%, transparent); padding: 0; }
  .nav-inner a[aria-current="page"]::before { display: none; }
  .hero-stage, .page-hero { min-height: 690px; }
  .hero-stage::before, .page-hero::before { background-position: var(--hero-mobile-focus, var(--hero-focus, center)); }
  .two-column, .split, .editor-inner, .footer-grid, .admin-body { grid-template-columns: 1fr; }
  .channel-grid, .article-card-grid, .sitemap-grid, .admin-grid, .media-grid, .settings-grid, .admin-editor-layout, .media-modal-grid, .media-picker-grid, .taxonomy-layout, .block-picker-grid { grid-template-columns: 1fr; }
  .choice-card { grid-template-columns: 1fr; }
  .admin-sidebar { min-height: auto; position: static; }
  .admin-main { padding: 18px; }
  .form-grid, .admin-repeater, .admin-repeater.nav-repeater { grid-template-columns: 1fr; }
  .admin-heading-row, .admin-card-header, .media-toolbar, .admin-inline-form { align-items: stretch; flex-direction: column; display: flex; }
  .footer-bottom-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 22px 0; }
}
