/* =========================
   domina.base.css
   BASELINE RESET
   =========================  */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: var(--r-1);
}

main {
  flex: 1;
}

/* “Editorial” text helpers */
.ds-title {
  font-family: var(--font-serif);
  text-transform: uppercase;
  letter-spacing: var(--track-wide);
}

.ds-byline {
  font-family: var(--font-sans);
  color: var(--ink-soft);
  letter-spacing: var(--track-tight);
}

/* =========================
   domina.tokens.css
   BASELINE TOKENS
   =========================  */
:root {
  /* Typography */
  --font-serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Noto Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Type scale */
  --text-xs: 0.825rem;
  --text-sm: 0.9rem;
  --text-md: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.9rem;

  /* Line heights */
  --lh-tight: 1.1;
  --lh-normal: 1.45;

  /* Letter spacing */
  --track-tight: 0.01em;
  --track-wide: 0.045em;

  /* Color palette (quiet editorial) */
  --ink: #111;
  --ink-soft: #333;
  --paper: #fff;
  --rule: #d7d7d7;
  --wash: rgba(0, 0, 0, 0.04);
  --accent: #3f1d28;

  /* Spacing scale (no random px) */
  --s-2: 4px;
  --s-1: 8px;
  --s0: 12px;
  --s1: 16px;
  --s2: 24px;
  --s3: 32px;
  --s4: 48px;

  /* Radii (barely there) */
  --r-1: 6px;
  --r-pill: 999px;

  /* Container widths */
  --container: 1200px;
  --gutter: 0px;

  /* Optical adjustment */
  --optical-1: 1px;

  /* Focus ring */
  --focus: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

/* =========================
   domina.components.css
   BASELINE COMPONENTS
   =========================  */
/* Container: consistent page width + gutters */
.ds-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Stack: vertical rhythm without per-element margins */
.ds-stack>*+* {
  margin-top: var(--s0);
}

/* Cluster: horizontal layout with gap */
.ds-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
  align-items: center;
}

/* Grid: basic responsive grid */
.ds-grid {
  display: grid;
  gap: var(--s2);
}

.ds-button1 {
  align-self: flex-start;
  margin-top: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d9c16a 0%, #b89d45 100%);
  color: #111 !important;
  font-weight: 20;
  text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, .32), inset 0 -2px 4px rgba(0, 0, 0, .22);
  transition: transform .15s ease, filter .15s ease;
}

/* =========================
   AUTH (LOGIN / SIGNUP)
   ========================= */

.ds-auth__inner {
  padding-bottom: var(--s4);
}

.ds-auth__panel {
  border: 1px solid var(--rule);
  border-radius: var(--r-1);
  background: var(--paper);
  padding: var(--s4);
  max-width: 760px;
}

.ds-auth__lead {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  margin-bottom: var(--s2);
}

.ds-form {
  display: grid;
  gap: var(--s2);
}

.ds-field {
  display: grid;
  gap: var(--s-1);
}

.ds-label {
  font-family: var(--font-serif);
  text-transform: uppercase;
  letter-spacing: var(--track-wide);
  font-size: var(--text-xs);
  color: var(--ink-soft);
}

.ds-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--r-1);
  background: #fff;
  color: var(--ink);
  font-size: var(--text-md);
}

.ds-input:focus {
  outline: none;
  box-shadow: var(--focus);
  border-color: rgba(0, 0, 0, 0.18);
}

.ds-help {
  font-size: var(--text-xs);
  color: var(--ink-soft);
}

.ds-check {
  display: inline-flex;
  gap: var(--s-1);
  align-items: center;
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

.ds-auth__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
}

.ds-auth__terms {
  margin-top: var(--s-1);
}

.ds-auth__submit {
  display: inline-block;
  justify-self: start;
}

.ds-auth__link {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: inherit;
}

.ds-auth__divider {
  height: 1px;
  background: var(--rule);
  margin: var(--s3) 0;
}

.ds-auth__alt,
.ds-auth__fineprint {
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  .ds-auth__panel {
    padding: var(--s3);
  }

  .ds-auth__row {
    flex-direction: column;
    align-items: flex-start;
  }
}