/* ============================================================
   Orange Cat LLC - Main Stylesheet
   Parent company site: shares orangecatbooks.com's cozy cream/ink
   look and fonts, but leads with teal (orange is the accent) so it
   reads as the company, not the bookstore.
   ============================================================ */

:root {
  --bg:         #F7F4EE;
  --surface:    #EDE7DC;
  --surface-2:  #E3DACB;
  --ink:        #1C2224;
  --muted:      #5E6B6C;
  --teal:       #2F5D62;
  --teal-ink:   #FFFFFF;
  --teal-dim:   rgba(47, 93, 98, .1);
  --orange:     #C8632B;
  --line:       #DCD3C4;
  --shadow:     0 2px 14px rgba(28, 34, 36, .08);
  --radius:     16px;
  --max-w:      1050px;
  --font-head:  Fraunces, Georgia, serif;
  --font-body:  "Nunito Sans", system-ui, sans-serif;
  --font-hand:  "Permanent Marker", cursive;
}

[data-theme="dark"] {
  --bg:         #141A1B;
  --surface:    #1E2627;
  --surface-2:  #283233;
  --ink:        #EEF0EA;
  --muted:      #A9B4B2;
  --teal:       #7FB3B0;
  --teal-ink:   #141A1B;
  --teal-dim:   rgba(127, 179, 176, .12);
  --orange:     #E07B3E;
  --line:       #2F3A3B;
  --shadow:     0 2px 14px rgba(0, 0, 0, .4);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .3s, color .3s;
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--teal); }
img { max-width: 100%; display: block; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 200; background: var(--bg); padding: 8px 12px; }

.inner { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.kicker { font-family: var(--font-hand); color: var(--orange); font-size: 21px; letter-spacing: .5px; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 6px;
}
.section-title { font-size: clamp(30px, 4vw, 40px); color: var(--ink); }
.section-body { color: var(--muted); max-width: 600px; }
.section-body p:last-child { margin-bottom: 0; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block; font: inherit; font-weight: 700; text-decoration: none;
  padding: 11px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: filter .2s, background .2s;
}
.btn-primary { background: var(--teal); color: var(--teal-ink); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn-sm { padding: 7px 14px; font-size: 15px; }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
}
.bar { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 50px; height: 50px; }
/* Logo comes in two flat teal versions: ocllc-logo.png (light mode) and ocllc-logo-light.png (dark mode) */
.theme-dark { display: none; }
[data-theme="dark"] .theme-light { display: none; }
[data-theme="dark"] .theme-dark { display: block; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.brand-tag {
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line);
}
.bar-tools { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.bar-nav { display: flex; gap: 4px; }
.bar-nav a {
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 8px 12px; border-radius: 999px;
}
.bar-nav a:hover { background: var(--surface); color: var(--teal); }
.theme-toggle {
  width: 52px; height: 28px; border-radius: 999px; position: relative; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--surface); padding: 0;
}
.theme-toggle span {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal); transition: left .25s;
}
.theme-toggle span::after { content: "\2600"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; color: #fff; }
[data-theme="dark"] .theme-toggle span { left: 27px; }
[data-theme="dark"] .theme-toggle span::after { content: "\263E"; color: var(--bg); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 110px 0 100px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 100% 0%, var(--teal-dim), transparent 70%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(200, 99, 43, .07), transparent 70%);
}
.hero .inner { position: relative; }
.hero-badge {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); background: var(--bg);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(42px, 6vw, 64px); margin-bottom: 8px; }
.hero h1 .accent { color: var(--teal); }
.hero .kicker { font-size: clamp(20px, 2.6vw, 26px); margin-bottom: 20px; }
.hero-desc { font-size: 19px; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.hero-photo { margin: 0; justify-self: center; width: 100%; max-width: 370px; text-align: center; }
.hero-photo-frame { position: relative; }
/* Even teal mat around the photo */
.hero-photo-frame::before {
  content: ""; position: absolute; inset: -12px;
  border: 2px solid var(--teal); border-radius: 38px; opacity: .55;
}
.hero-photo img {
  position: relative; width: 100%; height: auto; border-radius: 28px;
  box-shadow: 0 18px 40px rgba(28, 34, 36, .22);
}
.hero-photo .kicker { font-size: 19px; margin-top: 26px; }

/* ── Sections ──────────────────────────────────────────────── */
section { padding: 80px 0; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; margin-top: 28px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow);
}
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: 36px; color: var(--teal); line-height: 1.1; }
.stat-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ── Brands ────────────────────────────────────────────────── */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 28px; }
.brand-card {
  display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  transition: border-color .2s, transform .2s;
}
a.brand-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.brand-logo { height: 70px; width: auto; align-self: flex-start; }
.brand-logo-dark { display: none; }
[data-theme="dark"] .brand-logo-light { display: none; }
[data-theme="dark"] .brand-logo-dark { display: block; }
.brand-label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.brand-card h3 { font-size: 26px; margin: 0; }
.brand-card p { color: var(--muted); margin: 0; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  font-size: 12px; font-weight: 700; color: var(--teal); background: var(--teal-dim);
  border-radius: 999px; padding: 3px 11px;
}
.brand-card .btn { align-self: flex-start; margin-top: 4px; }
.brand-card-next { background: transparent; border-style: dashed; box-shadow: none; justify-content: center; }
.brand-card-next h3 { color: var(--muted); }
.next-icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  border: 1.5px dashed var(--line); color: var(--muted);
}
.next-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; }

/* ── Contact ───────────────────────────────────────────────── */
.contact { max-width: 620px; }
.contact .btn { margin-top: 22px; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-brand { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.footer-copy { font-size: 14px; color: var(--muted); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 14px; }
.footer-links a:hover { color: var(--teal); }

@media (max-width: 760px) {
  .brand-tag, .bar-nav { display: none; }
  .hero { padding: 70px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo { max-width: 300px; }
  section { padding: 60px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body, .theme-toggle span, .brand-card { transition: none; }
}
