:root{



  /* Font stacks (brand first, safe fallbacks) */
  --font-sans: "Ideal Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Mercury Text", Georgia, "Times New Roman", Times, serif;
  --font-display: "Tungsten", "Impact", "Arial Black", system-ui, sans-serif;
  --font-mono: "Untitled Sans Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;


  /* Rhythm */
  --measure: 60ch;
  --lh-body: 1.6;
  --lh-tight: 1.08;
  --lh-head: 1.18;

  /* Fluid scale (tweak freely later) */
  --step--1: clamp(.82rem, .78rem + .2vw, .92rem);
  --step-0:  clamp(1rem, .95rem + .35vw, 1.1rem);
  --step-1:  clamp(1.15rem, 1.05rem + .6vw, 1.4rem);
  --step-2:  clamp(1.35rem, 1.2rem + 1vw, 1.85rem);
  --step-3:  clamp(1.75rem, 1.45rem + 2vw, 2.65rem);
  --step-4:  clamp(2.4rem, 1.85rem + 3.5vw, 3.9rem);
  --step-5:  clamp(3.1rem, 2.2rem + 5vw, 5.6rem);






  /* Brand palette — Ink Mineral */

  /* Background */
  --bg: #F2EFE9;            /* Bone Mineral White */

  /* Text */
  --text: #2B2B2B;          /* Charcoal */
  --muted: #B0B8BC;         /* Ash Grey */

  /* Structure */
  --line: rgba(31,42,56,.18); /* Ink Navy at low opacity */

  /* Authority / emphasis */
  --ink: #1F2A38;           /* Ink Navy */

  /* Accent (restricted use) */
  --accent: #6B7B8C;        /* Slate Blue Grey */

  /* Layout (unchanged) */
  --max:72rem;
  --pad:clamp(1rem, 4vw, 1.75rem);
  --gap:clamp(1.25rem, 4vw, 3rem);
  --radius:1rem;

  --header-h:3.25rem;
  --shadow:0 1.2rem 2.2rem rgba(0,0,0,.12);
}


*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--text);
  color:var(--text);
  font-family: var(--font-sans);
  line-height:1.6;
}

a{ color:inherit; text-decoration:none; text-underline-offset:.2em; }
a:focus-visible{ outline:2px solid rgba(242,242,242,.55); outline-offset:.2rem; border-radius:.4rem; }

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

hr{ border:0; border-top:1px solid #141414; margin:0; border-bottom: 1px solid var(---ink); }

.container{
  max-width:var(--max);
  margin-inline:auto;
  padding-inline:var(--pad);
}

/* Skip link */
.skip-link{
  position:absolute;
  left:-999rem;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  position:static;
  width:auto;
  height:auto;
  display:inline-block;
  padding:1rem var(--pad);
  border-bottom:1px solid var(--line);
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  background: rgba(11,11,15,.88);
  backdrop-filter: blur(.7rem);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    0 1px 0 rgba(0,0,0,0.5),
    0 6px 16px rgba(0,0,0,0.5);
}

.site-header .container{
  height: 100%;
  display: flex;
  align-items: center;   /* vertical center */
  justify-content: center; /* horizontal center */
}

.nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  text-transform: uppercase;
  font-size: .9rem;
  letter-spacing: .06em;
  white-space: nowrap;
}

.nav{
  display: flex;
  align-items: center;
  justify-content: center; /* center the whole nav */
  gap: clamp(1rem, 3vw, 2rem);
  padding-block: clamp(.75rem, 2vw, 1rem);
  color: var(--bg);
}


.nav a{ opacity: .78; }
.nav a:hover{ opacity: 1; }

nav-brand{
  font-weight: 750;
  opacity: 1;
  margin-right: clamp(1rem, 4vw, 3rem);
}

.nav-brand{
  margin-right: clamp(1rem, 4vw, 3rem);
  font-weight: 750;
  letter-spacing: .02em;
}


/* Sections */
.section{
  padding-block:clamp(3.25rem, 8vw, 5.25rem);
  box-shadow: var(--section-shadow) !important;
  padding-bottom: 5em;
}

