:root {
  --page-width: 1680px;
  --page-gutter: 18px;
  --ink: #202027;
  --muted: #6e6b68;
  --sand: #c8a98f;
  --blush: #df746f;
  --cream: #faf7f2;
  --sage: #7e8d79;
  --green: #405445;
  --line: #eee8e1;
  --shadow: 0 14px 40px rgba(59, 48, 39, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: calc(100% - (var(--page-gutter) * 2));
  max-width: var(--page-width);
  margin: 0 auto 26px;
  background: rgba(255,255,255,.92);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  backdrop-filter: blur(12px);
}

.promo {
  display: grid;
  gap: 2px;
  place-items: center;
  min-height: 54px;
  background: var(--sand);
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
}

.nav {
  min-height: 98px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 30px;
}

.brand {
  justify-self: center;
  color: #59606a;
  font-weight: 800;
  font-size: 28px;
  line-height: .82;
  letter-spacing: 0;
  text-align: center;
}

.nav-left,
.nav-actions,
footer nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-left a {
  color: #b2937d;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
}

.nav-actions { justify-content: flex-end; }

.icon-button,
.cart {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.icon-button svg,
.cart svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #a78a75;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart {
  position: relative;
  padding: 0;
}

.cart span {
  position: absolute;
  top: -11px;
  right: -12px;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #9f765e;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: #9f765e;
}

.mobile-panel {
  display: none;
  padding: 0 30px 24px;
}

.hero,
.category-grid,
.products,
.portfolio-gallery,
.split,
.how,
.reviews,
.faq,
footer {
  width: calc(100% - (var(--page-gutter) * 2));
  max-width: var(--page-width);
  margin: 0 auto;
}

.hero {
  position: relative;
  height: 520px;
  min-height: 520px;
  border-radius: 22px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(34,28,24,.62), rgba(34,28,24,.12) 52%, rgba(34,28,24,.02));
}

.hero-copy {
  position: absolute;
  left: 42px;
  bottom: 30px;
  z-index: 2;
  max-width: 420px;
  color: #fff;
}

.hero-controls {
  position: absolute;
  top: 24px;
  right: 24px;
  bottom: auto;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  background: rgba(30, 27, 24, .52);
  backdrop-filter: blur(8px);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot,
.hero-toggle {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25);
}

.hero-dot.is-active {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .28);
}

.hero-toggle {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border-left: 1px solid rgba(255, 255, 255, .35);
}

.hero-toggle span {
  position: relative;
  display: block;
  width: 10px;
  height: 12px;
}

.hero-toggle span::before,
.hero-toggle span::after {
  content: "";
  position: absolute;
  top: 1px;
  width: 3px;
  height: 10px;
  border-radius: 1px;
  background: #fff;
}

.hero-toggle span::before { left: 1px; }
.hero-toggle span::after { right: 1px; }

.hero-toggle.is-paused span::before {
  top: 0;
  left: 2px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid #fff;
  border-radius: 0;
  background: transparent;
}

