/*
Theme Name: STAWIX
Theme URI: https://stawix.com
Author: STAWIX Foundry
Version: 1.0
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0c0c0c; --fg: #f0ede8; --dim: rgba(240,237,232,0.48);
  --dimmer: rgba(240,237,232,0.16); --rule: rgba(240,237,232,0.125);
  --pad: 32px; --nav-h: 48px; --f: 'Manifestor', Arial Black, sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--f); font-size: 13px; line-height: 1.5; overflow-x: hidden; font-variant-numeric: tabular-nums; }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 500; height: var(--nav-h); background: var(--bg); border-bottom: 1px solid var(--rule); display: flex; align-items: stretch; justify-content: space-between; padding-left: var(--pad); }
.nav-logo { font-size: 16px; font-weight: 800; letter-spacing: 0em; text-transform: uppercase; color: var(--fg); text-decoration: none; display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { display: block; width: auto; height: 16px; }
.nav-right { display: flex; align-items: stretch; }
.nav-right a, .nav-right button, .nav-right fontdue-cart-button, .nav-cart-wrap { font-family: var(--f); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); text-decoration: none; background: transparent; border: none; border-left: 1px solid var(--rule); padding: 0 18px; display: flex; align-items: center; gap: 6px; cursor: pointer; white-space: nowrap; font-weight: 400; transition: color 0.15s, background 0.15s; }
.nav-right a:hover, .nav-right button:hover, .nav-right fontdue-cart-button:hover, .nav-cart-fallback:hover { color: var(--fg); background: rgba(240,237,232,0.03); }
.nav-right a.active { color: var(--fg); font-weight: 600; }
.nav-cart-wrap { position: relative; padding: 0; }
.nav-cart-fallback { border: none; background: transparent; color: inherit; padding: 0 18px; min-height: 100%; display: flex; align-items: center; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; white-space: nowrap; }
.nav-cart-wrap fontdue-cart-button { position: absolute; inset: 0; opacity: 0; pointer-events: none; padding: 0; border: none; }
.nav-cart-wrap.is-ready fontdue-cart-button { opacity: 0; pointer-events: auto; }
.cart-n { background: var(--fg); color: var(--bg); font-size: 9px; font-weight: 700; padding: 1px 5px; }
.user-menu { display: none; position: relative; }
.is-logged-in .login-btn { display: none; }
.is-logged-in .user-menu { display: flex; align-items: stretch; }
.user-trigger { font-family: var(--f); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); background: transparent; border: none; border-left: 1px solid var(--rule); padding: 0 18px; display: flex; align-items: center; gap: 7px; cursor: pointer; font-weight: 400; transition: color 0.15s; }
.user-trigger:hover { color: var(--fg); font-weight: 600; }
.user-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fg); flex-shrink: 0; }
.user-dropdown { position: absolute; top: calc(100% + 1px); right: 0; background: var(--bg); border: 1px solid var(--rule); min-width: 180px; opacity: 0; pointer-events: none; transform: translateY(-4px); transition: opacity 0.15s, transform 0.15s; }
.user-menu:hover .user-dropdown { opacity: 1; pointer-events: all; transform: none; }
.user-dropdown a { display: block; padding: 10px 18px; font-family: var(--f); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); text-decoration: none; border-bottom: 1px solid var(--rule); transition: color 0.15s; font-weight: 400; cursor: pointer; }
.user-dropdown a:last-child { border-bottom: none; }
.user-dropdown a:hover { color: var(--fg); font-weight: 600; }
.user-dropdown a.signout { color: var(--dimmer); }

/* ── PAGE TOP ── */
.page-top { padding-top: var(--nav-h); }

/* ── HERO ── */
.hero-section { height: 100vh; display: flex; flex-direction: column; border-bottom: 1px solid var(--rule); overflow: hidden; }
.hero-section:first-of-type { padding-top: var(--nav-h); }
.info-bar { border-bottom: 1px solid var(--rule); padding: 10px var(--pad); display: grid; grid-template-columns: 1fr 1fr 1fr; flex-shrink: 0; }
.info-bar span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: inherit; font-weight: 400; }
.info-bar span:nth-child(2) { text-align: center; }
.info-bar span:nth-child(3) { text-align: right; }
.hero-type { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad) 10px; overflow: hidden; min-height: 0; }
.hero-line { font-family: var(--f); line-height: 0.87; letter-spacing: -0.025em; text-transform: uppercase; color: inherit; white-space: nowrap; display: block; font-weight: 1000; }
.hero-below { border-top: 1px solid var(--rule); padding: 20px var(--pad); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 24px; flex-shrink: 0; }
.hb-desc { font-size: 14px; line-height: 1.85; color: inherit; max-width: 340px; font-weight: 400; }
.hb-stats { display: flex; gap: 36px; justify-content: center; align-items: center; align-self: center; transform: translateY(-5%); }
.hb-stat-n { font-size: 5vw; line-height: 1; letter-spacing: -0.02em; font-weight: 100; text-align: center; }
.hb-stat-l { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: inherit; margin-top: 3px; font-weight: 400; text-align: center; }
.hb-cta-wrap { display: flex; justify-content: flex-end; }
.hb-cta { font-family: var(--f); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bg); background: var(--fg); padding: 13px 26px; text-decoration: none; display: inline-block; font-weight: 400; cursor: pointer; }
.hb-cta:hover { font-weight: 600; opacity: 0.85; }

