/* Happi London — styles derived from pen/happi.pen */

:root {
  --coral: #e37f73;
  --blush: #fdece8;
  --rose: #e0a79e;
  --rose-deep: #e2a79e;
  --sage: #abb6a6;
  --mustard: #ca8219;
  --ink: #54595f;
  --grey: #7a7a7a;
  --muted: #69727d;
  --hero-bg: #ece9ea;

  --display: "Abril Fatface", Georgia, "Times New Roman", serif;
  --body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --shell: 1120px;
  --gutter: 21px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--grey);
  background: #fff;
}

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

a { color: inherit; }

.display {
  font-family: var(--display);
  font-weight: 400;
  /* Abril is a didone: it wants tightening as it gets bigger */
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}

.step-num,
.row-copy h2,
.legal h1 { letter-spacing: -0.015em; }

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

.site-header {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px var(--gutter);
}

.logo img { width: 100px; height: 100px; }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.site-nav a {
  font-size: 12px;
  line-height: 1.67;
  letter-spacing: 0.02em;
  color: var(--grey);
  text-decoration: none;
  padding: 13px 20px;
  position: relative;
  transition: color 0.18s ease;
}

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

.site-nav a.is-active { color: var(--coral); }

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--coral);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--muted);
}

/* ---------- home: hero ---------- */

.hero {
  background: var(--hero-bg);
  text-align: center;
  padding: 40px var(--gutter) 60px;
}

.hero .eyebrow {
  color: var(--coral);
  font-size: 21px;
  line-height: 1;
  margin: 10px 0 0;
}

.hero h1 {
  color: var(--coral);
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1;
  margin: 28px 0 0;
}

.hero-shot {
  display: block;
  max-width: 1030px;
  margin: 24px auto 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 28px;
  padding: 12px 24px;
  border-radius: 30px;
  background: var(--coral);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  transition: background 0.18s ease;
}

.pill:hover { background: #d76c5f; }

.pill svg { width: 15px; height: 15px; }

/* ---------- home: we are happi ---------- */

.we-are {
  background: var(--rose-deep);
  color: #fff;
  text-align: center;
  padding: 96px var(--gutter);
}

.we-are .kicker {
  font-weight: 200;
  margin: 0;
}

.we-are h2 {
  font-size: clamp(40px, 6vw, 55px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 6px 0 0;
}

.we-are .lede {
  max-width: 580px;
  margin: 30px auto 0;
}

/* ---------- home: how it works ---------- */

.how {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 50px var(--gutter) 60px;
}

.how-title {
  color: var(--mustard);
  font-size: clamp(34px, 5vw, 45px);
  line-height: 1;
  text-align: center;
}

.steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 30px 0 0;
  padding: 0;
}

.step {
  flex: 0 1 230px;
  background: var(--blush);
  padding: 16px;
}

.step-num {
  display: block;
  font-family: var(--display);
  font-size: 45px;
  line-height: 1;
  color: var(--coral);
  margin-bottom: 20px;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}

/* ---------- about ---------- */

/* Four typographic voices, deliberately far apart:
   tracked micro-caps, fat display, light lede, plain body. */

.eyebrow-micro {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 20px;
}

.intro {
  background: var(--blush);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
  padding: 80px 0 80px var(--gutter);
}

.intro-copy {
  max-width: 560px;
  margin-left: auto;
  padding-right: 20px;
}

.intro h1 {
  color: var(--coral);
  font-size: clamp(60px, 8.5vw, 112px);
  line-height: 0.86;
  letter-spacing: -0.035em;
  margin: 0;
}

.intro .lede {
  font-size: clamp(19px, 2.1vw, 24px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--coral);
  text-wrap: pretty;
  margin: 30px 0 0;
}

.intro-shot img { width: 100%; height: 520px; object-fit: cover; }

/* Flowed columns rather than a grid, so the two paragraphs
   balance instead of leaving a hole under the short one. */
.body-copy {
  max-width: 980px;
  margin: 0 auto;
  padding: 84px var(--gutter);
  columns: 2;
  column-gap: 52px;
}

.body-copy p {
  margin: 0 0 1.2em;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  text-wrap: pretty;
  orphans: 2;
  widows: 2;
}

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

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

.strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.statement {
  background: var(--rose);
  color: #fff;
  text-align: center;
  padding: 96px var(--gutter);
  -webkit-font-smoothing: antialiased;
}

.statement blockquote {
  margin: 0 auto;
  max-width: 900px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.statement .btn {
  margin-top: 44px;
  background: #fff;
  color: var(--coral);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: 30px;
}

.statement .btn:hover { background: var(--blush); }

.cta {
  text-align: center;
  padding: 40px var(--gutter);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 4px;
  background: var(--coral);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.18s ease;
}

.btn:hover { background: #d76c5f; }

.btn svg { width: 13px; height: 15px; }

/* ---------- product ---------- */

.product-hero {
  background: var(--coral);
  text-align: center;
  padding: 40px var(--gutter) 50px;
}

.product-shot {
  max-width: 580px;
  margin: 0 auto;
}

.product-hero h1 {
  color: var(--blush);
  font-size: clamp(34px, 5vw, 45px);
  line-height: 1;
  margin-top: 24px;
}

.buybox {
  max-width: 280px;
  margin: 30px auto 0;
  color: #fff;
}

.buybox .price {
  font-size: 45px;
  line-height: 1.5;
  margin: 0;
}

.buybox .delivery {
  font-size: 12px;
  margin: 0;
}

.buybox .stock {
  font-weight: 600;
  font-size: 14px;
  text-align: right;
  margin: 30px 0 0;
}

.buybox-end {
  max-width: 370px;
  color: var(--ink);
  padding: 50px var(--gutter);
  margin: 0 auto;
}

.buybox-end .price { font-size: 39px; font-weight: 600; }
.buybox-end .delivery { font-size: 16px; }
.buybox-end .stock { color: var(--grey); }

.inside {
  text-align: center;
  max-width: 685px;
  margin: 0 auto;
  padding: 80px var(--gutter);
}

.inside h2 {
  color: var(--rose);
  font-size: clamp(34px, 5vw, 45px);
  line-height: 1;
}

.inside p {
  color: var(--sage);
  margin: 20px 0 0;
}

.feature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 50px var(--gutter);
}

.feature .shot { flex: 0 1 380px; }

.row-copy { flex: 0 1 400px; }

.row-copy h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 45px);
  line-height: 1.2;
  margin: 0;
}