.hero-toggle.is-paused span::after { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

.hero-copy p {
  margin: 0 0 12px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(44px, 5.4vw, 64px);
  line-height: 1.07;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  min-height: 44px;
  border-radius: 999px;
  background: #d7b19b;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  box-shadow: 0 7px 16px rgba(80, 54, 38, .12);
}

.pill.small {
  min-width: 132px;
  min-height: 39px;
  text-transform: none;
  font-size: 14px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.category-grid article {
  display: grid;
  justify-items: center;
  gap: 16px;
  min-width: 0;
}

.category-grid img,
.memorial-card,
.split img {
  width: 100%;
  aspect-ratio: 1 / .78;
  object-fit: cover;
  border-radius: 3px;
}

.category-grid img,
.split img {
  height: auto;
}

.memorial-card {
  display: grid;
  place-items: center;
  align-content: center;
  min-width: 0;
  padding: 32px;
  background: linear-gradient(135deg, #f5eee6, #dfe6dc);
  text-align: center;
}

.halo {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.85);
  color: var(--sand);
  font-size: 52px;
}

.memorial-card h2 { margin: 18px 0 8px; font-size: 32px; }
.memorial-card p { margin: 0; color: var(--muted); }

.products,
.split,
.how,
.reviews,
.faq {
  padding-top: 54px;
}

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

.section-head h2,
.split h2,
.how h2,
.reviews h2,
.faq h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
}

.section-head a {
  color: #a07e66;
  font-weight: 800;
}

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

.product-card {
  position: relative;
  border-radius: 14px;
}

.badge {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--sand);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.frame-preview {
  padding: 24px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: #f8f5f1;
}

.frame-preview.muted { background: #edf0ea; }

.frame-preview img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
}

.frame-preview.contain img {
  object-fit: contain;
}

.product-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.portfolio-gallery { padding: 64px 0 24px; }

.portfolio-gallery-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.portfolio-gallery-header .eyebrow { margin: 0 0 8px; }
.portfolio-gallery-header h2 { margin: 0; font-size: clamp(36px, 4vw, 54px); line-height: 1.05; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-card {
  overflow: hidden;
  border: 1px solid #e4dfda;
  border-radius: 6px;
  background: #fff;
}

.portfolio-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 10px;
  box-sizing: border-box;
  object-fit: contain;
  object-position: center;
  background: #f5f2ee;
}

.portfolio-card > div { padding: 16px 16px 18px; }
.portfolio-card h3 { margin: 0 0 5px; font-size: 20px; line-height: 1.2; }
.portfolio-card p { margin: 0; color: var(--muted); font-size: 14px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.split p {
  color: #2d2b2b;
  font-size: 18px;
  line-height: 1.6;
}

.split .strong {
  font-weight: 800;
}

.split img {
  aspect-ratio: 1.08 / .72;
  border-radius: 18px;
}

.steps,
.review-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.how {
  scroll-margin-top: 180px;
}

.steps article,
blockquote {
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
}

.steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ead8c8;
  color: #8f6f59;
  font-weight: 900;
}

.steps h3 { margin: 18px 0 8px; }
.steps p, blockquote { color: var(--muted); line-height: 1.55; }

.faq {
  max-width: 820px;
  padding-bottom: 64px;
}

.faq-item {
  width: 100%;
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq > p {
  display: none;
  margin: 0;
  padding: 0 0 22px;
  color: var(--muted);
  line-height: 1.6;
}

.faq-item.open + p { display: block; }
.faq-item.open span { transform: rotate(45deg); }

footer {
  display: grid;
  grid-template-columns: auto 1fr minmax(280px, 360px);
  gap: 38px;
  align-items: start;
  padding: 38px 0 44px;
  border-top: 1px solid var(--line);
}

footer .brand {
  justify-self: start;
  font-size: 24px;
}

footer nav {
  flex-wrap: wrap;
  color: #8d7b70;
  font-weight: 700;
}

footer nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

footer label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

footer form div {
  display: flex;
  gap: 8px;
}

input,
footer button {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0 16px;
  font: inherit;
}

input { min-width: 0; flex: 1; }
footer button {
  border: 0;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
}

.apparel-dialog {
  width: min(820px, calc(100% - 32px));
  max-height: min(820px, calc(100dvh - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(27, 34, 29, .28);
}

.apparel-dialog::backdrop {
  background: rgba(27, 31, 28, .58);
  backdrop-filter: blur(3px);
}

.apparel-dialog-shell { padding: 28px; }

.apparel-dialog-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.apparel-dialog-header h2 {
  margin: 4px 0 0;
  font-size: 34px;
  line-height: 1.05;
}

.apparel-dialog-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font: 400 28px/1 Arial, sans-serif;
  cursor: pointer;
}

.apparel-form { display: grid; gap: 20px; }

.apparel-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.apparel-fields label,
.apparel-style-fieldset {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.apparel-fields input,
.apparel-fields select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 0 13px;
  font: inherit;
}

.apparel-upload {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 14px 16px;
  border: 1px dashed #9aa99f;
  border-radius: 8px;
  background: #f7f9f7;
  cursor: pointer;
}

.apparel-upload-copy { display: grid; gap: 3px; }
.apparel-upload-copy span { color: var(--muted); font-size: 12px; }
.apparel-upload-action { color: var(--green); font-size: 13px; font-weight: 800; }
.apparel-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.apparel-upload-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.apparel-upload-preview[hidden] { display: none; }

.apparel-upload-preview img {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  object-fit: cover;
}

.apparel-upload-preview span {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.apparel-style-fieldset { margin: 0; padding: 0; border: 0; }
.apparel-style-fieldset legend { margin-bottom: 10px; }

.apparel-style-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.apparel-style-option {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.apparel-style-option:has(input:checked) {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(64, 84, 69, .16);
}

.apparel-style-option input {
  position: absolute;
  z-index: 1;
  top: 9px;
  right: 9px;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--green);
}

.apparel-style-option img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.apparel-style-option > span { display: grid; gap: 2px; padding: 10px; }
.apparel-style-option strong { font-size: 12px; }
.apparel-style-option small { min-height: 30px; color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.35; }

.apparel-generate { justify-self: start; border: 0; cursor: pointer; }

.apparel-coming-soon {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-left: 4px solid var(--sand);
  border-radius: 4px;
  background: #f7f2ed;
}

.apparel-coming-soon[hidden] { display: none; }
.apparel-coming-soon strong { font-family: Georgia, serif; font-size: 22px; }
.apparel-coming-soon span { color: var(--muted); font-size: 13px; line-height: 1.45; }

.whatsapp-widget {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 7px 16px 7px 10px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(18, 106, 58, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-widget:hover {
  transform: translateY(-2px);
  background: #20c45a;
  box-shadow: 0 16px 36px rgba(18, 106, 58, .34);
}

.whatsapp-widget:focus-visible {
  outline: 3px solid rgba(30, 142, 83, .35);
  outline-offset: 3px;
}

.whatsapp-widget-copy {
  display: grid;
  gap: 2px;
}

.whatsapp-widget-copy strong {
  color: #fff;
  font-size: 12px;
}

.whatsapp-widget-copy span {
  color: rgba(255, 255, 255, .9);
  font-size: 12px;
}

.whatsapp-widget-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: #fff;
}

.whatsapp-widget-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

@media (min-width: 821px) and (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header,
  .hero,
  .category-grid,
  .products,
  .portfolio-gallery,
  .split,
  .how,
  .reviews,
  .faq,
  footer {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
  }

  .nav {
    grid-template-columns: auto 1fr auto;
    min-height: 78px;
    padding: 0 18px;
  }

  .menu-toggle { display: block; }
  .nav-left { display: none; }
  .brand { font-size: 23px; }
  .mobile-panel.open { display: grid; gap: 14px; }
  .mobile-panel a { color: #9a7a64; font-weight: 800; text-transform: uppercase; font-size: 13px; }

  .portfolio-gallery { padding-top: 44px; }
  .portfolio-gallery-header { align-items: start; }
  .portfolio-gallery-header .pill { flex: 0 0 auto; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .portfolio-card img { padding: 6px; }
  .portfolio-card > div { padding: 12px 10px 14px; }
  .portfolio-card h3 { font-size: 17px; }
  .portfolio-card p { font-size: 12px; }

  .apparel-dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
  }

  .apparel-dialog-shell { padding: 20px 16px; }
  .apparel-dialog-header h2 { font-size: 27px; }
  .apparel-fields { grid-template-columns: 1fr; }
  .apparel-style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apparel-upload { align-items: start; }
  .apparel-generate { width: 100%; }

  .whatsapp-widget {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 54px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 50%;
    background: #25d366;
  }

  .whatsapp-widget-copy { display: none; }

  .whatsapp-widget-icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    box-shadow: 0 10px 28px rgba(25, 91, 54, .3);
  }

  .whatsapp-widget-icon svg {
    width: 29px;
    height: 29px;
  }

  .hero,
  .hero img {
    height: 500px;
    min-height: 500px;
  }

  .hero-copy {
    left: 24px;
    right: 24px;
    bottom: 34px;
  }

  .hero-controls {
    top: 18px;
    right: 18px;
    bottom: auto;
  }

  .category-grid,
  .product-grid,
  .split,
  .steps,
  .review-row,
  footer {
    grid-template-columns: 1fr;
  }

  .split { gap: 24px; }
}

.offline-page {
  min-height: 100vh;
  margin: 0;
  background: #edf1eb;
}

.offline-main {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 100vh;
  padding: 42px 20px;
  text-align: center;
}

.offline-main img {
  width: 96px;
  height: 96px;
  margin-bottom: 22px;
  border-radius: 8px;
}

.offline-main h1 {
  margin: 0;
  color: #2f3932;
  font-size: 48px;
}

.offline-main > p:not(.eyebrow) {
  max-width: 520px;
  margin: 16px 0 26px;
  color: #687069;
  font-size: 15px;
  line-height: 1.65;
}

.offline-main .generate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 170px;
  padding: 0 22px;
}

.seo-page {
  background: #fff;
}

.seo-header {
  margin-bottom: 18px;
}

.seo-header .header-text-link {
  justify-self: end;
}

.seo-main {
  width: calc(100% - (var(--page-gutter) * 2));
  max-width: var(--page-width);
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 36px;
  color: #7d837e;
  font-size: 11px;
}

.breadcrumbs a {
  color: #526958;
  font-weight: 800;
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  height: 600px;
  overflow: hidden;
  border-radius: 8px;
  background: #f1f3ef;
}

.seo-hero > img {
  width: min(calc(100% - 40px), 560px);
  height: auto;
  aspect-ratio: 1;
  align-self: center;
  justify-self: center;
  min-width: 0;
  object-fit: contain;
  object-position: center;
}

.seo-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 54px clamp(34px, 4vw, 68px);
  background: #e8ece6;
}

.seo-hero-copy p {
  margin: 0 0 7px;
  color: #8f674f;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.seo-hero-copy h1 {
  max-width: 680px;
  margin: 0 0 20px;
  color: #29322b;
  font-size: 54px;
  line-height: 1.04;
}

.seo-content {
  max-width: 1260px;
  margin: 0 auto;
  padding: 86px 0;
}

.seo-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: start;
}

.seo-content h2,
.seo-band h2 {
  margin: 0;
  color: #303a33;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
}

.seo-content p:not(.eyebrow),
.seo-facts span {
  color: #656d67;
  font-size: 16px;
  line-height: 1.75;
}

.seo-content p:first-child:not(.eyebrow) {
  margin-top: 0;
}

.seo-content .seo-lead {
  max-width: 850px;
  margin: 20px 0;
  font-size: 18px;
}

.seo-band {
  padding: 70px clamp(24px, 5vw, 80px);
  background: #3f5446;
  color: #fff;
}

.seo-band h2 {
  max-width: 880px;
  color: #fff;
}

.seo-links,
.seo-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 42px;
}

.seo-links a {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.seo-facts p {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .45);
}

.seo-facts strong {
  color: #fff;
  font-size: 15px;
}

.seo-facts span {
  color: #dfe6df;
  font-size: 14px;
}

.seo-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: portrait-step;
}

