:root {
  --ink: #082447;
  --ink-soft: #173354;
  --blue: #075ee8;
  --blue-dark: #033a87;
  --coral: #ff5148;
  --coral-dark: #d93632;
  --mint: #38bfa8;
  --lavender: #d9ccff;
  --cream: #fbf7ef;
  --surface: #ffffff;
  --soft: #f6f8fb;
  --line: #dfe5ee;
  --muted: #66748a;
  --shadow: 0 16px 40px rgba(8, 36, 71, .12);
  --tight-shadow: 0 8px 22px rgba(8, 36, 71, .1);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.promo-bar {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #fff;
  background: linear-gradient(90deg, #075ee8, #0146c6);
  font-size: 14px;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 76px;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  color: var(--ink);
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.desktop-nav a,
.plain-link {
  color: var(--ink-soft);
}

.desktop-nav a:hover,
.plain-link:hover,
.text-button:hover {
  color: var(--blue);
}

.search-box {
  width: 270px;
  margin-left: auto;
  position: relative;
  flex: 0 1 270px;
}

.search-box svg {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  fill: #44546a;
}

.search-box input {
  width: 100%;
  height: 40px;
  border: 1px solid #cfd7e2;
  border-radius: 8px;
  padding: 0 14px 0 42px;
  color: var(--ink);
  background: #fafafa;
  outline: none;
}

.search-box input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 94, 232, .12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  font-weight: 700;
}

.icon-text,
.cart-button,
.menu-button,
.icon-only {
  border: 0;
  background: transparent;
  color: var(--ink);
}

.icon-text {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  font-weight: 700;
}

.icon-text svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.cart-button,
.menu-button,
.icon-only {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
}

.cart-button {
  position: relative;
}

.cart-button:hover,
.menu-button:hover,
.icon-only:hover {
  background: var(--soft);
}

.cart-button svg,
.menu-button svg,
.icon-only svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.cart-count {
  position: absolute;
  top: 0;
  right: -2px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.menu-button {
  display: none;
}

.mobile-nav {
  width: min(100% - 40px, var(--max));
  margin: 0 auto 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mobile-nav a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  background: var(--soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 1.25fr);
  min-height: 548px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 12% 18%, #fff7e8 0, transparent 28%), #fff;
}

.hero-copy {
  max-width: 510px;
  justify-self: end;
  padding: 82px 72px 70px 40px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.file-copy h2,
.sample-content h2,
.loved-section h2,
.faq-section h2,
.cta-section h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.02;
  font-weight: 900;
}

.hero h1 {
  font-size: 60px;
}

.hero-text {
  margin: 28px 0 30px;
  color: var(--ink-soft);
  font-size: 19px;
}

.hero-actions,
.cta-actions,
.modal-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 26px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 20px rgba(7, 94, 232, .2);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  border-color: var(--ink);
  color: var(--ink);
  background: #fff;
}

.button.secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.button.coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 81, 72, .24);
}

.button.coral:hover {
  background: var(--coral-dark);
}

.button.full {
  width: 100%;
}

.rating-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 34px;
  color: var(--ink-soft);
  font-size: 18px;
}

.rating-line span:nth-child(2),
.review-grid article div {
  color: var(--coral);
}

.hero-media {
  position: relative;
  min-height: 548px;
  overflow: hidden;
  background: #f1e6d7;
}

.hero-media > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 548px;
  object-fit: cover;
  object-position: center;
}

.quote-card {
  position: absolute;
  top: 68px;
  right: max(28px, calc((100vw - var(--max)) / 2));
  width: 240px;
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(255, 255, 255, .8);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.quote-card h2 {
  margin: 0 0 18px;
  font-size: 21px;
  line-height: 1.1;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

input,
select {
  min-height: 44px;
  width: 100%;
  border: 1px solid #d5dde8;
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 19px,
    calc(100% - 12px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

input:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 94, 232, .12);
}

.quote-card label + label {
  margin-top: 14px;
}

.quote-card .button {
  margin-top: 22px;
  min-height: 48px;
}

.trust-strip {
  min-height: 78px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.trust-strip div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.trust-strip svg {
  width: 33px;
  height: 33px;
  fill: none;
  stroke: var(--ink);
  stroke-width: .1;
}

.trust-strip svg path {
  fill: var(--ink);
}

.section {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 54px 0;
}

#products,
#upload,
#tools,
#sample-pack {
  scroll-margin-top: 150px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section h2,
.file-copy h2,
.sample-content h2,
.loved-section h2,
.faq-section h2,
.cta-section h2 {
  font-size: 38px;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  color: var(--blue);
  background: transparent;
  font-weight: 900;
}

.text-button svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: -8px 0 24px;
}

.category-tabs button {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--ink-soft);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
}

.category-tabs button[aria-pressed="true"] {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  min-height: 410px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 36, 71, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: #c7d4e5;
  box-shadow: var(--tight-shadow);
}

.product-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  background: var(--soft);
  transition: transform .35s ease;
}

.product-card:hover img {
  transform: scale(1.018);
}

.product-grid.category-collection {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card {
  display: flex;
  min-height: 432px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d8d1c5;
  border-radius: 4px;
  background: #fffdf8;
  box-shadow: 0 12px 34px rgba(7, 26, 47, .06);
}

.category-card img {
  display: block;
  width: 100%;
  height: 228px;
  object-fit: cover;
  background: #e9e2d7;
}

.category-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 24px 24px;
}

.category-card-body p {
  margin: 0 0 8px;
  color: #96742f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.category-card-body h3 {
  margin: 0 0 9px;
  font-family: Baskerville, "Palatino Linotype", Georgia, serif;
  font-size: 25px;
  line-height: 1.08;
}

.category-card-body > span {
  color: #566273;
  font-size: 14px;
  line-height: 1.5;
}

.category-card .text-button {
  margin-top: auto;
  padding-top: 18px;
}

.product-card-body {
  padding: 22px;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.15;
}