.hero{
  padding-block:clamp(4rem, 10vw, 6.25rem);
}

/* HERO PANEL */
.hero-panel{
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;

  background-image: url("../img/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-panel::before{
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11,11,15,.92),
    rgba(11,11,15,.65),
    rgba(11,11,15,.35)
  );
}

.hero-panel .container{
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-inner{
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: clamp(1rem, 5vw, 3rem);
}

#hero-title { margin-bottom: 0em !important; margin-top: -0.5em }

.hero-copy{
  max-width: 100ch;
  text-align: center;
  color: #FFF;
}

.hero-copy p { color: #FFF }

.section-grid{
  display:flex;
  gap:var(--gap);
  flex-wrap:wrap;
  align-items:flex-start;
}

.section-copy{ flex:1 1 min(28rem, 100%); padding-top: 3em }
.section-media{ flex:1 1 min(28rem, 100%); }




.alt .section-grid{
  flex-direction:row-reverse;
}

/* Asymmetry: one section gets narrower copy and heavier media */
@media (min-width: 60rem){
  .asym .section-copy{ flex:0 1 22rem; }
  .asym .section-media{ flex:1 1 40rem; }
}

/* Sticky media = editorial */
@media (min-width: 60rem){
  .section-media{
    position:sticky;
    top:calc(var(--header-h) + 1.25rem);
    align-self:flex-start;
  }
}

/* Type */
h1{
  font-size:clamp(3rem, 8vw, 5.75rem);
  line-height:1.05;
  margin:0 0 .6em 0;
  letter-spacing:-0.04em;
}

h2{
  font-size:clamp(1.2rem, 2.5vw, 1.75rem);
  margin:0 0 1em 0;
  letter-spacing:.02em;
  color: #FFF;
}

p{
  margin:0 0 .75em 0;
  color:var(--bg);
  max-width:60ch;
}

h1, h2, h3{
  margin: 0 0 .7em 0;
  color: #FFF;
  font-family: var(--font-sans);
  line-height: var(--lh-head);
  letter-spacing: -0.02em;
}

h1{
  font-size: var(--step-5);
  line-height: var(--lh-tight);
  letter-spacing: -0.04em;
}

h2{
  font-size: var(--step-2);
  letter-spacing: -0.01em;
}

p{
  margin: 0 0 .85em 0;
  max-width: var(--measure);
  color: #FFF;
}

.meta, .kicker, .label{
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.display{
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .02em;
}


.lead{
  font-size: var(--step-1);
  max-width: 44ch;
  color: var(--text);
}

.lead{
  color:var(--text);
  font-size:clamp(1.05rem, 1.2vw, 1.2rem);
  max-width:44ch;
}

.strong{ color:var(--bg); }

.meta{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1em;
  margin-bottom: 1.25em;
  text-transform: uppercase;
}
.meta span{ font-size: .75rem; opacity: .9; }


/* CTA */
.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.85em 1.35em;
  border:1px solid var(--bg);
  border-radius:999rem;
  background:rgba(242,242,242,.05);
  font-weight:650;
  text-transform: uppercase;
}
.cta:hover{ background:rgba(242,242,242,.09); }

/* Cards */
.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
}

figcaption{
  padding:.75em 1em;
  border-top:1px solid var(--line);
  color:var(--ink);
  font-size:.9rem;
  background-color: var(--muted);
}

/* Media + Dice */
.media-wrap{ position:relative; }

.dice{
  display:flex;
  gap:clamp(.5rem, 2vw, .75rem);
  flex-wrap:wrap;
  pointer-events:none;
}

.dice img{
  width:clamp(2.6rem, 5vw, 4.25rem);
  aspect-ratio:1 / 1;
  filter:drop-shadow(0 1.2rem 2rem rgba(0,0,0,.35));
  opacity:.92;
}

.dice-float{
  position:absolute;
  right:clamp(-.75rem, -2vw, -.25rem);
  bottom:clamp(-.75rem, -2vw, -.25rem);
  transform:translate(15%, 30%);
}

/* Interludes */
.interlude{
  padding-block:clamp(2rem, 6vw, 4rem);
}

.interlude-line{
  margin:0;
  color:var(--text);
  font-size:clamp(1.25rem, 3vw, 2rem);
  max-width:44ch;
  letter-spacing:-0.01em;
}

/* Scale shift line (stronger than interlude) */
.signature{
  padding-block:clamp(3rem, 8vw, 5rem);
}
.signature-line{
  margin:0;
  color:var(--text);
  font-size: 2em;
  line-height:1.05;
  max-width:22ch;
  letter-spacing:-0.03em;
}

.system-stars {
  margin-top: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.35rem;
  color: rgba(255,255,255,0.18);
  user-select: none;
  margin-bottom: 0.75rem;
}


/* Final CTA isolation */
.final{
  padding-block: clamp(6rem, 14vw, 9rem);
  background-image: url("../img/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.final-inner{
  display: flex;
  flex-direction: column;
  align-items: center;   /* center horizontally */
  text-align: center;    /* center text */
  gap: .5rem;
  max-width: 48ch;
  margin-inline: auto;   /* center the container itself */
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 1vw, 4rem);
}
.site-footer p{
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 0.75em;
  font-family: var(--font-mono);
}

.site-footer .container{
  display: flex;
  justify-content: center;
  text-align: center;
  opacity: .75;
  font-size: .85rem;
}





/* ------------------------- */


.txt-1 {
  position: relative;
  background-image: url("../img/texture-1.png");
  background-repeat: repeat;
  background-size: auto;
  border-top: 1px solid #141414;
  overflow: hidden;
}

.txt-1::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.7) 0%,
    rgba(0,0,0,0.5) 20%,
    rgba(0,0,0,0.5) 60%,
    rgba(0,0,0,0.7) 100%
  );
}
.txt-1 > * {
  position: relative;
  z-index: 1;
}

