/* ==========================================================================
   AGAIN COFFEE DESIGN SYSTEM — BASE & TYPOGRAPHY
   Self-hosted fonts, reset, tokens, and core styling
   ========================================================================== */

/* Space Grotesk 400 */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/space-grotesk-400.ttf') format('truetype');
}

/* Space Grotesk 500 */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/space-grotesk-500.ttf') format('truetype');
}

/* Space Grotesk 600 */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/space-grotesk-600.ttf') format('truetype');
}

/* Space Grotesk 700 */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/space-grotesk-700.ttf') format('truetype');
}

/* Material Symbols Outlined (Local Self-Hosted) */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 100 700;
  font-display: block;
  src: url('../assets/fonts/material-symbols-outlined.woff2') format('woff2');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga' 1;
  font-feature-settings: 'liga' 1;
  -webkit-font-smoothing: antialiased;
}

/* DESIGN TOKENS — AGAIN BRAND PALETTE (brand guidelines p.10) */
:root {
  /* Brand primaries: the only four colours the identity uses */
  --brand-black: #000000;
  --brand-white: #FFFFFF;
  --brand-indigo: #2C2A7A;
  --brand-ember: #ED582F;

  /* Neutral steps between black and white (surfaces, lines, secondary text) */
  --black: var(--brand-black);
  --ink: #111111;
  --charcoal: #1A1A1A;
  --grey-700: #3A3A3A;
  --grey-500: #8C8C8C;
  --grey-300: #C9C9C9;
  --paper: #F5F5F5;
  --white: var(--brand-white);
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(10, 10, 10, 0.10);

  /* Semantic Color Mappings */
  --color-base: var(--black);
  --color-surface: var(--black);
  --color-card: var(--ink);
  --color-surface-container: var(--ink);
  --color-surface-container-low: var(--black);
  --color-surface-container-high: var(--charcoal);
  --color-surface-container-highest: var(--grey-700);
  --color-surface-bright: var(--grey-700);
  --color-divider: var(--line-dark);
  --color-border: var(--line-dark);
  --color-outline: var(--line-dark);
  --color-outline-variant: rgba(255, 255, 255, 0.08);

  --color-text-white: var(--white);
  --color-text-muted: var(--grey-500);
  --color-text-subtle: var(--grey-500);

  /* Accent: Ember Orange, used sparingly — one accent per view */
  --color-accent-ember: var(--brand-ember);
  --color-accent-ember-hover: #F26C47;
  --color-accent-ember-contrast: var(--white);
  --color-accent-ember-glow: rgba(237, 88, 47, 0.10);

  --video-overlay-color: rgba(0, 0, 0, 0.75);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', sans-serif;
  --font-accent: 'Space Grotesk', sans-serif;
}

/* GLOBAL RESET */
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: var(--line-dark);
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: var(--font-body);
  scroll-behavior: smooth;
  background-color: var(--black) !important;
  color: var(--white) !important;
  overflow-x: clip;
  overflow-y: auto;
}

body {
  margin: 0;
  padding: 0;
  line-height: inherit;
  background-color: var(--black) !important;
  color: var(--white) !important;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  overflow-y: visible;
  min-height: 100vh;
}

::selection {
  background-color: var(--white);
  color: var(--black);
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--grey-700);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--grey-500);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* BRAND UTILITIES */
.film-grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.pack-rule {
  border: 0;
  border-top: 1px solid var(--color-divider);
  width: 100%;
  margin: 0;
}

.micro-label {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-500) !important;
}

.micro-label-muted {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-500);
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-display-heading {
  font-family: var(--font-display);
}

/* Accent word inside a headline: same face and weight, carried by Ember Orange */
.font-ritual-accent {
  font-family: var(--font-accent);
  font-style: normal;
  color: var(--brand-ember);
  letter-spacing: inherit;
  text-transform: inherit;
}

.currency-inr {
  font-family: var(--font-body), sans-serif;
  font-weight: 700;
}

/* TYPOGRAPHY TOKENS */
.font-label-mono {
  font-family: 'Space Grotesk', sans-serif;
}

.font-body-lg {
  font-family: 'Space Grotesk', sans-serif;
}

.font-display-lg-mobile {
  font-family: 'Space Grotesk', sans-serif;
}

.font-headline-md {
  font-family: 'Space Grotesk', sans-serif;
}

