/* Pippey pre-launch site. Colours and fonts come from the 2026-10-23 website brief. */
:root {
  --ivory: #FAF7F0;
  --rose: #D9A7A8;
  --rose-deep: #9A5F63;   /* darker dusty rose so white button text is readable */
  --sage: #A7B599;
  --linen: #E8DCC8;
  --taupe: #B89B85;
  --cocoa: #5B4638;
  --cocoa-soft: #7A6556;
  --cream: #F3ECE0;
  --line: #E3D7C4;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--cocoa);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-deep); }
a:hover { color: var(--cocoa); }
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; color: var(--cocoa); }
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cocoa-soft); margin-bottom: 1em; }
.sub { font-family: var(--serif); font-size: 1.6rem; color: var(--cocoa-soft); margin-top: -.3em; }
.lead { font-size: 1.12rem; color: var(--cocoa-soft); max-width: 34em; }
.small { font-size: .88rem; color: var(--cocoa-soft); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
main { overflow-x: clip; }
.section.tint { background: var(--cream); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ivory); padding: 8px 12px; z-index: 100; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 240, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { width: 150px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--cocoa); text-decoration: none; font-size: .94rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--rose-deep); }
.nav-links a[aria-current="page"] { border-bottom: 1px solid var(--rose); }
.social { display: flex; gap: 12px; }
.social a { color: var(--cocoa); display: inline-flex; }
.social svg { width: 20px; height: 20px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--cocoa); cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; background: var(--rose-deep); color: #fff; border: 0; border-radius: 999px; padding: 13px 26px; font: 500 .95rem var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--cocoa); color: #fff; }
.btn.ghost { background: transparent; color: var(--rose-deep); border: 1px solid var(--rose); }
.btn.ghost:hover { background: var(--rose); color: var(--cocoa); }
.nav .btn { padding: 10px 20px; font-size: .88rem; }

.waitlist-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 460px; margin: 1.4em 0 .6em; }
.center .waitlist-form { margin-left: auto; margin-right: auto; justify-content: center; }
.waitlist-form input[type="email"], .waitlist-form input[type="text"] {
  flex: 1 1 220px; min-width: 0; padding: 13px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--cocoa); font: 1rem var(--sans);
}
.waitlist-form input::placeholder { color: #9C8B7E; }
.waitlist-form input:focus { outline: 2px solid var(--rose); border-color: var(--rose); }
.waitlist-form.stacked { flex-direction: column; max-width: 440px; }
.waitlist-form.stacked input:not([type="checkbox"]) { flex: none; width: 100%; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; text-align: left; }
.check input { margin-top: .3em; accent-color: var(--rose-deep); }
.form-msg { min-height: 1.4em; font-size: .92rem; margin: 0; }
.form-msg.error { color: #9B3B3B; }
.form-msg.ok { color: #4F6340; }
.hp { position: absolute; left: -9999px; }

/* Hero */
.hero { padding: 56px 0 40px; background: linear-gradient(180deg, var(--cream), var(--ivory)); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-img { width: 100%; max-width: 400px; aspect-ratio: 5 / 8; justify-self: center; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(91, 70, 56, .35); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Grids and cards */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 50px -30px rgba(91, 70, 56, .4); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 1 / 2; max-width: 340px; justify-self: center; }
.photo.tall img { object-position: center top; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.benefit { text-align: center; padding: 0 8px; }
.benefit svg { width: 54px; height: 54px; margin: 0 auto 14px; color: var(--rose-deep); }
.benefit h3 { font-size: 1.45rem; margin-bottom: .3em; }
.benefit p { color: var(--cocoa-soft); font-size: .96rem; }
.step-num { font-family: var(--serif); font-size: 1.1rem; color: var(--rose-deep); letter-spacing: .1em; }
.step .photo { aspect-ratio: 4 / 5; margin-bottom: 18px; }
.step h3 { margin-bottom: .2em; }
.step p { color: var(--cocoa-soft); font-size: .96rem; }

/* Honest stand-in for photos that do not exist yet */
.placeholder { aspect-ratio: 4 / 5; border-radius: var(--radius); border: 1px dashed var(--taupe); background: repeating-linear-gradient(135deg, var(--cream) 0 14px, var(--ivory) 14px 28px); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--cocoa-soft); font-size: .9rem; }
.placeholder strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--cocoa); }
.placeholder.wide { aspect-ratio: 16 / 9; }

.closeups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.closeups figure { margin: 0; }
.closeups .photo { aspect-ratio: 1; }
.closeups figcaption { font-family: var(--serif); font-size: 1.2rem; text-align: center; margin-top: 10px; }

.polaroid { background: #fff; padding: 14px 14px 46px; box-shadow: 0 20px 40px -24px rgba(91, 70, 56, .45); transform: rotate(2deg); max-width: 380px; margin-left: auto; }
.polaroid img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* Invitation band */
.invite { position: relative; overflow: hidden; text-align: center; background: linear-gradient(180deg, #F6E9E6, var(--cream)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bow { width: 150px; margin: 0 auto 10px; }
.daisy-corner { position: absolute; width: 130px; opacity: .9; pointer-events: none; }
.daisy-corner.left { left: 2%; bottom: 10px; }
.daisy-corner.right { right: 2%; top: 10px; transform: scaleX(-1); }

/* Values */
.values { border-top: 1px solid var(--line); }
.values .benefit h3 { color: var(--rose-deep); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-family: var(--serif); font-size: 1.3rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--rose-deep); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--cocoa-soft); padding-bottom: 12px; }

/* Waitlist page */
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 48px 36px; max-width: 620px; margin: 0 auto; text-align: center; box-shadow: 0 30px 60px -40px rgba(91, 70, 56, .35); }
.card .waitlist-form { margin-left: auto; margin-right: auto; }
.card .check { margin: 4px 0; }
.card .logo-lg { width: 230px; margin: 0 auto 16px; }

/* Text pages (privacy, terms) */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }

/* Footer */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; }
.footer-grid img { width: 140px; margin-bottom: 10px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-grid a { color: var(--cocoa); text-decoration: none; }
.footer-grid a:hover { color: var(--rose-deep); }
.footer-grid .waitlist-form { margin-top: .6em; }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--cocoa-soft); font-size: .84rem; }
.footer-bottom a { color: var(--cocoa-soft); }