.txt-2 {
  position: relative;
  background-image: url("../img/texture-2.jpg");
  background-repeat: repeat;
  background-size: auto;
  border-top: 1px solid #141414;
  overflow: hidden;
}

.txt-2::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.2) 20%,
    rgba(0,0,0,0.2) 80%,
    rgba(0,0,0,0.2) 100%
  );
}
.txt-2 > * {
  position: relative;
  z-index: 1;
}

.txt-3 {
  position: relative;
  background-image: url("../img/texture-3.jpg");
  background-repeat: repeat;
  background-size: auto;
  border-top: 1px solid #141414;
  overflow: hidden;
}

.txt-3::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.7) 0%,
    rgba(0,0,0,0.7) 20%,
    rgba(0,0,0,0.7) 80%,
    rgba(0,0,0,0.7) 100%
  );
}
.txt-3 > * {
  position: relative;
  z-index: 1;
}

.txt-4 {
  position: relative;
  background-image: url("../img/texture-4.jpg");
  background-repeat: repeat;
  background-size: auto;
  border-top: 1px solid #222;
  overflow: hidden;
}

.txt-4::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.6) 20%,
    rgba(0,0,0,0.6) 80%,
    rgba(0,0,0,0.6) 100%
  );
}
.txt-4 > * {
  position: relative;
  z-index: 1;
}


/*---------Drawer-------*/

.privacy-drawer {
  position: fixed;
  left: 50%;
  bottom: -120px;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  background: #0f0f12;
  border: 1px solid rgba(255,255,255,0.08);

  padding: 1rem 1.25rem;
  box-shadow: 0 -20px 40px rgba(0,0,0,0.6);

  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  line-height: 1.4;
  font-family: var(--font-mono);
  transition: bottom 0.6s ease;
  z-index: 999;
}

#flag { height: 7px !important; display: inline-block; }

.privacy-drawer.show {
  bottom: 0;
}

.privacy-drawer p {
  margin: 0 0 0.75rem 0;
}

.privacy-drawer button {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.75rem;
}

