/* ============================================================
   Archival cottage — museum print / Muskoka postcard system
   Mobile-first. 8px rhythm. Navy · cream · gold accent.
   ============================================================ */
:root{
  --arch-navy:#14233A;
  --arch-navy-deep:#0E182C;
  --arch-cream:#F3EAD8;
  --arch-paper:#F7F1E6;
  --arch-ink:#1a120d;
  --arch-muted:#4a3f34;
  --arch-gold:#c9a467;
  --arch-rule:rgba(20,35,58,.18);
  --arch-gutter: clamp(1.25rem, 5vw, 1.5rem); /* 20–24px */
  --arch-space: .5rem; /* 8px base */
}

/* Paper grain overlay (subtle, premium) */
body.shop,
body.page{
  background-color: var(--arch-cream);
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

/* Type scale — mobile first */
.banner--archive .eyebrow,
.arch-label,
.sec-head .eyebrow,
.pagehead .eyebrow,
.pdp__info .eyebrow{
  font: 600 0.6875rem/1.2 Inter, system-ui, sans-serif; /* 11px */
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@media (min-width:700px){
  .banner--archive .eyebrow,
  .arch-label,
  .sec-head .eyebrow,
  .pagehead .eyebrow,
  .pdp__info .eyebrow{
    font-size: 0.75rem; /* 12px */
  }
}

.banner--archive h1{
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.125rem, 7.5vw, 2.5rem); /* 34–40px phone */
  line-height: 1.12;
  text-wrap: balance;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}
@media (min-width:700px){
  .banner--archive h1{ font-size: clamp(2.5rem, 4.5vw, 3.5rem); }
}

.banner--archive .lede,
.sec-head .lede,
.pagehead .lede{
  font: 400 1.0625rem/1.55 Inter, system-ui, sans-serif; /* 17px */
  max-width: 36em;
}
@media (min-width:700px){
  .banner--archive .lede{ font-size: 1.05rem; }
}

/* ----- Archive hero: fill first viewport (immersive cover) ----- */
:root{
  /* util bar + sticky header — tuned per breakpoint below */
  --mp-chrome: 7.15rem;
}
@media (max-width:760px){
  :root{ --mp-chrome: 7.15rem; }
}

.banner.banner--archive{
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: var(--arch-navy-deep);
  color: var(--arch-paper);
  /* Phone: nearly full screen below chrome */
  width: 100%;
  height: calc(100svh - var(--mp-chrome));
  min-height: 32rem; /* ~512px floor */
  max-height: none;
}

.banner--archive .banner__media{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  line-height: 0;
  overflow: hidden !important;
}
.banner--archive .banner__img,
.banner--archive picture,
.banner--archive picture img{
  width: 100%;
  height: 100%;
  object-fit: cover; /* no distortion */
  object-position: center 40%;
  display: block;
}

/* Soft bottom scrim for overlaid type (phone + shared) */
.banner--archive::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(14,24,44,.15) 0%,
      rgba(14,24,44,.05) 40%,
      rgba(14,24,44,.55) 70%,
      rgba(14,24,44,.92) 100%);
}