/* Phones and small tablets */
@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav .social { display: none; }
  .nav .btn.nav-cta { padding: 9px 16px; font-size: .82rem; }
  .brand img { width: 120px; }
  .hero-grid, .split, .three, .footer-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-img { max-width: 320px; border-radius: 160px 160px var(--radius) var(--radius); }
  .section { padding: 56px 0; }
  .closeups { gap: 10px; }
  .closeups figcaption { font-size: 1rem; }
  .polaroid { margin: 0 auto; }
  .daisy-corner { width: 80px; }
  .card { padding: 36px 20px; }
}
@media (max-width: 420px) {
  .nav .btn.nav-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* The making photo: keep the hands in view */
img[src$="making-hands.jpg"] { object-position: center 75% !important; }
.placeholder.icon { border-style: solid; border-color: var(--linen, #D6C5AD); background: var(--cream); }
.placeholder.icon img { width: 96px; height: auto; opacity: .9; }
.placeholder.wide.icon img { width: 150px; }

.h1-sub { display: block; margin-top: .3em; font-size: .5em; color: var(--cocoa-soft); }
/* Homepage hero: Hazel is a transparent cut-out that sits directly on the page */
.hero-img.cutout { max-width: 440px; aspect-ratio: 2 / 3; border-radius: 0; overflow: visible; box-shadow: none; }
.hero-img.cutout img { object-fit: contain; filter: drop-shadow(0 22px 24px rgba(91, 70, 56, .22)); }
@media (max-width: 880px) { .hero-img.cutout { max-width: 340px; } }
/* Illustrated Hazel on the homepage: a transparent cut-out with no frame */
.photo.illo { aspect-ratio: 2 / 3; max-width: 380px; border-radius: 0; overflow: visible; box-shadow: none; }
.photo.illo img { object-fit: contain; filter: drop-shadow(0 18px 22px rgba(91, 70, 56, .2)); }
.illo-wrap { justify-self: center; text-align: center; }
.illo-cap { margin-top: 12px; color: var(--cocoa-soft); }
/* Our Story: one centred column, then the illustration */
.story-col { max-width: 720px; margin: 0 auto; text-align: center; }
.story-col .lead { margin-left: auto; margin-right: auto; }
.story-hero { padding-bottom: 8px; }
.story-figure { margin: 40px auto 0; max-width: 300px; text-align: center; }
.story-figure img { width: 100%; height: auto; filter: drop-shadow(0 18px 22px rgba(91, 70, 56, .2)); }
.story-figure figcaption { margin-top: 10px; color: var(--cocoa-soft); }