/* ── SERVICES ── */
.services { border-bottom: 1px solid var(--rule); }
.service-cols { display: grid; grid-template-columns: repeat(3, 1fr); }
.s-col { padding: 44px var(--pad); border-right: 1px solid var(--rule); }
.s-col:last-child { border-right: none; }
.s-index { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); margin-bottom: 24px; font-weight: 400; }
.s-name { font-size: clamp(28px, 3vw, 44px); line-height: 0.9; letter-spacing: 0em; text-transform: uppercase; color: var(--fg); margin-bottom: 20px; font-weight: 700; }
.s-body { font-size: 14px; line-height: 1.85; color: var(--dim); margin-bottom: 28px; font-weight: 400; }
.s-body p + p { margin-top: 16px; }
.s-body a { color: var(--dim); text-decoration: none; font-weight: 500; }
.s-body a:hover { color: var(--fg); opacity: 1; }
.s-list { list-style: none; margin-bottom: 32px; }
.s-item { font-size: 13px; line-height: 1.5; color: rgba(240,237,232,0.38); padding: 8px 0; border-bottom: 1px solid var(--rule); display: flex; gap: 10px; align-items: baseline; font-weight: 400; }
.s-item:first-child { border-top: 1px solid var(--rule); }
.s-item::before { content: '—'; font-size: 10px; color: rgba(240,237,232,0.16); flex-shrink: 0; }
.s-link { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg); text-decoration: none; border-bottom: 1px solid rgba(240,237,232,0.28); padding-bottom: 2px; transition: border-color 0.15s; display: inline-block; cursor: pointer; font-weight: 400; }
.s-link:hover { border-color: var(--fg); font-weight: 600; }

/* ── FOOTER ── */
footer { padding: 36px var(--pad); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; border-top: 1px solid var(--rule); }
.f-logo { font-size: 16px; letter-spacing: 0em; text-transform: uppercase; color: var(--fg); font-weight: 800; }
.f-sub { font-size: 13px; letter-spacing: 0.08em; color: var(--dim); margin-top: 8px; font-weight: 400; }
.f-copy { font-size: 12px; color: var(--dim); margin-top: 6px; letter-spacing: 0.05em; }
.f-links { display: flex; gap: 24px; }
.f-links a { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--dim); text-decoration: none; transition: color 0.15s; font-weight: 400; cursor: pointer; }
.f-links a:hover { color: var(--fg); font-weight: 600; }



/* ══════════════════════════════
   CATALOG PAGE
   ══════════════════════════════ */