.seo-process li {
  display: grid;
  gap: 9px;
  padding-top: 20px;
  border-top: 2px solid #738776;
  counter-increment: portrait-step;
}

.seo-process li::before {
  content: "0" counter(portrait-step);
  color: #a4745b;
  font-size: 11px;
  font-weight: 800;
}

.seo-process span {
  color: #6d746e;
  font-size: 14px;
  line-height: 1.6;
}

.about-designs {
  scroll-margin-top: 150px;
  padding: 76px clamp(24px, 4vw, 64px);
  background: #f5f6f3;
}

.about-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: end;
  margin-bottom: 32px;
}

.about-section-head h2,
.about-create h2 {
  margin: 0;
  color: #303a33;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
}

.about-section-head > p {
  margin: 0;
  color: #656d67;
  font-size: 15px;
  line-height: 1.65;
}

.about-design-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-design-card {
  overflow: hidden;
  border: 1px solid #e2e5df;
  border-radius: 7px;
  background: #fff;
}

.about-design-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about-design-card > div { padding: 16px; }
.about-design-card .eyebrow { margin: 0 0 6px; font-size: 10px; }
.about-design-card h3 { margin: 0 0 8px; font-size: 19px; }
.about-design-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.about-design-card p:not(.eyebrow) { min-height: 42px; margin: 0; color: #6b716d; font-size: 12px; line-height: 1.5; }

.about-option-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.about-option-links a {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-top: 1px solid #bfc8c0;
}

.about-option-links strong { color: #34433a; font-size: 14px; }
.about-option-links span { color: #747b76; font-size: 12px; line-height: 1.45; }

.about-create {
  display: grid;
  grid-template-columns: minmax(360px, .86fr) minmax(0, 1.14fr);
  align-items: stretch;
  min-height: 520px;
  background: #e6ebe5;
}

.about-create > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.about-create > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 56px clamp(34px, 6vw, 88px);
}

.about-create > div > p:not(.eyebrow) {
  max-width: 640px;
  margin: 18px 0 12px;
  color: #5f6a62;
  font-size: 16px;
  line-height: 1.65;
}

.about-create ul {
  display: grid;
  gap: 8px;
  margin: 0 0 25px;
  padding-left: 20px;
  color: #48564d;
  font-size: 13px;
  line-height: 1.5;
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  color: #526958;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

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

@media (max-width: 820px) {
  .seo-main {
    width: 100%;
  }

  .breadcrumbs {
    padding: 0 18px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .seo-hero {
    grid-template-columns: 1fr;
    height: auto;
    border-radius: 0;
  }

  .seo-hero > img {
    width: calc(100% - 28px);
    height: auto;
    aspect-ratio: 1;
  }

  .seo-hero-copy {
    padding: 30px 18px 34px;
  }

  .seo-hero-copy h1 {
    font-size: 38px;
  }

  .seo-content {
    padding: 62px 18px;
  }

  .seo-grid,
  .seo-links,
  .seo-facts,
  .seo-process,
  .about-section-head,
  .about-create {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .seo-band {
    padding: 54px 18px;
  }

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

  .about-designs {
    scroll-margin-top: 120px;
    padding: 58px 18px;
  }

  .about-design-grid,
  .about-option-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-design-card > div { padding: 13px; }
  .about-design-card h3 { font-size: 17px; }
  .about-design-card p:not(.eyebrow) { min-height: 54px; }

  .about-create { min-height: 0; gap: 0; }
  .about-create > img { min-height: 0; aspect-ratio: 1 / 1; }
  .about-create > div { padding: 42px 18px 48px; }
}

.studio-page {
  background: #f7f8f5;
}

.studio-header {
  margin-bottom: 0;
}

.studio-main {
  width: calc(100% - (var(--page-gutter) * 2));
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 64px 0 90px;
}

.studio-intro {
  max-width: 720px;
  margin-bottom: 46px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #9a755f;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.studio-intro h1 {
  margin: 0;
  color: #29322b;
  font-size: 54px;
  line-height: 1.04;
}

.studio-intro > p:last-child {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.model-state {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
}

.model-state span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c5a567;
  box-shadow: 0 0 0 4px rgba(197, 165, 103, .15);
}

.model-state.ready span {
  background: #5b8c67;
  box-shadow: 0 0 0 4px rgba(91, 140, 103, .15);
}

.model-state.missing span {
  background: #c16b5d;
  box-shadow: 0 0 0 4px rgba(193, 107, 93, .14);
}

.maker-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  gap: 54px;
  align-items: start;
}

.upload-zone {
  position: relative;
  display: grid;
  min-height: 560px;
  overflow: hidden;
  border: 1px dashed #b9bdb6;
  border-radius: 8px;
  background: #eef0eb;
  transition: border-color .2s ease, background .2s ease;
}

.upload-zone.dragging {
  border-color: var(--sage);
  background: #e7ece4;
}

.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-empty {
  place-self: center;
  padding: 36px;
  text-align: center;
}

.upload-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  border: 1px solid #aeb5aa;
  border-radius: 50%;
  color: #59675c;
  font-size: 30px;
  font-weight: 300;
}

.upload-empty h2 {
  margin: 0 0 9px;
  color: #344038;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 23px;
}

.upload-empty p,
.photo-tip {
  color: #747a73;
  font-size: 13px;
}

.upload-empty p {
  margin: 0 0 22px;
}

.secondary-button,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid #9ca59b;
  border-radius: 4px;
  background: transparent;
  color: #39453c;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.upload-preview {
  position: relative;
  width: 100%;
  height: 100%;
}

.upload-preview img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.replace-button {
  position: absolute;
  right: 16px;
  bottom: 16px;
  min-height: 40px;
  padding: 0 17px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, .92);
  color: #354039;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.photo-tip {
  margin: 12px 0 0;
  line-height: 1.5;
}

.style-column {
  display: grid;
  gap: 28px;
}

.field-row {
  display: grid;
  gap: 9px;
}

.field-row label,
.style-column legend {
  color: #323b35;
  font-size: 14px;
  font-weight: 800;
}

.field-row label span,
.style-column legend span {
  margin-left: 6px;
  color: #858b86;
  font-size: 12px;
  font-weight: 400;
}

.field-row input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #ced1cb;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.style-column fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.style-column legend {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 13px;
}

