/* ============================================================
   Mile Marker — Premium CSS
   Palette: midnight navy #0d1b2a | cream #f5f3ee | gold #d8a657 | muted #9bb0c4
   Type: Cormorant Garamond (serif) + Inter (sans)
   ============================================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0d1b2a;
  --bg-mid:    #112236;
  --bg-card:   #142840;
  --ink:       #f5f3ee;
  --ink-dim:   #c8d4de;
  --muted:     #9bb0c4;
  --accent:    #d8a657;
  --accent-dk: #b88c3e;
  --border:    rgba(216,166,87,0.18);
  --border-hi: rgba(216,166,87,0.50);
  --serif:     'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:      'Inter', 'Helvetica Neue', Arial, sans-serif;
  --radius:    10px;
  --radius-lg: 20px;
  --trans:     0.22s ease;

  /* Spacing scale — used consistently across all sections */
  --space-xs:   8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  64px;
  --space-2xl: 96px;
  --space-3xl: 128px;

  /* Container */
  --max-w:     1160px;
  --pad-x:     clamp(20px, 4vw, 48px);
}

html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--sans); border: none; background: none; }
input, select, textarea { font-family: var(--sans); }

/* ---------- Typography ---------- */
.serif { font-family: var(--serif); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Consistent type scale */
h1 { font-size: clamp(3rem, 6.5vw, 5.5rem); font-weight: 600; }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); font-weight: 600; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: 0.01em; }

p { color: var(--ink-dim); }
p + p { margin-top: 1em; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.container--narrow { max-width: 760px; }

/* Consistent section rhythm — each section handles its own padding via class */
section { padding: var(--space-2xl) 0; }

/* ---------- Section labels (eyebrows) ---------- */
.section-label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  display: block;
}

/* ---------- Gold decorative rule ---------- */
.gold-line {
  width: 36px;
  height: 1.5px;
  background: var(--accent);
  margin: var(--space-md) auto;
  opacity: 0.8;
}
.gold-line--left { margin-left: 0; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,27,42,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__logo {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  transition: opacity var(--trans);
}
.nav__logo:hover { opacity: 0.8; }
.nav__logo span { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition: color var(--trans);
  position: relative;
}
.nav__links a:not(.nav__cta)::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans);
}
.nav__links a:not(.nav__cta):hover { color: var(--ink); }
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }

.nav__cta {
  background: var(--accent);
  color: var(--bg) !important;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 9px 22px;
  border-radius: 6px;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  white-space: nowrap;
}
.nav__cta:hover {
  background: var(--accent-dk);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(216,166,87,0.3);
}

/* Mobile nav */
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--trans); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 15px 36px;
  border-radius: 8px;
  transition: background var(--trans), transform var(--trans), opacity var(--trans), box-shadow var(--trans), border-color var(--trans), color var(--trans);
  cursor: pointer;
  border: 1.5px solid transparent;
  font-family: var(--sans);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(216,166,87,0.28);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-hi);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn--large { font-size: 1rem; padding: 18px 48px; border-radius: 10px; }
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.pexels.com/photos/1555354/pexels-photo-1555354.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=900&w=1400');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

/* Multi-stop scrim: strong navy on left, gentle translucency across middle, fades on right */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(13,27,42,0.35) 0%,
      rgba(13,27,42,0.20) 100%
    ),
    linear-gradient(
      100deg,
      rgba(13,27,42,0.98) 0%,
      rgba(13,27,42,0.90) 38%,
      rgba(13,27,42,0.60) 62%,
      rgba(13,27,42,0.28) 85%,
      rgba(13,27,42,0.12) 100%
    );
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: clamp(100px, 14vh, 160px);
  padding-bottom: clamp(80px, 12vh, 140px);
}

.hero::before { display: none; }

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.hero__eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
  flex-shrink: 0;
}

.hero__headline {
  margin-bottom: var(--space-md);
  line-height: 1.08;
}

.hero__headline em {
  font-style: italic;
  color: var(--accent);
  display: block;
}

