/* ============================================================
   SHAURNIT — Cross-Border Legal & IP Consultancy
   Design system: navy authority + gold prestige, serif/sans pairing
   ============================================================ */

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

:root{
  --navy: #0B1F3A;
  --navy-light: #16305A;
  --navy-deep: #071528;
  --gold: #B8935A;
  --gold-light: #D8B989;
  --gold-dark: #8E6E3E;
  --ink: #1C1C1E;
  --grey: #5B6472;
  --grey-light: #8B92A0;
  --bg-soft: #F7F6F3;
  --bg-cream: #FAF9F6;
  --border: #E4E1DA;
  --border-dark: rgba(244,239,230,0.14);
  --max: 1160px;
  --radius: 4px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family:'Inter', -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ margin:0; padding:0; list-style:none; }

h1,h2,h3,h4{
  font-family:'Fraunces', Georgia, serif;
  font-weight:600;
  color: var(--navy);
  letter-spacing:-0.01em;
  margin:0 0 0.5em;
  line-height:1.2;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:0.78rem;
  font-weight:600;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color: var(--gold);
  margin-bottom:1.1rem;
}
.eyebrow::before{
  content:"";
  width:28px; height:2px;
  background: var(--gold);
  display:inline-block;
}
.section-head.center .eyebrow::after{
  content:"";
  width:28px; height:2px;
  background: var(--gold);
  display:inline-block;
}
p{ margin:0 0 1em; color: var(--grey); }
.container{ max-width: var(--max); margin:0 auto; padding:0 32px; }