.banner--archive .banner__copy{
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 3.5rem var(--arch-gutter) 1.35rem;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transform: none;
  max-width: none;
}
.banner--archive .banner__copy .eyebrow{ color: var(--arch-gold); margin: 0 0 0.65rem; }
.banner--archive .banner__copy h1{
  color: var(--arch-paper);
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
  max-width: 16ch;
}
.banner--archive .banner__copy .lede{
  color: rgba(247,241,230,.92);
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  margin: 0;
}
.banner--archive .banner__copy .btns{
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.banner--archive .banner__copy .btn{
  width: 100%;
  min-height: 48px;
  justify-content: center;
  background: var(--arch-paper);
  color: var(--arch-navy);
  border: 1.5px solid var(--arch-paper);
  border-radius: 2px;
  font: 600 0.95rem/1 Inter, system-ui, sans-serif;
}

/* Secondary CTA — cream on navy, AA */
.banner--archive .banner__copy .btn.btn--ghost,
.banner--archive .btns .btn.btn--ghost{
  background: rgba(14,24,44,.72) !important;
  color: #F7F1E6 !important;
  border: 1.5px solid #F7F1E6 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.banner--archive .banner__caption{
  position: absolute;
  z-index: 2;
  left: var(--arch-gutter);
  right: var(--arch-gutter);
  bottom: 0.35rem;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  font: 400 0.625rem/1.35 Inter, system-ui, sans-serif;
  letter-spacing: 0.04em;
  color: rgba(247,241,230,.62);
  /* sit above copy padding — nudge copy up */
  display: none; /* phone: hide tiny credit over buttons; show on desktop */
}

/* Lift copy so caption doesn't collide when shown */
@media (max-width:700px){
  /* Stacked: image clear (steamer visible), copy below — no overlap */
  .banner.banner--archive{
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: calc(100svh - var(--mp-chrome));
  }
  .banner--archive .banner__media{
    position: relative;
    flex: 1 1 auto;
    min-height: min(62svh, 34rem);
    height: min(62svh, 34rem);
  }
  .banner--archive .banner__img,
  .banner--archive picture img{
    object-position: center 55%; /* keep steamer in frame, clear of text */
  }
  .banner--archive::after{
    /* light top vignette only — no bottom scrim over boat */
    background: linear-gradient(180deg, rgba(14,24,44,.2) 0%, transparent 28%);
    height: 40%;
    bottom: auto;
  }
  .banner--archive .banner__copy{
    position: relative;
    left: auto; right: auto; bottom: auto; top: auto;
    transform: none;
    background: var(--arch-navy);
    padding: 1.35rem var(--arch-gutter) 1.5rem;
    flex: 0 0 auto;
  }
  .banner--archive .banner__copy h1{
    max-width: 14ch;
    font-size: clamp(1.9rem, 7vw, 2.25rem);
    text-shadow: none;
  }
  .banner--archive .banner__copy .lede{
    font-size: 0.95rem;
    max-width: 28em;
    text-shadow: none;
  }
  .banner--archive .banner__caption{
    display: block;
    position: relative;
    left: auto; right: auto; bottom: auto;
    padding: 0.5rem var(--arch-gutter) 0.85rem;
    background: var(--arch-navy);
    border-top: 1px solid rgba(247,241,230,.12);
  }
}

/* Desktop / tablet: fill viewport below chrome, left-anchored copy */
@media (min-width:701px){
  :root{ --mp-chrome: 7.15rem; }
  .banner.banner--archive{
    height: calc(100svh - var(--mp-chrome));
    min-height: 36rem; /* ~576px */
    max-height: none;
  }
  .banner--archive::after{
    background: linear-gradient(105deg,
      rgba(14,24,44,.88) 0%,
      rgba(14,24,44,.55) 34%,
      rgba(14,24,44,.18) 58%,
      rgba(14,24,44,.35) 100%);
  }
  .banner--archive .banner__img,
  .banner--archive picture img{
    object-position: 58% 42%;
  }
  .banner--archive .banner__copy{
    left: max(4vw, calc((100% - 1120px) / 2));
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: min(34rem, 42vw);
    max-width: 34rem;
    padding: 0;
  }
  .banner--archive .banner__copy .btns{
    flex-direction: row;
    flex-wrap: wrap;
  }
  .banner--archive .banner__copy .btn{
    width: auto;
    min-width: 10rem;
  }
  .banner--archive .banner__caption{
    display: block;
    left: max(4vw, calc((100% - 1120px) / 2));
    right: auto;
    bottom: 1rem;
    width: auto;
    max-width: 40rem;
    font-size: 0.6875rem;
    color: rgba(247,241,230,.7);
  }
}

/* ----- Archive divider (panorama) ----- */
.archive-divider{
  margin: 0;
  background: var(--arch-navy-deep);
  border-top: 1px solid rgba(247,241,230,.15);
  border-bottom: 1px solid rgba(247,241,230,.15);
}
.archive-divider img{
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  opacity: .92;
}
.archive-divider figcaption{
  margin: 0;
  padding: 0.65rem var(--arch-gutter) 0.85rem;
  font: 400 0.6875rem/1.4 Inter, system-ui, sans-serif;
  letter-spacing: 0.04em;
  color: rgba(247,241,230,.65);
  background: var(--arch-navy-deep);
}
@media (min-width:900px){
  .archive-divider img{ max-height: 280px; }
}

/* ----- Sections: thin rules, paper ----- */
.banner--archive + .archive-divider + .sec,
.sec{
  background: var(--arch-cream);
}
.sec{
  padding: 2.5rem 0;
}
.sec .wrap,
.pagehead .wrap,
.pdp.wrap,
.store .wrap{
  width: min(1120px, calc(100% - 2 * var(--arch-gutter)));
  margin-left: auto;
  margin-right: auto;
}
.sec-head{
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--arch-rule);
}
.sec-head h2,
.pagehead h1,
.pdp__info h1{
  font-family: "EB Garamond", Garamond, Georgia, serif;
  font-weight: 600;
  color: var(--arch-navy);
  text-wrap: balance;
}
.sec-head h2{ font-size: clamp(1.75rem, 5vw, 2.4rem); }
.pagehead h1{ font-size: clamp(2rem, 6vw, 2.75rem); line-height: 1.12; }

