/* ================================================
   Ancient Sea Pearl Co. LLC  —  v2 Styles
   Design: Light cards / dark hero / teal-blue accents
   ================================================ */

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

:root {
  --navy:      #071725;
  --navy-2:    #0e2b43;
  --navy-3:    #0d314e;
  --blue:      #1b78b7;
  --teal:      #1fd6c5;
  --teal-dark: #087c73;
  --gold:      #d8aa53;
  --paper:     #f7f8f8;
  --paper-2:   #eef4f7;
  --white:     #ffffff;
  --muted:     #607080;
  --ink:       #102033;
  --line:      rgba(255,255,255,.16);
  --line-dark: rgba(7,23,37,.09);
  --shadow:    0 8px 40px rgba(7,23,37,.10);
  --shadow-lg: 0 24px 80px rgba(7,23,37,.14);
  --radius:    28px;
  --radius-sm: 18px;
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: linear-gradient(180deg, #f9fbfc 0%, var(--paper-2) 100%);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin-top: 0; }
h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 7vw, 86px);
  line-height: .94;
  letter-spacing: -.05em;
  margin-bottom: 24px;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -.04em;
  margin-bottom: 16px;
}
h3 { font-size: 22px; letter-spacing: -.025em; margin-bottom: 10px; }
p { margin-top: 0; line-height: 1.7; }