/* ---------- Buttons ---------- */
.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:'Inter', sans-serif;
  font-weight:600;
  font-size:0.85rem;
  letter-spacing:0.04em;
  text-transform:uppercase;
  padding:15px 30px;
  border-radius: var(--radius);
  border:1.5px solid transparent;
  cursor:pointer;
  overflow:hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn::after{
  content:"";
  position:absolute; top:0; left:-120%;
  width:60%; height:100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
.btn:hover::after{ left:140%; }
.btn-gold{ background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover{ background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(184,147,90,0.32); }
.btn-outline-light{ background:transparent; border-color: rgba(244,239,230,0.45); color:#F4EFE6; }
.btn-outline-light:hover{ background: rgba(244,239,230,0.1); border-color:#F4EFE6; transform: translateY(-2px); }
.btn-navy{ background: var(--navy); color:#fff; }
.btn-navy:hover{ background: var(--navy-light); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11,31,58,0.28); }
.btn-outline-navy{ background:transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover{ background: var(--navy); color:#fff; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:#fff;
  border-bottom:1px solid var(--border);
  transition: box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}
.site-header.is-scrolled{ box-shadow: 0 6px 24px rgba(11,31,58,0.08); }
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 32px;
  max-width: var(--max); margin:0 auto;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{
  width:auto; height:44px;
  display:block;
  flex-shrink:0;
}
.brand-text{ line-height:1.25; }
.brand-name{ font-family:'Fraunces', serif; font-weight:600; font-size:1.15rem; color: var(--navy); }
.brand-tag{ font-size:0.72rem; color: var(--grey); letter-spacing:0.02em; }
.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{
  font-size:0.92rem; font-weight:500; color: var(--navy);
  position:relative; padding:4px 0;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0; height:2px; width:0;
  background: var(--gold); transition: width 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.nav-links a.active{ color: var(--gold-dark); }
.nav-cta{ display:flex; align-items:center; gap:26px; }
.menu-toggle{ display:none; background:none; border:none; cursor:pointer; padding:8px; }
.menu-toggle span{ display:block; width:24px; height:2px; background:var(--navy); margin:5px 0; transition:0.3s; }

@media (max-width: 900px){
  .nav-links{
    position:fixed; inset:0 0 0 auto; width:78%; max-width:320px;
    background:#fff; flex-direction:column; align-items:flex-start;
    padding:100px 32px 32px; gap:26px;
    transform: translateX(100%); transition: transform 0.35s var(--ease);
    box-shadow: -10px 0 30px rgba(0,0,0,0.12);
  }
  .nav-links.open{ transform: translateX(0); }
  .menu-toggle{ display:block; }
  .brand-tag{ display:none; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color:#F4EFE6;
  padding:110px 0 100px;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image: radial-gradient(rgba(184,147,90,0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity:0.5;
}
.hero-inner{ position:relative; max-width:720px; }
.hero-bar{
  width:56px; height:3px; background: var(--gold);
  margin-bottom:28px;
  animation: growBar 1s var(--ease) 0.2s both;
}
@keyframes growBar{ from{ width:0; } to{ width:56px; } }
.hero h1{
  color:#F8F4EC; font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height:1.14; margin-bottom:22px;
}
.hero p.lead{ color:#C5CCDA; font-size:1.08rem; max-width:560px; margin-bottom:36px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-image-wrap{
  position:absolute; inset:0;
  opacity:0.22;
}
.hero-image-wrap img{ width:100%; height:100%; object-fit:cover; }
.hero.has-photo::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(100deg, var(--navy) 20%, rgba(11,31,58,0.55) 65%, rgba(11,31,58,0.3) 100%);
}
.hero.has-photo .hero-inner{ z-index:2; }

/* fade-up reveal */
.reveal{ opacity:0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in{ opacity:1; transform: translateY(0); }
.reveal-stagger > *{ opacity:0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-stagger.in > *{ opacity:1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1){ transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2){ transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(3){ transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(4){ transition-delay: 0.35s; }

/* ---------- Sections ---------- */
section{ padding:88px 0; }
.section-soft{ background: var(--bg-soft); }
.section-cream{ background: var(--bg-cream); }
.section-navy{ background: var(--navy); color:#F4EFE6; }
.section-navy h2, .section-navy h3{ color:#F8F4EC; }
.section-navy p{ color:#C5CCDA; }
.section-head{ max-width:640px; margin-bottom:52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* ---------- Stats ---------- */
.stats-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.stat-card{
  background:#fff; border:1px solid var(--border); border-radius:12px;
  padding:34px 24px; text-align:center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.stat-card:hover{ transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11,31,58,0.10); border-color: var(--gold-light); }
.stat-number{ font-family:'Fraunces', serif; font-weight:600; font-size:2.6rem; color: var(--gold-dark); line-height:1; }
.stat-number sup{ font-size:1.5rem; top:-0.6em; }
.stat-label{ margin-top:10px; font-size:0.92rem; color: var(--grey); }

/* ---------- Cards ---------- */
.card-grid{ display:grid; gap:22px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }

.card{
  background:#fff; border:1px solid var(--border); border-radius:12px;
  padding:30px 26px; position:relative; overflow:hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:3px;
  background: var(--gold); transform: scaleX(0); transform-origin:left;
  transition: transform 0.4s var(--ease);
}
.card:hover{ transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11,31,58,0.10); }
.card:hover::before{ transform: scaleX(1); }
.card-icon{
  width:52px; height:52px; border-radius:10px;
  background: var(--bg-soft); color: var(--gold-dark);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px; font-size:1.4rem;
}
.card h3{ font-size:1.15rem; margin-bottom:10px; }
.card p{ font-size:0.94rem; margin-bottom:0; }
.card-eyebrow{ font-family:'Fraunces', serif; font-weight:600; color: var(--gold); font-size:1.5rem; margin-bottom:12px; }

/* ---------- Two column feature ---------- */
.feature-split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.feature-split img{ border-radius:12px; box-shadow: 0 24px 48px rgba(11,31,58,0.14); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.founder-photo{ max-width: 340px; margin: 0 auto; }
.pill-row{ display:flex; flex-wrap:wrap; gap:10px; margin:22px 0 28px; }
.pill{
  display:inline-flex; align-items:center; gap:6px;
  border:1px solid var(--border); border-radius:100px;
  padding:8px 16px; font-size:0.85rem; color: var(--navy);
  background:#fff; transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.pill:hover{ border-color: var(--gold); background: var(--bg-soft); }

/* ---------- CTA banner ---------- */
.cta-banner{
  background: var(--navy-deep);
  padding:60px 0; text-align:center;
}
.cta-banner h2{ color:#F8F4EC; margin-bottom:14px; }
.cta-banner p{ color:#C5CCDA; max-width:560px; margin:0 auto 30px; }

/* ---------- Footer ---------- */
footer.site-footer{
  background: var(--navy);
  color:#C5CCDA; padding:64px 0 28px;
}
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1.2fr; gap:40px; margin-bottom:40px; }
.footer-grid h4{ color: var(--gold); font-family:'Inter',sans-serif; font-weight:600; font-size:0.78rem; letter-spacing:0.12em; text-transform:uppercase; margin-bottom:18px; }
.footer-brand{ font-family:'Fraunces', serif; font-weight:600; font-size:1.3rem; color:#F8F4EC; margin-bottom:10px; }
.footer-grid a{ display:block; margin-bottom:10px; font-size:0.92rem; color:#C5CCDA; transition: color 0.25s; }
.footer-grid a:hover{ color: var(--gold-light); }
.footer-pills{ display:flex; flex-wrap:wrap; gap:8px; }
.footer-pills span{
  border:1px solid var(--border-dark); border-radius:100px; padding:6px 14px;
  font-size:0.82rem; display:inline-flex; align-items:center; gap:6px;
}
.footer-bottom{
  border-top:1px solid var(--border-dark); padding-top:24px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size:0.82rem; color: var(--grey-light);
}
.mobile-cta{ display:none; }
@media (max-width: 900px){
  .stats-grid, .grid-3, .grid-4, .grid-2{ grid-template-columns:1fr 1fr; }
  .feature-split{ grid-template-columns:1fr; gap:36px; }
  .footer-grid{ grid-template-columns:1fr; }
  .nav-cta > a.btn-gold{ display:none; }
  .mobile-cta{ display:inline-flex; margin-top:10px; width:100%; justify-content:center; }
}
@media (max-width: 600px){
  .stats-grid, .grid-3, .grid-4, .grid-2{ grid-template-columns:1fr; }
  section{ padding:64px 0; }
  .hero{ padding:80px 0 70px; }
}

/* icon (inline svg) sizing */
.icon{ width:24px; height:24px; stroke: currentColor; fill:none; stroke-width:1.8; }
