/* Hallmark · shape: Conversational FAQ (four questions asked in clay speech bubbles, each answered big) · genre: playful · theme: brand · redesign: full · draw: 85b1ab (Catalogue swapped: the page has no inventory to index)
 * paper: oklch(94.8% 0.015 81) · accent: oklch(51.8% 0.181 11) · display: Fraunces 800 soft · body: Nunito · hero: Ledge (the clay logo on the teal field, the headline resting on a cream clay plate at its base) · nav: slab (the logo's black clay base bar, run across the top) · footer: slab base (the same black clay bar, the small logo on it) · signature: the client's clay logo filling the teal field, then the three audience cards hung as clay tags from one black clay line, swinging under the pointer
 * axes: light/roman-serif/chromatic-pink · posture: full palette (field teal, signal pink, seal yellow, clay ink) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: V, the palette and the faces are the client's and stay round to round; the composition changed instead: slab chrome, a plate under the logo, questions in bubbles, tags on a line */
/* Hallmark · reworded headings to questions: "So what is this thing?" kept; new h2 "Is it for me?" (#who-title) over "You're in the right place if you…"; h2 "We're the family behind My Pet Peed." became the answer line under h2 "Who's behind it?" (#family-title); h2 "More is on the way" became the answer line under h2 "When does it open?" (#news-title) · the FAQ shape asks each section as a question, no fact added */
/* Hallmark · reworded "One place … look out for each other. Simple idea. We think it's a good one." split into the answer line and an aside, words unchanged */
/* Hallmark · dropped pack-title · the rows section became "So what is this thing?" (#what-title), round 1 teaser brief */
/* Hallmark · dropped the scroll-press on the strips · playful allows one entrance, the hero press keeps it; the tags answer the pointer instead */
/* Hallmark · restored form.signup, #email, #email-help and the signup script, shipped with hidden and an empty data-endpoint · operator round 5: prepare the mailing list but hide it until Jarrett decides */
/* Hallmark · reworded "starting with our enzyme stain remover" to "starting with our stain and odor remover" · operator note N2 (round 7): the formula is not enzyme-based; no chemistry talk on customer pages (projects-jarrett 66673385) */
/* Hallmark · brand: colours sampled from the client's clay logo files (assets/*.png), see .hallmark/brand-spec.md · body face changed from Figtree to Nunito (not a brand face: the client gave none), its round ends match the clay */
@import url("./tokens.css");
@import url("./base.css");

:root { --display-weight: 800; --tracking-display: -0.025em; --radius-btn: var(--radius-pill); --clay-edge: 0 10px 0 var(--color-clay); }

h1, h2, h3, .say { font-variation-settings: "SOFT" 100, "opsz" 96; }

/* Clay surfaces: the teal field carries the client's own clay texture */
.field {
  background-color: var(--color-field);
  background-image: url("assets/web/clay-teal.webp");
  background-size: 1400px auto;
  color: var(--color-field-ink);
  --color-focus: var(--color-ink);
}
.clay { box-shadow: inset 0 3px 0 var(--clay-hi), inset 0 -5px 0 var(--clay-lo), var(--clay-edge); }

/* Buttons: one primary style, a pink clay pill that presses down */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 var(--space-lg);
  border: 0; border-radius: var(--radius-btn);
  background: var(--color-accent); color: var(--color-accent-ink);
  font-weight: 800; font-size: var(--text-md); text-decoration: none; cursor: pointer;
  box-shadow: inset 0 2px 0 var(--clay-hi), 0 5px 0 var(--color-clay);
  transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}
