@charset "utf-8";

/* =========================================
   TOKENS + RESET + TYPOGRAPHY
========================================= */

/* ---------- Design tokens ---------- */
  :root{
  
  --bg: #000000;
  --panel: #2F2400;
  
  --color-dark: #2F2400;
  --color-medium: #D9D4A8;
  --color-light: #FCF9DD;

  --color-accent: #615630;
  --color-deep: #171200;
    
  --radius: 2px;
  --max: 1080px;

  /* Fluid layout spacing */
  --gutter: clamp(16px, 2.2vw, 24px);
  --section-pad-y: clamp(64px, 8vw, 104px);
  --main-pad-top: clamp(88px, 10vw, 132px);

  --gap-1: clamp(10px, 1.4vw, 16px);
  --gap-2: clamp(14px, 2vw, 24px);
  --gap-3: clamp(18px, 2.6vw, 32px);

  --card-pad: clamp(12px, 1.4vw, 18px);
  --btn-pad-y: clamp(10px, 1.2vw, 12px);
  --btn-pad-x: clamp(14px, 1.6vw, 16px);

  /* Fixed Logo tuning */
  --logo-max: 720px;
  --logo-offset: clamp(12px, 2.4vw, 28px);
  --logo-safe-space: clamp(28px, 3.5vw, 45px);

  /* Drawer tuning */
  --nav-edge-offset: calc(var(--gap-2) + 10px);

  /* ---------- Typography system ---------- */
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: ui-serif, Georgia, "Times New Roman", Times, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --text-base: 16px;
  --lead-texting: 1.55;

  /* Fluid type scale */
  --step--1: clamp(0.875rem, 0.85rem + 0.2vw, 0.95rem);
  --step-0:  clamp(1rem, 0.98rem + 0.25vw, 1.0625rem);
  --step-1:  clamp(1.125rem, 1.07rem + 0.45vw, 1.25rem);
  --step-2:  clamp(1.25rem, 1.15rem + 0.75vw, 1.5rem);
  --step-3:  clamp(1.5rem, 1.35rem + 1.05vw, 1.75rem);
  --step-4:  clamp(1.75rem, 1.55rem + 1.6vw, 2.25rem);
  --step-5:  clamp(2.5rem, 2.1rem + 3vw, 4.5rem);

  /* Alias: small note text */
  --step--0: var(--step--1);

  /* Rhythm */
  --space-1: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
  --space-2: clamp(0.75rem, 0.7rem + 0.35vw, 1rem);
  --space-3: clamp(1rem, 0.9rem + 0.6vw, 1.5rem);

  --stack-gap: var(--space-2);
  --stack-gap-tight: var(--space-1);
  --stack-gap-loose: var(--space-3);
  
  --line-thin: 1.0px dotted rgba(79,56,0,.55);
  /* UI specs */
  --line-thin: 1.0px dotted #2F2400;
  --plate-color: #2F2400;
  --plate-thickness: 4px;
  --plate-length: 24px;

}

/* Optical tuning */
@media (min-width: 768px){ :root{ --lead-texting: 1.52; } }
@media (min-width: 1024px){ :root{ --lead-texting: 1.48; } }

/* ---------- Reset ---------- */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{ scroll-behavior: smooth; }
html{ scroll-padding-top: 100px; }

/* Prevent width-jump when accordion opens (scrollbar appears) */
html{
  scrollbar-gutter: stable;
}

/* Fallback for older browsers */
@supports not (scrollbar-gutter: stable){
  html{ overflow-y: scroll; }
}

html, body{
  background-color: #000000 !important;
  color: var(--color-light);
}

body{
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--lead-texting);
  text-rendering: optimizeLegibility;
  cursor: crosshair;
  overflow-x: hidden;
}

.content{
  position: relative;
  z-index: 1;
}

/* ==========================================================================
  CUSTOM CURSOR (pointer dot + ring) + CURSOR OVERRIDES
========================================================================== */
#pointer-dot{
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  position: fixed;
  border-radius: 50%;
  border: 2.5px solid var(--color-light);
  pointer-events: none;
  z-index: 1000;
}

#pointer-ring{
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  padding: 14px;
  position: fixed;
  border-radius: 50%;
  border: 2px solid var(--color-medium);
  pointer-events: none;
  z-index: 999;
}

html, body, a, button, .link-style-btn, .copy-wrapper{
  cursor: none !important;
}

/* ========================================================================== 
   FONTS + GLOBAL TYPE
========================================================================== */

@font-face{
  font-family: 'aifragmentregular';
  src: url('aifragment-webfont.woff2') format('woff2'),
       url('aifragment-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.fluid-logo{
  font-family: 'aifragmentregular', system-ui, sans-serif;
  margin-top: clamp(16px, 2.5vw, 32px);
  margin-bottom: clamp(16px, 2.5vw, 32px);
  margin-left: var(--gutter);
  margin-right: var(--gutter);
}

.h1, h1{ font-size: var(--step-5); line-height: 1.05; margin: 0; }
.h2, h2{ font-size: var(--step-4); line-height: 1.10; margin: 0; }
.h3, h3{ font-size: var(--step-3); line-height: 1.20; margin: 0; }
.h4, h4{ font-size: var(--step-2); line-height: 1.25; margin: 0; }
.h5, h5{ font-size: var(--step-1); line-height: 1.30; margin: 0; }
.h6, h6{ font-size: var(--step-0); line-height: 1.40; margin: 0; }

p{ font-size: var(--color-medium); margin: 0; }

.text-accent{ color: var(--color-accent);}
.text-large{ font-size: var(--step-1); font-weight: 900; line-height: 0.95; margin: 0; }
.text-small{ font-size: var(--step--1); }
.text-wide{ letter-spacing:clamp(0.02em,0.25vw,0.12em); }

/* Utilities */
.italic{ font-style: italic; font-size: var(--step--0); }
.underline{ text-decoration: underline solid 2px; }
.strike { text-decoration: line-through; }
.serif{ font-family: var(--font-serif); }

/* Alignment Utilities */
.text-center{ text-align: center !important; }
.text-left{ text-align: left !important; }
.text-right{ text-align: right !important; }
.text-justify{ text-align: justify !important; word-spacing: 0.08em; }

/* Opacity Utilities */
.opacity,
.hover-opacity:hover{ opacity: 0.50 !important; }

/* Generic section spacing */
.section{
  padding: var(--section-pad-y) 0; }


/* Footer */
.footer{
  width:100%;
  padding:24px 0;
  text-align:center;
}

.footer p{
  margin:0;
  font-size:10px;
  letter-spacing:0.22em;
  letter-spacing: 8px;
  color: var(--color-medium);
}
