@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Newsreader:ital,opsz,wght@0,6..72,400..700;1,6..72,400..700&family=Playfair+Display:ital,wght@0,600..900;1,600..900&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --paper: #f6f1e8;
  --paper-light: #fdfaf4;
  --paper-dark: #ebe3d3;
  --ink: #1a1613;
  --ink-secondary: #362e27;
  --muted: #5e5246;
  --terracotta: #a63a2a;
  --terracotta-hover: #8b2b1d;
  --olive: #3f5e4d;
  --line: rgba(26, 22, 19, 0.18);
  --line-strong: rgba(26, 22, 19, 0.38);
  --stamp-red: #a63a2a;
  --stamp-olive: #3f5e4d;
  --stamp-blue: #2a486a;
  --stamp-ink: #1a1613;
  --rule-double: 3px double rgba(26, 22, 19, 0.48);
  --rule-hairline: 1px solid rgba(26, 22, 19, 0.22);
  --rule-heavy: 2.5px solid var(--ink);
  --font-headline: 'Bebas Neue', Impact, sans-serif;
  --font-editorial: 'Newsreader', 'Playfair Display', Georgia, serif;
  --font-body: 'Newsreader', Georgia, serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;
  --font-sans: 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  mix-blend-mode: multiply;
}

body, button, a, input {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

svg, img {
  display: block;
  max-width: 100%;
}

::selection {
  background: #deb89e;
  color: #1a1613;
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 4px;
}

section, main {
  scroll-margin-top: 70px;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #ffffff;
  border: 1px solid #ffffff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.section-pad {
  padding-block: 56px;
}

/* Broadsheet Top Dateline Strip */
.broadsheet-top-strip {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 8px;
  flex-wrap: wrap;
  gap: 12px;
}

.top-strip-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.top-strip-meta span.meta-sep {
  color: var(--line-strong);
}

.status-badge-masthead {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--stamp-olive);
  font-weight: 700;
}

.status-pip {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--stamp-olive);
  animation: pulse-live 2.4s ease-in-out infinite;
}

/* Broadsheet Main Masthead with Ear Pieces */
.broadsheet-masthead {
  border-bottom: var(--rule-double);
  background: var(--paper);
}

.masthead-ear-grid {
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  align-items: center;
  gap: 24px;
  padding-block: 24px 20px;
  border-bottom: var(--rule-hairline);
}

.masthead-ear {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
  text-transform: uppercase;
  padding: 10px 14px;
  border: var(--rule-hairline);
  background: rgba(26, 22, 19, 0.02);
}

.masthead-ear strong {
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}

.masthead-center {
  text-align: center;
}

.masthead-lead-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 4px;
}

.masthead-newspaper-title {
  font-family: var(--font-headline);
  font-size: clamp(3.2rem, 8.5vw, 6.4rem);
  letter-spacing: 0.04em;
  line-height: 0.88;
  margin: 0;
  color: var(--ink);
  text-transform: uppercase;
}

.masthead-newspaper-sub {
  font-family: var(--font-editorial);
  font-size: 14.5px;
  font-style: italic;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.masthead-newspaper-sub::before,
.masthead-newspaper-sub::after {
  content: '';
  height: 1px;
  width: 44px;
  background: var(--line-strong);
}

/* Sticky Broadsheet Navigation Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(246, 241, 232, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 16px rgba(26, 22, 19, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  gap: 20px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wordmark-symbol {
  font-family: var(--font-headline);
  font-size: 26px;
  line-height: 1;
  color: var(--ink);
}

.wordmark-symbol span {
  color: var(--terracotta);
}

.wordmark-name {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav a {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: var(--muted);
  transition: color 0.18s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.main-nav a:hover {
  color: var(--ink);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border: 1px solid var(--ink);
  background: var(--paper-light);
}

.lang-switch a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.lang-switch a[aria-current='page'] {
  color: var(--terracotta);
}

.lang-switch span {
  color: var(--line-strong);
}

/* Front Page / Cover Story (Hero) */
.frontpage-section {
  padding-block: 36px 56px;
  border-bottom: var(--rule-double);
}

.frontpage-meta-deck {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  flex-wrap: wrap;
  gap: 10px;
}

.newspaper-lead-headline {
  font-family: var(--font-editorial);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 18px 0 14px;
  color: var(--ink);
  font-weight: 600;
}

.newspaper-lead-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta);
}

