/* ===========================================================
   Eco Style Edit — shared styles for the Journal (blog) pages
   Same colours and fonts as the homepage.
   =========================================================== */
:root { --paper:#fffaf5; --blush:#e7b8b2; --rose:#d28c82; --wine:#662f3b; --ink:#24201e; --line:#bda59d; --sand:#f2ded0; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:"DM Sans",Arial,sans-serif; }
a { color:inherit; text-decoration:none; }
img { display:block; width:100%; height:auto; object-fit:cover; }
h1,h2,h3,p { margin:0; }
.shell { max-width:1440px; margin:auto; overflow:hidden; }
.label, .eyebrow { font-family:"DM Mono",monospace; font-size:11px; letter-spacing:.05em; text-transform:uppercase; }
.topline { height:7px; background:var(--wine); }

/* ---------- Header ---------- */
/* Same as the homepage header (index.html), on a wine background with a white logo */
.site-header { height:88px; display:flex; justify-content:space-between; align-items:center; padding:0 5.5vw; background:var(--wine); }
.logo { font-family:Italiana,serif; font-weight:700; font-size:38px; letter-spacing:-.035em; white-space:nowrap; color:var(--paper); text-shadow:0 2px 8px rgba(0,0,0,.4); }
.nav { display:flex; align-items:center; gap:10px; }
.nav a { font-family:"DM Mono",monospace; font-size:11px; letter-spacing:.05em; text-transform:uppercase; background:rgba(255,255,255,.10); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border:1.5px solid var(--paper); color:var(--paper); border-radius:999px; padding:8px 16px; transition:background .2s ease, transform .2s ease; }
.nav a:hover { background:rgba(255,255,255,.35); transform:translateY(-2px); box-shadow:0 16px 34px rgba(255,250,245,.95); }
.menu { display:none; border:1.5px solid var(--paper); background:rgba(255,255,255,.10); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); color:var(--paper); border-radius:999px; padding:9px 18px; font:inherit; cursor:pointer; transition:background .2s ease, transform .2s ease; }
.menu:hover { background:rgba(255,255,255,.35); transform:translateY(-1px); box-shadow:0 16px 34px rgba(255,250,245,.95); }
.mobile-menu-panel, .mobile-nav { display:none; }
.mobile-menu-panel.is-open, .mobile-nav.is-open { display:flex; flex-direction:column; gap:10px; padding:8px 22px 22px; background:var(--wine); }

/* ---------- Buttons ---------- */
/* Buttons — same as the homepage .read-more / .read-more:hover (index.html) */
.pill, .pill.solid { font-family:"DM Mono",monospace; font-size:11px; letter-spacing:.05em; text-transform:uppercase; display:inline-flex; align-items:center; border:1px solid currentColor; border-radius:999px; padding:9px 18px; width:max-content; background-color:transparent; color:inherit; transition:transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.pill:hover, .pill.solid:hover { transform:translateY(-2px); box-shadow:0 16px 34px rgba(255,250,245,.95); background-color:rgba(255,255,255,.35); }

/* ---------- Journal (blog list) page ---------- */
.journal-hero { padding:90px 5.5vw 60px; text-align:center; border-bottom:1px solid var(--line); }
.journal-hero .eyebrow { color:var(--wine); }
.journal-hero h1 { font-family:Italiana,serif; font-weight:400; font-size:clamp(58px,8vw,120px); line-height:.9; letter-spacing:-.035em; margin-top:18px; }
.journal-hero p { margin:26px auto 0; max-width:520px; font-family:Cormorant,serif; font-size:20px; letter-spacing:-.02em; }
.post-grid { display:grid; grid-template-columns:repeat(3,1fr); border-bottom:1px solid var(--line); }
.post-card { padding:26px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); display:flex; flex-direction:column; transition:background .25s ease; }
.post-card:nth-child(3n) { border-right:0; }
a.post-card:hover { background:var(--sand); }
.post-card img { aspect-ratio:4/3; transition:transform .4s ease; }
.post-card .img-wrap { overflow:hidden; }
a.post-card:hover img { transform:scale(1.03); }
.post-card .label { color:var(--wine); margin-top:20px; }
.post-card .img-wrap + h2 { margin-top:20px; }
.post-card h2 { font-family:Italiana,serif; font-weight:400; font-size:34px; line-height:1; margin:12px 0 14px; }
.post-card p { font-family:Cormorant,serif; font-size:19px; letter-spacing:-.02em; line-height:1.3; }
.post-card .pill { margin-top:auto; }
.post-card p + .pill { margin-top:26px; }

