/*
Theme Name: Maple Starter Kit 899
Author: Reese Labs
Description: A starter theme for content-focused websites.
Version: 2.10.6
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: portfolio, footer-widgets
Text Domain: maple-starter-kit-899
License: GPL-2.0-or-later
*/

:root{
  --bg:#0e0e10;
  --bg-2:#15161a;
  --ivory:#f3ead8;
  --paper:#fbf6ea;
  --ink:#1c1a16;
  --gold:#c9a86c;
  --gold-2:#e3c382;
  --line:#d4af37;
  --muted:#7a7468;
}
html{scroll-behavior:smooth}
html,body{overflow-x:hidden}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  background:var(--paper);
  color:var(--ink);
  line-height:1.7;
  font-size:18px;
}
h1,h2,h3,h4{
  font-family:'Playfair Display','Cormorant Garamond', Georgia, serif;
  font-weight:600;
  letter-spacing:.5px;
  margin:0 0 .6em;
  color:var(--ink);
}
h1{font-size:clamp(2.2rem,5vw,3.6rem); line-height:1.1}
h2{font-size:clamp(1.5rem,3vw,2.2rem); margin-top:1.8em}
h3{font-size:1.25rem}
p{margin:0 0 1em}
a{color:var(--ink); text-decoration:none; border-bottom:1px solid var(--gold)}
a:hover{color:var(--gold)}
img{max-width:100%; height:auto; display:block}

/* container */
.container{max-width:1180px; margin:0 auto; padding:0 28px}

/* art deco utility */
.deco-line{
  display:flex; align-items:center; justify-content:center; gap:14px;
  margin:36px 0; color:var(--gold);
}
.deco-line::before,.deco-line::after{
  content:""; flex:1; height:1px;
  background:linear-gradient(90deg, transparent, var(--gold), transparent);
}
.deco-diamond{
  width:10px; height:10px; transform:rotate(45deg);
  background:var(--gold);
}

/* HEADER */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(14,14,16,.78);
  backdrop-filter:blur(8px);
  color:var(--ivory);
  border-bottom:1px solid transparent;
  transition:border-color .3s ease;
}
.site-header.scrolled{ border-bottom-color:var(--gold) }
.header-row{
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:14px;
  padding:18px 10px;
}
.brand{
  font-family:'Playfair Display', serif;
  font-size:1.8rem; letter-spacing:6px; text-transform:uppercase;
  color:var(--ivory); border:none;
}
.brand .brand-mark{
  display:inline-block; width:10px; height:10px;
  transform:rotate(45deg);
  background:var(--gold); margin:0 10px 2px;
  vertical-align:middle;
}
.primary-nav{display:flex; flex-wrap:wrap; gap:26px}
.primary-nav a{
  color:var(--ivory); border:none;
  text-transform:uppercase; letter-spacing:3px; font-size:.78rem;
}
.primary-nav a:hover{color:var(--gold)}
.header-cta{
  border:1px solid var(--gold); color:var(--gold);
  padding:10px 18px; letter-spacing:3px; text-transform:uppercase;
  font-size:.74rem; transition:all .3s;
}
.header-cta:hover{background:var(--gold); color:var(--bg)}