.btn:hover { background: var(--color-focus); transform: translateY(-1px); box-shadow: inset 0 2px 0 var(--clay-hi), 0 6px 0 var(--color-clay); }
.btn:active { transform: translateY(4px); box-shadow: inset 0 2px 0 var(--clay-hi), 0 1px 0 var(--color-clay); }
.btn:focus-visible { outline: 3px solid var(--color-ink); outline-offset: 3px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.textlink { font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
/* a standalone text link gets a 44px tap row; one inside a sentence keeps its line and grows its hit area with padding */
:is(.plate__actions, .qa__answer, .close__answer) > .textlink { display: inline-flex; align-items: center; min-height: 44px; }
p .textlink { padding-block: 11px; }
.textlink:hover { text-decoration-color: var(--color-accent); }
.textlink:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 2px; }

/* Nav: a slab, the logo's black clay base bar run across the top */
.slab { background: var(--color-clay); color: var(--color-clay-ink); box-shadow: inset 0 -3px 0 var(--clay-hi); --color-focus: var(--color-seal); }
.slab__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 64px; }
.slab__home { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-display); font-weight: 800; font-size: var(--text-lg); text-decoration: none; font-variation-settings: "SOFT" 100; }
.slab__links { display: flex; align-items: center; gap: var(--space-lg); font-size: var(--text-md); }
.slab__link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 700; padding-block: var(--space-xs); border-bottom: 3px solid transparent; transition: border-color var(--dur-short) var(--ease-out); }
.slab__link:hover { border-bottom-color: var(--color-seal); }
.slab__home:focus-visible, .slab__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: 4px; }

/* Hero: Ledge. The client's clay logo fills the teal field; the headline rests on a cream clay plate at its base */
.hero { min-height: min(calc(100svh - 64px), 60rem); display: grid; align-items: end; padding-block: var(--space-xl) var(--space-2xl); }
.hero__inner { display: grid; gap: var(--space-lg); justify-items: center; }
.hero__mark { width: min(100%, 72rem, max(30rem, calc((100svh - 25rem) * 2.38))); }
.hero__logo { width: 100%; height: auto; filter: drop-shadow(0 16px 12px var(--shadow-clay)); transform-origin: 50% 92%; }
.plate {
  justify-self: stretch;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-md) var(--gap-columns); align-items: center;
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-card);
  background: var(--color-paper); color: var(--color-ink);
  box-shadow: inset 0 3px 0 var(--clay-hi), inset 0 -5px 0 var(--clay-lo), var(--clay-edge);
}
.plate h1 { grid-column: 1 / 7; max-width: none; font-size: clamp(2.5rem, 3.2vw + 1rem, 4.5rem); line-height: 1; }
.plate__side { grid-column: 7 / 13; display: grid; gap: var(--space-sm); justify-items: start; }
.plate .lead { max-width: 36ch; color: var(--color-ink-2); }
.plate__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-xl); }
@media (prefers-reduced-motion: no-preference) {
  .hero__logo { animation: press 1s var(--ease-out) both; }
  @keyframes press {
    0%   { transform: translateY(-20px) scale(1.02, 0.98); }
    36%  { transform: translateY(0) scale(1.05, 0.9); }
    58%  { transform: scale(0.98, 1.04) rotate(-0.5deg); }
    78%  { transform: scale(1.01, 0.99) rotate(0.3deg); }
    100% { transform: none; }
  }
}