.hero__sub {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink-dim);
  margin-bottom: var(--space-lg);
  max-width: 440px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.hero__trust {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.07em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__trust::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--muted);
  opacity: 0.5;
}

/* Hero print preview */
.hero__preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  position: relative;
}

/* Decorative glow behind print */
.hero__preview::before {
  content: '';
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse at center, rgba(216,166,87,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__print {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
  border-radius: 3px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 24px 60px rgba(0,0,0,0.5),
    0 48px 100px rgba(0,0,0,0.4);
  position: relative;
  z-index: 1;
}

.hero__print svg { width: 100%; height: 100%; }

.hero__caption {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  opacity: 0.75;
  z-index: 1;
  position: relative;
}

/* ---------- How It Works ---------- */
.hiw {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hiw__head { text-align: center; margin-bottom: var(--space-xl); }
.hiw__head h2 { margin-bottom: var(--space-sm); }
.hiw__head p { font-size: 1.05rem; max-width: 460px; margin: 0 auto; color: var(--muted); }

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

.hiw__step { text-align: center; }

.hiw__icon {
  width: 60px;
  height: 60px;
  border: 1.5px solid var(--border-hi);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 1.5rem;
  background: rgba(216,166,87,0.05);
  transition: border-color var(--trans), background var(--trans);
}
.hiw__step:hover .hiw__icon {
  border-color: var(--accent);
  background: rgba(216,166,87,0.1);
}

.hiw__step h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.6rem;
}
.hiw__step p { color: var(--muted); line-height: 1.7; font-size: 0.95rem; }

/* ---------- Why Different ---------- */
.why { }
.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.why__copy h2 { margin-bottom: var(--space-md); }
.why__copy > p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  color: var(--muted);
}

.why__list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.why__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ink-dim);
  line-height: 1.6;
}
.why__list li::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 3px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230d1b2a'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.why__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.why__prints {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.why__print {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
}

.why__print svg { width: 100%; height: auto; }

/* ---------- Lifestyle — On your wall ---------- */
.lifestyle {
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
}

.lifestyle__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.pexels.com/photos/4112598/pexels-photo-4112598.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=900&w=1400');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.lifestyle__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(13,27,42,0.05) 0%,
    rgba(13,27,42,0.45) 45%,
    rgba(13,27,42,0.92) 80%,
    rgba(13,27,42,0.97) 100%
  );
}

.lifestyle .container {
  position: relative;
  z-index: 1;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.lifestyle__inner { display: flex; justify-content: flex-end; }

.lifestyle__copy {
  max-width: 460px;
  text-align: right;
}

.lifestyle__copy .section-label { text-align: right; }
.lifestyle__copy h2 { margin-bottom: var(--space-sm); }
.lifestyle__copy p {
  margin-bottom: var(--space-lg);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

.lifestyle__prints {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-top: var(--space-lg);
}

.lifestyle__print-card {
  width: 110px;
  aspect-ratio: 3/4;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 10px #1a1a1a, 0 0 0 12px #2a2a2a, 0 24px 60px rgba(0,0,0,0.8);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.lifestyle__print-card:hover { transform: translateY(-8px); }
.lifestyle__print-card svg { width: 100%; height: 100%; }

/* ---------- Pricing ---------- */
.pricing {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
}

.pricing__head { text-align: center; margin-bottom: var(--space-xl); }
.pricing__head h2 { margin-bottom: var(--space-sm); }
.pricing__head p { font-size: 1.05rem; max-width: 460px; margin: 0 auto; color: var(--muted); }

.pricing__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing__card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}
.pricing__card:hover {
  border-color: var(--border-hi);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

.pricing__card--featured {
  border-color: rgba(216,166,87,0.55);
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(216,166,87,0.2);
}
.pricing__card--featured:hover {
  transform: scale(1.04) translateY(-4px);
  border-color: var(--accent);
}

.pricing__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing__size {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-xs);
}

.pricing__price {
  font-family: var(--serif);
  font-size: 3.8rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.pricing__desc {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.pricing__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-lg);
}

.pricing__features li {
  font-size: 0.875rem;
  color: var(--ink-dim);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.pricing__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pricing__card .btn { margin-top: auto; }

/* ---------- Testimonials ---------- */
.testimonials { }
.testimonials__head { text-align: center; margin-bottom: var(--space-xl); }
.testimonials__head h2 { margin-bottom: var(--space-xs); }

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

.testimonial {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--trans), transform var(--trans);
}
.testimonial:hover {
  border-color: var(--border-hi);
  transform: translateY(-2px);
}

.testimonial__stars {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 3px;
}

.testimonial__quote {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--ink);
  flex: 1;
}

.testimonial__author { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.testimonial__author strong {
  display: block;
  color: var(--ink-dim);
  font-style: normal;
  font-size: 0.88rem;
  margin-bottom: 1px;
}

.testimonial__photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border-hi);
  flex-shrink: 0;
}