.portrait-count-fieldset {
  margin-bottom: 24px;
}

.portrait-count-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.portrait-count-picker label {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 74px;
  padding: 10px 6px;
  border: 1px solid #d7d9d4;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}

.portrait-count-picker label:has(input:checked) {
  border-color: #5d7462;
  background: #edf1eb;
  box-shadow: inset 0 0 0 1px #5d7462;
}

.portrait-count-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.portrait-count-picker span {
  color: #304136;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.portrait-count-picker small {
  color: #747b76;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.style-guidance {
  margin: -7px 0 14px;
  color: #747b76;
  font-size: 12px;
  line-height: 1.45;
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.style-option {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d7d9d4;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.style-option.selected {
  border-color: #5d7462;
  box-shadow: inset 0 0 0 1px #5d7462;
}

.style-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.style-example {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / .78;
  overflow: hidden;
  background: #f4f2ee;
}

.style-example img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.style-example i {
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #405445;
  color: #fff;
  font-size: 13px;
  font-style: normal;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .18s ease, transform .18s ease;
}

.style-option.selected .style-example i {
  opacity: 1;
  transform: scale(1);
}

.style-option strong {
  padding: 13px 13px 0;
  color: #38413b;
  font-size: 14px;
}

.style-option small {
  min-height: 48px;
  padding: 5px 13px 14px;
  color: #7b817c;
  font-size: 11px;
  line-height: 1.35;
}

.generate-button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 4px;
  background: #405445;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.generate-button:disabled {
  background: #b7bcb7;
  cursor: not-allowed;
}

.generation-status {
  padding: 17px 0;
  border-top: 1px solid #dfe1dc;
  border-bottom: 1px solid #dfe1dc;
}

.status-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #3d4940;
  font-size: 13px;
}

.progress-track {
  height: 5px;
  margin: 12px 0;
  overflow: hidden;
  background: #dcdfda;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: #708573;
  transition: width .35s ease;
}

.generation-status p,
.form-error {
  margin: 0;
  color: #737b75;
  font-size: 12px;
  line-height: 1.45;
}

.form-error {
  color: #a5483d;
}

.portrait-results {
  padding-top: 90px;
  scroll-margin-top: 170px;
}

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

.results-head h2 {
  margin: 0;
  color: #2f3932;
  font-size: 42px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.result-card {
  overflow: hidden;
  border: 1px solid #e0e2dd;
  border-radius: 8px;
  background: #fff;
}

.result-card > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.result-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
}

.result-card h3 {
  margin: 0;
  font-size: 15px;
}

.result-details {
  display: grid;
  gap: 4px;
}

.result-frame-status {
  margin: 0;
  color: #a14f3e;
  font-size: 12px;
  font-weight: 700;
}

.result-card.framed {
  border-color: #879b88;
}

.result-card.framed .result-frame-status {
  color: #4e6953;
}

.result-actions {
  display: flex;
  gap: 8px;
}

.download-button {
  min-height: 36px;
  padding: 0 14px;
}

.frame-choice-button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: #405445;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.draft-save-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #aeb9ae;
  border-radius: 4px;
  background: #fff;
  color: #405445;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.draft-save-button:disabled,
.frame-save-button:disabled {
  cursor: wait;
  opacity: .6;
}

.checkout-section {
  padding-top: 96px;
  scroll-margin-top: 165px;
}

.checkout-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid #dfe2dc;
}