/* ---------- Article page ---------- */
.article-head { padding:80px 5.5vw 48px; text-align:center; }
.article-head .eyebrow { color:var(--wine); }
.article-head h1 { font-family:Italiana,serif; font-weight:400; font-size:clamp(46px,6.4vw,96px); line-height:.94; letter-spacing:-.035em; max-width:1000px; margin:20px auto 0; }
.article-head .dek { margin:28px auto 0; max-width:620px; font-family:Cormorant,serif; font-size:clamp(19px,2vw,23px); letter-spacing:-.02em; line-height:1.35; }
.byline { margin-top:28px; display:flex; justify-content:center; gap:18px; flex-wrap:wrap; color:var(--ink); opacity:.75; }
.cover { padding:0 5.5vw; }
.cover img { aspect-ratio:16/8; }
.cover figcaption { margin-top:10px; opacity:.6; }

.article-body { max-width:700px; margin:0 auto; padding:64px 24px 40px; font-family:Cormorant,serif; font-size:21px; line-height:1.55; letter-spacing:-.01em; }
.article-body p { margin:0 0 22px; }
.article-body h2 { font-family:Italiana,serif; font-weight:400; font-size:clamp(34px,4vw,46px); line-height:1; letter-spacing:-.02em; margin:58px 0 20px; }
.article-body h3 { font-family:Italiana,serif; font-weight:400; font-size:28px; margin:36px 0 12px; }
.article-body a:not(.pill) { color:var(--wine); text-decoration:underline; text-underline-offset:3px; }
.article-body ul, .article-body ol { margin:0 0 22px; padding-left:22px; }
.article-body li { margin-bottom:8px; }
.article-body blockquote { margin:40px 0; padding:0 0 0 24px; border-left:3px solid var(--rose); font-size:27px; line-height:1.3; font-style:italic; color:var(--wine); }
.article-body figure { margin:36px 0; }
.article-body figure figcaption { margin-top:10px; opacity:.6; }

.disclosure { font-family:"DM Sans",sans-serif; font-size:13px; line-height:1.5; background:var(--sand); padding:14px 18px; margin-bottom:36px; }

/* Tip / note box */
.note { background:var(--blush); padding:24px 26px; margin:36px 0; }
.note .label { color:var(--wine); display:block; margin-bottom:8px; }
.note p:last-child { margin-bottom:0; }

/* Numbered brand / item section (e.g. "10 brands") */
.item { border-top:1px solid var(--line); padding-top:22px; margin-top:52px; }
.item-top { display:flex; align-items:baseline; gap:18px; }
.item-num { font-family:Italiana,serif; font-size:44px; color:var(--rose); line-height:1; }
.item h2 { margin:0; }
.item .fabric { margin:12px 0 18px; color:var(--wine); }