.testimonial__author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
}
.faq__head { text-align: center; margin-bottom: var(--space-xl); }
.faq__head h2 { margin-bottom: var(--space-xs); }

.faq__list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; }

.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }

.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--trans);
  line-height: 1.4;
}
.faq__q:hover { color: var(--accent); }

.faq__arrow {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 1.5px solid var(--border-hi);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--accent);
  transition: transform var(--trans), border-color var(--trans);
  flex-shrink: 0;
}
.faq__q:hover .faq__arrow { border-color: var(--accent); }
.faq__item.open .faq__arrow { transform: rotate(180deg); }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, padding 0.38s ease;
}
.faq__item.open .faq__a { max-height: 320px; }

.faq__a p {
  padding-bottom: 22px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 72px 0 48px;
}

.footer__inner { display: flex; flex-direction: column; gap: var(--space-lg); }

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-lg);
}

.footer__logo {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}
.footer__tagline { font-size: 0.85rem; color: var(--muted); }

.footer__links { display: flex; gap: 56px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.footer__col a { font-size: 0.85rem; color: var(--muted); transition: color var(--trans); }
.footer__col a:hover { color: var(--ink); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

.footer__legal { display: flex; gap: 24px; }
.footer__legal a { color: var(--muted); transition: color var(--trans); }
.footer__legal a:hover { color: var(--ink); }

/* ---------- CREATE PAGE — Personalizer ---------- */
.personalizer {
  padding: 0;
  min-height: 100vh;
}

.personalizer__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 68px);
}

/* Left: Form panel */
.personalizer__form-panel {
  padding: 52px 52px 52px 0;
  max-width: 580px;
  margin-left: auto;
  width: 100%;
}

.personalizer__header { margin-bottom: 44px; }
.personalizer__header h1 { font-size: clamp(1.9rem, 3vw, 2.8rem); margin-bottom: 10px; }
.personalizer__header p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

/* Form sections */
.form-section { margin-bottom: 40px; }

.form-section__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.field { margin-bottom: 22px; }

.field label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--ink-dim);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.field input[type="text"],
.field input[type="date"],
.field input[type="time"],
.field input {
  width: 100%;
  background: var(--bg-card);
  border: 1.5px solid rgba(155,176,196,0.18);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--ink);
  font-size: 0.97rem;
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(216,166,87,0.10);
}

.field input::placeholder { color: rgba(155,176,196,0.45); }

/* Chip groups */
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  padding: 8px 18px;
  border-radius: 6px;
  border: 1.5px solid rgba(155,176,196,0.22);
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--trans);
  font-family: var(--sans);
  white-space: nowrap;
}
.chip:hover { border-color: var(--border-hi); color: var(--ink); }
.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  font-weight: 700;
}

/* Two-col fields */
.fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Checkout bar */
.checkout-bar {
  position: sticky;
  bottom: 0;
  background: rgba(13,27,42,0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 18px 0;
  z-index: 50;
}

.checkout-bar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 580px;
  margin-left: auto;
  padding-right: 52px;
}

