/* ==========================================================================
   Kellie Pereira — coming soon
   Tokens, type and the sign-up field follow the Shopify theme's base.css.
   ========================================================================== */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/fonts/cormorant-garamond.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/fonts/hanken-grotesk.woff2') format('woff2');
}

:root {
  --color-ground: #F4F1EC;
  --color-ink: #1E1C1A;
  --color-muted: #5E5850;
  --color-rule: #DDD7CD;
  --color-hover: #7A4B36;
  --color-error: #8A2A1B;

  --font-display: 'Cormorant Garamond', 'Cormorant', Garamond, Georgia, serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --page-max: 1440px;
  --gutter: 64px;
  --header-height: 96px;
  --text-label: 12px;
  --tracking-label: 0.18em;
  --tracking-pill: 0.14em;
  --h1-page: clamp(48px, 5.56vw, 80px);
}

@media (max-width: 1099px) {
  :root {
    --gutter: 40px;
  }
}

@media (max-width: 749px) {
  :root {
    --gutter: 24px;
    --header-height: 64px;
    --text-label: 11px;
  }
}

/* Reset ----------------------------------------------------------------- */

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

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

::selection {
  background: var(--color-ink);
  color: var(--color-ground);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--color-ground);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
p {
  margin: 0;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--color-hover);
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 1px solid var(--color-ink);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Type ------------------------------------------------------------------ */

.h1--page {
  font-family: var(--font-display);
  font-size: var(--h1-page);
  font-weight: 300;
  line-height: 1;
  text-wrap: balance;
}

.label {
  font-size: var(--text-label);
  line-height: 1.5;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-muted);
}

.lede {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.23vw, 32px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.3;
  text-wrap: pretty;
}

.fine-print {
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-muted);
  text-wrap: pretty;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}

.wordmark:hover {
  color: var(--color-ink);
}

/* Layout ---------------------------------------------------------------- */

.page-width {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  border-bottom: 1px solid var(--color-rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  height: var(--header-height);
}

.notice {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  padding-block: 96px;
}

.notice__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.notice__eyebrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
}

.notice__status {
  padding: 3px 12px;
  border: 1px solid var(--color-hover);
  border-radius: 999px;
  letter-spacing: var(--tracking-pill);
  color: var(--color-hover);
}

.site-footer {
  border-top: 1px solid var(--color-rule);
}

.site-footer__inner {
  padding-block: 28px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}

@media (max-width: 749px) {
  .notice {
    padding-block: 56px;
  }

  .notice__inner {
    gap: 24px;
  }

  .site-footer__inner {
    padding-block: 24px;
  }
}

/* Sign-up --------------------------------------------------------------- */

.signup {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 520px;
  margin-top: 8px;
}

.inline-field {
  display: flex;
  border-bottom: 1px solid var(--color-ink);
  text-align: left;
}

.inline-field input {
  flex: 1 1 auto;
  min-width: 0;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 16px;
}

.inline-field input::placeholder {
  color: var(--color-muted);
  opacity: 1;
}

/* Focus: no outline box; the rule under the field thickens to 2px.
   Without :has() that never shows, so the outline stays there. */
@supports selector(:has(*)) {
  .inline-field input:focus-visible {
    outline: none;
  }

  .inline-field:has(input:focus-visible) {
    box-shadow: 0 1px 0 var(--color-ink);
  }
}

.inline-field button {
  height: 56px;
  padding: 0 0 0 16px;
  border: 0;
  background: transparent;
  font-size: 12px;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  white-space: nowrap;
}

.inline-field button:hover {
  color: var(--color-hover);
}

.inline-field button:disabled {
  cursor: progress;
  color: var(--color-muted);
}

.form-message {
  font-size: 14px;
  line-height: 1.6;
}

.form-message--error {
  color: var(--color-error);
}

.signup__success {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.95vw, 28px);
  font-weight: 300;
  line-height: 1.3;
}

.form-message:focus,
.signup__success:focus {
  outline: none;
}

@media (max-width: 749px) {
  .inline-field input,
  .inline-field button {
    height: 52px;
  }
}