.checkout-head h2 {
  margin: 0;
  color: #2f3932;
  font-size: 42px;
}

.checkout-steps {
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a918b;
  font-size: 12px;
  font-weight: 800;
}

.checkout-steps span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid #c9cdc7;
  border-radius: 50%;
}

.checkout-steps .complete,
.checkout-steps .active {
  color: #405445;
}

.checkout-steps .complete span,
.checkout-steps .active span {
  border-color: #405445;
  background: #405445;
  color: #fff;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(420px, .92fr) minmax(480px, 1.08fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: start;
}

.frame-stage {
  display: grid;
  place-items: center;
  min-height: 610px;
  padding: clamp(28px, 5vw, 70px);
  background: #e8ece6;
}

.checkout-frame {
  --frame-color: #cba779;
  width: min(100%, 520px);
  aspect-ratio: 1;
  padding: 22px;
  background: var(--frame-color);
  box-shadow: 0 18px 45px rgba(44, 50, 45, .18), inset 0 0 0 2px rgba(255, 255, 255, .22), inset 0 0 0 5px rgba(38, 29, 20, .1);
  transition: background .2s ease, box-shadow .2s ease;
}

.checkout-frame[data-frame="black"] {
  --frame-color: #25282a;
}

.checkout-frame[data-frame="walnut"] {
  --frame-color: #75503b;
}

.checkout-frame[data-frame="white"] {
  --frame-color: #f4f2ec;
  box-shadow: 0 18px 45px rgba(44, 50, 45, .15), inset 0 0 0 2px #d7d6d0, inset 0 0 0 5px rgba(60, 60, 55, .06);
}

.frame-mat {
  width: 100%;
  height: 100%;
  padding: 30px;
  background: #f8f7f2;
  box-shadow: inset 0 0 0 1px #dddcd5;
}

.frame-mat img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: #3c463f;
  font-size: 13px;
}

.preview-caption span {
  color: #7a817b;
}

.frame-picker,
.shipping-picker {
  margin: 30px 0 0;
  padding: 0;
  border: 0;
}

.frame-picker legend,
.shipping-picker legend {
  margin-bottom: 12px;
  color: #323b35;
  font-size: 14px;
  font-weight: 800;
}

