:root {
  --paper: #f4f0e7;
  --paper-soft: #faf7f0;
  --ink: #151413;
  --muted: rgba(21, 20, 19, 0.58);
  --line: rgba(21, 20, 19, 0.18);
  --blue: #2f4ee8;
  --klein-blue: #002fa7;
  --white: #fff;
  --serif: "Times New Roman", Times, Georgia, serif;
  --sans: Arial, Helvetica, sans-serif;
  --edge: clamp(18px, 2.6vw, 42px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
body.menu-is-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p { margin-top: 0; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 12px var(--edge);
  color: var(--white);
}
.brand-mark {
  display: block;
  width: clamp(94px, 8.4vw, 126px);
  height: 36px;
  justify-self: start;
}
.brand-mark span, .policy-brand span {
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  -webkit-mask: url("assets/tafa-wordmark-v3-mask.png") center / contain no-repeat;
  mask: url("assets/tafa-wordmark-v3-mask.png") center / contain no-repeat;
}
.primary-navigation { display: contents; }
.nav-main {
  display: flex;
  grid-column: 2;
  gap: clamp(18px, 2.4vw, 38px);
  align-items: center;
  justify-content: center;
}
.nav-main button, .menu-toggle, .early-access {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-main button, .nav-main a, .project-link, .menu-toggle, .early-access, .hero-meta, .collection-label, .dialog-eyebrow, .dialog-links {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}
.project-link { grid-column: 3; justify-self: end; }
.menu-toggle { display: none; }
.nav-main button, .nav-main a, .project-link, .early-access, .hero-meta a, .dialog-links a { position: relative; }
.nav-main button::after, .nav-main a::after, .project-link::after, .early-access::after, .hero-meta a::after, .dialog-links a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}
.nav-main button:hover::after, .nav-main button:focus-visible::after, .nav-main a:hover::after, .nav-main a:focus-visible::after, .project-link:hover::after, .project-link:focus-visible::after, .early-access:hover::after, .early-access:focus-visible::after, .hero-meta a:hover::after, .hero-meta a:focus-visible::after, .dialog-links a:hover::after, .dialog-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.coming-soon {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #6e9bb4;
  color: var(--white);
}
.hero-media, .hero-wash { position: absolute; inset: 0; }
.hero-media { inset: -3.5%; }
.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.hero-media img {
  animation: ocean-drift 18s ease-in-out infinite alternate;
}
.hero-media video { z-index: 1; }
.hero-wash {
  background:
    linear-gradient(180deg, rgba(7, 30, 43, 0.3) 0%, transparent 30%, transparent 66%, rgba(6, 25, 38, 0.34) 100%),
    radial-gradient(circle at 50% 46%, transparent 15%, rgba(3, 20, 31, 0.12) 100%);
}
.hero-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(94vw, 1180px);
  justify-items: center;
  transform: translate(-50%, -47%);
  text-align: center;
}
.collection-label { margin-bottom: clamp(17px, 2.3vw, 30px); }
.hero-copy h1 {
  margin: 0;
  font-size: clamp(46px, 7.4vw, 108px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.88;
  text-transform: uppercase;
}
.early-access { margin-top: clamp(26px, 3.4vw, 46px); padding-bottom: 5px; }
.early-access::after { transform: scaleX(1); }
.hero-meta {
  position: absolute;
  z-index: 2;
  right: var(--edge);
  bottom: max(22px, env(safe-area-inset-bottom));
  left: var(--edge);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
}
.hero-meta p { margin: 0; }
.hero-meta .journal-note { justify-self: center; }
.hero-meta a { justify-self: end; }

.waitlist {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(48px, 9vw, 150px);
  align-items: end;
  min-height: 38svh;
  padding: clamp(54px, 8vw, 104px) var(--edge);
  background: var(--paper);
  color: var(--ink);
}
.waitlist-intro { max-width: 490px; }
.waitlist-eyebrow, .marketing-consent, .waitlist-status {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.055em;
  line-height: 1.45;
}
.waitlist-eyebrow { margin-bottom: clamp(28px, 4vw, 54px); color: var(--muted); text-transform: uppercase; }
.waitlist h2 {
  margin-bottom: 15px;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.96;
}
.waitlist-intro > p:last-child { max-width: 330px; margin-bottom: 0; color: var(--muted); font-size: 17px; }
.waitlist-form { position: relative; width: 100%; max-width: 660px; justify-self: end; }
.waitlist-fields { display: grid; grid-template-columns: minmax(120px, 0.45fr) minmax(190px, 1fr) auto; border-bottom: 1px solid var(--ink); }
.waitlist-fields input {
  min-width: 0;
  padding: 15px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 24px);
}
.waitlist-fields input + input { margin-left: 24px; }
.waitlist-fields input::placeholder { color: rgba(21, 20, 19, 0.42); }
.waitlist-fields:focus-within { border-color: var(--blue); }
.waitlist-fields button {
  padding: 0 0 0 28px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.waitlist-fields button:disabled { cursor: wait; opacity: 0.5; }
.marketing-consent {
  display: grid;
  grid-template-columns: 13px 1fr;
  gap: 10px;
  align-items: start;
  max-width: 560px;
  margin-top: 17px;
  color: var(--muted);
  cursor: pointer;
}
.marketing-consent input { width: 13px; height: 13px; margin: 1px 0 0; accent-color: var(--blue); }
.waitlist-status { min-height: 1.45em; margin: 14px 0 0; color: var(--blue); }
.waitlist-status.is-error { color: #9c2820; }
.waitlist-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.waitlist-notice {
  width: min(410px, calc(100% - 32px));
  padding: 34px 34px 32px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
}
.waitlist-notice::backdrop { background: rgba(7, 19, 27, 0.36); backdrop-filter: blur(3px); }
.waitlist-notice[open] { animation: dialog-enter 200ms ease-out both; }
.waitlist-notice-eyebrow {
  margin-bottom: 38px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.waitlist-notice h2 {
  max-width: 310px;
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}
.waitlist-notice > p:last-child { margin: 0; color: var(--muted); font-size: 16px; }

.availability-dialog {
  width: min(540px, calc(100% - 32px));
  padding: clamp(28px, 5vw, 52px);
  border: 0;
  background: var(--paper);
  color: var(--ink);
}
.availability-dialog::backdrop { background: rgba(7, 19, 27, 0.52); backdrop-filter: blur(5px); }
.availability-dialog[open] {
  display: grid;
  min-height: min(430px, calc(100svh - 32px));
  align-content: space-between;
  animation: dialog-enter 240ms ease-out both;
}
.dialog-close {
  position: absolute;
  top: 16px;
  right: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
}
.dialog-eyebrow { margin-bottom: clamp(34px, 8vw, 72px); color: var(--muted); }
.availability-dialog h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.availability-dialog p:not(.dialog-eyebrow) { max-width: 340px; margin-bottom: 0; color: var(--muted); font-size: 18px; }
.dialog-links { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--blue); }

/* Shared policy-page styles used by the Daily Outfit Oracle support pages. */
.policy-page { background: var(--paper); }
.policy-header {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}
.policy-brand { display: block; width: 104px; height: 32px; color: var(--klein-blue); }
.policy-header nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: clamp(14px, 2.7vw, 38px); font-size: 15px; }
.language-switcher { position: relative; }
.language-switcher summary { display: flex; align-items: center; gap: 7px; color: var(--blue); cursor: pointer; list-style: none; }
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary::after { content: "⌄"; font-size: 13px; transform: translateY(-1px); }
.language-menu {
  position: absolute;
  z-index: 10;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  min-width: 144px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 16px 38px rgb(26 35 126 / 14%);
}
.language-menu a, .language-menu span { padding: 11px 14px; white-space: nowrap; }
.language-menu a + a, .language-menu span + a, .language-menu a + span { border-top: 1px solid var(--line); }
.language-menu span[aria-current="true"] { color: var(--muted); background: var(--paper-soft); }
.policy-shell { width: min(820px, calc(100% - 32px)); margin: 0 auto; padding: clamp(52px, 7vw, 92px) 0; }
.policy-shell .eyebrow, .policy-updated { color: var(--muted); font-size: 13px; }
.policy-shell h1 { margin: 8px 0 10px; color: var(--ink); font-size: clamp(36px, 6vw, 66px); font-weight: 400; line-height: 0.96; text-transform: uppercase; }
.policy-shell section { padding: 30px 0; border-top: 1px solid var(--line); }
.policy-shell section:first-of-type { margin-top: 42px; }
.policy-shell h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 400; }
.policy-shell p, .policy-shell li { color: var(--muted); font-size: 16px; }
.policy-shell a { color: var(--blue); }

@keyframes ocean-drift {
  from { transform: scale(1.015) translate3d(-0.45%, -0.25%, 0); }
  to { transform: scale(1.065) translate3d(0.45%, 0.3%, 0); }
}
@keyframes dialog-enter {
  from { opacity: 0; transform: translateY(10px); }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 66px; }
  .brand-mark { width: 96px; height: 30px; }
  .menu-toggle { display: block; grid-column: 2; justify-self: end; }
  .primary-navigation {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: grid;
    min-height: 100svh;
    padding: 116px var(--edge) max(24px, env(safe-area-inset-bottom));
    background: var(--paper);
    color: var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 200ms ease, transform 200ms ease;
  }
  .primary-navigation.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-main { display: grid; grid-column: 1; align-content: start; justify-items: start; gap: 10px; }
  .nav-main button, .nav-main a { font-family: var(--serif); font-size: clamp(34px, 10vw, 46px); letter-spacing: -0.03em; line-height: 1; text-transform: none; }
  .project-link { grid-column: 1; align-self: end; justify-self: start; }
  .hero-media { inset: -2.5%; }
  .hero-media img,
  .hero-media video { object-position: 50% 52%; }
  .hero-copy { transform: translate(-50%, -43%); }
  .hero-copy h1 { font-size: clamp(44px, 13vw, 60px); letter-spacing: -0.035em; line-height: 0.9; }
  .hero-meta { grid-template-columns: 1fr auto; row-gap: 8px; }
  .hero-meta .journal-note { display: none; }
  .waitlist {
    grid-template-columns: 1fr;
    gap: 54px;
    min-height: auto;
    padding-top: 66px;
    padding-bottom: max(66px, env(safe-area-inset-bottom));
  }
  .waitlist-form { justify-self: stretch; }
  .waitlist-eyebrow { margin-bottom: 28px; }
  .waitlist-fields { grid-template-columns: 1fr auto; }
  .waitlist-fields input { grid-column: 1 / -1; font-size: 22px; }
  .waitlist-fields input + input { margin-left: 0; border-top: 1px solid var(--line); }
  .waitlist-fields button { grid-column: 2; grid-row: 2; align-self: center; }
  .waitlist-fields input[name="email"] { grid-column: 1 / -1; grid-row: 2; padding-right: 68px; }
  .waitlist-notice { padding: 30px 26px 28px; }
  .availability-dialog[open] { min-height: min(470px, calc(100svh - 24px)); }
  .policy-header { grid-template-columns: 1fr; }
  .policy-header nav { justify-content: flex-start; }
  .language-menu { right: auto; left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media video { display: none; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
