/* Drip Check Landing Page
   Palette (from logo):
   - Navy: #041339
   - Blue: #4FBEF2
   Neutrals:
   - Light Gray: #F3F5F7
*/

:root {
  --navy: #041339;
  --blue: #4FBEF2;
  --ice: #DFF6FF;
  --bg: var(--navy);
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.09);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --muted-2: rgba(255, 255, 255, 0.60);
  --stroke: rgba(255, 255, 255, 0.14);
  --shadow: 0 16px 40px rgba(0,0,0,0.35);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1200px 700px at 30% -20%, rgba(79, 190, 242, 0.25), transparent 60%),
              radial-gradient(900px 600px at 85% 10%, rgba(79, 190, 242, 0.18), transparent 55%),
              var(--bg);
  color: var(--text);
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  color: #000;
  padding: 10px 12px;
  border-radius: 10px;
}
.skip:focus { left: 12px; z-index: 9999; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(4, 19, 57, 0.72);
  border-bottom: 1px solid var(--stroke);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}
.brand__logo {
  width: 42px;
  height: auto;
  filter: drop-shadow(0 0 6px rgba(79, 190, 242, 0.6));
}
.brand__name {
  font-weight: 800;
  letter-spacing: 0.3px;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.nav a:hover { color: #fff; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.2px;
  background: linear-gradient(135deg, rgba(79, 190, 242, 1), rgba(79, 190, 242, 0.78));
  color: #06122f;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 24px rgba(79, 190, 242, 0.18);
}
.cta:hover { transform: translateY(-1px); }
.cta:active { transform: translateY(0px); }
.cta--small { padding: 10px 14px; font-size: 14px; }

.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.2px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
}
.ghost:hover { background: rgba(255,255,255,0.09); }

.ghost-link {
  color: var(--muted);
  font-weight: 700;
}
.ghost-link:hover { color: #fff; }

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--stroke);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 600px at 20% 0%, rgba(79, 190, 242, 0.22), transparent 60%),
    radial-gradient(900px 700px at 85% 25%, rgba(223, 246, 255, 0.10), transparent 55%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  padding: 52px 0 34px;
  align-items: center;
}

.hero-logo{
  width: min(260px, 70vw);
  height: auto;
  margin: 0 0 12px;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.45))
          drop-shadow(0 0 10px rgba(79,190,242,0.35));
}

.pill {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--ice);
  font-weight: 800;
  letter-spacing: 0.2px;
  width: fit-content;
}

h1 {
  margin: 14px 0 10px;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.8px;
}

.sub {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 44ch;
}

.hero__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  flex-wrap: wrap;
}

.fineprint {
  margin: 14px 0 0;
  color: var(--muted-2);
  font-weight: 700;
  font-size: 13px;
}

.frame {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.frame img {
  width: 100%;
  height: auto;
}

.section {
  padding: 46px 0;
}
.section--alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.section__head {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}
.section__head h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.3px;
}
.section__head p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  margin: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0,0,0,0.22);
}
.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.card figcaption {
  padding: 12px 12px 14px;
  color: var(--ice);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.banner {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.14);
  background:
    radial-gradient(700px 240px at 10% 0%, rgba(79, 190, 242, 0.22), transparent 55%),
    rgba(255,255,255,0.05);
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 14px;
  align-items: center;
}
.banner__text h3 {
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: -0.2px;
}
.banner__text p {
  margin: 0;
  color: var(--muted);
}
.banner__media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.12);
}
.banner__media img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.storefront {
  margin-top: 32px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(800px 300px at 20% 0%, rgba(79, 190, 242, 0.18), transparent 60%),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  position: relative;
}

/* Optional subtle glow edge */
.storefront::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  box-shadow: inset 0 0 60px rgba(79, 190, 242, 0.08);
}

.storefront img {
  width: 100%;
  height: 780px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

/* Subtle premium hover effect */
.storefront:hover img {
  transform: scale(1.03);
}

.visit {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}

.visit__big {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.2px;
  margin: 6px 0 14px;
  color: var(--ice);
}

.visit__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 12px 0 16px;
}

.details {
  display: grid;
  gap: 10px;
  max-width: 420px;
  margin-top: 12px;
}
.detail {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}
.detail__k {
  color: var(--muted-2);
  font-weight: 800;
}
.detail__v {
  color: #fff;
  font-weight: 900;
}

.note {
  margin: 12px 0 0;
  min-height: 18px;
  color: var(--ice);
  font-weight: 800;
}

.mapcard {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.14);
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  box-shadow: var(--shadow);
}
.mapcard__top {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.14);
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.20);
}
.mapcard__top span {
  margin-left: 6px;
  font-weight: 900;
  color: var(--ice);
  letter-spacing: 0.2px;
}
.mapcard__body {
  padding: 14px;
}
.mapcard__body p {
  margin: 0 0 10px;
  color: var(--muted);
}
.copyline {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.12);
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 800;
  color: #fff;
}
.mini {
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 900;
  background: rgba(79, 190, 242, 0.18);
  color: #fff;
  border: 1px solid rgba(79, 190, 242, 0.35);
  cursor: pointer;
}
.mini:hover { background: rgba(79, 190, 242, 0.24); }
.muted {
  color: var(--muted-2);
  margin: 10px 0 0;
  font-size: 13px;
}

.badge {
  margin-top: 14px;
  position: relative;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  padding: 12px 14px;
  overflow: hidden;
}
.badge__glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 30% 30%, rgba(79, 190, 242, 0.22), transparent 50%);
}
.badge__text {
  position: relative;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: var(--ice);
}

.footer {
  padding: 22px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
}
.footer__brand {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer__brand img { width: 36px; height: auto; }
.footer__name { font-weight: 950; }
.footer__tag { color: var(--muted-2); font-weight: 800; font-size: 13px; }
.footer__right {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-weight: 800;
}
.footer__link:hover { color: #fff; }
.footer__sep { color: rgba(255,255,255,0.25); }
.footer__small { color: rgba(255,255,255,0.55); }

@media (max-width: 920px) {
  .hero__inner,
  .visit {
    grid-template-columns: 1fr;
  }
  .nav { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .banner { grid-template-columns: 1fr; }
  .banner__media img { height: 220px; }
}

@media (max-width: 560px) {
  .topbar__inner { padding: 12px 0; }
  .brand__name { display: none; }
  .grid { grid-template-columns: 1fr; }
  .card img { height: 260px; }
}

@media (max-width: 620px){
  .video-grid{
    grid-template-columns: 1fr; /* stacked mobile */
  }
}

/* --- Gallery cards (3 columns desktop) --- */
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-card{
  margin:0;
  border-radius: 18px;
  overflow:hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 12px 26px rgba(0,0,0,0.22);
}

.gallery-card img{
  width: 100%;
  height: 280px;
  display: block;
  object-fit: cover;
  object-position: center;
  background: rgba(0,0,0,0.18);
}

.gallery-card--contain img{
  object-fit: cover;
  background: rgba(0,0,0,0.18);
}

.gallery-card figcaption{
  padding: 12px 14px;
  font-weight: 900;
  letter-spacing: .2px;
  background: rgba(0,0,0,0.22);
  border-top: 1px solid rgba(255,255,255,0.10);
}

/* Responsive: 2 columns tablet, 1 column mobile */
@media (max-width: 980px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .gallery-grid{ grid-template-columns: 1fr; }
  .gallery-card img{ height: 280px; }
}

/* Videos: keep portrait proportion and show poster correctly */
.video-card video{
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: rgba(0,0,0,0.35);
  display:block;
}
.video-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* side-by-side desktop */
  gap: 16px;
  align-items: start;
}
