:root{
  --bg:#0d0f12;
  --bg-soft:#14171b;
  --line:rgba(255,255,255,.08);

  --text:#e7e1d7;
  --muted:#bdb5a9;

  --gold:#c89a57;
  --gold-soft:#8e7041;

  --accent:#7f95ad;
  --accent-soft:rgba(127,149,173,.12);

  --paper:#f5efe5;
  --paper-2:#efe8dc;
  --ink:#191816;
  --ink-soft:#3e3933;
  --ink-rule:rgba(25,24,22,.12);

  --radius:28px;
  --shadow:0 22px 48px rgba(0,0,0,.35);
  --max:1320px;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at 16% 7%, rgba(200,154,87,.05), transparent 26%),
    radial-gradient(circle at 83% 4%, rgba(127,149,173,.09), transparent 28%),
    linear-gradient(180deg, #050607 0%, #0b0d10 56%, #050607 100%);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

img{
  display:block;
  max-width:100%;
}

a{
  color:inherit;
  text-decoration:none;
}

a:visited{
  color:inherit;
}

h1,h2,h3,.brand{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

/* HEADER */
.site-header{
  position:sticky;
  top:0;
  z-index:30;
  backdrop-filter:blur(12px);
  background:rgba(5,6,8,.82);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.site-header__inner,
.page-shell,
.site-footer__inner,
.post-wrap{
  width:min(var(--max), calc(100vw - 36px));
  margin:0 auto;
}

.site-header__inner{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.brand{
  font-size:1rem;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-weight:800;
  white-space:nowrap;
}

.nav{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
  color:#d4cbc0;
  font-size:.9rem;
  font-weight:500;
}

.nav a{
  white-space:nowrap;
}

.nav a:hover,
.brand:hover{
  color:#fff;
}

/* PAGE */
.page-shell{
  padding:30px 0 54px;
}

.hero{
  display:grid;
  grid-template-columns:.95fr 1.1fr;
  gap:24px;
  align-items:stretch;
  margin-bottom:24px;
}

.hero__media,
.hero__copy,
.section,
.entry-card,
.post-card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.hero__media{
  min-height:680px;
  background:#0d0d11;
}

.hero__media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero__copy{
  padding:34px 34px 32px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.008)),
    linear-gradient(90deg, rgba(200,154,87,.08) 0%, rgba(255,255,255,.01) 40%, rgba(127,149,173,.08) 100%);
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.eyebrow,
.section-label,
.post-meta,
.entry-card__meta,
.archive-card__meta{
  margin:0 0 12px;
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.78rem;
  font-weight:700;
}

h1{
  margin:0;
  font-size:clamp(2.65rem, 5vw, 4.85rem);
  line-height:.96;
  letter-spacing:-.05em;
  font-weight:800;
}

.dek{
  margin:18px 0 0;
  max-width:28ch;
  color:#d2c7bb;
  line-height:1.62;
  font-size:1.08rem;
  font-weight:500;
}

.hero-links{
  display:flex;
  gap:12px;
  margin:28px 0;
  flex-wrap:wrap;
}

.btn{
  min-height:50px;
  padding:0 22px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.82rem;
  font-weight:700;
  border:1px solid var(--line);
}

.btn--solid{
  background:linear-gradient(180deg, #ddb36d, #bb8745);
  color:#161616;
  border-color:rgba(221,179,109,.9);
}

.btn--ghost{
  background:rgba(255,255,255,.03);
  color:#e8e0d5;
}

.btn:hover{
  transform:translateY(-1px);
}

/* ABOUT */
.about-panel{
  padding:28px 26px 18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.008)),
    linear-gradient(90deg, rgba(200,154,87,.05), rgba(255,255,255,.01) 50%, rgba(127,149,173,.05));
}

.about-panel h2,
.section-head h2{
  margin:0;
  font-size:1.9rem;
  letter-spacing:-.03em;
  font-weight:800;
}

.about-panel p{
  margin:18px 0 0;
  line-height:1.82;
  color:#cfc5b9;
  font-size:1rem;
  font-weight:500;
}

/* SECTIONS */
.section{
  padding:30px;
  margin-top:22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.022), rgba(255,255,255,.008)),
    linear-gradient(90deg, rgba(200,154,87,.04), rgba(255,255,255,.005) 48%, rgba(127,149,173,.04));
}

