/*
Theme Name: Standing Tall – Stephanie
Theme URI: https://tylerromeroniner.com/
Author: Does This Help® / W3CONNECT
Description: A bright, welcoming personal WordPress theme for Stephanie Bulwig featuring journals, projects, goals, skills, memories, privacy controls, and AJAX filtering.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: Stephanie-standing-tall
*/

:root {
  --trn-primary: #315a8a;
  --trn-secondary: #4b7f52;
  --trn-accent: #d8a64b;
  --trn-bg: #f7f8f9;
  --trn-surface: #ffffff;
  --trn-text: #2d2d2d;
  --trn-muted: #667085;
  --trn-border: #d9dee5;
  --trn-radius: 18px;
  --trn-shadow: 0 10px 30px rgba(35, 52, 70, .10);
  --trn-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--trn-bg);
  color: var(--trn-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: var(--trn-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container { width: min(calc(100% - 32px), var(--trn-width)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--trn-border); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-branding { display:flex; align-items:center; gap:12px; font-weight:800; }
.site-branding .mark { width:42px; height:42px; border-radius:50%; display:grid; place-items:center; background:linear-gradient(135deg,var(--trn-accent),#f5d27a); color:#28313c; }
.site-title { font-size: 1.15rem; color: var(--trn-text); }
.main-nav ul { display:flex; gap:18px; list-style:none; padding:0; margin:0; }
.main-nav a { color: var(--trn-text); font-weight:650; }
.menu-toggle { display:none; border:1px solid var(--trn-border); background:#fff; border-radius:10px; padding:10px 12px; }
.hero { min-height: 72vh; display:grid; align-items:center; background: linear-gradient(rgba(20,35,50,.42),rgba(20,35,50,.52)), var(--trn-hero, linear-gradient(135deg,#315a8a,#4b7f52)); background-size:cover; background-position:center; color:white; }
.hero-content { max-width: 760px; padding: 90px 0; }
.eyebrow { text-transform:uppercase; letter-spacing:.12em; font-size:.8rem; font-weight:800; color:var(--trn-accent); }
.hero h1 { font-family: Georgia, serif; font-size: clamp(3rem, 8vw, 6.4rem); line-height:.95; margin:.25em 0; }
.hero p { font-size: clamp(1.1rem, 2.5vw, 1.45rem); max-width: 680px; }
.button-row { display:flex; gap:12px; flex-wrap:wrap; margin-top:28px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:0 20px; border-radius:999px; font-weight:800; border:2px solid transparent; }
.button-primary { background:var(--trn-accent); color:#25313c; }
.button-secondary { border-color:white; color:white; }
.section { padding: 78px 0; }
.section-title { font-family: Georgia, serif; font-size: clamp(2rem,4vw,3.1rem); line-height:1.1; margin:0 0 12px; }
.section-lead { color:var(--trn-muted); max-width:720px; margin-bottom:34px; }
.card-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:20px; }
.card { background:var(--trn-surface); border:1px solid var(--trn-border); border-radius:var(--trn-radius); padding:24px; box-shadow:var(--trn-shadow); }
.card h3 { margin-top:0; }
.card-icon { width:48px; height:48px; border-radius:14px; display:grid; place-items:center; background:#edf3f8; font-size:1.4rem; }
.progress { height:10px; background:#e8edf2; border-radius:99px; overflow:hidden; margin-top:14px; }
.progress > span { display:block; height:100%; background:linear-gradient(90deg,var(--trn-primary),var(--trn-secondary)); border-radius:inherit; }
.post-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.post-card { overflow:hidden; padding:0; }
.post-card .thumb { aspect-ratio:16/10; background:#dce5ec; object-fit:cover; width:100%; }
.post-card .content { padding:22px; }
.meta { color:var(--trn-muted); font-size:.9rem; }
.filter-bar { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:26px; }
.filter-button { border:1px solid var(--trn-border); background:white; padding:10px 14px; border-radius:999px; cursor:pointer; font-weight:700; }
.filter-button.active { background:var(--trn-primary); color:white; border-color:var(--trn-primary); }
.quote-band { background:linear-gradient(135deg,#253b52,#315a8a); color:white; text-align:center; }
.quote-band blockquote { margin:0 auto; max-width:800px; font-family:Georgia,serif; font-size:clamp(1.8rem,4vw,3.1rem); line-height:1.25; }
.site-footer { background:#1d2935; color:#dbe3ea; padding:48px 0; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:32px; }
.site-footer a { color:#fff; }
.entry-wrap { width:min(calc(100% - 32px), 860px); margin:60px auto; background:white; border-radius:var(--trn-radius); padding:clamp(24px,5vw,54px); box-shadow:var(--trn-shadow); }
.entry-title { font-family:Georgia,serif; font-size:clamp(2.2rem,5vw,4rem); line-height:1.1; }
.screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
body.dark-mode { --trn-bg:#121920; --trn-surface:#1d2731; --trn-text:#edf3f7; --trn-muted:#aebbc6; --trn-border:#33414d; --trn-shadow:none; }
body.dark-mode .site-header, body.dark-mode .menu-toggle, body.dark-mode .filter-button { background:#1d2731; color:#fff; }
@media (max-width: 900px) {
  .card-grid { grid-template-columns:repeat(2,1fr); }
  .post-grid { grid-template-columns:repeat(2,1fr); }
  .menu-toggle { display:block; }
  .main-nav { display:none; position:absolute; inset:74px 16px auto; background:white; border:1px solid var(--trn-border); border-radius:16px; padding:18px; box-shadow:var(--trn-shadow); }
  .main-nav.open { display:block; }
  .main-nav ul { flex-direction:column; }
  .footer-grid { grid-template-columns:1fr; }
}
@media (max-width: 620px) {
  .card-grid, .post-grid { grid-template-columns:1fr; }
  .hero { min-height:62vh; }
  .section { padding:58px 0; }
}

/* Happy Daylight palette and visitor account controls */
:root {
  --trn-primary: #7657d5;
  --trn-secondary: #26a69a;
  --trn-accent: #ffbf47;
  --trn-pink: #f06fa7;
  --trn-sky: #63bff2;
  --trn-bg: #fffaf2;
  --trn-surface: #ffffff;
  --trn-text: #2f3152;
  --trn-muted: #686b85;
  --trn-border: #eadff3;
  --trn-shadow: 0 14px 36px rgba(96, 72, 145, .13);
}
body {
  background:
    radial-gradient(circle at 8% 7%, rgba(255,191,71,.18), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(99,191,242,.16), transparent 26rem),
    var(--trn-bg);
}
.site-header { background: rgba(255,255,255,.92); border-bottom-color:#eee2f4; }
.site-branding .mark { background:linear-gradient(135deg,#ffcf5a,#ff8b76); color:#573a59; box-shadow:0 5px 16px rgba(240,111,167,.25); }
.hero {
  background: linear-gradient(rgba(60,40,100,.24),rgba(47,166,154,.24)),
    var(--trn-hero, linear-gradient(135deg,#7657d5 0%,#63bff2 48%,#26a69a 100%));
}
.eyebrow { color:#fff2a8; }
.button-primary { background:linear-gradient(135deg,#ffcf5a,#ff9f68); color:#493448; box-shadow:0 8px 22px rgba(255,159,104,.28); }
.button-primary:hover { transform:translateY(-1px); text-decoration:none; }
.card { border-color:#eee4f5; }
.card:nth-child(4n+1) .card-icon { background:#fff0f6; }
.card:nth-child(4n+2) .card-icon { background:#eef9ff; }
.card:nth-child(4n+3) .card-icon { background:#edfbf7; }
.card:nth-child(4n+4) .card-icon { background:#fff7de; }
.progress > span { background:linear-gradient(90deg,#7657d5,#f06fa7,#ffbf47); }
.filter-button.active { background:linear-gradient(135deg,#7657d5,#f06fa7); border-color:transparent; }
.quote-band { background:linear-gradient(135deg,#7657d5 0%,#f06fa7 52%,#ff9f68 100%); }
.site-footer { background:linear-gradient(135deg,#373052,#284a5c); }
.header-actions { display:flex; align-items:center; gap:9px; margin-left:auto; }
.account-link { display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:0 15px; border-radius:999px; font-weight:800; white-space:nowrap; }
.account-login { color:var(--trn-primary); border:1px solid #dcd0ec; background:#fff; }
.account-register { color:#493448; background:linear-gradient(135deg,#ffcf5a,#ff9f68); box-shadow:0 6px 16px rgba(255,159,104,.22); }
.account-link:hover { text-decoration:none; transform:translateY(-1px); }
.user-greeting { color:var(--trn-muted); font-size:.9rem; font-weight:700; }
.registration-note { width:min(calc(100% - 32px),var(--trn-width)); margin:18px auto 0; padding:12px 16px; border-radius:14px; background:#fff7db; border:1px solid #f2d780; color:#5e4b22; }
body.dark-mode { --trn-bg:#1d1930; --trn-surface:#29243e; --trn-text:#fff9ff; --trn-muted:#cbc3dc; --trn-border:#443b60; }
body.dark-mode .account-login { background:#29243e; color:#fff; border-color:#554b71; }
@media (max-width: 1080px) {
  .user-greeting { display:none; }
  .account-link { padding-inline:12px; }
}
@media (max-width: 900px) {
  .header-inner { flex-wrap:wrap; padding:10px 0; }
  .header-actions { order:2; }
  .main-nav { top:82px; }
}
@media (max-width: 620px) {
  .site-title { max-width:145px; line-height:1.15; }
  .header-actions { width:100%; justify-content:flex-end; padding-bottom:2px; }
  .account-link { min-height:38px; font-size:.9rem; }
}
