/* Harbor & Pine (invented test business) - presentation only.
   System fonts, no external requests. Decorative pseudo-elements use empty content only. */
:root{
  --cream:#f7f0e4; --paper:#fffaf2; --sand:#ecd9bb; --line:#e6d6bd;
  --espresso:#2b1a12; --roast:#4a2f20; --body:#3d2a20; --muted:#7a6252;
  --accent:#b5532f; --accent-dark:#8f3e20; --accent-tint:#f3dccb;
  --serif:Georgia,"Iowa Old Style","Palatino Linotype",Palatino,"Book Antiqua",serif;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --shadow:0 1px 2px rgba(43,26,18,.06),0 10px 28px -10px rgba(43,26,18,.22);
  --shadow-lg:0 2px 4px rgba(43,26,18,.08),0 24px 48px -16px rgba(43,26,18,.34);
  --ico-bean:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='24' fill='%23f3dccb'/%3E%3Cg transform='rotate(-35 24 24)'%3E%3Cellipse cx='24' cy='24' rx='9' ry='13' fill='%23b5532f'/%3E%3Cpath d='M24 11c-4 6 4 11 0 26' fill='none' stroke='%23f3dccb' stroke-width='2' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
  --ico-chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5l7 7-7 7' fill='none' stroke='%23b5532f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --ico-bag:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 150'%3E%3Cpath d='M30 24h60l6 14v92a8 8 0 0 1-8 8H32a8 8 0 0 1-8-8V38z' fill='%232b1a12'/%3E%3Cpath d='M30 24h60l6 14H24z' fill='%234a2f20'/%3E%3Crect x='36' y='60' width='48' height='48' rx='24' fill='%23f3e6d3'/%3E%3Cpath d='M60 68l9 14h-6l7 12H50l7-12h-6z' fill='%23b5532f'/%3E%3C/svg%3E");
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;min-height:100vh;display:flex;flex-direction:column;
  background:var(--cream);color:var(--body);
  font-family:var(--sans);font-size:17px;line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
::selection{background:var(--accent);color:#fff}
main{display:block;flex:1 0 auto}
a{color:var(--accent-dark);text-decoration-color:rgba(181,83,47,.4);text-underline-offset:3px;text-decoration-thickness:1.5px;transition:color .15s,background-color .15s,text-decoration-color .15s}
a:hover{color:var(--accent);text-decoration-color:currentColor}
a:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:4px}
a:empty{display:none}
h1,h2,h3,h4,h5,h6{font-family:var(--serif);font-weight:700;color:var(--espresso);letter-spacing:-.01em;line-height:1.15}

/* ---------- top bar ---------- */
.top{position:sticky;top:0;z-index:50;background:rgba(247,240,228,.92);-webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line)}
.top-in{max-width:1180px;margin:0 auto;padding:.7rem 1.5rem;display:flex;align-items:center;gap:1.25rem}
.mark{flex:0 0 auto;width:42px;height:42px;display:block;filter:drop-shadow(0 3px 6px rgba(43,26,18,.25))}
nav{font-size:0;display:flex;align-items:center;flex:1;min-width:0;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
nav::-webkit-scrollbar{display:none}
nav a{font-size:.95rem;font-weight:600;letter-spacing:.01em;color:var(--roast);text-decoration:none;padding:.5rem 1rem;margin:0 .1rem;border-radius:999px}
nav a:hover{background:var(--accent-tint);color:var(--accent-dark)}
nav a.on{background:var(--espresso);color:var(--cream)}
nav a.on:hover{background:var(--roast);color:#fff}
@media (min-width:900px){nav{justify-content:flex-end}}

/* ---------- footer ---------- */
footer{margin-top:auto;background:var(--espresso);color:#d9c6ad}
.foot-in{max-width:1180px;margin:0 auto;padding:3rem 1.5rem 2.5rem;display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 0;font-size:0}
.foot-in a{font-size:.98rem;font-weight:500;color:#f3e6d3;text-decoration:none;margin-right:1.75rem;padding:.25rem 0;border-bottom:2px solid transparent}
.foot-in a:hover{color:#fff;border-bottom-color:var(--accent)}
.foot-in p{font-size:.85rem;color:#a99580;flex:1 0 100%;margin:1.5rem 0 0;padding-top:1.25rem;border-top:1px solid rgba(243,230,211,.16)}

/* ---------- generic page ---------- */
.page{max-width:1120px;margin:0 auto;padding:3.25rem 1.5rem 5rem;width:100%}
.page>h1{font-size:clamp(2.1rem,4.2vw,3.4rem);margin:0 0 1.75rem;position:relative;padding-bottom:1.1rem}
.page>h1::after{content:"";position:absolute;left:0;bottom:0;width:64px;height:4px;border-radius:4px;background:var(--accent)}
.page>h1+h1{margin-top:-.5rem}
.page>h4,.page>h2,.page>h3{margin:2rem 0 .75rem}
.page>img{display:block;width:100%;max-width:720px;height:auto;aspect-ratio:2/1;object-fit:cover;border-radius:20px;margin:0 0 2rem;background:linear-gradient(135deg,var(--sand),var(--accent-tint));box-shadow:var(--shadow);border:5px solid var(--paper);color:var(--muted);font-size:.9rem}
.page>p{max-width:70ch;margin:0 0 1.2rem;font-size:1.06rem;line-height:1.75}
.page>ul{max-width:70ch;padding-left:1.25rem}
.page>p:first-of-type{font-size:1.18rem}
.related{background:var(--paper);border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:12px;padding:1rem 1.25rem;margin-top:2rem!important;font-size:.98rem!important;box-shadow:var(--shadow)}

/* ---------- home ---------- */
.hero{position:relative;overflow:hidden;
  background:radial-gradient(900px 520px at 88% 18%,#f2c7a2 0%,rgba(242,199,162,0) 62%),radial-gradient(760px 460px at -4% 100%,#e6cfa9 0%,rgba(230,207,169,0) 64%),linear-gradient(135deg,#fbf4e8 0%,#efdcbd 100%)}
.hero .deco{position:absolute;inset:0;width:100%;height:100%}
.hero .wave{position:absolute;left:0;bottom:-1px;width:100%;height:64px;display:block}
.hero-in{position:relative;z-index:1;max-width:1180px;margin:0 auto;padding:6rem 1.5rem 8rem;min-height:min(78vh,640px);display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:4rem;align-items:center}
.hero h1{font-size:clamp(2.6rem,5.6vw,5rem);line-height:1.02;margin:0;letter-spacing:-.02em;position:relative;padding-bottom:1.6rem;color:var(--espresso)}
.hero h1::after{content:"";position:absolute;left:0;bottom:0;width:96px;height:6px;border-radius:6px;background:var(--accent)}
.hero img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:30px;border:9px solid var(--paper);box-shadow:var(--shadow-lg);transform:rotate(1.6deg)}
.home-body{max-width:1120px;margin:0 auto;padding:3.5rem 1.5rem 5.5rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;width:100%}
.home-body>p{position:relative;margin:0;padding:2rem 2rem 2rem 6.25rem;background:var(--paper);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow);font-size:1.03rem;line-height:1.7;transition:transform .2s,box-shadow .2s}
.home-body>p::before{content:"";position:absolute;left:1.6rem;top:1.9rem;width:52px;height:52px;background:var(--ico-bean) center/contain no-repeat}
.home-body>p:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
.home-body>p.cta{grid-column:1/-1;text-align:center;padding:3rem 2rem;border:0;color:#fbeee0;font-family:var(--serif);font-size:clamp(1.4rem,2.6vw,2rem);line-height:1.35;background:radial-gradient(500px 240px at 12% 0,#cf6a40 0,rgba(207,106,64,0) 70%),linear-gradient(135deg,#b5532f,#8f3e20)}
.home-body>p.cta::before{display:none}
.home-body>p.cta:hover{transform:none}
.home-body>p.cta a{color:#fff;font-weight:700;text-decoration:none;border-bottom:3px solid rgba(255,255,255,.55);padding-bottom:1px}
.home-body>p.cta a:hover{background:rgba(255,255,255,.16);border-bottom-color:#fff;border-radius:4px}

/* ---------- hubs: shop (product cards) ---------- */
.p-shop.hub .page>img,.p-blog.hub .page>img,.p-brew-guides.hub .page>img{max-width:none;aspect-ratio:4/1;border-radius:24px}
.p-shop.hub .page>ul{list-style:none;margin:0 0 3rem;padding:0;max-width:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:1.6rem}
.p-shop.hub .page>ul li{background:var(--paper);border-radius:20px;box-shadow:var(--shadow);overflow:hidden;transition:transform .2s,box-shadow .2s;border:1px solid var(--line)}
.p-shop.hub .page>ul li:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg)}
.p-shop.hub .page>ul li a{display:block;padding:0 1.35rem 1.5rem;font-family:var(--serif);font-size:1.3rem;font-weight:700;line-height:1.2;color:var(--espresso);text-decoration:none}
.p-shop.hub .page>ul li a::before{content:"";display:block;height:176px;margin:0 -1.35rem 1.2rem;background:var(--ico-bag) center 52%/auto 128px no-repeat,linear-gradient(160deg,#f1d9bd,#e2bf97)}
.p-shop.hub .page>ul li:nth-child(4n+2) a::before{background:var(--ico-bag) center 52%/auto 128px no-repeat,linear-gradient(160deg,#dfe6d3,#bccaa9)}
.p-shop.hub .page>ul li:nth-child(4n+3) a::before{background:var(--ico-bag) center 52%/auto 128px no-repeat,linear-gradient(160deg,#f3d4c2,#e6a98a)}
.p-shop.hub .page>ul li:nth-child(4n+4) a::before{background:var(--ico-bag) center 52%/auto 128px no-repeat,linear-gradient(160deg,#e8dcc8,#cdb893)}
.p-shop.hub .page>ul li a:hover{color:var(--accent-dark)}
.p-shop.hub .page>ul li a::after{content:"";display:block;width:34px;height:3px;margin-top:.9rem;border-radius:3px;background:var(--accent);transition:width .2s}
.p-shop.hub .page>ul li:hover a::after{width:64px}

/* ---------- hubs: blog, guides, resources (article rows) ---------- */
.p-blog.hub .page>ul,.p-brew-guides.hub .page>ul,.p-resources.hub .page>ul{list-style:none;margin:0 0 2.5rem;padding:0;max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.4rem}
.p-blog.hub .page>ul li,.p-brew-guides.hub .page>ul li,.p-resources.hub .page>ul li{background:var(--paper);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s}
.p-blog.hub .page>ul li:hover,.p-brew-guides.hub .page>ul li:hover,.p-resources.hub .page>ul li:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
.p-blog.hub .page>ul li a,.p-brew-guides.hub .page>ul li a,.p-resources.hub .page>ul li a{display:flex;align-items:center;gap:1rem;padding:1.15rem 1.3rem;font-family:var(--serif);font-size:1.18rem;font-weight:700;line-height:1.25;color:var(--espresso);text-decoration:none}
.p-blog.hub .page>ul li a::before,.p-brew-guides.hub .page>ul li a::before,.p-resources.hub .page>ul li a::before{content:"";flex:0 0 46px;height:46px;background:var(--ico-bean) center/contain no-repeat}
.p-blog.hub .page>ul li a::after,.p-brew-guides.hub .page>ul li a::after,.p-resources.hub .page>ul li a::after{content:"";flex:0 0 22px;height:22px;margin-left:auto;background:var(--ico-chev) center/contain no-repeat;transition:transform .2s}
.p-blog.hub .page>ul li a:hover,.p-brew-guides.hub .page>ul li a:hover,.p-resources.hub .page>ul li a:hover{color:var(--accent-dark)}
.p-blog.hub .page>ul li a:hover::after,.p-brew-guides.hub .page>ul li a:hover::after,.p-resources.hub .page>ul li a:hover::after{transform:translateX(4px)}
.p-blog.hub .page>p,.p-brew-guides.hub .page>p,.p-shop.hub .page>p,.p-resources.hub .page>p{font-size:1.04rem}
.p-blog.hub .page>ul+p,.p-blog.hub .page>p:first-of-type{font-size:1.04rem}
.p-shop.hub .page>p:first-of-type,.p-brew-guides.hub .page>p:first-of-type,.p-resources.hub .page>p:first-of-type{font-size:1.04rem}

/* ---------- product pages ---------- */
.p-shop.item .page{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);column-gap:3.5rem;align-items:start;padding-top:3rem}
.p-shop.item .page>h1{grid-column:1/-1}
.p-shop.item .page>img{grid-column:1;grid-row:2/span 8;position:sticky;top:96px;max-width:none;aspect-ratio:1/1;border-radius:28px;border-width:8px;box-shadow:var(--shadow-lg);margin:0}
.p-shop.item .page>p,.p-shop.item .page>.related{grid-column:2;max-width:none}
.p-shop.item .page>p:first-of-type{font-size:1.25rem;line-height:1.6;color:var(--espresso);font-family:var(--serif)}

/* ---------- articles: blog posts and brew guides ---------- */
.p-blog.item .page,.p-brew-guides.item .page{max-width:800px}
.p-blog.item .page>h1,.p-brew-guides.item .page>h1{font-size:clamp(2.2rem,4.6vw,3.6rem);line-height:1.08}
.p-blog.item .page>img,.p-brew-guides.item .page>img{max-width:none;aspect-ratio:2/1;margin-bottom:2.5rem}
.p-blog.item .page>p,.p-brew-guides.item .page>p{font-size:1.14rem;line-height:1.75;margin-bottom:1.4rem;max-width:70ch}
.p-blog.item .page>img+p::first-letter,.p-brew-guides.item .page>img+p::first-letter{float:left;font-family:var(--serif);font-size:4.1rem;line-height:.82;padding:.35rem .6rem 0 0;color:var(--accent)}
.p-blog.item .page>p:first-of-type,.p-brew-guides.item .page>p:first-of-type{font-size:1.14rem}

/* ---------- info pages ---------- */
.p-about.hub .page,.p-contact.hub .page,.p-faq.hub .page,.p-shipping.hub .page,.p-returns.hub .page,.p-wholesale.hub .page{max-width:860px}
.p-about.hub .page>img,.p-contact.hub .page>img,.p-faq.hub .page>img,.p-shipping.hub .page>img,.p-returns.hub .page>img,.p-wholesale.hub .page>img{max-width:none;aspect-ratio:3/1}
.p-about.hub .page>p,.p-contact.hub .page>p,.p-faq.hub .page>p,.p-shipping.hub .page>p,.p-returns.hub .page>p,.p-wholesale.hub .page>p{max-width:none;background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:1.5rem 1.75rem;box-shadow:var(--shadow);font-size:1.04rem}
.p-about.hub .page>p:first-of-type,.p-contact.hub .page>p:first-of-type,.p-faq.hub .page>p:first-of-type,.p-shipping.hub .page>p:first-of-type,.p-returns.hub .page>p:first-of-type,.p-wholesale.hub .page>p:first-of-type{font-size:1.04rem}

/* ---------- planted / test pages: same look, calm reading column ---------- */
.p-planted.item .page{max-width:860px}

/* ---------- small screens ---------- */
@media (max-width:900px){
  .hero-in{grid-template-columns:1fr;gap:2.5rem;padding:3.5rem 1.5rem 6rem;min-height:0}
  .hero img{max-width:560px;transform:rotate(1deg)}
  .p-shop.item .page{grid-template-columns:1fr}
  .p-shop.item .page>img,.p-shop.item .page>p,.p-shop.item .page>.related{grid-column:1}
  .p-shop.item .page>img{grid-row:auto;position:static;aspect-ratio:3/2;margin-bottom:2rem}
  .p-blog.hub .page>ul,.p-brew-guides.hub .page>ul,.p-resources.hub .page>ul{grid-template-columns:1fr}
}
@media (max-width:700px){
  body{font-size:16px}
  .top-in{padding:.55rem 1rem;gap:.75rem}
  .mark{width:36px;height:36px}
  nav a{padding:.45rem .8rem}
  .page{padding:2rem 1.1rem 3.5rem}
  .home-body{grid-template-columns:1fr;padding:2.5rem 1.1rem 3.5rem}
  .home-body>p{padding:1.6rem 1.4rem 1.6rem 5rem}
  .home-body>p::before{left:1.1rem;top:1.5rem;width:44px;height:44px}
  .home-body>p.cta{padding:2.25rem 1.25rem}
  .hero-in{padding:2.5rem 1.1rem 5rem}
  .p-shop.hub .page>ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
  .p-shop.hub .page>ul li a{font-size:1.05rem;padding:0 1rem 1.2rem}
  .p-shop.hub .page>ul li a::before{margin:0 -1rem 1rem;height:132px;background-size:auto 96px,auto}
  .p-shop.hub .page>img,.p-blog.hub .page>img,.p-brew-guides.hub .page>img{aspect-ratio:2/1}
  .p-blog.item .page>img+p::first-letter,.p-brew-guides.item .page>img+p::first-letter{font-size:3.3rem}
  .foot-in{padding:2.25rem 1.1rem 2rem}
  .foot-in a{margin-right:1.25rem}
}
@media (max-width:420px){
  .p-shop.hub .page>ul{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
