/* incolor.world: tokens, reset, type, layout. Dark theme only. */

:root {
  --espresso: #2B1D17;
  --espresso-deep: #1A120D;
  --oxblood: #5A1A1F;
  --plum: #4A2030;
  --cream: #F3EBDD;
  --vanilla: #E3D3B5;
  --taupe: #A8998A;
  --brass: #B08A4F;

  --serif: "Italiana", "Cormorant Garamond", Georgia, serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --type: "Special Elite", "Courier Prime", "Courier New", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 1.2s;
  --gutter: 16px;
  --section-pad: clamp(6rem, 15vh, 12rem);
  --maxw: 1320px;

  color-scheme: dark;
}

@media (min-width: 768px) { :root { --gutter: 40px; } }
@media (min-width: 1200px) { :root { --gutter: 64px; } }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-variant-numeric: lining-nums;
  margin: 0;
  background: var(--espresso-deep);
  color: var(--vanilla);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

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

a { color: var(--cream); text-decoration-color: var(--brass); text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
a:hover { color: var(--brass); }

:focus-visible { outline: 1px solid var(--brass); outline-offset: 4px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--cream); margin: 0; line-height: 1; }
p { margin: 0 0 1em; max-width: 60ch; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--cream); color: var(--espresso-deep); padding: 0.6em 1em;
  font-size: 0.875rem; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Labels: uppercase, small, tracked, taupe */
.label {
  font-family: var(--sans); font-weight: 400; font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe);
  line-height: 1.6;
}

/* Layout */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section-pad) 0; }
.section--deep { background: var(--espresso-deep); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 32px); }
.grid > * { grid-column: 1 / -1; }

.display {
  font-family: var(--serif); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3.5rem, 10vw, 9rem); line-height: 0.92; letter-spacing: -0.01em;
}
.h2 {
  font-family: var(--serif); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 6.2rem); line-height: 0.95; letter-spacing: -0.005em;
}
.script { font-family: var(--script); font-weight: 400; text-transform: none; color: var(--cream); letter-spacing: 0; }
.lede { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--vanilla); max-width: 54ch; }

.hairline { height: 0; border: 0; border-top: 1px solid var(--brass); opacity: 0.55; margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75em;
  min-height: 48px; padding: 0.85em 1.6em;
  font-family: var(--sans); font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  color: var(--cream); border: 1px solid var(--brass);
  transition: background-color 0.8s var(--ease), color 0.8s var(--ease), border-color 0.8s var(--ease);
}
.btn:hover { background: var(--oxblood); color: var(--cream); border-color: var(--oxblood); }
.btn--solid { background: var(--oxblood); border-color: var(--oxblood); }
.btn--solid:hover { background: transparent; border-color: var(--brass); }