.newspaper-deck {
  font-family: var(--font-editorial);
  font-size: clamp(18px, 2.2vw, 24px);
  font-style: italic;
  line-height: 1.4;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 980px;
}

.newspaper-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 6px;
  border-top: var(--rule-double);
  border-bottom: var(--rule-hairline);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 10px;
}

.newspaper-byline-bar strong {
  color: var(--ink);
}

.frontpage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
}

.frontpage-visual {
  display: block;
}

.frontpage-column-text {
  padding-right: 28px;
  border-right: var(--rule-hairline);
}

.frontpage-column-text p {
  font-family: var(--font-body);
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink-secondary);
  margin: 0 0 16px;
}

.newspaper-dateline {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
}

.drop-cap {
  float: left;
  font-family: var(--font-editorial);
  font-size: 4.4em;
  line-height: 0.72;
  margin: 0.06em 0.12em 0 0;
  color: var(--ink);
  font-weight: 700;
}

.frontpage-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.frontpage-photo-frame {
  width: 100%;
  border: 2px solid var(--ink);
  background: var(--paper-light);
  padding: 8px;
  box-sizing: border-box;
}

.frontpage-photo-frame img {
  width: 100%;
  height: 210px;
  max-height: 210px;
  object-fit: cover;
  object-position: 62% 16%;
  filter: contrast(104%) saturate(96%);
  display: block;
}

.newspaper-cutline {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--muted);
}

.newspaper-cutline strong {
  color: var(--ink);
}

/* Buttons (Broadsheet Press Style) */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.18s ease, transform 0.16s ease, color 0.18s ease;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  background: var(--ink);
  color: #fff9f2;
  border: 1.5px solid var(--ink);
}

.button-primary:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #ffffff;
}

.button-outline {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: var(--paper-light);
}

.button-outline:hover {
  background: var(--ink);
  color: #fff9f2;
}

/* Black Inverted Banner Bars (Niccolò Miranda Signature) */
.newspaper-banner-bar {
  background: var(--ink);
  color: #fff9f2;
  padding: 8px 18px;
  font-family: var(--font-headline);
  font-size: 22px;
  letter-spacing: 0.14em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  border-block: 2px solid var(--ink);
}

.newspaper-banner-bar span.banner-star {
  color: var(--terracotta);
}

/* Rubber Stamps / Ink Classification */
.ink-stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px dashed currentColor;
  line-height: 1.2;
  transform: rotate(var(--stamp-angle, -1.8deg));
  transition: transform 0.22s ease;
  user-select: none;
}

.ink-stamp:hover {
  transform: rotate(0deg) scale(1.05);
}

.stamp-red {
  color: var(--stamp-red);
  border-color: var(--stamp-red);
  background: rgba(166, 58, 42, 0.08);
}

.stamp-olive {
  color: var(--stamp-olive);
  border-color: var(--stamp-olive);
  background: rgba(63, 94, 77, 0.08);
}

.stamp-blue {
  color: var(--stamp-blue);
  border-color: var(--stamp-blue);
  background: rgba(42, 72, 106, 0.08);
}

.stamp-ink {
  color: var(--stamp-ink);
  border-color: var(--stamp-ink);
  background: rgba(26, 22, 19, 0.08);
}

/* Special Feature Spread: Takar */
.special-feature-spread {
  border: 2px solid var(--ink);
  background: var(--paper-light);
  margin-bottom: 48px;
}

.special-feature-header {
  padding: 12px 28px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.special-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.special-feature-copy {
  padding: 36px 32px;
  border-right: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.special-feature-title {
  font-family: var(--font-headline);
  font-size: clamp(2.6rem, 4.8vw, 4.2rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  margin: 10px 0 8px;
  color: var(--ink);
}

.special-feature-deck {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 17px;
  color: var(--terracotta);
  line-height: 1.45;
  margin-bottom: 16px;
}

.special-feature-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-secondary);
  margin: 0;
}

.special-feature-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-block: 22px;
  padding-block: 16px;
  border-block: var(--rule-hairline);
}

.feature-col-box strong {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}

.feature-col-box span {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--terracotta);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 24px;
  height: 1px;
  background-color: currentColor;
}

.tech-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: var(--paper);
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.tech-tag img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}