/* Bestsellers / product grids — 2-up phone, 4-up desktop */
.best-grid,
.pgrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem; /* 16px */
}
@media (min-width:900px){
  .best-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
  .pgrid{ grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
}
.pcard__meta em,
.pgrid .mini em,
[data-price]{
  color: var(--arch-navy) !important;
  font-variant-numeric: tabular-nums;
}
.pcard__meta{
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-height: 4.5rem;
}
.pcard__meta em{ margin-top: auto; }

/* Frame mats — archival restraint */
.frame-mat{
  border-color: #2a1c10;
  box-shadow: 0 10px 24px rgba(20,35,58,.1);
}

/* Primary CTAs navy */
.btn,
.buy__btn,
.btn--amber.buy__btn{
  background: var(--arch-navy) !important;
  color: var(--arch-paper) !important;
  border-radius: 2px;
  min-height: 48px;
}
.btn--ghost{
  background: transparent !important;
  color: var(--arch-navy) !important;
  border: 1.5px solid var(--arch-navy) !important;
}

/* ----- Store / pagehead ----- */
.pagehead.store-head,
.pagehead{
  background: var(--arch-cream) !important;
  padding: 2rem 0 1.25rem;
  border-bottom: 1px solid var(--arch-rule);
}
.pagehead .window-glow,
.plaid-band{ display: none !important; }
.announce,
.util{
  background: var(--arch-navy);
  color: var(--arch-paper);
  font: 600 0.6875rem/1.4 Inter, system-ui, sans-serif;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0.55rem var(--arch-gutter);
}

/* ----- PDP ----- */
.pdp{
  padding: 1.25rem 0 2.5rem;
  display: grid;
  gap: 1.5rem;
}
.pdp__gallery{
  background: var(--arch-paper);
  border: 1px solid var(--arch-rule);
  border-radius: 2px;
  padding: 0.75rem;
  margin: 0 calc(-1 * var(--arch-gutter));
  width: calc(100% + 2 * var(--arch-gutter));
  box-sizing: border-box;
  box-shadow: none;
}
@media (min-width:880px){
  .pdp{
    grid-template-columns: 1.05fr .95fr;
    gap: 2.5rem;
    align-items: start;
  }
  .pdp__gallery{
    margin: 0;
    width: 100%;
    padding: 1.25rem;
  }
}
.pdp__main img{ width: 100%; border-radius: 0; }
.thumbs{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.opt__row{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chip span{
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--arch-rule);
  border-radius: 2px;
  font-size: 0.9rem;
}
.buy__row{
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
  margin-top: 1rem;
}
.buy__btn{
  flex: 1 1 100%;
  min-height: 48px !important;
}
@media (min-width:500px){
  .buy__btn{ flex: 1 1 auto; }
}


/* Phone: gallery first, full-bleed; chips wrap; ATC reachable */
@media (max-width:879px){
  .pdp{
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem;
  }
  .pdp__gallery{
    order: 0 !important;
    margin-left: calc(-1 * var(--arch-gutter));
    margin-right: calc(-1 * var(--arch-gutter));
    width: calc(100% + 2 * var(--arch-gutter));
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--arch-paper);
  }
  .pdp__info{ order: 1 !important; }
  .pdp__main{ border-radius: 0; border-left: 0; border-right: 0; }
  .thumbs{
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.35rem;
    padding: 0.5rem var(--arch-gutter) 0.75rem;
  }
  .thumb{ width: 100% !important; height: auto !important; aspect-ratio: 1; }
  .buy__row{
    flex-direction: column;
    position: sticky;
    bottom: 0;
    padding: 0.75rem 0 0.25rem;
    background: linear-gradient(transparent, var(--arch-cream) 28%);
    z-index: 5;
  }
  .buy__btn{ width: 100%; flex: 1 1 100% !important; }
  .opt__row{ gap: 0.5rem; }
  .chip span{ min-height: 44px; }
}

/* ----- Our Story archival plates (true full-bleed, no overflow) ----- */
.archive-plate{
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
  margin-top: 0;
  margin-bottom: 1.5rem;
  background: var(--arch-navy-deep);
  box-sizing: border-box;
}
.archive-plate img{
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.archive-plate figcaption{
  padding: 0.65rem var(--arch-gutter) 0.85rem;
  font: 400 0.6875rem/1.45 Inter, system-ui, sans-serif;
  letter-spacing: 0.04em;
  color: rgba(247,241,230,.7);
}
@media (min-width:800px){
  .archive-plate{
    left: auto; right: auto;
    margin-left: 0; margin-right: 0;
    width: 100%;
    max-width: none;
    margin-bottom: 2rem;
  }
  .archive-plate img{ max-height: 420px; }
}

/* Footer archival */
.foot,
footer.night{
  background: var(--arch-navy) !important;
  color: var(--arch-paper);
  border-top: 1px solid rgba(247,241,230,.15);
}
.banner-credit{
  font: 400 0.6875rem/1.45 Inter, system-ui, sans-serif;
  color: rgba(247,241,230,.62);
  padding: 0 var(--arch-gutter) 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
}
.banner-credit a{ color: rgba(247,241,230,.85); }

/* One stamp mark: hide flying corner after open */
html.shop-open .stamp-logo{ display: none !important; }

/* Gate → archival navy */
html.shop-open body,
html.gate-reveal body{
  background: var(--arch-cream);
}
html.gate-on body{ background: #1a120d; }

/* Opening parcel — phone centred & sized */
@media (max-width:700px){
  .gate__parcel{
    width: min(78vw, 300px) !important;
    margin: 0 auto;
  }
  .gate__stamp img{
    width: min(56vw, 220px);
    height: auto;
  }
}

/* Kill horizontal overflow */
html, body{ overflow-x: hidden; }
img{ max-width: 100%; height: auto; }

/* Neutralize conflicting night/bleed leftovers */
.banner--night,
.banner--sketch,
.hero--bleed{ /* noop if absent */ }
.banner__stars{ display: none !important; }

.archive-hide-hearth,.hearth{display:none!important}

/* Consistent 20–24px side gutters (override cottage 92vw) */
@media (max-width:699px){
  .wrap,
  .sec .wrap,
  .pagehead .wrap,
  .pdp.wrap,
  .narrow{
    width: auto !important;
    max-width: none !important;
    margin-left: var(--arch-gutter) !important;
    margin-right: var(--arch-gutter) !important;
    box-sizing: border-box;
  }
  .best-grid, .pgrid{ gap: 0.75rem; } /* 12px even gaps on small phones */
  /* Paired ghost+solid when two buttons side by side not stacked */
  .sec .btns .btn{ min-height: 48px; }
  /* Opening parcel centred */
  .gate{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .gate__parcel{
    position: relative !important;
    left: auto !important;
    transform: none !important;
  }
}

/* archival label colour (kill teal drift) */
.eyebrow,
.sec-head .eyebrow,
.pagehead .eyebrow,
.pdp__info .eyebrow,
span.eyebrow{
  color: var(--arch-gold) !important;
}
.sec--navy .eyebrow{ color: var(--arch-paper) !important; }

/* no homepage secondary cover */
.banner--archive + .archive-divider,
main > .archive-divider{ display: none !important; }

/* ----- Header: larger stamp + Garamond nav ----- */
.site-hdr__in{
  min-height: 76px;
  gap: 1.1rem;
}
.site-hdr .brand{
  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-weight: 600;
  font-size: 1.2rem; /* ~19px wordmark */
  letter-spacing: 0.01em;
  color: var(--arch-navy) !important;
  gap: 0.75rem;
}
.site-hdr .brand img{
  width: 48px !important;
  height: auto !important;
}
.site-hdr .nav{
  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-weight: 600;
  font-size: 1.125rem; /* 18px */
  letter-spacing: 0.04em;
  gap: 1.35rem;
}
.site-hdr .nav a{
  font-family: inherit !important;
  font-size: inherit !important;
  color: var(--arch-navy) !important;
  opacity: 1;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.15rem;
}
.site-hdr .hdr-cart{
  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-weight: 600;
  font-size: 1.0625rem; /* 17px */
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--arch-navy) !important;
  min-height: 44px;
  padding: 0.55rem 1rem;
  display: inline-flex;
  align-items: center;
}
/* Announcement bar stays Inter */
.announce{
  font-family: Inter, system-ui, sans-serif !important;
}
@media (min-width:900px){
  .site-hdr .brand{ font-size: 1.25rem; }
  .site-hdr .brand img{ width: 54px !important; }
  .site-hdr .nav{ font-size: 1.1875rem; letter-spacing: 0.045em; } /* 19px */
  .site-hdr .hdr-cart{ font-size: 1.125rem; }
}
@media (max-width:760px){
  .site-hdr__in{ min-height: 64px; gap: 0.55rem; }
  .site-hdr .brand{ font-size: 1.05rem; gap: 0.5rem; }
  /* Stamp carries the mark on phone — avoid truncated wordmark crowding Cart/menu */
  
  .site-hdr .brand img{ width: 46px !important; }
  .site-hdr .hdr-cart{
    font-size: 1.05rem;
    padding: 0.5rem 0.85rem;
    letter-spacing: 0.05em;
  }
  .site-hdr .nav{
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    top: 64px;
  }
  .site-hdr .nav a{ min-height: 48px; }
}

/* hero edge bleed — clip any residual scan fringe under overflow:hidden */
.banner--archive .banner__media{ overflow: hidden !important; }
.banner--archive .banner__img,
.banner--archive picture img{
  transform: scale(1.02);
  transform-origin: center center;
}

/* ----- Logo A stamp + wordmark alignment ----- */
.site-hdr .brand{
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.7rem !important;
}
.site-hdr .brand img{
  width: 48px !important;
  height: auto !important;
  display: block;
  flex: 0 0 auto;
  /* optical: stamp reads slightly heavy — nudge */
  margin-top: 1px;
}
.site-hdr .brand span{
  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--arch-navy) !important;
  padding-top: 0.1rem; /* optical centre with stamp */
}
@media (min-width:900px){
  .site-hdr .brand img{ width: 52px !important; }
  .site-hdr .brand span{ font-size: 1.28rem; }
}
@media (max-width:760px){
  .site-hdr .brand img{ width: 44px !important; margin-top: 0; }
  /* wordmark hidden on narrow — stamp alone */
}

/* Footer stamp */
.foot__brand img,
footer .foot__brand img{
  width: 56px !important;
  height: auto !important;
}

/* ===== Sitewide archival uniformity ===== */
:root{
  --arch-cream: #F7F1E6;
  --arch-paper: #F7F1E6;
  --arch-navy: #14233A;
  --arch-navy-deep: #0E182C;
  --arch-gold: #c9a467;
  --arch-ink: #1a120d;
  --arch-muted: #4a3f34;
  --arch-rule: rgba(20,35,58,.16);
}
body.shop, body.page, body{
  background-color: var(--arch-cream) !important;
  color: var(--arch-ink);
  font-family: Inter, system-ui, sans-serif;
}
h1, h2, h3, .pagehead h1, .sec-head h2, .pdp__info h1{
  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  color: var(--arch-navy);
  font-weight: 600;
  text-wrap: balance;
}
.eyebrow, span.eyebrow, .sec-head .eyebrow, .pagehead .eyebrow{
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 0.6875rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--arch-gold) !important;
  font-weight: 600 !important;
}
.btn, button.btn, a.btn, .buy__btn{
  background: var(--arch-navy) !important;
  color: var(--arch-paper) !important;
  border-radius: 2px !important;
  min-height: 48px;
  font-family: Inter, system-ui, sans-serif !important;
  font-weight: 600;
}
.btn--ghost, a.btn--ghost{
  background: transparent !important;
  color: var(--arch-navy) !important;
  border: 1.5px solid var(--arch-navy) !important;
}
/* Hero ghost CTAs keep cream treatment */
.banner--archive .btn.btn--ghost{
  background: rgba(14,24,44,.72) !important;
  color: #F7F1E6 !important;
  border-color: #F7F1E6 !important;
}
.wrap, .sec .wrap, .pagehead .wrap, .pdp.wrap, .narrow{
  max-width: 1120px;
}
.site-hdr{
  background: color-mix(in srgb, var(--arch-cream) 94%, transparent) !important;
  border-bottom: 1px solid var(--arch-rule) !important;
}
.util, .announce{
  background: var(--arch-navy) !important;
  color: var(--arch-paper) !important;
  font-family: Inter, system-ui, sans-serif !important;
}
.foot, footer.night, footer.foot{
  background: var(--arch-navy) !important;
  color: var(--arch-paper) !important;
}
.pcard, .mini, .cat-tile, .pgrid .mini{
  border-radius: 2px !important;
  border-color: var(--arch-rule) !important;
  background: #fffdf8 !important;
}
.pagehead, .store-head{
  background: var(--arch-cream) !important;
  border-bottom: 1px solid var(--arch-rule);
}
/* Kill leftover teal / amber / plaid / window-glow */
.window-glow, .plaid, .plaid-band{ display: none !important; }
.hearth, .archive-hide-hearth{ display: none !important; }

/* ===== Unified header (home + all pages) ===== */
.announce, .util{
  background: var(--arch-navy) !important;
  color: var(--arch-paper) !important;
  font: 600 0.78rem/1.4 Inter, system-ui, sans-serif !important;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0.55rem 1rem !important;
}
.hdr, .site-hdr{
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--arch-cream) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--arch-rule) !important;
}
.hdr__in, .site-hdr__in{
  display: flex !important;
  align-items: center !important;
  gap: 0.85rem !important;
  min-height: 64px !important;
  width: min(1120px, calc(100% - 2 * var(--arch-gutter))) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box;
}
.hdr .brand, .site-hdr .brand, a.brand{
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  text-decoration: none !important;
  color: var(--arch-navy) !important;
  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-weight: 600 !important;
  font-size: 1.15rem !important;
  letter-spacing: 0.01em;
  margin-right: auto;
  min-width: 0;
}
.hdr .brand img, .site-hdr .brand img, a.brand img{
  width: 40px !important;
  height: auto !important;
  display: block !important;
  flex: 0 0 auto;
}
.hdr .brand span, .site-hdr .brand span, a.brand span{
  display: inline-block !important; /* ALWAYS show wordmark */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.15;
  padding-top: 0.05rem;
  color: var(--arch-navy) !important;
  font-family: inherit !important;
}
.hdr .nav, .site-hdr .nav{
  display: flex;
  gap: 1.2rem;
  margin-left: 0;
  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
}
.hdr .nav a, .site-hdr .nav a{
  color: var(--arch-navy) !important;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-family: inherit !important;
}
/* Cart: one outlined archival button everywhere */
.hdr-cart,
a.hdr-cart,
a.btn.hdr-cart,
a.btn.btn--ghost.hdr-cart,
.hdr .hdr-cart,
.site-hdr .hdr-cart{
  margin-left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 0.45rem 0.85rem !important;
  border: 1.5px solid var(--arch-navy) !important;
  border-radius: 2px !important; /* square, not pill */
  background: transparent !important;
  color: var(--arch-navy) !important;
  font-family: "EB Garamond", Garamond, Georgia, serif !important;
  font-weight: 600 !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.06em !important;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: none !important;
}
.hdr .menu-btn, .site-hdr .menu-btn, button.menu-btn{
  margin-left: 0.35rem !important;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}
