@import url("fonts.css");

:root {
  --blush: #e8a8a4;
  --blush-soft: #f6dcd9;
  --blush-deep: #d48984;
  --sage: #7eb8b0;
  --sage-soft: #d5ebe7;
  --sage-deep: #5a9a92;
  --mustard: #e5b84d;
  --mustard-soft: #f6e6b8;
  --terra: #e07a4a;
  --terra-soft: #f5d0bc;
  --ink: #1c1c1c;
  --ink-2: #3a3532;
  --muted: #7a716c;
  --cream: #fbf7f2;
  --cream-2: #f3ebe3;
  --paper: #fffcf8;
  --line: #e8dfd6;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --script: "Great Vibes", "Palatino Linotype", cursive;
  --sans: "Jost", "Outfit", "Helvetica Neue", sans-serif;
  --shadow: 0 18px 50px rgba(60, 40, 30, 0.12);
  --header: 7.5rem;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
em.script, .script { font-family: var(--script); font-style: normal; font-weight: 400; }

.overline {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 0.85rem;
}
.center { text-align: center; }
.muted { color: var(--muted); }
.wrap { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; }
.wrap-wide { width: min(1360px, calc(100% - 2.5rem)); margin: 0 auto; }

/* Buttons — torn paper, white centre, cheerful rim, orange hover */
.btn {
  --btn-rim: var(--mustard);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  filter: drop-shadow(0 8px 14px rgba(60, 40, 30, 0.12));
  transition: color 0.25s ease;
}
.btn::before,
.btn::after {
  content: "";
  position: absolute;
  clip-path: url(#torn-paper);
  z-index: -1;
  transition: background 0.25s ease;
}
.btn::before {
  inset: -5px -6px -6px -5px;
  background: var(--btn-rim);
  transform: rotate(0.5deg);
}
.btn::after {
  inset: 0;
  background: #fff;
}
.btn-solid { --btn-rim: var(--mustard); background: transparent; color: #111; }
.btn-outline { --btn-rim: var(--blush); }
.btn-light { --btn-rim: var(--sage); color: #111; }
.btn-sm { padding: 0.7rem 1.2rem; }
.about-copy .btn,
.spot-cta .btn { --btn-rim: var(--sage); }
.newsletter .btn { --btn-rim: var(--mustard); }
.account-prompt-actions .btn-outline { --btn-rim: var(--sage); }
.tier .btn { --btn-rim: var(--blush); }
.tier.featured .btn { --btn-rim: var(--mustard); }
.footer-form .btn { --btn-rim: var(--terra-soft); }
.btn:hover,
.btn:focus-visible {
  color: #fff;
  background: transparent;
}
.btn:hover::before,
.btn:hover::after,
.btn:focus-visible::before,
.btn:focus-visible::after {
  background: var(--terra);
}
.btn:disabled { opacity: 0.65; pointer-events: none; }
.text-link {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--terra); border-color: var(--terra); }

/* Sale banner — always visible */
.sale-bar {
  background: #C9DFF0;
  color: #111;
  text-align: center;
  padding: 0.7rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.sale-bar strong {
  letter-spacing: 0.2em;
  font-weight: 600;
}

/* Announcement bar removed */
.announce { display: none !important; }

/* Header */
.site-header {
  background: rgba(255, 252, 248, 0.94);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(40, 30, 20, 0.04);
}
.header-inner {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 48px 1fr 96px;
  align-items: center;
  padding: 0.55rem 0 0.15rem;
}
.logo { justify-self: center; }
.logo img { height: 86px; width: auto; }
.header-actions { display: flex; justify-content: flex-end; gap: 0.2rem; }
.icon-btn {
  background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  position: relative;
  color: var(--ink);
}
.nav-toggle span {
  display: block; width: 18px; height: 1.4px; background: var(--ink); margin: 3.5px 0;
  transition: transform 0.28s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(4.9px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-4.9px) rotate(-45deg); }
.cart-count {
  position: absolute; top: 4px; right: 2px;
  background: var(--terra); color: #fff;
  font-size: 0.6rem; min-width: 16px; height: 16px;
  border-radius: 99px; display: none;
  place-items: center; font-weight: 600;
}
.cart-count.on { display: grid; }
.main-nav {
  display: flex; justify-content: center; gap: 1.8rem;
  padding: 0.15rem 1rem 0.85rem;
}
.main-nav a {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  position: relative;
  padding: 0.15rem 0 0.4rem;
  transition: color 0.25s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--mustard);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(.22,.7,.25,1);
}
.main-nav a:hover,
.main-nav a.is-active { color: var(--ink); }
.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active::after { background: var(--blush); }
.nav-overlay { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; height: min(88vh, 820px); background: var(--cream-2); }
.hero-track { display: flex; height: 100%; transition: transform 0.8s cubic-bezier(.22,.7,.25,1); }
.hero-slide {
  min-width: 100%; height: 100%;
  position: relative;
  background: #c9b8ad center/cover no-repeat;
}
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,24,20,0.45), rgba(28,24,20,0.18) 40%, rgba(28,24,20,0.12));
}
.hero-copy {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  text-align: center; color: #fff;
  padding: 2rem;
}
.hero-copy .overline { color: rgba(255,255,255,0.82); }
.hero-copy h1 { color: #fff; max-width: 16ch; margin-left: auto; margin-right: auto; text-shadow: 0 8px 30px rgba(0,0,0,0.18); }
.hero-copy .script { font-size: 0.72em; }
.hero-copy p.sub { letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.74rem; opacity: 0.88; }
.hero-nav {
  position: absolute; inset: auto 1.2rem 1.4rem;
  display: flex; justify-content: space-between; align-items: center; z-index: 3;
}
.hero-arrows { display: flex; gap: 0.4rem; }
.hero-arrows button, .hero-dots button {
  background: transparent; border: 1px solid rgba(255,255,255,0.55); color: #fff;
  width: 40px; height: 40px; cursor: pointer;
}
.hero-dots { display: flex; gap: 0.4rem; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; padding: 0; }
.hero-dots button.on { background: #fff; }

/* Trio hover boxes */
.trio-wrap {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  padding: 3.4rem 0 3.8rem;
}
.trio-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cream-2);
  color: #fff;
}
.trio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.7s cubic-bezier(.22,.7,.25,1);
}
.trio-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,24,20,0.62) 0%, rgba(28,24,20,0.12) 55%, rgba(28,24,20,0.08));
  transition: background 0.4s ease;
}
.trio-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.4rem 1.2rem 1.5rem;
  text-align: center;
}
.trio-cap em {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.trio-cap strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  margin-top: 0.2rem;
}
.trio-cap strong::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin: 0.55rem auto 0;
  background: var(--mustard);
  transform: scaleX(0.35);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(.22,.7,.25,1);
}
.trio-card:hover img,
.trio-card:focus-visible img { transform: scale(1.1); }
.trio-card:hover::after,
.trio-card:focus-visible::after {
  background: linear-gradient(to top, rgba(28,24,20,0.72) 0%, rgba(28,24,20,0.22) 60%, rgba(28,24,20,0.12));
}
.trio-card:hover .trio-cap em,
.trio-card:focus-visible .trio-cap em {
  opacity: 0.92;
  transform: none;
}
.trio-card:hover .trio-cap strong::after,
.trio-card:focus-visible .trio-cap strong::after { transform: scaleX(1); }

