:root{
  --ink:#15202b;
  --muted:#4d5d6c;
  --soft:#eef6fb;
  --card:#ffffff;
  --accent:#173f5f;
  --border:#d8e1e8;
  --shadow:0 16px 35px rgba(21,32,43,.12);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.6;
}

a{
  color:var(--accent);
}

.skip-link{
  position:absolute;
  left:-999px;
  top:0;
  background:#fff;
  color:#000;
  padding:.75rem 1rem;
  z-index:9999;
}

.skip-link:focus{
  left:1rem;
  top:1rem;
}

.wrap{
  width:min(1100px, calc(100% - 2rem));
  margin:0 auto;
}

/* HEADER */

.site-header{
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:50;
}

.topbar{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem;
}

.brand{
  text-decoration:none;
  color:var(--ink);
  display:grid;
  line-height:1.25;
}

.brand strong{
  font-size:1.2rem;
}

.brand span{
  color:var(--muted);
  font-size:.95rem;
}

nav ul{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:1.1rem;
  padding:0;
  margin:0;
}

nav a{
  color:var(--ink);
  text-decoration:none;
  font-weight:700;
}

nav a:hover,
nav a:focus{
  text-decoration:underline;
}

/* HOME HERO */

.hero{
  min-height:720px;
  position:relative;
  overflow:hidden;
  padding:0;
}

.hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(0,0,0,.66),
    rgba(0,0,0,.25),
    rgba(0,0,0,.08)
  );
}

.hero-content{
  position:relative;
  z-index:3;
  min-height:720px;
  display:flex;
  align-items:center;
}

.hero-copy{
  max-width:520px;
  background:rgba(0,0,0,.28);
  color:#fff;
  padding:1.6rem;
  border-radius:18px;
  box-shadow:var(--shadow);
}

.hero-credential{
  color:#fff;
  font-size:1.02rem;
  font-weight:800;
  line-height:1.4;
  margin:0 0 1rem;
  text-shadow:0 3px 14px rgba(0,0,0,.7);
}

.hero h1{
  color:#fff;
  font-size:clamp(2.35rem,4.5vw,3.8rem);
  line-height:.96;
  margin:0 0 1rem;
  letter-spacing:-.03em;
}

.hero-intro{
  color:#fff;
  font-size:1.02rem;
  line-height:1.55;
  margin:0;
}

/* HOME ROTATING JAW */

.ct-video-overlay{
  position:absolute;
}

.ct-video-overlay.home-jaw{
  top:28px;
  right:18px;
  width:175px;
  z-index:8;
}

.ct-video-overlay video{
  width:100%;
  height:auto;
  display:block;
  border-radius:18px;
  background:#000;
  box-shadow:0 18px 45px rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.35);
}

.jaw-caption{
  margin:.55rem 0 0;
  color:#fff;
  font-size:.82rem;
  font-weight:800;
  line-height:1.25;
  text-align:center;
  text-shadow:0 3px 14px rgba(0,0,0,.8);
}

/* HOME LANGUAGE STREAM */

.hero-language-stream{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:8;
  overflow:hidden;
  white-space:nowrap;
  background:rgba(0,0,0,.42);
  padding:12px 0;
  backdrop-filter:blur(3px);
}

.language-track{
  display:inline-flex;
  gap:70px;
  width:max-content;
  animation:languageTrack 28s linear infinite;
}

.language-track span{
  color:#fff;
  font-size:.9rem;
  font-weight:700;
  white-space:nowrap;
}

@keyframes languageTrack{
  0%{
    transform:translateX(0);
  }
  100%{
    transform:translateX(-50%);
  }
}

/* BUTTONS */

.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:.85rem;
  align-items:center;
  margin-top:1.5rem;
}

.button{
  display:inline-block;
  border-radius:999px;
  padding:.82rem 1.15rem;
  text-decoration:none;
  font-weight:700;
  border:2px solid var(--accent);
}

.button.primary{
  background:#fff;
  color:var(--accent);
}

.button.secondary{
  color:#fff;
  border-color:#fff;
}

.button.secondary.dark{
  color:#123a5a;
  border-color:#123a5a;
}

/* GENERAL SECTIONS */

section{
  padding:4.5rem 0;
}

.info-band{
  background:var(--soft);
}

.section-head{
  max-width:760px;
  margin-bottom:2rem;
}

