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

  :root {
    --cream: #FAF8F4;
    --warm-white: #F5F2EC;
    --stone: #E8E3D8;
    --muted: #B8AFA0;
    --text: #2C2820;
    --text-light: #7A6F65;
    --accent: #C4956A;
    --accent-light: #E8D5C0;
    --serif: 'Libre Baskerville', Georgia, serif;
    --sans: 'Jost', sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
  }

  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: var(--cream);
    border-bottom: 1px solid var(--stone);
    padding: 0 3.5rem;
    height: 110px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .nav-logo {
    cursor: pointer;
    display: flex;
    align-items: center;
  }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
  }
  .nav-links a:hover, .nav-links a.active { color: var(--text); }

  main { padding-top: 110px; min-height: 100vh; animation: fadeIn 0.4s ease; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

  .hero {
    padding: 6rem 2.5rem 4rem;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
  }
  .hero-label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.5rem;
  }
  .hero h1 {
    font-family: var(--serif);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 0.5rem;
  }
  .hero h1 em { font-style: italic; color: var(--accent); }
  .hero-sub {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 2rem;
  }
  .hero-desc {
    font-size: 14px;
    color: var(--text-light);
    max-width: 400px;
    margin: 0 auto 3rem;
    line-height: 1.8;
  }
  .divider { width: 40px; height: 1px; background: var(--accent); margin: 0 auto 3rem; }

  .categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--stone);
    border-top: 1px solid var(--stone);
    border-bottom: 1px solid var(--stone);
    margin-bottom: 5rem;
  }
  .cat-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s;
    text-align: center;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    background-color: var(--warm-white);
  }
  .cat-card:hover { transform: scale(1.01); }
  .cat-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2.5rem 2rem;
    background: linear-gradient(to top, rgba(250,248,244,0.95) 50%, rgba(250,248,244,0.4) 85%, rgba(250,248,244,0) 100%);
  }
  .cat-icon {
    font-family: var(--serif);
    font-size: 2.5rem;
    font-style: italic;
    color: var(--accent);
    margin-bottom: 0.75rem;
    line-height: 1;
  }
  .cat-card h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; margin-bottom: 0.5rem; color: var(--text); }
  .cat-card p { font-size: 12px; color: var(--text-light); line-height: 1.6; }

  .intro-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
    margin: 0 auto 5rem;
    padding: 0 2.5rem;
    gap: 4rem;
    align-items: center;
  }
  .intro-strip .label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1rem;
  }
  .intro-strip h2 { font-family: var(--serif); font-size: 2.2rem; font-weight: 300; line-height: 1.25; margin-bottom: 1rem; }
  .intro-strip p { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 1.5rem; }
  .text-link {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    cursor: pointer;
    border-bottom: 1px solid var(--accent-light);
    padding-bottom: 2px;
    text-decoration: none;
    transition: border-color 0.2s;
  }
  .text-link:hover { border-color: var(--accent); }
  .placeholder-img {
    aspect-ratio: 3/4;
    background: var(--warm-white);
    border: 1px solid var(--stone);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif);
    font-style: italic;
    color: var(--muted);
    font-size: 0.9rem;
    overflow: hidden;
  }

  .subscribe-section {
    background: var(--warm-white);
    border-top: 1px solid var(--stone);
    padding: 4rem 2.5rem;
    text-align: center;
  }
  .subscribe-section h2 { font-family: var(--serif); font-size: 2rem; font-weight: 300; margin-bottom: 0.5rem; }
  .subscribe-section p { font-size: 13px; color: var(--text-light); margin-bottom: 2rem; }
  .sub-form {
    display: flex;
    gap: 0;
    max-width: 380px;
    margin: 0 auto;
    border: 1px solid var(--stone);
  }
  .sub-form input {
    flex: 1;
    border: none;
    background: white;
    padding: 0.75rem 1rem;
    font-family: var(--sans);
    font-size: 13px;
    color: var(--text);
    outline: none;
  }
  .sub-form input::placeholder { color: var(--muted); }
  .sub-form button {
    background: var(--text);
    color: var(--cream);
    border: none;
    padding: 0.75rem 1.25rem;
    font-family: var(--sans);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
  }
  .sub-form button:hover { background: var(--accent); }

  footer {
    border-top: 1px solid var(--stone);
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.08em;
  }
  footer .footer-logo { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--text-light); }
  footer .footer-links { display: flex; gap: 1.5rem; }
  footer .footer-links a {
    color: var(--muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 10px;
    cursor: pointer;
    transition: color 0.2s;
  }
  footer .footer-links a:hover { color: var(--text); }

  .about-hero { max-width: 700px; margin: 0 auto; padding: 5rem 2.5rem 3rem; text-align: center; }
  .about-hero h2 { font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300; font-style: italic; margin-bottom: 1.5rem; }
  .about-hero p { font-size: 14px; color: var(--text-light); line-height: 1.9; margin-bottom: 1rem; }
  .about-body { max-width: 600px; margin: 3rem auto; padding: 0 2.5rem; }
  .about-body h2 { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; margin-bottom: 1rem; margin-top: 2.5rem; }
  .about-body p { font-size: 14px; color: var(--text-light); line-height: 1.9; margin-bottom: 1rem; }
  .pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2.5rem 0 3rem; }
  .pillar {
    padding: 2.5rem 1.5rem 2rem;
    background: var(--warm-white);
    border: 1px solid var(--stone);
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }
  .pillar:hover {
    background: var(--cream);
    border-color: var(--accent-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -18px rgba(44, 40, 32, 0.18);
  }
  .pillar-initial {
    font-family: var(--serif);
    font-size: 3rem;
    font-style: italic;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.75rem;
  }
  .pillar-divider {
    width: 24px;
    height: 1px;
    background: var(--accent-light);
    margin: 0 auto 1rem;
  }
  .pillar h4 {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 0.6rem;
    letter-spacing: 0.01em;
    font-style: normal;
  }
  .pillar p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }
  .pillar-link {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-block;
    border-bottom: 1px solid var(--accent-light);
    padding-bottom: 2px;
    transition: border-color 0.2s;
  }
  .pillar:hover .pillar-link { border-color: var(--accent); }

  .notes-header { padding: 5rem 2.5rem 3rem; max-width: 900px; margin: 0 auto; border-bottom: 1px solid var(--stone); margin-bottom: 3rem; }
  .notes-header h2 { font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300; font-style: italic; }
  .notes-header p { font-size: 13px; color: var(--text-light); margin-top: 0.75rem; }
  .filter-tabs { display: flex; gap: 0; padding: 0 2.5rem; max-width: 900px; margin: 0 auto; border-bottom: 1px solid var(--stone); }
  .filter-tab {
    padding: 0.75rem 1.5rem;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s;
  }
  .filter-tab:hover { color: var(--text); }
  .filter-tab.active { color: var(--text); border-bottom-color: var(--accent); }
  .notes-container { padding: 0 2.5rem 5rem; max-width: 900px; margin: 0 auto; }
  .posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; }
  .post-card { cursor: pointer; transition: opacity 0.2s; }
  .post-card:hover { opacity: 0.8; }
  .post-card.hidden { display: none; }
  .post-img {
    aspect-ratio: 4/3;
    background: var(--warm-white);
    border: 1px solid var(--stone);
    margin-bottom: 1rem;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 0.85rem;
    overflow: hidden;
  }
  .post-category { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.4rem; }
  .post-card h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; line-height: 1.3; margin-bottom: 0.4rem; }
  .post-card p { font-size: 12px; color: var(--text-light); line-height: 1.6; }
  .post-date { font-size: 11px; color: var(--muted); margin-top: 0.5rem; }

  .contact-wrap { max-width: 600px; margin: 0 auto; padding: 5rem 2.5rem 5rem; }
  .contact-wrap h2 { font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300; font-style: italic; margin-bottom: 0.75rem; }
  .contact-wrap > p { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 3rem; }
  .form-field { margin-bottom: 1.5rem; }
  .form-field label { display: block; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.5rem; }
  .form-field input, .form-field textarea, .form-field select {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--stone);
    background: transparent;
    padding: 0.6rem 0;
    font-family: var(--sans);
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s;
    resize: none;
  }
  .form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-bottom-color: var(--accent); }
  .form-field input::placeholder, .form-field textarea::placeholder { color: var(--muted); }
  .submit-btn {
    background: var(--text); color: var(--cream); border: none;
    padding: 0.9rem 2.5rem; font-family: var(--sans); font-size: 11px;
    letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
    margin-top: 0.5rem; transition: background 0.2s;
  }
  .submit-btn:hover { background: var(--accent); }
  .contact-note { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--stone); font-size: 13px; color: var(--text-light); line-height: 1.8; }
  .social-links { display: flex; gap: 1.5rem; margin-top: 1rem; }
  .social-links a { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-light); padding-bottom: 1px; }
  .success-msg { display: none; background: var(--warm-white); border: 1px solid var(--stone); padding: 1.5rem; margin-top: 1.5rem; font-family: var(--serif); font-style: italic; color: var(--text-light); font-size: 1rem; }

  /* POST DETAIL PAGE */
  .post-detail { max-width: 660px; margin: 0 auto; padding: 5rem 2.5rem 6rem; }
  .post-detail-back {
    font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--muted); cursor: pointer; margin-bottom: 3rem; display: inline-block;
    transition: color 0.2s;
  }
  .post-detail-back:hover { color: var(--accent); }
  .post-detail-category { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
  .post-detail h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; line-height: 1.2; margin-bottom: 1rem; }
  .post-detail-date { font-size: 11px; color: var(--muted); margin-bottom: 2.5rem; }
  .post-detail-img {
    aspect-ratio: 16/9; background: var(--warm-white); border: 1px solid var(--stone);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 0.9rem;
    margin-bottom: 3rem; overflow: hidden;
  }
  .post-detail-body { font-size: 15px; color: var(--text-light); line-height: 1.95; }
  .post-detail-body p { margin-bottom: 1.5rem; }
  .post-detail-divider { width: 40px; height: 1px; background: var(--accent); margin: 3rem 0; }

  @media (max-width: 680px) {
    nav { padding: 0 1.25rem; height: 80px; }
    .nav-logo img { height: 60px !important; }
    main { padding-top: 80px; }
    .nav-links { gap: 1.25rem; }
    .categories { grid-template-columns: 1fr; }
    .intro-strip { grid-template-columns: 1fr; gap: 2rem; }
    .pillars { grid-template-columns: 1fr; }
    .hero { padding: 4rem 1.25rem 3rem; }
    .notes-header, .about-hero, .contact-wrap { padding-left: 1.25rem; padding-right: 1.25rem; }
    .notes-container, .about-body { padding-left: 1.25rem; padding-right: 1.25rem; }
    footer { flex-direction: column; gap: 1rem; text-align: center; }
  }

/* Phase 1 multi-page additions */
.nav-logo a { display:flex; align-items:center; }
.nav-links a[aria-current="page"] { color: var(--text); }
.post-card a { color: inherit; text-decoration: none; display:block; }
.post-detail-back { text-decoration:none; }
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (max-width: 680px) {
  .nav-links { gap: .8rem; }
  .nav-links a { font-size: 9px; }
}
