/* ============================================================
   NVT Language Translations & Legal Research, LLC
   Design tokens
   ============================================================ */
:root{
  --navy:#0E1428;
  --navy-deep:#0A0E1C;
  --navy-mid:#161D38;
  --gold:#C9940A;
  --gold-light:#E3B23C;
  --cream:#F5F0E4;
  --cream-dark:#EAE1CB;
  --white:#FFFFFF;
  --ink:#1E2233;
  --gray:#8A8FA3;
  --gray-lt:#C7CCDA;
  --serif:'Playfair Display', Georgia, serif;
  --sans:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--sans);
  background:var(--navy);
  color:var(--white);
  -webkit-font-smoothing:antialiased;
}
body.wave-bg{
  background-color:var(--cream);
  background-image:url('../images/bg-wave.jpg');
  background-repeat:no-repeat;
  background-position:top center;
  background-size:100% 100%;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
ul{list-style:none;margin:0;padding:0}
.container{max-width:var(--container);margin:0 auto;padding:0 32px}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important;transition-duration:.001ms !important}
}

/* ============================================================
   NAV
   ============================================================ */
.nav-sticky-wrap{position:sticky;top:0;z-index:100}
.site-nav{
  background:var(--navy-deep);
  border-bottom:1px solid rgba(201,148,10,.18);
}
.nav-inner{
  max-width:1760px;
  margin:0 auto;
  padding:14px 28px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:24px;
}
.nav-logo{display:flex;align-items:center;gap:12px;flex-shrink:0}
.nav-logo-letters{
  font-family:var(--serif);
  font-weight:700;
  font-size:1.9rem;
  color:var(--gold);
  letter-spacing:.02em;
  line-height:1;
}
.nav-logo-text{
  display:flex;flex-direction:column;
  font-size:.66rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--gray-lt);
  border-left:1px solid rgba(201,148,10,.35);
  padding-left:12px;
  line-height:1.5;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}
.nav-links-center{justify-content:center}
.nav-links-right{justify-content:flex-end}
.nav-contact-btn{
  background:var(--gold);
  color:var(--navy-deep) !important;
  padding:9px 22px !important;
  border-radius:2px;
  border-bottom:none !important;
  font-weight:600;
  transition:background .18s ease, transform .18s ease;
}
.nav-contact-btn:hover{
  background:var(--gold-light);
  transform:translateY(-1px);
}
.nav-contact-btn.active{
  background:var(--gold-light);
  box-shadow:inset 0 0 0 1px rgba(11,15,30,.3);
}
.nav-links > li > a{
  font-size:.72rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--white);
  padding:6px 0;
  border-bottom:1px solid transparent;
  transition:color .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a.active{
  color:var(--gold);
  border-bottom-color:var(--gold);
}
.nav-dropdown{position:relative}
.nav-dropdown .dropdown-menu{
  position:absolute;
  top:100%;left:0;
  margin-top:14px;
  background:var(--navy-mid);
  border:1px solid rgba(201,148,10,.25);
  min-width:220px;
  padding:8px 0;
  opacity:0;
  visibility:hidden;
  transform:translateY(6px);
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
  box-shadow:0 18px 40px rgba(0,0,0,.4);
}
.nav-dropdown:hover .dropdown-menu{
  opacity:1;visibility:visible;transform:translateY(0);
}
.dropdown-menu li a{
  display:block;
  padding:10px 20px;
  font-size:.72rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--gray-lt);
  border-bottom:none !important;
}
.dropdown-menu li a:hover{color:var(--gold);background:rgba(201,148,10,.06)}

.nav-hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:6px;grid-column:3;justify-self:end}
.nav-hamburger span{width:24px;height:2px;background:var(--gold);display:block}

.mobile-menu{
  display:none;
  flex-direction:column;
  background:var(--navy-deep);
  border-bottom:1px solid rgba(201,148,10,.18);
  max-height:calc(100vh - 58px);
  overflow-y:auto;
}
.mobile-menu.open{display:flex}
.mobile-menu a{
  padding:14px 32px;
  font-size:.78rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--white);
  border-top:1px solid rgba(255,255,255,.06);
}
.mobile-menu a.active{color:var(--gold)}

