/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.25_@types+node@20.19.43_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.25_@types+node@20.19.43_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/(auth)/auth.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*
 * The Sillage entrance (approved mockup, 2026-09-17). Same identity, same
 * hierarchy, different composition per viewport:
 *
 *   ≥ 1280px   wide web      copy left, still life right
 *   1024-1279  laptop / iPad landscape
 *   768-1023   iPad portrait  copy upper left, bottle lower right
 *   < 768      iPhone         centered vertical composition, atmospheric crop
 *
 * The palette here is the shell's own and does not follow the site theme.
 */

.auth-shell {
  --auth-ink: #f3eae1;
  --auth-ink-soft: rgba(243, 234, 225, 0.78);
  --auth-ink-muted: #c9b8a6;
  --auth-champagne: #d6b47c;
  --auth-champagne-hover: #e2c38f;
  --auth-espresso: #1c1410;
  --auth-social: rgba(16, 18, 24, 0.78);
  --auth-social-border: rgba(243, 234, 225, 0.12);
  --auth-focus: #f1d9a8;

  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  background: #0d0a08;
  color: var(--auth-ink);
  color-scheme: dark;
  overflow-x: hidden;
}

/* The supplied artwork, cover-cropped per viewport. Never stretched. */
.auth-background {
  object-fit: cover;
  object-position: 72% 55%;
  z-index: -2;
}

/* Readability without flattening the photograph: dark on the copy side, clear over the bottle. */
.auth-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(10, 8, 7, 0.9) 0%,
      rgba(10, 8, 7, 0.78) 28%,
      rgba(10, 8, 7, 0.38) 50%,
      rgba(10, 8, 7, 0.06) 70%,
      rgba(10, 8, 7, 0) 100%
    ),
    linear-gradient(0deg, rgba(10, 8, 7, 0.45) 0%, rgba(10, 8, 7, 0) 35%);
}

.auth-content {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: max(3rem, env(safe-area-inset-top)) max(1.5rem, env(safe-area-inset-right))
    max(3rem, env(safe-area-inset-bottom)) max(1.5rem, env(safe-area-inset-left));
  padding-left: clamp(1.5rem, 17vw, 18rem);
}

.auth-column {
  width: 100%;
  max-width: 23.5rem;
  display: flex;
  flex-direction: column;
  animation: auth-enter 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes auth-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-column {
    animation: none;
  }
}

.auth-wordmark {
  margin: 0;
  line-height: 1;
}

.auth-rule {
  display: block;
  width: 2.25rem;
  height: 1px;
  margin: 1.125rem 0 0.875rem;
  background: linear-gradient(90deg, var(--auth-champagne), rgba(214, 180, 124, 0.2));
}

.auth-tagline {
  margin: 0 0 2rem;
  font-size: 0.6875rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--auth-ink-muted);
}

.auth-headline {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  /* Cormorant Garamond sets small and light; 500 and a slightly larger size
     keep the mockup's visual weight (docs/design/brand.md). */
  font-weight: 500;
  font-size: clamp(2.375rem, 3.35vw, 3.125rem);
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--auth-ink);
  text-wrap: balance;
}

.auth-lede {
  margin: 1rem 0 2rem;
  max-width: 24rem;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--auth-ink-soft);
}

/* Break after "journey," when the line must break, as in the mockup. */
.auth-lede span {
  display: inline-block;
}

.auth-panel {
  width: 100%;
}

.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3rem;
  padding: 0 1.25rem;
  border-radius: 0.75rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    transform 150ms ease;
}

.auth-button:disabled {
  cursor: default;
  opacity: 0.7;
}

.auth-button:focus-visible,
.auth-back:focus-visible,
.auth-switch a:focus-visible {
  outline: 2px solid var(--auth-focus);
  outline-offset: 3px;
}

.auth-button-primary {
  width: 100%;
  border: 0;
  background: var(--auth-champagne);
  color: var(--auth-espresso);
}

.auth-button-primary:hover:not(:disabled) {
  background: var(--auth-champagne-hover);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.8125rem;
  color: var(--auth-ink-muted);
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1 1;
  height: 1px;
  background: rgba(243, 234, 225, 0.16);
}

.auth-social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.auth-button-social {
  border: 1px solid var(--auth-social-border);
  background: var(--auth-social);
  color: var(--auth-ink);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.auth-button-social:hover:not(:disabled) {
  border-color: rgba(243, 234, 225, 0.24);
  background: rgba(22, 24, 32, 0.86);
}

.auth-switch {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--auth-ink-muted);
}