.filter-bar { border-bottom: 1px solid var(--rule); display: flex; align-items: stretch; height: 39px; overflow-x: auto; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-catalog-label { font-family: var(--f); font-size: 12px; line-height: 1; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); font-weight: 400; display: flex; align-items: center; padding: 0 24px 0 var(--pad); border-right: 1px solid var(--rule); flex-shrink: 0; }
.filter-btn { font-family: var(--f); font-size: 12px; line-height: 1; letter-spacing: 0.14em; text-transform: uppercase; background: transparent; border: none; border-right: 1px solid var(--rule); color: var(--dim); padding: 0 18px; cursor: pointer; font-weight: 400; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: color 0.15s; }
.filter-btn:hover { color: var(--fg); }
.filter-btn.active { color: var(--fg); font-weight: 600; }
.filter-search-wrap { margin-left: auto; display: flex; align-items: center; border-left: 1px solid var(--rule); flex-shrink: 0; }
.filter-search { background: transparent; border: none; outline: none; font-family: var(--f); font-size: 12px; line-height: 1; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg); padding: 0 20px; width: 180px; height: 100%; }
.filter-search::placeholder { color: var(--dim); }
.type-bar { border-bottom: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; height: 52px; padding: 0 var(--pad); }
.type-input { width: 100%; background: transparent; border: none; outline: none; font-family: var(--f); font-size: 16px; font-style: italic; font-weight: 300; color: var(--fg); text-align: center; letter-spacing: 0.05em; height: 52px; }
.type-input::placeholder { font-family: var(--f); font-style: italic; font-weight: 300; color: rgba(240,237,232,0.22); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp   { from { opacity: 0; transform: translateY(24px);  } to { opacity: 1; transform: translateY(0); } }
.font-card { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; cursor: default; transition: background 0.15s; min-height: 380px; }
.font-card:hover { background: rgba(240,237,232,0.06); }
.font-card.anim-pin   { animation: slideDown 0.35s ease; }
.font-card.anim-unpin { animation: slideUp   0.35s ease; }
.card-top { padding: 12px 20px; border-bottom: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; height: 44px; }
.card-meta { font-size: 11px; letter-spacing: 0.06em; color: var(--dim); font-weight: 400; display: flex; align-items: center; gap: 10px; }
.card-badge { font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--fg); border: 1px solid var(--rule); padding: 2px 8px; font-weight: 400; }
.card-badge--best-seller { color: #ff7a00; border-color: #ff7a00; background: #0c0c0c; }
.card-badge--recommended { color: #19e6f7; border-color: #19e6f7; background: #0c0c0c; }
.card-actions { display: flex; align-items: center; gap: 14px; }
.card-icon { background: transparent; border: none; color: var(--dim); cursor: pointer; padding: 0; transition: color 0.15s; display: flex; align-items: center; }
.card-icon:hover { color: var(--fg); }
.card-icon.pinned { color: var(--fg); }
.card-icon.blocked { opacity: 0.2; cursor: not-allowed; pointer-events: none; }
.card-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card-icon.cart-btn svg { width: 14px; height: 18px; fill: currentColor; stroke: none; }
.card-icon.pinned.pin-btn svg { fill: currentColor; }
.card-specimen { flex: 1; display: flex; align-items: center; justify-content: center; padding: 28px 24px; overflow: hidden; }
.card-name { line-height: 1; letter-spacing: -0.02em; color: inherit; text-align: center; word-break: break-word; font-variant-numeric: normal; }
.card-foot { border-top: 1px solid var(--rule); padding: 12px 20px; flex-shrink: 0; }
.card-foot-inner { display: flex; justify-content: space-between; align-items: baseline; }
.card-foot-name { font-size: 11px; color: var(--dim); font-weight: 400; }
.card-foot-year { font-size: 11px; color: var(--dim); font-weight: 400; }

/* ══════════════════════════════
   FONT DETAIL PAGE
   ══════════════════════════════ */

/* SECTION — shared */
.section { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-top: -1px; }
.section-header { padding: 14px var(--pad); border-bottom: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; }
.section-title { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--dim); font-weight: 400; }

/* CONTROL BAR */
.control-bar { border-bottom: 1px solid var(--rule); display: flex; align-items: center; height: 39px; overflow-x: auto; position: sticky; top: var(--nav-h); z-index: 100; background: var(--bg); }
.control-bar::-webkit-scrollbar { display: none; }
fontdue-store-modal .store-modal__container__overlay {
  z-index: 10040 !important;
}
fontdue-store-modal .store-modal__container__nav {
  background: var(--bg) !important;
  color: var(--fg) !important;
  border-bottom: 1px solid var(--rule) !important;
  height: 70px !important;
  display: grid !important;
  align-items: center !important;
  box-sizing: border-box !important;
  padding: 0 30px !important;
  z-index: 10060 !important;
}
fontdue-store-modal .store-modal__container__nav > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  align-self: center !important;
}
fontdue-store-modal .store-modal__container__title,
fontdue-store-modal .store-modal__container__buttons {
  display: flex !important;
  align-items: center !important;
  line-height: 1 !important;
}
fontdue-store-modal .store-modal__container__title {
  justify-content: center !important;
}
fontdue-store-modal .store-modal__container__buttons {
  justify-content: flex-end !important;
}
fontdue-store-modal .store-modal__container__back-button,
fontdue-store-modal .store-modal__container__cart-button,
fontdue-store-modal .store-modal__container__close-button {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
}
fontdue-store-modal .store-modal__container__body {
  padding-top: 60px !important;
  box-sizing: border-box !important;
}
fontdue-store-modal .store-modal__container__nav,
fontdue-store-modal .store-modal__container__nav button,
fontdue-store-modal .store-modal__container__nav a,
fontdue-store-modal .store-modal__container__nav div,
fontdue-store-modal .store-modal__container__nav span {
  color: var(--fg) !important;
}
fontdue-store-modal .store-modal__container__nav button:hover,
fontdue-store-modal .store-modal__container__nav a:hover,
fontdue-store-modal .store-modal__container__nav div:hover,
fontdue-store-modal .store-modal__container__nav span:hover {
  font-weight: 700 !important;
}
fontdue-store-modal .store-modal__container__cart-button:hover,
fontdue-store-modal .store-modal__container__cart-button:hover *,
fontdue-store-modal .store-modal__container__cart-button:hover svg,
fontdue-store-modal .store-modal__container__cart-button:hover svg * {
  color: #19e6f7 !important;
  fill: #19e6f7 !important;
  stroke: #19e6f7 !important;
}
fontdue-store-modal .store-modal__container__close-button:hover,
fontdue-store-modal .store-modal__container__close-button:hover *,
fontdue-store-modal .store-modal__container__close-button:hover svg,
fontdue-store-modal .store-modal__container__close-button:hover svg * {
  opacity: 0.8 !important;
}
fontdue-store-modal .store-modal__container__nav svg,
fontdue-store-modal .store-modal__container__nav svg * {
  fill: currentColor !important;
  stroke: currentColor !important;
}
.ctrl-item { display: flex; align-items: center; height: 39px; border-right: 1px solid var(--rule); padding: 0 16px; flex-shrink: 0; gap: 8px; }
.control-bar .ctrl-item:first-child { padding-left: var(--pad); }
.ctrl-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); font-weight: 400; flex-shrink: 0; }

.ctrl-select-wrap { position: relative; display: flex; align-items: center; }
.ctrl-select { background: transparent; border: none; outline: none; font-family: var(--f); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg); cursor: pointer; font-weight: 400; appearance: none; -webkit-appearance: none; padding-right: 18px; }
.ctrl-select option { background: #1a1a1a; color: var(--fg); }
.ctrl-select-arrow { position: absolute; right: 0; pointer-events: none; font-size: 12px; color: var(--fg); }
.ctrl-slider { -webkit-appearance: none; width: 100px; height: 1px; background: rgba(240,237,232,0.2); outline: none; cursor: pointer; }
.ctrl-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 11px; height: 11px; background: var(--fg); cursor: pointer; }
.ctrl-val { font-size: 12px; color: var(--dim); min-width: 32px; font-weight: 400; }
.ctrl-align { display: flex; }
.align-btn { background: transparent; border: 1px solid var(--rule); border-right: none; color: var(--dim); cursor: pointer; padding: 5px 8px; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.align-btn:last-child { border-right: 1px solid var(--rule); }
.align-btn.active { color: var(--fg); background: rgba(240,237,232,0.08); }
.align-btn:hover { color: var(--fg); }
.ctrl-buy { margin-left: auto; height: 39px; padding: 0 28px; background: var(--fg); color: var(--bg); border: none; border-left: 1px solid var(--rule); font-family: var(--f); font-size: 16px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; font-weight: 400; flex-shrink: 0; transition: opacity 0.15s; display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; }
.ctrl-buy:hover { opacity: 0.85; }

/* SPECIMEN */
.specimen-wrap { border-bottom: 1px solid var(--rule); color: inherit; }
.specimen-text { padding: 80px var(--pad) 100px; font-size: 120px; font-weight: 400; line-height: 1.1; color: var(--fg); outline: none; word-break: break-word; text-align: center; min-height: 280px; cursor: text; font-variant-numeric: normal; }
.specimen-text:empty::before { content: attr(data-placeholder); color: var(--dimmer); pointer-events: none; }

/* VARIABLE AXES */
.variable-axes { border-top: 1px solid var(--rule); padding: 20px var(--pad); display: flex; justify-content: center; align-items: center; gap: 20px; }
.axis-label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--dim); font-weight: 400; }
.axis-slider { -webkit-appearance: none; width: 300px; height: 1px; background: rgba(240,237,232,0.2); outline: none; cursor: pointer; }
.axis-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 11px; height: 11px; background: var(--thumb-color, var(--fg)); cursor: pointer; }
.axis-val { font-size: 10px; color: var(--dim); min-width: 36px; font-weight: 400; }