/* About split */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 640px;
  background: var(--cream);
}
.about-photo {
  min-height: 520px;
  overflow: visible;
  background: transparent;
  position: relative;
}
.torn-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.torn-frame {
  position: relative;
  margin: 0;
  height: 100%;
  min-height: 520px;
  filter: drop-shadow(0 18px 28px rgba(48, 34, 24, 0.16));
}
.torn-back {
  position: absolute;
  inset: 0;
  background: var(--blush);
  clip-path: url(#torn-paper);
  transform: scale(1.055) rotate(0.7deg);
}
.torn-frame img,
.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 50% 12%;
  display: block;
  clip-path: url(#torn-paper);
}
.about-copy { padding: 5rem 4.2rem; display: flex; flex-direction: column; justify-content: center; }
.about-copy h2 { max-width: 16ch; }
.about-copy h2 .script { color: var(--terra); font-size: 0.85em; }
.about-home .about-copy {
  align-items: center;
  text-align: center;
}
.about-home .about-copy h2 { max-width: 18ch; }
.about-home .about-copy p { max-width: 42ch; }
.about-home .pills { justify-content: center; }
.about-home .about-copy .btn { align-self: center; }
.websites-about {
  background:
    linear-gradient(90deg, #efe4d8 0 48%, var(--cream) 48%);
}
.websites-about .about-photo {
  padding: 2.2rem 0 1.2rem 2.2rem;
  display: flex;
  align-items: flex-end;
}
.websites-about .torn-frame {
  width: 88%;
  max-width: 520px;
  min-height: 0;
  filter: drop-shadow(0 18px 28px rgba(200, 120, 120, 0.24));
}
.websites-about .torn-frame img {
  min-height: 420px;
  aspect-ratio: 4/5;
  height: auto;
  object-position: 55% 50%;
}
.websites-about .torn-back { background: var(--sage); }
.websites-about .about-overlap { right: 6%; bottom: 1.4rem; }
@media (max-width: 960px) {
  .websites-about { background: var(--cream); }
  .websites-about .about-photo { padding: 1.4rem 1.2rem 0; justify-content: center; }
  .websites-about .torn-frame { width: 82%; }
}
.trio .text-link { display: inline-block; }

.about-home {
  position: relative;
  overflow: visible;
  background:
    linear-gradient(90deg, #efe4d8 0 48%, var(--cream) 48%);
}
.about-home .about-photo {
  position: relative;
  overflow: visible;
  background: transparent;
  padding: 2.4rem 0 0 2.6rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.about-home .torn-frame {
  width: 72%;
  max-width: 390px;
  min-height: 0;
  margin-left: 0;
  filter: drop-shadow(0 18px 28px rgba(200, 120, 120, 0.28));
}
.about-home .torn-frame img {
  min-height: 430px;
  aspect-ratio: 3/4;
  height: auto;
}
.about-overlap {
  position: absolute;
  left: auto;
  right: 14%;
  bottom: 0.55rem;
  z-index: 3;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.7rem 1.25rem 0.8rem 1.35rem;
  box-shadow: 0 16px 36px rgba(40, 30, 20, 0.12);
}
.about-overlap em {
  font-family: var(--script);
  font-style: normal;
  font-size: 1.15em;
  color: var(--terra);
  margin-left: 0.15em;
}
@media (max-width: 960px) {
  .about-home { background: var(--cream); }
  .about-home .about-photo { padding: 1.4rem 1.2rem 0; justify-content: center; }
  .about-home .torn-frame { width: 78%; margin-left: -0.8rem; }
  .about-overlap { left: auto; right: 12%; bottom: 1.4rem; }
}
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.4rem 0 1.8rem; }
.pills span,
.pills a {
  border: 1px solid var(--line);
  padding: 0.4rem 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pills a {
  transition: 0.2s ease;
}
.pills a:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Sections */
.section { padding: 5.5rem 0; }
.section.blush { background: var(--blush-soft); }
.section.sage { background: var(--sage-soft); }
.section.cream { background: var(--cream); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head p { color: var(--muted); }

/* Featured masonry + torn paper */
.feature-grid {
  column-count: 3;
  column-gap: 0.85rem;
}
.feature-card {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 0.85rem;
  break-inside: avoid;
  overflow: hidden;
  filter: drop-shadow(0 8px 14px rgba(48, 34, 24, 0.1));
  transition: transform 0.35s ease;
}
.feature-card:hover,
.feature-card:focus-visible {
  transform: translateY(-4px);
  z-index: 2;
}
.feature-card .torn-back {
  background: var(--blush);
  transform: scale(1.02);
}
.feature-card:nth-child(2) .torn-back { background: var(--sage); }
.feature-card:nth-child(3) .torn-back { background: var(--mustard); }
.feature-card:nth-child(4) .torn-back { background: var(--terra); }
.feature-card:nth-child(5) .torn-back { background: var(--blush-deep); }
.torn-front {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  background: var(--cream-2);
  clip-path: polygon(1.5% 2%, 7% 0, 16% 2%, 26% 0.8%, 38% 2%, 50% 0, 62% 2%, 74% 0.8%, 86% 2%, 98% 1%, 100% 9%, 98% 22%, 100% 36%, 98% 50%, 100% 64%, 98% 78%, 100% 90%, 97% 100%, 85% 98%, 72% 100%, 58% 98%, 44% 100%, 30% 98%, 16% 100%, 0 93%, 2% 78%, 0 64%, 2% 48%, 0 34%, 2% 20%, 0 8%);
}
.feature-card:nth-child(1) .torn-front { aspect-ratio: 3 / 4; }
.feature-card:nth-child(2) .torn-front { aspect-ratio: 1 / 1; }
.feature-card:nth-child(3) .torn-front { aspect-ratio: 4 / 5; }
.feature-card:nth-child(4) .torn-front { aspect-ratio: 5 / 4; }
.feature-card:nth-child(5) .torn-front { aspect-ratio: 3 / 4.2; }
.feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.7s cubic-bezier(.22,.7,.25,1);
}
.feature-card:hover img { transform: scale(1.08); }
.fc-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1.15rem 1.35rem;
  background: linear-gradient(to top, rgba(28,24,20,0.62), transparent 70%);
  color: #fff;
  text-align: center;
}
.fc-cap h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  margin: 0 0 0.2rem;
}
.fc-cap em {
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.62rem;
  font-family: var(--sans);
  opacity: 0.85;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem 1.5rem;
}
.product-grid.compact {
  display: block;
  column-count: 3;
  column-gap: 0.9rem;
  width: min(1000px, 100%);
  margin: 0 auto;
}
.product-grid.compact .product-card {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 1.1rem;
}
.product-grid.compact .pc-media { aspect-ratio: 4/5; }
.product-grid.compact .product-card:nth-child(3n+1) .pc-media { aspect-ratio: 3/4; }
.product-grid.compact .product-card:nth-child(3n+2) .pc-media { aspect-ratio: 1; }
.product-grid.compact .product-card:nth-child(3n) .pc-media { aspect-ratio: 4/5; }
.product-card .pc-media {
  position: relative;
  background: var(--cream);
  aspect-ratio: 4/5;
  overflow: hidden;
  display: block;
  min-height: 220px;
}
.product-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card:hover img { transform: scale(1.04); }
.badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--terra); color: #fff;
  font-size: 0.62rem; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 0.3rem 0.55rem;
}
.pc-body { padding: 1rem 0.15rem 0; text-align: center; }
.pc-body h3 { font-size: 1.4rem; margin: 0.15rem 0 0.35rem; }
.price { font-size: 0.95rem; color: var(--ink-2); margin-bottom: 0.6rem; }
.price s { color: var(--muted); margin-right: 0.4rem; }