.font-body-sm {
  font-family: 'Space Grotesk', sans-serif;
}

.font-display-xl-mobile {
  font-family: 'Space Grotesk', sans-serif;
}

.font-display-xl {
  font-family: 'Space Grotesk', sans-serif;
}

.font-body-md {
  font-family: 'Space Grotesk', sans-serif;
}

.font-display-lg {
  font-family: 'Space Grotesk', sans-serif;
}

.font-headline-sm {
  font-family: 'Space Grotesk', sans-serif;
}

.font-label-ui {
  font-family: 'Space Grotesk', sans-serif;
}

.font-headline-lg {
  font-family: 'Space Grotesk', sans-serif;
}

.text-label-mono {
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.text-body-lg {
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0em;
  font-weight: 400;
}

.text-display-lg-mobile {
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0;
  font-weight: 700;
}

.text-headline-md {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0em;
  font-weight: 600;
}

.text-body-sm {
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.01em;
  font-weight: 400;
}

.text-display-xl-mobile {
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 0;
  font-weight: 700;
}

.text-display-xl {
  font-size: 64px;
  line-height: 72px;
  letter-spacing: 0;
  font-weight: 700;
}

.text-body-md {
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0.01em;
  font-weight: 400;
}

.text-display-lg {
  font-size: 48px;
  line-height: 56px;
  letter-spacing: 0;
  font-weight: 700;
}

.text-headline-sm {
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0em;
  font-weight: 600;
}

.text-label-ui {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.text-headline-lg {
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0;
  font-weight: 600;
}


/* CORE BASE RULES */
*,
::before,
::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  --tw-contain-size: ;
  --tw-contain-layout: ;
  --tw-contain-paint: ;
  --tw-contain-style: ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  --tw-contain-size: ;
  --tw-contain-layout: ;
  --tw-contain-paint: ;
  --tw-contain-style: ;
}

*,
::after,
::before {
  box-sizing: border-box;
  border-width: 0px;
  border-style: solid;
  border-color: rgb(229, 231, 235);
}

::after,
::before {
  --tw-content: '';
}

:host,
html {
  line-height: 1.5;
  text-size-adjust: 100%;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0px;
  line-height: inherit;
}

hr {
  height: 0px;
  color: inherit;
  border-top-width: 1px;
}

abbr:where([title]) {
  text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
pre,
samp {
  font-family: 'Space Grotesk', sans-serif;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  text-indent: 0px;
  border-color: inherit;
  border-collapse: collapse;
}

progress {
  vertical-align: baseline;
}

[type="search"] {
  appearance: textfield;
  outline-offset: -2px;
}

summary {
  display: list-item;
}

blockquote,
dd,
dl,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
pre {
  margin: 0px;
}

fieldset {
  margin: 0px;
  padding: 0px;
}

legend {
  padding: 0px;
}

menu,
ol,
ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

dialog {
  padding: 0px;
}

:disabled {
  cursor: default;
}

audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
  display: block;
  vertical-align: middle;
}

img,
video {
  max-width: 100%;
  height: auto;
}

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

.pointer-events-none {
  pointer-events: none;
}

.pointer-events-auto {
  pointer-events: auto;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

.inset-x-0 {
  left: 0px;
  right: 0px;
}

.inset-y-0 {
  top: 0px;
  bottom: 0px;
}

.-left-2 {
  left: -0.5rem;
}

.-left-6 {
  left: -1.5rem;
}

.-right-1 {
  right: -0.25rem;
}

.-right-2 {
  right: -0.5rem;
}

.-right-4 {
  right: -1rem;
}

.-right-6 {
  right: -1.5rem;
}

.-right-8 {
  right: -2rem;
}

.left-6 {
  left: 1.5rem;
}

.left-\[-28px\] {
  left: -28px;
}

.right-0 {
  right: 0px;
}

.right-2 {
  right: 0.5rem;
}

.right-\[-24px\] {
  right: -24px;
}

.-left-16 {
  left: -4rem;
}

.-right-20 {
  right: -5rem;
}

.left-1\/2 {
  left: 50%;
}

.left-1\/3 {
  left: 33.3333%;
}

.right-1\.5 {
  right: 0.375rem;
}

.right-4 {
  right: 1rem;
}

.right-6 {
  right: 1.5rem;
}

.-z-10 {
  z-index: -10;
}

.z-0 {
  z-index: 0;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-30 {
  z-index: 30;
}

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

.z-\[100\] {
  z-index: 100;
}

.z-\[110\] {
  z-index: 110;
}

.z-\[120\] {
  z-index: 120;
}

.z-\[130\] {
  z-index: 130;
}

.z-\[90\] {
  z-index: 90;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-y-4 {
  --tw-translate-y: -1rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-x-full {
  --tw-translate-x: 100%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-y-24 {
  --tw-translate-y: 6rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-rotate-12 {
  --tw-rotate: -12deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-rotate-2 {
  --tw-rotate: -2deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-rotate-3 {
  --tw-rotate: -3deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.rotate-3 {
  --tw-rotate: 3deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.rotate-45 {
  --tw-rotate: 45deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.scale-105 {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.scale-110 {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }

  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.animate-bounce {
  animation: 1s ease 0s infinite normal none running bounce;
}

@keyframes ping {

  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.animate-ping {
  animation: 1s cubic-bezier(0, 0, 0.2, 1) 0s infinite normal none running ping;
}

@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: 2s cubic-bezier(0.4, 0, 0.6, 1) 0s infinite normal none running pulse;
}

.cursor-grab {
  cursor: grab;
}

.cursor-pointer {
  cursor: pointer;
}

.divide-y> :not([hidden])~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}

.divide-outline> :not([hidden])~ :not([hidden]) {
  border-color: rgba(255, 255, 255, 0.14);
}

.scroll-smooth {
  scroll-behavior: smooth;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-\[50\%\] {
  border-radius: 50%;
}

.rounded-b-3xl {
  border-bottom-right-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
}

.rounded-t-\[80px\] {
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
}

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-y {
  border-top-width: 1px;
  border-bottom-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-l {
  border-left-width: 1px;
}

.border-l-2 {
  border-left-width: 2px;
}

.border-outline {
  border-color: var(--line-dark);
}

.border-primary\/60 {
  border-color: rgba(255, 255, 255, 0.6);
}

.border-\[\#0A0A0A\] {
  --tw-border-opacity: 1;
  border-color: rgb(10 10 10 / var(--tw-border-opacity, 1));
}

.border-\[rgba\(10\,10\,10\,0\.08\)\] {
  border-color: rgba(10, 10, 10, 0.08);
}

.border-primary {
  --tw-border-opacity: 1;
  border-color: var(--line-dark);
}

.border-primary\/25 {
  border-color: rgba(255, 255, 255, 0.25);
}

.border-primary\/30 {
  border-color: rgba(255, 255, 255, 0.3);
}

.border-white\/10 {
  border-color: rgba(255, 255, 255, 0.1);
}

.border-white\/15 {
  border-color: rgba(255, 255, 255, 0.15);
}

.bg-\[\#050505\]\/75 {
  background-color: rgba(11, 11, 12, 0.75);
}

.bg-primary {
  background-color: var(--white);
  color: var(--black);
}

.bg-surface {
  --tw-bg-opacity: 1;
  background-color: var(--black);
}

.bg-surface-container {
  --tw-bg-opacity: 1;
  background-color: var(--ink);
}

.bg-surface-container-high {
  --tw-bg-opacity: 1;
  background-color: var(--charcoal);
}

.bg-surface-container-highest {
  --tw-bg-opacity: 1;
  background-color: var(--grey-700);
}

.bg-surface-container-low\/60 {
  background-color: rgba(11, 11, 12, 0.6);
}

.bg-surface-container-low\/90 {
  background-color: rgba(11, 11, 12, 0.9);
}

.bg-surface-container\/70 {
  background-color: rgba(20, 20, 22, 0.7);
}

.bg-surface-container\/90 {
  background-color: rgba(20, 20, 22, 0.9);
}

.bg-surface-container\/95 {
  background-color: rgba(20, 20, 22, 0.95);
}

.bg-\[\#080808\] {
  --tw-bg-opacity: 1;
  background-color: var(--black);
}

.bg-\[\#FAF8F4\] {
  --tw-bg-opacity: 1;
  background-color: var(--paper);
}

.bg-black {
  --tw-bg-opacity: 1;
  background-color: var(--black);
}

.bg-black\/60 {
  background-color: rgba(0, 0, 0, 0.6);
}

.bg-black\/80 {
  background-color: rgba(0, 0, 0, 0.8);
}

.bg-black\/85 {
  background-color: rgba(0, 0, 0, 0.85);
}

.bg-black\/90 {
  background-color: rgba(0, 0, 0, 0.9);
}

.bg-primary\/10 {
  background-color: rgba(255, 255, 255, 0.08);
}

.bg-primary\/15 {
  background-color: rgba(255, 255, 255, 0.12);
}

.bg-primary\/20 {
  background-color: rgba(255, 255, 255, 0.16);
}

.bg-surface-container-low {
  --tw-bg-opacity: 1;
  background-color: rgb(10 10 10 / var(--tw-bg-opacity, 1));
}

.bg-surface-container-low\/70 {
  background-color: rgba(10, 10, 10, 0.7);
}

.bg-surface-container-low\/95 {
  background-color: rgba(10, 10, 10, 0.95);
}

.bg-transparent {
  background-color: transparent;
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.bg-white\/\[0\.04\] {
  background-color: rgba(255, 255, 255, 0.04);
}

.bg-white\/\[0\.06\] {
  background-color: rgba(255, 255, 255, 0.06);
}

.bg-\[radial-gradient\(ellipse_at_center\,rgba\(0\,0\,0\,0\.28\)_0\%\,rgba\(0\,0\,0\,0\.12\)_45\%\,transparent_75\%\)\] {
  background-image: radial-gradient(rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.12) 45%, transparent 75%);
}

.bg-\[radial-gradient\(ellipse_at_center\,rgba\(0\,0\,0\,0\.32\)_0\%\,rgba\(0\,0\,0\,0\.14\)_45\%\,transparent_75\%\)\] {
  background-image: radial-gradient(rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.14) 45%, transparent 75%);
}

.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.via-transparent {
  --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), transparent var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.to-transparent {
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
}

.object-contain {
  object-fit: contain;
}

.object-cover {
  object-fit: cover;
}

.object-center {
  object-position: center;
}

.object-right-bottom {
  object-position: 92% bottom;
}

@media (min-width: 640px) {
  .sm\:object-center {
    object-position: center;
  }
}

.text-center {
  text-align: center;
}

.align-middle {
  vertical-align: middle;
}

.font-body-lg {
  font-family: 'Space Grotesk', sans-serif;
}

.font-body-md {
  font-family: 'Space Grotesk', sans-serif;
}

.font-body-sm {
  font-family: 'Space Grotesk', sans-serif;
}

.font-display-xl {
  font-family: 'Space Grotesk', sans-serif;
}

.font-headline-lg {
  font-family: 'Space Grotesk', sans-serif;
}

.font-headline-sm {
  font-family: 'Space Grotesk', sans-serif;
}

.font-label-mono {
  font-family: 'Space Grotesk', sans-serif;
}

.font-label-ui {
  font-family: 'Space Grotesk', sans-serif;
}

.font-display-lg {
  font-family: 'Space Grotesk', sans-serif;
}

.font-headline-md {
  font-family: 'Space Grotesk', sans-serif;
}

.text-\[10px\] {
  font-size: 10px;
}

.text-\[10rem\] {
  font-size: 10rem;
}

.text-\[11px\] {
  font-size: 11px;
}

.text-\[16px\] {
  font-size: 16px;
}

.text-\[17px\] {
  font-size: 17px;
}

.text-\[18px\] {
  font-size: 18px;
}

.text-\[20px\] {
  font-size: 20px;
}

.text-\[22vw\] {
  font-size: 22vw;
}

.text-\[48px\] {
  font-size: 48px;
}

.text-body-lg {
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0em;
  font-weight: 400;
}

.text-body-md {
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0.01em;
  font-weight: 400;
}

.text-body-sm {
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.01em;
  font-weight: 400;
}

.text-headline-lg {
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0;
  font-weight: 600;
}

.text-headline-sm {
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0em;
  font-weight: 600;
}

.text-label-mono {
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.text-label-ui {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-\[12px\] {
  font-size: 12px;
}

.text-\[13px\] {
  font-size: 13px;
}

.text-\[14px\] {
  font-size: 14px;
}

.text-\[22px\] {
  font-size: 22px;
}

.text-\[24px\] {
  font-size: 24px;
}

.text-\[32px\] {
  font-size: 32px;
}

.text-\[44px\] {
  font-size: 44px;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-display-lg {
  font-size: 48px;
  line-height: 56px;
  letter-spacing: 0;
  font-weight: 700;
}

.text-display-xl {
  font-size: 64px;
  line-height: 72px;
  letter-spacing: 0;
  font-weight: 700;
}

.text-headline-md {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0em;
  font-weight: 600;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.font-bold {
  font-weight: 700;
}

/* Space Grotesk tops out at Bold; headlines use Bold per the brand book */
.font-extrabold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-normal {
  font-weight: 400;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.tabular-nums {
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
}

.leading-\[1\.05\] {
  line-height: 1.05;
}

.leading-none {
  line-height: 1;
}

.leading-relaxed {
  line-height: 1.625;
}

.leading-tight {
  line-height: 1.25;
}

.leading-\[1\.25\] {
  line-height: 1.25;
}

.tracking-\[0\.25em\] {
  letter-spacing: 0.1em;
}

.tracking-tight {
  letter-spacing: 0;
}

.tracking-tighter {
  letter-spacing: 0;
}

/* Brand rule: tracking never goes below 0 */
.tracking-normal {
  letter-spacing: 0;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.text-on-surface {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.text-on-surface-variant {
  --tw-text-opacity: 1;
  color: rgb(168 168 168 / var(--tw-text-opacity, 1));
}

.text-on-surface\/90 {
  color: rgba(255, 255, 255, 0.9);
}

.text-primary {
  color: var(--white) !important;
}

.text-transparent {
  color: transparent;
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.text-\[\#0A0A0A\] {
  --tw-text-opacity: 1;
  color: rgb(10 10 10 / var(--tw-text-opacity, 1));
}

.text-\[rgba\(10\,10\,10\,0\.65\)\] {
  color: rgba(10, 10, 10, 0.65);
}

.text-neutral-300 {
  --tw-text-opacity: 1;
  color: rgb(212 212 212 / var(--tw-text-opacity, 1));
}

.text-neutral-400 {
  --tw-text-opacity: 1;
  color: rgb(163 163 163 / var(--tw-text-opacity, 1));
}

.text-white\/60 {
  color: rgba(255, 255, 255, 0.6);
}

.text-white\/70 {
  color: rgba(255, 255, 255, 0.7);
}

.underline-offset-2 {
  text-underline-offset: 2px;
}

.opacity-35 {
  opacity: 0.35;
}

.opacity-5 {
  opacity: 0.05;
}

.opacity-70 {
  opacity: 0.7;
}

.opacity-75 {
  opacity: 0.75;
}

.opacity-85 {
  opacity: 0.85;
}

.opacity-90 {
  opacity: 0.9;
}

.opacity-0 {
  opacity: 0;
}

.opacity-25 {
  opacity: 0.25;
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-\[0\.035\] {
  opacity: 0.035;
}

.mix-blend-multiply {
  mix-blend-mode: multiply;
}

.outline {
  outline-style: solid;
}

.blur-\[2\.5px\] {
  --tw-blur: blur(2.5px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.blur-\[2px\] {
  --tw-blur: blur(2px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.blur-\[3px\] {
  --tw-blur: blur(3px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.blur-3xl {
  --tw-blur: blur(64px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.blur-\[6px\] {
  --tw-blur: blur(6px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.blur-\[7px\] {
  --tw-blur: blur(7px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.contrast-125 {
  --tw-contrast: contrast(1.25);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-500 {
  transition-duration: 500ms;
}

.duration-700 {
  transition-duration: 700ms;
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.\[webkit-text-stroke\:1\.5px_rgba\(255\,255\,255\,0\.08\)\] {}

.\[webkit-text-stroke\:1\.5px_rgba\(255\,255\,255\,0\.3\)\] {}

.placeholder\:text-neutral-400::placeholder {
  --tw-text-opacity: 1;
  color: rgb(163 163 163 / var(--tw-text-opacity, 1));
}

.placeholder\:text-on-surface-variant::placeholder {
  --tw-text-opacity: 1;
  color: rgb(168 168 168 / var(--tw-text-opacity, 1));
}

.hover\:-translate-y-0\.5:hover {
  --tw-translate-y: -0.125rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:-translate-y-2:hover {
  --tw-translate-y: -0.5rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:-translate-y-3:hover {
  --tw-translate-y: -0.75rem;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:rotate-0:hover {
  --tw-rotate: 0deg;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:scale-105:hover {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:scale-110:hover {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:border-primary:hover {
  border-color: var(--white);
}

.hover\:bg-primary:hover {
  background-color: var(--grey-300);
  color: var(--black);
}

.hover\:bg-primary-hover:hover {
  background-color: var(--grey-300);
  color: var(--black);
}

.hover\:bg-surface-container:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(20 20 20 / var(--tw-bg-opacity, 1));
}

.hover\:bg-surface-container-high:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(26 26 26 / var(--tw-bg-opacity, 1));
}

.hover\:bg-black:hover {
  --tw-bg-opacity: 1;
  background-color: var(--black);
}

.hover\:bg-\[\#0A0A0A\]:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(10 10 10 / var(--tw-bg-opacity, 1));
}

.hover\:bg-surface-bright:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(46 46 46 / var(--tw-bg-opacity, 1));
}

.hover\:text-on-surface:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.hover\:text-primary:hover {
  color: var(--grey-300);
}

.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.hover\:opacity-100:hover {
  opacity: 1;
}

.hover\:opacity-95:hover {
  opacity: 0.95;
}

.focus\:border-primary:focus {
  border-color: var(--white);
}

.focus\:outline-none:focus {
  outline: transparent solid 2px;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-primary:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgba(255, 255, 255, 0.4);
}

.active\:scale-95:active {
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.active\:scale-\[0\.98\]:active {
  --tw-scale-x: 0.98;
  --tw-scale-y: 0.98;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.active\:cursor-grabbing:active {
  cursor: grabbing;
}

.-left-20 {
  left: -5rem;
}

.-right-12 {
  right: -3rem;
}

.-right-16 {
  right: -4rem;
}

.right-1\/4 {
  right: 25%;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.border-x {
  border-left-width: 1px;
  border-right-width: 1px;
}

/* Ember Orange accent utilities */
.text-ember {
  color: var(--brand-ember);
}

.hover\:text-ember:hover {
  color: var(--brand-ember);
}

.bg-ember {
  background-color: var(--brand-ember);
}

.bg-ember\/10 {
  background-color: rgba(237, 88, 47, 0.1);
}

.border-ember {
  border-color: var(--brand-ember);
}

.border-ember\/30 {
  border-color: rgba(237, 88, 47, 0.3);
}

.ring-ember\/50 {
  --tw-ring-color: rgba(237, 88, 47, 0.5);
  box-shadow: 0 0 0 2px rgba(237, 88, 47, 0.5);
}

.bg-indigo {
  background-color: var(--brand-indigo);
}

.border-outline\/70 {
  border-color: rgba(255, 255, 255, 0.7);
}

.border-primary\/40 {
  border-color: rgba(255, 255, 255, 0.4);
}

.border-red-500\/30 {
  border-color: var(--line-dark);
}

.border-outline\/50 {
  border-color: rgba(255, 255, 255, 0.5);
}

.bg-\[\#050505\] {
  --tw-bg-opacity: 1;
  background-color: var(--black);
}

.bg-\[\#050505\]\/80 {
  background-color: rgba(11, 11, 12, 0.8);
}

.bg-red-500\/10 {
  background-color: rgba(255, 255, 255, 0.05);
}

.bg-surface-container-high\/40 {
  background-color: rgba(26, 26, 26, 0.4);
}

.bg-surface-container-high\/60 {
  background-color: rgba(26, 26, 26, 0.6);
}

.bg-surface-container-high\/70 {
  background-color: rgba(26, 26, 26, 0.7);
}

.bg-surface-container-low\/80 {
  background-color: rgba(10, 10, 10, 0.8);
}

.bg-surface-container-lowest {
  --tw-bg-opacity: 1;
  background-color: rgb(5 5 5 / var(--tw-bg-opacity, 1));
}

.bg-surface-container\/85 {
  background-color: rgba(20, 20, 20, 0.85);
}

.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1);
}

.bg-white\/\[0\.03\] {
  background-color: rgba(255, 255, 255, 0.03);
}

.bg-surface-container\/60 {
  background-color: rgba(20, 20, 20, 0.6);
}

.text-right {
  text-align: right;
}

.font-mono {
  font-family: 'Space Grotesk', sans-serif;
}

.font-ritual-accent {
  font-family: 'Space Grotesk', sans-serif;
}

.font-serif {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-\[15px\] {
  font-size: 15px;
}

.text-\[20vw\] {
  font-size: 20vw;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

/* Space Grotesk ships no italic; never let the browser fake one */
.italic {
  font-style: normal;
}

.leading-\[1\.02\] {
  line-height: 1.02;
}

.text-on-surface-variant\/90 {
  color: rgba(168, 168, 168, 0.9);
}

.text-orange-400 {
  color: var(--white);
}

.text-red-400 {
  color: var(--grey-500);
}

.text-white\/50 {
  color: rgba(255, 255, 255, 0.5);
}

.accent-primary {
  accent-color: var(--white);
}

.opacity-30 {
  opacity: 0.3;
}

.opacity-40 {
  opacity: 0.4;
}

.ring-1 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-primary\/40 {
  --tw-ring-color: rgba(255, 255, 255, 0.2);
}

.blur-xl {
  --tw-blur: blur(24px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.focus\:ring-1:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

@layer base {

  html,
  body {
    margin: 0px;
    padding: 0px;
    scroll-behavior: smooth;
    background-color: var(--black) !important;
    color: var(--white) !important;
  }

  body {
    overscroll-behavior: none;
  }
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--grey-700);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--grey-500);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  scrollbar-width: none;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0px);
}

.bean-pos-1 {
  width: 54px;
  height: 38px;
  top: 18%;
  left: 10%;
  animation-duration: 11s;
  transform: rotate(-18deg);
}

.bean-pos-2 {
  width: 46px;
  height: 32px;
  top: 62%;
  right: 12%;
  animation-duration: 14s;
  animation-delay: -3s;
  transform: rotate(26deg);
}

.bean-pos-3 {
  width: 40px;
  height: 28px;
  bottom: 14%;
  left: 45%;
  animation-duration: 16s;
  animation-delay: -6s;
  transform: rotate(-32deg);
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  overflow-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.timer-running .timer-ring {
  animation: 1.5s ease-in-out 0s infinite normal none running pulseRing;
}

/* ==========================================================================
   MONOCHROME SECTION THEMING & COMPONENT RULES
   ========================================================================== */

/* Dark Sections Defaults */
#3d-experience,
#why-choose-us,
footer {
  background-color: var(--black) !important;
  color: var(--white);
}

#film {
  background-color: transparent !important;
  background: transparent !important;
  color: var(--white);
}

/* Light Sections: Our Coffee (#our-coffee), Our Story (#our-story),
   Brews Studio (#choose), Dial-In (#dial-in), Explore Coffee CTA (#cta-section) */
.section-light,
#our-coffee,
#our-story,
#choose,
#dial-in,
#cta-section {
  /* background-color: var(--paper) !important; */
  background-color: #FCFBFB !important;
  color: #0A0A0A !important;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
#our-coffee h1,
#our-coffee h2,
#our-coffee h3,
#our-coffee h4,
#our-story h1,
#our-story h2,
#our-story h3,
#our-story h4,
#choose h1,
#choose h2,
#choose h3,
#choose h4,
#dial-in h1,
#dial-in h2,
#dial-in h3,
#dial-in h4 {
  color: #0A0A0A !important;
}

.section-light p,
#our-coffee p,
#our-story p,
#choose p,
#dial-in p {
  color: rgba(10, 10, 10, 0.62) !important;
}

.section-light .text-on-surface,
#our-coffee .text-on-surface,
#our-story .text-on-surface,
#choose .text-on-surface,
#dial-in .text-on-surface {
  color: #0A0A0A !important;
}

.section-light .text-on-surface-variant,
#our-coffee .text-on-surface-variant,
#our-story .text-on-surface-variant,
#choose .text-on-surface-variant,
#dial-in .text-on-surface-variant {
  color: rgba(10, 10, 10, 0.62) !important;
}

.section-light .text-white,
#our-coffee .text-white,
#our-story .text-white,
#choose .text-white,
#dial-in .text-white {
  color: #ffffff !important;
}

.section-light .font-ritual-accent,
#choose .font-ritual-accent,
#dial-in .font-ritual-accent {
  color: #0A0A0A !important;
}

/* Mono labels: always grey #8A8A8E */
.micro-label,
.section-light .micro-label,
#our-coffee .micro-label,
#our-story .micro-label,
#choose .micro-label,
#dial-in .micro-label {
  color: var(--grey-500) !important;
}

/* Explore Coffee CTA Section: white section, Deep Indigo card with white type and Ember accent
   (orange-on-indigo is an approved brand pairing) */
#cta-section {
  background-color: var(--brand-white) !important;
}

#cta-section .cta-content-card,
#cta-section .max-w-7xl.rounded-3xl {
  background-color: var(--brand-indigo) !important;
  color: #FFFFFF !important;
  border: 0 !important;
  box-shadow: none !important;
}

#cta-section h1,
#cta-section h2,
#cta-section h3,
#cta-section h4 {
  color: #FFFFFF !important;
}

#cta-section p {
  color: rgba(255, 255, 255, 0.8) !important;
}

#cta-section .font-ritual-accent {
  color: var(--brand-ember) !important;
}

#cta-section .text-white {
  color: #FFFFFF !important;
}

#cta-section .micro-label,
#cta-section .font-label-mono {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Primary Button:
   - On dark sections: white background with black text
   - On light sections: black background with white text */
.bg-primary {
  background-color: var(--white) !important;
  color: var(--black) !important;
}

.text-black {
  color: #0A0A0A !important;
}

.hover\:bg-primary:hover,
.hover\:bg-primary-hover:hover {
  background-color: var(--grey-300) !important;
  color: var(--black) !important;
}

.section-light .bg-primary,
#our-coffee .bg-primary,
#our-story .bg-primary,
#choose .bg-primary,
#dial-in .bg-primary {
  background-color: var(--black) !important;
  color: var(--white) !important;
}

.section-light .hover\:bg-primary:hover,
.section-light .hover\:bg-primary-hover:hover,
#our-coffee .hover\:bg-primary:hover,
#our-coffee .hover\:bg-primary-hover:hover,
#our-story .hover\:bg-primary:hover,
#choose .hover\:bg-primary:hover,
#dial-in .hover\:bg-primary:hover {
  background-color: var(--charcoal) !important;
  color: var(--white) !important;
}

/* Text primary */
.text-primary {
  color: var(--white) !important;
}

.section-light .text-primary,
#our-coffee .text-primary,
#our-story .text-primary,
#choose .text-primary,
#dial-in .text-primary {
  color: #0A0A0A !important;
}

/* Secondary Buttons */
.secondary-btn,
.btn-secondary {
  background: transparent !important;
  border: 1px solid var(--white) !important;
  color: var(--white) !important;
}

.section-light .secondary-btn,
#our-coffee .secondary-btn,
#our-story .secondary-btn,
#choose .secondary-btn,
#dial-in .secondary-btn {
  border-color: #0A0A0A !important;
  color: #0A0A0A !important;
}

/* Cards on Dark: #141416 with 1px --line-dark border */
.card-dark,
#3d-experience .bg-surface-container,
#why-choose-us .bg-surface-container {
  background-color: var(--ink) !important;
  border-color: var(--line-dark) !important;
}

/* Cards on Light: white with --line-light border and soft shadow */
.section-light .bg-surface-container,
#our-coffee .bg-surface-container,
#our-story .bg-surface-container,
#choose .bg-surface-container,
#dial-in .bg-surface-container {
  background-color: var(--white);
  border-color: var(--line-light) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) !important;
}

.section-light .border-outline,
#our-coffee .border-outline,
#our-story .border-outline,
#choose .border-outline,
#dial-in .border-outline {
  border-color: var(--line-light) !important;
}

/* Featured product card: 2px black border on light, 1px white border on dark */
#our-coffee .coffee-card.featured-card {
  border: 2px solid var(--black) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) !important;
}

/* Badges & Tags: white pill with black text */
.badge-signature,
.badge-white-pill,
#our-coffee .featured-card .rounded-full.bg-primary {
  background-color: var(--white) !important;
  color: var(--black) !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
}

/* Section transition rounded corners: 48px 48px 0 0 where dark meets light */
.rounded-transition-top {
  border-radius: 48px 48px 0 0 !important;
}

/* Accessibility Focus Outlines */
:focus-visible {
  outline: 2px solid var(--white) !important;
  outline-offset: 2px !important;
}

.section-light :focus-visible,
#our-coffee :focus-visible,
#our-story :focus-visible,
#choose :focus-visible,
#dial-in :focus-visible {
  outline: 2px solid #0A0A0A !important;
  outline-offset: 2px !important;
}