@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,700;0,900;1,400&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============ TOKENS ============ */
:root{
  --black:      #0a0a0a;
  --black-soft: #131313;
  --black-line: #262626;
  --white:      #f7f6f2;
  --white-dim:  #8f8e8a;
  --blue:       #2560ad;
  --blue-deep:  #163e73;
  --orange:     #f5841f;

  --display: 'Archivo', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --gutter: clamp(24px, 5vw, 72px);
  --maxw: 1360px;

  --ease: cubic-bezier(.16,.8,.24,1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,h4{ margin:0; font-family: var(--display); font-weight: 900; text-transform: uppercase; }
p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }

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

.eyebrow{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* signature bar motif — echoes the II mark in the wordmark */
.bars{
  display: inline-flex;
  gap: 4px;
  height: 1em;
  align-items: stretch;
}
.bars span{ width: 4px; display:block; border-radius: 1px; }
.bars span:nth-child(1){ background: var(--blue); }
.bars span:nth-child(2){ background: var(--blue); }
.bars span:nth-child(3){ background: var(--orange); }

.section-head{
  display:flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: clamp(28px, 4vw, 56px);
}
.section-head h2{
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -.01em;
}

/* ============ HEADER ============ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--black-line);
}
.site-header .wrap{
  display:flex;
  align-items:center;
  justify-content: space-between;
  height: 84px;
}
.brand{
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .02em;
  display:flex;
  align-items:center;
  gap: 10px;
}
.brand .bars span{ height: 16px; }

.nav-toggle{
  display:none;
  background:none;
  border:none;
  color: var(--white);
  width: 32px; height: 24px;
  position: relative;
  cursor:pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:'';
  position:absolute;
  left:0; right:0;
  height:2px;
  background: var(--white);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle span{ top: 11px; }
.nav-toggle span::before{ top:-9px; }
.nav-toggle span::after{ top:9px; }
.nav-toggle.open span{ background: transparent; }
.nav-toggle.open span::before{ transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span::after{ transform: translateY(-9px) rotate(-45deg); }

.main-nav ul{
  display:flex;
  gap: clamp(20px, 3vw, 44px);
}
.main-nav a{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white-dim);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"]{
  color: var(--white);
  border-color: var(--orange);
}

@media (max-width: 760px){
  .nav-toggle{ display:block; }
  .main-nav{
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--black);
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    padding: 40px var(--gutter);
  }
  .main-nav.open{ transform: translateX(0); }
  .main-nav ul{ flex-direction: column; gap: 28px; }
  .main-nav a{ font-size: 15px; }
}

/* ============ HERO ============ */
.hero{
  min-height: 88vh;
  display:flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--black-line);
  overflow: hidden;
}

.hero::before{
  content:'';
  position:absolute;
  inset: -20% -10%;
  background:
    radial-gradient(circle at 78% 30%, rgba(37,96,173,.28), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(245,132,31,.18), transparent 40%);
  pointer-events:none;
}

.hero-inner{ 
  position: relative; z-index:1; 
}

.hero h1{
  font-size: clamp(58px, 12vw, 168px);
  line-height: .88;
  letter-spacing: -.02em;
  margin-top: 18px;
}

.hero-sub{
  max-width: 46ch;
  margin-top: 24px;
  color: var(--white-dim);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 300;
  line-height: 1.6;
}

.hero-meta{
  display:flex;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.hero-bg{
  position:absolute;
  inset:0;
  z-index:0;
  opacity:0.20;
  background-image: url('../images/hero-bg.JPG');
  background-size: cover;
  background-position: center;
  background-color: #111;
}

.hero-meta div{ font-family: var(--mono); font-size:12px; color: var(--white-dim); letter-spacing:.08em; }
.hero-meta strong{ display:block; color: var(--white); font-family: var(--body); font-weight:500; font-size:15px; margin-top:4px; }

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 15px 30px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid var(--white);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover{ background: var(--white); color: var(--black); }
.btn-solid{ background: var(--white); color: var(--black); }
.btn-solid:hover{ background: var(--orange); border-color: var(--orange); color: var(--black); }
.btn-ghost{ border-color: var(--black-line); color: var(--white-dim); }
.btn-ghost:hover{ border-color: var(--white); color: var(--white); background: transparent; }

/* ============ GENERIC SECTIONS ============ */
.section{ padding: clamp(64px, 9vw, 128px) 0; border-bottom: 1px solid var(--black-line); }
.section-black-soft{ background: var(--black-soft); }

.grid{ display:grid; gap: 28px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px){ .grid-3{ grid-template-columns: 1fr; } .grid-2{ grid-template-columns: 1fr; } }

.card{
  border: 1px solid var(--black-line);
  padding: 28px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.card:hover{ border-color: var(--blue); transform: translateY(-4px); }

.placeholder-media{
  aspect-ratio: 4/5;
  background:
    linear-gradient(135deg, #171717 25%, transparent 25%) -14px 0/28px 28px,
    linear-gradient(225deg, #171717 25%, transparent 25%) -14px 0/28px 28px,
    linear-gradient(315deg, #171717 25%, transparent 25%) 0 0/28px 28px,
    linear-gradient(45deg, #171717 25%, #101010 25%) 0 0/28px 28px;
  display:flex;
  align-items:flex-end;
  padding: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--white-dim);
  text-transform: uppercase;
  border: 1px solid var(--black-line);
}
.placeholder-media.wide{ aspect-ratio: 16/9; }
.placeholder-media.square{ aspect-ratio: 1/1; }

/* reveal-on-scroll */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform: none; }

/* ============ FOOTER ============ */
.site-footer{ padding: 56px 0 40px; }
.footer-top{
  display:flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--black-line);
}
.footer-brand{ font-family: var(--display); font-weight:900; font-size: 28px; }
.social-links{ display:flex; gap: 22px; }
.social-links a{
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white-dim);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.social-links a:hover{ color: var(--white); border-color: var(--orange); }
.footer-bottom{
  display:flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--white-dim);
  letter-spacing: .06em;
}