/* ALL STYLES */
.styles-controls { padding: 0 var(--pad); border-bottom: 1px solid var(--rule); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; height: 48px; }
.styles-input { background: transparent; border: none; outline: none; font-size: 16px; font-weight: 400; color: var(--fg); flex: 1; min-width: 200px; height: 48px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.styles-input::placeholder { color: rgba(240,237,232,0.22); font-style: italic; font-family: var(--f); }
.ot-features { display: flex; gap: 5px; flex-wrap: wrap; }
.ot-btn { font-family: var(--f); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--rule); background: transparent; color: var(--dim); padding: 4px 10px; cursor: pointer; transition: all 0.15s; }
.ot-btn.active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.ot-btn:hover { color: var(--fg); }

.style-row { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--rule); align-items: center; min-height: 72px; transition: background 0.15s; }
.style-row:last-child { border-bottom: none; }
.style-row:hover { background: rgba(240,237,232,0.025); }
.style-row-label { padding: 16px 20px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); font-weight: 400; border-right: 1px solid var(--rule); height: 100%; display: flex; align-items: center; }
.style-row-specimen { padding: 16px 24px; font-size: 36px; line-height: 1.2; color: var(--fg); font-variant-numeric: normal; }

/* FONT INFO */
.font-info { padding: 56px var(--pad); display: flex; justify-content: center; gap: 80px; flex-wrap: wrap; }
.font-info-stat { text-align: center; }
.font-info-num { font-size: 72px; font-weight: 100; letter-spacing: -0.03em; line-height: 1; }
.font-info-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); font-weight: 400; margin-top: 6px; }

/* GLYPH TABLE */
.glyph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); padding: var(--pad); }
.glyph-cell { border: 1px solid var(--rule); margin: -0.5px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 4px 8px; cursor: pointer; transition: background 0.15s; min-height: 70px; }
.glyph-cell:hover { background: rgba(240,237,232,0.05); }
.glyph-cell.is-special { background: var(--fg); border-color: rgba(12,12,12,0.15); }
.glyph-cell.is-special .glyph-char { color: var(--bg); }
.glyph-cell.is-special .glyph-unicode { color: rgba(12,12,12,0.5); }
.glyph-cell.is-special:hover { background: rgba(240,237,232,0.85); }
.glyph-char { font-size: 30px; font-weight: 400; color: var(--fg); line-height: 1; margin-bottom: 4px; font-variant-emoji: text; -webkit-font-variant-emoji: text; unicode-bidi: plaintext; }
.glyph-unicode { font-size: 8px; letter-spacing: 0.05em; color: var(--dimmer); font-weight: 400; text-transform: uppercase; }

