/* Molly Moo Jewels */

:root {
  --bg: #faf6ef;
  --panel: #fffdf8;
  --ink: #2b2723;
  --muted: #6f675c;
  --line: #e7decf;
  --teal: #2e7d76;
  --teal-deep: #1f5b56;
  --gold: #b08a4c;
  --dark: #232a29;
  --dark-soft: #2d3534;
  --radius: 16px;
  --shadow: 0 18px 50px -18px rgba(43, 39, 35, .28);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Karla", -apple-system, "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
}

.studio-note {
  background: var(--teal-deep);
  color: #f3efe7;
  text-align: center;
  padding: 9px 18px;
}

.studio-note p {
  margin: 0;
  font-size: 13.5px;
  letter-spacing: .01em;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 14px;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 420;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 22px;
}

h1 { font-size: clamp(2.7rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }

.section-lead {
  max-width: 56ch;
  color: var(--muted);
  margin: 0 0 34px;
}

/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 560;
  white-space: nowrap;
}

.logo em { font-style: italic; color: var(--teal-deep); }

.logo-mark {
  width: 19px;
  height: 19px;
  fill: var(--teal);
  flex: none;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}

.site-nav a:hover { color: var(--ink); }

.header-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}

.btn { white-space: nowrap; }

.btn-small { padding: 9px 18px; font-size: 14px; background: var(--ink); color: var(--bg); }
.btn-small:hover { background: var(--teal-deep); }

.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-1px); }

.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-1px); }

/* hero */

.hero { position: relative; overflow: hidden; }

.hero::before {
  content: "";
  position: absolute;
  right: -180px;
  top: -120px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 125, 118, .14), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  padding: clamp(48px, 8vh, 96px) 0;
}

.hero-copy .lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 50ch;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.hero-proof {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.stars { color: var(--gold); letter-spacing: 2px; margin-right: 6px; }

.hero-media { position: relative; }

.hero-media > img {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 11px 16px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  transition: transform .2s;
}

.media-tag:hover { transform: translateY(-2px); }

.media-tag-name { font-size: 14px; font-weight: 600; }
.media-tag-price { font-size: 13px; color: var(--teal-deep); }

/* numbers band */

.numbers { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--panel); }

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 30px 0;
}

.number { text-align: center; }

.number strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 480;
}

.number span { font-size: 13.5px; color: var(--muted); }

/* featured */

.featured .wrap { padding: clamp(64px, 10vh, 110px) 0 0; }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 18px;
}

/* cards shared */

.feature-card,
.product-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}

.feature-card:hover,
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-media {
  position: relative;
  aspect-ratio: 1 / 1.02;
  overflow: hidden;
}

.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .35s, transform .6s;
}

.card-media .alt { opacity: 0; }

.feature-card:hover .card-media .alt,
.product-card:hover .card-media .alt { opacity: 1; }

.feature-card:hover .card-media img,
.product-card:hover .card-media img { transform: scale(1.025); }

.card-text { padding: 16px 18px 18px; }

.card-text .cat {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-text h3 {
  margin: 6px 0 4px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 480;
  line-height: 1.25;
}

.card-text .price {
  margin: 0;
  font-size: 15.5px;
  color: var(--teal-deep);
  font-weight: 600;
}

/* collection */

.collection .wrap { padding: clamp(64px, 10vh, 110px) 0; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
}

.chip {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.chip:hover { border-color: var(--ink); color: var(--ink); }

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

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

.product-card.is-hidden { display: none; }

.collection-more {
  margin-top: 44px;
  text-align: center;
}

.collection-more p { color: var(--muted); margin: 0 0 18px; }

.collection-more .hero-actions { justify-content: center; margin-bottom: 0; }

/* about */

.about {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
  padding: clamp(64px, 10vh, 110px) 0 clamp(40px, 6vh, 64px);
}

.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  width: 100%;
}

.about-copy p { color: var(--muted); max-width: 56ch; }

.about-copy blockquote {
  margin: 30px 0 0;
  padding-left: 22px;
  border-left: 3px solid var(--gold);
}

.about-copy blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 8px;
}

.about-copy cite {
  font-style: normal;
  font-size: 14px;
  color: var(--muted);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  padding: 0 0 clamp(56px, 9vh, 96px);
}

.process {
  padding: 22px 0 0;
  border-top: 2px solid var(--ink);
}

.process h3 {
  font-family: var(--font-display);
  font-weight: 480;
  font-size: 19px;
  margin: 0 0 8px;
}

.process p { font-size: 15px; color: var(--muted); margin: 0; }

/* reviews */

.reviews { background: var(--dark); color: #f3efe7; }

.reviews .wrap { padding: clamp(64px, 10vh, 110px) 0; }

.reviews .kicker { color: #8fc5bf; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 14px;
}

.review {
  margin: 0;
  padding: 28px 30px;
  background: var(--dark-soft);
  border-radius: var(--radius);
  border: 1px solid rgba(243, 239, 231, .07);
}

.review blockquote {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 380;
  line-height: 1.45;
}

.review figcaption {
  font-size: 13.5px;
  color: #a8b3b0;
  letter-spacing: .04em;
}

.reviews-link { margin: 30px 0 0; }

.reviews-link a { color: #8fc5bf; }

/* faq */

.faq .wrap { padding: clamp(64px, 10vh, 110px) 0; }

.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child { border-top: 1px solid var(--line); }

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 36px 20px 2px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 460;
  position: relative;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  color: var(--teal);
  transition: transform .25s;
}

.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-list details p {
  margin: 0;
  padding: 0 24px 22px 2px;
  color: var(--muted);
}

/* bespoke */

.bespoke {
  background: linear-gradient(180deg, var(--panel), var(--bg));
  border-top: 1px solid var(--line);
}

.bespoke-inner {
  padding: clamp(64px, 10vh, 110px) 0;
  text-align: center;
}

.bespoke .section-lead { margin-left: auto; margin-right: auto; }

.bespoke .hero-actions { justify-content: center; }

.bespoke-social { font-size: 15px; color: var(--muted); margin: 8px 0 0; }

.bespoke-social a { color: var(--teal-deep); }

/* footer */

.site-footer {
  background: var(--dark);
  color: #cfc9bd;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 52px 0 12px;
}

.footer-logo { color: #f3efe7; }

.footer-logo em { color: #8fc5bf; }

.footer-grid p { font-size: 14.5px; margin: 10px 0 0; }

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-grid nav a {
  font-size: 14.5px;
  text-decoration: none;
  color: #cfc9bd;
}

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

.footer-small {
  padding: 18px 0 30px;
}

.footer-small p {
  font-size: 13px;
  color: #8e9590;
  border-top: 1px solid rgba(243, 239, 231, .1);
  padding-top: 18px;
  margin: 0;
}

/* reveal animation: content is visible by default, scripting only
   hides elements that start below the fold, so nothing can get stuck */

.reveal {
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.pre {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.pre.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card-media img { transition: none; }
}

/* responsive */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 36px; }
  .hero-media { order: -1; max-width: 520px; }
  .hero-media > img { aspect-ratio: 4 / 3.4; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; }
  .process-grid { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .faq-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr 1fr; row-gap: 26px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
  }

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

  .site-nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }

  .site-nav a:last-child { border-bottom: none; }

  .nav-toggle { display: flex; }

  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

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

  .footer-grid { flex-direction: column; }
}

@media (max-width: 500px) {
  .header-cta .btn-small { display: none; }
  .logo { font-size: 20px; }
  .wrap { width: calc(100% - 36px); }
}
