/* SeaAsk Global — final editorial finish
   A restrained presentation layer over the approved October 23 build. */

:root {
  --finish-shadow: 0 24px 64px rgba(3, 17, 31, .12);
  --finish-shadow-hover: 0 30px 72px rgba(3, 17, 31, .18);
  --finish-hairline: rgba(8, 34, 54, .10);
}
html { scroll-padding-top: 96px; }
body {
  background:
    radial-gradient(ellipse at 12% 13%, rgba(33, 143, 208, .055), transparent 27%),
    radial-gradient(ellipse at 89% 38%, rgba(18, 184, 177, .05), transparent 25%),
    var(--off-white);
}
.top { min-height: 82px; background: rgba(3, 17, 31, .96); box-shadow: 0 8px 28px rgba(3, 17, 31, .10); }
.top nav a:not(.nav-cta) { border-radius: 999px; }
.top nav a:not(.nav-cta):hover,
.top nav a:not(.nav-cta):focus-visible { background: rgba(255, 255, 255, .065); }
.top nav .nav-cta {
  min-height: 44px; padding-inline: 19px;
  background: linear-gradient(120deg, rgba(33, 143, 208, .27), rgba(18, 184, 177, .22));
  box-shadow: inset 0 1px rgba(255, 255, 255, .16), 0 8px 24px rgba(18, 184, 177, .10);
}
.hero h1 { max-width: 17ch; font-size: clamp(3rem, 6.2vw, 5.8rem); line-height: 1.04; letter-spacing: -.052em; }
.hero .lead { max-width: 62ch; font-size: clamp(1.08rem, 1.45vw, 1.28rem); line-height: 1.75; }
.hero .promise { max-width: 60ch; }
.section { padding-block: clamp(78px, 9vw, 124px); }
.section-heading { margin-bottom: clamp(30px, 4vw, 48px); }
.section-heading h2 { max-width: 20ch; line-height: 1.12; letter-spacing: -.045em; }
.section-heading > p:not(.eyebrow) { max-width: 68ch; line-height: 1.78; }
.eyebrow { letter-spacing: .16em; }
.trust-strip {
  border-block: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(90deg, #06182a, #0a2b40 50%, #06182a);
}
.domain, .framework-card, .intelligence-card, .path-card, .business-pillar,
.sector-card, .reach-card, .listing-card {
  border-color: var(--finish-hairline); box-shadow: var(--finish-shadow);
}
.framework-card, .intelligence-card, .path-card, .business-pillar,
.sector-card, .reach-card, .listing-card, .mode-card {
  transition: transform .32s cubic-bezier(.2,.75,.25,1),
              box-shadow .32s cubic-bezier(.2,.75,.25,1),
              border-color .28s ease;
}
.framework-card:hover, .intelligence-card:hover, .path-card:hover,
.business-pillar:hover, .sector-card:hover, .reach-card:hover,
.listing-card:hover, .mode-card:hover { box-shadow: var(--finish-shadow-hover); }
.domain { border-radius: 28px; }
.domain-content { padding-inline: clamp(24px, 3vw, 34px); }
.business-entity {
  border-color: rgba(18, 154, 157, .22);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(18, 184, 177, .075), transparent 34%),
    linear-gradient(145deg, #fff 0%, #f5fafb 100%);
  box-shadow: 0 26px 70px rgba(3, 17, 31, .09);
}
.business-entity > .entity-heading .eyebrow,
.business-entity .business-location-strip span { color: #087f82; }
.business-entity .business-location-strip > div {
  min-height: 86px; border-color: rgba(8, 127, 130, .16);
  box-shadow: inset 0 1px rgba(255, 255, 255, .9);
}
.sector-card, .reach-card, .framework-card, .intelligence-card,
.path-card, .business-pillar { border-radius: 22px; }
.live-listings {
  border-color: rgba(8, 127, 130, .20);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(18, 184, 177, .08), transparent 36%),
    linear-gradient(145deg, #fff, #f4fafb);
  box-shadow: 0 22px 58px rgba(3, 17, 31, .08);
}
.listing-manager summary {
  min-height: 56px; padding: 13px 16px; border: 1px solid var(--finish-hairline);
  border-radius: 15px; background: rgba(255, 255, 255, .9);
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.listing-manager summary:hover, .listing-manager summary:focus-visible {
  border-color: rgba(8, 127, 130, .35); background: #fff;
  box-shadow: 0 8px 24px rgba(3, 17, 31, .07);
}
.listing-form input, .listing-form select, .listing-form textarea {
  min-height: 48px; border-color: rgba(8, 34, 54, .17);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.listing-form textarea { min-height: 128px; }
.listing-form input:focus, .listing-form select:focus, .listing-form textarea:focus {
  border-color: #087f82; box-shadow: 0 0 0 4px rgba(18, 184, 177, .12);
}
.button, .top nav a, .text-link { -webkit-tap-highlight-color: transparent; }
@media (max-width: 780px) {
  .hero h1 { max-width: 15ch; font-size: clamp(2.65rem, 10vw, 4.4rem); }
  .section { padding-block: 72px; }
  .business-entity .business-location-strip > div { min-height: 0; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(2.35rem, 11.5vw, 3.5rem); }
  .section-heading h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .top { min-height: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .framework-card, .intelligence-card, .path-card, .business-pillar,
  .sector-card, .reach-card, .listing-card, .mode-card { transition: none; }
}

/* High-contrast primary action treatment across light and dark sections. */
.button.primary {
  background: linear-gradient(115deg, #185f97 0%, #0b7478 55%, #145f3f 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(3, 17, 31, .20), inset 0 1px rgba(255, 255, 255, .16);
}
.button.primary:hover,
.button.primary:focus-visible {
  background: linear-gradient(115deg, #124d7d 0%, #086468 55%, #104d33 100%);
  color: #fff;
}

/* Business story: a polished editorial bridge into SeaAsk's enterprise role. */
.business-ecosystem-intro {
  margin: 2rem 0 2.5rem;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  border: 1px solid rgba(18, 184, 177, .24);
  border-radius: 24px;
  background: linear-gradient(122deg, rgba(7, 31, 51, .97), rgba(8, 68, 77, .96));
  color: #f5fbfc;
  box-shadow: 0 24px 60px rgba(3, 17, 31, .16);
}
.business-ecosystem-intro .eyebrow { margin: 0 0 .9rem; color: #82e0d1; }
.business-value-path {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 1.4rem; margin: 0; color: #fff; font-size: clamp(1.08rem, 1.65vw, 1.36rem);
  font-weight: 650; letter-spacing: -.025em; line-height: 1.5;
}
.business-value-path span { color: #c8f2eb; }
.business-principles {
  margin: 1.25rem 0 .35rem; color: #82e0d1;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em;
}
.business-principles i { padding-inline: .35rem; color: rgba(255,255,255,.55); font-style: normal; }
.business-principles-detail { max-width: 90ch; margin: 0; color: rgba(255,255,255,.82); line-height: 1.75; }
.live-listings-heading > div > .eyebrow { color: #137777; }
.live-badge { max-width: max-content; }
@media (max-width: 640px) {
  .business-value-path { grid-template-columns: 1fr; gap: .25rem; }
  .business-principles { line-height: 1.9; letter-spacing: .11em; }
  .business-ecosystem-intro { border-radius: 18px; }
}

/* FLAME-001 public doctrine presentation. */
.flame-continuation-block {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(8, 34, 54, .11);
  border-radius: 14px;
  background: rgba(255, 255, 255, .76);
}
.flame-continuation-label {
  margin: 0 0 .35rem;
  color: #087f82;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.flame-architecture {
  margin: 0;
  color: #082236;
  font-size: clamp(.78rem, 1.5vw, 1rem);
  font-weight: 900;
  letter-spacing: .025em;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.flame-expansion {
  margin: .5rem 0 0;
  color: #344e5f;
  font-size: .78rem;
  line-height: 1.65;
}
.flame-expansion strong { color: #082236; }
.complementary-pathway-label {
  margin: 1rem 0 .25rem;
  color: #82e0d1;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .1em;
}
@media (max-width: 640px) {
  .flame-continuation-block { padding: .85rem; }
  .flame-architecture { font-size: .78rem; }
  .flame-expansion { font-size: .74rem; }
}

/* Keep the full link row for roomy desktop headers; use the existing menu
   treatment when the brand and all navigation links no longer fit cleanly. */
@media (min-width: 821px) and (max-width: 1100px) {
  .top .menu { display: inline-flex; align-items: center; gap: 8px; }
  .top nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 15px;
    right: 15px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    background: rgba(3,17,31,.96);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
  }
  .top nav.open { display: flex; }
  .top nav a, .top nav .nav-cta { margin: 0; padding: 13px 15px; border-radius: 11px; }
  .top nav a::after { display: none; }
  .top nav a:hover, .top nav a:focus-visible { background: rgba(255,255,255,.055); }
}

/* Prevent the desktop link row from wrapping at the narrow desktop boundary. */
@media (min-width: 1101px) and (max-width: 1280px) {
  .top { padding-inline: 20px; }
  .top nav { gap: 2px; }
  .top nav a {
    padding-inline: 6px;
    font-size: .78rem;
    white-space: nowrap;
  }
  .top nav .nav-cta {
    margin-left: 4px;
    padding-inline: 12px;
  }
}

/* Ease the handoff from compact desktop navigation to the full desktop header. */
@media (min-width: 1281px) and (max-width: 1439px) {
  .top { padding-inline: clamp(20px, 3vw, 40px); }
  .top nav { gap: 4px; }
  .top nav a {
    padding-inline: 9px;
    font-size: .84rem;
    white-space: nowrap;
  }
  .top nav .nav-cta {
    margin-left: 6px;
    padding-inline: 14px;
  }
}