/* Featured Takar Motion Showcase Screen */
.featured-visual {
  background: #f2ece0;
  border-left: 1px solid var(--line);
  padding: 32px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Featured Takar Motion Showcase Screen - Replicating localhost:4173/?guest=1 */
:root {
  --tk-paper: #f5f3ed;
  --tk-surface: #fffefa;
  --tk-ink: #202923;
  --tk-muted: #52635b;
  --tk-line: #d9ddd3;
  --tk-green: #315b45;
  --tk-green-dark: #234735;
  --tk-green-pale: #e7eee6;
  --tk-gold: #8a6500;
  --tk-gold-dark: #614700;
  --tk-gold-pale: #fff2bd;
  --tk-gold-border: #d7bd6a;
  --tk-rust: #a44b34;
  --tk-rust-pale: #f7eae3;
  --tk-rust-text: #8d3d29;
  --tk-font-brand: "Trebuchet MS", "Segoe UI", sans-serif;
  --tk-font-serif: Georgia, "Times New Roman", serif;
  --tk-font-ui: "Segoe UI Variable", "Segoe UI", -apple-system, sans-serif;
}

.featured-visual {
  background: #eae5d9;
  border-left: 1px solid var(--line);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.takar-demo-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid #bfc9bd;
  border-radius: 12px;
  background: #f5f3ed;
}

.takar-video-screen {
  position: relative;
  width: 100%;
  max-width: 470px;
  background: var(--tk-paper);
  border: 1px solid #bfc9bd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(32, 41, 35, 0.12);
  user-select: none;
  font-family: var(--tk-font-ui);
  color: var(--tk-ink);
}

/* Screen Topbar */
.demo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  background: var(--tk-paper);
  border-bottom: 1px solid var(--tk-line);
  min-height: 44px;
  box-sizing: border-box;
}

.demo-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--tk-font-brand);
  font-size: 16px;
  font-weight: 760;
  letter-spacing: -0.04em;
  color: var(--tk-green-dark);
  text-decoration: none;
}

.demo-brand-logo {
  width: 22px;
  height: 22px;
  flex: none;
  display: block;
}

.demo-brand-name {
  display: inline-flex;
  align-items: baseline;
}

.demo-brand-name span.brand-dot {
  color: inherit;
}

.demo-brand-mode {
  color: inherit;
  font-weight: 760;
  transition: color 0.22s ease;
}

.demo-mode-switch {
  display: flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--tk-line);
  border-radius: 6px;
  background: #eaece5;
}

.demo-mode-btn {
  padding: 3.5px 9px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--tk-muted);
  font-size: 10px;
  font-weight: 650;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.demo-mode-btn.is-active {
  background: var(--tk-surface);
  color: var(--tk-green-dark);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.demo-mode-btn.is-active-uang {
  background: var(--tk-surface);
  color: var(--tk-gold-dark);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.demo-btn-add {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4.5px 8.5px;
  border: 0;
  border-radius: 5px;
  background: var(--tk-green);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.22s ease;
}

.takar-video-screen[data-mode='uang'] .demo-btn-add {
  background: var(--tk-gold);
}

/* Account Bar (?guest=1) */
.demo-account-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 4px 12px 2px;
  background: var(--tk-paper);
}

.demo-account-guest {
  color: var(--tk-muted);
  font-size: 9px;
  font-weight: 500;
}

/* Views Wrapper */
.demo-views-wrapper {
  position: relative;
  height: 394px;
  background: var(--tk-paper);
  overflow: hidden;
}

.demo-view {
  position: absolute;
  inset: 0;
  padding: 4px 12px 10px;
  box-sizing: border-box;
}

.demo-view-uang {
  opacity: 0;
}

/* Takar Overview (4-column horizontal grid matching #barang-overview & .money-overview) */
.demo-overview {
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border-top: 1px solid var(--tk-ink);
  border-bottom: 1px solid var(--tk-line);
  margin-bottom: 7px;
}

.demo-overview-title h4 {
  margin: 0;
  font-family: var(--tk-font-serif);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--tk-ink);
}

.demo-metric-col {
  display: flex;
  flex-direction: column;
  gap: 1.5px;
  padding-left: 7px;
  border-left: 1px solid var(--tk-line);
  min-width: 0;
}

.demo-metric-num {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  color: var(--tk-ink);
  width: fit-content;
  transform-origin: left center;
}

.demo-metric-label {
  font-size: 8.5px;
  color: var(--tk-muted);
  line-height: 1.15;
}