/* GLYPH TOOLTIP */
.glyph-tooltip { position: fixed; width: 200px; height: 280px; background: var(--bg); border: 1px solid rgba(240,237,232,0.3); display: none; flex-direction: column; align-items: center; justify-content: center; z-index: 999; pointer-events: none; overflow: hidden; }
.glyph-tooltip.visible { display: flex; }
.glyph-tooltip-char { font-size: 130px; font-weight: 400; color: var(--fg); line-height: 1; position: relative; z-index: 2; }
.glyph-tooltip-lines { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.glyph-tooltip-baseline  { position: absolute; left: 0; right: 0; height: 1px; background: rgba(240,237,232,0.2); }
.glyph-tooltip-xheight   { position: absolute; left: 0; right: 0; height: 1px; background: rgba(240,237,232,0.2); }
.glyph-tooltip-capheight { position: absolute; left: 0; right: 0; height: 1px; background: rgba(240,237,232,0.2); }

/* FONTDUE GLYPH VIEWER */
fontdue-character-viewer {
  display: block;
  --character_viewer_sticky_top: 120px;
  padding-top: 20px;
}
fontdue-character-viewer .character-viewer__monitor__details {
  font-size: 12px;
  line-height: 1.6;
}
fontdue-character-viewer .character-viewer__block__name {
  font-size: 12px;
  line-height: 1.6;
}
fontdue-character-viewer .character-viewer__monitor__line {
  border-top-color: var(--rule);
  color: var(--dim);
}
fontdue-character-viewer .character-viewer__block__character-list > div {
  border-color: var(--rule);
}

/* TECH SPEC */
.tech-spec-grid { display: grid; grid-template-columns: 1fr 1fr; }
.tech-spec-row { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.tech-spec-row:nth-child(2n) { border-right: none; }
.tech-spec-label { padding: 14px 20px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); font-weight: 400; border-right: 1px solid var(--rule); }
.tech-spec-val { padding: 14px 20px; font-size: 13px; color: var(--fg); font-weight: 400; line-height: 1.6; }

/* ABOUT */
.about-wrap { padding: 24px var(--pad); }
.about-body { font-size: 15px; line-height: 1.95; color: rgba(240,237,232,0.65); font-weight: 300; white-space: pre-line; }
.about-body p { margin-bottom: 1em; }
.about-body p:last-child { margin-bottom: 0; }

/* GALLERY */
.gallery-section { position: relative; border-bottom: none; padding-bottom: 0; }
.gallery-frame { position: absolute; inset: 0 0 32px; z-index: 2; pointer-events: none; }
.gallery-nav-btn { width: 55px; height: 55px; border: 1px solid var(--rule); background: rgba(12,12,12,0.75); color: var(--fg); font-family: var(--f); font-size: 30px; line-height: 1; cursor: pointer; transition: color 0.15s, background 0.15s, opacity 0.15s; opacity: 0.75; display: inline-flex; align-items: center; justify-content: center; }
.gallery-nav-btn:hover:not(:disabled) { opacity: 1; background: rgba(12,12,12,0.92); }
.gallery-nav-btn:disabled { opacity: 0.28; cursor: default; }
.gallery-nav-btn--overlay { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; pointer-events: auto; }
.gallery-nav-btn--prev { left: calc(var(--pad) + 152px); }
.gallery-nav-btn--next { right: calc(var(--pad) + 152px); }
.font-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(32.5vw, 400px); gap: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 32px var(--pad) 32px; cursor: grab; }
.font-gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.font-gallery::-webkit-scrollbar { display: none; }
.font-gallery__slide { scroll-snap-align: start; margin: 0; border: 1px solid var(--rule); background: rgba(240,237,232,0.02); aspect-ratio: 2 / 1; overflow: hidden; cursor: pointer; }
.font-gallery__slide img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; pointer-events: none; }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 9000; display: none; align-items: center; justify-content: center; background: rgba(12,12,12,0.8); }
.lightbox.is-open { display: flex; }
.lightbox__img-wrap { position: relative; max-width: 90vw; max-height: 90vh; display: flex; align-items: center; justify-content: center; }
.lightbox__img { max-width: 90vw; max-height: 90vh; object-fit: contain; display: block; user-select: none; }
.lightbox__close { position: fixed; top: 24px; right: 24px; background: transparent; border: 1px solid var(--rule); color: var(--fg); font-family: var(--f); font-size: 18px; width: 40px; height: 40px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 9001; transition: background 0.15s; }
.lightbox__close:hover { background: rgba(240,237,232,0.08); }
.lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); background: transparent; border: 1px solid var(--rule); color: var(--fg); font-family: var(--f); font-size: 22px; width: 48px; height: 48px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 9001; transition: background 0.15s; }
.lightbox__nav:hover { background: rgba(240,237,232,0.08); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__nav:disabled { opacity: 0.24; cursor: default; }

/* EULA */
.eula-page { border-bottom: 1px solid var(--rule); }
.eula-meta-bar { border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding: 10px var(--pad); }
.eula-meta-bar span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); font-weight: 400; }
.eula-meta-bar span:nth-child(2) { text-align: center; color: var(--dim); }
.eula-meta-bar span:nth-child(3) { text-align: right; }
.eula-hero { min-height: 364px; border-bottom: 1px solid var(--rule); padding: 80px var(--pad) 85px; display: flex; flex-direction: column; justify-content: flex-start; }
.eula-kicker { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.eula-hero h1 { font-size: clamp(52px, 9vw, 110px); line-height: 0.82; letter-spacing: -0.025em; font-weight: 900; max-width: 980px; }
.eula-hero p:last-child { max-width: 560px; margin-top: 24px; font-size: 15px; line-height: 1.8; color: var(--dim); font-weight: 400; }
.eula-jump { min-height: 44px; border-bottom: 1px solid var(--rule); display: flex; align-items: stretch; overflow-x: auto; }
.eula-jump::-webkit-scrollbar { display: none; }
.eula-jump a { display: flex; align-items: center; border-right: 1px solid var(--rule); padding: 0 20px; color: var(--dim); text-decoration: none; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; transition: color 0.15s, background 0.15s; }
.eula-jump a:hover { color: var(--fg); background: rgba(240,237,232,0.03); }
.eula-layout { display: grid; grid-template-columns: 260px 1fr; align-items: start; }
.eula-toc { position: sticky; top: var(--nav-h); min-height: calc(100vh - var(--nav-h)); border-right: 1px solid var(--rule); padding: 24px 0; }
.eula-toc a { display: block; padding: 11px var(--pad); color: var(--dim); text-decoration: none; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; transition: color 0.15s, background 0.15s; }
.eula-toc a:hover { color: var(--fg); background: rgba(240,237,232,0.03); }
.eula-content { min-width: 0; }
.eula-section { display: grid; grid-template-columns: 120px 1fr; gap: 40px; border-bottom: 1px solid var(--rule); padding: 44px var(--pad) 52px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.eula-section:last-child { border-bottom: none; }
.eula-num { color: var(--dimmer); font-size: 12px; letter-spacing: 0.2em; font-weight: 400; padding-top: 6px; }
.eula-section h2 { font-size: clamp(26px, 3vw, 44px); line-height: 0.95; letter-spacing: -0.01em; font-weight: 700; margin-bottom: 24px; }
.eula-section p { max-width: 780px; font-size: 15px; line-height: 1.9; color: rgba(240,237,232,0.64); font-weight: 300; margin-bottom: 16px; }
.eula-section p:last-child { margin-bottom: 0; }
.eula-section p a { color: rgba(240,237,232,0.64); font-weight: 500; text-decoration: none; }
.eula-section p a:hover { color: var(--fg); opacity: 1; }
.eula-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); margin: 0 0 24px; max-width: 780px; }
.eula-summary span { min-height: 52px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; align-items: center; padding: 0 16px; color: var(--fg); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.4; }

