/* Ported from design-reference/figma-reference.css (Figma Make file
   f06xyi5TSTCd9EkEpygPdw, 2026-10-16) for TOT-145. Verbatim except:
     1. the two @import lines are deleted;
     2. @theme is a plain :root block (same names; --font-sans drops the
        "Archivo Variable" family name, per the reference's replacement block);
     3. Archivo loads from Google Fonts in each page <head>, not here;
   plus the two dead .pair rules the ticket says to delete, and the hero crop
   (object-position) from the TOT-145 comment of 2026-10-17.
   Diff against design-reference/ to see every change. Do not retune values. */
:root {
  --font-sans: "Archivo", sans-serif;
  --color-action: #c61063;
  --color-ink: #241a1f;
  --color-cream: #fdeedd;
  --color-n600: #675c51;
  --color-pink: #f04291;
}

:root {
  color: var(--color-ink);
  background: var(--color-cream);
  font-family: var(--font-sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 90% 16%, rgba(240, 66, 145, 0.09), transparent 22rem),
    var(--color-cream);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.site {
  min-height: 100vh;
  overflow: hidden;
}

.shell {
  width: min(100% - 2rem, 76rem);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  width: min(100% - 2rem, 76rem);
  min-height: 5rem;
  margin-inline: auto;
  border-bottom: 1px solid rgba(36, 26, 31, 0.18);
}

.logo-link {
  display: block;
  flex: none;
}

.logo {
  display: block;
  width: 7.1rem;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  min-width: 0;
}

nav {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  min-height: 5rem;
}

nav a {
  position: relative;
  display: grid;
  align-content: center;
  color: var(--color-n600);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--color-action);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

nav a:hover::after,
nav a.active::after {
  transform: scaleX(1);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  letter-spacing: -0.055em;
}

h1 {
  max-width: 12ch;
  color: var(--color-pink);
  font-size: clamp(2.75rem, 8.1vw, 5.5rem);
  font-weight: 790;
  line-height: 0.94;
}

h2 {
  max-width: 13ch;
  color: var(--color-pink);
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  font-weight: 760;
  line-height: 0.98;
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.05;
}

.eyebrow {
  margin-bottom: 1.15rem;
  color: var(--color-action);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.section {
  padding-block: clamp(5.5rem, 10vw, 9rem);
}

.section-intro {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.hero {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 7vw, 6.5rem);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
}

.hero-bottom {
  display: grid;
  gap: 1.5rem;
}

.lede {
  max-width: 36rem;
  color: var(--color-n600);
  font-size: clamp(1.06rem, 1.7vw, 1.3rem);
  font-weight: 520;
  line-height: 1.45;
}

.button-row {
  display: grid;
  gap: 0.7rem;
}

.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.65rem;
  padding: 0.78rem 1rem;
  border: 2px solid var(--color-action);
  border-radius: 0;
  background: var(--color-action);
  color: white;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1.12;
  text-align: left;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button > span {
  min-width: 0;
  white-space: nowrap;
}

.button:hover {
  background: var(--color-ink);
  border-color: var(--color-ink);
  transform: translateY(-2px);
}

.button-secondary {
  background: transparent;
  color: var(--color-action);
}

.button-secondary:hover {
  color: white;
}

.icon {
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-photo-wrap {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
  background: var(--color-ink);
}

.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
  object-position: 36% center;
}

.photo-note {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(36, 26, 31, 0.93);
  color: white;
  font-size: 0.84rem;
  font-weight: 680;
}

.steps {
  border-top: 1px solid rgba(36, 26, 31, 0.22);
}

.step {
  display: grid;
  gap: 1rem;
  padding-block: 2rem;
  border-bottom: 1px solid rgba(36, 26, 31, 0.22);
}

.step-number,
.operation > span {
  color: var(--color-action);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.1em;
}

.step p,
.owner-copy > p,
.story-copy,
.form-intro > p,
.operation p {
  color: var(--color-n600);
  font-size: 1rem;
  line-height: 1.55;
}

.waitlist {
  background: var(--color-ink);
  color: white;
}

.waitlist-grid {
  display: grid;
  gap: 3rem;
}

.light {
  color: #f8b8d5;
}

.light-title {
  color: white;
}

.waitlist-copy {
  max-width: 35rem;
  margin-bottom: 2rem;
  color: #e4d9d0;
  font-size: 1rem;
  line-height: 1.55;
}

.email-form label,
.store-form label {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.76rem;
  font-weight: 700;
}

.email-form > div {
  display: grid;
  gap: 0.65rem;
}

input {
  width: 100%;
  min-height: 3.65rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(36, 26, 31, 0.4);
  border-radius: 0;
  outline: 0;
  background: #fffaf5;
  color: var(--color-ink);
}

input:focus {
  border-color: var(--color-action);
  box-shadow: 0 0 0 3px rgba(198, 16, 99, 0.18);
}

.form-success {
  padding: 1.25rem;
  border-left: 4px solid var(--color-action);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 650;
}

.owner-teaser {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.owner-mark {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: var(--color-ink);
}

.owner-mark img {
  width: min(72%, 24rem);
}

.owner-copy {
  display: grid;
  gap: 1.5rem;
}

.owner-copy .eyebrow {
  margin-bottom: 0;
}

.owner-copy .button {
  margin-top: 0.5rem;
}

.story {
  border-top: 1px solid rgba(36, 26, 31, 0.22);
}

.story-copy {
  display: grid;
  gap: 1.5rem;
  max-width: 43rem;
}

.contact {
  padding-top: 2rem;
}

.contact-grid {
  display: grid;
  gap: 0.75rem;
}

.contact-card {
  display: grid;
  gap: 1.6rem;
  min-height: 15rem;
  padding: 1.4rem;
  border: 1px solid rgba(36, 26, 31, 0.28);
}

.contact-card > .icon {
  color: var(--color-action);
}

.contact-label {
  color: var(--color-n600);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-card a {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  color: var(--color-action);
  font-size: 1.08rem;
  font-weight: 710;
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--color-ink);
}

.store-hero {
  display: grid;
  gap: 3rem;
  padding-block: clamp(3rem, 8vw, 7rem);
}

.store-hero-copy {
  display: grid;
  align-content: start;
  gap: 2rem;
}

.store-hero-copy .eyebrow {
  margin-bottom: 0;
}

.store-hero-copy h1 {
  max-width: 13ch;
}

.store-hero-copy .button {
  margin-top: 0.5rem;
}

.price-card {
  padding: clamp(1.5rem, 5vw, 3.5rem);
  background: var(--color-action);
  color: white;
}

.price-card .eyebrow {
  margin-bottom: 2rem;
}

.price-big {
  font-size: clamp(2.45rem, 5vw, 4.6rem);
  font-weight: 790;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.price-support {
  margin-top: 1rem;
  font-size: 1.15rem;
  font-weight: 680;
}

.price-rule {
  height: 1px;
  margin-block: 2rem;
  background: rgba(255, 255, 255, 0.4);
}

.price-card > p:not(.eyebrow, .price-big, .price-support) {
  margin-top: 1.3rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.promise-grid {
  display: grid;
  gap: 0.75rem;
}

.promise {
  display: grid;
  align-content: space-between;
  min-height: 13rem;
  padding: 1.4rem;
  border: 1px solid rgba(36, 26, 31, 0.28);
}

.promise .icon {
  color: var(--color-action);
}

.operations {
  background: #f7dfc5;
}

.operations-grid {
  display: grid;
  gap: 3.5rem;
}

.operations-list {
  border-top: 1px solid rgba(36, 26, 31, 0.24);
}

.operation {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding-block: 1.8rem;
  border-bottom: 1px solid rgba(36, 26, 31, 0.24);
}

.operation h3 {
  margin-bottom: 0.8rem;
}

.store-form-section {
  display: grid;
  gap: 3rem;
}

.form-intro {
  display: grid;
  align-content: start;
  gap: 1.4rem;
}

.form-intro .eyebrow {
  margin-bottom: 0;
}

.store-form {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
  background: #f7dfc5;
}

.store-form .button {
  margin-top: 0.8rem;
}

.sent-message {
  display: grid;
  gap: 1.2rem;
  padding: 2rem;
  background: #f7dfc5;
}

.sent-message > .icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-action);
}

.sent-message p {
  color: var(--color-n600);
}

footer {
  padding-block: 3rem;
  background: var(--color-ink);
  color: white;
}

.footer-grid {
  display: grid;
  gap: 2.75rem;
}

.footer-brand > img {
  width: 7rem;
  filter: brightness(0) invert(1);
}

.footer-brand > p {
  max-width: 18rem;
  margin-top: 1.25rem;
  color: #e4d9d0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.footer-column a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: #e4d9d0;
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-column a strong {
  color: white;
  font-size: 0.74rem;
  font-weight: 560;
}

.footer-column a:hover {
  color: white;
}

.footer-heading {
  margin-bottom: 0.35rem;
  color: white;
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #e4d9d0;
  font-size: 0.75rem;
  line-height: 1.7;
}

.language-toggle {
  display: inline-flex;
  flex: none;
  padding: 2px;
  border: 1px solid rgba(36, 26, 31, 0.32);
}

.language-toggle button {
  min-width: 2rem;
  min-height: 1.85rem;
  padding: 0.25rem 0.45rem;
  border: 0;
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 760;
  letter-spacing: 0.06em;
}

.language-toggle button.active {
  background: var(--color-action);
  color: white;
}

footer .language-toggle {
  border-color: rgba(255, 255, 255, 0.35);
}

footer .language-toggle button {
  color: white;
}

html[lang="es"] h1 {
  max-width: 13.5ch;
  font-size: clamp(2.6rem, 7.6vw, 5.15rem);
}

html[lang="es"] .button {
  font-size: 0.82rem;
}

/* --- THE MOTION SYSTEM. Do not retune these numbers. ---------------------- */

.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity 320ms ease-out,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-duration: 680ms;
  transition-delay: var(--delay, 0ms);
}

.reveal-photo {
  transform: none;
}

.reveal-photo .hero-photo {
  transform: scale(1.07);
  transition: transform 320ms ease-out;
}

.reveal-photo.is-visible .hero-photo {
  transform: scale(1);
  transition-duration: 900ms;
  transition-delay: var(--delay, 0ms);
}

/* --- Breakpoints --------------------------------------------------------- */

@media (min-width: 42rem) {
  .shell,
  .site-header {
    width: min(100% - 3.5rem, 76rem);
  }

  nav {
    gap: 2rem;
  }

  nav a {
    font-size: 0.74rem;
  }

  .button-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 34rem;
  }

  .email-form > div {
    grid-template-columns: 1fr auto;
  }

  .email-form .button {
    min-width: 12rem;
  }

  .steps,
  .contact-grid,
  .promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .step {
    padding: 1.5rem;
    border-right: 1px solid rgba(36, 26, 31, 0.22);
    border-bottom: 0;
  }

  .step:first-child {
    padding-left: 0;
  }

  .step:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }

  .footer-bottom {
    grid-column: 1 / -1;
  }
}

@media (min-width: 64rem) {
  .site-header {
    min-height: 6rem;
  }

  nav {
    min-height: 6rem;
  }

  .logo {
    width: 8.5rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
    min-height: calc(100vh - 6rem);
  }

  .hero-copy {
    padding-block: 1.5rem;
  }

  .hero-photo-wrap,
  .hero-photo {
    min-height: 39rem;
  }

  .waitlist-grid,
  .owner-teaser,
  .story,
  .store-hero,
  .operations-grid,
  .store-form-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .owner-copy {
    padding: 3rem;
  }

  .story .section-intro {
    margin-bottom: 0;
  }

  .store-hero {
    align-items: stretch;
  }

  .store-hero-copy {
    padding-block: 2rem;
  }

  .price-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .store-form {
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem;
  }

  .store-form .button {
    grid-column: 1 / -1;
  }

}

@media (max-width: 41.99rem) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding-block: 0.8rem;
  }

  .header-actions {
    display: contents;
  }

  nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    min-height: 2.8rem;
    border-top: 1px solid rgba(36, 26, 31, 0.12);
  }

  nav a {
    flex: 1;
    min-width: 0;
    padding-top: 0.6rem;
  }

  .site-header > .header-actions > .language-toggle {
    grid-column: 2;
    grid-row: 1;
  }
}

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

  .reveal,
  .reveal.is-visible,
  .reveal-photo .hero-photo,
  .reveal-photo.is-visible .hero-photo {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