/* Section Head (Barang kamu / Catatan uangmu) */
.demo-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.demo-section-head h5 {
  margin: 0;
  font-family: var(--tk-font-serif);
  font-size: 16.5px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--tk-ink);
}

.demo-section-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.demo-btn-shopping,
.demo-btn-outline-sm {
  height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 3.5px;
  padding: 0 7px;
  border: 1px solid #b9c9bc;
  border-radius: 5px;
  background: transparent;
  color: var(--tk-green-dark);
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.demo-btn-outline-gold {
  border-color: var(--tk-gold-border);
  color: var(--tk-gold-dark);
}

/* Toolbar */
.demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 7px;
}

.demo-search-box {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  flex: 1;
  min-width: 0;
  padding: 0 7px;
  border: 1px solid var(--tk-line);
  border-radius: 5px;
  background: var(--tk-surface);
  color: var(--tk-green);
  font-size: 10px;
}

.demo-search-box span.search-icon {
  font-size: 11px;
  color: var(--tk-green);
}

.demo-search-box span.search-text {
  color: #64746b;
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-filter-pills {
  display: flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--tk-line);
  border-radius: 5px;
  background: #eaece5;
  flex-shrink: 0;
}

.demo-filter-pill {
  padding: 2.5px 6px;
  border-radius: 3.5px;
  font-size: 8.5px;
  font-weight: 650;
  color: var(--tk-muted);
}

.demo-filter-pill.is-active {
  background: var(--tk-surface);
  color: var(--tk-green-dark);
  box-shadow: 0 1px 2px rgba(32, 41, 35, 0.08);
}

/* Real Takar Item Cards */
.demo-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.takar-item-card {
  background: var(--tk-surface);
  border: 1px solid var(--tk-line);
  border-radius: 8px;
  padding: 7px 9px;
  box-sizing: border-box;
}

.takar-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.takar-card-thumb {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 5px;
  background: var(--tk-green-pale);
  color: var(--tk-green);
  font-family: var(--tk-font-serif);
  font-size: 15px;
  font-weight: 500;
  display: grid;
  place-items: center;
}

.takar-card-info {
  flex: 1;
  min-width: 0;
}

.takar-card-name {
  margin: 0 0 1px;
  font-size: 11px;
  font-weight: 700;
  color: var(--tk-ink);
  letter-spacing: -0.01em;
}

.takar-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
}

.takar-card-cat {
  color: var(--tk-green);
  font-weight: 650;
}

.takar-card-loc {
  color: var(--tk-muted);
}

.takar-card-loc::before {
  content: "⌖ ";
  font-size: 9.5px;
}

.takar-status-badge {
  display: inline-flex;
  padding: 2px 5.5px;
  border-radius: 3.5px;
  font-size: 8.5px;
  font-weight: 700;
  flex: none;
  transition: all 0.2s ease;
}

.status-stock {
  background: var(--tk-green-pale);
  color: #285039;
}

.status-ready {
  background: var(--tk-rust-pale);
  color: var(--tk-rust-text);
}

.takar-unit-box,
.takar-card-body {
  margin-top: 5px;
  padding-top: 4px;
  border-top: 1px solid var(--tk-line);
}

.takar-unit-summary {
  font-size: 8.5px;
  font-weight: 650;
  color: var(--tk-green-dark);
  margin-bottom: 3px;
}

.takar-usage-head {
  display: flex;
  justify-content: space-between;
  font-size: 8.5px;
  color: var(--tk-muted);
  margin-bottom: 3px;
}

.takar-usage-head strong {
  color: var(--tk-ink);
  font-variant-numeric: tabular-nums;
}

.takar-slider-track {
  width: 100%;
  height: 5px;
  border-radius: 99px;
  background: var(--tk-green-pale);
  position: relative;
}

.takar-slider-fill {
  height: 100%;
  background: var(--tk-green);
  border-radius: 99px;
  width: 35%;
}

