/* ==========================================================================
   Wishbone : Coming Soon placeholder
   Ported from Figma "Wishbone Website - Sub-Domain Pages":
     Desktop 1440  -> node 5291:769
     Tablet   768  -> node 5291:714
     Mobile   390  -> node 5291:660
   Token names below mirror the Figma variable names 1:1.
   ========================================================================== */

/* --- Argent CF (licensed, self-hosted) -----------------------------------
   Drop the licensed webfont files into /fonts using these exact names:
     fonts/ArgentCF-Regular.woff2   (required)
     fonts/ArgentCF-Regular.woff    (optional legacy fallback)
   Until they exist the browser silently falls through to the serif stack in
   --font-heading, so the page renders correctly either way.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Argent CF";
  src:
    url("fonts/ArgentCF-Regular.woff2") format("woff2"),
    url("fonts/ArgentCF-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color */
  --color-surface-default: #fefdfb;
  --color-surface-brand: #006265;
  --color-gray-25: #fcfcfe;
  --color-text-primary: #302a2e;
  --color-whisker-800: #302a2e;

  /* Spacing */
  --space-0: 0px;
  --space-1: 4px;
  --space-2-5: 10px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-10: 40px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Elevation */
  --elevation-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);

  /* Typography : identical at every breakpoint in the design */
  --type-size-800: 36px;
  --type-size-400: 18px;
  --font-heading: "Argent CF", "Iowan Old Style", "Palatino Linotype", Palatino,
    Georgia, "Times New Roman", serif;
  --font-body: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

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

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

body {
  /* Column flexbox so the footer sits at the bottom of short viewports
     instead of floating mid-page. In Figma this is handled by fixed-height
     "Empty Space" filler frames, which a fluid page does not need. */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background-color: var(--color-surface-default);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--type-size-400);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
}

/* ==========================================================================
   Desktop 1440 (base) : nodes 5291:771 / 5291:772 / 5291:823
   ========================================================================== */

/* --- NavBar (5291:771) : 72px tall = 16 + 40 + 16 -------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  background-color: var(--color-gray-25);
  box-shadow: var(--elevation-xs);
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-4) var(--space-20);
  background-color: var(--color-surface-default);
}

.navbar__brand {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.navbar__logo {
  width: 134px;
  height: 23.995px;
}

/* Reserved slot for nav links / CTAs. Empty on the placeholder, but its 40px
   height is what makes the bar 72px on desktop and 64px on tablet/mobile,
   exactly as the NavBar component does in Figma. */
.navbar__actions {
  display: flex;
  flex: 1 0 0;
  justify-content: flex-end;
  gap: var(--space-7);
  min-width: 0;
  height: var(--space-10);
}

/* --- Main (5291:772) ------------------------------------------------------ */
.main {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  align-items: center;
  padding: var(--space-16) var(--space-20) var(--space-24);
}

/* --- Hero (5291:775) ------------------------------------------------------ */
.hero {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero__illustration {
  flex-shrink: 0;
  width: 232.42px;
  height: 161px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  width: 341px;
}

.hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--type-size-800);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
}

.hero__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--type-size-400);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text-primary);
}

/* --- Footer (5291:823) : 205.52px tall = 64 + 77.52 + 64 ------------------- */
.footer {
  flex-shrink: 0;
  width: 100%;
  background-color: var(--color-surface-brand);
  padding: var(--space-16) var(--space-20);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2-5);
  width: 100%;
}

.footer__mark {
  flex-shrink: 0;
  width: 140px;
  height: 77.521px;
}

/* ==========================================================================
   Tablet 768 : node 5291:714
   Keeps the horizontal hero row (dog + copy, 48px gap, 621.42px wide).
   ========================================================================== */
@media (max-width: 1023.98px) {
  /* NavBar 5291:716 : 64px tall = 12 + 40 + 12 */
  .navbar__inner {
    padding: var(--space-3) var(--space-8);
  }

  /* Container 5291:717 : 40 top, 24 inline, 80 bottom */
  .main {
    padding: var(--space-10) var(--space-6) var(--space-20);
  }

  /* Footer 5291:768 : 114px tall = 32 + 50 + 32 */
  .footer {
    padding: var(--space-8) var(--space-6);
  }

  .footer__mark {
    width: 90.299px;
    height: 50px;
  }
}

/* ==========================================================================
   Mobile 390 : node 5291:660
   Hero stacks and centers; type sizes are unchanged from desktop.
   ========================================================================== */
@media (max-width: 767.98px) {
  /* NavBar 5291:662 : 64px tall, 16px inline */
  .navbar__inner {
    padding: var(--space-3) var(--space-4);
  }

  /* Container 5291:663 : 32 top, 16 inline, 64 bottom */
  .main {
    padding: var(--space-8) var(--space-4) var(--space-16);
  }

  /* Container 5291:665 : column, 32px between illustration and copy */
  .hero {
    flex-direction: column;
    gap: var(--space-8);
    width: 100%;
  }

  /* Asset 4 6 (5291:666) : 191.999 x 133 */
  .hero__illustration {
    width: 191.999px;
    height: 133px;
  }

  /* Main Content 5291:703 : 341 wide, centered text */
  .hero__copy {
    align-items: center;
    width: 100%;
    max-width: 341px;
    text-align: center;
  }

  /* Footer 5291:713 : 114px tall, 16px inline */
  .footer {
    padding: var(--space-8) var(--space-4);
  }
}

/* --- Motion preferences --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
