/* Cariaco — palette taken from the Gulf of Cariaco at dusk */
:root {
  --gulf: #0E2A3B;       /* deep water; close to MommaGooz #142b3b and HaT #1C2B3A */
  --gulf-2: #163B4F;
  --mangrove: #1F5C5A;
  --sea-glass: #4FA39C;
  --salt: #EEF3F1;
  --salt-2: #DCE7E4;
  --sun: #F0A04B;
  --ink: #0A1D29;
  --muted: #4C6470;

  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Literata", Georgia, "Times New Roman", serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.333rem;
  --step-2: 1.777rem;
  --step-3: 2.369rem;
  --step-4: clamp(2.6rem, 5vw, 3.6rem);
  --step-5: clamp(3.2rem, 8.5vw, 6.6rem);

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--salt);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--ink); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem var(--gutter);
  color: var(--salt);
  transition: background .25s, box-shadow .25s;
}
.nav.scrolled { background: rgba(14, 42, 59, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(238,243,241,.08); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.3rem; font-stretch: 85%; }
.brand img { border-radius: 50%; }
.nav nav { display: flex; gap: 1.75rem; align-items: center; font-family: var(--display); font-size: .98rem; }
.nav nav a { text-decoration: none; opacity: .85; }
.nav nav a:hover { opacity: 1; }
.nav .nav-cta { opacity: 1; border: 1.5px solid rgba(238,243,241,.6); padding: .4rem 1rem; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--salt); color: var(--gulf); }
.nav-toggle { display: none; font: 600 .95rem var(--display); color: inherit; background: none; border: 1.5px solid rgba(238,243,241,.6); border-radius: 999px; padding: .35rem .9rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--salt); overflow: hidden; background: var(--gulf); }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: dusk 2.4s cubic-bezier(.2,.7,.2,1) both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,34,50,.82) 0%, rgba(11,34,50,.45) 45%, rgba(11,34,50,0) 75%); }
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: var(--wrap); margin-inline: auto; padding: 8rem var(--gutter) clamp(3rem, 8vh, 6rem); }
.hero h1 { font-size: var(--step-5); font-weight: 800; font-stretch: 78%; line-height: .93; letter-spacing: -.025em; max-width: 12ch; }
.hero-lede { max-width: 36rem; font-size: var(--step-1); line-height: 1.55; margin: 1.6rem 0 2.2rem; color: #D9E6E3; }
.hero-products { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-product {
  display: flex; align-items: center; gap: .85rem;
  padding: .55rem 1.3rem .55rem .55rem; border-radius: 999px;
  background: rgba(238,243,241,.1); border: 1px solid rgba(238,243,241,.25);
  backdrop-filter: blur(6px); text-decoration: none; font-family: var(--display);
  transition: background .2s;
}
.hero-product:hover { background: rgba(238,243,241,.2); }
.hero-product img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--salt); }
.hero-product .hp-mark { padding: 5px; }
.hero-product span { display: flex; flex-direction: column; line-height: 1.2; font-size: .9rem; color: #C9DAD6; }
.hero-product strong { font-size: 1.1rem; color: var(--salt); }

@keyframes dusk { from { transform: scale(1.06) translateY(2%); filter: saturate(.6) brightness(.8); } to { transform: none; filter: none; } }

/* ---------- Shared ---------- */
.product-tag { font-family: var(--display); font-size: var(--step--1); font-weight: 600; margin-bottom: .6rem; }
.section-title { font-size: var(--step-3); font-stretch: 85%; margin-bottom: 1rem; }
.text-link { font-family: var(--display); font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.btn { display: inline-block; font-family: var(--display); font-weight: 650; padding: .85rem 1.5rem; border-radius: 999px; text-decoration: none; transition: transform .15s, background .2s; }
.btn:active { transform: translateY(1px); }
.btn-navy { background: #1C2B3A; color: var(--salt); }
.btn-navy:hover { background: var(--mangrove); }

/* ---------- MommaGooz ---------- */
.mg { background: var(--gulf); color: var(--salt); padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem); position: relative; overflow: hidden; }
.mg::before { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(79,163,156,.28), transparent 65%); }
.mg-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.mg .product-tag { color: var(--sea-glass); }
.mg-title { font-size: var(--step-5); font-weight: 800; font-stretch: 80%; letter-spacing: -.03em; line-height: .9; }
.mg-claim { font-family: var(--display); font-size: var(--step-2); font-weight: 500; color: var(--sun); margin: .6rem 0 1.4rem; line-height: 1.2; }
.mg-copy > p { max-width: 34rem; color: #CFDEDA; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2.2rem 0; }
.mode { border-top: 2px solid var(--sea-glass); padding-top: 1rem; }
.mode:nth-child(2) { border-top-color: var(--sun); }
.mode h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.mode p { font-size: .97rem; line-height: 1.6; color: #BFD2CE; margin: 0; }
.mg-actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.mg-actions .text-link { color: var(--salt); }

/* The phones sit side by side and take their height from the screenshots, so nothing is covered or cropped. */
.mg-visual { display: flex; justify-content: center; align-items: flex-start; gap: clamp(1.5rem, 4vw, 2.75rem); padding-block: .5rem; }
.phone { position: relative; flex: 0 1 270px; min-width: 0; margin: 0; border-radius: 42px; padding: 10px; background: #050F16; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 0 0 2px #2A3F4C; }
.phone img { width: 100%; height: auto; aspect-ratio: 735 / 1600; border-radius: 33px; background: var(--gulf-2); }
.phone-front { margin-top: 40px; transform: rotate(-2deg); }
.phone-back { transform: rotate(2deg); opacity: .9; }

.mg-closing { position: relative; margin-top: clamp(3rem, 6vw, 4.5rem); margin-bottom: 0; font-family: var(--display); font-size: var(--step-2); font-weight: 700; line-height: 1.2; color: var(--salt); }

/* ---------- HaT ---------- */
.hat { background: var(--salt); padding: clamp(5rem, 10vw, 8rem) 0; }
.hat-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hat .product-tag { color: var(--mangrove); }
.hat-title { display: flex; align-items: center; gap: .8rem; font-size: var(--step-5); font-weight: 800; font-stretch: 80%; letter-spacing: -.03em; color: #1C2B3A; line-height: .9; }
.hat-title img { width: clamp(52px, 7vw, 84px); height: auto; }
.hat-claim { font-family: var(--display); font-size: var(--step-2); font-weight: 500; color: var(--mangrove); margin: .8rem 0 1.4rem; line-height: 1.2; }
.hat-copy > p { max-width: 36rem; color: #2F4652; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 2rem 0 2.2rem; display: grid; gap: 1rem; max-width: 36rem; }
.steps li { counter-increment: s; position: relative; padding-left: 3.3rem; min-height: 2.2rem; line-height: 1.55; color: #2F4652; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; font-family: var(--display); font-weight: 800; font-size: 1.05rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: #1C2B3A; color: var(--salt); }
.steps li:last-child::before { background: var(--sun); color: #1C2B3A; }
.steps strong { font-family: var(--display); color: var(--ink); }
.hat-actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.hat-actions .text-link { color: #1C2B3A; }

/* the live call card */
.hat-demo { position: relative; display: grid; place-items: center; padding: 2rem 0; }
.hat-demo::before { content: ""; position: absolute; inset: 0; border-radius: 28px; background: linear-gradient(160deg, var(--salt-2), #C9DCD8); }
.call-card { position: relative; width: min(100%, 380px); background: #1C2B3A; color: var(--salt); border-radius: 26px; padding: 1.5rem; box-shadow: 0 30px 60px -25px rgba(14,42,59,.55); overflow: hidden; }
.call-head { display: flex; gap: .9rem; align-items: center; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(238,243,241,.12); }
.call-head img { background: var(--salt); border-radius: 12px; padding: 3px; }
.call-line { font-family: var(--display); font-weight: 650; margin: 0; line-height: 1.2; }
.call-sub { font-size: .85rem; color: #9FB4BC; margin: 0; }
.call-body { padding-top: 1.3rem; }
.call-status { display: flex; align-items: center; gap: .5rem; font-family: var(--display); font-weight: 600; color: var(--sun); margin: 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); animation: pulse 1.4s infinite; }
.call-timer { font-family: var(--display); font-size: 4rem; font-weight: 700; font-stretch: 85%; letter-spacing: -.02em; margin: .2rem 0 .6rem; font-variant-numeric: tabular-nums; }
.wave { display: flex; gap: 4px; align-items: center; height: 36px; margin-bottom: 1rem; }
.wave i { flex: 1; background: var(--sea-glass); border-radius: 3px; height: 30%; animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.7s; } .wave i:nth-child(4n) { animation-delay: -.5s; }
.call-note { font-size: .92rem; color: #B5C7CD; margin: 0; }
.call-transfer { position: absolute; inset: auto 0 0 0; padding: 1.4rem 1.5rem; background: var(--sun); color: #1C2B3A; transform: translateY(101%); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.call-transfer p { margin: 0; }
.transfer-title { font-family: var(--display); font-weight: 750; font-size: 1.2rem; }
.call-card[data-state="transfer"] .call-transfer { transform: none; }
.call-card[data-state="transfer"] .dot { background: var(--sea-glass); animation: none; }
.call-card[data-state="transfer"] .call-status { color: var(--sea-glass); }

@keyframes pulse { 50% { opacity: .3; } }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 95%; } }

/* ---------- More products ---------- */
.more { background: var(--salt-2); padding: clamp(3.5rem, 7vw, 5rem) 0; }
.more-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.more-list article { border-left: 3px solid var(--mangrove); padding-left: 1.25rem; }
.more-list h3 { font-size: var(--step-2); font-stretch: 85%; margin-bottom: .4rem; }
.more-list p { color: var(--muted); max-width: 32rem; margin: 0; }

/* ---------- Consulting ---------- */
.consulting { padding: clamp(5rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 4rem); }
.consult-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.consult-lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 26rem; }
.entities { display: grid; gap: 2.2rem; }
.entity h3 { font-size: var(--step-2); font-stretch: 85%; }
.entity .since { font-family: var(--display); color: var(--mangrove); font-weight: 600; margin: .2rem 0 .6rem; }
.entity p:last-child { margin: 0; max-width: 36rem; }
.clients { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid #C5D5D1; }
.clients h3 { font-size: 1rem; font-weight: 600; color: var(--muted); margin-bottom: 1rem; }
.clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 2.6rem; }
.clients li { font-family: var(--display); font-size: var(--step-2); font-weight: 650; font-stretch: 80%; color: var(--gulf); }

/* ---------- About ---------- */
.about { background: var(--gulf); color: var(--salt); padding: clamp(5rem, 9vw, 7rem) 0; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.about-side { position: sticky; top: 100px; }
.portrait { position: relative; margin: 0 0 1.6rem; width: 220px; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; background: var(--mangrove); }
.portrait img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.monogram { position: absolute; inset: 0; display: grid; place-items: center; font: 800 4rem var(--display); color: var(--salt); opacity: .5; }
.role { font-family: var(--display); color: var(--sun); font-weight: 550; }
.about-intro { color: #CFDEDA; max-width: 30rem; }
.testimonial { margin: 1.6rem 0 0; max-width: 30rem; padding-left: 1.1rem; border-left: 2px solid var(--sun); font-family: var(--body); font-style: italic; color: #CFDEDA; }
.testimonial p { margin: 0 0 .7em; }
.testimonial cite { display: block; font-size: var(--step--1); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7.4rem; top: .6rem; bottom: .6rem; width: 2px; background: rgba(79,163,156,.35); }
.timeline li { display: grid; grid-template-columns: 6.6rem 1fr; gap: 2rem; padding: .85rem 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(7.4rem - 5px); top: 1.45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--gulf); border: 2px solid var(--sea-glass); }
.timeline li:last-child::before { background: var(--sun); border-color: var(--sun); }
.when { font-family: var(--display); font-weight: 750; font-size: 1.25rem; font-stretch: 85%; color: var(--salt); text-align: right; padding-top: .1rem; }
.timeline p { margin: 0; color: #C3D5D1; }

/* ---------- Origin ---------- */
.origin { padding: clamp(5rem, 9vw, 7rem) 0; }
.origin-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.origin-img { margin: 0; }
.origin-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 20px; background: var(--salt-2); }
.origin p { color: var(--muted); max-width: 30rem; }

/* ---------- Contact ---------- */
.contact { background: var(--sun); color: var(--ink); padding: clamp(4.5rem, 9vw, 7rem) 0; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: end; }
.contact-title { font-size: var(--step-4); font-weight: 800; font-stretch: 80%; letter-spacing: -.02em; max-width: 14ch; line-height: .98; }
.contact-details p { display: grid; grid-template-columns: 4rem 1fr; margin: 0 0 1rem; font-family: var(--display); font-size: 1.15rem; line-height: 1.35; }
.contact-details a { font-weight: 700; text-underline-offset: 4px; }
.lbl { font-weight: 500; opacity: .7; }
.contact-details .avail { display: block; font-size: 1rem; opacity: .8; margin-top: 1.4rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #9FB4BC; padding: 2.4rem 0; font-family: var(--display); font-size: .95rem; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer .brand { color: var(--salt); font-size: 1.1rem; }
.footer nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--salt); }
.footer p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .mg-grid, .hat-grid, .consult-grid, .about-grid, .origin-grid, .contact-grid { grid-template-columns: 1fr; }
  .mg-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .hat-demo { order: 2; }
  .about-side { position: static; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--gulf); padding: .5rem var(--gutter) 1.2rem; display: none; }
  .nav.open nav { display: flex; }
  .nav.open { background: var(--gulf); }
  .nav nav a { padding: .7rem 0; width: 100%; font-size: 1.1rem; }
  .nav .nav-cta { border: 0; padding: .7rem 0; }
  .modes, .more-list { grid-template-columns: 1fr; }
  .phone { border-radius: 32px; padding: 8px; }
  .phone img { border-radius: 25px; }
  .timeline::before { left: 4.6rem; }
  .timeline li { grid-template-columns: 3.8rem 1fr; gap: 1.6rem; }
  .timeline li::before { left: calc(4.6rem - 5px); }
  .when { font-size: 1rem; }
  .call-timer { font-size: 3.2rem; }
  .hero::after { background: linear-gradient(0deg, rgba(11,34,50,.9) 0%, rgba(11,34,50,.5) 55%, rgba(11,34,50,.1) 100%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