.eyebrow-sm {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 4px;
  line-height: 1;
  margin: 0 0 20px;
}

.row-copy .note {
  margin: 20px 0 0;
  color: var(--grey);
  padding-right: 80px;
}

.bg-blush { background: var(--blush); }
.bg-rose  { background: var(--rose); }
.bg-sage  { background: var(--sage); }
.bg-white { background: #fff; }

.accent-coral .row-copy h2, .accent-coral .eyebrow-sm { color: var(--coral); }
.accent-rose  .row-copy h2, .accent-rose  .eyebrow-sm { color: var(--rose); }
.accent-white .row-copy h2, .accent-white .eyebrow-sm { color: #fff; }

/* ---------- legal pages ---------- */

.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px var(--gutter) 60px;
}

.legal h1 {
  color: var(--rose);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 45px);
  line-height: 1;
  text-align: center;
  margin: 0 0 30px;
}

.legal h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--grey);
  margin: 28px 0 14px;
}

.legal p { margin: 0 0 14.4px; }

.legal ul, .legal ol { padding-left: 40px; margin: 0 0 14.4px; }

.legal li { margin-bottom: 4px; }

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

.site-footer {
  background: var(--sage);
  border-top: 1px solid #d6d6d6;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 41px var(--gutter);
}

.site-footer p { margin: 0; }

.site-footer a { color: #fff; }

.site-footer .copy {
  flex: 1 1 260px;
  font-size: 14px;
  font-weight: 600;
}

.site-footer .links {
  flex: 1 1 360px;
  text-align: center;
  font-size: 13px;
}

.site-footer .social {
  flex: 1 1 260px;
  text-align: right;
}

.site-footer .social svg { width: 21px; height: 21px; display: inline-block; }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    order: 3;
  }

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

  .site-nav a.is-active::after { display: none; }

  .logo img { width: 72px; height: 72px; }

  .row-copy .note { padding-right: 0; }

  .feature { padding: 40px var(--gutter); }

  .we-are { padding: 64px var(--gutter); }

  .intro {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 56px var(--gutter);
  }

  .intro-copy { margin-left: 0; padding-right: 0; max-width: none; }

  .intro-shot img { height: 320px; }

  .body-copy {
    columns: 1;
    padding: 56px var(--gutter);
  }

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

  .strip img:last-child { display: none; }

  .statement { padding: 64px var(--gutter); }

  .site-footer .copy,
  .site-footer .links,
  .site-footer .social { flex-basis: 100%; text-align: center; }
}
