/* Imperfectly Made by Kelly Antonia — blush, navy, and soft gray */

:root {
  --navy: #1c2e4a;
  --navy-deep: #141f33;
  --navy-soft: #2a4168;
  --blush: #f3c5cc;
  --blush-accent: #e29aa4;
  --blush-soft: #f8e6e8;
  --blush-bg: #fbf4f5;
  --cream: #fffcfb;
  --gray-50: #f6f4f3;
  --gray-100: #ece9e7;
  --gray-200: #d5d0cd;
  --gray-500: #5c5957;
  --gray-700: #3a3837;
  --white: #ffffff;
  --text: var(--navy);
  --body: #2f2e32;
  --radius: 1.15rem;
  --radius-sm: 0.75rem;
  --shadow: 0 12px 32px rgba(28, 46, 74, 0.08);
  --shadow-soft: 0 4px 16px rgba(28, 46, 74, 0.06);
  --header-h: 4.5rem;
  --max: 70rem;
  --focus: 0 0 0 3px var(--cream), 0 0 0 6px var(--navy);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--blush-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--navy-soft);
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--navy);
  color: var(--cream);
  padding: 0.5rem 0.9rem;
  border-radius: 0.4rem;
  z-index: 100;
}

.skip-link:focus {
  top: 0.75rem;
  color: var(--cream);
}

.wrap {
  width: min(100% - 1.75rem, var(--max));
  margin-inline: auto;
}

h1, h2, h3, .wordmark {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 560;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

h1 {
  font-size: clamp(2.25rem, 5.4vw, 4rem);
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.eyebrow {
  display: inline-block;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-soft);
  background: var(--blush);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--gray-700);
  max-width: 38rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(251, 244, 245, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(28, 46, 74, 0.08);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--navy);
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  flex: none;
}

.wordmark {
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.35rem;
}

.nav a:not(.btn) {
  text-decoration: none;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.98rem;
}

.nav a:not(.btn):hover {
  color: var(--navy-soft);
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--gray-200);
  background: var(--cream);
  border-radius: 0.65rem;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--navy-deep);
  color: var(--cream);
  border-color: var(--navy-deep);
}

.btn-blush {
  background: var(--blush);
  color: var(--navy);
  border-color: var(--blush);
}

.btn-blush:hover,
.btn-blush:focus-visible {
  background: var(--blush-accent);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--navy);
  color: var(--cream);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.65rem 0.95rem;
  font-size: 0.88rem;
}

.icon-ext {
  width: 0.95em;
  height: 0.95em;
  flex: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(2rem, 5vw, 4.25rem) 0 3.25rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.hero h1 {
  margin: 0 0 1rem;
}

.hero h1 em {
  font-style: italic;
  font-weight: 560;
  color: var(--navy-soft);
}

.hero .lede {
  margin: 0 0 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-photo {
  position: relative;
  justify-self: end;
  width: min(100%, 28rem);
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 8% -8% -8% 8%;
  background: var(--blush);
  border-radius: 2rem 2.6rem 1.6rem 2.4rem;
  z-index: 0;
}

.hero-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 1.6rem;
  box-shadow: var(--shadow);
  background: var(--gray-100);
}

.hero-chip {
  position: absolute;
  z-index: 2;
  left: -0.6rem;
  bottom: 1.4rem;
  background: var(--cream);
  color: var(--navy);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-soft);
  padding: 0.65rem 0.95rem;
  border-radius: 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Sections ---------- */

section {
  padding: 3.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head p {
  margin: 0.7rem 0 0;
  color: var(--gray-500);
}

#shop {
  background: var(--cream);
  border-block: 1px solid var(--gray-100);
}

.subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 1.15rem;
}

.subhead h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 560;
}

.muted {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* ---------- Product grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card-media {
  position: relative;
  background: var(--gray-50);
}

.card-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: var(--navy);
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
}

.card-body {
  padding: 0.95rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.card-body h3 {
  font-size: 1.05rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
}

.colorway {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin: 0;
}

.price {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  margin: 0.15rem 0 0.5rem;
}

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

.novelty-grid {
  grid-template-columns: repeat(5, 1fr);
}

.novelty-section {
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px dashed var(--gray-200);
}

/* ---------- About ---------- */

#about {
  background: var(--blush-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: auto -0.8rem -0.8rem auto;
  width: 45%;
  height: 45%;
  background: var(--blush);
  border-radius: 1.4rem;
  z-index: 0;
}

.about-photo img {
  position: relative;
  z-index: 1;
  border-radius: 1.4rem;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
  box-shadow: var(--shadow);
}

.about-copy p {
  margin: 0 0 1rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

/* ---------- FAQ ---------- */

#faq {
  background: var(--cream);
  border-block: 1px solid var(--gray-100);
}

.faq-list {
  max-width: 46rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 0.15rem 0.25rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 0.85rem 1rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 560;
  color: var(--navy);
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--gray-700);
}

/* ---------- Contact ---------- */

#contact {
  background:
    radial-gradient(circle at 12% 20%, var(--blush) 0, transparent 32%),
    radial-gradient(circle at 90% 80%, var(--blush-soft) 0, transparent 28%),
    var(--blush-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-card,
.form {
  background: var(--cream);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.form label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.88rem;
  margin: 0.85rem 0 0.35rem;
}

.form label:first-of-type {
  margin-top: 0;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  font: inherit;
  color: var(--body);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 0.65rem;
  padding: 0.7rem 0.8rem;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px var(--blush);
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form .btn {
  margin-top: 1.1rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0.8rem 0 0;
}

.placeholder-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--blush-soft);
  color: var(--navy);
  border: 1px solid var(--blush);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  vertical-align: middle;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: #e4dfe8;
  padding: 2.25rem 0 1.75rem;
}

.site-footer a {
  color: var(--blush);
}

.site-footer a:hover {
  color: var(--cream);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-start;
}

.site-footer .wordmark {
  color: var(--cream);
  font-style: italic;
}

.footer-meta {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  max-width: 28rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
}

.footer-nav a {
  text-decoration: none;
  font-weight: 600;
}

.copyright {
  margin: 1.5rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(243, 197, 204, 0.2);
  font-size: 0.82rem;
  color: #c8c3cc;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .novelty-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    justify-self: center;
    width: min(100%, 24rem);
    order: -1;
  }
  .about-photo {
    width: min(100%, 22rem);
  }
}

@media (max-width: 720px) {
  :root { --header-h: 3.85rem; }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--gray-100);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0.35rem;
    box-shadow: var(--shadow);
  }

  .nav.is-open { display: flex; }

  .nav a:not(.btn) {
    padding: 0.65rem 0.35rem;
  }

  .nav .btn { width: 100%; }

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

  .hero { padding-top: 1.5rem; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