/* HERO */
.hero{
  position:relative;
  background:
    radial-gradient(ellipse at top, rgba(201,168,108,.18), transparent 60%),
    linear-gradient(180deg,#101015 0%,#1a1a20 100%);
  color:var(--ivory);
  padding:90px 0 110px;
  overflow:hidden;
  text-align:center;
}
.hero::before{
  content:""; position:absolute; inset:24px;
  border:1px solid var(--gold); opacity:.35; pointer-events:none;
}
.hero::after{
  content:""; position:absolute; inset:36px;
  border:1px solid var(--gold); opacity:.18; pointer-events:none;
}
.hero h1{color:var(--ivory); text-shadow:0 2px 24px rgba(0,0,0,.4)}
.hero .eyebrow{
  display:inline-block; color:var(--gold);
  letter-spacing:8px; text-transform:uppercase; font-size:.8rem;
  margin-bottom:18px;
}
.hero .subtitle{
  color:var(--ivory); opacity:.85; max-width:680px; margin:18px auto 28px;
  font-style:italic; font-size:1.2rem;
  animation:fadeSub 1.6s ease both;
}
@keyframes fadeSub{ from{opacity:0; transform:translateY(8px)} to{opacity:.85; transform:none} }
.hero .cta-row{display:flex; gap:14px; justify-content:center; flex-wrap:wrap}

/* Buttons */
.btn{
  display:inline-block; padding:13px 26px;
  font-family:'Playfair Display', serif; letter-spacing:3px;
  text-transform:uppercase; font-size:.82rem;
  border:1px solid var(--gold); border-radius:0;
  cursor:pointer; transition:all .3s;
  background:transparent;}
.cta-row .btn{color: var(--ivory)}
.btn:hover{background:var(--gold); color:#111}
.btn-gold{background:var(--gold); color:#111}
.btn-gold:hover{background:var(--gold-2)}

/* Section base */
section{padding:60px 0}
.section-title{
  text-align:center;
}
.section-title .eyebrow{
  color:var(--gold); letter-spacing:6px; text-transform:uppercase; font-size:.78rem;
  display:block; margin-bottom:10px;
}

/* Cards */
.cards{
  display:flex; flex-wrap:wrap; gap:28px; justify-content:center;
  margin-top:30px;
}
.card{
  flex:1 1 280px; max-width:360px;
  background:#fff;
  border:1px solid rgba(201,168,108,.4);
  padding:28px;
  position:relative;
  transition:transform .35s ease, box-shadow .35s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:0 14px 36px rgba(0,0,0,.08) }
.card::before{
  content:""; position:absolute; top:10px; left:10px; right:10px; bottom:10px;
  border:1px solid var(--gold); opacity:.25; pointer-events:none;
}
.card .badge{
  display:inline-block; padding:4px 12px; background:transparent;
  color:var(--gold); border:1px solid var(--gold);
  text-transform:uppercase; letter-spacing:3px; font-size:.7rem; margin-bottom:14px;
}
.card h3{font-size:1.3rem; margin-bottom:10px}
.card p{color:#41382b}
.card a{border-bottom:1px solid var(--gold)}

/* Article reading layout */
.article{
  background:var(--paper);
  padding:60px 0 30px;
}
.article-inner{
  max-width:760px; margin:0 auto; padding:0 28px;
}
.meta-line{
  display:flex; gap:14px; flex-wrap:wrap;
  color:var(--muted); font-size:.92rem; letter-spacing:2px;
  text-transform:uppercase; margin:6px 0 28px;
}
.meta-line span{display:inline-flex; align-items:center; gap:6px}
.pull-quote{
  border-left:3px solid var(--gold);
  padding:6px 0 6px 22px;
  margin:34px 0;
  font-style:italic; font-size:1.25rem; color:#2a261f;
  font-family:'Playfair Display', serif;
}
.callout{
  border:1px solid var(--gold);
  padding:24px 26px;
  margin:32px 0;
  position:relative;
  background:#fff;
}
.callout::before{
  content:""; position:absolute; top:6px; left:6px; right:6px; bottom:6px;
  border:1px solid var(--gold); opacity:.25; pointer-events:none;
}
.callout h3{margin-top:0; color:var(--gold); letter-spacing:3px; text-transform:uppercase; font-size:.92rem}
ul.elegant{padding-left:0; list-style:none}
ul.elegant li{
  padding-left:24px; position:relative; margin-bottom:10px;
}
ul.elegant li::before{
  content:""; position:absolute; left:0; top:.7em;
  width:8px; height:8px; transform:rotate(45deg);
  background:var(--gold);
}
.sources{ font-size:.92rem; color:var(--muted); border-top:1px solid var(--gold); padding-top:16px; margin-top:36px }
.sources li{ margin-bottom:4px }

.read-also{
  background:#fff; padding:40px 0; border-top:1px solid rgba(201,168,108,.3);
}
.read-also-list{display:flex; flex-wrap:wrap; gap:20px; justify-content:center; margin-top:20px}
.read-also-list a{
  flex:1 1 280px; max-width:360px; padding:18px 22px;
  border:1px solid var(--gold); background:var(--paper);
  display:block;
}

/* Subscribe */
.subscribe{
  background:linear-gradient(180deg,#15151a 0%,#0e0e10 100%);
  color:var(--ivory);
  padding:70px 0;
}
.subscribe-inner{
  max-width:680px; margin:0 auto; padding:0 28px; text-align:center;
}
.subscribe h2{color:var(--ivory)}
.subform{
  display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-top:22px;
}
.subform label{
  display:flex; flex-direction:column; text-align:left;
  flex:1 1 200px;
}
.subform label span{
  font-size:.78rem; letter-spacing:3px; text-transform:uppercase; color:var(--gold);
  margin-bottom:6px;
}
.subform input{
  padding:13px 14px; border:1px solid var(--gold);
  background:transparent; color:var(--ivory);
  font-family:inherit; font-size:1rem;
}
.subform input:focus{outline:none; border-color:var(--gold-2)}
.subform button{flex:1 1 100%; margin-top:8px}

/* CTA banner */
.cta-banner{
  background:#1a1a20;
  color:var(--ivory);
  text-align:center; padding:70px 0;
  position:relative; overflow:hidden;
}
.cta-banner::before, .cta-banner::after{
  content:""; position:absolute; left:50%; transform:translateX(-50%);
  width:80%; height:1px; background:linear-gradient(90deg,transparent,var(--gold),transparent);
}
.cta-banner::before{top:18px}
.cta-banner::after{bottom:18px}
.cta-banner h2{color:var(--ivory)}

/* Disclaimer */
.disclaimer{
  margin:30px 0; padding:18px 22px;
  border:1px dashed var(--gold);
  background:#fff;
  color:#41382b; font-size:.95rem;
}
.disclaimer h3{margin-top:0; font-size:1rem; letter-spacing:2px; text-transform:uppercase; color:var(--gold)}

/* FOOTER */
.site-footer{
  background:#0a0a0c; color:var(--ivory); padding:50px 0 24px;
}
.footer-rows{display:flex; flex-direction:column; gap:16px; align-items:center; text-align:center}
.footer-rows .row{display:flex; flex-wrap:wrap; gap:18px; justify-content:center}
.footer-rows a{ color:var(--ivory); border-bottom:1px solid transparent; letter-spacing:2px; text-transform:uppercase; font-size:.82rem }
.footer-rows a:hover{color:var(--gold); border-bottom-color:var(--gold)}
.footer-rows .legal a{font-size:.74rem; color:#bdb29b}
.footer-rows .copyline{color:#bdb29b; font-size:.85rem}

/* Cookie consent */
.cookie-bar{
  position:fixed; left:0; right:0; bottom:0; z-index:90;
  background:#0a0a0c; color:var(--ivory);
  border-top:1px solid var(--gold);
  padding:18px 22px; display:none;
}
.cookie-bar.show{display:block}
.cookie-bar-inner{
  max-width:1180px; margin:0 auto;
  display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between;
}
.cookie-bar p{margin:0; flex:1 1 280px; font-size:.95rem}
.cookie-bar .actions{display:flex; flex-wrap:wrap; gap:10px}
.cookie-bar button{
  flex:1 1 auto; padding:10px 16px; border:1px solid var(--gold); background:transparent;
  color:var(--ivory); cursor:pointer; letter-spacing:2px; text-transform:uppercase; font-size:.78rem;
}
.cookie-bar button:hover{background:var(--gold); color:#111}

.cookie-modal{
  position:fixed; inset:0; z-index:100; background:rgba(0,0,0,.7);
  display:none; align-items:center; justify-content:center; padding:20px;
}
.cookie-modal.show{display:flex}
.cookie-modal-inner{
  background:#fbf6ea; color:var(--ink); max-width:520px; width:100%;
  padding:30px; border:1px solid var(--gold); position:relative;
}
.cookie-modal-inner h3{margin-top:0}
.toggle-row{
  display:flex; align-items:flex-start; justify-content:space-between; gap:14px;
  padding:14px 0; border-bottom:1px solid rgba(201,168,108,.4);
}
.toggle-row:last-of-type{border-bottom:none}
.toggle-row .desc{font-size:.9rem; color:#5a5040}
.switch{position:relative; width:46px; height:24px; flex:0 0 46px}
.switch input{opacity:0; width:0; height:0}
.slider{
  position:absolute; inset:0; cursor:pointer;
  background:#d8cfba; transition:.3s; border-radius:24px;
}
.slider::before{
  content:""; position:absolute; height:18px; width:18px;
  left:3px; top:3px; background:#fff; transition:.3s; border-radius:50%;
}
.switch input:checked + .slider{background:var(--gold)}
.switch input:checked + .slider::before{transform:translateX(22px)}
.switch input:disabled + .slider{opacity:.65; cursor:not-allowed}
.modal-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; justify-content:flex-end}
.modal-actions button{
  padding:10px 18px; border:1px solid var(--gold); background:transparent;
  cursor:pointer; letter-spacing:2px; text-transform:uppercase; font-size:.78rem;
  color:var(--ink);
}
.modal-actions button.primary{background:var(--gold); color:#111}

/* Responsive */
@media (max-width:760px){
  .primary-nav{gap:14px}
  .primary-nav a{font-size:.7rem}
  .brand{font-size:1.4rem; letter-spacing:4px}
  .hero{padding:60px 0 80px}
  section{padding:44px 0}
}