.section-head h1,
.section-head h2{
  font-size:clamp(2rem,4vw,3rem);
  margin:0 0 .75rem;
  line-height:1.15;
}

h1,
h2,
h3{
  line-height:1.15;
}

.muted{
  color:var(--muted);
}

.grid-2,
.grid-3{
  display:grid;
  gap:1.35rem;
}

.grid-2{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.grid-3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:1.5rem;
  box-shadow:0 10px 25px rgba(21,32,43,.06);
}

.office-image img{
  width:100%;
  height:auto;
  border-radius:12px;
  display:block;
}

.caption{
  color:var(--muted);
  font-size:.95rem;
  margin:.75rem 0 0;
}

/* HOME CT SECTION */

.ct-home-intro{
  align-items:start;
}

.ct-mini-card video{
  width:100%;
  height:auto;
  display:block;
  border-radius:14px;
  background:#000;
}

.ct-home-examples{
  margin-top:4.5rem;
  padding-top:4rem;
  border-top:1px solid var(--border);
}

/* CT CASES */

.ct-case{
  margin:60px 0;
}

.ct-case h3{
  margin-bottom:25px;
}

.ct-case img{
  width:100%;
  height:auto;
  border-radius:12px;
  display:block;
}

.ct-case .caption{
  margin-top:15px;
  font-size:.95rem;
  line-height:1.6;
}

/* STANDALONE CT PAGE */

.page-hero{
  padding:4rem 0 3rem;
}

.ct-sticky-section{
  padding:4.5rem 0;
  background:#fff;
}

.ct-sticky-layout{
  display:grid;
  grid-template-columns:1fr;
  gap:3rem;
  align-items:start;
}

.ct-video-column{
  grid-row:1;
  width:100%;
  max-width:1100px;
  margin:0 auto;
}

.ct-text-column{
  grid-row:2;
  max-width:900px;
  margin:0 auto;
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:2rem;
  box-shadow:0 10px 25px rgba(21,32,43,.06);
}

.ct-text-column h2{
  margin-top:2.5rem;
  margin-bottom:1rem;
  font-size:clamp(1.6rem,3vw,2.35rem);
}

.ct-text-column h2:first-child{
  margin-top:0;
}

.ct-text-column p{
  color:var(--muted);
  font-size:1.05rem;
  margin:0 0 1.15rem;
}

.ct-text-column strong{
  color:var(--ink);
}

.ct-sticky-video{
  width:100%;
  max-width:1100px;
  margin:0 auto;
  aspect-ratio:16/9;
  border-radius:20px;
  overflow:hidden;
  background:#000;
  box-shadow:0 20px 45px rgba(21,32,43,.22);
  border:1px solid var(--border);
}

.ct-sticky-video video{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  background:#000;
}

.ct-video-caption{
  max-width:1100px;
  text-align:center;
  font-weight:700;
  margin:12px auto 0;
  color:var(--muted);
}

#ct-images .section-head{
  max-width:850px;
}

/* CTA / MAP */

.cta-section{
  text-align:center;
  padding:65px 20px;
  background:#fff;
}

.cta-section h2{
  margin-bottom:15px;
}

.cta-section p{
  max-width:720px;
  margin:0 auto 28px;
  color:#44576b;
}

.cta-row.center{
  justify-content:center;
}

.map-block{
  margin-top:1.5rem;
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
}

.map-link{
  padding:0 1rem 1rem;
}

/* FOOTER */

footer{
  background:#08152b;
  color:#fff;
  padding:40px 0 30px;
}

footer a{
  color:#fff;
}

.footer-center{
  text-align:center;
  margin-bottom:30px;
  line-height:1.7;
}

.footer-center strong{
  font-size:1.25rem;
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:20px;
}

.back-top{
  color:#fff;
  text-decoration:none;
  font-weight:600;
}

.back-top:hover,
.back-top:focus{
  text-decoration:underline;
}

/* MOBILE MENU */

.menu-toggle{
  display:none;
}

/* TABLET / MOBILE */

