/* The 2 Sisters 3D Printing — candy-pink theme drawn from the logo artwork */

:root {
  --blush: #fdf2f8;      /* page ground */
  --pink-soft: #f9a8d4;  /* soft pink accents */
  --pink-mid: #fbcfe8;   /* card borders, tints */
  --pink-hot: #ec4899;   /* buttons, links, action colour */
  --magenta: #be185d;    /* headings */
  --berry: #831843;      /* body text */
  --card: #ffffff;
  --band: #fce7f3;       /* tinted section bands */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--blush);
  color: var(--berry);
  font-family: "Nunito", "Trebuchet MS", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Baloo 2", "Comic Sans MS", cursive;
  color: var(--magenta);
  line-height: 1.15;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1em; }
a { color: var(--pink-hot); }

img { max-width: 100%; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */

.site-header {
  background: var(--band);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(190, 24, 93, 0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Baloo 2", "Comic Sans MS", cursive;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--magenta);
  text-decoration: none;
}
.brand img,
.brand .logo-fallback {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--pink-hot);
  background: var(--card);
  object-fit: cover;
}
.brand .logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: "Baloo 2", "Comic Sans MS", cursive;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  text-decoration: none;
  border: 2px solid var(--pink-hot);
  cursor: pointer;
  transition: transform 120ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-solid { background: var(--pink-hot); color: #fff; }
.btn-ghost { background: transparent; color: var(--pink-hot); }
.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--pink-hot);
  outline-offset: 2px;
}

/* ---------- hero ---------- */

.hero { text-align: center; padding: 56px 0 72px; position: relative; }
.hero-logo {
  width: min(240px, 55vw);
  height: auto;
  border-radius: 50%;
  border: 5px solid var(--pink-hot);
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.25);
  background: var(--card);
}
.hero-logo.logo-fallback {
  width: min(240px, 55vw);
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.hero p.lede {
  max-width: 34em;
  margin: 0 auto 1.4em;
  font-size: 1.1rem;
}
.hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* scalloped divider under the hero — the page's one flourish */
.scallop {
  display: block;
  width: 100%;
  height: 28px;
  background:
    radial-gradient(circle at 50% 0, var(--band) 14px, transparent 15px);
  background-size: 40px 28px;
  background-repeat: repeat-x;
}

/* ---------- sections ---------- */

.section { padding: 56px 0; }
.section-band { background: var(--band); }
.section > .wrap > h2 { text-align: center; }
.section-intro { text-align: center; max-width: 38em; margin: 0 auto 2em; }

/* ---------- gallery ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 860px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 2px solid var(--pink-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(190, 24, 93, 0.1);
  display: flex;
  flex-direction: column;
}
.card-photo {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  display: block;
}
.card-photo-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: repeating-linear-gradient(
    45deg, var(--band), var(--band) 14px, var(--pink-mid) 14px, var(--pink-mid) 28px);
  color: var(--magenta);
  font-weight: 700;
}
.card-photo-placeholder .card-emoji { font-size: 2.6rem; }
.card-photo-placeholder small { font-size: 0.8rem; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-body p { font-size: 0.95rem; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; }
.price {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--pink-hot);
}
.card-foot .btn { padding: 6px 16px; font-size: 0.9rem; }

/* ---------- how it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.steps li {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 22px 20px 18px;
  border: 2px solid var(--pink-mid);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pink-hot);
  color: #fff;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  margin-bottom: 10px;
}
.steps h3 { margin-bottom: 0.2em; }
.steps p { margin: 0; font-size: 0.95rem; }

/* ---------- custom & bulk ---------- */

.custom-callout {
  background: var(--card);
  border: 3px dashed var(--pink-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.custom-callout h2 { margin-top: 0; }
.custom-callout p { max-width: 36em; margin-left: auto; margin-right: auto; }

/* ---------- order form ---------- */

.order-card {
  background: var(--card);
  border: 3px dashed var(--pink-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  max-width: 720px;
  margin: 0 auto;
}
.order-card h2 { text-align: center; }
.order-note { text-align: center; font-size: 0.95rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }

label.field { display: block; font-weight: 700; font-size: 0.95rem; }
label.field span { display: block; margin-bottom: 4px; }
input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  border: 2px solid var(--pink-mid);
  border-radius: 12px;
  background: var(--blush);
  padding: 10px 12px;
  font: inherit;
  color: var(--berry);
}
textarea { resize: vertical; min-height: 90px; }

fieldset {
  border: 2px solid var(--pink-mid);
  border-radius: 12px;
  margin: 0;
  padding: 10px 14px 12px;
}
legend { font-weight: 700; font-size: 0.95rem; padding: 0 6px; }
.choice-row { display: flex; gap: 14px; flex-wrap: wrap; }
.choice-row label { display: flex; align-items: center; gap: 6px; font-size: 0.95rem; cursor: pointer; }

/* colour swatches */
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatches label { position: relative; cursor: pointer; }
.swatches input { position: absolute; opacity: 0; inset: 0; }
.swatch {
  display: inline-block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid transparent;
  box-shadow: inset 0 0 0 2px rgba(131, 24, 67, 0.15);
}
.swatches input:checked + .swatch {
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px var(--pink-mid);
}
.swatches input:focus-visible + .swatch {
  outline: 3px solid var(--pink-hot);
  outline-offset: 2px;
}
.swatches .swatch-label {
  display: block;
  text-align: center;
  font-size: 0.7rem;
  margin-top: 2px;
}

.form-actions { text-align: center; margin-top: 22px; }
.form-status { text-align: center; font-weight: 700; margin-top: 12px; }

/* honeypot — humans never see this field */
.bees { position: absolute; left: -9999px; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--band);
  text-align: center;
  padding: 40px 20px 30px;
  margin-top: 40px;
}
.site-footer p { max-width: 34em; margin-left: auto; margin-right: auto; }
.site-footer .tagline {
  font-family: "Baloo 2", cursive;
  font-weight: 700;
  color: var(--magenta);
  font-size: 1.1rem;
}
.site-footer small { color: var(--pink-hot); }