.checkout-bar__info { flex: 1; }
.checkout-bar__price {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.checkout-bar__desc { font-size: 0.75rem; color: var(--muted); margin-top: 3px; letter-spacing: 0.02em; }

.checkout-error {
  display: none;
  color: #e07070;
  font-size: 0.875rem;
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(220,80,80,0.1);
  border-radius: 6px;
  border: 1px solid rgba(220,80,80,0.3);
}

/* Right: Preview panel */
.personalizer__preview-panel {
  background: var(--bg-mid);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 52px 40px;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow: hidden;
}

.preview__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-md);
  text-align: center;
  opacity: 0.8;
}

/* Frame mockup wrapper */
.preview-frame-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
}

#previewWrap {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 3/4;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.3s ease;
}

#previewWrap.frame-black {
  box-shadow: 0 0 0 14px #181818, 0 0 0 16px #2c2c2c, 0 32px 80px rgba(0,0,0,0.75);
}
#previewWrap.frame-white {
  box-shadow: 0 0 0 14px #f0ece6, 0 0 0 16px #d8d4ce, 0 32px 80px rgba(0,0,0,0.5);
}
#previewWrap.frame-oak {
  box-shadow: 0 0 0 14px #7a5a38, 0 0 0 16px #9a7248, 0 32px 80px rgba(0,0,0,0.5);
}
#previewWrap.frame-none {
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}

#previewSVG {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#previewSVG svg { width: 100%; height: 100%; }

.preview__hint {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  margin-top: var(--space-md);
  letter-spacing: 0.07em;
  opacity: 0.7;
}

/* ---------- SUCCESS PAGE ---------- */
.success {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--pad-x);
}

.success__inner {
  max-width: 560px;
  width: 100%;
  text-align: center;
}

.success__check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(216,166,87,0.10);
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto var(--space-lg);
  color: var(--accent);
}

.success__inner h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: var(--space-sm); }
.success__inner .lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
}

.success__steps {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-align: left;
}

.success__step { display: flex; gap: 20px; align-items: flex-start; }

.success__step-num {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: rgba(216,166,87,0.10);
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  flex-shrink: 0;
}

.success__step-copy h4 { margin-bottom: 4px; font-size: 0.97rem; }
.success__step-copy p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

.success__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Photo Upload Zone ---------- */
.upload-zone {
  border: 1.5px dashed rgba(216,166,87,0.30);
  border-radius: 10px;
  background: rgba(216,166,87,0.03);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--trans), background var(--trans);
  position: relative;
  margin-top: 4px;
}
.upload-zone:hover,
.upload-zone.drag-over {
  border-color: var(--accent);
  background: rgba(216,166,87,0.07);
}
.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.upload-zone__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(216,166,87,0.08);
  border: 1.5px solid rgba(216,166,87,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.25rem;
  transition: background var(--trans), border-color var(--trans);
}
.upload-zone:hover .upload-zone__icon,
.upload-zone.drag-over .upload-zone__icon {
  background: rgba(216,166,87,0.18);
  border-color: var(--accent);
}
.upload-zone__text {
  font-size: 0.875rem;
  color: var(--ink-dim);
  line-height: 1.5;
  margin-bottom: 6px;
}
.upload-zone__text strong { color: var(--accent); }
.upload-zone__hint {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Uploaded state */
.upload-zone--has-file {
  border-style: solid;
  border-color: rgba(216,166,87,0.45);
  background: rgba(216,166,87,0.05);
}
.upload-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.upload-preview__thumb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  border: 1.5px solid var(--accent);
  flex-shrink: 0;
  pointer-events: none;
}
.upload-preview__info { text-align: left; min-width: 0; }
.upload-preview__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}
.upload-preview__size { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.upload-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(13,27,42,0.85);
  border: 1px solid rgba(155,176,196,0.25);
  color: var(--muted);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--trans), color var(--trans);
  z-index: 2;
  pointer-events: all;
}
.upload-remove:hover { background: rgba(220,80,80,0.2); color: #e07070; border-color: rgba(220,80,80,0.4); }

/* ---------- Styles Showcase (index page) ---------- */
.styles-showcase {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.styles-showcase__head { text-align: center; margin-bottom: var(--space-xl); }
.styles-showcase__head h2 { margin-bottom: var(--space-sm); }
.styles-showcase__head p { font-size: 1.05rem; max-width: 520px; margin: 0 auto; color: var(--muted); }

.styles-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: var(--space-xl);
}

.style-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}
.style-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.4);
}
.style-card:first-child {
  border-color: rgba(216,166,87,0.45);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 0 1px rgba(216,166,87,0.15);
}

