/* ============================================
   Logan Silvia — style.css
   Earthy Botanical Journal aesthetic
   Fonts: Cormorant Garamond + DM Sans
   ============================================ */

/* ── Variables ── */
:root {
  --bg:        #f0ebe1;
  --bg2:       #e9e3d8;
  --surface:   rgba(255,252,244,.88);
  --surface2:  rgba(255,252,244,.50);
  --text:      #1a1d16;
  --muted:     #696c61;
  --green:     #2c4a2e;
  --green2:    #4d7452;
  --sage:      #7a9e7e;
  --line:      rgba(30,44,25,.13);
  --shadow:    0 6px 40px rgba(18,32,16,.10);
  --shadow-sm: 0 2px 14px rgba(18,32,16,.07);
  --radius:    6px;
  --radius-lg: 14px;
  --max:       1060px;
  --pad:       clamp(20px, 4vw, 52px);
  --h1:        clamp(54px, 9vw, 104px);
  --h2:        clamp(28px, 4.5vw, 46px);
  --h3:        clamp(17px, 2.2vw, 21px);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { margin: 0; }
p { margin: 0; }

/* ── Base ── */
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: .01em;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 140% 70% at 10% -5%, rgba(58,90,50,.07), transparent 52%),
    radial-gradient(ellipse 80% 60% at 92% 8%,  rgba(122,158,126,.08), transparent 48%);
  overflow-x: hidden;
}

/* Top accent bar */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  z-index: 200;
}

/* ── Layout ── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ── Nav ── */
.topbar {
  position: sticky;
  top: 3px;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(240,235,225,.84);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  text-decoration: none;
  line-height: 1;
}
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--green);
  display: block;
  padding-bottom: 5px;
}
.brand-sub {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 20px;
  border: 1px solid var(--green);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--green);
  transition: background .2s, color .2s;
}
.nav-cta:hover {
  background: var(--green);
  color: var(--bg);
}

/* ── Hero ── */
.hero {
  position: relative;
  height: 86vh;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,16,6,.38) 0%,
    rgba(8,16,6,.52) 40%,
    rgba(8,16,6,.86) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--pad) clamp(40px, 8vh, 90px);
  max-width: calc(var(--max) + var(--pad) * 2);
  margin: 0 auto;
}
.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  display: block;
  margin-bottom: 14px;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--h1);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: .92;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 15.5px;
  color: rgba(255,255,255,.88);
  letter-spacing: .02em;
  max-width: 48ch;
  line-height: 1.65;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--green);
  color: var(--bg);
  border-color: var(--green);
}
.btn-primary:hover {
  background: #1e3520;
  box-shadow: 0 4px 22px rgba(28,52,30,.30);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--bg);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: rgba(255,252,244,.96);
  box-shadow: var(--shadow-sm);
}
.btn-hero {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.38);
  backdrop-filter: blur(4px);
}
.btn-hero:hover {
  background: rgba(255,255,255,.24);
  border-color: rgba(255,255,255,.6);
}
.btn-hero-primary {
  background: #fff;
  color: var(--green);
  border-color: #fff;
}
.btn-hero-primary:hover {
  background: var(--bg);
  box-shadow: 0 4px 22px rgba(0,0,0,.18);
}

/* ── Sections ── */
section { padding: clamp(52px, 7.5vw, 96px) 0; }
section + section { padding-top: 0; }
.section-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--h2);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 12px;
}
.section-lead {
  font-size: 15px;
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.7;
}
.section-head {
  margin-bottom: clamp(24px, 3.5vw, 40px);
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 840px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
a.card { display: block; color: inherit; }
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(44,74,46,.22);
}
.card-icon {
  font-size: 26px;
  display: block;
  margin-bottom: 14px;
}
.card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 8px;
  color: var(--text);
}
.card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
}
.card-link {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ── Page Header ── */
.page-header {
  padding: clamp(44px, 7vw, 80px) 0 clamp(24px, 3.5vw, 44px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(32px, 5vw, 56px);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--green); }
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--h2);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 10px;
}
.page-lead {
  font-size: 15.5px;
  color: var(--muted);
  max-width: 64ch;
  line-height: 1.65;
}

/* ── Post List ── */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.post {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  transition: border-color .2s ease;
}
.post:hover { border-color: rgba(44,74,46,.22); }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 9px;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: var(--surface2);
  color: var(--muted);
}
.post h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 6px;
  color: var(--text);
}
.post p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Chips ── */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  border: 1px solid var(--line);
  background: var(--surface2);
  color: var(--text);
}

/* ── Two-column layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ── Info blocks (sidebar) ── */
.info-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.info-block + .info-block { margin-top: 14px; }
.info-block h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.info-block p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.72;
}

/* ── Section divider ── */
.divider {
  height: 1px;
  background: var(--line);
  border-radius: 999px;
  margin: 28px 0;
}

/* ── Intro nav links (homepage) ── */
.intro-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-top: 65px;

}
.nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  color: inherit;
}
.nav-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow);
  border-color: rgba(44,74,46,.2);
}
.nav-item-icon { display: none; }
.nav-item-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  display: block;
  letter-spacing: -.01em;
  line-height: 1;
}
.nav-item-desc {
  font-size: 12.5px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
  letter-spacing: .01em;
}
.nav-item-arrow {
  margin-left: auto;
  font-size: 18px;
  color: var(--sage);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.nav-item:hover .nav-item-arrow {
  transform: translateX(4px);
  color: var(--green);
}

/* ── Forms ── */
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}
label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
}
input, textarea, select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
textarea { min-height: 138px; resize: vertical; }
input:focus, textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122,158,126,.18);
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .65; }

/* ── Contact info sidebar ── */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.contact-item + .contact-item { margin-top: 12px; }
.contact-item-icon { font-size: 20px; margin-top: 2px; flex-shrink: 0; }
.contact-item-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
  display: block;
}
.contact-item-val {
  font-size: 14.5px;
  color: var(--text);
}
.contact-item-val a:hover { color: var(--green); text-decoration: underline; }

/* ── Footer ── */
footer {
  padding: clamp(36px, 5vw, 56px) 0 clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: rgba(28,38,22,.025);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 28px;
}
@media (max-width: 680px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand-col { grid-column: span 2; }
}
.foot-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: .02em;
  display: block;
  margin-bottom: 6px;
}
.foot-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 36ch;
}
.foot-col-label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}
.foot-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.foot-links a {
  font-size: 14px;
  color: var(--text);
  opacity: .72;
  transition: opacity .15s, color .15s;
}
.foot-links a:hover { opacity: 1; color: var(--green); }
.foot-copy {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
}

/* ── Reveal animation ── */
/* .reveal { opacity: 0; transform: translateY(16px); }
.reveal.on { opacity: 1; transform: translateY(0); transition: opacity .62s ease, transform .62s ease; } */

/* ── Utility ── */
.hidden { display: none !important; }
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 20px; }
.mt-l { margin-top: 32px; }
.mb-s { margin-bottom: 12px; }

/* ── Responsive nav ── */
@media (max-width: 480px) {
  .brand-sub { display: none; }
}