.section-head{
  margin-bottom:18px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

/* ENTRY CARDS */
.entry-list{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.entry-card{
  position:relative;
  padding:22px 22px 54px;
  min-height:240px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.022), rgba(255,255,255,.008)),
    radial-gradient(circle at top right, rgba(127,149,173,.12), transparent 36%);
  transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.entry-card:hover{
  transform:translateY(-6px);
  border-color:var(--accent);
  box-shadow:0 24px 46px rgba(0,0,0,.42);
}

.entry-card h3{
  position:relative;
  z-index:1;
  margin:0 0 10px;
  font-size:1.18rem;
  line-height:1.22;
  letter-spacing:-.03em;
  font-weight:800;
  color:#f2ede3;
}

.entry-card p{
  position:relative;
  z-index:1;
  margin:0;
  color:#cfc5b9;
  line-height:1.62;
  font-size:.97rem;
  font-weight:500;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:5;
  overflow:hidden;
  mask-image:linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
  -webkit-mask-image:linear-gradient(180deg, #000 0%, #000 74%, transparent 100%);
}

.entry-card::after{
  content:"Read full →";
  position:absolute;
  right:20px;
  bottom:18px;
  z-index:2;
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.7rem;
  font-weight:700;
  opacity:.8;
  transition:opacity .2s ease, transform .2s ease;
}

.entry-card:hover::after{
  opacity:1;
  transform:translateX(4px);
}

.section-cta{
  margin-top:22px;
  display:flex;
  justify-content:flex-start;
}

/* ARCHIVE */
.archive-page{
  padding-top:30px;
}

.archive-section{
  margin-top:0;
}

.archive-year{
  margin-bottom:34px;
}

.archive-year-heading{
  margin:0 0 12px;
  font-size:2rem;
  letter-spacing:-.03em;
  color:#f2ede3;
  font-weight:800;
}

.archive-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.archive-card{
  display:block;
  padding:22px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
  transition:background .22s ease, border-color .22s ease, padding-left .22s ease;
}

.archive-card:hover{
  background:rgba(255,255,255,.02);
  border-color:rgba(200,154,87,.22);
  padding-left:10px;
}

.archive-card h3{
  margin:0 0 8px;
  font-size:1.3rem;
  line-height:1.22;
  letter-spacing:-.03em;
  font-weight:800;
  color:#f2ede3;
}

.archive-card p{
  margin:0;
  color:#cfc5b9;
  line-height:1.68;
  font-size:.98rem;
  font-weight:500;
}

.archive-card__meta{
  margin-bottom:8px;
}

/* FOOTER */
.site-footer{
  border-top:1px solid rgba(255,255,255,.06);
  text-align:center;
  padding:24px 0;
}

.site-footer__inner{
  color:#9f988d;
  font-size:.9rem;
  line-height:1.65;
}

.site-footer a{
  color:var(--gold);
  text-decoration:none;
  font-weight:600;
}

.site-footer a:hover{
  color:var(--accent);
}

/* READER MODE (POST PAGE) */
.post-page{
  background:linear-gradient(#f5efe5,#efe8dc);
  color:var(--ink);
}

.post-wrap{
  padding:34px 0 60px;
}

.post-back{
  display:inline-block;
  margin-bottom:22px;
  color:#74572d;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.8rem;
  font-weight:700;
}

.post-card{
  background:rgba(255,255,255,.5);
  padding:46px 72px;
  box-shadow:0 18px 36px rgba(20,18,15,.08);
  border:1px solid rgba(25,24,22,.08);
}

.post-meta,
.post-title,
.post-content{
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
}

.post-meta{
  margin-bottom:14px;
  color:#8a6b3a;
}

.post-title{
  margin-bottom:18px;
  color:#171614;
  font-size:clamp(2.5rem,5vw,4.2rem);
  line-height:1;
  letter-spacing:-.05em;
  font-weight:800;
}

.post-content > p:first-of-type{
  color:#25211d;
  font-size:1.2rem;
  line-height:1.95;
  font-weight:600;
}

.post-content p{
  margin:0 0 18px;
  color:var(--ink-soft);
  line-height:1.95;
  font-size:1.08rem;
  letter-spacing:.002em;
  font-weight:500;
}

.post-content p + p{
  margin-top:4px;
}

.post-content blockquote{
  margin:34px 0 30px;
  padding:18px 22px 18px 24px;
  border-left:4px solid var(--accent);
  color:#2b2926;
  font-size:1.14rem;
  line-height:1.86;
  font-style:italic;
  font-weight:500;
  background:linear-gradient(90deg, rgba(127,149,173,.10), rgba(127,149,173,0));
  border-radius:0 14px 14px 0;
}

.post-content h2,
.post-content h3{
  color:#171614;
  margin:40px 0 14px;
  line-height:1.15;
  font-weight:800;
}

.post-content h2{
  font-size:1.78rem;
}

.post-content h3{
  font-size:1.34rem;
}

.post-content a{
  color:#8a6b3a;
  text-decoration:underline;
  text-underline-offset:2px;
}

.post-content ul,
.post-content ol{
  color:var(--ink-soft);
  line-height:1.88;
  padding-left:1.3rem;
  margin:0 0 20px;
  font-weight:500;
}

.post-content li + li{
  margin-top:8px;
}

.post-content strong{
  color:#1b1916;
  font-weight:700;
}

.post-content em{
  color:#47423c;
}

.post-signoff{
  margin-top:38px;
  padding-top:22px;
  border-top:1px solid var(--ink-rule);
  font-size:1.05rem;
  color:#3f3a34;
  font-weight:500;
}

.post-signoff p{
  color:#3f3a34;
}

.post-signoff .binky{
  color:#59708a;
  font-weight:700;
}

/* POST IMAGES */
.post-content img{
  width:100%;
  border-radius:18px;
  margin:32px 0 18px;
  box-shadow:0 14px 34px rgba(0,0,0,.10);
}

.post-content img + em{
  display:block;
  font-size:.92rem;
  color:#7a746c;
  margin-top:-8px;
  margin-bottom:28px;
  text-align:center;
  font-style:normal;
  font-weight:500;
  letter-spacing:.01em;
}

/* MOBILE */
@media (max-width:980px){
  .hero{
    grid-template-columns:1fr;
  }

  .hero__media{
    min-height:430px;
  }

  .entry-list{
    grid-template-columns:1fr 1fr;
  }

  .post-card{
    padding:32px 34px;
  }

  .dek{
    max-width:unset;
  }
}

@media (max-width:640px){
  .site-header__inner{
    min-height:64px;
    gap:14px;
    align-items:flex-start;
    padding-top:14px;
    padding-bottom:14px;
  }

  .brand{
    font-size:.92rem;
    letter-spacing:.14em;
  }

  .nav{
    gap:12px;
    flex-wrap:nowrap;
    justify-content:flex-end;
    align-items:center;
    font-size:.8rem;
    overflow-x:auto;
    scrollbar-width:none;
  }

  .nav::-webkit-scrollbar{
    display:none;
  }

  .page-shell{
    padding-top:18px;
  }

  .hero__copy,
  .section{
    padding:22px;
  }

  .entry-list{
    grid-template-columns:1fr;
  }

  .hero__media{
    min-height:320px;
  }

  .dek{
    font-size:1.02rem;
  }

  .post-wrap{
    padding:22px 0 44px;
  }

  .post-card{
    padding:24px 22px;
  }

  .post-meta,
  .post-title,
  .post-content{
    max-width:100%;
  }

  .post-content > p:first-of-type{
    font-size:1.08rem;
  }

  .post-content p{
    font-size:1rem;
  }

  .post-content blockquote{
    font-size:1.04rem;
    line-height:1.78;
  }

  .archive-year-heading{
    font-size:1.6rem;
  }

  .entry-card{
    padding-bottom:50px;
  }

  .entry-card::after{
    right:18px;
    bottom:16px;
    font-size:.66rem;
  }
}/* =========================
   ARCHIVE READ FULL ONLY
   safe version
   ========================= */

.archive-card{
  display:block;
}

.archive-card::after{
  content:"Read full →";
  display:block;
  margin-top:10px;
  text-align:right;
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.68rem;
  font-weight:700;
  opacity:.82;
  transition:opacity .2s ease, transform .2s ease;
}

.archive-card:hover::after{
  opacity:1;
  transform:translateX(4px);
}

@media (max-width:640px){
  .archive-card::after{
    font-size:.64rem;
    margin-top:8px;
  }
}
/* CONTACT PAGE */

.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  margin-top:18px;
}

.contact-copy p{
  color:#cfc5b9;
  line-height:1.8;
  font-size:1.05rem;
  font-weight:500;
  margin:0 0 16px;
}

.contact-email{
  margin-top:18px;
}

.contact-email a{
  font-size:1.2rem;
  font-weight:700;
  color:var(--gold);
  text-decoration:none;
}

.contact-email a:hover{
  color:var(--accent);
}

.contact-form-wrap{
  padding:24px;
  border-radius:24px;
  border:1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
}

.form-field{
  display:flex;
  flex-direction:column;
  margin-bottom:16px;
}

.form-field label{
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:#bdb5a9;
  margin-bottom:6px;
  font-weight:600;
}

.form-field input,
.form-field textarea{
  background:#0e1115;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  padding:12px 14px;
  color:#e7e1d7;
  font-family:inherit;
  font-size:.95rem;
}

.form-field input:focus,
.form-field textarea:focus{
  outline:none;
  border-color:var(--accent);
}

.hidden-field{
  position:absolute;
  left:-9999px;
  visibility:hidden;
}

/* THANK YOU PAGE */

.thank-you-copy{
  max-width:700px;
}

.thank-you-copy p{
  color:#cfc5b9;
  line-height:1.8;
  font-size:1.05rem;
  font-weight:500;
  margin:0 0 16px;
}

@media (max-width:860px){
  .contact-grid{
    grid-template-columns:1fr;
  }
}