/* ABOUT / CONTACT */
.about-contact-page { border-bottom: 1px solid var(--rule); }
.about-contact-shell { padding: 32px; }
.about-contact-hero { padding: 32px var(--pad) 60px; border: 1px solid var(--rule); }
.about-contact-hero,
.about-contact-desc { scroll-margin-top: 80px; }
.about-contact-wall { max-width: 14ch; margin: 0; font-size: clamp(62px, 11vw, 170px); line-height: 0.9; letter-spacing: -0.055em; }
.about-contact-wall .w900 { font-weight: 900; }
.about-contact-wall .w700 { font-weight: 700; }
.about-contact-wall .w500 { font-weight: 500; }
.about-contact-wall .w300 { font-weight: 300; }
.about-contact-wall .w100 { font-weight: 100; }
.about-contact-lower { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; margin-top: 32px; }
.about-contact-desc,
.about-contact-contact,
.about-contact-extra { min-width: 0; padding: 30px var(--pad) 38px; border: 1px solid var(--rule); background: var(--bg); }
.about-contact-contact { display: flex; flex-direction: column; justify-content: flex-start; }
.about-contact-contact p,
.about-contact-contact a { margin: 0; font-size: 17px; line-height: 1.8; color: var(--dim); text-decoration: none; }
.about-contact-desc p { color: var(--fg); font-size: 17px; line-height: 1.85; }
.about-contact-desc p + p { margin-top: 16px; }
.about-contact-contact a { color: var(--fg); }
.about-contact-contact a:hover { opacity: 0.75; }

.about-contact-extra-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.about-contact-links { display: grid; gap: 6px; align-content: start; }
.about-contact-links-title { margin: 0 0 4px; font-size: 17px; line-height: 1.45; color: var(--fg); font-weight: 700; }
.about-contact-contact .about-contact-links-title { color: var(--fg); }
.about-contact-links a { margin: 0; font-size: 17px; line-height: 1.45; color: var(--dim); text-decoration: none; }
.about-contact-links a:hover { color: var(--fg); }
.about-contact-contact .about-contact-links p { color: var(--fg); }

.about-contact-socials { display: grid; gap: 6px; justify-items: end; align-content: start; text-align: right; }
.about-contact-socials a { margin: 0; font-size: 17px; line-height: 1.45; color: var(--dim); text-decoration: none; }
.about-contact-socials a:hover { color: var(--fg); }