@media (max-width:760px){
  .hdr__in, .site-hdr__in{ min-height: 60px !important; gap: 0.5rem !important; }
  .hdr .brand, .site-hdr .brand, a.brand{ font-size: 1rem !important; gap: 0.5rem !important; }
  .hdr .brand img, .site-hdr .brand img, a.brand img{ width: 36px !important; }
  .hdr .brand span, .site-hdr .brand span, a.brand span{
    display: inline-block !important;
    max-width: min(42vw, 9.5rem);
  }
  .hdr-cart, a.btn.btn--ghost.hdr-cart{
    font-size: 1rem !important;
    padding: 0.4rem 0.7rem !important;
    min-height: 40px !important;
  }
  .hdr .nav, .site-hdr .nav{ top: 60px; font-size: 1.12rem; }
}
@media (min-width:900px){
  .hdr__in, .site-hdr__in{ min-height: 68px !important; }
  .hdr .brand img, .site-hdr .brand img{ width: 42px !important; }
  .hdr .brand, .site-hdr .brand{ font-size: 1.25rem !important; }
}

/* Gate focuses #hero-h (tabindex=-1) after stamp click — no visible ring.
   Real controls keep :focus-visible via .hl / browser defaults. */
#hero-h[tabindex="-1"]:focus,
#hero-h[tabindex="-1"]:focus-visible{
  outline: none !important;
  box-shadow: none !important;
}
[tabindex="-1"]:focus:not(:focus-visible){
  outline: none;
  box-shadow: none;
}

