/* ==========================================================================
   UNI Gem Lab — global stylesheet
   Design tokens live in :root. Teal (--p) is the brand, gold (--s) the accent.
   ========================================================================== */

@import "../fonts/fonts.css";
:root {
  --p:#125060;
  --p-l:#1b738a;
  --p-d:#0a2d36;
  --s:#bc8d53;
  --s-l:#d6a971;
  --s-d:#9a7040;
  --white:#fff;
  --off:#f6f7f8;
  --text:#1a2332;
  --muted:#64748b;
  --glass:#ffffff14;
  --border-glass:#ffffff26;
  --border-gold:#bc8d534d;
  --tr:all .35s cubic-bezier(.4,0,.2,1);
  --logo-h:100px;
  --nav-h:calc(var(--logo-h) + 20px);
}

*,
:before,
:after {
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html {
  scroll-behavior:smooth;
}

body {
  color:var(--text);
  background:var(--off);
  -webkit-font-smoothing:antialiased;
  font-family:Inter,sans-serif;
  overflow-x:hidden;
}

.serif {
  font-family:Playfair Display,serif;
}

h1,
h2,
h3,
h4,
h5 {
  color:var(--p);
  font-family:Playfair Display,serif;
  line-height:1.2;
}

.wrap {
  width:100%;
  max-width:1240px;
  margin:0 auto;
  padding:0 1.5rem;
}

.sec {
  padding:6rem 0;
}

.sec-sm {
  padding:4rem 0;
}

.v2-nav {
  z-index:1000;
  background:var(--p-d);
  transition:var(--tr);
  border-bottom:1px solid #bc8d5333;
  position:fixed;
  top:0;
  left:0;
  right:0;
}

.v2-nav__inner {
  justify-content:space-between;
  align-items:center;
  min-height:72px;
  padding:10px 0;
  display:flex;
}

.v2-nav__logo {
  color:var(--white);
  letter-spacing:.5px;
  align-items:center;
  gap:.6rem;
  font-family:Playfair Display,serif;
  font-size:1.35rem;
  font-weight:700;
  text-decoration:none;
  display:flex;
}

.v2-nav__logo span {
  color:var(--s);
}

.v2-nav__links {
  gap:2rem;
  list-style:none;
  display:flex;
}

.v2-nav__links a {
  color:#ffffffbf;
  text-transform:uppercase;
  letter-spacing:1.5px;
  font-size:.8rem;
  font-weight:600;
  text-decoration:none;
  transition:color .2s;
  position:relative;
}

.v2-nav__links a:after {
  content:"";
  background:var(--s);
  width:0;
  height:2px;
  transition:width .25s;
  position:absolute;
  bottom:-4px;
  left:0;
}

.v2-nav__links a:hover {
  color:var(--s);
}

.v2-nav__links a:hover:after {
  width:100%;
}

.v2-nav__cta {
  background:var(--s);
  color:var(--white);
  text-transform:uppercase;
  letter-spacing:1px;
  transition:var(--tr);
  border-radius:6px;
  align-items:center;
  gap:.5rem;
  padding:.55rem 1.4rem;
  font-size:.8rem;
  font-weight:700;
  text-decoration:none;
  display:inline-flex;
}

.v2-nav__cta:hover {
  background:var(--s-l);
  transform:translateY(-1px);
}

.v2-hero {
  background:var(--p-d);
  align-items:center;
  min-height:100vh;
  padding-top:130px;
  display:flex;
  position:relative;
  overflow:hidden;
}

.v2-hero__bg {
  background:radial-gradient(80% 60% at 70%,#125060e6 0%,#0000 70%),radial-gradient(50% 80% at 10% 80%,#bc8d5326 0%,#0000 60%),linear-gradient(135deg,#0a1f28 0%,#0a2d36 40%,#125060 100%);
  position:absolute;
  inset:0;
}

.v2-hero__bg:after {
  content:"";
  background-image:radial-gradient(1px 1px at 20% 30%,#bc8d5366 0%,#0000 100%),radial-gradient(1px 1px at 80% 20%,#ffffff4d 0%,#0000 100%),radial-gradient(1px 1px at 50% 80%,#bc8d534d 0%,#0000 100%),radial-gradient(1px 1px at 90% 70%,#fff3 0%,#0000 100%),radial-gradient(1px 1px at 30% 60%,#bc8d5333 0%,#0000 100%);
  background-size:400px 400px,300px 300px,500px 500px,200px 200px,350px 350px;
  position:absolute;
  inset:0;
}

.v2-hero__content {
  z-index:2;
  max-width:680px;
  padding-top:2.5rem;
  padding-bottom:4rem;
  position:relative;
}

.v2-hero__badge {
  color:var(--s-l);
  text-transform:uppercase;
  letter-spacing:2px;
  background:#bc8d5326;
  border:1px solid #bc8d5366;
  border-radius:100px;
  align-items:center;
  gap:.5rem;
  margin-bottom:1.5rem;
  padding:.4rem 1.2rem;
  font-size:.75rem;
  font-weight:600;
  display:inline-flex;
}

.v2-hero__badge-dot {
  background:var(--s);
  border-radius:50%;
  width:6px;
  height:6px;
  animation:2s infinite pulse;
}

@keyframes pulse {
  0%,
  to {
    opacity:1;
    transform:scale(1);
  }
  50% {
    opacity:.5;
    transform:scale(1.4);
  }
}

.v2-hero h1 {
  color:var(--white);
  text-shadow:0 4px 20px #0000004d;
  margin-bottom:1.5rem;
  font-size:clamp(2.8rem,6vw,5rem);
  line-height:1.1;
}

.v2-hero h1 em {
  color:var(--s);
  font-style:normal;
  display:block;
}

.v2-hero__sub {
  color:#ffffffb8;
  max-width:560px;
  margin-bottom:2.5rem;
  font-size:1.15rem;
  line-height:1.75;
}

.v2-hero__actions {
  flex-wrap:wrap;
  gap:1rem;
  display:flex;
}

.v2-hero__gem {
  opacity:.12;
  pointer-events:none;
  width:380px;
  position:absolute;
  top:50%;
  right:8%;
  transform:translateY(-50%);
}

@media (max-width:900px) {
  .v2-hero__gem {
    display:none;
  }
}

.btn {
  text-transform:uppercase;
  letter-spacing:1px;
  cursor:pointer;
  transition:var(--tr);
  border:2px solid #0000;
  border-radius:8px;
  align-items:center;
  gap:.5rem;
  padding:.85rem 2rem;
  font-size:.85rem;
  font-weight:700;
  text-decoration:none;
  display:inline-flex;
}

.btn-gold {
  background:var(--s);
  color:var(--white);
}

.btn-gold:hover {
  background:var(--s-l);
  transform:translateY(-2px);
  box-shadow:0 8px 24px #bc8d5359;
}

.btn-outline-white {
  color:var(--white);
  background:0 0;
  border-color:#fff6;
}

.btn-outline-white:hover {
  border-color:var(--s);
  color:var(--s);
  transform:translateY(-2px);
}

.btn-outline-teal {
  color:var(--p);
  border-color:var(--p);
  background:0 0;
}

.btn-outline-teal:hover {
  background:var(--p);
  color:var(--white);
  transform:translateY(-2px);
}

.v2-stats {
  background:linear-gradient(90deg,#0a2d36 0%,#125060 50%,#0a2d36 100%);
  border-top:2px solid #bc8d534d;
  border-bottom:2px solid #bc8d534d;
  padding:3.5rem 0;
}

.v2-stats__grid {
  text-align:center;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  display:grid;
}

.v2-stats__item {
  padding:0 2rem;
  position:relative;
}

.v2-stats__item+.v2-stats__item:before {
  content:"";
  background:#bc8d534d;
  width:1px;
  position:absolute;
  top:15%;
  bottom:15%;
  left:0;
}

.v2-stats__num {
  color:var(--s);
  margin-bottom:.4rem;
  font-family:Playfair Display,serif;
  font-size:clamp(2.2rem,4vw,3.2rem);
  font-weight:700;
  line-height:1;
}

.v2-stats__label {
  color:#fff9;
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:.75rem;
  font-weight:500;
}

.sec-head {
  text-align:center;
  margin-bottom:4rem;
}

.sec-head__tag {
  border:1px solid var(--border-gold);
  color:var(--s);
  text-transform:uppercase;
  letter-spacing:2px;
  background:#bc8d531a;
  border-radius:100px;
  margin-bottom:1rem;
  padding:.3rem 1rem;
  font-size:.7rem;
  font-weight:700;
  display:inline-block;
}

.sec-head h2 {
  color:var(--p);
  margin-bottom:1rem;
  font-size:clamp(2rem,4vw,3rem);
  display:inline-block;
  position:relative;
}

.sec-head h2:after {
  content:"";
  background:var(--s);
  border-radius:2px;
  width:50px;
  height:3px;
  margin:.75rem auto 0;
  display:block;
}

.sec-head p {
  color:var(--muted);
  max-width:640px;
  margin:0 auto;
  font-size:1.1rem;
  line-height:1.75;
}

.glass-card {
  -webkit-backdrop-filter:blur(20px);
  border:1px solid var(--border-glass);
  transition:var(--tr);
  background:#ffffff0f;
  border-radius:20px;
  padding:2.5rem;
}

.glass-card:hover {
  background:#ffffff1a;
  border-color:#bc8d5366;
  transform:translateY(-6px);
  box-shadow:0 20px 50px #0000004d;
}

.white-card {
  transition:var(--tr);
  background:#fff;
  border:1px solid #1250600f;
  border-radius:20px;
  padding:2.5rem;
  box-shadow:0 4px 24px #1250600f;
}

.white-card:hover {
  border-color:var(--border-gold);
  transform:translateY(-6px);
  box-shadow:0 16px 48px #1250601f;
}

.icon-box {
  border-radius:14px;
  flex-shrink:0;
  justify-content:center;
  align-items:center;
  width:56px;
  height:56px;
  margin-bottom:1.5rem;
  display:flex;
}

.icon-box-teal {
  color:var(--p);
  background:#1250601a;
}

.icon-box-gold {
  color:var(--s);
  background:#bc8d531f;
}

.icon-box-light {
  color:var(--p-l);
  background:#1b738a1a;
}

.card-grid-2 {
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:1.5rem;
  display:grid;
}

.card-grid-3 {
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:1.5rem;
  display:grid;
}

.card-grid-4 {
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:1.5rem;
  display:grid;
}

.dark-sec {
  background:linear-gradient(135deg,#0a1f28 0%,#0a2d36 50%,#125060 100%);
  position:relative;
  overflow:hidden;
}

.dark-sec:before {
  content:"";
  pointer-events:none;
  background:radial-gradient(circle,#bc8d5314 0%,#0000 70%);
  width:600px;
  height:600px;
  position:absolute;
  top:-40%;
  right:-10%;
}

.dark-sec:after {
  content:"";
  pointer-events:none;
  background:radial-gradient(circle,#1b738a1f 0%,#0000 70%);
  width:500px;
  height:500px;
  position:absolute;
  bottom:-30%;
  left:-10%;
}

.timeline {
  flex-direction:column;
  gap:1.25rem;
  display:flex;
}

.timeline__item {
  align-items:flex-start;
  gap:1.25rem;
  display:flex;
}

.timeline__year {
  min-width:64px;
  color:var(--s);
  text-align:center;
  letter-spacing:.5px;
  background:#bc8d531f;
  border:1px solid #bc8d534d;
  border-radius:8px;
  flex-shrink:0;
  padding:.3rem .75rem;
  font-size:.78rem;
  font-weight:700;
}

.timeline__text {
  color:var(--muted);
  padding-top:.2rem;
  font-size:.95rem;
  line-height:1.65;
}

.trust-item {
  align-items:flex-start;
  gap:1.25rem;
  display:flex;
}

.trust-icon {
  border:1px solid var(--border-gold);
  background:#bc8d531a;
  border-radius:50%;
  flex-shrink:0;
  justify-content:center;
  align-items:center;
  width:52px;
  height:52px;
  font-size:1.4rem;
  display:flex;
}

.trust-item h4 {
  color:var(--p);
  margin-bottom:.3rem;
  font-family:Inter,sans-serif;
  font-size:1rem;
  font-weight:700;
}

.trust-item p {
  color:var(--muted);
  margin:0;
  font-size:.9rem;
  line-height:1.6;
}

.split {
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:5rem;
  display:grid;
}

.split-img {
  aspect-ratio:4/3;
  border-radius:20px;
  position:relative;
  overflow:hidden;
  box-shadow:0 24px 60px #00000026;
}

.split-img img {
  object-fit:cover;
  width:100%;
  height:100%;
  transition:transform .7s;
}

.split-img:hover img {
  transform:scale(1.04);
}

.quote-banner {
  text-align:center;
  border:1px solid var(--border-gold);
  background:#fff;
  border-radius:24px;
  padding:4rem;
  position:relative;
  overflow:hidden;
  box-shadow:0 8px 40px #12506012;
}

.quote-banner:before {
  content:"\"";
  color:#bc8d530f;
  pointer-events:none;
  font-family:Playfair Display,serif;
  font-size:12rem;
  line-height:1;
  position:absolute;
  top:-.5rem;
  left:2rem;
}

.quote-banner blockquote {
  color:var(--p);
  max-width:800px;
  margin:0 auto 1.5rem;
  font-family:Playfair Display,serif;
  font-size:clamp(1.3rem,2.5vw,1.85rem);
  font-weight:600;
  line-height:1.55;
}

.quote-banner cite {
  color:var(--s);
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:.78rem;
  font-style:normal;
  font-weight:700;
}

.v2-footer {
  background:var(--p-d);
  border-top:3px solid var(--s);
  color:#fff9;
  padding:4rem 0 2rem;
}

.v2-footer__grid {
  grid-template-columns:2fr 1fr 1fr;
  gap:3rem;
  margin-bottom:3rem;
  display:grid;
}

.v2-footer__brand {
  color:var(--white);
  margin-bottom:1rem;
  font-family:Playfair Display,serif;
  font-size:1.6rem;
}

.v2-footer__brand span {
  color:var(--s);
}

.v2-footer p {
  margin-bottom:.5rem;
  font-size:.9rem;
  line-height:1.7;
}

.v2-footer h5 {
  text-transform:uppercase;
  letter-spacing:2px;
  color:var(--white);
  margin-bottom:1.25rem;
  font-family:Inter,sans-serif;
  font-size:.75rem;
  font-weight:700;
}

.v2-footer ul {
  list-style:none;
}

.v2-footer li {
  margin-bottom:.6rem;
}

.v2-footer a {
  color:#ffffff8c;
  font-size:.88rem;
  text-decoration:none;
  transition:color .2s;
}

.v2-footer a:hover {
  color:var(--s);
}

.v2-footer__bottom {
  text-align:center;
  color:#ffffff59;
  border-top:1px solid #ffffff14;
  padding-top:2rem;
  font-size:.82rem;
}

/* Motion drives the reveal, so only hide the initial state when JS is actually
   running — without it the .js class is never set and content stays visible. */
.js .reveal {
  opacity:0;
  transform:translateY(28px);
}

@media (prefers-reduced-motion:reduce) {
  .js .reveal {
    opacity:1;
    transform:none;
  }
}

@media (max-width:1024px) {
  .split {
    grid-template-columns:1fr;
    gap:3rem;
  }
  .v2-stats__grid {
    grid-template-columns:repeat(2,1fr);
    gap:2rem;
  }
  .v2-stats__item+.v2-stats__item:before {
    display:none;
  }
  .v2-footer__grid {
    grid-template-columns:1fr;
    gap:2rem;
  }
}

.v2-nav__hamburger {
  color:var(--white);
  cursor:pointer;
  z-index:1002;
  background:0 0;
  border:none;
  padding:.5rem;
  display:none;
}

/* Offset by the real nav height, not a hardcoded 72px — the logo makes the bar
   taller than the min-height, which slid the panel up underneath it. dvh keeps
   the panel correct while mobile browser chrome collapses on scroll. */
.v2-nav__mobile-menu {
  background:var(--p-d);
  z-index:1001;
  flex-direction:column;
  width:100%;
  height:calc(100dvh - var(--nav-h));
  padding:2rem 1.5rem;
  transition:transform .4s cubic-bezier(.4,0,.2,1);
  display:flex;
  position:fixed;
  top:var(--nav-h);
  left:0;
  overflow-y:auto;
  transform:translate(100%);
}

.v2-nav__mobile-menu.open {
  transform:translate(0);
}

.v2-nav__mobile-links {
  flex-direction:column;
  gap:1.5rem;
  margin-bottom:2rem;
  list-style:none;
  display:flex;
}

.v2-nav__mobile-links a {
  color:var(--white);
  text-transform:uppercase;
  letter-spacing:1px;
  border-bottom:1px solid #ffffff0d;
  padding:.5rem 0;
  font-size:1.25rem;
  font-weight:600;
  text-decoration:none;
  display:block;
}

.v2-nav__mobile-cta {
  text-align:center;
  justify-content:center;
  padding:1rem;
  font-size:1rem;
}

@media (max-width:768px) {
  .v2-nav__links,
  .desktop-cta {
    display:none;
  }
  .v2-nav__hamburger {
    display:block;
  }
  .split {
    grid-template-columns:1fr;
  }
  .quote-banner {
    padding:2.5rem 1.5rem;
  }
  .v2-stats__grid {
    grid-template-columns:repeat(2,1fr);
    gap:1.5rem;
  }
  .card-grid-2,
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns:1fr;
  }
  .sec {
    padding:3.5rem 0;
  }
  .sec-sm {
    padding:2.5rem 0;
  }
  .v2-hero__actions {
    flex-direction:column;
    width:100%;
  }
  .v2-hero__actions .btn {
    justify-content:center;
    width:100%;
  }
}

@media (max-width:480px) {
  .v2-stats__grid {
    grid-template-columns:1fr;
  }
  .v2-hero h1 {
    font-size:clamp(2.2rem,8vw,2.8rem);
  }
}

/* ==========================================================================
   Homepage
   Replaces the inline style attributes the previous React build emitted.
   ========================================================================== */

.skip-link {
  position:absolute;
  top:-100%;
  left:1rem;
  z-index:1100;
  background:var(--s);
  color:var(--white);
  padding:.75rem 1.25rem;
  border-radius:0 0 8px 8px;
  font-size:.85rem;
  font-weight:700;
  text-decoration:none;
}

.skip-link:focus {
  top:0;
}

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

/* <picture> is inline by default, and its line-box descender was adding a few
   stray pixels to the nav height. */
.v2-nav__logo picture {
  display:flex;
}

.v2-nav__logo img {
  height:var(--logo-h);
  width:auto;
}

@media (max-width:768px) {
  :root {
    --logo-h:64px;
  }
}

/* Locks background scroll while the slide-in menu is open. */
body.nav-open {
  overflow:hidden;
}

.v2-hero--home {
  min-height:75vh;
}

.sec--white {
  background:var(--white);
}

/* dark-sec paints its glow via ::before/::after, so lift the content above it. */
.dark-sec__inner {
  position:relative;
  z-index:1;
}

.sec-head--light h2 {
  color:var(--white);
}

.sec-head--light p {
  color:#ffffffa6;
}

.card-icon {
  font-size:2.2rem;
  margin-bottom:1rem;
  line-height:1;
}

.card-icon--sm {
  font-size:1.8rem;
}

.card-title {
  font-size:1.2rem;
  margin-bottom:.75rem;
}

.card-text {
  color:var(--muted);
  font-size:.95rem;
  line-height:1.7;
  margin-bottom:1.5rem;
}

.card-link {
  color:var(--s);
  font-weight:700;
  font-size:.82rem;
  text-transform:uppercase;
  letter-spacing:1px;
  text-decoration:none;
  transition:color .2s;
}

.card-link:hover {
  color:var(--s-l);
}

.glass-card__title {
  font-family:Inter,sans-serif;
  color:var(--white);
  font-weight:700;
  font-size:1.05rem;
  margin-bottom:.65rem;
}

.glass-card__text {
  color:#ffffff9e;
  font-size:.92rem;
  line-height:1.7;
  margin:0;
}

.quote-banner__actions {
  margin-top:2.5rem;
  display:flex;
  gap:1rem;
  justify-content:center;
  flex-wrap:wrap;
}

.v2-footer__motto {
  font-style:italic;
  margin-top:.75rem;
  color:#bc8d53b3;
}

.v2-footer p a {
  color:inherit;
}

.v2-hero--compact {
  min-height:60vh;
}

/* Accessible label text: available to screen readers, removed from the visual layout. */
.visually-hidden {
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  border:0;
  clip-path:inset(50%);
  overflow:hidden;
  white-space:nowrap;
}