@media(max-width:900px){
  .topbar{
    align-items:flex-start;
    flex-direction:column;
    padding:1rem 0;
  }

  .menu-toggle{
    display:inline-block;
    background:#0f172a;
    color:#fff;
    border:none;
    padding:12px 16px;
    border-radius:6px;
    font-size:1rem;
    font-weight:600;
    cursor:pointer;
    margin-left:auto;
  }

  nav#primary-nav{
    display:none;
    width:100%;
  }

  nav#primary-nav.open{
    display:block;
  }

  nav#primary-nav ul{
    display:flex;
    flex-direction:column;
    gap:0;
    padding:12px 0 0;
    margin:0;
  }

  nav#primary-nav li{
    padding:10px 0;
  }

  .hero{
    min-height:660px;
  }

  .hero-content{
    min-height:660px;
    align-items:center;
    padding:4rem 0 6.5rem;
  }

  .hero-copy{
    max-width:100%;
    padding:1.25rem;
  }

  .hero h1{
    font-size:clamp(2.2rem,7vw,3.35rem);
  }

  .ct-video-overlay.home-jaw{
    width:145px;
    top:22px;
    right:12px;
  }

  .hero-language-stream{
    bottom:0;
  }

  .grid-2,
  .grid-3{
    grid-template-columns:1fr;
  }

  .ct-sticky-layout{
    gap:2rem;
  }

  .ct-text-column{
    max-width:100%;
    padding:1.35rem;
  }

  .ct-sticky-video{
    max-width:100%;
    aspect-ratio:16/9;
  }
}

/* SMALL MOBILE */

@media(max-width:768px){
  .site-header{
    position:relative;
  }

  .topbar{
    min-height:auto;
    padding:8px 0;
    flex-direction:row;
    align-items:center;
    flex-wrap:wrap;
  }

  .brand strong{
    font-size:1.1rem;
  }

  .brand span{
    font-size:.8rem;
  }

  .menu-toggle{
    padding:9px 12px;
    font-size:.95rem;
    border-radius:8px;
    margin-left:auto;
  }

  nav#primary-nav{
    flex-basis:100%;
  }

  .hero{
    min-height:820px;
  }

  .hero-content{
    min-height:820px;
    align-items:flex-start;
    padding-top:22px;
    padding-bottom:92px;
  }

  .hero-copy{
    width:100%;
    max-width:100%;
    padding:1rem;
    background:rgba(0,0,0,.34);
  }

  .hero h1{
    font-size:clamp(2rem,9vw,2.65rem);
    max-width:calc(100% - 138px);
    margin-bottom:.9rem;
  }

  .hero-credential{
    max-width:calc(100% - 138px);
    font-size:.84rem;
    line-height:1.35;
    margin-bottom:.75rem;
  }

  .hero-intro{
    margin-top:1.1rem;
    font-size:.95rem;
    line-height:1.5;
  }

  /* Move only the homepage contact buttons slightly lower into the water */
  .hero .cta-row{
    margin-top:4rem;
  }

  .ct-video-overlay.home-jaw{
    width:116px;
    top:18px;
    right:8px;
    z-index:6;
  }

  .hero-language-stream{
    bottom:0;
  }

  .page-hero{
    padding:2.5rem 0 2rem;
  }

  .section-head h1{
    font-size:clamp(2.1rem,10vw,3rem);
  }

  .ct-sticky-section{
    padding:2.5rem 0;
  }

  .ct-sticky-video{
    border-radius:14px;
    box-shadow:0 12px 30px rgba(21,32,43,.18);
  }

  .ct-video-caption{
    font-size:.9rem;
    margin-top:10px;
  }

  .ct-home-examples{
    margin-top:3rem;
    padding-top:3rem;
  }

  .footer-bottom{
    flex-direction:column;
    gap:18px;
    text-align:center;
  }
}


/* SAFARI / IOS VIEWPORT SUPPORT */

@supports (-webkit-touch-callout: none){
  .hero,
  .hero-content{
    min-height:820px;
  }
}

@media(max-width:420px){
  .wrap{
    width:min(100% - 1.25rem, 1100px);
  }

  .hero h1{
    font-size:2rem;
    max-width:calc(100% - 132px);
  }

  .hero-credential{
    max-width:calc(100% - 132px);
    font-size:.8rem;
  }

  .ct-video-overlay.home-jaw{
    width:108px;
    top:14px;
    right:6px;
  }

  .jaw-caption{
    font-size:.7rem;
  }

  .hero-intro{
    font-size:.92rem;
  }

  .hero .cta-row{
    margin-top:4.5rem;
  }
}