@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --paper: #0b0b0a;
  --ink: #f5efe5;
  --white: #151513;
  --cream: #141310;
  --soft: #1c1a16;
  --muted: #a9a198;
  --line: rgba(224, 188, 117, .2);
  --gold: #d4ad67;
  --gold-bright: #f0d293;
  --gold-deep: #9a7334;
  --danger: #e28b83;
  --radius: 3px;
  --shadow: 0 22px 70px rgba(0, 0, 0, .38);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  background:
    radial-gradient(circle at 86% 0%, rgba(212, 173, 103, .08), transparent 25rem),
    radial-gradient(circle at 0% 60%, rgba(255, 255, 255, .025), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  font-size: 15px;
}
body::selection { background: var(--gold); color: #0b0b0a; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: .98; }
h1 { font-size: clamp(3.7rem, 8vw, 8.2rem); letter-spacing: -.065em; }
h2 { font-size: clamp(2.5rem, 5vw, 5.2rem); letter-spacing: -.055em; }
h3 { font-size: 1.75rem; letter-spacing: -.025em; }
em { color: var(--gold-bright); font-weight: 500; }

.public-shell { min-height: 100vh; overflow-x: hidden; overflow-y: visible; }
.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  max-width: 1500px;
  margin: 0 auto;
  padding: 21px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: rgba(11, 11, 10, .83);
  border-bottom: 1px solid rgba(224, 188, 117, .12);
  backdrop-filter: blur(22px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { width: 176px; height: 63px; object-fit: contain; object-position: left center; }
.brand-copy { display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; font-size: 1.1rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.brand-copy em { color: var(--gold); font-family: var(--serif); font-size: 1.05em; font-style: normal; font-weight: 500; letter-spacing: .04em; text-transform: none; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-family: var(--serif); font-size: 1.15rem; }
.public-nav { display: flex; align-items: center; gap: 28px; font-size: .76rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.public-nav > a:not(.button) { position: relative; color: #bdb5aa; transition: color .2s ease; }
.public-nav > a:not(.button)::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; background: var(--gold); content: ''; transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.public-nav > a.active, .public-nav > a:hover { color: var(--gold-bright); }
.public-nav > a.active::after, .public-nav > a:hover::after { transform: scaleX(1); transform-origin: left; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 13px 23px;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: linear-gradient(110deg, var(--gold), var(--gold-bright));
  color: #17130d;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-3px); box-shadow: 0 13px 28px rgba(212, 173, 103, .18); }
.button:active { transform: translateY(-1px); }
.button-small { min-height: 38px; padding: 10px 15px; font-size: .66rem; }
.button-quiet { background: transparent; color: var(--gold-bright); }
.button-quiet:hover { background: rgba(212, 173, 103, .08); }
.button-disabled { opacity: .5; }

.eyebrow { margin-bottom: 17px; color: var(--gold); font-size: .66rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.lead { max-width: 690px; color: #bcb3a8; font-size: 1.07rem; }
.flash { max-width: 980px; margin: 15px auto; padding: 13px 18px; border: 1px solid var(--line); font-size: .85rem; }
.flash-success { background: rgba(91, 133, 93, .12); color: #bcd8bd; }
.flash-error { background: rgba(185, 77, 68, .12); color: #edb3ad; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 115px 8% 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 7, 6, .98) 0%, rgba(7, 7, 6, .92) 42%, rgba(7, 7, 6, .25) 100%),
    radial-gradient(circle at 86% 50%, rgba(212, 173, 103, .24), transparent 28%),
    #11100d;
  border-bottom: 1px solid rgba(224, 188, 117, .26);
}
.hero::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(120deg, transparent 0 62%, rgba(255, 255, 255, .03) 62.1%, transparent 62.3%); content: ''; pointer-events: none; }
.hero::after { position: absolute; z-index: -1; right: -10%; bottom: -28%; width: 58%; height: 100%; border: 1px solid rgba(212, 173, 103, .22); border-radius: 50%; content: ''; transform: rotate(-25deg); }
.hero-content { position: relative; z-index: 2; max-width: 790px; }
.hero h1 { max-width: 820px; margin-bottom: 28px; color: #faf5eb; }
.hero h1 em { font-style: italic; }
.hero .lead { color: #c9c0b5; line-height: 1.8; }
.hero .eyebrow::before { display: inline-block; width: 32px; height: 1px; margin: 0 13px 3px 0; background: var(--gold); content: ''; }
.button-row { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 36px; }
.hero .button { border-color: var(--gold); }
.hero .button-quiet { border-color: rgba(212, 173, 103, .65); color: #f3e5cb; }
.hero-image-wrap { position: relative; z-index: 1; width: min(42vw, 520px); aspect-ratio: 1 / 1.12; flex: none; overflow: hidden; border: 1px solid rgba(240, 210, 147, .4); background: #211a10; box-shadow: 25px 25px 0 rgba(212, 173, 103, .1), 0 26px 80px rgba(0, 0, 0, .65); }
.hero-image-wrap::before { position: absolute; z-index: 2; inset: 17px; border: 1px solid rgba(255, 255, 255, .28); content: ''; pointer-events: none; }
.hero-image-wrap::after { position: absolute; z-index: 2; right: 28px; bottom: 29px; width: 52px; height: 1px; background: var(--gold-bright); content: ''; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .9; mix-blend-mode: screen; }
.hero-stamp { position: absolute; right: 7%; bottom: 55px; z-index: 3; display: flex; align-items: center; gap: 12px; color: var(--gold); font-size: .63rem; letter-spacing: .24em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-stamp::before { width: 1px; height: 52px; background: var(--gold); content: ''; }
.hero-orbit { display: none; }

.section { max-width: 1500px; margin: 0 auto; padding: 120px 8%; }
.section-soft { max-width: none; background: linear-gradient(180deg, #12110e, #0d0d0b); border-top: 1px solid rgba(224, 188, 117, .11); border-bottom: 1px solid rgba(224, 188, 117, .11); }
.section-soft > * { max-width: 1260px; margin-left: auto; margin-right: auto; }
.section-heading { margin-bottom: 42px; }
.section-heading h2 { max-width: 770px; margin-bottom: 0; color: #f4ede1; }
.section-heading h2 em { font-style: italic; }
.split { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.text-link { color: var(--gold-bright); font-size: .72rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.text-link::after { display: inline-block; width: 32px; height: 1px; margin: 0 0 3px 11px; background: var(--gold); content: ''; transition: width .2s ease; }
.text-link:hover::after { width: 48px; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.category-card { position: relative; min-height: 340px; padding: 30px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; isolation: isolate; background: linear-gradient(145deg, #403421, #15130f); color: #fff; }
.category-card::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 4, .02) 25%, rgba(5, 5, 4, .92) 100%); content: ''; }
.category-card::before { position: absolute; z-index: 1; inset: 14px; border: 1px solid rgba(240, 210, 147, .3); content: ''; pointer-events: none; }
.category-card-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .68; filter: saturate(.7) contrast(1.08); transition: transform .55s ease, opacity .3s ease; }
.category-card:hover { transform: translateY(-6px); box-shadow: 0 22px 45px rgba(0, 0, 0, .28); }
.category-card:hover .category-card-image { opacity: .86; transform: scale(1.06); }
.category-card-copy { position: relative; z-index: 2; }
.category-card span { display: block; font-family: var(--serif); font-size: 2.45rem; line-height: 1; }
.category-card small { display: block; margin-top: 9px; color: #cbc0ae; font-size: .79rem; }

.manifesto-section { max-width: 1500px; margin: 0 auto; padding: 120px 8%; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 90px; }
.manifesto-media { position: relative; min-height: 520px; overflow: hidden; background: #12100d; border: 1px solid var(--line); }
.manifesto-media::after { position: absolute; z-index: 2; inset: 18px; border: 1px solid rgba(240, 210, 147, .34); content: ''; pointer-events: none; }
.manifesto-media img { width: 100%; height: 100%; min-height: 520px; object-fit: contain; padding: 48px; opacity: .85; filter: contrast(1.07) saturate(.75); }
.manifesto-media .media-label { position: absolute; z-index: 3; left: 34px; bottom: 31px; color: #f4e5c2; font-size: .63rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.manifesto-copy { max-width: 610px; }
.manifesto-copy h2 { margin-bottom: 22px; }
.manifesto-copy p:not(.eyebrow) { color: #b5aca1; font-size: 1.02rem; line-height: 1.9; }
.manifesto-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; padding-top: 25px; border-top: 1px solid var(--line); }
.manifesto-points div { color: #c9bda9; font-family: var(--serif); font-size: 1.35rem; line-height: 1.05; }
.manifesto-points small { display: block; margin-top: 8px; color: var(--muted); font-family: var(--sans); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card { position: relative; overflow: hidden; background: #13120f; border: 1px solid rgba(224, 188, 117, .15); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.product-card::before { position: absolute; z-index: 2; top: 15px; right: 15px; width: 25px; height: 25px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); content: ''; pointer-events: none; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(224, 188, 117, .5); box-shadow: var(--shadow); }
.product-image { position: relative; height: 285px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(135deg, #292319, #11100d); color: var(--muted); }
.product-image::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8, 8, 7, .32)); content: ''; pointer-events: none; }
.product-image img { width: 100%; height: 100%; object-fit: cover; opacity: .88; filter: saturate(.82) contrast(1.04); transition: transform .5s ease, opacity .3s ease; }
.product-card:hover .product-image img { opacity: 1; transform: scale(1.05); }
.product-card-body { padding: 24px 23px 27px; }
.product-card-body p { margin-bottom: 10px; color: var(--gold); font-size: .63rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.product-card-body h3 { margin-bottom: 10px; color: #f3ece0; }
.product-card-body h3 a:hover { color: var(--gold-bright); }
.product-card-body span { color: #aaa196; font-size: .84rem; }
.empty-card { grid-column: 1 / -1; padding: 38px; background: var(--white); border: 1px dashed var(--line); color: var(--muted); }
.cta-section { position: relative; isolation: isolate; max-width: 1260px; margin: 20px auto 120px; padding: 70px; display: flex; align-items: center; justify-content: space-between; gap: 30px; overflow: hidden; background: linear-gradient(120deg, #1c1710, #0e0e0c); border: 1px solid rgba(224, 188, 117, .34); color: var(--ink); }
.cta-section::after { position: absolute; z-index: -1; right: -11%; bottom: -90%; width: 55%; height: 200%; border: 1px solid rgba(212, 173, 103, .25); border-radius: 50%; transform: rotate(-24deg); content: ''; }
.cta-section h2 { max-width: 740px; margin-bottom: 0; }
.site-footer { max-width: 1500px; margin: 0 auto; padding: 56px 8%; display: flex; justify-content: space-between; gap: 35px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer .brand { color: var(--ink); }
.site-footer .brand-logo { width: 190px; height: 70px; }
.site-footer p { margin: 14px 0 0; color: #8d857c; font-size: .83rem; }
.footer-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: flex-end; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.footer-links a:hover { color: var(--gold-bright); }

.page-intro { max-width: 1080px; margin: 0 auto; padding: 112px 8% 58px; }
.page-intro h1 { max-width: 900px; margin-bottom: 23px; }
.page-intro p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 1.03rem; }
.compact { padding-bottom: 35px; }
.catalog-layout { max-width: 1500px; margin: 0 auto; padding: 0 8% 125px; display: grid; grid-template-columns: 275px 1fr; gap: 56px; }
.filter-panel { position: sticky; top: 105px; height: max-content; padding: 25px; background: #12110f; border: 1px solid var(--line); }
.filter-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.filter-heading h2 { margin: 0; font-size: 2rem; }
.filter-heading a { color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
label { display: grid; gap: 8px; margin-bottom: 18px; color: #c2b9ae; font-size: .74rem; font-weight: 600; letter-spacing: .05em; }
input, select, textarea { width: 100%; padding: 12px 13px; border: 1px solid rgba(224, 188, 117, .22); border-radius: 0; background: #0d0d0b; color: var(--ink); font-weight: 400; }
input::placeholder, textarea::placeholder { color: #736b62; }
textarea { min-height: 135px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 1px solid var(--gold); border-color: var(--gold); }
fieldset { margin: 0 0 18px; padding: 0; border: 0; }
legend { margin-bottom: 11px; color: #c2b9ae; font-size: .74rem; font-weight: 600; letter-spacing: .05em; }
.color-options { display: flex; flex-wrap: wrap; gap: 10px; }
.color-choice { display: flex; align-items: center; gap: 5px; margin: 0; color: var(--muted); font-size: .66rem; font-weight: 400; }
.color-choice input { width: auto; accent-color: var(--gold); }
.color-dot, .inline-color { width: 18px; height: 18px; border: 1px solid rgba(255, 255, 255, .36); border-radius: 50%; display: inline-block; }
.inline-color { vertical-align: middle; margin-right: 5px; }
.catalog-result-heading { margin-bottom: 21px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.catalog-result-heading p { margin: 0 0 4px; font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.catalog-result-heading strong { color: var(--gold-bright); font-size: 1.9rem; }
.catalog-result-heading small { color: #80786e; font-size: .73rem; }
.image-search-link { display: block; margin-top: 17px; color: var(--gold-bright); font-size: .69rem; font-weight: 700; letter-spacing: .06em; }
.image-search-link:hover { text-decoration: underline; }

.product-detail { max-width: 1500px; margin: 0 auto; padding: 55px 8% 95px; }
.breadcrumb { display: flex; gap: 11px; margin-bottom: 35px; color: #837b71; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.breadcrumb a { color: var(--gold); }
.product-detail-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 80px; }
.product-gallery { min-width: 0; }
.main-product-image, .image-placeholder { width: 100%; height: 620px; object-fit: cover; background: linear-gradient(135deg, #2c2418, #12110e); border: 1px solid var(--line); }
.image-placeholder { display: grid; place-items: center; color: var(--muted); }
.thumbnail-row { display: flex; gap: 12px; margin-top: 13px; }
.thumbnail-row img { width: 92px; height: 72px; object-fit: cover; border: 1px solid rgba(224, 188, 117, .25); opacity: .72; }
.thumbnail-row img:hover { opacity: 1; border-color: var(--gold); }
.product-copy { padding-top: 25px; }
.product-copy h1 { margin-bottom: 25px; font-size: clamp(3.5rem, 6vw, 6.5rem); }
.product-copy .lead { line-height: 1.8; }
.price { margin: 31px 0; color: var(--gold-bright); font-family: var(--serif); font-size: 1.7rem; }
.spec-list { margin: 0; border-top: 1px solid var(--line); }
.spec-list div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(224, 188, 117, .14); }
dt { color: #8d857b; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
dd { margin: 0; color: #eee5d8; text-align: right; }
.product-description { max-width: 870px; margin: 0 auto; padding: 20px 8% 110px; }
.product-description h2 { margin-bottom: 21px; }
.product-description p { color: #ada59c; font-size: 1.05rem; line-height: 1.95; }
.inquiry-section { max-width: 1260px; margin: 0 auto 120px; padding: 64px; display: grid; grid-template-columns: .8fr 1fr; gap: 70px; background: linear-gradient(130deg, #18140e, #10100d); border: 1px solid var(--line); }
.inquiry-section h2 { font-size: 3.6rem; }
.inquiry-section > div > p:not(.eyebrow) { color: #aaa095; line-height: 1.8; }
.form-card { padding: 30px; background: #171612; border: 1px solid rgba(224, 188, 117, .2); box-shadow: var(--shadow); }
.form-card.wide { max-width: 800px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 17px; }
.form-page { padding: 0 8% 120px; }
.form-error { max-width: 800px; margin: 20px auto; color: var(--danger); }
.message-page { max-width: 700px; margin: 0 auto; padding: 170px 8%; }
.message-page p:not(.eyebrow) { color: var(--muted); margin-bottom: 25px; }

/* Client portal */
.client-hero { max-width: 1320px; margin: 0 auto; padding: 100px 8% 50px; display: flex; justify-content: space-between; align-items: start; gap: 30px; }
.client-hero h1 { margin-bottom: 18px; }
.client-dashboard { max-width: 1320px; margin: 0 auto; padding: 0 8% 120px; }
.client-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 27px; }
.client-summary article { padding: 26px; background: linear-gradient(135deg, #231c11, #12110e); border: 1px solid var(--line); color: var(--ink); }
.client-summary p { margin: 0 0 8px; color: #a99b87; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.client-summary strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.client-grid, .admin-two-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 22px; margin-bottom: 22px; }
.client-section { padding: 29px; background: #13120f; border: 1px solid rgba(224, 188, 117, .14); }
.client-section h2 { font-size: 2.35rem; }
.profile-card { background: #171410; }
.client-profile-list { margin: 0; }
.client-profile-list div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.client-profile-list div:last-child { border-bottom: 0; }
.client-profile-list dd { margin-top: 4px; text-align: left; }
.experience-list { display: grid; gap: 14px; }
.experience-card { display: flex; gap: 16px; padding: 13px; background: #1a1814; border: 1px solid rgba(224, 188, 117, .12); }
.experience-card img { width: 116px; height: 95px; object-fit: cover; border: 1px solid var(--line); }
.experience-card h3 { margin: 0 0 8px; }
.experience-card p:not(.eyebrow) { margin: 3px 0; color: var(--muted); font-size: .9rem; }
.history-table { display: grid; }
.history-table article { display: grid; grid-template-columns: 1fr 150px 180px; gap: 16px; padding: 17px 0; border-bottom: 1px solid rgba(224, 188, 117, .13); }
.history-table article:last-child { border-bottom: 0; }
.history-table small { display: block; margin-top: 4px; color: var(--muted); font-size: .79rem; }
.table-name-link:hover strong { color: var(--gold); }
.client-support { max-width: 1320px; margin: 0 auto 100px; padding: 38px 8%; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #17130e; border: 1px solid var(--line); }
.client-support h2 { margin-bottom: 10px; font-size: 2.4rem; }
.client-support p:not(.eyebrow) { margin: 0; max-width: 650px; color: var(--muted); }

/* Admin / private workspace */
.admin-shell { display: grid; grid-template-columns: 255px minmax(0, 1fr); min-height: 100vh; background: #0b0b0a; }
.admin-sidebar { padding: 30px 21px; display: flex; flex-direction: column; background: #14120e; border-right: 1px solid var(--line); color: #d6cbbd; }
.admin-sidebar .brand { color: #fff; }
.admin-sidebar nav a { padding: 11px; border: 1px solid transparent; border-radius: 0; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.admin-sidebar nav { display: grid; gap: 4px; }
.admin-sidebar nav a.active, .admin-sidebar nav a:hover { background: rgba(212, 173, 103, .1); border-color: rgba(212, 173, 103, .22); color: var(--gold-bright); }
.admin-user { margin: 35px 10px 13px; color: #8e8377; font-size: .77rem; }
.admin-sidebar-bottom { margin-top: auto; display: grid; gap: 16px; padding: 18px 10px 0; font-size: .78rem; }
.admin-sidebar-bottom button { padding: 0; border: 0; background: transparent; color: #b9ada0; font: inherit; text-align: left; }
.admin-content { min-width: 0; padding: 47px; }
.admin-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 38px; }
.admin-page-heading h1 { margin-bottom: 12px; font-size: clamp(2.8rem, 5vw, 5.5rem); }
.admin-page-heading p:not(.eyebrow) { max-width: 650px; color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-grid article { padding: 23px; background: #141310; border: 1px solid rgba(224, 188, 117, .16); }
.stat-grid p { margin: 0; color: var(--muted); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.stat-grid strong { font-family: var(--serif); font-size: 2.5rem; font-weight: 500; }
.admin-panel { padding: 27px; background: #13120f; border: 1px solid rgba(224, 188, 117, .14); margin-bottom: 26px; }
.admin-panel h2 { font-size: 2rem; }
.table-wrap { overflow: auto; padding: 0; }
table { width: 100%; border-collapse: collapse; min-width: 700px; }
th, td { padding: 15px 18px; border-bottom: 1px solid rgba(224, 188, 117, .12); text-align: left; font-size: .82rem; vertical-align: middle; }
th { color: var(--muted); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
td small { display: block; margin-top: 4px; color: var(--muted); }
.table-product { display: flex; align-items: center; gap: 12px; }
.table-product img { width: 52px; height: 42px; object-fit: cover; border: 1px solid var(--line); }
.table-actions { display: flex; gap: 10px; align-items: center; }
.table-actions a, .table-actions button { border: 0; background: transparent; color: var(--gold); font: inherit; font-size: .78rem; }
.status { padding: 5px 8px; border: 1px solid var(--line); border-radius: 0; background: rgba(224, 188, 117, .07); color: #b9aa95; font-size: .7rem; }
.status-live { background: rgba(112, 161, 112, .13); color: #bbd7b9; }
.product-form { max-width: 900px; }
.attribute-editor { padding: 18px; border: 1px solid var(--line); }
.attribute-editor p { color: var(--muted); font-size: .83rem; }
.attribute-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.text-button { border: 0; padding: 0; background: transparent; color: var(--gold); font-weight: 700; }
.checkbox-row { display: flex; gap: 22px; flex-wrap: wrap; margin: 20px 0; }
.checkbox-row label { display: flex; align-items: center; gap: 8px; }
.checkbox-row input { width: auto; accent-color: var(--gold); }
.existing-images { display: flex; gap: 10px; flex-wrap: wrap; margin: -4px 0 20px; }
.existing-images img { width: 105px; height: 85px; object-fit: cover; border: 1px solid var(--line); }
.admin-three-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.record-list { display: grid; gap: 10px; margin-top: 25px; }
.record-list article { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.record-list img { width: 40px; height: 40px; object-fit: cover; border: 1px solid var(--line); }
.record-list small { display: block; color: var(--muted); }
.notification-list { display: grid; gap: 0; }
.notification-list article { padding: 17px 0; border-bottom: 1px solid var(--line); }
.notification-list article:last-child { border-bottom: 0; }
.notification-list p { margin: 5px 0; color: var(--muted); }
.notification-list time, .notification-list small { color: var(--muted); font-size: .8rem; }
.notification-list pre { max-height: 240px; overflow: auto; padding: 12px; background: #0d0d0b; border: 1px solid var(--line); font-size: .75rem; }
.referral-list { display: grid; gap: 18px; }
.referral-card { display: grid; grid-template-columns: 1fr 280px; gap: 25px; padding: 22px; border: 1px solid var(--line); }
.referral-card h2 { font-size: 1.7rem; }
.referral-card p:not(.eyebrow) { margin-bottom: 8px; color: #afa399; }

.login-page { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: radial-gradient(circle at 50% 0%, rgba(212, 173, 103, .2), transparent 30rem), #0b0b0a; }
.login-card { width: min(460px, 100%); padding: 40px; background: #151310; border: 1px solid var(--line); box-shadow: var(--shadow); }
.login-card .brand { margin-bottom: 43px; }
.login-card .brand-logo { width: 190px; height: 70px; }
.login-card h1 { font-size: 3.5rem; }
.login-card p:not(.eyebrow) { color: var(--muted); }

/* Legal, search and fallback states */
.legal-page { max-width: 1160px; margin: 0 auto; padding: 35px 8% 120px; }
.legal-content { max-width: 850px; margin: 0 auto; }
.legal-content article { display: grid; grid-template-columns: 72px 1fr; gap: 22px; padding: 29px 0; border-top: 1px solid var(--line); }
.legal-content article span { color: var(--gold); font-family: var(--serif); font-size: 1.9rem; }
.legal-content h2 { margin: 0 0 10px; font-size: 2rem; }
.legal-content p { max-width: 700px; margin: 0; color: var(--muted); }
.legal-note { margin-top: 35px !important; padding: 17px; background: #17130e; border: 1px solid var(--line); font-size: .86rem; }
.not-found-page { max-width: 1140px; margin: 0 auto; padding: 140px 8% 65px; display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 70px; }
.not-found-code { color: #2b2115; font-family: var(--serif); font-size: clamp(9rem, 21vw, 18rem); line-height: .7; letter-spacing: -.12em; }
.not-found-page h1 { margin-bottom: 18px; }
.not-found-page p:not(.eyebrow) { max-width: 560px; color: var(--muted); }
.not-found-links { max-width: 1060px; margin: 0 auto 120px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 8%; }
.not-found-links a { padding: 19px; background: #151310; border: 1px solid var(--line); text-align: center; font-size: .78rem; transition: transform .2s ease, color .2s ease; }
.not-found-links a:hover { color: var(--gold-bright); transform: translateY(-3px); }
.notification-settings { background: linear-gradient(120deg, #1d160d, #12110e); color: #fff; }
.notification-settings h2 { margin-bottom: 10px; }
.notification-settings p:not(.eyebrow) { max-width: 620px; color: #d1c4b4; }
.notification-settings .button { background: linear-gradient(110deg, var(--gold), var(--gold-bright)); border-color: var(--gold); color: #17130d; }
.notification-count { padding: 7px 10px; border: 1px solid var(--line); background: rgba(212, 173, 103, .08); color: var(--muted); font-size: .75rem; }
.notification-list.visual { gap: 12px; }
.notification-card { display: grid; grid-template-columns: 40px 1fr; gap: 13px; padding: 18px; border: 1px solid var(--line); background: #171612; }
.notification-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #241c11; color: var(--gold-bright); font-weight: 800; }
.type-contact .notification-icon { background: rgba(93, 133, 93, .14); color: #b9d5b3; }
.type-client .notification-icon { background: rgba(109, 87, 147, .16); color: #d2bff3; }
.type-rental .notification-icon { background: rgba(188, 139, 65, .16); color: #f0d293; }

.mobile-dock { display: none; }
.language-switcher { display: inline-flex; align-items: center; margin-left: .25rem; }
.language-switcher select { appearance: none; border: 1px solid rgba(196, 164, 102, .55); border-radius: 0; background: #151310; color: #f8f4ed; padding: .56rem 1.8rem .56rem .65rem; font: 600 .65rem/1 var(--sans); letter-spacing: .1em; cursor: pointer; }
.language-switcher select:focus { outline: 1px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1100px) {
  .site-header { padding: 19px 30px; }
  .hero { padding: 90px 6%; gap: 35px; }
  .hero-image-wrap { width: min(38vw, 400px); }
  .section, .manifesto-section { padding-left: 6%; padding-right: 6%; }
  .catalog-layout, .product-detail, .form-page, .client-dashboard { padding-left: 6%; padding-right: 6%; }
  .page-intro { padding-left: 6%; padding-right: 6%; }
}

@media (max-width: 960px) {
  .public-nav { gap: 17px; }
  .hero { min-height: 610px; padding-top: 78px; padding-bottom: 78px; }
  .hero h1 { font-size: clamp(3.2rem, 9vw, 6.3rem); }
  .hero-image-wrap { width: min(35vw, 310px); }
  .category-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .manifesto-section { grid-template-columns: 1fr; gap: 48px; }
  .manifesto-media { min-height: 390px; }
  .manifesto-media img { min-height: 390px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 15px; }
  .filter-heading, .filter-panel fieldset, .filter-panel button, .image-search-link { grid-column: 1 / -1; }
  .product-detail-grid, .inquiry-section { grid-template-columns: 1fr; gap: 40px; }
  .product-copy { padding-top: 0; }
  .main-product-image { height: 500px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { padding: 20px; display: block; }
  .admin-sidebar nav { display: flex; overflow: auto; margin-top: 18px; }
  .admin-sidebar nav a { white-space: nowrap; }
  .admin-user, .admin-sidebar-bottom { display: none; }
  .admin-content { padding: 30px; }
  .admin-three-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .site-header { align-items: center; padding: 17px 20px; }
  .brand-logo { width: 142px; height: 53px; }
  .public-nav { justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
  .public-nav > a:not(.button) { display: none; }
  .public-nav > a.button { min-height: 36px; padding: 9px 10px; font-size: .58rem; }
  .language-switcher select { padding: .55rem .6rem; font-size: .61rem; }
  .hero { min-height: 600px; padding: 78px 24px; display: block; background: linear-gradient(90deg, rgba(7, 7, 6, .98), rgba(7, 7, 6, .73)), radial-gradient(circle at 82% 55%, rgba(212, 173, 103, .28), transparent 21rem), #11100d; }
  .hero-content { max-width: none; }
  .hero h1 { font-size: clamp(3.25rem, 15vw, 5.8rem); }
  .hero-image-wrap { position: absolute; right: -25%; bottom: 25px; width: 73vw; height: 73vw; opacity: .52; }
  .hero-stamp { right: 22px; bottom: 30px; }
  .section { padding: 78px 24px; }
  .section-heading { margin-bottom: 31px; }
  .split { display: block; }
  .split .text-link { display: inline-block; margin-top: 18px; }
  .category-grid, .product-grid, .manifesto-points, .form-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 290px; }
  .manifesto-section { padding: 78px 24px; }
  .manifesto-media { min-height: 340px; } .manifesto-media img { min-height: 340px; padding: 25px; }
  .manifesto-points { gap: 16px; }
  .manifesto-points div { padding-bottom: 15px; border-bottom: 1px solid var(--line); }
  .cta-section { margin: 0 24px 78px; padding: 35px 28px; display: block; }
  .cta-section .button { margin-top: 22px; }
  .site-footer { padding: 40px 24px 105px; display: block; }
  .footer-links { justify-content: flex-start; margin-top: 28px; gap: 13px; }
  .page-intro { padding: 78px 24px 40px; }
  .catalog-layout, .product-detail, .form-page, .client-dashboard { padding-left: 24px; padding-right: 24px; }
  .filter-panel { grid-template-columns: 1fr; }
  .filter-heading, .filter-panel fieldset, .filter-panel button, .image-search-link { grid-column: auto; }
  .product-detail { padding-top: 28px; }
  .main-product-image { height: 370px; }
  .product-copy h1 { font-size: clamp(3.4rem, 15vw, 5rem); }
  .product-description { padding: 10px 24px 75px; }
  .inquiry-section { margin: 0 24px 78px; padding: 30px 24px; }
  .inquiry-section h2 { font-size: 2.9rem; }
  .client-hero { padding: 78px 24px 38px; display: block; }
  .client-hero form { margin-top: 15px; }
  .client-summary { grid-template-columns: 1fr; }
  .client-grid, .admin-two-grid { grid-template-columns: 1fr; }
  .client-support { margin: 0 24px 75px; padding: 30px 24px; display: block; }
  .client-support .button { margin-top: 20px; }
  .history-table article { grid-template-columns: 1fr; }
  .experience-card { display: block; }
  .experience-card img { width: 100%; height: 190px; margin-bottom: 12px; }
  .admin-content { padding: 25px 16px; }
  .admin-page-heading { display: block; }
  .admin-page-heading .button, .admin-page-heading .text-link { display: inline-flex; margin-top: 9px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .referral-card { grid-template-columns: 1fr; }
  .attribute-row { grid-template-columns: 1fr; }
  .login-card { padding: 30px 23px; }
  .login-card h1 { font-size: 3.2rem; }
  .legal-page { padding: 10px 24px 80px; }
  .legal-content article { grid-template-columns: 42px 1fr; gap: 14px; padding: 22px 0; }
  .legal-content h2 { font-size: 1.7rem; }
  .not-found-page { padding: 90px 24px 40px; grid-template-columns: 1fr; gap: 38px; }
  .not-found-code { font-size: 9rem; justify-self: start; }
  .not-found-links { grid-template-columns: 1fr; padding: 0 24px; margin-bottom: 80px; }
  .mobile-dock { position: fixed; z-index: 50; right: 12px; bottom: 12px; left: 12px; display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px; background: rgba(20, 18, 14, .96); backdrop-filter: blur(18px); border: 1px solid rgba(224, 188, 117, .24); box-shadow: 0 14px 35px rgba(0, 0, 0, .4); }
  .mobile-dock a { display: grid; place-items: center; gap: 3px; padding: 5px 2px; border-radius: 0; color: #a69b8e; font-size: .62rem; }
  .mobile-dock a span { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid transparent; font-family: var(--serif); font-size: .86rem; }
  .mobile-dock a.active { color: var(--gold-bright); }
  .mobile-dock a.active span { border-color: var(--gold); background: rgba(212, 173, 103, .11); }
  .mobile-dock small { font-size: .56rem; }
  .notification-card { grid-template-columns: 34px 1fr; padding: 14px; }
  .notification-icon { width: 32px; height: 32px; }
}

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

.notification-badge:not(:empty) { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 5px; padding: 0 5px; background: var(--gold); color: #17130d; font-size: .68rem; }
.rental-list { display: grid; gap: 16px; }
.rental-admin-card { display: grid; grid-template-columns: 1fr 280px; gap: 24px; padding: 20px; border: 1px solid var(--line); }
.rental-admin-card h3 { margin-bottom: 9px; }
.rental-admin-card p:not(.eyebrow) { margin: 6px 0; color: #afa399; }
.rental-admin-card form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.rental-admin-card form label:nth-last-of-type(1), .rental-admin-card form button { grid-column: 1 / -1; }
@media (max-width: 960px) { .rental-admin-card { grid-template-columns: 1fr; } .rental-admin-card form { max-width: 500px; } }
@media (max-width: 720px) { .rental-admin-card form { grid-template-columns: 1fr; } }

/* Journal manager */
.journal-admin-stats article { position: relative; }
.journal-admin-stats article .text-link { display: block; margin-top: 13px; font-size: .64rem; }
.journal-admin-panel { overflow: hidden; }
.journal-admin-toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) 190px auto; align-items: end; gap: 14px; margin-bottom: 20px; padding: 17px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.journal-admin-toolbar label { margin: 0; }
.journal-admin-toolbar > span { padding-bottom: 12px; color: var(--muted); font-size: .69rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.journal-admin-table td { vertical-align: middle; }
.journal-admin-title { display: flex; align-items: center; gap: 14px; min-width: 250px; }
.journal-admin-title img { width: 70px; height: 52px; object-fit: contain; border: 1px solid var(--line); background: #0d0d0b; }
.journal-admin-title strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.18rem; font-weight: 500; }
.journal-admin-title small { display: block; margin-top: 4px; color: var(--muted); font-size: .66rem; }
.journal-admin-table tr[hidden] { display: none; }
.journal-admin-empty { margin-top: 15px; padding: 25px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }
.journal-admin-empty[hidden] { display: none; }
.journal-form { display: grid; gap: 22px; }
.journal-form label { margin-bottom: 0; }
.journal-form label small, .journal-editor-help span, .current-cover small { display: block; color: var(--muted); font-size: .69rem; font-weight: 400; letter-spacing: 0; line-height: 1.55; }
.journal-editor-help { display: grid; gap: 5px; padding: 17px 19px; border-left: 2px solid var(--gold); background: rgba(212,173,103,.06); }
.journal-editor-help strong { color: var(--gold-bright); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.current-cover { display: flex; align-items: center; gap: 18px; padding: 15px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.current-cover img { width: 160px; height: 105px; object-fit: cover; background: #0d0d0b; }
.current-cover strong { display: block; margin-bottom: 5px; }
.journal-media-library { padding-top: 10px; }
.media-library-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.media-library-item { padding: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.media-library-item img { width: 100%; height: 110px; margin-bottom: 9px; object-fit: cover; background: #0d0d0b; }
.media-library-item input { margin-bottom: 8px; font-size: .65rem; }
.form-actions { display: flex; align-items: center; gap: 20px; }
@media (max-width: 900px) { .journal-admin-toolbar { grid-template-columns: 1fr 1fr; } .journal-admin-toolbar > span { grid-column: 1 / -1; padding-bottom: 0; } .media-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .journal-admin-toolbar { grid-template-columns: 1fr; } .media-library-grid { grid-template-columns: 1fr; } .current-cover { align-items: flex-start; flex-direction: column; } }

/* Visual HTML editor */
.rich-editor-shell { overflow: hidden; border: 1px solid var(--line); background: #0d0d0b; }
.rich-editor-toolbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 10px; border-bottom: 1px solid var(--line); background: #17140f; }
.rich-editor-toolbar button, .rich-editor-toolbar select { min-height: 32px; padding: 6px 9px; border: 1px solid rgba(224,188,117,.2); background: transparent; color: var(--ink); font-size: .65rem; letter-spacing: .04em; }
.rich-editor-toolbar button:hover, .rich-editor-toolbar select:focus { border-color: var(--gold); color: var(--gold-bright); }
.rich-editor-toolbar select { max-width: 145px; }
.toolbar-divider { width: 1px; height: 23px; margin: 0 3px; background: var(--line); }
.rich-editor { min-height: 430px; padding: 25px; outline: 0; color: var(--ink); font-family: var(--serif); font-size: 1.15rem; line-height: 1.8; }
.rich-editor:empty::before { color: #736b62; content: attr(data-placeholder); pointer-events: none; }
.rich-editor:focus { box-shadow: inset 0 0 0 1px rgba(212,173,103,.35); }
.rich-editor h2, .rich-editor h3 { color: var(--gold-bright); }
.rich-editor blockquote { margin: 22px 0; padding: 14px 20px; border-left: 2px solid var(--gold); color: #d8c7a8; font-style: italic; }
.rich-editor figure { margin: 25px 0; }
.rich-editor figure img { max-width: 100%; height: auto; border: 1px solid var(--line); }
.rich-editor figcaption { margin-top: 6px; color: var(--muted); font-family: var(--sans); font-size: .72rem; }
.rich-editor-shell.is-source .rich-editor { min-height: 430px; background: #080807; color: #c9a96e; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .82rem; white-space: pre-wrap; }
.rich-editor-status { display: flex; justify-content: space-between; padding: 9px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }

/* Journal visual containment — prevents uploaded artwork from taking over the page */
.site-body { overflow-x: hidden; }
.journal-hero { display: grid; min-height: 430px; place-items: center; padding: 92px 24px 72px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 50% 35%, rgba(212,173,103,.12), transparent 36%), #0b0b0a; text-align: center; }
.journal-hero-inner { width: min(850px, 100%); }
.journal-hero h1 { max-width: 900px; margin: 18px auto 22px; font-size: clamp(3rem, 7vw, 7rem); }
.journal-hero .lead { max-width: 660px; margin: 0 auto; }
.journal-public-section { padding-top: 90px; padding-bottom: 120px; }
.journal-public-search input { width: 240px; border-width: 0 0 1px; border-color: var(--line); background: transparent; }
.journal-public-count { margin: 26px 0 15px; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.journal-public-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.journal-public-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); background: #13120f; transition: transform .24s ease, border-color .24s ease; }
.journal-public-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.journal-public-card[hidden] { display: none; }
.journal-public-card.is-featured { grid-column: span 2; }
.journal-public-media { position: relative; display: flex; width: 100%; height: 245px; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(circle at center, rgba(212,173,103,.12), transparent 58%), #0e0d0c; }
.journal-public-card.is-featured .journal-public-media { height: 330px; }
.journal-public-media img { display: block; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; padding: 32px; object-fit: contain !important; object-position: center; }
.journal-public-media span { position: absolute; right: 17px; bottom: 14px; color: var(--gold-bright); font-size: .61rem; letter-spacing: .14em; text-transform: uppercase; }
.journal-public-copy { padding: 26px; }
.journal-public-copy h2 { margin: 8px 0 12px; font-size: clamp(2rem, 3vw, 3.8rem); }
.journal-public-copy > p:not(.eyebrow) { min-height: 52px; color: var(--muted); }
.journal-public-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--line); }
.journal-public-footer small { color: var(--muted); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.journal-empty { display: grid; grid-column: 1 / -1; justify-items: center; gap: 10px; padding: 64px 22px; text-align: center; }
.journal-empty img { width: 116px !important; height: 76px !important; max-width: 116px !important; object-fit: contain !important; opacity: .72; }
.journal-empty strong { color: var(--ink); font-family: var(--serif); font-size: 1.9rem; font-weight: 500; }
.journal-search-empty[hidden] { display: none; }
.journal-post-hero { padding: 104px 24px 76px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 50% 32%, rgba(212,173,103,.12), transparent 38%), #0b0b0a; text-align: center; }
.journal-post-hero-inner { width: min(980px, 100%); margin: 0 auto; }
.journal-post-hero h1 { max-width: 900px; margin: 18px auto 18px; font-size: clamp(3.2rem, 6vw, 6.6rem); }
.journal-post-meta { display: flex; justify-content: center; gap: 18px; color: var(--muted); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; }
.journal-post-cover { width: min(820px, calc(100% - 20px)); height: min(410px, 48vw); min-height: 230px; margin: 46px auto 0; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at center, rgba(212,173,103,.14), transparent 60%), #0e0d0c; }
.journal-post-cover img { display: block; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: contain !important; object-position: center; }
.journal-post-mark { display: grid; width: min(350px, calc(100% - 30px)); height: 205px; place-items: center; margin: 46px auto 0; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at center, rgba(212,173,103,.14), transparent 60%), #0e0d0c; }
.journal-post-mark img { display: block; width: 68% !important; height: 68% !important; max-width: none !important; max-height: none !important; object-fit: contain !important; }
.journal-article { width: min(780px, calc(100% - 42px)); margin: 0 auto; padding: 54px 0 105px; }
.journal-article-tools, .journal-article-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.journal-article-body { color: var(--ink); font-family: var(--serif); font-size: 1.22rem; line-height: 1.8; overflow-wrap: anywhere; }
.journal-article-body h2, .journal-article-body h3 { margin: 2em 0 .6em; color: var(--gold-bright); line-height: 1.1; }
.journal-article-body p { margin: 0 0 1.35em; }
.journal-article-body img, .journal-article-body figure img { display: block; width: auto !important; max-width: min(100%, 650px) !important; height: auto !important; max-height: 500px !important; margin: 30px auto !important; object-fit: contain !important; border: 1px solid var(--line); }
.journal-article-body figure { max-width: 100%; margin: 30px 0; }
.journal-article-body figcaption { color: var(--muted); font-family: var(--sans); font-size: .7rem; text-align: center; }
.journal-article-footer { margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.reading-progress { position: fixed; z-index: 200; top: 0; left: 0; width: 0; height: 3px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright)); }
.journal-related { padding-top: 80px; padding-bottom: 110px; border-top: 1px solid var(--line); }
.journal-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.journal-related-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); background: #13120f; }
.journal-related-media { position: relative; display: grid; height: 180px; place-items: center; overflow: hidden; background: #0e0d0c; }
.journal-related-media img { display: block; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; padding: 30px; object-fit: contain !important; }
.journal-related-media span { position: absolute; right: 14px; bottom: 12px; color: var(--gold-bright); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; }
.journal-related-card h3, .journal-related-card p, .journal-related-card small { display: block; margin: 0; padding-right: 20px; padding-left: 20px; }
.journal-related-card h3 { padding-top: 20px; font-size: 1.75rem; }
.journal-related-card p { padding-top: 9px; color: var(--muted); font-size: .8rem; }
.journal-related-card small { padding-top: 17px; padding-bottom: 20px; color: var(--gold-bright); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 760px) {
  .journal-public-section { padding-top: 64px; }
  .journal-public-grid, .journal-related-grid { grid-template-columns: 1fr; }
  .journal-public-card.is-featured { grid-column: auto; }
  .journal-public-card.is-featured .journal-public-media { height: 245px; }
  .journal-public-search { width: 100%; }
  .journal-public-search input { width: 100%; }
  .journal-post-cover { width: 100%; height: 270px; }
  .journal-post-meta, .journal-article-tools, .journal-article-footer { align-items: flex-start; flex-direction: column; }
  .journal-article-body { font-size: 1.08rem; }
}