.auth-switch a {
  color: var(--auth-champagne);
  text-underline-offset: 3px;
}

.auth-email {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--auth-ink-muted);
  cursor: pointer;
}

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

.auth-error {
  margin: 0.75rem 0 0;
  min-height: 1.25rem;
  font-size: 0.875rem;
  color: #f0a597;
}

.auth-error:empty {
  margin: 0;
  min-height: 0;
}

.auth-captcha:empty {
  display: none;
}

.auth-captcha {
  margin-top: 0.75rem;
}

/* Private pilot: same shell, a short explanation and one way out. */
.auth-pilot {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.auth-pilot-eyebrow {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--auth-champagne);
}

.auth-pilot-heading {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--auth-ink);
}

.auth-pilot-body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--auth-ink-soft);
}

.auth-pilot-email {
  color: var(--auth-ink);
  overflow-wrap: anywhere;
}

.auth-pilot .auth-button {
  margin-top: 0.5rem;
}

.auth-status {
  margin: 0;
  color: var(--auth-ink-soft);
}

.auth-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  font-size: 0.8125rem;
  color: rgba(243, 234, 225, 0.62);
}

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

/* Wide web: more room, keep the column from drifting too far right. */
@media (min-width: 1600px) {
  .auth-content {
    padding-left: clamp(18rem, 20vw, 26rem);
  }
}

/* Laptop and iPad landscape: bottle stays right, copy slightly tighter. */
@media (max-width: 1279px) {
  .auth-background {
    object-position: 74% 55%;
  }
  .auth-content {
    padding-left: clamp(1.5rem, 12vw, 9rem);
  }
}

/* iPad portrait: copy upper left, still life lower right. */
@media (max-width: 1023px) {
  .auth-background {
    object-position: 66% 60%;
  }
  .auth-content {
    align-items: flex-start;
    padding-top: max(5rem, env(safe-area-inset-top));
    padding-left: clamp(1.5rem, 9vw, 5rem);
  }
  .auth-scrim {
    background:
      linear-gradient(
        160deg,
        rgba(10, 8, 7, 0.92) 0%,
        rgba(10, 8, 7, 0.72) 38%,
        rgba(10, 8, 7, 0.2) 70%,
        rgba(10, 8, 7, 0.05) 100%
      ),
      linear-gradient(0deg, rgba(10, 8, 7, 0.5) 0%, rgba(10, 8, 7, 0) 30%);
  }
}

/* Short landscape tablets and laptops: let the column scroll, never compress it. */
@media (max-height: 700px) and (min-width: 768px) {
  .auth-content {
    align-items: flex-start;
    padding-top: 2.5rem;
  }
}

/* iPhone: vertical, centered, atmospheric. */
@media (max-width: 767px) {
  .auth-background {
    object-position: 64% 50%;
  }
  .auth-scrim {
    background: linear-gradient(
      180deg,
      rgba(10, 8, 7, 0.55) 0%,
      rgba(10, 8, 7, 0.78) 30%,
      rgba(10, 8, 7, 0.86) 62%,
      rgba(10, 8, 7, 0.62) 100%
    );
  }
  .auth-content {
    align-items: flex-start;
    justify-content: center;
    padding-top: max(3.5rem, calc(env(safe-area-inset-top) + 2rem));
    padding-bottom: max(2rem, calc(env(safe-area-inset-bottom) + 1rem));
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }
  .auth-column {
    align-items: center;
    text-align: center;
    max-width: 22rem;
  }
  .auth-rule {
    margin-inline: auto;
  }
  .auth-tagline {
    margin-bottom: 1.75rem;
    font-size: 0.625rem;
    letter-spacing: 0.26em;
  }
  .auth-headline {
    font-size: clamp(2.2rem, 9.4vw, 2.75rem);
  }
  .auth-lede {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }
  .auth-social {
    grid-template-columns: 1fr;
  }
  .auth-email {
    text-align: left;
  }
  .auth-back {
    align-self: center;
  }
}

/* Very narrow phones (320pt): the phrase groups no longer fit, let the copy flow naturally. */
@media (max-width: 359px) {
  .auth-lede span {
    display: inline;
  }
  .auth-headline {
    font-size: 2.0625rem;
  }
}