/* Quotes */
.quotes-wrap { max-width: 820px; margin: 0 auto; text-align: center; }
.quotes-wrap blockquote { margin: 0; }
.quotes-wrap p {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-style: italic;
  line-height: 1.45;
}
.quotes-wrap footer { letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.7rem; color: var(--muted); }
.quote-count {
  margin: 0.9rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.quote-nav { display: flex; justify-content: center; gap: 0.6rem; margin-top: 1.6rem; }
.quote-nav button {
  width: 42px; height: 42px; border: 1px solid var(--ink); background: transparent; cursor: pointer;
}

/* Journal cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.post-card { display: block; }
.post-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; background: var(--cream-2); }
.post-card h3 { font-size: 1.55rem; margin: 0.7rem 0 0.3rem; }
.post-card.tall img { aspect-ratio: 16/10; }
.post-card:hover h3 { color: var(--terra); }
.post-card {
  width: 100%;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
}
.post-modal {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(28, 24, 20, 0.48);
  display: none;
  place-items: center;
  padding: 1.4rem;
}
.post-modal.open { display: grid; }
.post-modal-panel {
  width: min(720px, 100%);
  max-height: min(88vh, 860px);
  overflow: auto;
  background: var(--paper);
  padding: 1.4rem 1.5rem 2rem;
  position: relative;
  box-shadow: 0 24px 60px rgba(40, 30, 20, 0.22);
}
.post-modal-panel img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--cream-2);
  margin-bottom: 1.1rem;
}
.post-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 40px;
  height: 40px;
  border: 0;
  background: var(--paper);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.post-modal-panel h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.post-modal-panel #pm-body { font-size: 1.05rem; }
body.note-open { overflow: hidden; }

/* Newsletter */
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background:
    linear-gradient(90deg, var(--sage-soft) 0 48%, var(--blush-soft) 48%);
  color: var(--ink);
  min-height: 460px;
  overflow: hidden;
}
.newsletter-photo {
  min-height: 320px;
  padding: 2.2rem 0 2.2rem 2.4rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
}
.newsletter-photo .torn-frame {
  width: 86%;
  max-width: 460px;
  min-height: 0;
  margin: 0;
  filter: drop-shadow(0 18px 28px rgba(90, 154, 146, 0.26));
}
.newsletter-photo .torn-back { background: var(--mustard); }
.newsletter-photo img {
  width: 100%;
  height: auto;
  min-height: 340px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  clip-path: url(#torn-paper);
}
.newsletter-copy {
  padding: 4.2rem 3.5rem 4.2rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.newsletter .overline { color: var(--terra); }
.newsletter-copy h2 { max-width: 14ch; }
.newsletter-copy h2 .script { color: var(--terra); }
.newsletter-copy > p { color: var(--ink-2); max-width: 40ch; }
.news-form { display: flex; gap: 0.5rem; margin-top: 0.6rem; flex-wrap: wrap; }
.news-form input, .field input, .field textarea, .field select {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.85rem 1rem;
  min-width: 0;
  width: 100%;
}
.news-form input {
  flex: 1;
  background: var(--paper);
  border-color: #e3c8c4;
  color: var(--ink);
}
.news-form input::placeholder { color: var(--muted); }
.news-form input:focus {
  outline: none;
  border-color: var(--terra);
}

/* Page hero */
.page-hero {
  padding: 4.5rem 1.5rem 3rem;
  text-align: center;
  background: var(--cream);
}
.page-hero h1 { margin-bottom: 0.4rem; }
.page-hero p { max-width: 52ch; margin: 0.4rem auto 0; color: var(--muted); }

/* Shop tools */
.shop-tools {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  padding: 1.4rem 0 1.8rem;
}
.filters { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.filter-btn {
  display: inline-block;
  border: 1px solid var(--line); background: transparent;
  padding: 0.45rem 0.9rem; cursor: pointer;
  letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.68rem;
}
@media (min-width: 961px) {
  .nav-toggle { visibility: hidden; pointer-events: none; }
}
.filter-btn.on, .filter-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
#shop-sort { border: 1px solid var(--line); background: transparent; padding: 0.45rem 0.7rem; }

/* Product page */
.product-layout {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem; padding: 3rem 0 5rem;
}
.p-gallery img#p-main { width: 100%; background: var(--cream); aspect-ratio: 4/5; object-fit: cover; }
.thumbs { display: flex; gap: 0.55rem; margin-top: 0.7rem; }
.thumbs button { border: 1px solid transparent; padding: 0; width: 78px; background: var(--cream); cursor: pointer; }
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.buy-row { display: flex; gap: 0.8rem; align-items: center; margin: 1.4rem 0; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 36px; height: 40px; border: 0; background: transparent; cursor: pointer; }
.qty em { min-width: 24px; text-align: center; font-style: normal; }
.p-details { margin: 1.4rem 0 0; padding: 0 0 0 1.1rem; color: var(--ink-2); }
.p-details li { margin: 0.25rem 0; }

/* Cart */
.cart-layout { display: grid; grid-template-columns: 1.4fr 0.7fr; gap: 2.5rem; padding: 2rem 0 5rem; }
.cart-row {
  display: grid; grid-template-columns: 110px 1fr auto auto;
  gap: 1rem; align-items: center;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line);
}
.cart-row img { width: 110px; aspect-ratio: 1; object-fit: cover; background: var(--cream); }
.cr-info h3 { font-size: 1.25rem; margin: 0 0 0.2rem; }
.cr-info p { font-size: 0.9rem; color: var(--muted); margin: 0 0 0.4rem; }
.cart-sum { background: var(--cream); padding: 1.8rem; height: fit-content; }
.cart-sum p, .check-line { display: flex; justify-content: space-between; gap: 1rem; }
.cart-sum .grand { font-size: 1.15rem; border-top: 1px solid var(--line); padding-top: 0.8rem; }
.cart-sum .btn { width: 100%; margin: 1rem 0 0.6rem; }
.empty-cart { text-align: center; padding: 4rem 1rem; }

/* Checkout */
.account-prompt {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  padding: 1.6rem 1.7rem 1.7rem;
  margin: 0 auto 0.4rem;
  max-width: 820px;
  text-align: center;
}
.account-prompt h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.45rem;
}
.account-prompt p { color: var(--ink-2); margin-bottom: 0.85rem; }
.account-prompt .overline { color: var(--sage-deep); }
.account-prompt-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}
.account-prompt.is-signed {
  background: var(--sage-soft);
  border-color: transparent;
}
.account-prompt.is-signed p:last-child { margin-bottom: 0; }
.check-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; padding: 2rem 0 5rem; }
.field { margin-bottom: 0.9rem; }
.field label { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.35rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.check-box { background: var(--cream); padding: 1.5rem; }
.check-line { padding: 0.55rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.check-line img { width: 52px; height: 52px; object-fit: cover; }
.check-line.total { border: 0; font-size: 1.1rem; padding-top: 0.9rem; }
.page-intro.done { text-align: center; padding: 5rem 1rem 6rem; max-width: 820px; margin: 0 auto; }
.badge-sage { background: var(--sage-deep); }
.badge-ink { background: var(--ink); }
.badge-soon { background: var(--mustard); color: #111; }
.soon-banner {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 42%;
  z-index: 3;
  display: grid;
  place-items: center;
  pointer-events: none;
  filter: drop-shadow(0 8px 14px rgba(60, 40, 30, 0.16));
  transform: rotate(-6deg);
}
.soon-banner em {
  display: inline-block;
  font-style: normal;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  letter-spacing: 0.04em;
  background: #fff;
  color: #111;
  padding: 0.45rem 0.95rem;
  clip-path: polygon(2% 8%, 8% 0, 22% 6%, 38% 0, 55% 7%, 70% 0, 86% 6%, 98% 1%, 100% 28%, 97% 55%, 100% 82%, 92% 100%, 74% 94%, 56% 100%, 38% 95%, 22% 100%, 8% 94%, 0 78%, 3% 48%, 0 18%);
  box-shadow: 0 0 0 5px var(--mustard);
}
.soon-box {
  position: relative;
  background: var(--cream);
  padding: 1.4rem 1.3rem 1.5rem;
  text-align: center;
}
.soon-box .soon-banner { position: static; transform: rotate(-3deg); margin-bottom: 1rem; }
.notify-panel { max-width: 480px; }
.btn-soft { letter-spacing: 0; text-transform: none; font-size: 0.78rem; opacity: 0.85; font-weight: 400; }
.p-download { margin: 0.4rem 0 1.2rem; }
.dl-note, .owned-note { font-size: 0.95rem; color: var(--muted); }
.dl-note a { border-bottom: 1px solid var(--line); }
.owned-note { color: var(--sage-deep); }
.p-download .btn { margin: 0.35rem 0.4rem 0 0; }
.dl-list { display: grid; gap: 1rem; text-align: left; margin: 2rem 0; }
.dl-card {
  display: grid; grid-template-columns: 92px 1fr; gap: 1rem; align-items: center;
  background: var(--cream); padding: 1rem; text-align: left;
}
.dl-card img { width: 92px; height: 112px; object-fit: cover; background: #fff; }
.dl-card h3 { font-size: 1.35rem; margin: 0 0 0.2rem; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.6rem; }
.dl-free { background: var(--sage-soft); padding: 2.2rem 1.8rem; margin-bottom: 1.5rem; }
.dl-free .btn { margin-top: 0.6rem; }
.free-shop {
  padding: 3.6rem 0 1rem;
  margin-top: 2.4rem;
  border-top: 1px solid var(--line);
}
.free-shop .section-head { margin-bottom: 2.2rem; }
.free-blurb {
  font-size: 0.9rem;
  margin: 0 0 0.7rem;
  min-height: 2.8em;
}
.free-library { margin-top: 1.4rem; }
.free-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
}
.footer-form + .text-link { display: inline-block; margin-top: 0.8rem; }
.service-form {
  margin: 1.2rem 0 1.6rem;
  padding: 1.4rem 1.3rem 1.5rem;
  background: var(--cream);
}
.service-form .overline { margin-bottom: 0.4rem; }
.service-form .btn { margin-top: 0.4rem; }
.brief-recap {
  text-align: left;
  background: var(--cream);
  padding: 1.1rem 1.2rem;
  margin: 1.2rem 0;
  font-size: 0.95rem;
}
.brief-recap .overline { margin-bottom: 0.4rem; }
.page-intro.done .brief-recap { max-width: 560px; margin-left: auto; margin-right: auto; }
.or-custom { font-style: italic; font-family: var(--serif); color: var(--muted); font-size: 0.92rem; font-weight: 400; }
.p-demo {
  display: flex;
  justify-content: center;
  margin: 0.4rem 0 1.5rem;
}
.p-demo[hidden] { display: none; }
.demo-torn {
  position: relative;
  display: inline-block;
  color: var(--ink);
  filter: drop-shadow(0 10px 16px rgba(180, 140, 40, 0.22));
  transform: rotate(-0.6deg);
  transition: transform 0.3s ease;
}
.demo-torn:hover { transform: rotate(0deg) translateY(-2px); color: #fff; }
.demo-torn .torn-back { background: var(--mustard); }
.demo-torn:hover .torn-back,
.demo-torn:hover .demo-torn-inner { background: var(--terra); }
.demo-torn-inner {
  position: relative;
  display: inline-block;
  clip-path: url(#torn-paper);
  background: #fff;
  color: inherit;
  padding: 0.95rem 1.85rem 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
}
.custom-addon {
  margin: 0 0 1.2rem;
  padding: 1rem 1.1rem;
  background: var(--cream);
}
.check-line-label {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: 0.7rem;
  align-items: start;
  cursor: pointer;
  font-size: 0.95rem;
}
.check-line-label input { margin-top: 0.3rem; }
#custom-fields { margin-top: 1rem; }
.device-picker { margin: 0 0 1.3rem; }
.device-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.7rem;
}
.device-picker.desktop-only .device-grid {
  grid-template-columns: 1fr 1fr;
  max-width: 360px;
}
.device-btn {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.75rem 0.4rem;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 500;
}
.device-btn:hover { border-color: var(--ink); }
.device-btn.on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
@media (max-width: 640px) {
  .device-grid { grid-template-columns: 1fr 1fr; }
}
.license-gate, .license-box {
  background: var(--cream);
  padding: 1.2rem 1.3rem;
  margin: 0.8rem 0 1rem;
  text-align: left;
}
.license-num {
  font-family: var(--sans);
  letter-spacing: 0.18em;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0.2rem 0 0.5rem;
}
.account-wrap { padding-bottom: 5rem; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 800px) { .account-grid { grid-template-columns: 1fr; } }

/* Contact / about extras */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; padding: 3rem 0 5rem; }
.websites-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.tier {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2rem 1.6rem;
}
.tier.featured {
  background: transparent;
  border: 0;
  color: var(--ink);
  padding: 0;
  position: relative;
  filter: drop-shadow(0 16px 28px rgba(200, 120, 120, 0.22));
  transform: rotate(-0.8deg);
}
.tier.featured .torn-back { background: var(--blush); }
.tier-inner {
  position: relative;
  clip-path: url(#torn-paper);
  background: #fff8f4;
  padding: 2.3rem 1.8rem 2.1rem;
}
.tier.featured .overline { color: var(--terra); }
.tier h3 { font-size: 1.8rem; }
.tier .cost { font-family: var(--serif); font-size: 2.2rem; margin: 0.3rem 0 1rem; }
.tier ul { padding-left: 1.1rem; color: inherit; }
.tier.featured .btn { color: #111; }
.split-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.product-spot { text-align: center; }
.product-spot h2 { margin-left: auto; margin-right: auto; }
.product-spot > p { max-width: 42ch; margin-left: auto; margin-right: auto; }
.product-spot .p-demo,
.product-spot .spot-cta {
  display: flex;
  justify-content: center;
  margin: 0.9rem 0;
}

/* Footer */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding: 4rem 0 1.5rem; }
.footer-top { text-align: center; margin-bottom: 2.5rem; }
.footer-logo img { height: 88px; margin: 0 auto 0.6rem; }
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 1.35rem; }
.footer-url { letter-spacing: 0.32em; font-size: 0.72rem; text-transform: uppercase; color: var(--muted); }
.footer-grid {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.footer-grid h4 {
  font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 500;
}
.footer-grid a, .footer-grid p { display: block; color: var(--ink-2); font-size: 0.94rem; margin: 0.25rem 0; }
.footer-grid a:hover { color: var(--terra); }
.footer-form { display: flex; gap: 0.4rem; margin-top: 0.6rem; }
.footer-form input { flex: 1; border: 1px solid var(--line); background: #fff; padding: 0.65rem 0.7rem; }
.footer-bottom {
  width: min(1180px, calc(100% - 3rem));
  margin: 2.6rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.78rem; color: var(--muted);
}

/* Drawer + search + toast */
.cart-mask {
  position: fixed; inset: 0; background: rgba(28,24,20,0.35);
  opacity: 0; pointer-events: none; transition: 0.3s; z-index: 50;
}
.cart-mask.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; width: min(400px, 92vw); height: 100%;
  background: var(--paper); z-index: 60;
  transform: translateX(100%); transition: transform 0.35s ease;
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: none; }
.drawer-head, .drawer-foot { padding: 1.2rem 1.3rem; border-bottom: 1px solid var(--line); }
.drawer-foot { border-bottom: 0; border-top: 1px solid var(--line); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head h3 { margin: 0; font-size: 1.6rem; }
.drawer-body { flex: 1; overflow: auto; padding: 1rem 1.3rem; }
.drawer-total { display: flex; justify-content: space-between; margin-bottom: 0.8rem; }
.drawer-foot .btn { width: 100%; margin-top: 0.45rem; }
.mini-line { display: grid; grid-template-columns: 72px 1fr; gap: 0.75rem; margin-bottom: 1rem; }
.mini-line img { width: 72px; height: 90px; object-fit: cover; background: var(--cream); }
.mini-line strong { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.search-modal {
  position: fixed; inset: 0; background: rgba(28,24,20,0.4);
  display: none; place-items: start center; padding-top: 12vh; z-index: 70;
}
.search-modal.open { display: grid; }
.search-panel { width: min(640px, calc(100% - 2rem)); background: var(--paper); padding: 1.2rem; }
.search-panel input { width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 0.7rem 0; font-size: 1.15rem; outline: none; }
.search-hit { display: grid; grid-template-columns: 56px 1fr; gap: 0.8rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.search-hit img { width: 56px; height: 70px; object-fit: cover; }
.search-hit em { font-style: normal; color: var(--muted); display: block; }
.toast {
  position: fixed; bottom: 1.4rem; left: 50%; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 0.7rem 1.2rem;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0; pointer-events: none; transition: 0.3s; z-index: 80;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Colour chips */
.chips { display: flex; gap: 0.45rem; justify-content: center; margin: 1.2rem 0 0; }
.chip { width: 14px; height: 14px; border-radius: 50%; }
.chip.b { background: var(--blush); }
.chip.s { background: var(--sage); }
.chip.m { background: var(--mustard); }
.chip.t { background: var(--terra); }

/* Mobile */
@media (max-width: 960px) {
  .header-inner { grid-template-columns: 48px 1fr 96px; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0.9rem 1.5rem 1.4rem;
    gap: 0.15rem;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
    z-index: 55;
    box-shadow: 0 22px 40px rgba(40, 30, 20, 0.08);
    border-bottom: 1px solid rgba(232, 223, 214, 0.65);
  }
  .main-nav a {
    font-size: 0.82rem;
    padding: 0.55rem 0.35rem 0.65rem;
  }
  body.nav-open .main-nav {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  body.nav-open .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.28);
    z-index: 35;
  }
  .product-grid, .post-grid, .websites-tiers, .footer-grid { grid-template-columns: 1fr 1fr; }
  .trio {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    padding: 1.8rem 0 2.2rem;
  }
  .trio-card {
    aspect-ratio: 1;
    border-radius: 50%;
  }
  .trio-cap { padding: 0.6rem 0.4rem 0.9rem; }
  .trio-cap strong { font-size: 0.92rem; }
  .trio-cap em { font-size: 0.52rem; letter-spacing: 0.12em; }
  .trio-cap strong::after { width: 18px; margin-top: 0.3rem; }
  .about-split, .newsletter, .product-layout, .cart-layout, .check-grid, .contact-grid { grid-template-columns: 1fr; }
  .newsletter { background: var(--blush-soft); }
  .newsletter-photo {
    padding: 1.8rem 1.4rem 0;
    justify-content: center;
  }
  .newsletter-photo .torn-frame { width: 78%; }
  .feature-grid { column-count: 2; }
  .product-grid.compact { column-count: 2; }
  .about-copy, .newsletter-copy { padding: 2.6rem 1.6rem; }

.coupon-box { margin-top: 1.1rem; text-align: left; }
.coupon-box label {
  display: block; font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 0.35rem;
}
.coupon-row { display: flex; gap: 0.4rem; }
.coupon-row input { flex: 1; border: 1px solid var(--line); background: #fff; padding: 0.65rem 0.7rem; }
.coupon-line { color: var(--sage-deep); }
.coupon-line strong { color: var(--sage-deep); }
  .logo img { height: 68px; }
}
@media (max-width: 640px) {
  .product-grid, .post-grid, .websites-tiers, .footer-grid, .split-list, .two { grid-template-columns: 1fr; }
  .trio { grid-template-columns: repeat(3, 1fr); }
  .trio-wrap { width: min(1180px, calc(100% - 1.4rem)); }
  .trio-cap strong { font-size: 0.78rem; }
  .feature-grid { column-count: 1; }
  .product-grid.compact { column-count: 1; }
  .hero { height: 78vh; }
  .cart-row { grid-template-columns: 80px 1fr; }
  .cart-row .qty, .cart-row > strong { justify-self: start; }
  .wrap { width: min(1180px, calc(100% - 1.6rem)); }
}
