/*
Theme Name: Teresa Little Stitcher
Theme URI: https://teresalittlestitcher.com
Author: Teresa Little Stitcher (built with Claude)
Author URI: https://teresalittlestitcher.com
Description: A calm, editorial theme for Teresa Little Stitcher — cross stitch, quilting and slow-craft patterns & planners. Welcome-led home with an elegant sidebar, and full WooCommerce support for the digital-download shop.
Version: 3.3.12
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: teresa-little-stitcher
Tags: blog, e-commerce, editorial, custom-menu, featured-images, footer-widgets, custom-colors, translation-ready
WC requires at least: 7.0
WC tested up to: 9.0

This theme, like WordPress, is licensed under the GPL.
*/

/* =========================================================================
   1. Design tokens (the palette pulled from Teresa's logo)
   ========================================================================= */
:root{
  --paper:#F8F3EF;   /* page background — warm paper */
  --stone:#EFE6E6;   /* soft mauve-grey panels */
  --stone2:#E8DCDE;  /* slightly deeper panel / placeholder */
  --ink:#382A37;     /* deep aubergine body text */
  --muted:#8B7B85;   /* muted supporting text */
  --soft:#AC9EA6;    /* softest labels / eyebrows */
  --line:#E8DCDE;    /* hairline borders */
  --clay:#A9788C;    /* dusty-rose accent */
  --dark:#2C2030;    /* plum footer */
}

/* =========================================================================
   2. Reset & base elements
   ========================================================================= */
*{box-sizing:border-box;margin:0;padding:0}
/* font-size:104% gently enlarges all text across the site (everything is sized
   in rem, which is relative to this root). */