.style-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
}

.style-card__preview {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.style-card__preview svg { width: 100%; height: 100%; }
.style-card__preview--dark { background: #111; }

.style-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1a2a3a 0%, #0d1b2a 100%);
  position: relative;
}
.style-card__photo-inner {
  text-align: center;
  padding: 24px;
}

.style-card__copy {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.style-card__icon { font-size: 1.4rem; }
.style-card__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.style-card__desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

.style-card__bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 4px;
}
.style-card__bullets li {
  font-size: 0.825rem;
  color: var(--ink-dim);
  padding-left: 18px;
  position: relative;
  line-height: 1.4;
}
.style-card__bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
}

.style-card .btn { margin-top: auto; }

/* Framed guarantee strip below the grid */
.styles-showcase__framed-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 28px;
  background: rgba(216,166,87,0.06);
  border: 1px solid rgba(216,166,87,0.22);
  border-radius: var(--radius-lg);
}
.framed-guarantee {
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.framed-guarantee-sub {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Responsive: showcase grid */
@media (max-width: 960px) {
  .styles-showcase__grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ---------- Layout picker grid (6 chips) ---------- */
.layout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.layout-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 10px 12px;
  border-radius: 10px;
  border: 1.5px solid rgba(155,176,196,0.22);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--trans);
  font-family: var(--sans);
  text-align: center;
}
.layout-chip:hover {
  border-color: var(--border-hi);
  color: var(--ink);
  background: rgba(216,166,87,0.04);
}
.layout-chip.active {
  border-color: var(--accent);
  background: rgba(216,166,87,0.09);
  color: var(--ink);
}
.layout-chip__icon {
  width: 40px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
  opacity: 0.85;
  transition: opacity var(--trans);
}
.layout-chip:hover .layout-chip__icon,
.layout-chip.active .layout-chip__icon { opacity: 1; }
.layout-chip__icon svg { width: 100%; height: 100%; display: block; }
.layout-chip__name {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: inherit;
}
.layout-chip.active .layout-chip__name { color: var(--accent); }

/* ---------- Colour swatch row ---------- */
.colour-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.colour-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  background: var(--sw-bg, #0d1b2a);
  cursor: pointer;
  position: relative;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
  flex-shrink: 0;
}
.colour-swatch::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1.5px solid var(--sw-line, #d8a657);
  opacity: 0;
  transition: opacity var(--trans);
}
.colour-swatch:hover { transform: scale(1.15); }
.colour-swatch.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(216,166,87,0.35);
  transform: scale(1.1);
}
.colour-swatch.active::after { opacity: 0.8; }

/* Tooltip via title attribute is handled by browser;
   add ARIA-label for screen readers — done in HTML. */

/* ---------- Optional toggle buttons ---------- */
.optional-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.optional-toggle {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 1.5px solid rgba(155,176,196,0.22);
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  transition: all var(--trans);
  letter-spacing: 0.02em;
}
.optional-toggle:hover {
  border-color: var(--border-hi);
  color: var(--ink);
}

/* Optional fields spacing */
.optional-field { margin-top: 14px; }

/* ---------- Field hint text ---------- */
.field-hint {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* ---------- Required / optional labels ---------- */
.req { color: var(--accent); }
.label-optional {
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0;
}

/* ---------- Mini upload zone ---------- */
.upload-zone--mini {
  padding: 18px 16px;
}
.upload-zone--mini .upload-zone__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Preview placeholder ---------- */
.preview-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  min-height: 240px;
}