/* Phone nav: archival .hdr .nav{display:flex} was overriding cottage’s display:none,
   so the drawer looked “open” after the gate with no tap on the menu button. */
@media (max-width:760px){
  .hdr .nav, .site-hdr .nav{
    display: none !important;
    position: absolute;
    left: 0; right: 0;
    top: 60px;
    flex-direction: column;
    gap: 0.15rem;
    padding: 1rem 4vw 1.25rem;
    background: var(--arch-cream, #F7F1E6);
    border-bottom: 1px solid rgba(20,35,58,.12);
    z-index: 45;
  }
  .hdr .nav.is-open, .site-hdr .nav.is-open{
    display: flex !important;
  }
}

/* Brand stamp: inline SVG (crisp at any DPR) */
.hdr .brand .brand-stamp,
.site-hdr .brand .brand-stamp,
a.brand .brand-stamp,
.brand-stamp{
  width: 44px;
  height: 55px;
  display: block;
  flex: 0 0 auto;
  overflow: visible;
}
.hdr .brand img.brand-stamp,
.site-hdr .brand img.brand-stamp{ /* legacy if any img remains */
  width: 40px !important;
  height: auto !important;
}
@media (max-width:760px){
  .hdr .brand .brand-stamp, .site-hdr .brand .brand-stamp, a.brand .brand-stamp{ width: 40px; height: 50px; }
}
@media (min-width:900px){
  .hdr .brand .brand-stamp, .site-hdr .brand .brand-stamp, a.brand .brand-stamp{ width: 48px; height: 60px; }
}
html, body{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}
