/* ===================================================================
   Ledger & Line — Design tokens
   Ink navy on warm paper, gold accent, per-section identity colors.
   Display: Newsreader (serif) / Body: Inter / Data: IBM Plex Mono
   =================================================================== */

:root{
  --ink:        #1B2027;
  --ink-soft:   #4B5160;
  --paper:      #F3F1E9;
  --paper-raised: #FFFFFF;
  --hairline:   #DAD6C7;
  --gold:       #B8862E;
  --gold-deep:  #8F6A22;
  --up:         #2F6F4F;
  --down:       #A63D2E;

  --sec-stocks:  #2F6F4F;
  --sec-tech:    #3A4D8F;
  --sec-business:#B8862E;
  --sec-personal:#A6493D;

  --sec-stocks-tint:   #E4F0E8;
  --sec-tech-tint:     #E5E9F5;
  --sec-business-tint: #F6ECD8;
  --sec-personal-tint: #F6E2DE;

  --font-display: 'Newsreader', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

  --radius: 2px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
a:hover{ color: var(--gold-deep); }

::selection{ background: var(--gold); color: #fff; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.container-xl{ max-width: 1160px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-block;
  padding: 0.22rem 0.55rem;
  border-radius: 3px;
}

/* ---------- Ticker marquee ---------- */
.ticker-bar{
  background: linear-gradient(90deg, #1B2027 0%, #223054 55%, #1B2027 100%);
  color: var(--paper);
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 2px solid var(--gold);
}
.ticker-track{
  display: inline-flex;
  animation: ticker-scroll 38s linear infinite;
  padding: 7px 0;
}
.ticker-bar:hover .ticker-track{ animation-play-state: paused; }
.ticker-item{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0 1.4rem;
  border-right: 1px solid rgba(243,241,233,0.18);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ticker-item .up{ color: #6FD19A; }
.ticker-item .down{ color: #E38A78; }

@keyframes ticker-scroll{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .ticker-track{ animation: none; overflow-x: auto; }
}

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
      padding: 1.1rem 0 .8rem;
}
.brand{
  display: inline-block;
  line-height: 0;
}
.brand img{
      display: block;
    width: 220px;
    height: auto;
}
.brand-tag{ display: none; }
.brand-tag{
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
  display: block;
  margin-top: -2px;
}
.main-nav a{
 font-size: 1.1rem;
    font-weight: 500;
    color: var(--ink-soft);
    padding: 0.4rem 0.45rem;
    position: relative;
}
.main-nav a:hover{ color: var(--ink); }
.main-nav a.active{ color: var(--ink); }
.main-nav a.active::after{
  content:"";
  position:absolute;
  left: 0.75rem; right: 0.75rem; bottom: -2px;
  height: 2px;
  background: var(--gold);
}
.btn-subscribe{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  background: var(--ink);
  color: var(--paper) !important;
  border: 1px solid var(--ink);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}
.btn-subscribe:hover{ background: var(--gold-deep); border-color: var(--gold-deep); }
.mobile-menu-toggle{
  width: 2.6rem;
  height: 2.35rem;
  margin-left: .55rem;
  padding: .45rem;
  vertical-align: middle;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}
.mobile-menu-toggle span{
  display: block;
  height: 2px;
  margin: 3px 0;
  background: var(--ink);
  transition: transform .2s ease, opacity .16s ease;
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(5px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-5px) rotate(-45deg); }
.mobile-menu{
  margin-top: .2rem;
  padding: .55rem 0 .15rem;
  border-top: 1px solid var(--hairline);
}
.mobile-menu a{
  display: block;
  padding: .7rem .15rem;
  border-bottom: 1px solid rgba(218,214,199,.72);
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
}
.mobile-menu a:last-child{ border-bottom: 0; }
.mobile-menu .mobile-menu-subscribe{
  display: inline-block;
  margin: .7rem .15rem .35rem;
  padding: .5rem 1rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .03em;
}
.mobile-menu .mobile-menu-subscribe:hover{
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--paper);
}

/* ---------- Top featured slider ---------- */
.top-slider{ border-bottom: 1px solid var(--hairline); }
.top-slider .carousel-item{ height: clamp(360px, 48vw, 535px); position: relative; color: #fff; }
.slider-image{ width: 100%; height: 100%; object-fit: cover; }
.slider-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,22,32,.9) 0%, rgba(15,22,32,.66) 43%, rgba(15,22,32,.14) 100%);
}
.slider-content{
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start; max-width: 1160px;
}
.slider-content .eyebrow{ color: #fff; background: rgba(184,134,46,.86); }
.slider-content h1{
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2.05rem, 4.5vw, 4rem);
  line-height: 1.04; letter-spacing: -.02em; max-width: 17ch; margin: .7rem 0;
}
.slider-content p{ font-size: clamp(1rem, 1.8vw, 1.2rem); max-width: 48ch; margin-bottom: 1.25rem; color: #f3f1e9; }
.slider-link{ color: #fff; font-family: var(--font-mono); font-size: .78rem; font-weight: 600; letter-spacing: .04em; border-bottom: 2px solid var(--gold); padding-bottom: .35rem; }
.slider-link:hover{ color: #fff; border-color: #fff; }
.top-slider .carousel-indicators{ justify-content: flex-start; max-width: 1160px; margin: 0 auto 1.25rem; padding: 0 12px; }
.top-slider .carousel-indicators button{ width: 36px; height: 3px; }
.top-slider .carousel-control-prev, .top-slider .carousel-control-next{ width: 7%; }

/* ---------- Who we are ---------- */
.who-we-are{
  scroll-margin-top: 6rem;
  padding: 4.25rem 0;
  background: #ECE9DE;
  border-bottom: 1px solid var(--hairline);
}
.about-eyebrow{
  margin-bottom: .9rem;
  color: var(--gold-deep);
  background: var(--sec-business-tint);
}
.who-we-are h2{
  max-width: 13ch;
  margin: 0 0 1rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.8vw, 3.45rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.025em;
}
.about-lead{
  max-width: 53ch;
  margin-bottom: .75rem;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.65;
}
.about-copy{
  max-width: 56ch;
  margin-bottom: 1.4rem;
  color: var(--ink-soft);
}
.about-topics{
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.about-topics span{
  padding: .3rem .6rem;
  color: var(--gold-deep);
  border: 1px solid rgba(143,106,34,.32);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.about-image-wrap{
  position: relative;
  width: min(100%, 430px);
  margin-left: auto;
}
.about-image-wrap::before{
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 2px solid var(--gold);
  pointer-events: none;
}
.about-image{
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(27,32,39,.18);
}
.about-image-wrap figcaption{
  position: relative;
  z-index: 2;
  display: inline-block;
  margin: -1px 0 0 1rem;
  padding: .42rem .65rem;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .04em;
}

/* The former text-only hero is retained in the markup for easy reuse. */
.hero{ display: none; }

/* ---------- Hero / Featured ---------- */
.hero{
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--hairline);
  border-left: 5px solid var(--sec-stocks);
  padding-left: 1.6rem;
}
.hero-tag{
  color: var(--sec-stocks);
  background: var(--sec-stocks-tint);
}
.hero-headline{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0.6rem 0 0.9rem;
}
.hero-dek{
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 62ch;
  margin-bottom: 1.1rem;
}
.byline{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  align-items: center;
}
.byline .dot{ color: var(--hairline); }

.spark{
  display: block;
  margin-top: 1.6rem;
}

/* ---------- Section headers ---------- */
.section-block{
  padding: 2.6rem 0;
  border-bottom: 1px solid var(--hairline);
}
.section-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px solid var(--ink);
}
.section-head h2{
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.section-head .tick{
  width: 11px; height: 11px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px var(--tint, transparent);
}
.section-head .view-all{
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.sec-stocks .tick{ background: var(--sec-stocks); --tint: var(--sec-stocks-tint); }
.sec-tech .tick{ background: var(--sec-tech); --tint: var(--sec-tech-tint); }
.sec-business .tick{ background: var(--sec-business); --tint: var(--sec-business-tint); }
.sec-personal .tick{ background: var(--sec-personal); --tint: var(--sec-personal-tint); }

.sec-stocks .view-all{ color: var(--sec-stocks); }
.sec-tech .view-all{ color: var(--sec-tech); }
.sec-business .view-all{ color: var(--sec-business); }
.sec-personal .view-all{ color: var(--sec-personal); }

.sec-stocks .section-head{ border-bottom-color: var(--sec-stocks); }
.sec-tech .section-head{ border-bottom-color: var(--sec-tech); }
.sec-business .section-head{ border-bottom-color: var(--sec-business); }
.sec-personal .section-head{ border-bottom-color: var(--sec-personal); }

/* ---------- Article cards (text-first) ---------- */
.post-card{
  padding: 1.1rem 1rem 1.1rem 1.1rem;
  border-bottom: 1px solid var(--hairline);
  border-left: 3px solid transparent;
  position: relative;
  min-height: 106px;
  transition: background .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.post-card:has(.post-card-image){ padding-right: 8.4rem; }
.post-card-image{
  position: absolute; right: 1rem; top: 1.1rem; width: 104px; height: 78px;
  object-fit: cover;
  border-radius: 4px; box-shadow: 0 2px 8px rgba(27,32,39,.13);
  transition: transform .28s ease, box-shadow .28s ease;
}
.post-card:hover{ background: var(--tint, transparent); border-left-color: var(--accent, var(--gold)); transform: translateY(-3px); box-shadow: 0 8px 18px rgba(27,32,39,.1); }
.post-card:hover .post-card-image{ transform: scale(1.08) rotate(1.5deg); box-shadow: 0 7px 16px rgba(27,32,39,.22); }
.post-card:last-child{ border-bottom: none; }
.post-card .eyebrow{ margin-bottom: 0.5rem; }
.post-title{
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.28;
  margin-bottom: 0.4rem;
  font-size: 30px;
}
.post-title a:hover{ color: var(--gold-deep); }
.post-excerpt{
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 0.5rem;
  max-width: 60ch;
}
.post-meta{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.sec-stocks .eyebrow{ color: var(--sec-stocks); background: var(--sec-stocks-tint); }
.sec-tech .eyebrow{ color: var(--sec-tech); background: var(--sec-tech-tint); }
.sec-business .eyebrow{ color: var(--sec-business); background: var(--sec-business-tint); }
.sec-personal .eyebrow{ color: var(--sec-personal); background: var(--sec-personal-tint); }

.sec-stocks .post-card{ --tint: var(--sec-stocks-tint); --accent: var(--sec-stocks); }
.sec-tech .post-card{ --tint: var(--sec-tech-tint); --accent: var(--sec-tech); }
.sec-business .post-card{ --tint: var(--sec-business-tint); --accent: var(--sec-business); }
.sec-personal .post-card{ --tint: var(--sec-personal-tint); --accent: var(--sec-personal); }

/* occasional thumbnail — used sparingly, opt-in via .has-thumb */
.post-thumb{
  width: 96px; height: 72px;
  background: var(--hairline);
  border-radius: var(--radius);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.3;
}

/* ---------- Quick Takes (X-style feed) ---------- */
.quick-takes{
  background: var(--paper-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}
.qt-item{
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--hairline);
  border-left: 3px solid var(--hairline);
}
.qt-item:last-child{ border-bottom: none; }
.qt-item:nth-child(4n+1){ border-left-color: var(--sec-stocks); }
.qt-item:nth-child(4n+2){ border-left-color: var(--sec-tech); }
.qt-item:nth-child(4n+3){ border-left-color: var(--sec-business); }
.qt-item:nth-child(4n+4){ border-left-color: var(--sec-personal); }
.qt-head{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.3rem;
}
.qt-handle{
  font-weight: 600;
  font-size: 20px;
}
.qt-time{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
}
.qt-text{
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.qt-stats{
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
  display: flex;
  gap: 1rem;
}

/* ---------- Sidebar widget: market snapshot ---------- */
.widget{
  background: var(--paper-raised);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
}
.widget h3{
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.9rem;
  font-weight: 600;
}
.snap-row{
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--hairline);
}
.snap-row:last-child{ border-bottom: none; }
.snap-name{ color: var(--ink); font-weight: 600; }
.snap-change{ padding: 0.1rem 0.4rem; border-radius: 3px; font-weight: 600; }
.snap-change.up{ color: var(--up); background: var(--sec-stocks-tint); }
.snap-change.down{ color: var(--down); background: var(--sec-personal-tint); }

.tag-cloud a{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold-deep);
  background: var(--sec-business-tint);
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 0.25rem 0.6rem;
  margin: 0 0.35rem 0.35rem 0;
}
.tag-cloud a:hover{ background: var(--gold); color: #fff; }

/* ---------- Newsletter strip ---------- */
.newsletter{
  background: var(--ink);
  color: var(--paper);
  padding: 2.4rem 0;
}
.newsletter h2{
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.newsletter p{ color: #C7C9D1; margin-bottom: 0; }
.newsletter .form-control{
  background: transparent;
  border: 1px solid #4B5160;
  color: var(--paper);
  border-radius: var(--radius);
}
.newsletter .form-control::placeholder{ color: #8B8F9C; }
.newsletter .form-control:focus{
  background: transparent;
  border-color: var(--gold);
  box-shadow: none;
  color: var(--paper);
}
.newsletter .btn-gold{
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--ink);
  font-weight: 600;
  border-radius: var(--radius);
}
.newsletter .btn-gold:hover{ background: #CC9A3A; }

/* ---------- Footer ---------- */
.site-footer{
  position: relative;
  overflow: hidden;
  padding: 1.25rem 0 1.6rem;
  font-size: 0.85rem;
  color: #B9C0CC;
  background: #161D29;
  border-top: 3px solid var(--gold);
}
.site-footer::after{
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(184,134,46,.16);
  border-radius: 50%;
  right: -145px;
  bottom: -250px;
  pointer-events: none;
}
.site-footer .container-xl{ position: relative; z-index: 1; }
.footer-topline{
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 2.4rem;
  border-bottom: 1px solid rgba(243,241,233,.16);
  color: #D0A34E;
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.footer-brand{ margin-bottom: 1rem; }
.footer-brand img{ width: 300px; }
.footer-brand + p{
  max-width: 28rem;
  margin: 0 0 1.25rem;
  line-height: 1.7;
}
.site-footer h4{
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #F3F1E9;
  margin-bottom: 0.9rem;
}
.site-footer a{ color: #B9C0CC; }
.footer-links a{ display: block; width: fit-content; margin-bottom: .65rem; }
.site-footer a:hover{ color: #E2B65E; }
.footer-socials{ display: flex; gap: .55rem; }
.footer-socials a{
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .38rem .62rem;
  color: var(--paper);
  border: 1px solid rgba(243,241,233,.28);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .69rem;
  font-weight: 600;
}
.footer-socials a:hover{ color: #161D29; background: #E2B65E; border-color: #E2B65E; }
.footer-socials span{ font-family: var(--font-body); font-size: .72rem; font-weight: 400; }
.footer-note{
  padding: 1.1rem 1.25rem;
  background: rgba(255,255,255,.055);
  border-left: 2px solid var(--gold);
}
.footer-note h4{ margin-bottom: .55rem; }
.footer-note p{ margin-bottom: .85rem; line-height: 1.55; }
.footer-cta{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #E2B65E !important;
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer-cta span{ font-size: 1rem; transition: transform .2s ease; }
.footer-cta:hover span{ transform: translateX(3px); }
.footer-bottom{
  border-top: 1px solid rgba(243,241,233,.16);
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #89919F;
}

@media (max-width: 767.98px){
  .slider-content{ padding-left: 1.5rem; padding-right: 3.5rem; }
  .top-slider .carousel-item{ height: 390px; }
  .slider-overlay{ background: linear-gradient(90deg, rgba(15,22,32,.88), rgba(15,22,32,.42)); }
  .who-we-are{ padding: 3rem 0 3.35rem; }
  .about-image-wrap{ margin: .75rem 14px 0 0; }
  .section-block{ padding: 1.8rem 0; }
  .post-card:has(.post-card-image){ padding-right: 6.7rem; }
  .post-card-image{ right: .65rem; width: 78px; height: 62px; }
  .site-footer{ padding-top: 1rem; }
  .footer-topline{ margin-bottom: 1.7rem; }
  .footer-note{ margin-top: .25rem; }
}

@media (prefers-reduced-motion: reduce){
  .post-card, .post-card-image{ transition: none; }
  .post-card:hover, .post-card:hover .post-card-image{ transform: none; }
}

/* ===================================================================
   Inner pages — About / Contact / Privacy / Terms / Single Post
   =================================================================== */

/* ---------- Page hero band (dark, like the footer family) ---------- */
.page-hero{
  position: relative;
  overflow: hidden;
  background: #161D29;
  color: var(--paper);
  padding: 3.4rem 0 3rem;
  border-bottom: 3px solid var(--gold);
}
.page-hero::after{
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border: 1px solid rgba(184,134,46,.18);
  border-radius: 50%;
  right: -130px; top: -180px;
  pointer-events: none;
}
.page-hero .container-xl{ position: relative; z-index: 1; }
.page-hero .eyebrow{ color: #fff; background: rgba(184,134,46,.86); margin-bottom: .9rem; }
.page-hero h1{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin-bottom: .8rem;
}
.page-hero p{
  font-size: 1.02rem;
  color: #C7C9D1;
  max-width: 56ch;
  margin-bottom: 0;
}
.page-crumb{
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8B93A3;
  margin-bottom: 1rem;
}
.page-crumb a{ color: #C7C9D1; }
.page-crumb a:hover{ color: var(--gold); }

/* ---------- Generic content section ---------- */
.content-section{
  padding: 3.4rem 0;
  border-bottom: 1px solid var(--hairline);
}
.content-section h2{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 1rem;
  letter-spacing: -.01em;
}
.content-lead{
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 62ch;
  margin-bottom: 1rem;
}

/* ---------- Values / feature grid ---------- */
.value-card{
  background: var(--paper-raised);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  height: 100%;
}
.value-card .eyebrow{ margin-bottom: .8rem; }
.value-card h3{
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .5rem;
}
.value-card p{
  font-size: .88rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Timeline ---------- */
.timeline{ list-style: none; padding: 0; margin: 0; }
.timeline li{
  position: relative;
  padding: 0 0 1.6rem 1.7rem;
  border-left: 2px solid var(--hairline);
}
.timeline li:last-child{ border-color: transparent; padding-bottom: 0; }
.timeline li::before{
  content: "";
  position: absolute;
  left: -6px; top: 2px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.timeline .t-year{
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold-deep);
  display: block;
  margin-bottom: .25rem;
}
.timeline h4{
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .3rem;
}
.timeline p{ font-size: .87rem; color: var(--ink-soft); margin: 0; }

/* ---------- Author / masthead card ---------- */
.masthead-card{
  background: var(--paper-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.masthead-avatar{
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  flex-shrink: 0;
}
.masthead-card h4{
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: .2rem;
}
.masthead-role{
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
  margin-bottom: .5rem;
}
.masthead-card p{ font-size: .89rem; color: var(--ink-soft); margin: 0; }

/* ---------- Contact page ---------- */
.contact-section{ background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 58%, #ECE9DE 58%, #ECE9DE 100%); }
.contact-grid{ gap: 2rem; align-items: stretch; }
.contact-column-heading{
  min-height: 6.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 1.25rem;
}
.contact-column-heading .eyebrow{ align-self: flex-start; color: var(--gold-deep); background: var(--sec-business-tint); margin-bottom: .55rem; }
.contact-column-heading h2{ margin: 0; }
.contact-form-panel{
  background: var(--paper-raised);
  border: 1px solid var(--hairline);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.25rem);
  box-shadow: 0 12px 28px rgba(22,29,41,.05);
}
.contact-aside{ padding: .45rem 0 .45rem clamp(.25rem, 2vw, 1.25rem); }
.contact-aside .contact-column-heading{ margin-top: 0; }
.contact-aside .contact-column-heading h2::after{
  content: "Choose the route that gets your note to the right person fastest.";
  display: block;
  max-width: 34ch;
  margin-top: .7rem;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--ink-soft);
}
.contact-info-card{
  background: var(--paper-raised);
  border: 1px solid rgba(58,65,80,.15);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.05rem 1.15rem;
  margin-bottom: .7rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-info-card:hover{
  transform: translateX(4px);
  box-shadow: 0 8px 18px rgba(22,29,41,.08);
}
.contact-info-card .label{
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
  margin-bottom: .4rem;
}
.contact-info-card .value{
  font-size: .98rem;
  font-weight: 500;
  color: var(--ink);
}
.contact-info-card .value a:hover{ color: var(--gold-deep); }

.contact-form label{
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .4rem;
  display: block;
}
.contact-form .form-control{
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: .65rem .8rem;
  font-size: .92rem;
  background: var(--paper-raised);
}
.contact-form .form-control:focus{
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--sec-business-tint);
}
.contact-form textarea.form-control{ min-height: 140px; resize: vertical; }
.contact-form .form-control::placeholder{ color: #95999F; }
.contact-form-panel .btn-ink{ margin-top: .4rem; }
.btn-ink{
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: .68rem 1.5rem;
  border-radius: var(--radius);
}
.btn-ink:hover{ background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }

.faq-item{
  border-bottom: 1px solid var(--hairline);
  padding: 1.1rem 0;
}
.faq-item:last-child{ border-bottom: none; }
.faq-item summary{
  font-weight: 600;
  font-size: .96rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--gold-deep);
  flex-shrink: 0;
}
.faq-item[open] summary::after{ content: "–"; }
.faq-item p{
  margin: .7rem 0 0;
  font-size: .89rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ---------- Legal pages (Privacy / Terms) ---------- */
.legal-body{ max-width: 74ch; }
.legal-body h2{
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 2rem 0 .7rem;
}
.legal-body h2:first-child{ margin-top: 0; }
.legal-body p, .legal-body li{
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.75;
}
.legal-body ul{ padding-left: 1.2rem; margin-bottom: 1rem; }
.legal-updated{
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .5rem;
  display: inline-block;
}
.legal-toc{
  background: var(--paper-raised);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  margin-bottom: 1.5rem;
}
.legal-toc .label{
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: block;
  margin-bottom: .7rem;
}
.legal-toc ol{ margin: 0; padding-left: 1.1rem; }
.legal-toc li{ font-size: .85rem; margin-bottom: .35rem; }
.legal-toc a:hover{ color: var(--gold-deep); }

/* ---------- Single post template ---------- */
.post-hero-meta{
  display: flex;
  gap: .7rem;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: #C7C9D1;
  margin-top: .3rem;
}
.article-body{ max-width: 74ch; }
.article-body p{ margin-bottom: 1.2rem; font-size: 1.02rem; line-height: 1.8; color: var(--ink); }
.article-body h2{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 .9rem;
}
.article-body blockquote{
  border-left: 3px solid var(--gold);
  padding: .3rem 0 .3rem 1.2rem;
  margin: 1.6rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-soft);
}
.share-row{
  display: flex;
  gap: .6rem;
  align-items: center;
  margin: 2rem 0;
  padding: 1.1rem 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.share-row .label{
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.share-row a{
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: .35rem .8rem;
}
.share-row a:hover{ border-color: var(--gold); color: var(--gold-deep); }

@media (max-width: 767.98px){
  .page-hero{ padding: 2.4rem 0 2.2rem; }
  .content-section{ padding: 2.2rem 0; }
  .masthead-card{ flex-direction: column; }
  .contact-section{ background: var(--paper); }
  .contact-aside{ padding: 0; margin-top: .5rem; }
  .contact-column-heading{ min-height: auto; }
  header.site-header .row {
    margin: 0px;
}
header.site-header .col-lg-3.col-6 {
    margin: 0px;
}

}

/* ===================================================================
   Responsive refinements — shared by every page
   =================================================================== */

/* Keep the page usable at narrow phone widths, not only at Bootstrap's
   standard breakpoints. */
img, svg{ max-width: 100%; }

@media screen and (min-width:992px) and (max-width: 1150px ){ 
  .main-nav a {
    font-size: 0.76rem;
  }
}


@media (max-width: 991.98px){
  .site-header{ padding: .75rem 0; }
  .site-header .row{ --bs-gutter-y: .55rem; }
  .brand img{ width: clamp(150px, 42vw, 210px); }
  .site-header .btn-subscribe{ display: none; }
  .mobile-menu{ margin-top: .35rem; }

  .newsletter form{ width: 100%; }
  .newsletter .form-control{ min-width: 0; }

  .footer-brand img{ width: min(260px, 100%); }
  .footer-note{ max-width: 34rem; }
}

@media (max-width: 767.98px){
  body{ overflow-x: hidden; }
  .container-xl{ padding-right: 1rem; padding-left: 1rem; }

  /* Do not let Bootstrap's half-width header columns push the menu button
     outside the viewport on compact phones. */
  .site-header .col-6:first-child{ flex: 1 1 auto; width: auto; }
  .site-header .container-xl{ position: relative; }

/*  .site-header .col-6.text-end{
    position: absolute;
    top: -0.3rem; right: 1rem;
    z-index: 1;
    flex: 0 0 auto; width: auto;
    transform: none;
  }
*/

  .logo-box {

    display: flex;

    align-items: center;

}
  .site-header .col-6.text-end {
    position: relative;
    top: 0rem;
    right: 0rem;
    z-index: 1;
    flex: 0 0 auto;
    width: auto;
    transform: none;
    margin: 0px;
}

  .brand img{ width: min(46vw, 175px); }
  .btn-subscribe{ font-size: .72rem; padding: .48rem .7rem; }
  .mobile-menu-toggle{ display: inline-block; margin-left: .35rem; }

  .ticker-track{ animation-duration: 48s; }
  .ticker-item{ padding: 0 .9rem; font-size: .7rem; }

  .top-slider .carousel-item{ height: clamp(360px, 115vw, 460px); }
  .slider-content{ padding: 1.25rem 3.25rem 2.75rem 1rem; }
  .slider-content h1{ font-size: clamp(2rem, 9vw, 2.85rem); }
  .slider-content p{ font-size: .98rem; }
  .top-slider .carousel-control-prev,
  .top-slider .carousel-control-next{ width: 12%; }
  .top-slider .carousel-indicators{ margin-bottom: .8rem; padding: 0 1rem; }

  .who-we-are{ padding: 2.6rem 0 3rem; }
  .about-image-wrap{ width: calc(100% - 14px); }
  .about-image-wrap figcaption{ margin-left: .65rem; }

  .section-head{ align-items: center; gap: .75rem; margin-bottom: 1.1rem; }
  .section-head h2{ font-size: 1.4rem; }
  .section-head .view-all{ font-size: .68rem; }
  .post-card{ min-height: 0; padding: 1rem .8rem 1rem 1rem; }
  .post-title{ font-size: clamp(1.22rem, 6vw, 1.55rem); }
  .post-excerpt{ font-size: .94rem; }
  .post-meta, .qt-stats{ flex-wrap: wrap; row-gap: .2rem; }
  .qt-item{ padding: .9rem 1rem; }
  .qt-handle{ font-size: 1rem; }
  .qt-text{ font-size: .94rem; }
  .widget{ padding: 1rem; }

  .page-hero h1{ font-size: clamp(2rem, 9vw, 2.65rem); }
  .page-hero p, .content-lead{ font-size: 1rem; }
  .content-section{ padding: 2rem 0; }
  .value-card{ padding: 1.25rem; }
  .legal-body p, .legal-body li{ font-size: .9rem; }
  .article-body p{ font-size: 1rem; line-height: 1.7; }
  .article-body blockquote{ font-size: 1.05rem; padding-left: 1rem; }
  .share-row{ flex-wrap: wrap; }

  .contact-form-panel{ padding: 1.2rem; }
  .contact-info-card:hover{ transform: none; }

  .newsletter{ padding: 2rem 0; }
  .newsletter form{ flex-wrap: wrap; }
  .newsletter .form-control{ flex: 1 1 13rem; }
  .newsletter .btn-gold{ flex: 0 0 auto; }

  .footer-topline{ align-items: flex-start; margin-bottom: 1.5rem; }
  .footer-socials{ flex-wrap: wrap; }
  .footer-bottom{ margin-top: 2rem; }
}

@media (max-width: 420px){
  .site-header{ padding: .65rem 0; }
  /*.site-header .col-6.text-end{ top: -0.3rem; }*/
  .brand img{ width: 148px; }
  .btn-subscribe{ font-size: .68rem; padding: .48rem .55rem; }
  .mobile-menu-toggle{ width: 2.35rem; height: 2.2rem; margin-left: .25rem; }

  .slider-content{ padding-right: 2.7rem; }
  .slider-content h1{ font-size: 1.9rem; }
  .slider-content p{ margin-bottom: .85rem; }
  .top-slider .carousel-control-prev,
  .top-slider .carousel-control-next{ width: 10%; }

  .section-head{ align-items: flex-start; }
  .section-head h2{ font-size: 1.28rem; }
  .section-head .view-all{ padding-top: .2rem; }
  .post-card:has(.post-card-image){ padding-right: 5.75rem; }
  .post-card-image{ right: .5rem; width: 66px; height: 54px; }
  .post-title{ font-size: 1.18rem; }
  .post-excerpt{ font-size: .9rem; }

  .masthead-card{ padding: 1.25rem; }
  .newsletter form{ display: grid !important; grid-template-columns: 1fr; }
  .newsletter .btn-gold{ width: 100%; }
  .footer-topline{ font-size: .59rem; }
  .footer-socials a{ padding: .35rem .5rem; }
}


.top-slider .carousel-control-prev, .top-slider .carousel-control-next {
    display: none;
}
