/*
Theme Name: Kush Compass
Theme URI: https://kushcompass.co
Author: Kush Compass
Description: A focused editorial theme for legal cannabis culture, education, and accessories.
Version: 1.0.0
Text Domain: kush-compass
*/

:root {
  --forest: #173f37;
  --moss: #738c68;
  --leaf: #95b85c;
  --amber: #d9a441;
  --paper: #f6f3ec;
  --ink: #102a25;
  --line: rgba(23, 63, 55, .16);
  --shadow: 0 20px 60px rgba(15, 54, 46, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(246, 243, 236, .95); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 10; }
.nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 220px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; font-size: 13px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.nav-links a:hover { color: var(--moss); }
.nav-links .nav-cta { background: var(--forest); color: white; border-radius: 999px; padding: 11px 17px; }

.hero { position: relative; overflow: hidden; padding: 100px 0 86px; background: radial-gradient(circle at 80% 14%, rgba(149,184,92,.3), transparent 25%), linear-gradient(120deg, #f6f3ec 0%, #edf0e7 100%); }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(23,63,55,.13); border-radius: 50%; right: -210px; bottom: -310px; }
.eyebrow { margin: 0 0 20px; color: var(--moss); font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 72px; align-items: center; }
.hero h1, .section-heading h2, .article-header h1 { font-family: Georgia, "Times New Roman", serif; color: var(--forest); font-weight: 700; line-height: .98; letter-spacing: -.055em; margin: 0; }
.hero h1 { font-size: clamp(3.5rem, 7.2vw, 6.8rem); max-width: 760px; }
.hero h1 em { color: var(--moss); font-style: normal; }
.hero-copy { max-width: 610px; font-size: 19px; line-height: 1.7; margin: 28px 0 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 22px; border-radius: 999px; border: 1px solid var(--forest); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--forest); color: white; }
.button-secondary { color: var(--forest); background: transparent; }
.compass-panel { position: relative; padding: clamp(28px, 5vw, 58px); min-height: 410px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 32px; background: var(--forest); box-shadow: var(--shadow); }
.compass-panel::before { content: ""; position: absolute; inset: 24px; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; }
.compass-panel img { position: relative; width: min(315px, 100%); filter: drop-shadow(0 12px 24px rgba(0,0,0,.2)); }
.compass-panel p { position: absolute; bottom: 25px; left: 30px; right: 30px; margin: 0; color: #eef3e9; text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }

.trust-bar { background: var(--forest); color: #f6f3ec; padding: 23px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.trust-grid span { display: inline-flex; justify-content: center; gap: 10px; align-items: center; }
.trust-grid i { width: 7px; height: 7px; display: block; border-radius: 50%; background: var(--amber); }

.section { padding: 96px 0; }
.section-tint { background: #ecede5; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .65fr); gap: 50px; align-items: end; margin-bottom: 38px; }
.section-heading h2 { font-size: clamp(2.7rem, 5vw, 4.7rem); }
.section-heading p { margin: 0; font-size: 17px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; overflow: hidden; min-height: 310px; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: #fffdf8; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-number { margin: 0 0 48px; color: var(--amber); font-size: 13px; font-weight: 800; letter-spacing: .16em; }
.card h3 { color: var(--forest); margin: 0 0 13px; font-family: Georgia, "Times New Roman", serif; font-size: 31px; line-height: 1.06; letter-spacing: -.03em; }
.card p { max-width: 31ch; margin: 0; }
.card a { position: absolute; bottom: 27px; color: var(--moss); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.editorial-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; }
.feature, .guide { border-radius: 24px; overflow: hidden; }
.feature { min-height: 470px; padding: 45px; display: flex; flex-direction: column; justify-content: end; color: white; background: linear-gradient(160deg, rgba(10,34,30,.1), rgba(10,34,30,.9)), url('assets/guide-texture.svg') center / cover, var(--forest); }
.feature .eyebrow { color: #dfe9d4; }
.feature h3 { max-width: 14ch; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.02; letter-spacing: -.04em; }
.feature p { max-width: 51ch; margin: 15px 0 0; }
.guides { display: grid; gap: 22px; }
.guide { min-height: 224px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; background: #fffdf8; border: 1px solid var(--line); }
.guide:nth-child(2) { color: white; background: var(--moss); }
.guide .tag { color: var(--amber); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.guide:nth-child(2) .tag { color: #fce5ae; }
.guide h3 { max-width: 18ch; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 26px; line-height: 1.08; letter-spacing: -.025em; }

.newsletter { margin: 0 auto; max-width: 1020px; padding: 58px; color: white; border-radius: 28px; background: var(--forest); text-align: center; }
.newsletter h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.04em; }
.newsletter p { max-width: 570px; margin: 17px auto 26px; color: #e3eadb; }
.email-form { display: flex; width: min(510px, 100%); margin: 0 auto; gap: 10px; }
.email-form input { flex: 1; min-width: 0; padding: 15px 17px; border: 0; border-radius: 999px; font: inherit; }
.email-form button { flex: none; background: var(--amber); border: 0; color: var(--forest); cursor: pointer; }
.fine-print { margin-top: 16px !important; color: #b9c9b3 !important; font-size: 12px; }

.site-footer { padding: 56px 0 28px; color: #dce6d4; background: #0f3029; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 45px; padding-bottom: 40px; }
.footer-title { margin: 0 0 13px; color: white; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.site-footer p, .site-footer li { font-size: 14px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 9px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); color: #b7c7b0; font-size: 12px; }

.article-page { padding: 90px 0; }
.article-header { max-width: 860px; margin: 0 auto 45px; }
.article-header h1 { font-size: clamp(3rem, 7vw, 6rem); }
.article-content { max-width: 720px; margin: 0 auto; font-size: 18px; }
.article-content h2 { color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 33px; }

@media (max-width: 850px) {
  .nav { min-height: 68px; }
  .nav-links { display: none; }
  .hero { padding: 65px 0; }
  .hero-grid, .section-heading, .editorial-grid, .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .compass-panel { min-height: 350px; }
  .cards { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 13px; }
  .section { padding: 70px 0; }
  .newsletter { padding: 38px 22px; }
}
@media (max-width: 520px) {
  .container { width: min(100% - 32px, 1180px); }
  .hero h1 { font-size: 3.45rem; }
  .email-form { flex-direction: column; }
  .email-form .button { width: 100%; }
  .footer-bottom { flex-direction: column; }
}
