/* ===== A to Z Classified E-Paper — shared site styles ===== */

:root {
  --ink: #0E0D0B;
  --ink-soft: #171410;
  --card: #1B1814;
  --paper: #F4EEDE;
  --paper-dim: #C9C2AE;
  --brass: #CBA135;
  --brass-hi: #E8C765;
  --brass-dim: #8A6E23;
  --forest: #25493A;
  --forest-hi: #3C7259;
  --rust: #8B3A2B;
  --line-dark: rgba(244, 238, 222, 0.12);
  --line-light: rgba(14, 13, 11, 0.12);
  --line: #2A2A33;

  /* Aliases used by inner pages */
  --panel: #15151A;
  --panel-raised: #1B1B22;
  --gold: var(--brass-hi);
  --gold-soft: var(--brass-dim);
  --off: var(--paper);
  --muted: rgba(244, 238, 222, 0.55);
  --wa: #3FA66E;
  --wa-bg: rgba(63, 166, 110, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  padding: 5px;
  background: var(--ink);
  color: var(--off);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

h1, h2, h3, .display { font-family: 'Fraunces', serif; letter-spacing: -0.01em; }
.mono { font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.05em; }

::selection { background: var(--brass); color: var(--ink); }

/* grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== MARQUEE TICKER ===== */
.ticker {
  background: var(--ink); color: var(--paper-dim); overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
  padding: 9px 0;
}
.ticker-track { display: flex; width: max-content; animation: dc-scroll 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 28px;
}
.ticker-track span::after { content: "—"; color: var(--brass-dim); }
@keyframes dc-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ===== HEADER (brand row + nav row, merged into one component) ===== */
header.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgb(28 26 23 / 94%); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}
header.masthead.scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5); }

.masthead-brand-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px 6px 12px;
  transition: padding 0.3s ease;
}
header.masthead.scrolled .masthead-brand-row { padding: 10px 6px 8px; }
.launch-banner-logo { height: 130px; width: auto; justify-self: start; transition: height 0.3s ease; }
header.masthead.scrolled .launch-banner-logo { height: 92px; }
.launch-banner-text { grid-column: 2; text-align: center; }
.masthead-om-badge { height: 148px; width: auto; justify-self: end; transition: height 0.3s ease; }
header.masthead.scrolled .masthead-om-badge { height: 104px; }
.launch-banner-name {
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 32px;
  color: var(--paper); letter-spacing: 0.01em;
  text-shadow: 0 0 18px rgba(232, 199, 101, 0.3);
}
.launch-banner-tagline {
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--brass); margin-top: 9px;
}
.launch-banner-launch {
  position: relative;
  font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: 0.08em; font-style: italic;
  text-transform: uppercase; color: var(--paper-dim); margin-top: 11px; padding-top: 9px;
  transition: opacity 0.2s ease, max-height 0.2s ease, margin 0.2s ease;
}
.launch-banner-launch::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 30px; height: 1px; background: linear-gradient(90deg, transparent, var(--brass-dim), transparent);
}
header.masthead.scrolled .launch-banner-launch { display: none; }
@media (max-width: 560px) {
  .masthead-brand-row { grid-template-columns: minmax(56px, 1fr) auto minmax(56px, 1fr); gap: 8px; padding-left: 4px; padding-right: 4px; }
  .launch-banner-logo { height: 50px; }
  .launch-banner-name { font-size: 12px; }
  .launch-banner-tagline { font-size: 8px; }
  .launch-banner-launch { font-size: 7.5px; }
  .masthead-om-badge { height: 50px; justify-self: end; }
  header.masthead.scrolled .masthead-om-badge { height: 40px; }
}

.masthead-inner {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  padding: 13px 0; border-top: 1px solid var(--line-dark);
}
@media (max-width: 900px) {
  .masthead-inner { justify-content: space-between; }
}
@media (max-width: 560px) {
  .wrap.masthead-inner {
    padding: 10px 8px;
  }
}

nav.primary { display: flex; align-items: center; gap: 36px; }
nav.primary ul { display: flex; gap: 20px; list-style: none; }
nav.primary a {
  font-size: 13.5px; font-weight: 500; color: var(--paper-dim); position: relative; padding-bottom: 5px;
  transition: color 0.2s; white-space: nowrap;
}
nav.primary a:hover, nav.primary a.active { color: var(--paper); }
nav.primary a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--brass-hi);
  transition: width 0.25s ease;
}
nav.primary a:hover::after, nav.primary a.active::after { width: 100%; }