/* ACCOUNT */
.account-page { min-height: calc(100vh - var(--nav-h)); border-bottom: 1px solid var(--rule); }
.account-meta-bar { border-bottom: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; padding: 10px var(--pad); text-align: center; }
.account-meta-bar span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); font-weight: 400; }
.account-hero { border-bottom: 1px solid var(--rule); padding: 80px var(--pad) 86px; }
.account-hero h1 { font-size: clamp(52px, 9vw, 132px); line-height: 0.86; letter-spacing: -0.025em; font-weight: 800; }
.account-layout { display: grid; grid-template-columns: minmax(0, 640px) 1fr; border-bottom: 1px solid var(--rule); }
.account-panel { min-height: 320px; border-right: 1px solid var(--rule); padding: 44px var(--pad) 52px; }
.account-login-shell { max-width: 460px; }
.account-panel fontdue-customer-login-form { display: block; max-width: 460px; color: var(--fg); font-family: var(--f); }
.account-panel .login-form__form { display: grid; gap: 18px; }
.account-panel .login-form__submitted { display: grid; gap: 10px; }
.account-panel .login-form__submitted p { font-size: 14px; line-height: 1.8; color: var(--dim); }
.account-panel .login-form__submitted p:first-child { color: var(--fg); font-weight: 600; }
.account-panel .text-field__label { display: grid; gap: 8px; color: var(--fg); font-family: var(--f); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 400; }
.account-panel .text-field__input-wrapper { display: block; }
.account-panel .text-field__prefix { display: none; }
.account-panel .text-field__input { width: 100%; height: 44px; background: transparent; border: 1px solid var(--rule); color: var(--fg); font-family: var(--f); font-size: 14px; letter-spacing: 0.03em; text-transform: none; padding: 0 14px; outline: none; border-radius: 0; }
.account-panel .text-field__input:focus { border-color: rgba(240,237,232,0.38); }
.account-panel .text-field__input::placeholder { color: var(--dimmer); }
.account-panel .submit-button { min-width: 184px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--rule); color: var(--dim); font-family: var(--f); font-size: 12px; letter-spacing: 0.14em; text-align: center; text-transform: uppercase; padding: 0 18px; cursor: not-allowed; font-weight: 400; border-radius: 0; transition: none; }
.account-panel fontdue-customer-login-form .submit-button:not(.is-email-ready),
.account-panel fontdue-customer-login-form .submit-button:not(.is-email-ready):hover,
.account-panel fontdue-customer-login-form .submit-button:not(.is-email-ready):focus { color: var(--dim) !important; border-color: var(--rule) !important; background: transparent !important; cursor: not-allowed !important; font-weight: 400 !important; }
.account-panel fontdue-customer-login-form .submit-button.is-email-ready { color: var(--fg); border-color: rgba(240,237,232,0.38); cursor: pointer; font-weight: 600; transition: color 0.15s, border-color 0.15s, background 0.15s; }
.account-panel fontdue-customer-login-form .submit-button.is-email-ready:hover { color: var(--fg); border-color: var(--fg); background: rgba(240,237,232,0.03); font-weight: 600; }
.account-panel .account-resend-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.account-panel .account-resend-btn { min-width: 184px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--rule); color: var(--dim); font-family: var(--f); font-size: 12px; letter-spacing: 0.14em; text-align: center; text-transform: uppercase; padding: 0 18px; cursor: pointer; font-weight: 400; border-radius: 0; transition: color 0.15s, border-color 0.15s, background 0.15s; }
.account-panel .account-resend-btn:hover { color: var(--fg); border-color: var(--fg); background: rgba(240,237,232,0.03); }
.account-panel .account-resend-btn.is-busy { color: var(--dim); border-color: var(--rule); cursor: wait; background: transparent; }
/* ── HAMBURGER MENU ── */
.nav-hamburger { display: none; background: transparent; border: none; color: var(--fg); font-size: 20px; cursor: pointer; padding: 0 18px; height: var(--nav-h); margin-left: auto; }
.mobile-menu { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--rule); z-index: 499; flex-direction: column; }
.mobile-menu.is-open { display: flex; }
.mobile-menu a { padding: 16px var(--pad); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); text-decoration: none; border-bottom: 1px solid var(--rule); font-weight: 400; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--fg); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  :root { --pad: 22px; }
  .hero-below { grid-template-columns: 1fr 1fr; }
  .hb-cta-wrap { grid-column: 1 / -1; justify-content: flex-start; }
  .service-cols { grid-template-columns: 1fr 1fr; }
  .s-col:nth-child(3) { grid-column: 1 / -1; border-right: none; border-top: 1px solid var(--rule); }
  footer { grid-template-columns: 1fr; }
  .f-links { flex-wrap: wrap; gap: 14px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-search { width: 120px; }
  
  .tech-spec-grid { grid-template-columns: 1fr; }
  .tech-spec-row { border-right: none; }
  .style-row { grid-template-columns: 130px 1fr; }
  .eula-layout { grid-template-columns: 1fr; }
  .eula-toc { display: none; }
  .eula-section { grid-template-columns: 84px 1fr; gap: 24px; }
  .eula-summary { grid-template-columns: 1fr; }
  .about-contact-lower { grid-template-columns: 1fr; }
  .about-contact-wall { max-width: 10ch; }
  .about-contact-extra-grid { grid-template-columns: 1fr; }
  .about-contact-socials { justify-items: start; text-align: left; }
  .account-layout { grid-template-columns: 1fr; }
  .account-panel { border-right: none; }
  .font-gallery { grid-auto-columns: minmax(35vw, 350px); }
}
@media (max-width: 640px) {
  :root { --pad: 16px; }
  .nav-hamburger { display: flex; align-items: center; }
  .nav-right { display: none; }
  .hero-type--crop .hero-line { font-size: 58vw !important; }
  .card-name { font-size: clamp(58px, 12vw, 88px) !important; }
  .info-bar { grid-template-columns: 1fr 1fr; }
  .info-bar span:nth-child(2) { display: none; }
  .hero-below { grid-template-columns: 1fr; gap: 12px; padding: 14px var(--pad); }
  .hb-stats { justify-content: flex-start; }
  .service-cols { grid-template-columns: 1fr; }
  .s-col { border-right: none; border-bottom: 1px solid var(--rule); padding: 28px var(--pad); }
  .s-col:last-child { border-bottom: none; }
  .catalog-grid { grid-template-columns: 1fr; }
  .filter-catalog-label { display: none; }
  .specimen-text { font-size: 52px; padding: 48px var(--pad) 64px; }
  .font-info { gap: 40px; }
  .font-info-num { font-size: 40px; }
  .eula-meta-bar { grid-template-columns: 1fr; gap: 6px; padding: 12px var(--pad); }
  .eula-meta-bar span:nth-child(2), .eula-meta-bar span:nth-child(3) { text-align: left; }
  .eula-hero { min-height: 300px; padding: 48px var(--pad) 40px; }
  .eula-section { grid-template-columns: 1fr; gap: 14px; padding: 34px var(--pad) 40px; }
  .eula-section h2 { margin-bottom: 18px; }
  .about-contact-shell { padding-left: 18px; padding-right: 18px; }
  .account-meta-bar { padding: 12px var(--pad); }
  .account-hero { padding: 48px var(--pad) 40px; }
  .account-panel { padding: 34px var(--pad) 40px; }
  .gallery-nav-btn { width: 50px; height: 50px; font-size: 27px; }
  .gallery-nav-btn--prev { left: calc(var(--pad) + 68px); }
  .gallery-nav-btn--next { right: calc(var(--pad) + 68px); }
  .font-gallery { grid-auto-columns: 47vw; }
}
.hero-type--crop { overflow: hidden; }
.hero-type--crop .hero-line { font-size: 26vw; white-space: nowrap; display: block; line-height: 0.85; text-align: center; }
.s-recent-link { color: var(--dim); text-decoration: none; transition: color 0.15s, font-weight 0s; }
.s-recent-link:hover { color: var(--fg); font-weight: 600; }

/* ── CUSTOM PAGE ── */
.custom-hero { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); min-height: 320px; }
.custom-hero__left { padding: 48px var(--pad); border-right: 1px solid var(--rule); display: flex; align-items: center; }
.custom-hero__title { font-size: clamp(52px, 7vw, 116px); font-weight: 900; color: var(--fg); letter-spacing: -0.045em; line-height: 0.82; }
.custom-hero__right { padding: 48px var(--pad); display: flex; flex-direction: column; justify-content: space-between; }
.custom-hero__desc { display: flex; flex-direction: column; gap: 20px; }
.custom-hero__desc p { font-size: 16px; line-height: 1.85; color: var(--dim); font-weight: 400; }
.custom-hero__stats { display: flex; gap: 32px; padding-top: 24px; border-top: 1px solid var(--rule); margin-top: 32px; }
.custom-hero__stat-n { font-size: 42px; font-weight: 100; color: var(--fg); letter-spacing: -0.02em; line-height: 1; }
.custom-hero__stat-l { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(240,237,232,0.25); margin-top: 4px; }
.custom-section-bar { height: 36px; border-bottom: 1px solid var(--rule); display: flex; align-items: center; padding: 0 var(--pad); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(240,237,232,0.25); }
.custom-row { display: grid; grid-template-columns: 3fr 1fr; border-bottom: 1px solid var(--rule); height: 160px; text-decoration: none; color: inherit; cursor: pointer; position: relative; overflow: hidden; }
.custom-row:hover .custom-row__name { opacity: 0.7; }
.custom-row--hover:hover .custom-row__name { opacity: 1; }
.custom-row--hover .custom-row__overlay { position: absolute; inset: 0; background-size: cover; background-position: center; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 1; pointer-events: none; }
.custom-row--hover:hover .custom-row__overlay { transform: translateY(0); }
.custom-row--hover:hover .custom-row__name,
.custom-row--hover:hover .custom-row__client,
.custom-row--hover:hover .custom-row__year,
.custom-row--hover:hover .custom-row__desc { position: relative; z-index: 2; transition: color 0.2s; }
.custom-row__specimen { padding: 20px var(--pad); border-right: 1px solid var(--rule); display: flex; align-items: center; }
.custom-row__name { font-size: clamp(32px, 4vw, 76px); font-weight: 900; color: inherit; letter-spacing: 0; line-height: 0.85; }