/* Style panel (conditional visibility) */
.style-panel { }

/* ---------- Framed badge ---------- */
.framed-badge-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 12px 16px;
  background: rgba(216,166,87,0.07);
  border: 1px solid rgba(216,166,87,0.25);
  border-radius: 8px;
}
.framed-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.framed-sub {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- Frame color swatches ---------- */
.chip--frame {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chip__swatch {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.15);
}
.chip__swatch--black { background: #1a1a1a; }
.chip__swatch--white { background: #f0ece6; border-color: rgba(0,0,0,0.2); }
.chip__swatch--oak   { background: #7a5a38; }

/* ---------- Size chips with stacked price ---------- */
.chip-group[data-field="size"] .chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 20px;
  position: relative;
}
.chip__size-label {
  font-weight: 700;
  font-size: 0.9rem;
}
.chip__price {
  font-size: 0.78rem;
  opacity: 0.8;
}
.chip__popular {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

/* Select field */
.field select {
  width: 100%;
  background: var(--bg-card);
  border: 1.5px solid rgba(155,176,196,0.18);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--ink);
  font-size: 0.97rem;
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239bb0c4' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(216,166,87,0.10);
}
.field select option { background: var(--bg-card); color: var(--ink); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }

/* ---------- Divider ---------- */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ---------- Scroll reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .hero__inner { gap: 48px; }
  .why__inner { gap: 48px; }
  .personalizer__form-panel { padding: 40px 36px 40px 0; }
  .personalizer__preview-panel { padding: 40px 28px; }
  .checkout-bar__inner { padding-right: 36px; }
  .hiw__steps { gap: 36px; }
}

@media (max-width: 900px) {
  /* Lifestyle */
  .lifestyle__bg::after { background: rgba(13,27,42,0.85); }
  .lifestyle__inner { justify-content: flex-start; }
  .lifestyle__copy { text-align: left; max-width: 100%; }
  .lifestyle__copy .section-label { text-align: left; }
  .lifestyle__prints { justify-content: flex-start; }

  /* Nav */
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  /* Hero */
  .hero { padding: 80px 0 60px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero__eyebrow { justify-content: center; }
  .hero__eyebrow::before { display: none; }
  .hero__sub { margin: 0 auto var(--space-lg); }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__trust::before { display: none; }
  .hero__print { max-width: 260px; margin: 0 auto; }

  /* Steps */
  .hiw__steps { grid-template-columns: 1fr; gap: 40px; max-width: 420px; margin: 0 auto; }

  /* Why */
  .why__inner { grid-template-columns: 1fr; }
  .why__visual { order: -1; }
  .why__prints { max-width: 280px; margin: 0 auto; }

  /* Pricing */
  .pricing__cards { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .pricing__card--featured { transform: scale(1); }
  .pricing__card--featured:hover { transform: translateY(-4px); }

  /* Testimonials */
  .testimonials__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  /* Footer */
  .footer__top { flex-direction: column; }
  .footer__links { flex-wrap: wrap; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }

  /* Personalizer */
  .personalizer__layout { grid-template-columns: 1fr; min-height: auto; }
  .personalizer__preview-panel {
    order: -1;
    position: relative;
    top: 0;
    height: auto;
    border-left: none;
    border-bottom: 1px solid var(--border);
    padding: 36px 24px;
    min-height: 440px;
  }
  .personalizer__form-panel { padding: 36px 24px; max-width: 100%; margin: 0; }
  #previewWrap { max-width: 220px; }
  .checkout-bar__inner { flex-direction: column; align-items: stretch; padding-right: 24px; padding-left: 24px; text-align: center; }
  .fields-row { grid-template-columns: 1fr; }
  .chip-group { gap: 8px; }
  .chip { padding: 8px 14px; font-size: 0.825rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.6rem; }
  .btn--large { font-size: 0.95rem; padding: 16px 32px; }
  .pricing__price { font-size: 3.2rem; }
  .footer { padding: 56px 0 36px; }
}