.call-btn {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--brass); color: var(--brass-hi);
  padding: 9px 18px; border-radius: 2px; font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.03em; white-space: nowrap; transition: background 0.25s, color 0.25s;
}
.call-btn:hover { background: var(--brass); color: var(--ink); }

.menu-toggle {
  display: none; color: var(--paper); font-size: 22px; background: none; border: none;
  cursor: pointer; padding: 4px; line-height: 1; z-index: 120;
}
@media (max-width: 900px) {
  nav.primary ul { display: none; }
  .menu-toggle { display: flex; }
  .call-btn { padding: 6px 12px; font-size: 11px; gap: 6px; }
}

.mobile-nav {
  position: fixed; inset: 0; z-index: 150; background: rgba(14, 13, 11, 0.98);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 90px 40px 40px; gap: 2px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav a {
  font-family: 'Fraunces', serif; font-size: 24px; font-weight: 500; color: var(--paper);
  padding: 9px 0; border-bottom: 1px solid var(--line-dark); width: 100%; flex-shrink: 0;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--brass-hi); }
.mobile-nav .mobile-call {
  margin-top: 20px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: 0.06em;
  color: var(--brass-hi); text-transform: uppercase; flex-shrink: 0;
}
@media (max-width: 380px), (max-height: 640px) {
  .mobile-nav a { font-size: 19px; padding: 7px 0; }
  .mobile-nav { gap: 0; padding: 80px 28px 28px; }
}
.mobile-close {
  position: absolute; top: 26px; right: 32px; color: var(--paper); font-size: 26px;
  background: none; border: none; cursor: pointer;
}
@media (min-width: 901px) { .mobile-nav { display: none; } }

/* ===== SHARED BUTTONS ===== */
.btn {
  padding: 15px 26px; border-radius: 2px; font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s, color 0.25s, border-color 0.25s;
}
.btn-primary { background: var(--brass-hi); color: var(--ink); }
.btn-primary:hover { background: var(--paper); }
.btn-ghost { border-color: var(--line-dark); color: var(--paper); }
.btn-ghost:hover { border-color: var(--brass-hi); color: var(--brass-hi); }

/* ===== FOOTER ===== */
footer.site-footer {
  background: var(--ink); color: var(--paper-dim); border-top: 1px solid var(--line-dark);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  padding: 72px 0 56px; border-bottom: 1px solid var(--line-dark);
}
.footer-grid h5 {
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 20px;
}
.footer-brand .name { font-family: 'Fraunces', serif; color: var(--paper); font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.footer-brand p { font-size: 13.5px; max-width: 300px; line-height: 1.75; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-grid a { font-size: 13.5px; transition: color 0.2s; }
.footer-grid a:hover { color: var(--paper); }
.footer-grid address { font-size: 13.5px; line-height: 1.85; font-style: normal; }

.footer-mark {
  text-align: center; padding: 34px 0 6px; overflow: hidden;
}
.footer-mark span {
  display: block; font-family: 'Fraunces', serif; font-weight: 700;
  font-size: clamp(48px, 11vw, 150px); letter-spacing: -0.02em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(244, 238, 222, 0.16);
  white-space: nowrap;
}
.bottom-bar {
  display: flex; justify-content: space-between; align-items: center; padding: 22px 0;
  font-size: 11.5px; color: rgba(244, 238, 222, 0.4); flex-wrap: wrap; gap: 10px;
}
.bottom-bar a { color: rgba(244, 238, 222, 0.6); }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .wrap { padding: 0 20px; } }

/* ===== SCROLL REVEAL ===== */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
[data-reveal-stagger].in > * { opacity: 1; transform: translateY(0); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
}

/* ===== COMING SOON PANEL (shared) ===== */
.coming-soon-panel {
  text-align: center; padding: 70px 30px; border: 1px dashed var(--line-dark);
  background: linear-gradient(160deg, rgba(203, 161, 53, 0.06), transparent);
}
.coming-soon-panel img { width: 64px; height: auto; margin: 0 auto 22px; }
.coming-soon-panel h3 { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 600; color: var(--paper); margin-bottom: 12px; }
.coming-soon-panel p { max-width: 46ch; margin: 0 auto 26px; color: rgba(244, 238, 222, 0.62); font-size: 14px; line-height: 1.65; }

/* ===== FLOATING WHATSAPP BUTTON ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 250;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(63, 166, 110, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 30px -8px rgba(63, 166, 110, 0.75); }
.wa-float svg { width: 28px; height: 28px; fill: #0D0D0F; }
@media (max-width: 560px) {
  .wa-float { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .wa-float svg { width: 25px; height: 25px; }
}