.frame-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.frame-option {
  display: grid;
  justify-items: center;
  gap: 9px;
  min-height: 90px;
  padding: 12px 7px;
  border: 1px solid #d4d8d1;
  border-radius: 6px;
  background: #fff;
  color: #444d47;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.frame-option.selected {
  border-color: #5f7562;
  box-shadow: inset 0 0 0 1px #5f7562;
}

.frame-swatch {
  display: block;
  width: 32px;
  height: 32px;
  border: 7px solid #cba779;
  background: #f8f7f2;
  box-shadow: 0 2px 6px rgba(42, 47, 43, .14);
}

.frame-swatch.black { border-color: #25282a; }
.frame-swatch.walnut { border-color: #75503b; }
.frame-swatch.white { border-color: #f4f2ec; box-shadow: 0 0 0 1px #d5d6d1; }

.frame-save-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.frame-save-row > span {
  color: #5c665f;
  font-size: 13px;
  font-weight: 800;
}

.frame-save-button {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  background: #405445;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.cart-column {
  min-width: 0;
}

.cart-gate {
  padding: 28px;
  border: 1px solid #d8ddd6;
  border-radius: 8px;
  background: #f4f6f2;
}

.cart-gate h3 {
  margin: 0 0 10px;
  color: #303833;
  font-family: Georgia, serif;
  font-size: 28px;
}

.cart-gate > p:not(.section-number) {
  margin: 0;
  color: #687169;
  line-height: 1.6;
}

.frame-checklist {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.frame-checklist li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-top: 1px solid #d8ddd6;
  color: #3e4841;
  font-size: 13px;
}

.frame-checklist strong {
  color: #a14f3e;
  text-align: right;
}

.frame-checklist .complete strong {
  color: #4e6953;
}

.checkout-form {
  padding-top: 2px;
}

.checkout-form-head h3 {
  margin: 0 0 24px;
  color: #303833;
  font-family: Georgia, serif;
  font-size: 30px;
}

.address-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.address-grid label {
  display: grid;
  gap: 7px;
  color: #3a433d;
  font-size: 12px;
  font-weight: 800;
}

.address-grid label span {
  color: #8b918c;
  font-weight: 400;
}

.address-grid .full-field {
  grid-column: 1 / -1;
}

.address-grid input {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1px solid #cdd1cb;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.address-grid input:focus {
  outline: 2px solid rgba(95, 117, 98, .28);
  outline-offset: 1px;
  border-color: #5f7562;
}

.shipping-picker {
  display: grid;
  gap: 9px;
}

.shipping-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 66px;
  padding: 12px 14px;
  border: 1px solid #d4d8d1;
  border-radius: 6px;
  cursor: pointer;
}

.shipping-option.selected {
  border-color: #5f7562;
  background: #f2f5f0;
}

.shipping-option input {
  width: 16px;
  height: 16px;
  accent-color: #405445;
}

.shipping-option span {
  display: grid;
  gap: 4px;
}

.shipping-option strong,
.shipping-option b {
  color: #39433c;
  font-size: 13px;
}

.shipping-option small {
  color: #7d847e;
  font-size: 11px;
}

.order-summary {
  display: grid;
  gap: 11px;
  margin: 28px 0 22px;
  padding: 20px 0;
  border-top: 1px solid #dfe2dc;
  border-bottom: 1px solid #dfe2dc;
}

.order-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #626a64;
  font-size: 13px;
}

.order-summary .cart-items {
  display: grid;
  padding: 0;
}

.order-summary .cart-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #dfe2dc;
}

.order-summary strong {
  color: #303933;
}

.order-summary .order-total {
  margin-top: 5px;
  color: #29332c;
  font-size: 16px;
  font-weight: 800;
}

.payment-section {
  margin: 28px 0 22px;
  padding: 24px;
  border: 1px solid #d6dbd4;
  border-radius: 8px;
  background: #f6f8f4;
}

.payment-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.payment-heading h4 {
  margin: 0;
  color: #303833;
  font-family: Georgia, serif;
  font-size: 23px;
}

.payment-heading > strong {
  color: #344139;
  font-size: 17px;
}

.payment-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px 0;
  padding: 3px;
  border: 1px solid #d2d7d0;
  border-radius: 6px;
  background: #e8ece6;
}

.payment-tab {
  min-height: 40px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #687169;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.payment-tab.selected {
  background: #fff;
  color: #35443a;
  box-shadow: 0 1px 4px rgba(45, 54, 48, .12);
}

.payment-panel > p {
  margin: 0 0 14px;
  color: #5e6760;
  font-size: 13px;
  line-height: 1.5;
}

.payment-panel > small {
  display: block;
  margin-top: 11px;
  color: #7d857e;
  font-size: 10px;
  line-height: 1.45;
}

.upi-apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.payment-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #788a7a;
  border-radius: 4px;
  background: #fff;
  color: #3e5042;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.payment-link[aria-disabled="true"] {
  border-color: #c8cdc7;
  background: #ecefeb;
  color: #979d98;
  cursor: not-allowed;
}

.card-payment-link {
  width: 100%;
  background: #405445;
  color: #fff;
}

.payment-setup-message {
  min-height: 17px;
  margin: 15px 0;
  color: #6e766f;
  font-size: 11px;
  line-height: 1.45;
}

.payment-confirmation {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding-top: 15px;
  border-top: 1px solid #d6dbd4;
  color: #414b44;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.payment-confirmation input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #405445;
}