/* Product cards (2 per row; 1 on phones) */
.products { display:grid; grid-template-columns:1fr 1fr; gap:22px; margin:30px 0 36px; }
.product { background:#fff; border:1px solid var(--line); display:flex; flex-direction:column; }
.product img { aspect-ratio:4/5; object-fit:contain; background:#fff; padding:14px; }
.product-info { padding:16px 18px 20px; border-top:1px solid var(--line); display:flex; flex-direction:column; flex:1; font-family:"DM Sans",sans-serif; }
.product-info .label { color:var(--wine); }
.product-info h4 { font-family:Italiana,serif; font-weight:400; font-size:24px; line-height:1.05; margin:8px 0 6px; }
.product-info .fabric-tag { font-size:13px; opacity:.75; margin-bottom:16px; }
.product-info .pill { margin-top:auto; }

/* Newsletter — same as the homepage (index.html) */
.newsletter { background:var(--rose); padding:110px 5.5vw; color:var(--paper); text-align:center; }
.newsletter .eyebrow { margin-bottom:22px; }
.newsletter h2 { font-family:Italiana,serif; font-size:clamp(55px,7vw,98px); font-weight:400; line-height:.88; }
.newsletter p { margin:28px auto 36px; font-family:Cormorant,serif; font-weight:400; font-size:clamp(14px,1.7vw,19px); line-height:normal; letter-spacing:-.03em; text-align:center; white-space:nowrap; }
.subscribe-open-btn { display:inline-block; margin:0 auto; background:rgba(255,255,255,.10); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border:1.5px solid var(--paper); color:var(--paper); cursor:pointer; font-family:"DM Mono",monospace; font-size:11px; letter-spacing:.05em; text-transform:uppercase; border-radius:999px; padding:13px 28px; transition:background .2s ease, transform .2s ease; }
.subscribe-open-btn:hover { background:rgba(255,255,255,.35); transform:translateY(-2px); box-shadow:0 16px 34px rgba(255,250,245,.95); }

/* Pop-ups (subscribe + legal) — same as the homepage (index.html) */
.modal-overlay { position:fixed; inset:0; background:rgba(36,32,30,.6); display:flex; align-items:center; justify-content:center; padding:24px; z-index:100; }
.modal-overlay[hidden] { display:none; }
.modal { position:relative; background:var(--paper); color:var(--ink); border-radius:20px; max-width:420px; width:100%; max-height:85vh; overflow:hidden; box-shadow:0 30px 70px rgba(0,0,0,.35); }
.modal-inner { padding:40px 36px; max-height:85vh; overflow-y:auto; }
.modal-legal { max-width:600px; }
.modal h3 { font-family:Italiana,serif; font-size:32px; font-weight:400; margin:0 0 8px; }
.modal-lead { font-size:14px; line-height:1.6; margin:0 0 24px; opacity:.75; }
.modal-close { position:absolute; top:16px; right:16px; width:34px; height:34px; border-radius:50%; border:1px solid var(--ink); background:transparent; color:var(--ink); font-size:18px; line-height:1; cursor:pointer; display:grid; place-items:center; z-index:5; pointer-events:auto; transition:background .2s ease, color .2s ease; }
.modal-close:hover { background:var(--ink); color:var(--paper); }
.modal-field { display:block; margin-bottom:18px; font-size:13px; }
.modal-field span:first-child { display:block; margin-bottom:6px; font-family:"DM Mono",monospace; font-size:11px; letter-spacing:.05em; text-transform:uppercase; opacity:.7; }
.modal-field input { appearance:none; width:100%; box-sizing:border-box; border:1px solid var(--line); border-radius:10px; background:none; color:var(--ink); font:15px "DM Sans",sans-serif; padding:12px 14px; outline:0; transition:border-color .2s ease; }
.modal-field input:focus { border-color:var(--wine); }
.modal-field.has-error input { border-color:#b3261e; }
.modal-error { display:none; margin-top:6px; color:#b3261e; font-size:12px; }
.modal-field.has-error .modal-error { display:block; }
.modal-submit { width:100%; border:none; border-radius:999px; background:var(--wine); color:var(--paper); font:12px "DM Mono",monospace; text-transform:uppercase; letter-spacing:.05em; padding:14px; cursor:pointer; transition:background .2s ease, transform .2s ease; }
.modal-submit:hover { background:var(--ink); transform:translateY(-1px); }
.modal-success { margin-top:16px; text-align:center; font-size:14px; color:var(--wine); }
.modal-legal-body { font-family:Cormorant,serif; font-weight:400; font-size:18px; line-height:1.5; letter-spacing:-.02em; text-align:left; }
.modal-legal-body p { margin:0 0 16px; }

/* Newsletter band (older pages) + more stories */
.newsletter-band { background:var(--rose); color:var(--paper); text-align:center; padding:90px 5.5vw; }
.newsletter-band h2 { font-family:Italiana,serif; font-weight:400; font-size:clamp(46px,6vw,84px); line-height:.9; }
.newsletter-band p { margin:24px auto 30px; max-width:520px; font-family:Cormorant,serif; font-size:20px; }
.newsletter-band .pill { color:var(--paper); }
.newsletter-band .pill:hover { transform:translateY(-2px); box-shadow:0 16px 34px rgba(255,250,245,.95); background-color:rgba(255,255,255,.35); }
.section-head { display:flex; align-items:center; gap:22px; padding:24px 5.5vw; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-head h2 { font-family:Italiana,serif; font-size:32px; font-weight:400; }
.section-head .line { flex:1; height:1px; background:var(--line); }
.section-head .pill { flex-shrink:0; white-space:nowrap; }

/* ---------- Footer ---------- */
/* Same as the homepage footer (index.html) */
footer { position:relative; overflow:hidden; aspect-ratio:1456/816; min-height:auto; background:var(--ink); color:var(--paper); padding:42px 5.5vw; display:flex; flex-direction:column; justify-content:flex-end; }
footer:before { content:""; position:absolute; inset:0; background:url('https://res.cloudinary.com/y3gcnia8/image/upload/v1789224181/Footer.webp') center bottom/cover no-repeat; z-index:0; }
footer .footer-top, footer .footer-bottom, footer .footer-logo, footer .footer-legal { position:relative; z-index:1; text-shadow:0 1px 4px rgba(0,0,0,.35); }
.footer-top { display:flex; justify-content:space-between; align-items:start; gap:30px; padding-bottom:32px; flex-wrap:wrap; }
.footer-col { display:flex; flex-direction:column; align-items:flex-start; gap:12px; }
.footer-col-label { font-family:"DM Mono",monospace; font-size:12px; letter-spacing:.05em; text-transform:uppercase; color:#883E5E; margin-bottom:4px; }
.footer-col a { font-family:"DM Sans",sans-serif; font-size:14px; color:var(--paper); text-decoration:none; transition:opacity .2s ease; }
.footer-col a:hover { opacity:.65; text-decoration:underline; }
.footer-col span { font-family:"DM Sans",sans-serif; font-size:14px; color:var(--paper); opacity:.75; }
.footer-col .footer-btn { display:inline-block; opacity:1; background:rgba(255,255,255,.10); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border:1.5px solid #883E5E; color:#883E5E; border-radius:999px; padding:8px 16px; font-family:"DM Mono",monospace; font-size:11px; letter-spacing:.05em; text-transform:uppercase; text-decoration:none; transition:background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.footer-col a.footer-btn:hover { background:rgba(255,255,255,.35); border-color:#683457; transform:translateY(-2px); box-shadow:0 16px 34px rgba(255,250,245,.95); }
.footer-logo { font-family:Italiana,serif; font-weight:700; letter-spacing:-.035em; color:var(--paper); font-size:clamp(3rem,14vw,14rem); line-height:.9; white-space:nowrap; text-align:center; margin:100px -5.5vw 22px; width:calc(100% + 11vw); overflow:hidden; }
footer .footer-logo { text-shadow:0 4px 24px rgba(0,0,0,.35), 0 2px 10px rgba(0,0,0,.25); }
.footer-bottom { padding-top:15px; border-top:1px solid rgba(255,250,245,.35); display:flex; justify-content:space-between; font:11px "DM Mono",monospace; text-transform:uppercase; }
.footer-legal { display:flex; gap:20px; margin-top:14px; flex-wrap:wrap; }
.footer-legal button { background:none; border:none; padding:0; color:rgba(255,250,245,.6); font:11px "DM Mono",monospace; text-transform:uppercase; letter-spacing:.05em; cursor:pointer; transition:color .2s ease; }
.footer-legal button:hover { color:var(--paper); text-decoration:underline; }

/* ---------- Phones ---------- */
@media (max-width:780px) {
  .site-header { height:68px; padding:0 22px; } .logo { font-size:24px; }
  .nav { display:none; } .menu { display:block; font:11px "DM Mono",monospace; text-transform:uppercase; }
  .mobile-menu-panel a, .mobile-nav a { border:1.5px solid var(--paper); background:rgba(255,255,255,.10); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); color:var(--paper); border-radius:999px; padding:12px 18px; text-align:center; font:11px "DM Mono",monospace; text-transform:uppercase; letter-spacing:.05em; text-decoration:none; transition:background .2s ease, transform .2s ease; }
  .mobile-menu-panel a:hover, .mobile-menu-panel a:active, .mobile-nav a:hover, .mobile-nav a:active { background:rgba(255,255,255,.28); transform:translateY(-1px); }
  .newsletter { padding:75px 28px; } .newsletter h2 { font-size:64px; }
  .post-grid { grid-template-columns:1fr; } .post-card { border-right:0; padding:22px 20px; }
  .journal-hero { padding:60px 20px 44px; }
  .article-head { padding:52px 20px 36px; } .cover { padding:0; }
  .cover figcaption { padding:0 20px; }
  .article-body { padding:44px 20px 30px; font-size:20px; }
  .products { grid-template-columns:1fr; }
  .newsletter-band { padding:66px 20px; }
  .section-head { padding:18px 20px; }
  footer { padding:34px 28px; aspect-ratio:auto; min-height:560px; } .footer-top { flex-direction:column; gap:26px; padding-bottom:26px; } .footer-bottom { gap:15px; flex-direction:column; }
}
@media (max-width:600px) {
  .newsletter p { white-space:normal; font-size:18px; max-width:380px; margin-left:auto; margin-right:auto; }
}