.takar-slider-thumb {
  position: absolute;
  top: 50%;
  left: 35%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tk-green);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px var(--tk-green);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Shopping Modal Dialog (#shopping-dialog) */
.demo-shopping-dialog,
.demo-purchase-dialog {
  position: absolute;
  inset: 0;
  background: rgba(24, 35, 29, 0.56);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  z-index: 25;
}

.demo-purchase-dialog {
  background: rgba(24, 35, 29, 0.36);
  z-index: 28;
}

.takar-dialog-card {
  background: var(--tk-surface);
  border: 1px solid #b9c9bc;
  border-radius: 10px;
  width: 100%;
  max-width: 396px;
  box-shadow: 0 18px 44px rgba(23, 38, 27, 0.25);
  overflow: hidden;
}

.takar-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 9px 12px 7px;
  border-bottom: 1px solid var(--tk-line);
  background: var(--tk-surface);
}

.takar-dialog-head h4 {
  margin: 0;
  font-family: var(--tk-font-serif);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--tk-ink);
}

.takar-dialog-subtitle {
  display: block;
  margin-top: 1px;
  font-size: 9px;
  color: var(--tk-muted);
}

.takar-dialog-close {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 4px;
  background: #eef0e9;
  color: var(--tk-green-dark);
  font-size: 13px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.takar-quick-add {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.8fr auto;
  gap: 4px;
  padding: 6px 12px;
  background: #eef0e9;
  border-bottom: 1px solid var(--tk-line);
  align-items: center;
}

.takar-quick-add .quick-input,
.takar-quick-add .quick-select,
.takar-quick-add .quick-price {
  height: 22px;
  padding: 0 6px;
  border: 1px solid #bbc8bb;
  border-radius: 3.5px;
  background: #ffffff;
  color: var(--tk-muted);
  font-size: 8px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
}

.takar-quick-add .quick-btn {
  height: 22px;
  padding: 0 7px;
  border-radius: 3.5px;
  background: var(--tk-green);
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.takar-dialog-list {
  padding: 2px 12px;
  display: flex;
  flex-direction: column;
}

.takar-dialog-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--tk-line);
  font-size: 10px;
}

.takar-dialog-row:last-child {
  border-bottom: 0;
}

.takar-row-left {
  display: flex;
  align-items: center;
  gap: 7px;
}

.takar-row-info {
  display: flex;
  flex-direction: column;
  gap: 1.5px;
}

.takar-row-info strong {
  font-size: 10px;
  color: var(--tk-ink);
}

.takar-row-meta {
  display: flex;
  align-items: center;
  gap: 5px;
}

.takar-row-loc {
  font-size: 8.5px;
  color: var(--tk-muted);
}

.takar-chk {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  border: 1.5px solid #6b7870;
  background: #ffffff;
  display: grid;
  place-items: center;
  font-size: 9px;
  color: transparent;
  font-weight: 700;
  flex: none;
  transition: all 0.16s ease;
}

.takar-chk.is-checked {
  border-color: var(--tk-green);
  background: var(--tk-green);
  color: #ffffff;
}

.takar-item-tag {
  font-size: 8px;
  padding: 1px 4.5px;
  border-radius: 2.5px;
  background: var(--tk-green-pale);
  color: var(--tk-green-dark);
  font-weight: 700;
}

.takar-row-price {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--tk-ink);
  font-size: 10px;
}

.takar-dialog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  border-top: 1px solid var(--tk-line);
  background: var(--tk-surface);
}

.takar-total-est {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--tk-green-dark);
}

.takar-btn-quiet {
  background: transparent;
  color: var(--tk-muted);
  border: 0;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 9.5px;
  font-weight: 700;
}

/* Purchase Confirmation Dialog (#purchase-dialog) */
.takar-purchase-card {
  background: var(--tk-surface);
  border: 1px solid #b9c9bc;
  border-radius: 10px;
  width: 100%;
  max-width: 310px;
  box-shadow: 0 22px 50px rgba(23, 38, 27, 0.32);
  overflow: hidden;
}

.takar-purchase-body {
  padding: 9px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.takar-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.takar-field-label {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--tk-ink);
}

.takar-field-label em {
  font-style: normal;
  color: var(--tk-rust);
}

.takar-money-input,
.takar-date-input {
  height: 25px;
  padding: 0 8px;
  border: 1px solid var(--tk-green);
  border-radius: 4px;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  color: var(--tk-ink);
}

.takar-money-input span {
  color: var(--tk-muted);
  font-size: 8.5px;
}

.takar-date-input {
  border-color: #bbc8bb;
  justify-content: space-between;
}

.takar-check-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 700;
  color: var(--tk-ink);
  margin-top: 2px;
}

.takar-purchase-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 7px 12px;
  border-top: 1px solid var(--tk-line);
}