/* Questions: each section asks in a clay speech bubble on columns 1 to 4 and answers big on 5 to 12 */
.qa { padding-block: var(--section-gap); }
.qa__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); align-items: start; }
.bubble {
  grid-column: 1 / 5; justify-self: start; position: relative;
  max-width: 11ch; padding: var(--space-md) var(--space-lg) var(--space-lg);
  border-radius: 28px 28px 28px 8px;
  font-size: var(--text-2xl); line-height: 1.05;
  box-shadow: inset 0 3px 0 var(--clay-hi), inset 0 -5px 0 var(--clay-lo), 0 8px 0 var(--color-clay);
  transform: rotate(-2deg);
}
.bubble::after {
  content: ""; position: absolute; left: 18px; bottom: -22px; width: 30px; height: 26px;
  background: inherit; border-radius: 0 0 22px 4px;
  box-shadow: 0 6px 0 var(--color-clay);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.bubble--pink { background: var(--color-accent); color: var(--color-accent-ink); }
.bubble--yellow { background: var(--color-seal); color: var(--color-ink); transform: rotate(1.6deg); }
.bubble--cream { background: var(--color-paper); color: var(--color-ink); }
.qa__answer, .close__answer { grid-column: 5 / 13; display: grid; gap: var(--space-lg); justify-items: start; }
.say { font-family: var(--font-display); font-weight: 800; font-size: var(--text-display-s); line-height: 1.04; letter-spacing: var(--tracking-display); max-width: 22ch; text-wrap: balance; }
.aside { font-size: var(--text-lead); line-height: 1.45; max-width: 46ch; color: var(--color-ink-2); }
.ifyou { grid-column: 5 / 13; align-self: center; }

/* Who it's for: three clay tags hung from one black clay line, each on its own drop and tilt, swinging under the pointer */
.qa--who { padding-top: 0; }
.line { height: 14px; margin-top: var(--space-3xl); border-radius: var(--radius-pill); background: var(--color-clay); box-shadow: inset 0 3px 0 var(--clay-hi); }
.tags { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; align-items: start; }
.tag {
  --tilt: -2deg; --drop: 40px;
  position: relative; display: grid; gap: var(--space-md); align-content: start;
  margin-top: var(--drop);
  padding: 76px var(--space-xl) var(--space-xl);
  border-radius: 40px 40px var(--radius-card) var(--radius-card);
  box-shadow: inset 0 3px 0 var(--clay-hi), inset 0 -5px 0 var(--clay-lo), var(--clay-edge);
  transform: rotate(var(--tilt)); transform-origin: 50% calc(var(--drop) * -1);
  transition: transform var(--dur-long) var(--ease-out);
}
/* the punched hole and the cord up to the line */
.tag::before { content: ""; position: absolute; top: 26px; left: calc(50% - 13px); width: 26px; height: 26px; border-radius: 50%; background: var(--color-paper); box-shadow: inset 0 4px 0 var(--clay-lo), 0 0 0 5px var(--color-clay); }
.tag::after { content: ""; position: absolute; left: calc(50% - 3px); bottom: calc(100% - 39px); width: 6px; height: calc(var(--drop) + 39px); border-radius: 3px; background: var(--color-clay); z-index: -1; }
.tag:hover { transform: rotate(calc(var(--tilt) * -0.6)); }
.tag h3 { font-size: var(--text-section); line-height: 1; max-width: 9ch; }
.tag p { font-size: var(--text-lead); line-height: 1.4; }
.tag__name { justify-self: start; margin-top: var(--space-xs); padding: var(--space-2xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-clay); color: var(--color-clay-ink); font-size: var(--text-sm); font-weight: 800; }
.tags { position: relative; z-index: var(--z-base); }
.tag--pink { grid-column: 1 / 5; background: var(--color-accent); color: var(--color-accent-ink); }
.tag--yellow { grid-column: 5 / 9; --tilt: 1.8deg; --drop: 96px; background: var(--color-seal); color: var(--color-ink); }
.tag--teal { grid-column: 9 / 13; --tilt: -1.2deg; --drop: 56px; background-color: var(--color-field); background-image: url("assets/web/clay-teal.webp"); background-size: 900px auto; color: var(--color-field-ink); }

/* Who's behind it: the black clay band */
.family { background: var(--color-clay); color: var(--color-clay-ink); padding-block: var(--section-gap-s); --color-focus: var(--color-seal); }
.family .aside { color: var(--color-clay-ink); }
.family .bubble { box-shadow: inset 0 3px 0 var(--clay-hi), inset 0 -5px 0 var(--clay-lo), 0 8px 0 var(--color-seal); }
.family .bubble::after { box-shadow: 0 6px 0 var(--color-seal); }
.family .textlink { text-decoration-color: var(--color-seal); }
.family .textlink:hover { text-decoration-color: var(--color-clay-ink); }

/* When does it open: back on the clay, one working action, and a cream clay tag of what is not ready */
.close { padding-top: var(--section-gap-s); }
.close__grid { row-gap: var(--space-2xl); }
.close__answer { grid-column: 5 / 9; }
.close .say { font-size: var(--text-section); }
.close .aside { color: var(--color-field-ink); font-size: var(--text-md); max-width: 40ch; }
.note {
  grid-column: 9 / 13; display: grid; gap: var(--space-md);
  padding: 72px var(--space-xl) var(--space-xl); position: relative;
  border-radius: 40px 40px var(--radius-card) var(--radius-card);
  background: var(--color-paper); color: var(--color-ink);
  box-shadow: inset 0 3px 0 var(--clay-hi), inset 0 -5px 0 var(--clay-lo), var(--clay-edge);
  transform: rotate(2deg);
}
.note::before { content: ""; position: absolute; top: 24px; left: calc(50% - 12px); width: 24px; height: 24px; border-radius: 50%; background: var(--color-field); box-shadow: inset 0 4px 0 var(--clay-lo), 0 0 0 5px var(--color-clay); }
.note h3 { font-size: var(--text-xl); line-height: 1.1; max-width: 18ch; }
.note__list { display: grid; margin: 0; }
.note__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-2xs) var(--space-md); padding-block: var(--space-sm); border-top: 2px dashed var(--color-rule); }
.note__row dt { font-weight: 800; font-size: var(--text-lg); }
.note__row dd { margin: 0; color: var(--color-ink-2); }
.note__soon { padding: var(--space-3xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-seal); color: var(--color-ink); font-weight: 800; font-size: var(--text-sm); white-space: nowrap; }
.note__foot { font-size: var(--text-md); color: var(--color-ink-2); }
/* Mailing list: prepared, ships hidden until a real list exists */
.signup { display: grid; gap: var(--space-xs); width: 100%; max-width: 32rem; }
.signup label { font-weight: 800; }
.signup__row { display: flex; gap: var(--space-xs); }
.signup input { flex: 1; min-width: 0; min-height: 52px; padding: 0 var(--space-md); border: 2px solid var(--color-clay); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-md); outline: 3px solid transparent; outline-offset: 2px; transition: background-color var(--dur-short) var(--ease-out); }
.signup input::placeholder { color: var(--color-muted); }
.signup input:hover { background: var(--color-paper-2); }
.signup input:focus-visible { outline-color: var(--color-ink); }
.signup input[aria-invalid] { border-color: var(--color-error); }
.signup__help { min-height: 1lh; font-size: var(--text-md); font-weight: 800; }

