/* Sundae Works: Jan's selected 26 Oct visual direction.
   This stylesheet layers on the complete existing production pages. */
@font-face { font-family: "SW Playfair"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/playfair-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "SW Playfair"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/playfair-display-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "SW Playfair"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/playfair-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "SW Playfair"; font-style: normal; font-weight: 900; font-display: swap; src: url("fonts/playfair-display-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "SW Playfair"; font-style: italic; font-weight: 900; font-display: swap; src: url("fonts/playfair-display-latin-900-italic.woff2") format("woff2"); }

:root {
  --cream: #faf6e7;
  --paper: #fffcf4;
  --shop-sand: #faf6e7;
  --espresso: #38201a;
  --espresso-soft: #62534b;
  --green: #489179;
  --green-dark: #235f4e;
  --coral: #f2654a;
  --coral-dark: #c64e38;
  --caramel: #9a6432;
  --muted: #71665d;
  --line: #d8cbbb;
  --serif: "SW Playfair", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --max: 1240px;
  --sw-rail: 36px;
}
html { scroll-padding-top: 112px; }
body {
  position: relative;
  min-width: 280px;
  padding-right: var(--sw-rail);
  background: #fffcf4;
  color: var(--espresso);
  font-family: var(--sans);
}
body::before { display: none; }
/* Repeats the selected three/four-colour diagonal brand rhythm down the full document. */
body::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: var(--sw-rail);
  pointer-events: none;
  z-index: 75;
  background: repeating-linear-gradient(135deg,
    var(--coral) 0 29px, #fffcf4 29px 39px,
    var(--caramel) 39px 68px, #fffcf4 68px 78px,
    var(--espresso) 78px 107px, #fffcf4 107px 117px,
    var(--green) 117px 146px, #fffcf4 146px 156px);
}
.wrap { width: min(calc(100% - 80px), var(--max)); min-width: 0; }
.site-header { border: 0; background: rgba(255,252,244,.97); backdrop-filter: blur(12px); }
.header-inner { min-height: 108px; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { gap: 14px; flex: 0 0 auto; }
/* Crop only transparent canvas around the byte-identical approved compact logo. */
.sw-brand-image { position: relative; display: block; width: 292px; aspect-ratio: 3640 / 850; overflow: hidden; }
.sw-brand-image img { position: absolute; left: -4.6154%; top: -32.5882%; width: 112.5275%; max-width: none; height: auto; }
.sw-labs-label { align-self: flex-end; margin-bottom: 7px; color: var(--green-dark); font-size: .7rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.nav { gap: 28px; }
.nav > a:not(.button) { font-size: .88rem; font-weight: 600; }
.button, .button.secondary, .button:active {
  min-height: 58px;
  padding: 16px 25px;
  border: 1px solid var(--espresso);
  border-radius: 999px;
  color: #fffcf4;
  background: var(--espresso);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.25;
  box-shadow: none;
}
.button::after { display: none; }
.button:hover { outline: 0; background: #50372d; transform: translateY(-2px); box-shadow: 0 5px 14px rgba(56,32,26,.1); }
.button.secondary { color: var(--espresso); border-color: #cfc4b3; background: #eee8db; }
.button.secondary:hover { color: var(--espresso); background: #e6dece; }
.button.small { min-height: 48px; padding: 12px 20px; }
.nav > .button { min-height: 48px; padding: 12px 24px; border-color: var(--green-dark); background: var(--green-dark); font-size: .92rem; }
.sw-button-icon { width: 22px; height: 22px; flex: 0 0 22px; }
.button:not(.secondary) .sw-button-icon { filter: invert(1); }
.eyebrow { margin-bottom: 24px; color: var(--coral-dark); font-size: .73rem; letter-spacing: .18em; font-weight: 750; }
.eyebrow::before {
  width: 48px;
  height: 15px;
  flex: 0 0 48px;
  background: url("sundae-works-original-accent.png") center / 68px auto no-repeat;
  transform: none;
}
h1, h2, h3 { letter-spacing: -.045em; font-weight: 900; }
.serif-italic { color: var(--espresso); font-weight: 900; }
.section { padding: 84px 0; }
.section-head { gap: 28px; margin-bottom: 30px; }
.sw-shop .hero { padding: 28px 0 26px; }
.sw-shop .hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 38px; align-items: center; }
.sw-shop .sw-shop-title { max-width: none; margin-bottom: 24px; font-size: clamp(3.3rem,6.6vw,6.25rem); line-height: 1.02; }
.sw-shop .sw-shop-title .serif-italic { color: #235f4e; white-space: nowrap; }
.sw-shop .hero-lead { margin-bottom: 28px; font-size: clamp(1rem,1.55vw,1.26rem); line-height: 1.5; }
.sw-shop .hero-actions { flex-wrap: nowrap; gap: 14px; }
.sw-shop .hero-actions .button { padding-inline: 23px; white-space: nowrap; }
.sw-shop .maker-facts { display: none; }
.sw-shop .hero-visual { width: 100%; max-width: none; justify-self: stretch; }
.sw-shop .hero-visual::before { display: none; }
.sw-shop .hero-figure { margin: 0; border: 0; border-radius: 18px; outline: 0; transform: none; background: #eee8db; }
.sw-shop .hero-product-image { aspect-ratio: 1 / 1; background-image: url("pegboard-photo.png"); background-size: cover; background-position: center 52%; }
.sw-shop .hero-figure figcaption { display: none; }
.sw-shop .trust-row { border: 0; background: transparent; padding: 0 0 20px; }
.sw-shop .trust-grid { grid-template-columns: repeat(3,minmax(0,1fr)); padding: 20px 8px; border-radius: 22px; background: #f4efe3; }
.sw-shop .trust-item { display: flex; align-items: center; gap: 22px; padding: 8px 26px; border-right: 1px solid #cebfaa; }
.sw-shop .trust-item:last-child { border-right: 0; }
.sw-trust-icon { width: 58px; height: 58px; flex: 0 0 58px; opacity: .91; }
.sw-shop .trust-item strong { margin-bottom: 4px; font-size: clamp(1rem,1.5vw,1.3rem); line-height: 1.25; font-weight: 900; }
.sw-shop .trust-item span { font-size: .95rem; line-height: 1.5; color: var(--espresso-soft); }
.sw-shop .products { padding-top: 8px; background: transparent; }
.sw-shop .products .section-head { grid-template-columns: 1fr; gap: 12px; }
.sw-shop .products .section-head .eyebrow { margin-bottom: 12px; }
.sw-shop .products .section-head h2 { font-size: clamp(2.7rem,6.2vw,5.5rem); }
.sw-shop .section-intro { max-width: 800px; font-size: .95rem; }
.sw-shop .product-grid { gap: 20px; align-items: stretch; }
.sw-shop .product-card, .sw-shop .product-card:nth-child(even) {
  padding: 16px;
  border: 0;
  border-radius: 23px;
  background: #f6f1e5;
  overflow: hidden;
}
.sw-shop .product-card:hover { outline: 1px solid #bcab94; outline-offset: 1px; border-radius: 23px; transform: translateY(-3px); }
.sw-shop .product-image { width: 100%; aspect-ratio: 1.25 / 1; border: 0; border-radius: 13px; background-color: #faf6e7; background-size: contain; }
.sw-shop .product-image.asset-product-1 { background-image: url("pegboard-photo.png"); background-size: cover; background-position: center 30%; }
.sw-shop .product-image.asset-product-2 { background-size: 112% auto; background-position: center 30%; }
.sw-shop .sw-product-media { position: relative; width: 100%; aspect-ratio: 1.25 / 1; overflow: hidden; border-radius: 13px; background: #faf6e7; }
.sw-shop .sw-product-media > img.product-image { position: absolute; top: -12%; left: -6%; width: 112%; max-width: none; height: auto !important; aspect-ratio: auto; border: 0; border-radius: 0; }
.sw-shop .product-grid > .product-card:nth-child(n+4) .product-image { aspect-ratio: 1 / 1; }
.sw-shop .product-body { min-height: 0; gap: 8px; padding: 14px 8px 0; }
.sw-shop .product-tag { color: #795e46; font-size: .63rem; }
.sw-shop .product-card h3 { font-size: clamp(1.2rem,1.95vw,1.75rem); line-height: 1.12; }
.sw-shop .product-card p { font-size: .96rem; line-height: 1.45; }
.sw-shop .product-link { margin-top: 7px; padding: 9px 0 6px; border-top: 0; color: var(--coral-dark); font-size: .91rem; font-weight: 650; text-decoration: underline; text-underline-offset: 8px; }
.sw-shop .all-products, .sw-shop .plain-note, .sw-shop .process-board, .sw-shop .about-card, .sw-shop .labs-card {
  border: 1px solid #dfd3c0; border-radius: 24px; outline: 0; background: #f8f3e8; color: var(--espresso);
}
.sw-shop .process-head { color: var(--espresso); background: #eee6d8; }
.sw-shop .process-copy h2 .serif-italic, .sw-shop .about .serif-italic, .sw-shop .labs .serif-italic { color: var(--espresso); }
.sw-shop .about { color: var(--espresso); background: #f2ede2; }
.sw-shop .about h2, .sw-shop .about p, .sw-shop .about-card h3, .sw-shop .about-list li { color: var(--espresso); }
.sw-shop .about .eyebrow { color: #795e46; }
.sw-shop .about .button.secondary { color: var(--espresso); border-color: #cfc4b3; background: #e9e1d3; }
.sw-shop .labs { background: #fffcf4; }
.sw-shop .labs-card strong, .sw-shop .labs-card small, .sw-shop .labs-card p { color: var(--espresso); }
.partner-link, .partner-link:nth-child(even) { border-color: #dfd3c0; border-radius: 24px; background: #f8f3e8; }
.partner-link:hover { border-radius: 24px; }
.sw-choice-guide { margin-top: 44px; padding: 28px; border: 1px solid #dfd3c0; border-radius: 26px; background: #f3eee3; }
.sw-choice-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 20px; }
.sw-choice-title .eyebrow { margin: 0; }
.sw-choice-title h3 { margin: 0; font-size: 1.7rem; }
.sw-choice-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.sw-choice-links a { display: grid; align-content: start; gap: 7px; min-width: 0; padding: 20px; border-radius: 20px; color: var(--espresso); background: #fffcf4; text-decoration: none; transition: transform 180ms ease, background 180ms ease; }
.sw-choice-links a:hover { transform: translateY(-2px); background: #e9e3d6; }
.sw-choice-links span { color: #795e46; font-size: .74rem; font-weight: 700; }
.sw-choice-links strong { font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; }
.sw-choice-links small { color: var(--muted); font-size: .81rem; line-height: 1.45; }
.sw-choice-guide > p { max-width: 850px; margin: 20px 0 0; font-size: .82rem; color: var(--muted); }
.sw-package-paths { border-top-color: #cebfaa !important; }
.sw-package-card { border: 1px solid #dfd3c0 !important; border-radius: 23px !important; background: #faf7ee !important; }
.sw-package-card:hover { outline: 1px solid #bcab94; }
.sw-collections { background: #f4efe4; }
.sw-collections h2 { font-size: clamp(2rem,4vw,3.4rem); }
.sw-collection-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.sw-collection-links a { display: grid; gap: 6px; padding: 24px; border: 1px solid #d8cbbb; border-radius: 22px; color: var(--espresso); background: #fffcf4; text-decoration: none; transition: transform 180ms ease, background 180ms ease; }
.sw-collection-links a:hover { transform: translateY(-2px); background: #e9e3d6; }
.sw-collection-links strong { font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; }
.sw-collection-links span { color: var(--muted); font-size: .9rem; }
/* Labs keeps its tool-oriented copy, sections, forms, IDs and scripts. */
.sw-labs .announcement { color: var(--espresso); background: #f2ede1; }
.sw-labs .hero { padding-top: 58px; }
.sw-labs .workbench { border: 1px solid #d8cbbb; border-radius: 26px; outline: 0; box-shadow: none; background: #f7f2e7; }
.sw-labs .signal-note { border-color: #d8cbbb; border-radius: 24px; background: #f3eee3; }
.sw-labs .product-card, .sw-labs .product-card:nth-child(even), .sw-labs .product-card.dark { color: var(--espresso); border: 1px solid #dfd3c0; border-radius: 25px; background: #f5f0e5; }
.sw-labs .product-card.dark h3, .sw-labs .product-card.dark p, .sw-labs .product-card.dark .product-price, .sw-labs .product-card.dark li, .sw-labs .product-card.dark .product-context { color: var(--espresso); }
.sw-labs .shop-product, .sw-labs .shop-product:nth-child(even), .sw-labs .maker-card { border: 1px solid #dfd3c0; border-radius: 24px; background: #f8f3e8; }
.sw-labs .brand-band { background: #eae4d7; color: var(--espresso); }
footer { background: var(--espresso); }

@media (max-width: 1160px) {
  .sw-shop .hero-actions { flex-wrap: wrap; }
  .sw-shop .hero-actions .button { min-height: 52px; padding: 14px 19px; font-size: .94rem; }
  .sw-shop .trust-item { gap: 14px; padding-inline: 18px; }
  .sw-trust-icon { width: 45px; height: 45px; flex-basis: 45px; }
  .sw-shop .trust-item span { font-size: .85rem; }
  .nav { gap: 20px; }
  .sw-brand-image { width: 260px; }
  .sw-choice-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 940px) {
  :root { --sw-rail: 24px; }
  .wrap { width: min(calc(100% - 48px), var(--max)); }
  .header-inner { min-height: 96px; }
  .sw-brand-image { width: 240px; }
  .nav { gap: 16px; }
  .sw-shop .hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; }
  .sw-shop .sw-shop-title { font-size: clamp(2.9rem,6.5vw,4.6rem); }
  .sw-shop .hero-lead { font-size: 1rem; }
  .sw-shop .trust-item { gap: 12px; padding-inline: 12px; }
  .sw-shop .trust-item strong { font-size: 1rem; }
  .sw-trust-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .sw-shop .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sw-shop .product-grid > .product-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 10px); }
  .sw-shop .process-grid, .sw-shop .about-grid, .sw-shop .labs-grid { grid-template-columns: minmax(0,1fr); }
  .sw-shop .about-card { max-width: none; }
}
@media (max-width: 760px) {
  :root { --sw-rail: 12px; }
  html { scroll-padding-top: 88px; }
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 86px; gap: 12px; }
  .sw-brand-image { width: clamp(156px,40vw,220px); }
  .brand { gap: 7px; }
  .sw-labs-label { margin-bottom: 1px; font-size: .6rem; }
  .nav { gap: 10px; }
  .nav > a:not(.button) { display: none; }
  .nav > a[href="/"], .nav > a[href="/shop/"] { display: inline-flex; font-size: .78rem; }
  .nav > .button { min-height: 44px; padding: 11px 16px; font-size: .82rem; }
  .sw-shop .hero { padding: 32px 0 24px; }
  .sw-shop .hero-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .sw-shop .sw-shop-title { font-size: clamp(2.75rem,10.4vw,4.8rem); margin-bottom: 20px; }
  .sw-shop .hero-lead { max-width: 560px; margin-bottom: 24px; font-size: 1.05rem; }
  .sw-shop .hero-actions { display: flex; flex-wrap: wrap; }
  .sw-shop .hero-actions .button { width: auto; min-height: 53px; padding-inline: 20px; }
  .sw-shop .hero-visual { width: 100%; }
  .sw-shop .hero-product-image { aspect-ratio: 1.15 / 1; }
  .sw-shop .trust-grid { grid-template-columns: minmax(0,1fr); padding: 8px 20px; border-radius: 22px; }
  .sw-shop .trust-item, .sw-shop .trust-item:nth-child(-n+2) { gap: 20px; padding: 18px 0; border-right: 0; border-bottom: 1px solid #d8cbbb; }
  .sw-shop .trust-item:last-child { border-bottom: 0; }
  .sw-trust-icon { width: 42px; height: 42px; flex-basis: 42px; }
  .sw-shop .trust-item strong { font-size: 1.16rem; }
  .sw-shop .trust-item span { font-size: .94rem; }
  .sw-shop .trust-item br { display: none; }
  .section { padding: 58px 0; }
  .sw-shop .products { padding-top: 14px; }
  .sw-shop .products .section-head h2 { font-size: clamp(2.35rem,8.8vw,3.4rem); }
  .sw-shop .product-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .sw-shop .product-grid > .product-card:last-child { grid-column: auto; max-width: none; }
  .sw-shop .product-card { padding: 14px; }
  .sw-shop .product-card h3 { font-size: 1.5rem; }
  .sw-shop .product-body { padding-inline: 5px; }
  .sw-shop .all-products { flex-direction: column; align-items: stretch; padding: 22px; gap: 18px; }
  .sw-choice-guide { padding: 22px 18px; }
  .sw-choice-links { grid-template-columns: minmax(0,1fr); }
  .sw-choice-links a { padding: 18px; }
  .sw-collection-links { grid-template-columns: minmax(0,1fr); }
  .sw-shop .process-board { min-width: 0; }
  .sw-labs .hero { padding-top: 38px; }
}
@media (max-width: 400px) {
  .wrap { width: calc(100% - 28px); }
  .nav > a[href="/"], .nav > a[href="/shop/"] { display: none; }
  .sw-brand-image { width: 166px; }
  .sw-shop .hero-actions { display: grid; grid-template-columns: minmax(0,1fr); }
  .sw-shop .hero-actions .button { width: 100%; }
  .sw-labs .sw-brand-image { width: 148px; }
  .sw-labs-label { display: none; }
  .sw-shop .sw-shop-title { font-size: 10.5vw; }
}
@media (max-width: 340px) {
  .sw-brand-image { width: 145px; }
  .nav > .button { padding-inline: 10px; font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sw-choice-links a, .sw-collection-links a { transition: none; }
}

/* R4: selected two-photo story and straight 45-degree finishing. */
/* Equal four-bar accents replace the padded PNG and both older specific gradients. */
.eyebrow::before,
.about .eyebrow::before,
.principle .eyebrow::before {
  content: "";
  width: 66px;
  height: 12px;
  flex: 0 0 66px;
  background: linear-gradient(90deg,
    #f2654a 0 12px, transparent 12px 18px,
    #9a6432 18px 30px, transparent 30px 36px,
    #38201a 36px 48px, transparent 48px 54px,
    #489179 54px 66px);
  background-repeat: no-repeat;
  background-size: 66px 12px;
  background-position: 0 0;
  transform: skewX(-22deg);
  box-shadow: none;
  clip-path: none;
  border: 0;
  opacity: 1;
}
.eyebrow { gap: 15px; }
.mini-stripes { gap: 6px; padding: 7px 10px; background: #faf6e7; }
.mini-stripes i { width: 12px; height: 12px; }
.mini-stripes i:nth-child(1) { background: #f2654a; }
.mini-stripes i:nth-child(2) { background: #9a6432; }
.mini-stripes i:nth-child(3) { background: #38201a; }
.mini-stripes i:nth-child(4) { background: #489179; }

/* Only the background is chamfered. The real button stays unclipped for keyboard focus. */
.button, .button:active, .nav > .button,
.sw-shop .about .button, .sw-shop .hero-actions .button {
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 999px 0 0 999px;
  padding: 18px 46px 18px 27px;
  min-height: 58px;
  max-width: 100%;
  min-width: 0;
  color: #fffcf4;
  background: transparent;
  box-shadow: none;
  clip-path: none;
  font-weight: 650;
  white-space: normal;
}
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px 0 0 999px;
  background: #38201a;
  clip-path: polygon(0 0,100% 0,calc(100% - 32px) 100%,0 100%);
  transition: background 180ms ease;
}
.button::after {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 0;
  border-radius: 0;
  background: url("icons/arrow-right.svg") center / 22px 22px no-repeat;
  filter: invert(1);
  transform: none;
}
.button:hover, .nav > .button:hover { background: transparent; box-shadow: none; outline: 0; }
.button:hover::before { background: #50372d; }
.button:hover::after { transform: none; }
.button .sw-button-icon { display: none; }
.sw-labs .button:not(.secondary) { color: #fffcf4; background: transparent; border-color: transparent; }
.quick-signup .button { padding-inline: 24px 44px; }
.button:focus-visible { outline: 3px solid #489179; outline-offset: 5px; }
.button.secondary,
.sw-shop .about .button.secondary,
.sw-shop .hero-actions .button.secondary {
  min-height: 44px;
  padding: 7px 0;
  border: 0;
  border-radius: 0;
  color: #38201a;
  background: transparent;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  justify-content: flex-start;
}
.button.secondary:hover, .sw-shop .about .button.secondary:hover { color: #235f4e; background: transparent; box-shadow: none; }
.button.secondary::before, .button.secondary::after { display: none; }
.nav > .button { min-height: 48px; padding: 13px 38px 13px 22px; font-size: .88rem; }
.button.small { min-height: 48px; padding: 13px 39px 13px 22px; }

.sw-shop .sw-story { padding: 64px 0; }
.sw-shop .sw-story-workshop { background: #fffcf4; }
.sw-shop .sw-story-about { background: #faf6e7; }
.sw-story-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(32px,5vw,68px); }
.sw-story-photo { --sw-photo-cut: 56px; position: relative; min-width: 0; margin: 0; border: 0; border-radius: 0; transform: none; background: #eae3d8; }
.sw-story-photo img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; border: 0; border-radius: 0; transform: none; }
.sw-story-detail { clip-path: polygon(0 0,calc(100% - var(--sw-photo-cut)) 0,100% var(--sw-photo-cut),100% 100%,var(--sw-photo-cut) 100%,0 calc(100% - var(--sw-photo-cut))); }
.sw-story-application { clip-path: polygon(var(--sw-photo-cut) 0,100% 0,100% calc(100% - var(--sw-photo-cut)),calc(100% - var(--sw-photo-cut)) 100%,0 100%,0 var(--sw-photo-cut)); }
.sw-story-photo figcaption { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.sw-story-copy { min-width: 0; }
.sw-shop .sw-story h2 { margin: 0 0 26px; font-size: clamp(2.6rem,5.4vw,5.1rem); line-height: 1.04; }
.sw-shop .sw-story h2 .serif-italic { color: #235f4e; }
.sw-shop .sw-story-copy > p:not(.eyebrow) { margin-bottom: 20px; color: #62534b; font-size: clamp(1rem,1.5vw,1.2rem); line-height: 1.55; }
.sw-story-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 26px; margin-top: 30px; }
.sw-story-instagram { display: inline-block; margin-top: 18px; color: #62534b; font-size: .85rem; text-underline-offset: 4px; }
@media (max-width: 940px) {
  .sw-story-grid { gap: 30px; }
  .sw-story-photo { --sw-photo-cut: 40px; }
  .sw-shop .sw-story h2 { font-size: clamp(2.4rem,5vw,3.6rem); }
}
@media (max-width: 760px) {
  .sw-shop .sw-story { padding: 44px 0; }
  .sw-story-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .sw-story-photo { --sw-photo-cut: 32px; }
  .sw-shop .sw-story h2 { font-size: clamp(2.5rem,9.5vw,3.6rem); }
  .sw-shop .sw-story-copy > p:not(.eyebrow) { font-size: 1.03rem; }
  .sw-shop .hero-actions .button { padding: 16px 39px 16px 23px; }
  .sw-shop .hero-actions .button.secondary { padding: 7px 0; width: auto; }
  .nav > .button { min-height: 44px; padding: 12px 30px 12px 18px; font-size: .8rem; }
  .nav > .button::after { width: 18px; height: 18px; flex-basis: 18px; background-size: 18px 18px; }
}
@media (max-width: 400px) {
  .nav > .button { padding: 12px 28px 12px 18px; }
  .nav > .button::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .button::before { transition: none; } }

/* Hide the two legacy decorative spans; the shared Phosphor arrow remains. */
.sw-labs .button > span[aria-hidden="true"] { display: none; }

/* R5: narrow, Labs-only corrections from the real desktop and mobile audit. */
.sw-labs .demo-job[hidden] { display: none; }
.sw-labs .signal-note {
  grid-template-columns: minmax(110px,.18fr) minmax(0,1fr);
  align-items: center;
  gap: 10px 24px;
  max-width: none;
  margin: 0 0 32px;
  padding: 18px 22px;
  border: 1px solid #dfd3c0;
  border-radius: 24px;
}
.sw-labs .signal-note > * { min-width: 0; }

.sw-labs .product-action { gap: 16px; align-items: center; }
.sw-labs .product-action > .button {
  flex: 0 0 auto;
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 39px 12px 22px;
  white-space: nowrap;
  line-height: 1.2;
}
.sw-labs .product-card.narrow .product-action { flex-direction: column; align-items: stretch; }
.sw-labs .product-card.narrow .product-context { max-width: none; }

.sw-labs .quick-signup,
.sw-labs .demo-shell,
.sw-labs .interest-form,
.sw-labs .shop-card {
  border: 1px solid #d8cbbb;
  border-radius: 24px;
  outline: 0;
  outline-offset: 0;
  box-shadow: none;
}
.sw-labs .quick-signup { padding: 20px; gap: 12px; }
.sw-labs .quick-signup-head { flex-wrap: wrap; gap: 6px 12px; }
.sw-labs .quick-signup-row { gap: 12px; }
.sw-labs .demo-shell,
.sw-labs .interest-form { overflow: hidden; }
.sw-labs .demo-shell .demo-bar,
.sw-labs .interest-form .form-head { border-radius: 23px 23px 0 0; }
.sw-labs .quick-signup input[type="email"],
.sw-labs input[type="text"],
.sw-labs input[type="email"],
.sw-labs select,
.sw-labs textarea {
  min-width: 0;
  max-width: 100%;
  border: 1px solid #a89782;
  border-radius: 14px;
}
.sw-labs .intent-option label,
.sw-labs .intent-option input:checked + label { border-width: 1px; border-radius: 14px; }
.sw-labs textarea { min-height: 140px; padding: 14px 16px; line-height: 1.5; resize: vertical; }

.sw-labs .workbench { overflow: visible; }
.sw-labs .workbench-top { border-radius: 25px 25px 0 0; }
.sw-labs .workbench-footer { border-radius: 0 0 25px 25px; }

/* Same positions and dimensions; the dark third bar reverses to cream on espresso. */
.sw-labs #prinzip .eyebrow::before {
  background: linear-gradient(90deg,
    #f2654a 0 12px, transparent 12px 18px,
    #d0a05e 18px 30px, transparent 30px 36px,
    #faf6e7 36px 48px, transparent 48px 54px,
    #83c2ad 54px 66px);
  background-repeat: no-repeat;
  background-size: 66px 12px;
  background-position: 0 0;
}
@media (max-width: 980px) {
  .sw-labs .product-action { flex-direction: column; align-items: stretch; }
  .sw-labs .product-context { max-width: none; }
}
@media (max-width: 760px) {
  .sw-labs .signal-note { grid-template-columns: minmax(0,1fr); gap: 7px; padding: 18px; }
  .sw-labs .quick-signup { padding: 18px; }
  .sw-labs textarea { min-height: 180px; }
}

/* R6: keep complete prices and give only the tablet Labs header sufficient room. */
.sw-labs .product-price { white-space: nowrap; flex-shrink: 0; }
.sw-labs .product-top { flex-wrap: wrap; }
@media (min-width: 761px) and (max-width: 980px) {
  .sw-labs .product-top {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
  }
  .sw-labs .product-status { white-space: nowrap; }
  .sw-labs .header-inner { gap: 16px; }
  .sw-labs .sw-brand-image { width: 210px; }
  .sw-labs .sw-labs-label { display: none; }
  .sw-labs .nav { gap: 16px; }
  .sw-labs .nav > a { white-space: nowrap; flex-shrink: 0; }
  .sw-labs .nav > .button { white-space: nowrap; }
}
@media (max-width: 600px) {
  .sw-labs .nav > a:not(.button) { display: none; }
  .sw-labs .sw-labs-label { display: none; }
  .sw-labs .nav > .button { min-height: 44px; padding: 12px 16px; font-size: .75rem; white-space: nowrap; gap: 0; }
  .sw-labs .nav > .button::after { display: none; }
}
@media (max-width: 360px) {
  .sw-labs .sw-brand-image { width: 132px; }
}

/* R7: the remaining narrow Labs feature-list and header-clearance corrections. */
@media (max-width: 980px) {
  .sw-labs .feature-list { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 600px) {
  .sw-labs .nav > .button { padding: 12px 26px 12px 14px; }
}
@media (max-width: 360px) {
  .sw-labs .sw-brand-image { width: 116px; }
}
