/* ==========================================================================
   SARGA — Design Tokens & Base
   ========================================================================== */

:root{
  /* Brand */
  --navy:        #071B3A;
  --navy-soft:   #10294F;
  --navy-tint:   #1C3663;
  --gold:        #C99A32;
  --gold-soft:   #E3C475;
  --gold-line:   rgba(201,154,50,0.35);
  --ivory:       #F7F5EF;
  --ivory-dim:   #EFEBE0;
  --white:       #FFFFFF;
  --ink:         #17202A;
  --ink-soft:    #4B5563;
  --ink-faint:   #8792A0;

  /* Elevation / lines */
  --hairline:        rgba(23,32,42,0.12);
  --hairline-navy:   rgba(247,245,239,0.18);

  /* Type */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur-s: .35s;
  --dur-m: .7s;
  --dur-l: 1.1s;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }

:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

/* ---------- Typography scale ---------- */
.eyebrow{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before{
  content: '';
  width: 26px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.on-navy .eyebrow{ color: var(--gold-soft); }

.h-display{
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.on-navy .h-display{ color: var(--ivory); }

.display-xl{ font-size: clamp(40px, 6vw, 78px); }
.display-l{  font-size: clamp(32px, 4.4vw, 56px); }
.display-m{  font-size: clamp(26px, 3.2vw, 40px); }
.display-s{  font-size: clamp(22px, 2.4vw, 30px); }

.lede{
  font-family: var(--font-body);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 56ch;
}
.on-navy .lede{ color: rgba(247,245,239,0.72); }

.body-text{
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.on-navy .body-text{ color: rgba(247,245,239,0.7); }

.section-header{
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 64px;
}
.section-header.center{ align-items: center; text-align: center; }
.section-header .h-display{ max-width: 18ch; }
.section-header.center .h-display{ max-width: 22ch; }

/* ---------- Sunrise divider motif (signature element) ---------- */
.motif{
  width: 84px;
  height: 22px;
  display: block;
  margin: 0 auto;
}
.motif path{ stroke: var(--gold); fill: none; stroke-width: 1; }
.motif circle{ fill: var(--gold); }

/* ---------- Sections ---------- */
.section{ position: relative; padding-block: clamp(72px, 10vw, 140px); }
.section-navy{ background: var(--navy); color: var(--ivory); }
.section-ivory{ background: var(--ivory); }
.section-white{ background: var(--white); }
.section-tight{ padding-block: clamp(48px, 6vw, 88px); }

.rule{ height:1px; width:100%; background: var(--hairline); border:0; }
.rule-navy{ background: var(--hairline-navy); }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all var(--dur-s) var(--ease);
  white-space: nowrap;
}
.btn-gold{
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover{ background: var(--gold-soft); border-color: var(--gold-soft); transform: translateY(-1px); }

.btn-outline-light{
  background: transparent;
  color: var(--ivory);
  border-color: rgba(247,245,239,0.4);
}
.btn-outline-light:hover{ border-color: var(--gold); color: var(--gold-soft); }

.btn-outline-dark{
  background: transparent;
  color: var(--navy);
  border-color: rgba(7,27,58,0.3);
}
.btn-outline-dark:hover{ border-color: var(--navy); background: var(--navy); color: var(--ivory); }

.btn-text{
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  border-radius: 0;
}
.on-navy .btn-text{ color: var(--ivory); }
.btn-text:hover{ color: var(--gold); }

/* ---------- Reveal animation ---------- */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-visible{ opacity: 1; transform: none; }
.reveal-delay-1{ transition-delay: .1s; }
.reveal-delay-2{ transition-delay: .22s; }
.reveal-delay-3{ transition-delay: .34s; }

/* ---------- Placeholder image treatment (used where an asset was not supplied) ---------- */
.asset-placeholder{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, var(--navy-soft) 0%, var(--navy) 60%);
  color: rgba(247,245,239,0.55);
  text-align: center;
  overflow: hidden;
}
.asset-placeholder::before{
  content:'';
  position:absolute; inset:0;
  background-image:
    repeating-linear-gradient(45deg, rgba(201,154,50,0.06) 0 2px, transparent 2px 26px);
}
.asset-placeholder .ph-label{
  position: relative;
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid rgba(247,245,239,0.3);
  color: rgba(247,245,239,0.75);
}

/* ---------- Scrollbar niceties ---------- */
::selection{ background: var(--gold); color: var(--navy); }