.checkout-note {
  margin: 11px 0 0;
  color: #7d847e;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.booking-confirmation {
  max-width: 780px;
  margin: 96px auto 0;
  padding: 56px;
  border: 1px solid #d9ded7;
  border-radius: 8px;
  background: #f1f5ef;
  text-align: center;
}

.confirmation-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #405445;
  color: #fff;
  font-size: 22px;
}

.booking-confirmation h2 {
  margin: 0;
  color: #2f3932;
  font-size: 42px;
}

.booking-confirmation > p:not(.eyebrow) {
  max-width: 610px;
  margin: 15px auto 0;
  color: #687069;
  font-size: 14px;
  line-height: 1.6;
}

.confirmation-details {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 30px 0;
  padding: 20px 0;
  border-top: 1px solid #d3d9d1;
  border-bottom: 1px solid #d3d9d1;
}

.confirmation-details div {
  padding: 0 12px;
  border-right: 1px solid #d3d9d1;
}

.confirmation-details div:last-child {
  border-right: 0;
}

.confirmation-details dt {
  color: #858d86;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.confirmation-details dd {
  margin: 7px 0 0;
  color: #38423b;
  font-size: 12px;
  font-weight: 800;
}

.confirmation-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.confirmation-actions .generate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 160px;
  padding: 0 20px;
}

.studio-assurance {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 112px;
  border-top: 1px solid #d8ddd6;
  border-bottom: 1px solid #d8ddd6;
}

.studio-assurance article {
  min-width: 0;
  padding: 28px 24px;
}

.studio-assurance article + article {
  border-left: 1px solid #d8ddd6;
}

.studio-assurance strong,
.studio-assurance span {
  display: block;
}

.studio-assurance strong {
  margin-bottom: 7px;
  color: #304136;
  font-size: 15px;
}

.studio-assurance span {
  color: #6d756f;
  font-size: 13px;
  line-height: 1.5;
}

.studio-process {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  gap: 72px;
  align-items: center;
  padding: 112px 0;
}

.studio-process-image {
  min-width: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #e7ebe5;
}

.studio-process-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.studio-process-copy h2,
.studio-section-heading h2,
.studio-final-cta h2 {
  margin: 0;
  color: #29322b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.04;
}

.studio-process-lead {
  max-width: 620px;
  margin: 20px 0 32px;
  color: #656d67;
  font-size: 17px;
  line-height: 1.7;
}

.studio-process-steps {
  display: grid;
  gap: 0;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d8ddd6;
}

.studio-process-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #d8ddd6;
}

.studio-process-steps li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #405445;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.studio-process-steps strong {
  color: #304136;
  font-size: 16px;
}

.studio-process-steps p {
  margin: 6px 0 0;
  color: #6d756f;
  font-size: 14px;
  line-height: 1.55;
}

.studio-inline-cta {
  display: inline-flex;
  width: auto;
  min-width: 190px;
  padding: 0 24px;
}

.studio-frame-guide,
.studio-reviews,
.studio-faq {
  padding: 96px 0;
  border-top: 1px solid #d8ddd6;
}

.studio-frame-guide {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 72px;
  align-items: start;
}

.studio-section-heading > p:last-child {
  max-width: 520px;
  margin: 18px 0 0;
  color: #6d756f;
  line-height: 1.65;
}

.studio-frame-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 36px;
}

.studio-frame-grid article {
  min-width: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid #d8ddd6;
}