.takar-btn-confirm {
  background: var(--tk-green);
  color: #fff;
  border: 0;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 9.5px;
  font-weight: 700;
}

/* Mode Uang View (?guest=1) */
.demo-money-head {
  margin-bottom: 5px;
}

.money-overview {
  border-top: 1px solid var(--tk-ink);
  border-bottom: 1px solid var(--tk-line);
  margin-bottom: 8px;
}

.money-metric-num {
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--tk-ink);
  white-space: nowrap;
}

.money-metric-num.pos {
  color: var(--tk-ink);
}

.demo-money-layout {
  display: grid;
  grid-template-columns: 1.38fr 1fr;
  gap: 12px;
  align-items: start;
}

.demo-ledger-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.demo-ledger-top strong {
  font-size: 10.5px;
  color: var(--tk-ink);
}

.demo-ledger-top span {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--tk-gold-dark);
}

.money-day-group {
  margin-bottom: 6px;
}

.money-day-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 8.5px;
  font-weight: 700;
  color: var(--tk-ink);
  padding: 3px 0;
  border-bottom: 1px solid var(--tk-gold-border);
}

.money-day-header span:last-child {
  font-weight: 500;
  color: var(--tk-muted);
}

.money-day-header strong {
  color: var(--tk-ink);
}

.money-tx-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  padding: 5px 3px;
  border-bottom: 1px solid var(--tk-line);
  border-radius: 4px;
}

.money-tx-info {
  min-width: 0;
}

.money-tx-title {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--tk-ink);
}

.money-tx-meta {
  font-size: 7.5px;
  color: var(--tk-muted);
  line-height: 1.3;
}

.money-tx-note {
  font-size: 8px;
  color: var(--tk-ink);
  margin-top: 1px;
}

.money-tx-right {
  text-align: right;
  flex-shrink: 0;
}

.money-tx-amount {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--tk-rust-text);
  font-variant-numeric: tabular-nums;
}

.money-tx-actions {
  display: inline-flex;
  gap: 5px;
  font-size: 7.5px;
  font-weight: 700;
  color: var(--tk-gold-dark);
  margin-top: 2px;
}

.money-tx-actions .del {
  color: var(--tk-rust-text);
}

.demo-money-analysis {
  min-width: 0;
}

.money-chart-title {
  margin: 0 0 2px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--tk-ink);
}

.money-chart-sub {
  font-size: 8px;
  color: var(--tk-muted);
  margin-bottom: 7px;
}

.money-cat-item {
  margin-bottom: 7px;
}

.money-chart-head {
  display: flex;
  justify-content: space-between;
  font-size: 8.5px;
  color: var(--tk-ink);
}

.money-chart-track {
  height: 5.5px;
  border-radius: 2.5px;
  background: var(--tk-gold-pale);
  margin-top: 3px;
  overflow: hidden;
}

.money-chart-bar {
  height: 100%;
  background: var(--tk-gold);
  border-radius: 2.5px;
}

.money-cat-pct {
  display: block;
  font-size: 7.5px;
  color: var(--tk-muted);
  margin-top: 2px;
}

/* Virtual Cursor */
.virtual-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
  pointer-events: none;
  transform: translate(320px, 220px);
}

.cursor-ripple {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(49, 91, 69, 0.45);
  transform: translate(-12px, -12px) scale(0);
  pointer-events: none;
}

/* Demo Toast */
.demo-toast {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: var(--tk-green-dark);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  z-index: 35;
  pointer-events: none;
}

.github-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--paper-light);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(44, 34, 27, 0.04);
}

.github-scroll-area {
  overflow-x: auto;
  padding-bottom: 8px;
}

.github-calendar-min {
  min-width: 960px;
  width: max-content;
  margin-inline: auto;
}

.contrib-months {
  margin-left: 44px;
  display: grid;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  min-height: 18px;
}

.contrib-month-label {
  white-space: nowrap;
}

.contrib-body {
  margin-top: 8px;
  display: flex;
  gap: 10px;
}

.contrib-weekdays {
  display: grid;
  grid-template-rows: repeat(7, 14px);
  gap: 4px;
  flex-shrink: 0;
  width: 34px;
  font-size: 11px;
  font-weight: 600;
  line-height: 14px;
  color: var(--muted);
}

