/* =========================================================
   DELTAMANI — Base styles, design tokens, resets
   ========================================================= */

:root{
  /* ---- Color tokens ---- */
  --navy-950:#0a1330;
  --navy-900:#0f1a3d;
  --navy-800:#152350;   /* primary brand navy */
  --navy-700:#1e3068;
  --navy-600:#2c4083;
  --gold-600:#a07f3c;
  --gold-500:#b8955a;   /* signature brass/gold */
  --gold-400:#cdae7c;
  --cream-50:#f8f5ef;   /* page background */
  --cream-100:#f1ebdd;
  --paper:#ffffff;
  --ink-900:#1a1c24;
  --ink-700:#3c4050;
  --ink-500:#686d7c;
  --line:#e3ddcd;
  --line-dark:rgba(255,255,255,.14);
  --shadow-sm: 0 1px 2px rgba(15,26,61,.06), 0 1px 1px rgba(15,26,61,.04);
  --shadow-md: 0 12px 32px -12px rgba(15,26,61,.28);
  --shadow-lg: 0 24px 60px -20px rgba(15,26,61,.35);

  /* ---- Type ---- */
  --font-display:'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script:'Playfair Display', var(--font-display);

  /* ---- Layout ---- */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 26px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  margin:0;
  background: var(--cream-50);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--navy-900);
  margin: 0 0 .5em;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p{ margin: 0 0 1em; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; }

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

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.55em;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before{
  content:"";
  width: 22px;
  height: 1px;
  background: var(--gold-500);
  display:inline-block;
}

.section{
  padding-block: clamp(56px, 9vw, 116px);
}
.section--tight{ padding-block: clamp(40px, 6vw, 76px); }

.section-head{
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head.center{ margin-inline:auto; text-align:center; }

.section-head h2{ font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head .lede{ color: var(--ink-500); font-size: 1.05rem; max-width: 54ch; }

/* buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:.6em;
  padding: .9em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn svg{ width: 16px; height:16px; transition: transform .3s var(--ease); }
.btn:hover svg{ transform: translateX(3px); }

.btn--primary{
  background: var(--gold-500);
  color: var(--navy-950);
}
.btn--primary:hover{ background: var(--gold-400); box-shadow: var(--shadow-md); }

.btn--ghost-dark{
  background: transparent;
  border-color: var(--line-dark);
  color: var(--paper);
}
.btn--ghost-dark:hover{ background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }

.btn--outline{
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-900);
}
.btn--outline:hover{ background: var(--navy-900); color:var(--paper); }

.btn--sm{ padding:.7em 1.25em; font-size:.85rem; }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* reveal-on-scroll utility */
.reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > *{ transition-delay: calc(var(--i, 0) * 90ms); }

.hairline{
  height:1px;
  background: var(--line);
  border:0;
  margin: 0;
}
.hairline--dark{ background: var(--line-dark); }

.visually-hidden{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

.skip-link{
  position:absolute;
  left: 12px;
  top: -50px;
  background: var(--navy-900);
  color:#fff;
  padding: .7em 1.2em;
  border-radius: 8px;
  z-index: 999;
  transition: top .25s var(--ease);
}
.skip-link:focus{ top: 12px; }