/* Footer: the logo's black clay base, with the small logo sitting on it */
.base { margin-top: var(--section-gap-s); background: var(--color-clay); color: var(--color-clay-ink); box-shadow: inset 0 3px 0 var(--clay-hi); --color-focus: var(--color-seal); }
.base__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg); padding-block: var(--space-lg); }
.base__mark { width: 180px; height: auto; margin-top: -56px; filter: drop-shadow(0 6px 5px var(--shadow-clay)); }
.base p { max-width: none; }
.base .textlink { text-decoration-color: var(--color-seal); }

@media (max-width: 60rem) {
  .plate h1, .plate__side { grid-column: 1 / -1; }
  .hero { min-height: auto; padding-block: var(--space-2xl) var(--space-xl); }
  .hero__mark { width: 100%; }
  .bubble, .qa__answer, .close__answer, .ifyou, .note { grid-column: 1 / -1; }
  .tag--pink, .tag--yellow, .tag--teal { grid-column: 1 / -1; --drop: 40px; }
  .tags { row-gap: var(--space-md); }
  .line { margin-top: var(--space-2xl); }
  .tag h3 { max-width: 16ch; }
  .note { transform: rotate(1deg); }
  .slab__links .slab__link--ext { display: none; }
}
@media (max-width: 40rem) {
  .plate { padding: var(--space-lg); }
  .plate h1 { font-size: clamp(2.25rem, 9vw, 2.75rem); }
  .plate__actions .btn { width: 100%; }
  .signup__row { flex-direction: column; }
  .tag { padding: 68px var(--space-lg) var(--space-lg); }
  .tag h3 { font-size: var(--text-3xl); }
  .note { transform: none; padding: var(--space-2xl) var(--space-lg) var(--space-lg); }
  .base__mark { width: 140px; margin-top: calc(var(--space-xl) * -1); }
  /* phone: tags hang straighter and sit inset, so a tilted corner never reaches past the gutter or clips text */
  .tag { margin-inline: var(--space-xs); }
  .tag--pink { --tilt: -1.2deg; } .tag--yellow { --tilt: 1deg; } .tag--teal { --tilt: -0.8deg; }
  .tag:hover { transform: rotate(var(--tilt)); }
  .bubble { transform: rotate(-1.2deg); } .bubble--yellow { transform: rotate(1deg); }
  .tag__name, .note__soon { font-size: var(--text-md); }
  .base__bar p { line-height: 1.6; }
}