.product-card p {
  min-height: 48px;
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 14px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.product-card-footer strong {
  color: var(--ink);
  font-size: 15px;
}

.file-flow {
  width: min(100% - 40px, var(--max));
  margin: 22px auto 0;
  min-height: 270px;
  display: grid;
  grid-template-columns: .95fr 1.45fr;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(100deg, #ff4f45 0 34%, #e2d0ff 34% 100%);
}

.upload-preview {
  position: relative;
  min-height: 270px;
  display: grid;
  place-items: center;
  padding: 28px;
}

.upload-preview::before {
  content: "";
  position: absolute;
  left: 26px;
  bottom: 20px;
  width: 95px;
  height: 95px;
  background:
    radial-gradient(circle at 45px 6px, #075ee8 0 5px, transparent 6px),
    radial-gradient(circle at 76px 15px, #075ee8 0 5px, transparent 6px),
    radial-gradient(circle at 31px 35px, #075ee8 0 5px, transparent 6px),
    radial-gradient(circle at 64px 50px, #075ee8 0 5px, transparent 6px);
}

.upload-window {
  position: relative;
  z-index: 1;
  width: min(280px, 100%);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.window-dots {
  display: flex;
  gap: 5px;
  padding: 2px 0 10px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d6dbe4;
}

.drop-zone {
  min-height: 132px;
  place-items: center;
  border: 2px dashed #c7d1df;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  background: #fbfcff;
  color: var(--muted);
  cursor: pointer;
}

.drop-zone input,
.compact-upload input {
  position: absolute;
  inset: auto;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.drop-zone svg {
  width: 36px;
  height: 36px;
  fill: #74839a;
}

.drop-zone strong {
  color: var(--blue);
}

.file-pill {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 8px 10px;
  align-items: center;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.file-pill svg {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  fill: var(--ink);
}

.file-pill span:not(.check-dot) {
  font-size: 13px;
  font-weight: 800;
}

.file-pill small {
  color: var(--muted);
  font-size: 11px;
}

.check-dot {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #16aa6a;
  font-size: 13px;
  font-weight: 900;
}

.file-copy {
  padding: 38px 54px;
}

.step-list {
  display: grid;
  gap: 16px;
  margin: 24px 0 26px;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}

.step-list li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: #fff;
  font-weight: 900;
}

.step-list p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.tool-card {
  min-height: 240px;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(8, 36, 71, .05);
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  border-color: #c7d4e5;
  box-shadow: var(--tight-shadow);
}

.tool-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .35s ease;
}

.tool-card:hover img {
  transform: scale(1.02);
}

.tool-card strong {
  display: block;
  padding: 18px 20px 20px;
  font-size: 17px;
  line-height: 1.2;
}

.sample-band {
  position: relative;
  min-height: 225px;
  margin-top: 24px;
  overflow: hidden;
  background: #061f3d;
}

.sample-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sample-content {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 44px 0;
  color: #fff;
}

.sample-content h2 {
  max-width: 420px;
  color: #fff;
}

.sample-content p {
  margin: 10px 0 24px;
  color: #d8e6f7;
}

.loved-section {
  text-align: center;
}

.brand-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: center;
  margin: 34px 0 28px;
}

.brand-row span {
  min-height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: left;
}

.review-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

.review-grid article p {
  min-height: 78px;
  margin: 12px 0 16px;
  color: var(--ink-soft);
}

.review-grid article strong,
.review-grid article span {
  display: block;
  font-size: 13px;
}

.review-grid article span {
  color: var(--muted);
}

.faq-section {
  width: min(100% - 40px, var(--max));
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.faq-section p {
  color: var(--ink-soft);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  background: #fff;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.cta-section {
  position: relative;
  min-height: 320px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(420px, .8fr);
  overflow: hidden;
  border-top: 1px solid #a98537;
  border-bottom: 1px solid #a98537;
  color: #fff;
  background: #04172d;
  box-shadow: inset 0 1px 0 rgba(247, 222, 157, .14), inset 0 -1px 0 rgba(247, 222, 157, .14);
}

.cta-copy {
  align-self: center;
  max-width: 760px;
  padding: 62px 68px 62px max(40px, calc((100vw - var(--max)) / 2));
}

.cta-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: #e3c36f;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.cta-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: #d3ac50;
}

.cta-section h2 {
  max-width: 650px;
  color: #fffaf0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 49px;
  font-weight: 700;
  line-height: 1.05;
}

.cta-text {
  max-width: 580px;
  margin: 20px 0 28px;
  color: #ced8e6;
  font-size: 17px;
}

.cta-actions {
  justify-content: flex-start;
}

.cta-section .button.secondary {
  border-color: rgba(227, 195, 111, .68);
  color: #fffaf0;
  background: transparent;
}

.cta-section .button.secondary:hover {
  border-color: #f2d58b;
  color: #04172d;
  background: #f2d58b;
}

.button.royal {
  color: #07182c;
  background: #d9b65f;
  box-shadow: 0 12px 26px rgba(217, 182, 95, .22);
}

.button.royal:hover {
  background: #f0d58d;
}

.cta-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
  color: #e1e6ed;
  font-size: 13px;
  font-weight: 800;
}

.cta-assurances span {
  position: relative;
  padding-left: 22px;
}

.cta-assurances span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  top: 4px;
  width: 10px;
  height: 10px;
  border: 1px solid #d9b65f;
  background: transparent;
  transform: rotate(45deg);
}

.cta-visual {
  position: relative;
  min-height: 320px;
}

.cta-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #04172d 0, rgba(4, 23, 45, .38) 28%, transparent 62%);
}

.cta-visual::before {
  content: "";
  position: absolute;
  inset: 22px;
  z-index: 1;
  border: 1px solid rgba(227, 195, 111, .4);
  pointer-events: none;
}

.cta-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.site-footer {
  color: #dbe9fb;
  background: #061f3d;
}

.footer-grid {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.55fr;
  gap: 32px;
  padding: 36px 0;
}

.footer-grid div,
.newsletter {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-grid strong {
  color: #fff;
  margin-bottom: 4px;
}

.footer-grid a,
.footer-grid p,
.footer-grid small {
  color: #c3d5ec;
  font-size: 13px;
}

.newsletter div {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 8px;
}

.newsletter input {
  min-height: 44px;
  border-color: #375272;
  background: #0a2a50;
  color: #fff;
}

.newsletter button {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.cart-drawer,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  background: rgba(3, 18, 36, .48);
}

.cart-drawer[aria-hidden="false"],
.modal-backdrop[aria-hidden="false"] {
  display: block;
}

.drawer-panel {
  width: min(420px, 100%);
  height: 100%;
  margin-left: auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #fff;
  box-shadow: -20px 0 50px rgba(3, 18, 36, .24);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  margin: 0;
  font-size: 28px;
}

.drawer-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.cart-items {
  overflow: auto;
  padding: 20px 26px;
}

.cart-line {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 76px;
  height: 62px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.cart-line h3 {
  margin: 0;
  font-size: 16px;
}

.cart-line p {
  margin: 3px 0 8px;
  color: var(--muted);
  font-size: 12px;
}

.line-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.quantity-stepper {
  display: inline-grid;
  grid-template-columns: 30px 36px 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.quantity-stepper button {
  height: 30px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
}

.quantity-stepper span {
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.remove-line {
  border: 0;
  color: var(--coral-dark);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
}

.cart-empty {
  padding: 26px;
}

.cart-empty p {
  color: var(--muted);
}

.cart-summary {
  display: grid;
  gap: 13px;
  padding: 24px 26px 28px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.cart-summary > div,
.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.summary-total {
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 19px;
}

.cart-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.modal-backdrop {
  overflow: auto;
  padding: 42px 20px;
}

.modal {
  position: relative;
  width: min(100%, 980px);
  margin: 0 auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-modal {
  display: grid;
  grid-template-columns: .95fr 1fr;
  overflow: hidden;
}

.product-modal.templates-open {
  width: min(100%, 1240px);
  grid-template-columns: minmax(300px, .72fr) minmax(560px, 1.28fr);
}

.product-modal.is-card-template-preview .product-gallery img {
  object-fit: contain;
  padding: clamp(24px, 5vw, 64px);
  background:
    linear-gradient(45deg, rgba(23, 45, 42, .045) 25%, transparent 25% 75%, rgba(23, 45, 42, .045) 75%),
    linear-gradient(45deg, rgba(23, 45, 42, .045) 25%, transparent 25% 75%, rgba(23, 45, 42, .045) 75%),
    #f4f0e8;
  background-position: 0 0, 12px 12px;
  background-size: 24px 24px;
}

.card-template-entry {
  margin: 0 0 20px;
  border: 1px solid #d8d0c3;
  border-radius: 6px;
  padding: 15px;
  background: #fffaf0;
}

.card-template-entry-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.card-template-entry-copy > div {
  min-width: 0;
}

.card-template-entry-copy span,
.card-template-selection span {
  display: block;
  color: #9a7a3d;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.card-template-entry-copy strong,
.card-template-selection strong {
  display: block;
  margin-top: 4px;
  color: #172d2a;
}

.card-template-entry-copy small {
  display: block;
  max-width: 460px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.card-template-entry-copy .button {
  min-width: 176px;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 11px;
}

.card-template-browser {
  margin-top: 16px;
  border-top: 1px solid #ddd4c6;
  padding-top: 16px;
}

.card-template-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.card-template-steps li {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid #ddd4c6;
  border-radius: 4px;
  padding: 9px;
  background: rgba(255, 255, 255, .65);
}

.card-template-steps li > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #9a7a3d;
  font-size: 11px;
  font-weight: 900;
}

.card-template-steps li:not(.is-current) > span {
  color: #536068;
  background: #e7e1d7;
}

.card-template-steps strong,
.card-template-steps small {
  display: block;
}

.card-template-steps strong {
  color: #172d2a;
  font-size: 10px;
}

.card-template-steps small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  line-height: 1.35;
}

.card-template-browser-toolbar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.card-template-browser-toolbar label {
  display: grid;
  gap: 6px;
}

.card-template-browser-toolbar label > span {
  color: #5f6b70;
  font-size: 10px;
  font-weight: 900;
}

.card-template-browser-toolbar select,
.card-template-browser-toolbar input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cfc6b8;
  border-radius: 3px;
  padding: 0 11px;
  color: #172d2a;
  background: #fff;
  font: inherit;
  font-size: 12px;
}

.card-template-results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 14px 0 10px;
}

.card-template-results strong {
  color: #172d2a;
  font-size: 12px;
}

.card-template-results span {
  color: var(--muted);
  font-size: 10px;
}

.card-template-results > div > * {
  display: block;
}

.card-template-results button {
  min-height: 34px;
  border: 1px solid #cfc6b8;
  border-radius: 3px;
  padding: 0 11px;
  color: #536068;
  background: #fff;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.card-template-results button:hover,
.card-template-results button:focus-visible {
  border-color: #1d433b;
  color: #1d433b;
}

.card-template-grid {
  max-height: 430px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 3px 4px 10px 3px;
  scrollbar-color: #9d8a69 #eee8dc;
}

.card-template-grid > button {
  position: relative;
  min-width: 0;
  min-height: 138px;
  overflow: hidden;
  border: 1px solid #d8d0c3;
  border-radius: 4px;
  padding: 0;
  color: #263238;
  text-align: left;
  background: #fff;
  cursor: pointer;
}

.card-template-grid > button:hover,
.card-template-grid > button:focus-visible,
.card-template-grid > button[aria-pressed="true"] {
  border-color: #1d433b;
  outline: 0;
  box-shadow: 0 0 0 2px #1d433b;
}

.card-template-grid > button[aria-pressed="true"]::after {
  content: "✓ Selected";
  position: absolute;
  top: 7px;
  right: 7px;
  border-radius: 999px;
  padding: 4px 7px;
  color: #fff;
  background: #1d433b;
  box-shadow: 0 2px 8px rgba(15, 37, 32, .22);
  font-size: 8px;
  font-weight: 900;
}

.card-template-thumb {
  height: 92px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 9px;
  background: #e8e3da;
}

.card-template-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(23, 31, 35, .16));
}

.card-template-thumb.portrait img {
  width: 58%;
}

.card-template-grid > button > span:last-child {
  display: block;
  padding: 9px;
}

.card-template-grid > button strong,
.card-template-grid > button small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-template-grid > button strong {
  font-size: 10px;
}

.card-template-grid > button small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  text-transform: capitalize;
}

.card-template-loading,
.card-template-empty {
  grid-column: 1 / -1;
  min-height: 110px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px dashed #c9bead;
  border-radius: 4px;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
}

.card-template-loading span {
  width: 20px;
  height: 20px;
  border: 2px solid #d8d0c3;
  border-top-color: #1d433b;
  border-radius: 50%;
  animation: storefront-template-spin .75s linear infinite;
}

.card-template-empty strong,
.card-template-empty span {
  display: block;
}

.card-template-selection {
  position: sticky;
  z-index: 3;
  bottom: -15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 12px -15px -15px;
  border-top: 1px solid #cfc3b2;
  padding: 12px 15px;
  background: rgba(255, 250, 240, .97);
  box-shadow: 0 -10px 24px rgba(23, 45, 42, .09);
  backdrop-filter: blur(8px);
}

.card-template-selection .button {
  min-height: 44px;
  padding: 10px 18px;
}

.card-template-selection .button:disabled {
  border-color: #c9c2b7;
  color: #777f82;
  background: #e7e2d9;
  cursor: not-allowed;
  box-shadow: none;
}

@keyframes storefront-template-spin {
  to {
    transform: rotate(360deg);
  }
}

.modal-close {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 2;
  background: rgba(255, 255, 255, .92);
}

.product-gallery {
  min-height: 570px;
  background: var(--soft);
}

.product-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-form,
.checkout-form,
.simple-modal {
  padding: 38px;
}

.product-form h2,
.checkout-form h2,
.simple-modal h2 {
  margin: 0 0 10px;
  font-size: 36px;
  line-height: 1.05;
}

.product-form > p:not(.eyebrow) {
  margin: 0 0 22px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.wide {
  grid-column: 1 / -1;
}

.compact-upload {
  position: relative;
  min-height: 58px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  border: 1px dashed #b8c4d5;
  border-radius: 8px;
  padding: 12px 14px;
  cursor: pointer;
}

.compact-upload svg {
  width: 28px;
  height: 28px;
  fill: var(--blue);
}

.price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 20px 0;
  padding: 18px;
  border-radius: 8px;
  background: var(--soft);
}

.price-row span,
.price-row small {
  display: block;
  color: var(--muted);
}

.price-row strong {
  display: block;
  margin-top: 3px;
  font-size: 34px;
}

.checkout-modal {
  width: min(100%, 1040px);
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  overflow: hidden;
}

.checkout-form fieldset {
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkout-form legend {
  padding: 0 8px;
  font-weight: 900;
}

.radio-line {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  margin: 12px;
  font-size: 14px;
}

.radio-line input {
  width: 18px;
  min-height: 18px;
}

.checkout-summary {
  padding: 38px;
  background: var(--soft);
  border-left: 1px solid var(--line);
}

.checkout-summary h3 {
  margin: 0 0 18px;
  font-size: 24px;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.simple-modal {
  width: min(100%, 560px);
}

.simple-modal p {
  color: var(--ink-soft);
}

.simple-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.simple-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.simple-form label {
  display: grid;
  gap: 6px;
}

.simple-form label span {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.simple-form input,
.simple-form textarea {
  width: 100%;
  border: 1px solid #d2c9ba;
  border-radius: 2px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.simple-form textarea {
  resize: vertical;
  min-height: 88px;
}

.rgb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.tool-output {
  border-radius: 8px;
  padding: 18px;
  color: var(--ink);
  background: var(--soft);
  font-weight: 900;
}

@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }

  .search-box {
    width: auto;
    flex: 1 1 220px;
  }

  .menu-button {
    display: inline-grid;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
    justify-self: start;
    padding: 64px 40px 44px;
  }

  .hero-media {
    min-height: 500px;
  }

  .quote-card {
    right: 28px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .promo-bar {
    height: auto;
    min-height: 34px;
    gap: 8px;
    padding: 8px 16px;
    font-size: 12px;
    text-align: center;
  }

  .header-inner {
    width: min(100% - 28px, var(--max));
    min-height: 68px;
    gap: 12px;
  }

  .brand {
    font-size: 28px;
  }

  .plain-link,
  .icon-text span {
    display: none;
  }

  .search-box {
    order: 3;
    flex-basis: 100%;
    margin: 0 0 12px;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .header-actions {
    margin-left: auto;
    gap: 4px;
  }

  .mobile-nav {
    width: min(100% - 28px, var(--max));
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-copy {
    padding: 48px 24px 38px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-media {
    min-height: auto;
    padding-bottom: 280px;
  }

  .hero-media > img {
    min-height: 370px;
  }

  .quote-card {
    top: auto;
    left: 20px;
    right: 20px;
    bottom: 20px;
    width: auto;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-strip div {
    min-height: 86px;
    padding: 16px 12px;
    text-align: center;
    flex-direction: column;
  }

  .section,
  .file-flow,
  .faq-section,
  .footer-grid,
  .sample-content {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 42px 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .section h2,
  .file-copy h2,
  .sample-content h2,
  .loved-section h2,
  .faq-section h2,
  .cta-section h2 {
    font-size: 31px;
  }

  .product-grid,
  .tool-grid,
  .review-grid,
  .faq-section,
  .product-modal,
  .checkout-modal {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .product-card p {
    min-height: 0;
  }

  .file-flow {
    grid-template-columns: 1fr;
    background: linear-gradient(180deg, #ff4f45 0 43%, #e2d0ff 43% 100%);
  }

  .file-copy {
    padding: 30px 24px;
  }

  .tool-grid {
    gap: 14px;
  }

  .sample-band {
    min-height: 310px;
  }

  .sample-content {
    padding-top: 36px;
  }

  .brand-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-section {
    padding: 24px;
  }

  .cta-section {
    grid-template-columns: 1fr;
  }

  .cta-copy {
    padding: 48px 24px 42px;
  }

  .cta-section h2 {
    font-size: 38px;
  }

  .cta-text {
    font-size: 16px;
  }

  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cta-actions .button {
    width: 100%;
  }

  .cta-assurances {
    display: grid;
    gap: 11px;
  }

  .cta-visual {
    min-height: 280px;
  }

  .cta-visual::after {
    background: linear-gradient(180deg, #04172d 0, rgba(4, 23, 45, .12) 30%, transparent 60%);
  }

  .cta-visual::before {
    inset: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .newsletter div {
    grid-template-columns: 1fr;
  }

  .drawer-panel {
    width: 100%;
  }

  .modal-backdrop {
    padding: 18px 12px;
  }

  .product-gallery {
    min-height: 240px;
  }

  .product-form,
  .checkout-form,
  .checkout-summary,
  .simple-modal {
    padding: 24px;
  }

  .form-grid,
  .rgb-grid {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* Premium atelier refresh */
:root {
  --ink: #071a2f;
  --ink-soft: #304359;
  --blue: #0f4f4a;
  --blue-dark: #0a3935;
  --coral: #a44339;
  --coral-dark: #813129;
  --mint: #6b8f83;
  --lavender: #ddd4c4;
  --cream: #f7f2e8;
  --surface: #fffdf8;
  --soft: #f2eee6;
  --line: #d8d1c5;
  --muted: #69727c;
  --gold: #c9a655;
  --gold-light: #ead79f;
  --forest: #143c36;
  --ivory: #fbf8f1;
  --oxblood: #8d3b33;
  --shadow: 0 24px 60px rgba(7, 26, 47, .16);
  --tight-shadow: 0 14px 34px rgba(7, 26, 47, .12);
  --max: 1280px;
}

body {
  color: var(--ink);
  background: var(--ivory);
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
}

::selection {
  color: #fff;
  background: var(--forest);
}

.promo-bar {
  min-height: 32px;
  height: 32px;
  gap: 14px;
  color: #f1e4bd;
  background: #031326;
  border-bottom: 1px solid rgba(201, 166, 85, .42);
  font-size: 12px;
  font-weight: 700;
}

.promo-divider {
  width: 24px;
  height: 1px;
  background: rgba(234, 215, 159, .6);
}

.site-header {
  border-bottom: 1px solid rgba(164, 143, 101, .28);
  background: rgba(255, 253, 248, .96);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(7, 26, 47, .05);
}

.header-inner {
  min-height: 82px;
  gap: 26px;
}

.brand {
  display: grid;
  gap: 0;
  color: var(--ink);
  line-height: 1;
}

.brand span {
  font-family: Baskerville, "Palatino Linotype", Georgia, serif;
  font-size: 31px;
  font-weight: 700;
}

.brand small {
  margin-top: 5px;
  color: #8d6d2f;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.desktop-nav {
  gap: 24px;
}

.desktop-nav a,
.plain-link,
.icon-text {
  position: relative;
  font-size: 13px;
  font-weight: 700;
}

.desktop-nav a::after,
.plain-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
  transition: right .2s ease;
}

.desktop-nav a:hover::after,
.plain-link:hover::after {
  right: 0;
}

.search-box {
  width: 250px;
  min-height: 44px;
  border: 1px solid #d8d1c5;
  border-radius: 3px;
  background: #f8f5ef;
}

.search-box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 166, 85, .13);
}

.search-box input {
  background: transparent;
}

.cart-button:hover,
.menu-button:hover,
.icon-only:hover {
  background: #f0ebe1;
}

.cart-count {
  color: var(--ink);
  background: var(--gold);
}

.mobile-nav a {
  border-color: var(--line);
  border-radius: 3px;
  background: var(--ivory);
}

.hero {
  position: relative;
  min-height: 700px;
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--gold);
  background: #071a2f;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(3, 16, 31, .96) 0%, rgba(3, 16, 31, .9) 34%, rgba(3, 16, 31, .34) 68%, rgba(3, 16, 31, .04) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: max(40px, calc((100vw - var(--max)) / 2));
  bottom: 38px;
  width: 90px;
  height: 1px;
  background: var(--gold);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(100% - 80px, var(--max));
  max-width: none;
  margin: 0 auto;
  padding: 112px 670px 112px 0;
  color: #fff;
}

.eyebrow,
.section-eyebrow,
.quote-eyebrow {
  margin: 0 0 16px;
  color: #9b792f;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-light);
}

.hero .eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.hero h1,
.section h2,
.file-copy h2,
.sample-content h2,
.loved-section h2,
.faq-section h2,
.cta-section h2,
.product-form h2,
.checkout-form h2,
.simple-modal h2 {
  font-family: Baskerville, "Palatino Linotype", Georgia, serif;
  font-weight: 700;
}

.hero h1 {
  max-width: 650px;
  color: #fffaf0;
  font-size: 66px;
  line-height: 1.01;
}

.hero-text {
  max-width: 590px;
  margin: 28px 0 34px;
  color: #d8e0e8;
  font-size: 18px;
  line-height: 1.65;
}

.button {
  min-height: 52px;
  border-radius: 3px;
  padding: 0 25px;
  font-size: 14px;
  font-weight: 800;
}

.button.primary {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 12px 28px rgba(201, 166, 85, .2);
}

.button.primary:hover {
  color: var(--ink);
  background: #e0c278;
}

.button.secondary {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.button.secondary:hover {
  border-color: var(--forest);
  color: #fff;
  background: var(--forest);
}

.button.coral {
  background: var(--oxblood);
  box-shadow: 0 12px 28px rgba(141, 59, 51, .22);
}

.button.coral:hover {
  background: #743129;
}

.hero .button.secondary {
  border-color: rgba(234, 215, 159, .7);
  color: #fffaf0;
  background: rgba(7, 26, 47, .26);
}

.hero .button.secondary:hover {
  border-color: var(--gold-light);
  color: var(--ink);
  background: var(--gold-light);
}

.rating-line {
  margin-top: 38px;
  color: #d8e0e8;
  font-size: 15px;
}

.rating-line span:nth-child(2),
.review-grid article div {
  color: var(--gold);
}

.hero-media {
  position: absolute;
  inset: 0;
  min-height: 700px;
  background: #d8c8af;
}

.hero-media > img {
  width: 100%;
  height: 100%;
  min-height: 700px;
  object-fit: cover;
  object-position: center;
}

.quote-card {
  z-index: 4;
  top: 94px;
  right: max(40px, calc((100vw - var(--max)) / 2));
  width: 300px;
  padding: 29px;
  border: 1px solid rgba(201, 166, 85, .72);
  border-radius: 4px;
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 26px 70px rgba(3, 16, 31, .28);
}

.quote-eyebrow {
  margin-bottom: 8px;
}

.quote-card h2 {
  margin-bottom: 22px;
  font-family: Baskerville, "Palatino Linotype", Georgia, serif;
  font-size: 27px;
  font-weight: 700;
}

input,
select {
  border-color: #d8d1c5;
  border-radius: 3px;
  background-color: #fffdf8;
}

input:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 166, 85, .14);
}

.trust-strip {
  min-height: 86px;
  gap: 0;
  border-top: 0;
  border-bottom: 1px solid #d4c8ae;
  background: var(--ivory);
}

.trust-strip div {
  position: relative;
  padding: 22px;
  color: var(--ink-soft);
  background: var(--ivory);
}

.trust-strip div + div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: #ddd4c3;
}

.trust-strip svg path {
  fill: var(--forest);
}

.section {
  padding: 92px 0;
}

.section-head {
  margin-bottom: 36px;
}

.section h2,
.file-copy h2,
.sample-content h2,
.loved-section h2,
.faq-section h2 {
  font-size: 50px;
  line-height: 1.04;
}

.section-head p:not(.section-eyebrow) {
  max-width: 620px;
  margin-top: 14px;
  font-size: 16px;
}

.text-button {
  color: var(--forest);
}

.text-button:hover {
  color: #8a6929;
}

.product-section {
  width: 100%;
  padding: 96px max(40px, calc((100vw - var(--max)) / 2));
  background: #f5f1e8;
}

.category-tabs {
  margin: -4px 0 30px;
}

.category-tabs button {
  border-color: #d5ccbc;
  border-radius: 3px;
  padding: 10px 16px;
  color: #485568;
  background: rgba(255, 253, 248, .72);
}

.category-tabs button[aria-pressed="true"] {
  border-color: var(--forest);
  color: #fff;
  background: var(--forest);
}

.product-grid {
  gap: 22px;
}

.product-card {
  min-height: 475px;
  border-color: #d8d1c5;
  border-radius: 4px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(7, 26, 47, .06);
}

.product-card:hover {
  border-color: #b69a60;
  box-shadow: 0 22px 46px rgba(7, 26, 47, .13);
}

.product-card img {
  height: 280px;
  background: #e9e2d7;
}

.product-card-body {
  padding: 24px 25px 25px;
}

.product-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 10px;
}

.product-card-kicker {
  display: block;
  margin: 0;
  color: #96742f;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border: 1px solid rgba(182, 154, 96, 0.55);
  color: #6f5420;
  background: rgba(201, 166, 85, 0.14);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-card.is-featured {
  border-color: rgba(182, 154, 96, 0.85);
  box-shadow: 0 18px 40px rgba(7, 26, 47, 0.1);
}

.product-card.is-quote .product-card-footer strong {
  color: #6f5420;
  font-weight: 700;
}

.product-modal.is-quote-product [data-config-price] {
  letter-spacing: 0.01em;
}

.product-card h3 {
  font-family: Baskerville, "Palatino Linotype", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
}

.product-card p {
  color: #566273;
  line-height: 1.55;
}

.file-flow {
  min-height: 470px;
  margin: 92px auto;
  grid-template-columns: .95fr 1.05fr;
  border: 1px solid rgba(201, 166, 85, .58);
  border-radius: 4px;
  background: #071a2f;
  box-shadow: var(--shadow);
}

.upload-preview {
  min-height: 470px;
  background: var(--forest);
}

.upload-preview::before {
  display: none;
}

.upload-window {
  width: min(340px, 100%);
  border: 1px solid rgba(201, 166, 85, .58);
  border-radius: 4px;
  padding: 19px;
  background: var(--ivory);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .24);
}

.drop-zone {
  min-height: 180px;
  border-color: #b7aa91;
  border-radius: 3px;
  background: #fffdf8;
}

.drop-zone strong {
  color: var(--forest);
}

.file-copy {
  align-self: center;
  padding: 54px 62px;
  color: #fff;
}

.file-copy .section-eyebrow {
  color: var(--gold-light);
}

.file-copy h2 {
  max-width: 540px;
  color: #fffaf0;
}

.step-list {
  margin: 30px 0 32px;
}

.step-list li > span {
  border: 1px solid rgba(201, 166, 85, .68);
  color: var(--gold-light);
  background: transparent;
}

.step-list p {
  color: #c8d2de;
}

.tools-section {
  padding-top: 8px;
  padding-bottom: 100px;
}

.tool-grid {
  gap: 18px;
}

.tool-card {
  min-height: 295px;
  border-color: #d8d1c5;
  border-radius: 4px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(7, 26, 47, .06);
}

.tool-card:hover {
  border-color: #b69a60;
  box-shadow: var(--tight-shadow);
}

.tool-card img {
  height: 220px;
  aspect-ratio: auto;
}

.tool-card strong {
  padding: 20px 22px 22px;
  font-family: Baskerville, "Palatino Linotype", Georgia, serif;
  font-size: 21px;
  font-weight: 700;
}

.sample-band {
  min-height: 340px;
  margin-top: 0;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  background: #071a2f;
}

.sample-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 16, 31, .98) 0%, rgba(3, 16, 31, .86) 36%, rgba(3, 16, 31, .12) 70%);
}

.sample-content {
  padding: 70px 0;
}

.sample-content .section-eyebrow {
  color: var(--gold-light);
}

.sample-content h2 {
  max-width: 550px;
  color: #fffaf0;
}

.sample-content p {
  max-width: 480px;
  color: #d8e0e8;
  font-size: 16px;
}

.loved-section {
  width: 100%;
  padding: 100px max(40px, calc((100vw - var(--max)) / 2));
  background: var(--ivory);
}

.loved-section h2 {
  max-width: 780px;
  margin: 0 auto;
}

.brand-row {
  margin: 44px 0 36px;
  padding: 25px 0;
  border-top: 1px solid #d9cfbd;
  border-bottom: 1px solid #d9cfbd;
}

.brand-row span {
  color: #263b4f;
  font-size: 16px;
  text-transform: none;
}

.review-grid {
  gap: 22px;
}

.review-grid article {
  min-height: 245px;
  border: 1px solid #d8d1c5;
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 29px;
  background: #fffdf8;
}

.review-grid article p {
  min-height: 92px;
  font-family: Baskerville, "Palatino Linotype", Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
}

.faq-section {
  width: 100%;
  margin: 0;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  padding: 96px max(40px, calc((100vw - var(--max)) / 2));
  border: 0;
  border-radius: 0;
  color: #fff;
  background: var(--forest);
}

.faq-section .section-eyebrow {
  color: var(--gold-light);
}

.faq-section h2 {
  max-width: 520px;
  color: #fffaf0;
}

.faq-section > div > p:not(.section-eyebrow) {
  max-width: 520px;
  color: #d3dfda;
  font-size: 16px;
  line-height: 1.7;
}

.faq-list {
  gap: 10px;
}

.faq-list details {
  border-color: rgba(234, 215, 159, .38);
  border-radius: 3px;
  color: var(--ink);
  background: #fffdf8;
}

.faq-list details[open] {
  border-color: var(--gold);
}

.cta-section h2 {
  font-family: Baskerville, "Palatino Linotype", Georgia, serif;
}

.site-footer {
  border-top: 1px solid rgba(201, 166, 85, .52);
  color: #d9e1e9;
  background: #031326;
}

.footer-grid {
  grid-template-columns: 1.35fr repeat(4, .78fr) 1.55fr;
  gap: 28px;
  padding: 58px 0 52px;
}

.footer-brand {
  display: block;
  padding-right: 16px;
}

.footer-wordmark {
  display: inline-block;
  margin-bottom: 18px;
  color: #fffaf0;
  font-family: Baskerville, "Palatino Linotype", Georgia, serif;
  font-size: 27px;
  font-weight: 700;
}

.footer-brand p {
  margin: 0 0 14px;
  color: #c3cfda;
  line-height: 1.55;
}

.footer-brand span {
  color: var(--gold-light);
  font-size: 12px;
}

.footer-grid strong {
  color: var(--gold-light);
  font-size: 12px;
  text-transform: uppercase;
}

.footer-grid a:hover {
  color: #fff;
}

.newsletter div {
  grid-template-columns: minmax(150px, 1fr) 108px;
}

.newsletter input {
  border-color: #455569;
  border-radius: 3px;
  background: #0a223d;
}

.newsletter button {
  border-radius: 3px;
  color: var(--ink);
  background: var(--gold);
}

.drawer-panel,
.modal {
  border-color: rgba(201, 166, 85, .62);
  border-radius: 4px;
  background: var(--ivory);
  box-shadow: 0 30px 80px rgba(3, 16, 31, .3);
}

.drawer-panel {
  border-left: 1px solid rgba(201, 166, 85, .62);
}

.product-form h2,
.checkout-form h2,
.simple-modal h2 {
  color: var(--ink);
  font-size: 38px;
  line-height: 1.05;
}

.product-gallery {
  background: #e8e0d3;
}

.compact-upload,
.cart-line,
.checkout-summary,
.tool-output {
  border-color: #d8d1c5;
  border-radius: 3px;
  background: #fffdf8;
}

@media (max-width: 1180px) {
  .header-inner {
    width: min(100% - 48px, var(--max));
  }

  .hero-copy {
    width: min(100% - 80px, var(--max));
    padding-right: 540px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .quote-card {
    right: 40px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr repeat(2, 1fr);
  }

  .newsletter {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 900px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(3, 16, 31, .94) 0%, rgba(3, 16, 31, .82) 53%, rgba(3, 16, 31, .35) 100%);
  }

  .hero-copy {
    width: min(100% - 64px, 720px);
    margin-left: 32px;
    padding: 80px 0 420px;
  }

  .hero-media,
  .hero-media > img {
    min-height: 900px;
  }

  .hero-media > img {
    object-position: 58% center;
  }

  .quote-card {
    top: auto;
    right: 32px;
    bottom: 50px;
    width: 320px;
  }

  .file-flow {
    grid-template-columns: 1fr;
  }

  .upload-preview {
    min-height: 390px;
  }

  .faq-section {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 760px) {
  .promo-bar {
    min-height: 36px;
    height: auto;
    padding: 8px 14px;
    font-size: 10px;
  }

  .promo-divider {
    width: 12px;
  }

  .header-inner {
    width: min(100% - 28px, var(--max));
    min-height: 70px;
  }

  .brand span {
    font-size: 27px;
  }

  .brand small {
    font-size: 8px;
  }

  .search-box {
    margin-bottom: 13px;
    background: #fffdf8;
  }

  .hero {
    min-height: 960px;
  }

  .hero::after {
    display: none;
  }

  .hero-copy {
    width: auto;
    margin: 0;
    padding: 62px 24px 520px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-text {
    margin: 24px 0 28px;
    font-size: 16px;
    line-height: 1.58;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .rating-line {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 28px;
    font-size: 13px;
  }

  .hero-media,
  .hero-media > img {
    min-height: 960px;
  }

  .quote-card {
    left: 14px;
    right: 14px;
    bottom: 24px;
    width: auto;
    padding: 24px;
  }

  .trust-strip div {
    min-height: 98px;
  }

  .trust-strip div + div::before {
    display: none;
  }

  .section h2,
  .file-copy h2,
  .sample-content h2,
  .loved-section h2,
  .faq-section h2 {
    font-size: 39px;
  }

  .product-section,
  .loved-section,
  .faq-section {
    padding: 72px 20px;
  }

  .category-tabs {
    flex-wrap: nowrap;
    margin-right: -20px;
    padding-right: 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .category-tabs::-webkit-scrollbar {
    display: none;
  }

  .category-tabs button {
    flex: 0 0 auto;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-card {
    min-height: 0;
  }

  .product-card img {
    height: 245px;
  }

  .file-flow {
    width: calc(100% - 28px);
    margin: 58px 14px 72px;
    background: #071a2f;
  }

  .upload-preview {
    min-height: 330px;
    padding: 24px;
  }

  .file-copy {
    padding: 42px 24px 46px;
  }

  .tools-section {
    width: calc(100% - 40px);
    padding: 0 0 72px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 0;
  }

  .tool-card img {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .sample-band {
    min-height: 460px;
  }

  .sample-band img {
    object-position: 65% center;
  }

  .sample-band::after {
    background: rgba(3, 16, 31, .72);
  }

  .sample-content {
    width: calc(100% - 40px);
    padding: 58px 0;
  }

  .sample-content .button {
    width: 100%;
  }

  .brand-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-grid article {
    min-height: 0;
  }

  .review-grid article p {
    min-height: 0;
  }

  .faq-section {
    width: 100%;
    gap: 32px;
  }

  .faq-list details {
    padding: 17px;
  }

  .cta-copy {
    padding-top: 58px;
  }

  .cta-section h2 {
    font-size: 41px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 50px 0;
  }

  .newsletter {
    grid-column: auto;
  }

  .newsletter div {
    grid-template-columns: 1fr;
  }

  .product-form h2,
  .checkout-form h2,
  .simple-modal h2 {
    font-size: 32px;
  }
}

@media (max-width: 760px) {
  .product-modal.templates-open {
    grid-template-columns: 1fr;
  }

  .card-template-entry-copy,
  .card-template-selection {
    align-items: stretch;
    flex-direction: column;
  }

  .card-template-entry-copy .button,
  .card-template-selection .button {
    width: 100%;
  }

  .card-template-browser-toolbar {
    grid-template-columns: 1fr;
  }

  .card-template-steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .card-template-steps li {
    min-width: 190px;
    scroll-snap-align: start;
  }

  .card-template-results {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .card-template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 520px;
  }

  .card-template-selection {
    bottom: -24px;
    margin-right: -24px;
    margin-bottom: -24px;
    margin-left: -24px;
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (max-width: 420px) {
  .card-template-grid {
    grid-template-columns: 1fr;
  }

  .card-template-thumb {
    height: 118px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.quantity-breaks {
  margin-top: 14px;
}

.quantity-breaks-label {
  margin: 0 0 8px;
  color: #6f5420;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quantity-break-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 8px;
}

.quantity-break-row button {
  border: 1px solid #d2c9ba;
  background: #fff;
  padding: 8px;
  text-align: left;
  cursor: pointer;
}

.quantity-break-row button.is-best {
  border-color: #b69a60;
  background: rgba(201, 166, 85, 0.12);
}

.quantity-break-row strong,
.quantity-break-row span,
.quantity-break-row small {
  display: block;
}

.sticker-section,
.materials-section,
.trust-section {
  margin-top: 48px;
}

.sticker-mode-toggle {
  display: inline-flex;
  gap: 8px;
}

.sticker-mode-toggle button {
  border: 1px solid #d2c9ba;
  background: #fff;
  padding: 8px 14px;
  cursor: pointer;
}

.sticker-mode-toggle button[aria-pressed="true"] {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
}

.sticker-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.sticker-controls,
.sticker-preview-panel {
  border: 1px solid #d8d1c5;
  padding: 24px;
  background: var(--surface);
}

.sticker-preview-panel {
  overflow: hidden;
}

.sticker-preview-media {
  display: block;
  width: calc(100% + 48px);
  max-width: none;
  height: 210px;
  margin: -24px -24px 22px;
  object-fit: cover;
}

.sticker-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sticker-controls .wide,
.sticker-controls .price-row,
.sticker-controls .button {
  grid-column: 1 / -1;
}

.materials-grid,
.sample-packs,
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.material-card,
.sample-pack-card,
.help-grid article {
  border: 1px solid #d8d1c5;
  padding: 20px;
  background: var(--surface);
}

.material-card ul {
  margin: 12px 0;
  padding-left: 18px;
  color: #566273;
}

.service-status {
  margin-top: 28px;
  border: 1px solid rgba(182, 154, 96, 0.45);
  padding: 22px;
  background: rgba(201, 166, 85, 0.08);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #2f6b4f;
}

.platform-dashboard {
  display: grid;
  gap: 18px;
  margin: 18px 0;
}

.platform-row,
.proof-page-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 1px solid #d8d1c5;
  padding: 12px;
  margin-top: 8px;
}

.proof-overlays {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0;
}

.proof-pages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.locale-switcher select {
  min-width: 220px;
  border: 1px solid #d2c9ba;
  padding: 10px 12px;
  background: #fff;
}

@media (max-width: 900px) {
  .sticker-layout,
  .proof-pages {
    grid-template-columns: 1fr;
  }
}