.contrib-calendar {
  display: grid;
  grid-template-columns: repeat(53, 14px);
  grid-template-rows: repeat(7, 14px);
  grid-auto-flow: column;
  gap: 4px;
}

.contrib-cell {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(54, 40, 30, 0.1);
  background-color: #ebe4d6;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.contrib-cell[data-level='0'] {
  background-color: #ebe4d6;
}

.contrib-cell[data-level='1'] {
  background-color: #b7d1a8;
}

.contrib-cell[data-level='2'] {
  background-color: #7ea86b;
}

.contrib-cell[data-level='3'] {
  background-color: #567d46;
}

.contrib-cell[data-level='4'] {
  background-color: #355428;
}

.contrib-cell[data-active='true'],
.contrib-calendar .contrib-cell:hover {
  transform: scale(1.22);
  border-color: var(--ink);
  z-index: 2;
}

.github-card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.github-docs-link {
  color: var(--muted);
  transition: color 0.2s ease;
}

.github-docs-link:hover {
  color: var(--ink);
  text-decoration: underline;
}

.contrib-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contrib-tooltip {
  position: fixed;
  z-index: 120;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 10px));
  background: var(--ink);
  color: #fff9f2;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(44, 34, 27, 0.22);
  opacity: 0;
  transition: opacity 0.12s ease;
}

.contrib-tooltip[data-visible='true'] {
  opacity: 1;
}

.github-fallback-link {
  grid-column: 1 / -1;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--terracotta);
  font-size: 13.5px;
  font-weight: 650;
}

/* Section 02: Broadsheet 3-Column Risk Reports Spread (No cards!) */
.broadsheet-dispatch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--paper-light);
}

.dispatch-col {
  padding: 24px 20px;
  border-right: var(--rule-hairline);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dispatch-col:last-child {
  border-right: none;
}

.dispatch-header {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.dispatch-art {
  height: 130px;
  display: grid;
  place-items: center;
  background: #ede6d8;
  border: 1px solid var(--line-strong);
  margin-bottom: 14px;
  padding: 8px;
}

.dispatch-art svg {
  max-height: 110px;
  width: 90%;
}

.dispatch-title {
  font-family: var(--font-headline);
  font-size: 26px;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 10px;
}

.dispatch-p {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin: 0 0 14px;
  flex: 1;
}

.dispatch-footnote {
  padding: 8px 10px;
  background: var(--paper-dark);
  border-left: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 14px;
}

.dispatch-footnote strong {
  color: var(--ink);
}

/* Secondary 2-Column Wide Row */
.broadsheet-dispatch-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-light);
}

.broadsheet-dispatch-row-2 .dispatch-col:last-child {
  border-right: none;
}

.confidentiality-note {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--paper-dark);
  border: 1px solid var(--ink);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.confidentiality-note::before {
  content: 'NOTICE // CONFIDENTIAL DATA CLAUSE';
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 6px;
}

/* Section 03: Classified Technical Directory Table */
.classified-directory {
  border: 2px solid var(--ink);
  background: var(--paper-light);
}

.classified-dir-header {
  padding: 10px 18px;
  background: var(--ink);
  color: #fff9f2;
  font-family: var(--font-headline);
  font-size: 20px;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.classified-table-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  border-bottom: 1px solid var(--line-strong);
  padding: 18px 22px;
  gap: 24px;
  align-items: center;
}

.classified-table-row:last-child {
  border-bottom: none;
}

.classified-cat-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.classified-cat-desc {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.classified-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.classified-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.classified-pill-item img {
  width: 15px;
  height: 15px;
}

/* Section 04: Official Career Gazette */
.gazette-career-record {
  border: 2px solid var(--ink);
  background: var(--paper-light);
  padding: 28px;
}

.gazette-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: var(--rule-double);
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 14px;
}

.gazette-role-title {
  font-family: var(--font-headline);
  font-size: 34px;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 6px;
}

.gazette-role-company {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.gazette-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gazette-pillar-item {
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
}

.gazette-pillar-item strong {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
}

.gazette-pillar-item p {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-secondary);
  margin: 0;
}

/* Section 06: Editorial Op-Ed Column (Tentang) */
.editorial-oped-spread {
  border: 2px solid var(--ink);
  background: var(--paper-light);
  padding: 40px 36px;
}

.oped-headline {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-style: italic;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 16px;
  text-align: center;
}