.studio-frame-sample {
  display: block;
  width: 100%;
  aspect-ratio: 1.7 / 1;
  margin-bottom: 18px;
  border: 14px solid #c8a478;
  background: linear-gradient(135deg, #f7f4ef 0 46%, #d8e0d5 46% 54%, #f7f4ef 54%);
  box-shadow: inset 0 0 0 12px #fff;
}

.studio-frame-sample.black { border-color: #252728; }
.studio-frame-sample.walnut { border-color: #6e4935; }
.studio-frame-sample.white { border-color: #fff; box-shadow: 0 0 0 1px #d7dbd5, inset 0 0 0 12px #fff; }

.studio-frame-grid strong {
  color: #304136;
  font-size: 17px;
}

.studio-frame-grid p {
  margin: 7px 0 0;
  color: #6d756f;
  font-size: 14px;
  line-height: 1.55;
}

.studio-reviews .studio-section-heading,
.studio-faq .studio-section-heading {
  max-width: 700px;
  margin-bottom: 40px;
}

.studio-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.studio-review-grid figure {
  margin: 0;
  padding: 30px;
  border: 1px solid #d8ddd6;
  border-radius: 6px;
  background: #fff;
}

.studio-review-grid blockquote {
  margin: 0 0 28px;
  color: #2e3831;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.45;
}

.studio-review-grid figcaption {
  color: #9a755f;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.studio-faq {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 72px;
}

.studio-faq-list .faq-item {
  width: 100%;
}

.studio-faq-list > p {
  display: none;
  margin: 0;
  padding: 0 44px 22px 0;
  color: #667068;
  line-height: 1.65;
}

.studio-faq-list .faq-item.open + p {
  display: block;
}

.studio-final-cta {
  padding: 96px 32px;
  border-radius: 6px;
  background: #dfe7dd;
  text-align: center;
}

.studio-final-cta p:not(.eyebrow) {
  max-width: 650px;
  margin: 18px auto 28px;
  color: #56645b;
  font-size: 17px;
  line-height: 1.6;
}

.studio-footer {
  width: calc(100% - (var(--page-gutter) * 2));
  max-width: var(--page-width);
  margin: 0 auto;
  border-top: 1px solid #d8ddd6;
}

@media (max-width: 820px) {
  .studio-main {
    width: 100%;
    max-width: none;
    padding: 42px 18px 70px;
  }

  .studio-intro {
    margin-bottom: 30px;
  }

  .studio-intro h1 {
    font-size: 40px;
  }

  .model-state {
    justify-self: end;
  }

  .model-state strong {
    display: none;
  }

  .maker-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .upload-zone,
  .upload-preview img {
    min-height: 420px;
  }

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

  .result-card > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-actions {
    width: 100%;
  }

  .result-actions > * {
    flex: 1;
  }

  .portrait-results {
    padding-top: 64px;
  }

  .studio-assurance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 76px;
  }

  .studio-assurance article:nth-child(3) {
    border-left: 0;
  }

  .studio-assurance article:nth-child(n + 3) {
    border-top: 1px solid #d8ddd6;
  }

  .studio-process,
  .studio-frame-guide,
  .studio-faq {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .studio-process {
    padding: 76px 0;
  }

  .studio-process-copy h2,
  .studio-section-heading h2,
  .studio-final-cta h2 {
    font-size: 38px;
  }

  .studio-frame-guide,
  .studio-reviews,
  .studio-faq {
    padding: 72px 0;
  }

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

  .studio-final-cta {
    padding: 68px 20px;
  }

  .studio-footer {
    width: calc(100% - 36px);
    max-width: none;
  }

  .results-head h2 {
    font-size: 34px;
  }

  .checkout-section {
    padding-top: 70px;
  }

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

  .checkout-head h2 {
    font-size: 34px;
  }

  .checkout-steps {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .checkout-steps li {
    gap: 5px;
    font-size: 10px;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .frame-stage {
    min-height: 0;
    padding: 28px;
  }

  .checkout-frame {
    padding: 15px;
  }

  .frame-mat {
    padding: 20px;
  }

  .frame-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .frame-save-row {
    align-items: stretch;
    flex-direction: column;
  }

  .frame-save-button {
    width: 100%;
  }

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

  .address-grid .full-field {
    grid-column: auto;
  }

  .booking-confirmation {
    margin-top: 70px;
    padding: 38px 20px;
  }

  .booking-confirmation h2 {
    font-size: 34px;
  }

  .confirmation-details {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }

  .confirmation-details div {
    border-right: 0;
  }

  .confirmation-actions {
    flex-direction: column;
  }

  .confirmation-actions > * {
    width: 100%;
  }
}

.contact-page {
  background: #fbfbf9;
}

.contact-header {
  margin-bottom: 0;
}

.header-text-link {
  color: #9a755f;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-main {
  width: calc(100% - (var(--page-gutter) * 2));
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 72px 0 110px;
}

.contact-intro {
  max-width: 850px;
  margin-bottom: 64px;
}

.contact-intro h1 {
  margin: 0;
  color: #292f2b;
  font-size: 62px;
  line-height: 1.05;
}

.contact-intro > p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.contact-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 980px);
  gap: clamp(50px, 8vw, 140px);
  align-items: start;
}

.contact-nav {
  position: sticky;
  top: 180px;
  display: grid;
  gap: 15px;
  padding-top: 8px;
}

.contact-nav span {
  margin-bottom: 6px;
  color: #8c918d;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-nav a {
  color: #5f6a62;
  font-size: 14px;
  font-weight: 800;
}

.contact-content {
  min-width: 0;
}

.contact-faq,
.contact-support {
  padding: 8px 0 76px;
  scroll-margin-top: 190px;
}

.contact-faq + .contact-faq,
.contact-support {
  padding-top: 70px;
  border-top: 1px solid #dfe2dc;
}

.section-number {
  margin: 0 0 10px;
  color: #a27c64;
  font-size: 12px;
  font-weight: 800;
}

.contact-faq h2,
.contact-support h2 {
  margin: 0 0 25px;
  color: #303833;
  font-size: 42px;
}

.contact-faq .faq-item {
  min-height: 70px;
  padding: 0;
  color: #303632;
  font-size: 15px;
}

.contact-faq .faq-item span {
  flex: 0 0 auto;
  margin-left: 24px;
  color: #9a755f;
  font-size: 22px;
  font-weight: 400;
  transition: transform .2s ease;
}

.contact-faq .answer {
  display: none;
  padding: 0 54px 22px 0;
}

.contact-faq .faq-item.open + .answer {
  display: block;
}

.contact-faq .answer p,
.contact-support > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.contact-support > p {
  max-width: 720px;
}

.contact-email {
  display: inline-block;
  margin: 26px 0 14px;
  color: #526958;
  font-family: Georgia, serif;
  font-size: 30px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.contact-support .response-time {
  color: #888e89;
  font-size: 12px;
}

@media (max-width: 820px) {
  .contact-main {
    width: 100%;
    padding: 46px 18px 78px;
  }

  .contact-intro {
    margin-bottom: 42px;
  }

  .contact-intro h1 {
    font-size: 42px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .contact-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 18px;
    padding-bottom: 22px;
    border-bottom: 1px solid #dfe2dc;
  }

  .contact-nav span {
    grid-column: 1 / -1;
  }

  .contact-faq,
  .contact-support {
    padding-bottom: 58px;
  }

  .contact-faq + .contact-faq,
  .contact-support {
    padding-top: 52px;
  }

  .contact-faq h2,
  .contact-support h2 {
    font-size: 34px;
  }

  .contact-email {
    font-size: 24px;
  }
}