@media (max-width:960px){
  .nav-links{display:none}
  .nav-hamburger{display:flex}
  .nav-dropdown .dropdown-menu{display:none !important}
}
@media (max-width:560px){
  .nav-logo-text{font-size:.6rem}
  .nav-logo-letters{font-size:1.6rem}
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-gold, .btn-outline{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:15px 30px;
  font-size:.74rem;
  letter-spacing:.09em;
  text-transform:uppercase;
  font-weight:600;
  border:none;
  cursor:pointer;
  transition:transform .18s ease, background .18s ease, color .18s ease;
}
.btn-gold{background:var(--gold);color:var(--navy-deep)}
.btn-gold:hover{background:var(--gold-light);transform:translateY(-1px)}
.btn-outline{background:transparent;color:var(--white);border:1px solid rgba(255,255,255,.35)}
.btn-outline:hover{border-color:var(--gold);color:var(--gold)}

/* ============================================================
   HERO SPLIT (home / interior pages)
   ============================================================ */
.hero-split{
  position:relative;
  min-height:520px;
  overflow:hidden;
  background:var(--navy);
}
.hero-split-text{
  position:relative;
  z-index:2;
  max-width:540px;
  padding:52px 40px 52px 32px;
  min-height:520px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.hero-watermark{
  position:absolute;
  top:50%;left:29%;
  transform:translate(-50%,-50%);
  font-family:var(--serif);
  font-weight:700;
  font-size:12rem;
  letter-spacing:.08em;
  color:#FFFFFF;
  opacity:.08;
  line-height:1;
  pointer-events:none;
  user-select:none;
  z-index:1;
  white-space:nowrap;
}
.hero-eyebrow{
  font-family:var(--sans);
  font-size:.74rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gold-light);
  margin:0 0 14px;
}
.hero-title{
  font-family:var(--serif);
  font-weight:600;
  font-size:2.6rem;
  line-height:1.1;
  margin:0 0 16px;
  color:var(--white);
}
.hero-title em{color:var(--gold);font-style:italic}
.hero-rule{
  display:flex;align-items:center;gap:14px;
  margin-bottom:18px;
}
.hero-rule::before, .hero-rule::after{
  content:'';flex:1;height:1px;
  background:linear-gradient(90deg,transparent,rgba(201,148,10,.5),transparent);
}
.hero-rule span{color:var(--gold);font-size:.7rem}
.hero-subtitle{
  font-size:.92rem;
  line-height:1.65;
  color:var(--gray-lt);
  margin:0 0 20px;
  max-width:460px;
}
.hero-features{margin-bottom:22px;display:flex;flex-direction:column;gap:10px}
.hero-feature{
  display:flex;align-items:flex-start;gap:12px;
  font-size:.85rem;color:var(--gray-lt);line-height:1.4;
}
.hero-feature svg{color:var(--gold);flex-shrink:0;margin-top:2px}

.hero-split-img{
  position:absolute;
  top:0;right:0;bottom:0;
  left:42%;
  z-index:0;
}
.hero-split-img img{
  width:100%;height:100%;
  object-fit:cover;
  object-position:center 38%;
  display:block;
}
.hero-split-img::after{
  content:'';
  position:absolute;inset:0;
  background:linear-gradient(90deg,
    var(--navy) 0%,
    var(--navy) 14%,
    rgba(14,20,40,.88) 26%,
    rgba(14,20,40,.55) 38%,
    rgba(14,20,40,.20) 50%,
    rgba(14,20,40,.02) 62%,
    transparent 72%);
  z-index:1;
}
/* Reveals a foreground object (e.g. the notebook in the home hero photo)
   through the fade so it isn't dimmed by the overlay. Applied per-page
   via an extra class since not every hero photo has this element. */
.hero-split-img.has-reveal::after{
  -webkit-mask-image:radial-gradient(ellipse 26% 20% at 30% 89%, transparent 0%, transparent 45%, black 85%, black 100%);
  mask-image:radial-gradient(ellipse 26% 20% at 30% 89%, transparent 0%, transparent 45%, black 85%, black 100%);
}

@media (max-width:900px){
  .hero-split{display:flex;flex-direction:column;min-height:auto;overflow:visible}
  .hero-split-img{position:relative;top:auto;right:auto;bottom:auto;left:auto;height:300px;order:-1}
  .hero-split-img::after{
    background:linear-gradient(180deg,transparent 55%,var(--navy) 98%);
  }
  .hero-split-img.has-reveal::after{
    -webkit-mask-image:none;mask-image:none;
  }
  .hero-watermark{display:none}
  .hero-split-text{
    max-width:100%;min-height:auto;
    padding:44px 24px;
    background:var(--navy);
  }
  .hero-title{font-size:2.1rem}
}

/* ============================================================
   PAGE HERO (simple centered hero for legal/contact/services)
   ============================================================ */
.page-hero{
  padding:72px 32px 44px;
  background:linear-gradient(180deg,var(--navy-deep) 0%,var(--navy) 100%);
  text-align:center;
}
.page-hero .container{max-width:760px}

/* Light/cream hero variant: for pages where we want the hero to contrast
   against the navy content sections below it, rather than blend into them. */
.page-hero-light{
  position:relative;
  padding:88px 32px 128px;
  background:var(--cream);
  text-align:center;
  overflow:hidden;
}
.page-hero-light .container{max-width:760px;position:relative;z-index:2}
.page-hero-light .section-eyebrow{color:#9C7A1A}
.page-hero-light .section-title{color:var(--navy)}
.page-hero-light .section-title em{color:var(--gold)}
.page-hero-light .hero-light-subtitle{color:#5B5F70}
.hero-wave-divider{
  position:absolute;
  left:0;bottom:-1px;
  width:100%;
  height:110px;
  display:block;
  line-height:0;
  z-index:1;
}
.hero-wave-divider svg{display:block;width:100%;height:100%}

/* ============================================================
   SECTIONS
   ============================================================ */
.section{padding:80px 32px}
.section-navy{background:var(--navy)}
.section-mid{background:var(--navy-mid)}
.section-eyebrow{
  font-size:.76rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--gold);margin:0 0 12px;font-weight:600;
}
.section-title{
  font-family:var(--serif);
  font-weight:600;
  font-size:2.1rem;
  line-height:1.2;
  margin:0 0 18px;
  color:var(--white);
}
.section-title em{color:var(--gold);font-style:italic}
.section-rule{
  width:64px;height:2px;
  background:var(--gold);
  margin-bottom:30px;
  position:relative;
}
.section-body{font-size:.94rem;line-height:1.85;color:var(--gray-lt)}

/* ============================================================
   TWO / THREE COLUMN GRIDS
   ============================================================ */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.three-col{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
@media (max-width:900px){
  .two-col{grid-template-columns:1fr;gap:36px}
  .three-col{grid-template-columns:1fr 1fr}
}
@media (max-width:600px){
  .three-col{grid-template-columns:1fr}
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(201,148,10,.15);
  padding:30px 26px;
  transition:border-color .2s ease, transform .2s ease;
}
.service-card:hover{border-color:rgba(201,148,10,.5);transform:translateY(-3px)}
.service-card-icon{color:var(--gold);margin-bottom:16px}
.service-card-title{
  font-family:var(--serif);
  font-size:1.15rem;
  font-weight:600;
  color:var(--white);
  margin:0 0 10px;
}
.service-card-body{font-size:.86rem;line-height:1.7;color:var(--gray-lt);margin:0}

/* ============================================================
   CRED BADGES (About / Contact info)
   ============================================================ */
.cred-badge{
  display:flex;align-items:flex-start;gap:16px;
  padding:18px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.cred-badge:last-child{border-bottom:none}
.cred-badge-text h4{
  font-family:var(--serif);
  font-size:.98rem;
  color:var(--white);
  margin:0 0 4px;
  font-weight:600;
}
.cred-badge-text p{font-size:.84rem;color:var(--gray-lt);margin:0;line-height:1.5}

/* ============================================================
   CLIENT TYPE STRIP
   ============================================================ */
.client-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  background:var(--cream);
}
.client-strip-item{
  padding:48px 28px;
  text-align:center;
  border-right:1px solid rgba(201,148,10,.3);
}
.client-strip-item:last-child{border-right:none}
.client-strip-icon{color:var(--navy);margin-bottom:18px;display:flex;justify-content:center}
.client-strip-title{
  font-family:var(--serif);
  font-size:1rem;
  letter-spacing:.03em;
  text-transform:uppercase;
  color:var(--navy);
  margin:0 0 10px;
  font-weight:700;
}
.client-strip-desc{font-size:.82rem;color:#4A4F63;line-height:1.6;margin:0}
@media (max-width:700px){
  .client-strip{grid-template-columns:1fr}
  .client-strip-item{border-right:none;border-bottom:1px solid rgba(201,148,10,.3)}
  .client-strip-item:last-child{border-bottom:none}
}

/* ============================================================
   LEGAL CONTENT (Terms / Privacy)
   ============================================================ */
.legal-content{max-width:760px;margin:0 auto}
.legal-content h2{
  font-family:var(--serif);
  font-size:1.3rem;
  color:var(--gold-light);
  margin:36px 0 14px;
}
.legal-content h2:first-child{margin-top:0}
.legal-content p, .legal-content li{
  font-size:.9rem;line-height:1.85;color:var(--gray-lt);
}
.legal-content ul{margin:12px 0;padding-left:0}
.legal-content li{
  padding-left:22px;position:relative;margin-bottom:8px;
}
.legal-content li::before{
  content:'\2014';position:absolute;left:0;color:var(--gold);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-group{margin-bottom:20px}
.form-group label{
  display:block;font-size:.76rem;letter-spacing:.06em;text-transform:uppercase;
  color:var(--gray-lt);margin-bottom:8px;
}
.form-group input,
.form-group select,
.form-group textarea{
  width:100%;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.14);
  color:var(--white);
  padding:13px 14px;
  font-family:var(--sans);
  font-size:.9rem;
  transition:border-color .18s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder{color:var(--gray)}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  outline:none;border-color:var(--gold);
}
.form-group textarea{min-height:130px;resize:vertical}
.form-group select{cursor:pointer}
.form-group select option{background:var(--navy)}
.form-note{font-size:.72rem;color:var(--gray);margin-bottom:20px;line-height:1.6}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{background:var(--navy-deep);border-top:1px solid rgba(201,148,10,.18)}
.footer-credit{
  border-top:1px solid rgba(255,255,255,.08);
  padding:20px 32px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}
.footer-credit span{
  font-size:.72rem;
  letter-spacing:.03em;
  color:var(--gray);
}
.footer-credit a{
  display:inline-flex;
  align-items:center;
  line-height:0;
  background:var(--cream);
  padding:6px 14px;
  border-radius:6px;
  transition:transform .18s ease, box-shadow .18s ease;
}
.footer-credit a:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(0,0,0,.25);
}
.footer-credit img{
  height:52px;
  width:auto;
  display:block;
}
.footer-inner{
  max-width:var(--container);margin:0 auto;padding:48px 32px;
  display:grid;grid-template-columns:repeat(4,1fr);gap:32px;
}
.footer-badge{display:flex;align-items:flex-start;gap:14px}
.footer-badge svg{color:var(--gold);flex-shrink:0}
.footer-badge-text{
  font-size:.68rem;letter-spacing:.05em;text-transform:uppercase;
  color:var(--gray-lt);line-height:1.6;font-weight:600;
}
.footer-badge-text a{
  display:inline-flex;align-items:center;gap:6px;
  color:var(--gray-lt);text-transform:none;letter-spacing:0;
  font-weight:400;font-size:.78rem;margin-top:4px;
}
.footer-badge-text a:hover{color:var(--gold)}
.footer-badge-text .check{color:var(--gold)}
@media (max-width:900px){
  .footer-inner{grid-template-columns:1fr 1fr;gap:28px 20px}
}
@media (max-width:520px){
  .footer-inner{grid-template-columns:1fr}
}

/* ============================================================
   CTA BAND (gold)
   ============================================================ */
.cta-band{background:var(--gold);padding:56px 32px;text-align:center}
.cta-band h2{font-family:var(--serif);font-size:2rem;color:var(--navy-deep);margin:0 0 12px}
.cta-band p{color:var(--navy-deep);font-size:.9rem;max-width:520px;margin:0 auto 28px}

/* ============================================================
   MISC
   ============================================================ */
.page-body{overflow:hidden}

/* ============================================================
   WAVE BACKGROUND — semi-transparent section overrides
   Lets the fixed background image show through as the visible
   backdrop of the content itself, rather than being fully hidden
   behind opaque section colors. Scoped to wave-bg pages only.
   ============================================================ */
body.wave-bg .site-nav{background:rgba(10,14,28,.85)}
body.wave-bg .page-hero{
  background:linear-gradient(180deg,rgba(10,14,28,.85) 0%,rgba(14,20,40,.85) 100%);
}
body.wave-bg .page-hero-light{background:rgba(245,240,228,.72)}
body.wave-bg .section-navy{background:rgba(14,20,40,.87)}
body.wave-bg .section-mid{background:rgba(22,29,56,.87)}
body.wave-bg .client-strip{background:rgba(245,240,228,.72)}
body.wave-bg .client-strip-item{background:transparent}
body.wave-bg .client-strip-item[style*="cream-dark"]{background:rgba(234,225,203,.6) !important}
body.wave-bg .service-card{background:rgba(255,255,255,.07)}
body.wave-bg .site-footer{background:rgba(10,14,28,.88)}
body.wave-bg .cta-band{background:rgba(201,148,10,.78)}