.oped-byline {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-align: center;
  padding-bottom: 16px;
  border-bottom: var(--rule-double);
  margin-bottom: 24px;
}

.oped-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.oped-columns p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink-secondary);
  margin: 0 0 16px;
}

.oped-pullquote {
  padding: 18px 24px;
  border-block: var(--rule-double);
  margin-block: 20px 28px;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  line-height: 1.4;
  color: var(--terracotta);
  text-align: center;
}

/* Section 07: Telegraph Wire Inquiries (Kontak) */
.telegraph-inquiry-box {
  background: var(--ink);
  color: #fff9f2;
  padding: 40px 36px;
  border: 3px double rgba(255, 249, 242, 0.4);
}

.telegraph-title {
  font-family: var(--font-headline);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  letter-spacing: 0.08em;
  line-height: 0.95;
  color: #fff9f2;
  margin: 12px 0 14px;
}

.telegraph-desc {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 19px;
  line-height: 1.6;
  color: #d8cebe;
  margin-bottom: 28px;
  max-width: 820px;
}

.telegraph-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.button-telegraph {
  background: #fff9f2;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid #fff9f2;
}

.button-telegraph:hover {
  background: var(--terracotta);
  color: #fff9f2;
  border-color: var(--terracotta);
}

.contact-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #b5a899;
  text-transform: uppercase;
}

.contact-link {
  color: #fff9f2;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(255, 249, 242, 0.3);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.contact-link:hover {
  color: #deb89e;
  border-color: #deb89e;
}

/* Footer & Colophon */
.site-footer {
  padding-block: 48px 36px;
  border-top: var(--rule-double);
  font-size: 13px;
  color: var(--muted);
}

.broadsheet-colophon {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: var(--rule-hairline);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

.colophon-col strong {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}

.colophon-col p {
  margin: 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
}

.footer-inner strong {
  color: var(--ink);
}

.footer-inner a:hover {
  color: var(--terracotta);
}

/* Contextual Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.18s cubic-bezier(0.16, 1, 0.3, 1), height 0.18s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.18s ease, border-color 0.18s ease;
  display: none;
}

.custom-cursor-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fffaf2;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.custom-cursor.is-active-inspect {
  width: 60px;
  height: 60px;
  background: var(--ink);
  border-color: var(--ink);
}

.custom-cursor.is-active-inspect .custom-cursor-label {
  opacity: 1;
}

.custom-cursor.is-active-click {
  width: 32px;
  height: 32px;
  background: rgba(44, 34, 27, 0.12);
  border-color: var(--terracotta);
}

@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor .custom-cursor {
    display: block;
  }
}

/* Motion Reveal */
.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 960px) {
  .masthead-ear-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
  }
  .masthead-ear {
    display: none;
  }
  .frontpage-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .frontpage-visual {
    justify-content: center;
  }
  .frontpage-photo-frame {
    max-width: 260px;
    margin: 0 auto;
  }
  .frontpage-photo-frame img {
    height: 200px;
    max-height: 200px;
  }
  .frontpage-column-text {
    padding-right: 0;
    border-right: none;
    border-bottom: var(--rule-hairline);
    padding-bottom: 24px;
  }
  .special-feature-grid {
    grid-template-columns: 1fr;
  }
  .special-feature-copy {
    border-right: none;
    border-bottom: 2px solid var(--ink);
  }
  .broadsheet-dispatch-grid {
    grid-template-columns: 1fr;
  }
  .dispatch-col {
    border-right: none;
    border-bottom: var(--rule-hairline);
  }
  .broadsheet-dispatch-row-2 {
    grid-template-columns: 1fr;
  }
  .classified-table-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gazette-pillars-grid {
    grid-template-columns: 1fr;
  }
  .oped-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .broadsheet-colophon {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .container {
    width: calc(100% - 32px);
  }
  .section-pad {
    padding-block: 40px;
  }
  .header-inner {
    flex-wrap: wrap;
    min-height: 60px;
    padding-block: 8px;
  }
  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 16px;
    padding-top: 6px;
    border-top: var(--rule-hairline);
  }
  .main-nav::-webkit-scrollbar {
    display: none;
  }
  .special-feature-columns {
    grid-template-columns: 1fr;
  }
  .special-feature-copy {
    padding: 24px 18px;
  }
  .telegraph-inquiry-box {
    padding: 28px 20px;
  }
  .editorial-oped-spread {
    padding: 28px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .motion-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