/* ── Site shell ── */
.site-shell { overflow: hidden; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(7, 23, 37, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.09);
  transition: padding .3s;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  color: #fff; min-width: max-content;
}
.brand-mark {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: white; font-weight: 800; font-size: 13px; letter-spacing: -.02em;
  box-shadow: 0 10px 28px rgba(31,214,197,.22);
  flex-shrink: 0;
}
.brand strong { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.brand small { display: block; color: #aebdca; font-size: 11px; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  color: #c8d4df; font-size: 14px; font-weight: 600;
  padding: 9px 13px; border-radius: var(--radius-pill);
  transition: color .2s, background .2s;
}
.nav-link:hover, .nav-link.active { color: #fff; background: rgba(255,255,255,.10); }
.header-cta {
  background: #fff; color: var(--navy);
  padding: 10px 18px; border-radius: var(--radius-pill);
  font-weight: 800; font-size: 14px;
  transition: opacity .2s;
  white-space: nowrap;
}
.header-cta:hover { opacity: .88; }
.menu-toggle {
  display: none; margin-left: auto;
  background: none; border: 0; color: #fff;
  font-size: 26px; cursor: pointer; line-height: 1;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: var(--radius-pill); padding: 14px 24px;
  font-weight: 800; font-size: 15px; border: 0; cursor: pointer;
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  background: linear-gradient(135deg, var(--teal), #54a6ff);
  color: #03111d;
  box-shadow: 0 16px 44px rgba(31,214,197,.24);
}
.btn.primary:hover { box-shadow: 0 20px 60px rgba(31,214,197,.32); }
.btn.secondary {
  background: rgba(255,255,255,.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,.20);
}
.btn.secondary:hover { background: rgba(255,255,255,.17); }
.btn.dark {
  background: var(--navy); color: #fff;
  box-shadow: 0 12px 40px rgba(7,23,37,.2);
}

/* ── Hero ── */
.hero {
  min-height: 780px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px;
  padding: 100px clamp(20px, 6vw, 96px) 120px;
  align-items: center;
  background:
    radial-gradient(circle at 72% 28%, rgba(31,214,197,.20), transparent 28%),
    radial-gradient(circle at 10% 18%, rgba(27,120,183,.20), transparent 32%),
    linear-gradient(135deg, #06131f 0%, #0d314e 56%, #071725 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: auto -10% -140px -10%;
  height: 260px;
  background: var(--paper);
  transform: rotate(-4deg);
  z-index: 1;
}
.hero-content, .hero-card { position: relative; z-index: 2; }
.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px; font-weight: 800;
  margin: 0 0 14px;
}
.lead { font-size: 19px; line-height: 1.65; color: #dce8f2; max-width: 720px; margin: 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0; }
.trust-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.trust-row span {
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-pill);
  color: #b9cad8; font-size: 13px;
}

/* Hero card (right panel) */
.hero-card {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 36px 90px rgba(0,0,0,.28);
  backdrop-filter: blur(22px);
}
.hero-card h3 { font-size: 28px; color: #fff; }
.hero-card p, .hero-card li { color: #d7e6ef; line-height: 1.7; }
.hero-card ul { padding-left: 18px; margin: 0; }
.hero-card li { margin-bottom: 6px; }
.radar {
  height: 220px; border-radius: 22px; margin-bottom: 26px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle, #1fd6c5 0 2px, transparent 3px),
    linear-gradient(145deg, #0b253a, #06131f);
  background-size: 30px 30px, 100%;
}
.radar span {
  position: absolute; inset: 50%;
  border: 1px solid rgba(31,214,197,.36); border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 3.8s ease-out infinite;
}
.radar span:nth-child(2) { animation-delay: .9s; }
.radar span:nth-child(3) { animation-delay: 1.8s; }
@keyframes pulse {
  from { width: 0; height: 0; opacity: 1; }
  to   { width: 340px; height: 340px; opacity: 0; }
}

/* ── Sections ── */
.section {
  padding: 96px clamp(20px, 6vw, 96px);
  background: var(--paper);
  position: relative; z-index: 4;
}
.section.white { background: var(--white); }
.section.paper-2 { background: var(--paper-2); }
.section-heading { max-width: 800px; margin-bottom: 40px; }
.section-heading p { color: var(--muted); line-height: 1.7; font-size: 18px; margin: 0; }

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

.card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card p { color: var(--muted); line-height: 1.7; }
.card a { font-weight: 800; color: var(--blue); }
.card a:hover { text-decoration: underline; }

.icon {
  width: 54px; height: 54px; border-radius: 18px;
  background: #e9f8f7; color: var(--teal-dark);
  display: grid; place-items: center;
  font-weight: 900; font-size: 18px; margin-bottom: 26px;
  flex-shrink: 0;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

/* Mini cards (supply grid) */
.mini-card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  font-weight: 700; font-size: 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ── Split dark ── */
.split-dark {
  margin: 0 clamp(20px, 6vw, 96px);
  border-radius: 38px;
  padding: 72px;
  background: linear-gradient(135deg, var(--navy), #103751);
  color: #fff;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  position: relative; z-index: 4;
}
.split-dark p { color: #c9d8e3; line-height: 1.7; }
.feature-list { display: grid; gap: 16px; }
.feature-list > div {
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
}
.feature-list strong { display: block; margin-bottom: 6px; font-size: 18px; color: #fff; }
.feature-list span { color: #c5d5df; line-height: 1.6; font-size: 15px; }

/* ── Stats strip ── */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 clamp(20px, 6vw, 96px);
  position: relative; z-index: 4; margin-bottom: 0;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  text-align: center;
}
.stat-card strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--navy);
  letter-spacing: -.03em;
  margin-bottom: 6px;
}
.stat-card span { color: var(--muted); font-size: 14px; }

/* ── Split (light) ── */
.split-light {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}

/* ── Service stack ── */
.service-stack { display: grid; gap: 18px; }
.service-item {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  padding: 34px 32px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.service-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service-item .svc-num {
  font-size: 30px; font-weight: 900;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  padding-top: 4px;
}
.service-item h3 { font-size: 20px; margin-bottom: 8px; }
.service-item p { color: var(--muted); line-height: 1.7; margin: 0; }
.service-item ul { color: var(--muted); line-height: 1.8; margin: 10px 0 0; padding-left: 18px; }

/* ── Timeline ── */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.timeline-step {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 30px; padding: 36px 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.timeline-step .step-label {
  display: inline-block; color: var(--teal-dark);
  font-weight: 900; font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; margin-bottom: 14px;
}
.timeline-step h3 { font-size: 20px; margin-bottom: 10px; }
.timeline-step p { color: var(--muted); line-height: 1.7; margin: 0; }
.timeline-step .step-num {
  position: absolute; top: 28px; right: 28px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper-2);
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px; color: var(--muted);
}

/* ── Quote cards ── */
.quote-card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  position: relative;
}
.quote-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 80px;
  line-height: 1;
  color: var(--teal);
  opacity: .18;
  position: absolute; top: 16px; left: 26px;
}
.quote-card p { font-size: 18px; color: #22384d; line-height: 1.7; margin-bottom: 20px; }
.quote-card .author { font-weight: 800; font-size: 14px; color: var(--muted); }
.quote-card .role { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ── Check list ── */
.check-list { padding-left: 0; list-style: none; margin: 0; }
.check-list li { padding: 12px 0; border-bottom: 1px solid var(--line-dark); color: var(--muted); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: "✓"; color: var(--teal-dark); font-weight: 900; margin-right: 10px; }

/* ── CTA banner ── */
.cta-band {
  margin: 0 clamp(20px, 6vw, 96px) 96px;
  padding: 72px 80px;
  border-radius: 38px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 10% 10%, rgba(31,214,197,.20), transparent 30%),
    linear-gradient(135deg, var(--navy-2), var(--navy));
  position: relative; z-index: 4;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d0dee9; max-width: 680px; margin: 0 auto 28px; line-height: 1.7; font-size: 18px; }

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: 100px clamp(20px, 6vw, 96px) 80px;
  background: linear-gradient(135deg, #06131f, #0f3957);
  color: #fff;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: auto -10% -100px -10%;
  height: 180px; background: var(--paper);
  transform: rotate(-3deg); z-index: 1;
}
.page-hero h1 { font-size: clamp(44px, 6vw, 76px); position: relative; z-index: 2; }
.page-hero .lead { font-size: 19px; line-height: 1.7; color: #d2e1eb; max-width: 860px; position: relative; z-index: 2; }
.page-hero .eyebrow { position: relative; z-index: 2; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 28px; align-items: start; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow);
}
.contact-block { padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.contact-block:last-child { border-bottom: 0; }
.contact-block h3 { font-size: 16px; margin-bottom: 8px; }
.contact-block p { color: var(--muted); margin: 0 0 6px; }
.contact-block a { color: var(--blue); font-weight: 700; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow);
  display: grid; gap: 18px;
}
.contact-form h2 { font-size: 28px; margin-bottom: 4px; }
.contact-form .sub { color: var(--muted); font-size: 15px; margin-bottom: 6px; }
.contact-form label { display: grid; gap: 7px; font-weight: 700; font-size: 14px; }
input, select, textarea {
  width: 100%;
  border: 1.5px solid rgba(7,23,37,.13);
  border-radius: 14px;
  padding: 13px 16px;
  font: inherit; font-size: 15px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .2s;
  outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); }
select { cursor: pointer; }
textarea { resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ── Highlight card variant ── */
.card.highlight { background: linear-gradient(180deg, var(--white), #f0f6fb); }
.card ul { color: var(--muted); padding-left: 18px; line-height: 1.9; margin: 12px 0 0; }

/* ── Office cards ── */
.office-flag { font-size: 2.2rem; margin-bottom: 14px; }

/* ── Team card ── */
.team-card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-avatar {
  height: 180px;
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
  display: grid; place-items: center;
  font-size: 3.5rem;
}
.team-body { padding: 28px; }
.team-body h3 { font-size: 18px; margin-bottom: 4px; }
.team-role { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); display: block; margin-bottom: 12px; }
.team-body p { color: var(--muted); font-size: 14px; margin: 0; }
.team-body a { color: var(--blue); font-weight: 700; }

/* ── Project card ── */
.project-card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-img {
  width: 100%; height: 200px; object-fit: cover;
  filter: brightness(.85) saturate(.9);
  transition: filter .3s;
}
.project-card:hover .project-img { filter: brightness(.95) saturate(1.05); }
.project-body { padding: 28px; }
.project-tag {
  font-size: 11px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-dark);
  display: block; margin-bottom: 8px;
}
.project-body h3 { font-size: 18px; margin-bottom: 8px; }
.project-body p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }

/* Featured project */
.project-featured {
  display: grid; grid-template-columns: 1.2fr 1fr;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 32px;
}
.project-featured-img { height: 100%; min-height: 400px; object-fit: cover; filter: brightness(.82) saturate(.9); width: 100%; }
.project-featured-body { background: var(--white); padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; }
.project-featured-body .eyebrow { color: var(--teal-dark); }
.project-featured-body h2 { font-size: 30px; }
.project-featured-body p { color: var(--muted); line-height: 1.8; }
.meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 28px; }
.meta-item {}
.meta-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 3px; }
.meta-value { font-size: 15px; font-weight: 700; color: var(--ink); }

/* ── Footer ── */
.footer {
  background: var(--navy);
  color: #fff;
  padding: 64px clamp(20px, 6vw, 96px) 28px;
  position: relative; z-index: 4;
}
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer p, .footer a { color: #b4c4d1; line-height: 1.75; }
.footer a { display: block; margin: 8px 0; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer h4 { margin: 0 0 14px; color: #fff; font-size: 14px; letter-spacing: .04em; }
.footer-brand { margin-bottom: 16px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px;
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 22px;
  color: #8ba0af; font-size: 13px;
}

/* ── Animations ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 82px; left: 16px; right: 16px;
    background: var(--navy);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 22px; padding: 14px;
    flex-direction: column; align-items: stretch;
  }
  .nav.open { display: flex; }
  .nav-link { border-radius: 14px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 80px 24px 100px; }
  .hero-card { display: none; }
  .cards.three, .cards.four, .cards.two { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .split-dark { grid-template-columns: 1fr; padding: 40px; margin: 0 20px; }
  .split-light { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .cta-band { margin: 0 16px 70px; padding: 50px 28px; }
  .section { padding: 70px clamp(16px, 4vw, 40px); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
  .project-featured { grid-template-columns: 1fr; }
  .project-featured-img { height: 260px; }
  .project-featured-body { padding: 36px 28px; }
  .service-item { grid-template-columns: 1fr; }
  .service-item .svc-num { font-size: 20px; }
}
@media (max-width: 580px) {
  .stats-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 80px 20px 60px; }
  .meta-grid { grid-template-columns: 1fr; }
}