html{scroll-behavior:smooth;font-size:104%}
body{
  font-family:"Jost",system-ui,-apple-system,sans-serif;
  font-weight:400;color:var(--ink);background:var(--paper);
  line-height:1.75;-webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4,.serif{
  font-family:"Cormorant Garamond",Georgia,serif;
  font-weight:500;line-height:1.08;letter-spacing:.005em;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,select,textarea{font-family:inherit;font-size:inherit;color:inherit}
figure{margin:0}

/* =========================================================================
   3. WordPress core classes (alignment, captions, accessibility)
   ========================================================================= */
.alignleft{float:left;margin:.4em 1.8em 1.2em 0}
.alignright{float:right;margin:.4em 0 1.2em 1.8em}
.aligncenter{display:block;margin-left:auto;margin-right:auto}
.alignwide{max-width:1180px}
.alignfull{width:100%}
.wp-caption{max-width:100%}
.wp-caption-text,.wp-element-caption{
  font-family:"Cormorant Garamond",serif;font-style:italic;
  color:var(--soft);font-size:.95rem;text-align:center;padding-top:10px;
}
.sticky,.gallery-caption,.bypostauthor{}
.screen-reader-text{
  border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);
  height:1px;width:1px;margin:-1px;padding:0;overflow:hidden;
  position:absolute!important;word-wrap:normal!important;
}
.screen-reader-text:focus{
  background:var(--paper);color:var(--ink);
  clip:auto!important;clip-path:none;display:block;
  height:auto;width:auto;left:6px;top:6px;padding:14px 22px;
  font-size:.8rem;z-index:100000;text-decoration:none;
}
.skip-link{position:absolute;left:-9999px}
.skip-link:focus{left:6px;top:6px}

/* =========================================================================
   4. Layout helpers & reusable pieces
   ========================================================================= */
.wrap{max-width:1180px;margin:0 auto;padding:0 40px}
.narrow{max-width:760px;margin:0 auto;padding:0 40px}
.label{
  font-size:.7rem;letter-spacing:.34em;text-transform:uppercase;
  color:var(--soft);font-weight:500;
}
.link{
  display:inline-flex;align-items:center;gap:.6em;font-size:.74rem;
  letter-spacing:.22em;text-transform:uppercase;font-weight:500;
  padding-bottom:6px;border-bottom:1px solid var(--ink);
  transition:.25s;cursor:pointer;
}
.link:hover{color:var(--clay);border-color:var(--clay);gap:1em}
.btn,.button{
  display:inline-flex;align-items:center;justify-content:center;gap:.6em;
  font-family:"Jost",sans-serif;font-size:.72rem;letter-spacing:.22em;
  text-transform:uppercase;font-weight:500;padding:16px 34px;
  border:1px solid var(--ink);background:var(--ink);color:var(--paper);
  cursor:pointer;transition:.2s;border-radius:0;line-height:1;
}
.btn:hover,.button:hover{background:transparent;color:var(--ink)}
.btn-out{background:transparent;color:var(--ink)}
.btn-out:hover{background:var(--ink);color:var(--paper)}

/* placeholder block — only used where a real image hasn't been added yet */
.ph{
  background:var(--stone2);border:1px solid var(--line);display:flex;
  align-items:center;justify-content:center;text-align:center;padding:1.2rem;
}
.ph em{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:1.05rem;color:var(--soft)}

/* a soft frame around real photos so they sit in the design */
.media{overflow:hidden;background:var(--stone2)}
.media img{width:100%;height:auto;display:block}

/* =========================================================================
   5. Announcement bar
   ========================================================================= */
.util{border-bottom:1px solid var(--line);text-align:center;padding:10px}
.util span{font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;color:#6B5F69}
.social-link{color:var(--muted);display:inline-flex;transition:.2s}
.social-link:hover{color:var(--clay)}
.social-link svg{width:16px;height:16px;display:block}

/* social icons in the sidebar (bigger, under the logo) + business email */
.sidebar-social .sidebar-social-icons{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.sidebar-social .social-link svg{width:24px;height:24px}
.sidebar-email{margin-top:16px;font-size:.92rem;color:var(--muted);font-weight:300;line-height:1.5}
.sidebar-email a{color:var(--clay);border-bottom:1px solid var(--clay)}

/* About page: intro + story in the main column, slim connect panel beside */
.about-layout .about-intro{margin-bottom:36px}
.about-title{font-size:3rem;font-weight:400;margin:0 0 32px;line-height:1.1}
.about-connect{align-self:start}

/* ── Craft hub page (Quilting, etc.): tiles + post grids ── */
.hub{padding:74px 0 110px}
.hub-head{text-align:center;max-width:640px;margin:0 auto}
.hub-head .label{display:block;margin-bottom:14px}
.hub-head h1{font-size:3.6rem;font-weight:400;margin-bottom:16px;line-height:1.05}
.hub-lead{color:var(--muted);font-weight:300;font-size:1.08rem}
.hub-lead p{margin-bottom:0}
.hub-sec{margin-top:66px}
.hub-sec h2{font-size:2.1rem;font-weight:400;text-align:center;margin-bottom:38px}
.hub-tiles{display:flex;flex-wrap:wrap;justify-content:center;gap:26px}
.hub-tile{display:block;text-align:center;flex:0 1 calc(33.333% - 18px);max-width:360px}
.hub-tile .pic{height:170px;overflow:hidden;margin-bottom:14px;background:var(--paper)}
.hub-tile .pic.ph{background:var(--stone2)}
.hub-tile .pic img{width:100%;height:100%;object-fit:cover;transition:.4s}
.hub-tile:hover .pic img{opacity:.9}
.hub-tile .t{font-family:"Cormorant Garamond",serif;font-size:1.35rem;color:var(--ink)}
.hub-tile:hover .t{color:var(--clay)}
.hub-tile.is-soon{cursor:default}
.hub-tile.is-soon .t,
.hub-tile.is-soon:hover .t{color:var(--soft)}
.hub-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.hub-card{display:block}
.hub-card .pic{height:230px;overflow:hidden;margin-bottom:16px;background:var(--stone2)}
.hub-card .pic img{width:100%;height:100%;object-fit:cover;transition:.4s}
.hub-card:hover .pic img{opacity:.9}
.hub-card .meta{font-size:.64rem;letter-spacing:.26em;text-transform:uppercase;color:var(--clay);font-weight:500;margin-bottom:10px}
.hub-card h3{font-size:1.5rem;font-weight:500;line-height:1.2}
.hub-card:hover h3{color:var(--clay)}
@media(max-width:900px){
  .hub-tile{flex-basis:calc(50% - 13px)}
  .hub-cards{grid-template-columns:1fr;gap:36px}
  .hub-head h1{font-size:2.6rem}
}

/* Finishes gallery — posts grouped by year */
.finish-year .yr{display:flex;align-items:baseline;gap:16px;margin:42px 0 22px;border-bottom:1px solid var(--line);padding-bottom:10px}
.finish-year .yr h2{font-size:2.2rem;font-weight:500;color:var(--clay);margin:0;line-height:1}
.finish-year .yr span{font-size:.64rem;letter-spacing:.2em;text-transform:uppercase;color:var(--soft)}
.finish-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.finish-it{display:block;text-align:center}
.finish-it .pic{height:180px;overflow:hidden;background:var(--stone2)}
.finish-it .pic img{width:100%;height:100%;object-fit:cover;transition:.4s}
.finish-it:hover .pic img{opacity:.9}
.finish-it .t{display:block;font-family:"Cormorant Garamond",serif;font-size:1.2rem;margin-top:10px;line-height:1.2}
.finish-it:hover .t{color:var(--clay)}
@media(max-width:900px){.finish-grid{grid-template-columns:1fr 1fr;gap:18px}}

/* =========================================================================
   6. Header & navigation
   ========================================================================= */
.site-header{
  position:sticky;top:0;z-index:30;background:rgba(248,244,236,.9);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  transition:box-shadow .3s ease,border-color .3s ease;
}
.site-header.scrolled{box-shadow:0 6px 22px rgba(44,32,48,.07);border-bottom-color:transparent}
.nav{display:flex;align-items:center;justify-content:space-between;padding:24px 0;gap:24px}
.brand{display:flex;align-items:center;gap:13px}
.brand-logo{height:64px;width:auto;flex:0 0 auto;display:block}
.bw{display:flex;flex-direction:column;line-height:1}
.name-line{display:flex;align-items:baseline;gap:.34em;white-space:nowrap}
.bw .t{font-family:"Cormorant Garamond",serif;font-style:italic;font-weight:500;font-size:1.95rem;color:var(--clay)}
.bw .m{font-family:"Playfair Display",serif;font-weight:600;font-size:2.4rem;color:var(--ink);letter-spacing:.004em}
.bw small{font-family:"Jost",sans-serif;font-weight:400;font-size:.74rem;letter-spacing:.26em;text-transform:uppercase;color:var(--soft);margin-top:8px}

.primary-nav ul{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 18px;list-style:none;align-items:center;margin:0;padding:0}
.primary-nav li{position:relative}
.primary-nav a{
  font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;font-weight:400;
  color:var(--ink);padding-bottom:4px;border-bottom:1px solid transparent;transition:.2s;
  white-space:nowrap;
}
.primary-nav a:hover,
.primary-nav .current-menu-item>a,
.primary-nav .current_page_item>a,
.primary-nav .current-menu-ancestor>a{color:var(--dark);border-color:var(--dark)}

/* sub-menus */
.primary-nav ul ul{
  position:absolute;top:100%;left:0;display:block;flex-direction:column;gap:0;
  background:var(--paper);border:1px solid var(--line);padding:10px 0;min-width:200px;
  opacity:0;visibility:hidden;transform:translateY(6px);transition:.2s;z-index:40;
}
.primary-nav li:hover>ul{opacity:1;visibility:visible;transform:translateY(0)}
.primary-nav ul ul li{display:block}
.primary-nav ul ul a{display:block;padding:8px 22px;border:0}
.primary-nav ul ul a:hover{color:var(--clay)}

.nav-right{display:flex;align-items:center;gap:22px}
.nav-basket{font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:var(--muted)}
.nav-basket:hover{color:var(--ink)}
.nav-search{display:inline-flex;color:var(--muted);transition:.2s}
.nav-search:hover{color:var(--ink)}

/* mobile menu toggle (hidden on desktop) */
.menu-toggle{
  display:none;background:none;border:0;cursor:pointer;padding:6px;
  flex-direction:column;gap:5px;width:34px;
}
.menu-toggle span{display:block;height:1px;width:24px;background:var(--ink);transition:.25s}
.menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

/* =========================================================================
   7. Front page — hero
   ========================================================================= */
.hero{text-align:center;padding:104px 0 56px;max-width:880px;margin:0 auto}
.hero h1{font-size:5rem;font-weight:400;margin:26px 0 28px}
.hero h1 em{font-style:italic}
.hero p{font-size:1.15rem;color:var(--muted);max-width:46ch;margin:0 auto 40px;font-weight:300}
.hero-img{height:560px;margin:0}
.hero-cap{
  text-align:center;font-family:"Cormorant Garamond",serif;font-style:italic;
  color:var(--soft);font-size:1rem;padding:18px 0 0;
}

/* generic section rhythm */
.section{padding:118px 0}
.sec-head{max-width:640px;margin:0 auto 64px;text-align:center}
.sec-head h2{font-size:3rem;font-weight:400;margin:18px 0 18px}
.sec-head p{color:var(--muted);font-weight:300;font-size:1.05rem}
.center{text-align:center;margin-top:70px}

/* editorial statement band */
.statement{text-align:center;padding:120px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.statement p{font-family:"Cormorant Garamond",serif;font-size:2.4rem;line-height:1.4;font-weight:400;max-width:20ch;margin:0 auto;color:var(--ink)}
.statement p em{font-style:italic;color:var(--clay)}

/* =========================================================================
   8. Product cards (front page + WooCommerce grids share this look)
   ========================================================================= */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.prod{display:block}
.prod .pic{height:360px;margin-bottom:22px;transition:.4s;overflow:hidden}
.prod .pic img{width:100%;height:100%;object-fit:cover}
.prod:hover .pic{opacity:.9}
.prod .cat{font-size:.64rem;letter-spacing:.26em;text-transform:uppercase;color:var(--soft);font-weight:500}
.prod h3{font-size:1.65rem;font-weight:500;margin:10px 0 6px}
.prod .price{font-family:"Cormorant Garamond",serif;font-size:1.5rem;color:var(--ink)}

/* =========================================================================
   9. Journal — featured + minis
   ========================================================================= */
.journal{background:var(--stone)}
.feat{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center;margin-bottom:64px}
.feat .pic{height:480px;overflow:hidden}
.feat .pic img{width:100%;height:100%;object-fit:cover}
.feat .meta,.mini .meta{font-size:.64rem;letter-spacing:.26em;text-transform:uppercase;color:var(--clay);font-weight:500;margin-bottom:16px}
.feat h3{font-size:3rem;font-weight:400;margin-bottom:22px}
.feat p{color:var(--muted);font-weight:300;font-size:1.08rem;max-width:42ch;margin-bottom:30px}
.minis{display:grid;grid-template-columns:1fr 1fr;gap:48px}
.mini .pic{height:240px;margin-bottom:20px;overflow:hidden}
.mini .pic img{width:100%;height:100%;object-fit:cover}
.mini h3{font-size:1.7rem;font-weight:500;margin-bottom:10px}
.mini p{color:var(--muted);font-weight:300}

/* =========================================================================
   10. About
   ========================================================================= */
.about{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
.about .pic{height:560px;overflow:hidden}
.about .pic img{width:100%;height:100%;object-fit:cover}
.about h2{font-size:3.2rem;font-weight:400;margin:22px 0 26px}
.about p{color:var(--muted);font-weight:300;font-size:1.1rem;margin-bottom:20px;max-width:40ch}

/* =========================================================================
   11. Newsletter
   ========================================================================= */
.news{background:var(--stone);text-align:center}
.news h2{font-size:3rem;font-weight:400;margin-bottom:18px}
.news p{color:var(--muted);font-weight:300;max-width:44ch;margin:0 auto}
.news .form-area{max-width:480px;margin:42px auto 0}
.form{display:flex;gap:0;max-width:430px;margin:0 auto;border-bottom:1px solid var(--ink)}
.form input{flex:1;border:none;background:transparent;padding:14px 4px;font-family:"Jost",sans-serif;font-size:.82rem;letter-spacing:.12em;color:var(--ink)}
.form input::placeholder{color:var(--soft);text-transform:uppercase;letter-spacing:.18em;font-size:.72rem}
.form button{background:none;border:none;font-family:"Jost",sans-serif;font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;cursor:pointer;color:var(--ink);padding:0 4px}
.form button:hover{color:var(--clay)}

/* =========================================================================
   12. Blog / journal listing cards
   ========================================================================= */
.page-head{text-align:center;padding:90px 0 10px}
.page-head h1{font-size:3.4rem;font-weight:400;margin-bottom:14px}
.page-head p{color:var(--muted);font-weight:300;max-width:48ch;margin:0 auto}
.post-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:54px 40px;padding:70px 0}
.card .pic{height:300px;margin-bottom:20px;overflow:hidden}
.card .pic img{width:100%;height:100%;object-fit:cover;transition:.4s}
.card:hover .pic img{opacity:.9}
.card .meta{font-size:.64rem;letter-spacing:.26em;text-transform:uppercase;color:var(--clay);font-weight:500;margin-bottom:14px}
.card h2{font-size:1.7rem;font-weight:500;margin-bottom:12px;line-height:1.2}
.card p{color:var(--muted);font-weight:300;font-size:.98rem;margin-bottom:16px}

/* pagination */
.pagination{display:flex;justify-content:center;gap:10px;margin:30px 0 0;flex-wrap:wrap}
.pagination .page-numbers{
  min-width:42px;height:42px;border:1px solid var(--line);display:flex;
  align-items:center;justify-content:center;font-size:.8rem;color:var(--muted);padding:0 10px;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover{background:var(--ink);color:var(--paper);border-color:var(--ink)}

/* =========================================================================
   13. Single post / article & rich text (prose)
   ========================================================================= */
.article{max-width:760px;margin:0 auto;padding:84px 40px 0}
.article-meta{font-size:.64rem;letter-spacing:.26em;text-transform:uppercase;color:var(--clay);font-weight:500;text-align:center;margin-bottom:22px}
.article h1{font-size:3.5rem;font-weight:400;text-align:center;margin-bottom:24px;line-height:1.08}
.article-sub{text-align:center;color:var(--muted);font-weight:300;font-size:1.18rem;max-width:46ch;margin:0 auto 34px}
.byline{text-align:center;font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;color:var(--soft);margin-bottom:48px}
.article-figure{margin:0 auto 14px;text-align:center}
.article-figure img{max-width:100%;max-height:460px;width:auto;height:auto;display:inline-block;margin:0 auto}
.figure-cap{text-align:center;font-family:"Cormorant Garamond",serif;font-style:italic;color:var(--soft);font-size:.95rem;margin-bottom:50px}

.prose{font-size:1.12rem;line-height:1.85;color:#4A3F48;font-weight:300}
.prose p{margin-bottom:26px}
.prose h2{font-size:2.1rem;font-weight:500;margin:48px 0 18px;color:var(--ink)}
.prose h3{font-size:1.5rem;font-weight:500;margin:38px 0 14px;color:var(--ink)}
.prose img{margin:38px 0}
.prose ul,.prose ol{margin:0 0 26px 22px}
.prose li{margin-bottom:10px}
.prose a{color:var(--clay);border-bottom:1px solid var(--clay)}
.prose blockquote{
  font-family:"Cormorant Garamond",serif;font-style:italic;font-size:1.7rem;line-height:1.45;
  color:var(--clay);border-left:2px solid var(--clay);padding-left:28px;margin:42px 0;font-weight:400;
}
.prose blockquote p{margin-bottom:0}

.article-foot{max-width:760px;margin:60px auto 0;padding:34px 40px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}
.tags{display:flex;gap:10px;flex-wrap:wrap}
.tag{font-size:.62rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);border:1px solid var(--line);border-radius:30px;padding:7px 16px;transition:.2s}
.tag:hover{color:var(--ink);border-color:var(--ink)}

/* generic page content reuses .prose inside .article */
.page-content{max-width:760px;margin:0 auto;padding:70px 40px 0}

/* =========================================================================
   14. Comments
   ========================================================================= */
.comments{max-width:760px;margin:70px auto 0;padding:40px 40px 0;border-top:1px solid var(--line)}
.comments-title{font-size:1.8rem;font-weight:500;margin-bottom:34px}
.commentlist{list-style:none;margin:0;padding:0}
.commentlist li{margin-bottom:32px}
.commentlist .children{list-style:none;margin:24px 0 0 32px}
.comment-author{font-size:.92rem;font-weight:500;color:var(--ink)}
.comment-meta{font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;color:var(--soft);margin-bottom:10px}
.comment-meta a{color:var(--soft)}
.comment-content{color:#4A3F48;font-weight:300}
.comment-content p{margin-bottom:14px}
.comment-reply-link{font-size:.66rem;letter-spacing:.18em;text-transform:uppercase;color:var(--clay)}
.comment-respond{margin-top:40px}
.comment-respond .comment-reply-title{font-size:1.6rem;font-weight:500;margin-bottom:20px}
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea{
  width:100%;border:1px solid var(--line);background:var(--paper);
  padding:14px 16px;margin-bottom:18px;font-size:.95rem;color:var(--ink);
}
.comment-form textarea{min-height:140px}
.comment-form label{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);display:block;margin-bottom:8px}

/* =========================================================================
   15. Footer
   ========================================================================= */
.site-footer{background:var(--dark);color:#B9ABB6;padding:96px 0 36px;font-weight:300}
.foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:48px;margin-bottom:56px}
.foot-brand .b{font-family:"Cormorant Garamond",serif;font-size:1.9rem;color:#F4EEF2;font-weight:500;display:block}
.foot-brand p{max-width:30ch;margin-top:14px;color:#9C8E9A;font-size:.92rem}
.site-footer h4,
.site-footer .widget-title{font-size:.64rem;letter-spacing:.26em;text-transform:uppercase;color:#9A8898;margin-bottom:20px;font-weight:500;font-family:"Jost",sans-serif}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin-bottom:12px;font-size:.92rem}
.site-footer a:hover{color:#fff}
.foot-social{display:flex;gap:16px;margin-top:22px}
.foot-social .social-link{color:#9C8E9A;line-height:0;display:inline-flex}
.foot-social .social-link svg{width:20px;height:20px}
.foot-social .social-link:hover{color:#fff}
.foot-bottom{border-top:1px solid #41354A;padding-top:26px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;color:#857789;font-size:.74rem;letter-spacing:.1em;text-transform:uppercase}
.foot-bottom a:hover{color:#fff}
.foot-bottom-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px 22px}
.foot-bottom-links .foot-bottom-menu{display:flex;flex-wrap:wrap;gap:8px 22px;margin:0;padding:0}
.foot-bottom-links .foot-bottom-menu li{margin:0;font-size:.74rem}

/* =========================================================================
   16. WooCommerce — map the shop onto the design
   ========================================================================= */
.wc-wrap{padding:40px 0 110px}
.woocommerce-breadcrumb{
  font-size:.66rem;letter-spacing:.2em;text-transform:uppercase;color:var(--soft);
  padding:40px 0 30px;margin:0 auto;max-width:1180px;
}
.woocommerce-breadcrumb a:hover{color:var(--ink)}

/* shop page heading + result count + ordering */
.woocommerce-products-header{text-align:center;max-width:640px;margin:30px auto 40px}
.woocommerce-products-header__title{font-size:3rem;font-weight:400;margin-bottom:16px}
.term-description{color:var(--muted);font-weight:300}
.woocommerce .woocommerce-result-count{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--soft);float:none}
.woocommerce .woocommerce-ordering{margin-bottom:40px}
.woocommerce .woocommerce-ordering select{
  border:1px solid var(--line);background:var(--paper);padding:10px 14px;
  font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);
}

/* product grid */
.woocommerce ul.products{display:grid;gap:54px 40px;margin:0;padding:0;list-style:none}
.woocommerce ul.products.columns-3{grid-template-columns:repeat(3,1fr)}
.woocommerce ul.products.columns-4{grid-template-columns:repeat(4,1fr)}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;text-align:center}
.woocommerce ul.products li.product a img{width:100%;height:300px;object-fit:contain;margin:0 0 20px;display:block;transition:.4s}
.woocommerce ul.products li.product:hover a img{opacity:.9}
.woocommerce ul.products li.product .tls-cat{font-size:.64rem;letter-spacing:.26em;text-transform:uppercase;color:var(--soft);font-weight:500;display:block}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-family:"Cormorant Garamond",serif;font-size:1.65rem;font-weight:500;
  padding:8px 0 4px;margin:0;color:var(--ink);
}
.woocommerce ul.products li.product .price{
  font-family:"Cormorant Garamond",serif;font-size:1.5rem;color:var(--ink);font-weight:400;
}
.woocommerce ul.products li.product .price del{color:var(--soft);font-size:1.1rem;margin-right:8px}
.woocommerce ul.products li.product .price ins{text-decoration:none}
.woocommerce span.onsale{
  background:var(--clay);color:var(--paper);font-size:.6rem;letter-spacing:.16em;
  text-transform:uppercase;min-height:auto;min-width:auto;padding:6px 12px;border-radius:0;font-weight:500;
}

/* single product */
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,380px) minmax(0,1fr);gap:50px;align-items:start}
.woocommerce div.product .woocommerce-product-gallery{width:100%!important;max-width:380px;float:none!important;margin:0}
.woocommerce div.product .woocommerce-product-gallery__wrapper img{width:100%;height:auto}
.woocommerce div.product .summary{width:auto!important;float:none!important;margin:0}
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells{grid-column:1 / -1}
.woocommerce div.product .product_title{font-size:3rem;font-weight:400;margin:14px 0 16px;line-height:1.1}
.woocommerce div.product p.price,
.woocommerce div.product span.price{
  font-family:"Cormorant Garamond",serif;font-size:2.3rem;color:var(--ink);margin-bottom:24px;font-weight:400;
}
.woocommerce div.product .woocommerce-product-details__short-description{color:var(--muted);font-weight:300;font-size:1.08rem;line-height:1.8;margin-bottom:30px}
.woocommerce div.product form.cart{margin-bottom:34px}
.woocommerce div.product form.cart .quantity{margin-right:14px}
.woocommerce .quantity input.qty{
  border:1px solid var(--line);background:var(--paper);padding:14px 10px;width:72px;text-align:center;color:var(--ink);
}
.woocommerce div.product .product_meta{border-top:1px solid var(--line);padding-top:24px;font-size:.85rem;color:var(--muted)}
.woocommerce div.product .product_meta>span{display:block;margin-bottom:8px}
.tls-digital-note{
  background:var(--stone);border:1px solid var(--line);padding:18px 22px;margin:24px 0 0;
  font-size:.92rem;color:var(--muted);font-weight:300;
}
/* product page tabs & related */
.woocommerce div.product .woocommerce-tabs{grid-column:1 / -1;margin-top:30px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0 0 30px;border-bottom:1px solid var(--line)}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:none;border:0;border-radius:0;margin:0 26px 0 0}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
  font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);padding:10px 0;font-weight:500;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--ink)}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{border-color:var(--line)}
.woocommerce .related.products,
.woocommerce .upsells.products{grid-column:1 / -1;margin-top:80px}
.woocommerce .related.products>h2,
.woocommerce .upsells.products>h2{font-size:2.2rem;font-weight:400;text-align:center;margin-bottom:50px}

/* notices */
.woocommerce-message,.woocommerce-info,.woocommerce-error{
  border-top:2px solid var(--clay);background:var(--stone);color:var(--ink);
  font-size:.95rem;border-radius:0;
}
.woocommerce-message a,.woocommerce-info a{color:var(--clay)}

/* cart / checkout / account — light touches; layout stays WooCommerce default */
.woocommerce table.shop_table{border-radius:0;border-color:var(--line)}
.woocommerce table.shop_table th{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt{
  background:var(--ink);color:var(--paper);border:1px solid var(--ink);border-radius:0;
  font-family:"Jost",sans-serif;font-size:.72rem;letter-spacing:.22em;text-transform:uppercase;
  font-weight:500;padding:16px 30px;transition:.2s;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover{background:transparent;color:var(--ink)}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce-account form .input-text{
  border:1px solid var(--line);background:var(--paper);padding:14px 16px;color:var(--ink);border-radius:0;
}
.woocommerce .woocommerce-form-login,
.woocommerce .woocommerce-form-register{border-color:var(--line);border-radius:0}

/* =========================================================================
   17. Responsive
   ========================================================================= */
@media(max-width:900px){
  .menu-toggle{display:flex;margin-left:6px;flex:0 0 auto}
  .nav{gap:12px;padding:18px 0}
  .brand{gap:9px;min-width:0}
  .brand-logo{height:42px!important}
  .bw{min-width:0}
  .name-line{white-space:normal}
  .bw .t{font-size:1.3rem}
  .bw .m{font-size:1.55rem}
  .bw small{font-size:.56rem;letter-spacing:.16em;margin-top:5px}
  .nav-right{gap:12px;flex:0 0 auto}
  .nav-basket{font-size:.62rem}
  .primary-nav{
    position:absolute;top:100%;left:0;right:0;background:var(--paper);
    border-bottom:1px solid var(--line);padding:8px 0 22px;
    display:none;
  }
  .primary-nav.open{display:block}
  .primary-nav ul{flex-direction:column;gap:0;align-items:stretch}
  .primary-nav li{border-bottom:1px solid var(--line)}
  .primary-nav a{display:block;padding:16px 40px;border:0}
  .primary-nav ul ul{
    position:static;opacity:1;visibility:visible;transform:none;border:0;
    padding:0 0 8px;background:transparent;min-width:0;
  }
  .primary-nav ul ul a{padding:8px 56px}
  .nav-right{gap:16px}

  .hero h1{font-size:3rem}
  .hero-img,.about .pic,.feat .pic{height:380px}
  .grid3,.minis,.about,.feat,.post-grid{grid-template-columns:1fr;gap:36px}
  .statement p{font-size:1.7rem}
  .foot-grid{grid-template-columns:1fr 1fr}
  .article h1{font-size:2.3rem}
  .article-figure{height:auto}
  .section{padding:80px 0}

  .woocommerce div.product{grid-template-columns:1fr;gap:34px}
  .woocommerce ul.products.columns-3,
  .woocommerce ul.products.columns-4{grid-template-columns:1fr 1fr;gap:36px 24px}
}

@media(max-width:560px){
  .wrap,.narrow,.article,.page-content{padding-left:24px;padding-right:24px}
  .hero h1{font-size:2.4rem}
  .foot-grid{grid-template-columns:1fr}
  .woocommerce ul.products.columns-3,
  .woocommerce ul.products.columns-4{grid-template-columns:1fr}
  /* scale the wordmark down so it fits a phone screen */
  .bw .t{font-size:1.5rem}
  .bw .m{font-size:1.8rem}
  .bw small{font-size:.6rem;letter-spacing:.2em}
}

/* =========================================================================
   18. Home & blog with sidebar
   ========================================================================= */

/* the warm welcome at the very top of the home page */
.home-welcome{text-align:center;padding:78px 0 8px}
.home-welcome .label{display:block;margin-bottom:16px}
.home-welcome h1{font-size:3.4rem;font-weight:400;margin-bottom:18px}
.home-welcome p{color:var(--muted);font-weight:300;font-size:1.12rem;max-width:56ch;margin:0 auto;line-height:1.75}
.home-welcome .welcome-photo{max-width:820px;margin:38px auto 0;overflow:hidden}

/* two-column: main content + sidebar */
.content-sidebar{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:72px;align-items:start;padding:64px 0 110px}
.content-main{min-width:0}

/* heading above the home "latest from the journal" list */
.content-heading{font-size:2rem;font-weight:400;margin-bottom:30px;line-height:1.1}

/* "From the shop" block, low on the home page */
.from-shop{background:var(--stone)}

/* My Favourite Tools page — affiliate disclosure line */
.tools-disclosure{font-family:"Cormorant Garamond",serif;font-style:italic;color:var(--soft);text-align:center;font-size:1rem;margin:0 auto 6px;padding-top:6px}
/* tool items (the "Tool" block pattern) */
.prose .tls-tool{margin:0 0 34px}
.prose .tls-tool .wp-block-media-text__content h3{margin:0 0 8px}
.prose .tls-tool .wp-block-media-text__content p{margin-bottom:8px}
.prose .tls-tool .wp-block-media-text__media{background:var(--stone2)}

/* the post list — compact media rows (image left, words right) */
.post-list{display:flex;flex-direction:column}
.post-item{display:flex;gap:28px;align-items:flex-start;padding:30px 0;border-bottom:1px solid var(--line)}
.post-item:first-child{padding-top:6px}
.post-item:last-child{border-bottom:0}
.post-item .post-pic{flex:0 0 240px;display:block}
.post-item .pic{height:160px;overflow:hidden;background:var(--stone2);margin:0}
.post-item .pic img{width:100%;height:100%;object-fit:cover;display:block;transition:.4s}
.post-item:hover .pic img{opacity:.92}
.post-item .pic.ph{height:160px}
.post-body{flex:1;min-width:0}
.sidebar .link-list li{margin-bottom:10px}
.tls-subscribe p{margin-bottom:10px}
.sidebar-profile{text-align:center}
.sidebar-profile img{width:100%;height:auto;display:block}
.sidebar-profile .profile-cap{font-family:"Cormorant Garamond",serif;font-style:italic;color:var(--soft);font-size:1rem;margin-top:12px}

/* About page (photo beside a warm intro) */
.about-page{padding-top:60px}
.about-intro{display:grid;grid-template-columns:300px 1fr;gap:56px;align-items:center;margin-bottom:14px}
.about-intro.no-photo{grid-template-columns:1fr;max-width:760px;text-align:center}
.about-photo{overflow:hidden;max-width:300px}
.about-intro-text .label{display:block;margin-bottom:16px}
.about-intro-text h1{font-size:3.2rem;font-weight:400;margin:0 0 20px;line-height:1.08}
.about-lead{color:var(--muted);font-weight:300;font-size:1.18rem;line-height:1.7}
.about-social{text-align:center;border-top:1px solid var(--line);margin-top:54px;padding-top:42px}
.about-social .label{display:block;margin-bottom:18px}
.about-social-icons{display:inline-flex;gap:22px;align-items:center;justify-content:center;margin-bottom:26px}
.about-social-icons .social-link{color:var(--muted)}
.about-social-icons .social-link:hover{color:var(--clay)}
.about-social-icons .social-link svg{width:22px;height:22px}
.about-intro-social{display:flex;gap:16px;align-items:center;margin-top:24px}
.about-intro-social .social-link{color:var(--muted)}
.about-intro-social .social-link:hover{color:var(--clay)}
.about-intro-social .social-link svg{width:18px;height:18px}
.about-email{margin-top:24px;color:var(--muted);font-weight:300}
.about-email a{color:var(--clay);border-bottom:1px solid var(--clay)}
@media(max-width:900px){
  .about-intro{grid-template-columns:1fr;justify-items:center;gap:28px;text-align:center}
  .about-photo{margin:0 auto}
  .about-intro-text h1{font-size:2.4rem}
  .about-intro-social{justify-content:center}
}
.post-item .meta{font-size:.62rem;letter-spacing:.24em;text-transform:uppercase;color:var(--clay);font-weight:500;margin-bottom:8px}
.post-item h2{font-size:1.7rem;font-weight:500;margin-bottom:10px;line-height:1.18}
.post-item h2 a:hover{color:var(--clay)}
.post-item p{color:var(--muted);font-weight:300;font-size:1rem;line-height:1.7;margin-bottom:12px;max-width:62ch}

/* ── the sidebar ── */
.sidebar{position:relative}
.sidebar .widget{margin-bottom:48px}
.sidebar .widget:last-child{margin-bottom:0}
.sidebar .widget-title{
  font-size:.66rem;letter-spacing:.26em;text-transform:uppercase;color:var(--soft);
  font-weight:600;margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid var(--line);
  font-family:"Jost",sans-serif;
}
.sidebar p{color:var(--muted);font-weight:300;font-size:.96rem}
.sidebar a{color:var(--ink)}
.sidebar a:hover{color:var(--clay)}
.sidebar ul{list-style:none;margin:0;padding:0}
.sidebar li{margin-bottom:12px;font-size:.96rem;line-height:1.5}
.sidebar .widget ul li a{border-bottom:1px solid transparent;transition:.2s;padding-bottom:2px}
.sidebar .widget ul li a:hover{border-color:var(--clay)}
.sb-note{font-family:"Cormorant Garamond",serif;font-style:italic;color:var(--soft);font-size:.95rem}

/* search box in the sidebar */
.sidebar .search-form{display:flex;border-bottom:1px solid var(--ink);max-width:none}
.sidebar .search-form input[type=search]{flex:1;border:0;background:transparent;padding:12px 4px;font-family:"Jost",sans-serif;font-size:.9rem;color:var(--ink)}
.sidebar .search-form input[type=search]::placeholder{color:var(--soft)}
.sidebar .search-form button{background:none;border:0;color:var(--ink);text-transform:uppercase;font-size:.66rem;letter-spacing:.18em;cursor:pointer;padding:0 4px}
.sidebar .search-form button:hover{color:var(--clay)}

/* latest YouTube videos */
.yt-list{display:flex;flex-direction:column;gap:18px}
.yt-list a{display:flex;gap:14px;align-items:center}
.yt-thumb{flex:0 0 104px;height:62px;overflow:hidden;background:var(--stone2);position:relative}
.yt-thumb img{width:100%;height:100%;object-fit:cover}
.yt-thumb::after{content:"";position:absolute;inset:0;background:rgba(44,32,48,.10);transition:.2s}
.yt-list a:hover .yt-thumb::after{background:rgba(44,32,48,0)}
.yt-title{font-size:.92rem;line-height:1.4;color:var(--ink);font-weight:400}
.yt-list a:hover .yt-title{color:var(--clay)}

/* mailing-list / subscribe forms dropped into the sidebar — keep them tidy */
.sidebar input[type=email],
.sidebar input[type=text]{
  width:100%;border:1px solid var(--line);background:var(--paper);
  padding:12px 14px;margin-bottom:12px;font-family:"Jost",sans-serif;font-size:.9rem;color:var(--ink);
}
.sidebar input[type=submit],
.sidebar button[type=submit]{
  display:inline-flex;align-items:center;justify-content:center;
  font-family:"Jost",sans-serif;font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;
  font-weight:500;padding:13px 26px;border:1px solid var(--ink);background:var(--ink);
  color:var(--paper);cursor:pointer;transition:.2s;width:auto;
}
.sidebar input[type=submit]:hover,
.sidebar button[type=submit]:hover{background:transparent;color:var(--ink)}

@media(max-width:900px){
  .content-sidebar{grid-template-columns:1fr;gap:0;padding-top:48px}
  .sidebar{margin-top:64px;border-top:1px solid var(--line);padding-top:44px}
  .home-welcome h1{font-size:2.5rem}
  .post-item h2{font-size:1.55rem}
}
@media(max-width:560px){
  .post-item{flex-direction:column;gap:16px}
  .post-item .post-pic{flex-basis:auto;width:100%}
  .post-item .pic,.post-item .pic.ph{height:200px}
}
