
:root{
  --bg:#f7f0e6;
  --paper:#fffaf3;
  --ink:#221813;
  --espresso:#3b251a;
  --coffee:#6f4731;
  --caramel:#cda982;
  --latte:#e7d3bd;
  --muted:#75695f;
  --line:#dfd1c1;
  --soft:#efe5d9;
  --max:1180px;
  --shadow:0 22px 70px rgba(52,31,20,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:var(--bg);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
button{cursor:pointer}
.container{width:min(calc(100% - 40px),var(--max));margin-inline:auto}
.serif,h1,h2,h3,.quote{font-family:Georgia,"Times New Roman",serif}
.eyebrow{font-size:11px;letter-spacing:.22em;text-transform:uppercase;font-weight:900;color:var(--coffee)}
.muted{color:var(--muted)}
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(247,240,230,.91);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(223,209,193,.8);
}
.navbar{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo{display:flex;align-items:center;gap:11px;font-family:Georgia,serif;font-weight:700;letter-spacing:.02em}
.logo-icon{width:41px;height:41px;border-radius:14px;background:var(--espresso);display:grid;place-items:center;color:#fff;font-size:18px;box-shadow:0 8px 20px rgba(59,37,26,.18)}
.logo span:last-child{font-size:15px}
.nav-links{display:flex;align-items:center;gap:25px;font-size:13px;font-weight:800}
.nav-links>a{opacity:.78;transition:.2s ease}
.nav-links>a:hover,.nav-links>a.active{opacity:1}
.nav-pill{border:1px solid var(--coffee);padding:10px 15px;border-radius:999px}
.menu-btn{display:none;border:0;background:transparent;color:var(--ink);font-size:27px}
.hero{padding:60px 0 30px}
.hero-card{
  min-height:650px;
  border-radius:34px;
  overflow:hidden;
  position:relative;
  background:var(--espresso);
  box-shadow:var(--shadow);
}
.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.hero-card:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(17,10,7,.89) 0%,rgba(28,16,10,.78) 38%,rgba(25,14,9,.28) 68%,rgba(20,12,8,.12) 100%);
}
.hero-content{position:relative;z-index:2;color:#fff;width:min(690px,68%);padding:88px 70px}
.hero .eyebrow{color:#e7c7a6}
h1,h2,h3{margin:0;line-height:1.03}
h1{font-size:clamp(50px,7.6vw,94px);letter-spacing:-.047em}
h2{font-size:clamp(36px,5vw,62px);letter-spacing:-.037em}
h3{font-size:27px;letter-spacing:-.02em}
.hero-lede{font-size:19px;max-width:610px;margin:24px 0 0;color:rgba(255,255,255,.82)}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 18px;border-radius:999px;font-weight:900;font-size:13px;border:1px solid transparent;transition:.2s ease}
.btn:hover{transform:translateY(-1px)}
.btn-light{background:#f2d6b7;color:var(--ink)}
.btn-ghost-light{border-color:rgba(255,255,255,.55);color:#fff}
.btn-dark{background:var(--espresso);color:#fff}
.btn-outline{border-color:var(--espresso);color:var(--espresso)}
.section{padding:84px 0}
.section-tight{padding:46px 0}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:28px}
.section-head p{max-width:520px;margin:0;color:var(--muted)}
.daily-thought{text-align:center;padding:72px 0 62px}
.daily-thought .quote{font-size:clamp(34px,5vw,58px);line-height:1.12;letter-spacing:-.034em;max-width:850px;margin:16px auto 0}
.quote-mark{font-family:Georgia,serif;font-size:52px;height:35px;color:var(--coffee)}
.rule{width:72px;height:1px;background:var(--coffee);margin:28px auto}
.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.category-card{
  background:var(--paper);border:1px solid var(--line);border-radius:18px;overflow:hidden;
  box-shadow:0 10px 35px rgba(52,31,20,.05);transition:.2s ease
}
.category-card:hover{transform:translateY(-3px);box-shadow:0 17px 42px rgba(52,31,20,.09)}
.category-card img{width:100%;height:142px;object-fit:cover}
.category-copy{padding:17px}
.category-copy h3{font-size:21px}
.category-copy p{font-size:13px;color:var(--muted);margin:8px 0 12px}
.mini-link{font-size:12px;font-weight:900;color:var(--coffee)}
.feature{
  display:grid;grid-template-columns:1.03fr .97fr;gap:0;background:var(--espresso);border-radius:30px;overflow:hidden;color:#fff
}
.feature-image{min-height:440px;background:url('/assets/images/relationships.webp') center/cover no-repeat}
.feature-copy{padding:54px}
.feature-copy .eyebrow{color:#e5bf99}
.feature-copy p{color:rgba(255,255,255,.76);font-size:18px}
.story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.story-card{background:var(--paper);border:1px solid var(--line);border-radius:20px;overflow:hidden}
.story-card img{height:205px;width:100%;object-fit:cover}
.story-body{padding:23px}
.story-body h3{font-size:25px}
.story-body p{color:var(--muted);margin:10px 0}
.coffee-band{
  background:linear-gradient(135deg,#e6d1ba 0%,#f5eade 55%,#d9b896 100%);
  border-radius:32px;padding:52px;display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center
}
.coffee-band img{border-radius:24px;width:100%;height:350px;object-fit:cover;box-shadow:var(--shadow)}
.instagram-band{background:#27170f;color:#fff;padding:38px 0}
.instagram-wrap{display:flex;align-items:center;justify-content:space-between;gap:30px}
.instagram-wrap p{margin:4px 0 0;color:rgba(255,255,255,.7)}
.page-hero{padding:92px 0 46px}
.page-hero h1{font-size:clamp(54px,7vw,82px);max-width:920px}
.page-hero .intro{font-size:20px;color:var(--muted);max-width:780px;margin:22px 0 0}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.info-card{background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:30px}
.info-card h3{font-size:26px}
.number{font-family:Georgia,serif;font-size:44px;color:var(--caramel)}
.start-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
.start-card{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:25px}
.start-card .icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--soft);margin-bottom:18px;font-size:18px}
.what-list{display:grid;gap:0}
.what-list div{padding:17px 0;border-bottom:1px solid var(--line);display:flex;gap:13px}
.what-list b{min-width:145px}
.filter-bar{
  display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:26px
}
.search-box{
  flex:1;min-width:240px;border:1px solid var(--line);background:var(--paper);border-radius:999px;
  padding:12px 16px;color:var(--ink)
}
.filter-btn{border:1px solid var(--line);background:transparent;border-radius:999px;padding:10px 14px;font-size:12px;font-weight:800;color:var(--ink)}
.filter-btn.active{background:var(--espresso);color:#fff;border-color:var(--espresso)}
.thought-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.thought-card{background:var(--paper);border:1px solid var(--line);border-radius:20px;overflow:hidden}
.thought-card img{width:100%;height:215px;object-fit:cover}
.thought-body{padding:24px}
.tag{display:inline-block;font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-weight:900;color:var(--coffee);margin-bottom:12px}
.thought-body h3{font-size:27px}
.thought-body p{color:var(--muted)}
.hidden-card{display:none!important}
.prose{width:min(calc(100% - 40px),780px);margin:0 auto;padding:44px 0 110px}
.prose p{font-size:19px;color:#4e433c}
.prose h2{font-size:39px;margin-top:54px}
.prose .pullquote{
  margin:38px 0;padding:26px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  font-family:Georgia,serif;font-size:34px;line-height:1.2;color:var(--espresso)
}
.article-meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px;color:var(--muted);font-size:13px}
.about-visual{border-radius:28px;overflow:hidden;min-height:470px;background:url('/assets/images/rest-reset.webp') center/cover no-repeat;position:relative}
.about-note{position:absolute;left:26px;right:26px;bottom:26px;background:rgba(255,250,243,.88);backdrop-filter:blur(10px);border-radius:18px;padding:22px;font-family:Georgia,serif;font-size:24px}
.contact-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:30px}
.contact-panel,.form-panel{background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:32px}
.contact-item{padding:17px 0;border-bottom:1px solid var(--line)}
.contact-item:last-child{border:0}
.field{display:grid;gap:7px;margin-bottom:15px}
label{font-size:12px;font-weight:900}
input,textarea{width:100%;border:1px solid var(--line);background:#fffdf9;color:var(--ink);border-radius:13px;padding:13px}
textarea{min-height:145px;resize:vertical}
.small{font-size:12px;color:var(--muted)}
.site-footer{background:#21130c;color:#fff;padding:52px 0 28px}
.footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:35px}
.footer-title{font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:900;color:#ddb992;margin-bottom:14px}
.footer-links{display:grid;gap:9px;font-size:13px;color:rgba(255,255,255,.72)}
.footer-brand p{max-width:380px;color:rgba(255,255,255,.68);font-size:14px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:38px;padding-top:20px;color:rgba(255,255,255,.48);font-size:12px}
.not-found{min-height:70vh;display:grid;place-items:center;text-align:center;padding:60px 20px}
.not-found h1{font-size:100px}
@media (max-width:980px){
  .category-grid{grid-template-columns:repeat(2,1fr)}
  .category-card:last-child{grid-column:span 2}
  .start-grid{grid-template-columns:repeat(2,1fr)}
  .thought-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:820px){
  .menu-btn{display:block}
  .nav-links{
    display:none;position:absolute;left:0;right:0;top:76px;background:var(--bg);border-bottom:1px solid var(--line);
    padding:20px;flex-direction:column;align-items:flex-start
  }
  .nav-links.open{display:flex}
  .hero-card{min-height:620px}
  .hero-content{width:100%;padding:70px 34px}
  .hero-card:after{background:linear-gradient(90deg,rgba(17,10,7,.9),rgba(17,10,7,.56))}
  .feature,.coffee-band,.two-col,.contact-layout{grid-template-columns:1fr}
  .feature-image{min-height:310px}
  .section-head{display:block}
  .section-head p{margin-top:12px}
  .instagram-wrap{display:block}
  .instagram-wrap .btn{margin-top:18px}
}
@media (max-width:620px){
  .container{width:min(calc(100% - 24px),var(--max))}
  .hero{padding-top:24px}
  .hero-card{border-radius:24px;min-height:650px}
  .hero-content{padding:56px 24px}
  .hero-photo{object-position:45% center}
  .hero-lede{font-size:17px}
  .section{padding:64px 0}
  .category-grid,.start-grid,.thought-grid,.story-grid,.footer-grid{grid-template-columns:1fr}
  .category-card:last-child{grid-column:auto}
  .category-card img,.thought-card img{height:200px}
  .feature-copy,.coffee-band{padding:26px}
  .coffee-band img{height:260px}
  .page-hero{padding-top:62px}
  .what-list div{display:block}
  .what-list b{display:block;margin-bottom:5px}
  .not-found h1{font-size:72px}
}


/* =========================
   V4 — VISUAL ARTICLE PAGES
   ========================= */
.article-visual-wrap{
  width:min(calc(100% - 40px),1050px);
  margin:0 auto 10px;
}
.article-hero-image{
  width:100%;
  height:clamp(300px,48vw,560px);
  object-fit:cover;
  border-radius:28px;
  box-shadow:var(--shadow);
  border:1px solid rgba(223,209,193,.72);
}
.article-image-caption{
  margin:10px 6px 0;
  font-size:12px;
  color:var(--muted);
  text-align:center;
}
.article-inline-visual{
  margin:42px 0;
}
.article-inline-visual img{
  width:100%;
  max-height:470px;
  object-fit:cover;
  border-radius:22px;
  box-shadow:0 16px 45px rgba(52,31,20,.10);
}
.article-inline-visual figcaption{
  margin-top:10px;
  text-align:center;
  font-size:12px;
  color:var(--muted);
}
.related-thoughts{
  width:min(calc(100% - 40px),1050px);
  margin:0 auto 100px;
}
.related-thoughts .story-grid{
  margin-top:24px;
}
.article-page-hero{
  padding-bottom:28px;
}
@media (max-width:620px){
  .article-visual-wrap,
  .related-thoughts{width:min(calc(100% - 24px),1050px)}
  .article-hero-image{border-radius:20px;height:320px}
  .article-inline-visual img{border-radius:18px}
}