.custom-row__detail { padding: 16px 20px; display: flex; flex-direction: column; justify-content: space-between; }
.custom-row__client { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(240,237,232,0.2); line-height: 1.8; }
.custom-row__year { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(240,237,232,0.2); margin-bottom: 6px; }
.custom-row__desc { font-size: 11px; color: rgba(240,237,232,0.4); line-height: 1.6; }
.custom-cta { padding: 28px var(--pad); display: flex; align-items: center; justify-content: space-between; }
.custom-cta span { font-size: 13px; color: var(--dim); }
.custom-cta a { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg); text-decoration: none; border-bottom: 1px solid rgba(240,237,232,0.3); padding-bottom: 2px; }
.custom-cta a:hover { border-bottom-color: var(--fg); }

/* ── SINGLE CUSTOM FONT ── */
.csf-gallery { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--rule); }
.csf-gallery--free { grid-template-columns: repeat(3, 1fr); }
.csf-gallery__item { border-right: 1px solid var(--rule); overflow: hidden; aspect-ratio: 6/4; }
.csf-gallery__item:last-child { border-right: none; }
.csf-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.csf-specimen { padding: 56px var(--pad); text-align: center; border-bottom: 1px solid var(--rule); }
.csf-specimen__big { font-size: clamp(52px, 8vw, 96px); font-weight: 900; color: var(--fg); letter-spacing: -0.045em; line-height: 0.85; }
.csf-specimen__chars { font-size: clamp(16px, 2vw, 28px); font-weight: 400; color: var(--dim); margin-top: 24px; line-height: 1.6; }
.csf-specimen-b { display: grid; grid-template-columns: 2fr 1fr; border-bottom: 1px solid var(--rule); }
.csf-specimen-b__left { padding: 56px var(--pad); border-right: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; }
.csf-specimen-b__name { font-size: clamp(52px, 7vw, 140px); font-weight: 900; color: var(--fg); letter-spacing: -0.04em; line-height: 0.85; text-align: center; }
.csf-specimen-b__right { padding: 56px var(--pad); display: flex; align-items: center; justify-content: center; }
.csf-specimen-b__chars { font-size: clamp(14px, 1.5vw, 24px); font-weight: 400; color: var(--dim); line-height: 1.9; letter-spacing: 0.1em; text-align: center; }
.csf-rows { border-bottom: 1px solid var(--rule); }
.csf-row { padding: 30px var(--pad); border-bottom: 1px solid var(--rule); position: relative; min-height: 80px; display: flex; align-items: center; justify-content: center; }
.csf-row:last-child { border-bottom: none; }
.csf-row__label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--dim); font-family: var(--f); position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); }
.csf-row__text { font-size: clamp(36px, 5vw, 52px); color: var(--fg); letter-spacing: -0.03em; line-height: 1.4; display: block; text-align: center; width: 100%; white-space: nowrap; }
.csf-row__bar-wrap { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); width: 80px; display: flex; align-items: center; }
.csf-row__bar-track { width: 100%; height: 1px; background: rgba(240,237,232,0.15); position: relative; }
.csf-row__bar-thumb { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 9px; height: 9px; background: var(--fg); pointer-events: none; transition: left 0.05s linear; }
.csf-info { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--rule); }
.csf-info__col { padding: 20px var(--pad); border-right: 1px solid var(--rule); }
.csf-info__col:last-child { border-right: none; }
.csf-info__label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.csf-info__val { font-size: 14px; color: var(--fg); font-weight: 700; }
.csf-about { display: grid; grid-template-columns: 1fr 1fr; padding: 32px var(--pad); gap: 40px; border-bottom: 1px solid var(--rule); }
.csf-about__col { font-size: 14px; line-height: 1.85; color: var(--dim); }
.csf-links { padding: 20px var(--pad); display: flex; gap: 40px; flex-wrap: wrap; }
.csf-links a { font-size: 13px; color: rgba(240,237,232,0.7); text-decoration: none; border-bottom: 1px solid rgba(240,237,232,0.2); padding-bottom: 1px; transition: color 0.15s, border-color 0.15s; }
.csf-links a:hover { color: var(--fg); border-bottom-color: var(--fg); }
@media (max-width: 768px) {
  .csf-gallery { grid-template-columns: 1fr; }
  .csf-gallery__item { border-right: none; border-bottom: 1px solid var(--rule); }
  .csf-info { grid-template-columns: 1fr 1fr; }
  .csf-about { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 768px) {
  .custom-hero { grid-template-columns: 1fr; }
  .custom-hero__left { border-right: none; border-bottom: 1px solid var(--rule); min-height: auto; padding: 32px var(--pad); }
  .custom-row { grid-template-columns: 1fr; }
  .custom-row__specimen { border-right: none; border-bottom: 1px solid var(--rule); }
}
