:root {
  --ink: #08111a;
  --ink-soft: #314154;
  --ocean: #061827;
  --ocean-2: #0c314d;
  --sky: #18a8e2;
  --reef: #23a455;
  --sun: #f5c84c;
  --ember: #d73749;
  --paper: #fbf8f2;
  --mist: #eef6f7;
  --white: #ffffff;
  --line: rgba(8, 17, 26, 0.12);
  --shadow: 0 22px 70px rgba(6, 24, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 1000;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--white);
  background: var(--ocean);
  border-radius: 6px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(6, 24, 39, 0.94);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
  color: var(--white);
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-lockup img {
  width: 44px;
  height: 44px;
  margin-right: -6px;
  object-fit: contain;
}

.brand-lockup span {
  display: block;
  transform: translateY(0.02em);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--sun);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  padding: 10px 16px;
  color: var(--ocean);
  background: var(--sun);
  border-radius: 6px;
}

.site-nav .nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero-section {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 76vh;
  padding: 136px 24px 72px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(4, 13, 23, 0.05) 0%, rgba(4, 13, 23, 0.78) 100%),
    linear-gradient(126deg, rgba(245, 200, 76, 0.14) 0%, transparent 22%, transparent 100%),
    linear-gradient(115deg, #04111f 0%, #06304b 24%, #08706f 52%, #0e5365 70%, #04111f 100%);
  background-size: 100% 100%, 140% 140%, 190% 190%;
  animation: heroTide 20s ease-in-out infinite alternate;
}

.hero-section::before,
.hero-section::after,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-section::before,
.hero-section::after {
  content: "";
  z-index: 0;
  pointer-events: none;
}

.hero-section::before {
  inset: -18% -14%;
  background:
    linear-gradient(118deg, transparent 0 22%, rgba(255, 255, 255, 0.16) 23%, transparent 34%),
    linear-gradient(294deg, transparent 0 40%, rgba(35, 164, 85, 0.24) 41%, transparent 53%),
    repeating-linear-gradient(156deg, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(24deg, transparent 0 48px, rgba(24, 168, 226, 0.12) 49px 52px, transparent 53px 104px);
  filter: blur(0.35px);
  opacity: 0.98;
  transform: translateX(-3%) translateY(0);
  animation: heroCurrent 24s ease-in-out infinite alternate;
}

.hero-section::after {
  background:
    radial-gradient(ellipse 120% 48% at 50% 112%, rgba(2, 9, 18, 0.72) 0%, rgba(2, 9, 18, 0.3) 38%, transparent 66%),
    repeating-radial-gradient(ellipse 120% 58% at 52% 108%, transparent 0 38px, rgba(255, 255, 255, 0.1) 40px 43px, transparent 46px 90px),
    repeating-linear-gradient(92deg, transparent 0 86px, rgba(255, 255, 255, 0.07) 88px 90px, transparent 92px 172px),
    linear-gradient(180deg, rgba(245, 200, 76, 0.18) 0%, transparent 32%);
  opacity: 0.9;
  animation: heroShimmer 15s ease-in-out infinite alternate;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 13, 23, 0.92) 0%, rgba(6, 24, 39, 0.62) 44%, rgba(3, 42, 51, 0.24) 100%),
    linear-gradient(0deg, rgba(3, 11, 18, 0.82) 0%, rgba(6, 24, 39, 0.1) 62%);
}

@keyframes heroTide {
  from {
    background-position: 0 0, 0% 50%, 0% 48%;
  }

  to {
    background-position: 0 0, 100% 48%, 100% 52%;
  }
}

@keyframes heroCurrent {
  from {
    transform: translateX(-3%) translateY(0);
  }

  to {
    transform: translateX(3%) translateY(-2%);
  }
}

@keyframes heroShimmer {
  from {
    opacity: 0.5;
    transform: translateY(0);
  }

  to {
    opacity: 0.78;
    transform: translateY(-12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section,
  .hero-section::before,
  .hero-section::after {
    animation: none;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-title-lockup {
  display: flex;
  align-items: center;
  max-width: min(980px, 100%);
  margin-bottom: 18px;
  font-size: clamp(3.8rem, 6.4vw, 5.6rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-title-mark {
  flex: 0 0 auto;
  width: clamp(84px, 10.8vw, 134px);
  height: auto;
  margin-right: clamp(-18px, -1.25vw, -8px);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.34));
}

.hero-title-lockup span {
  display: block;
  transform: translateY(0.03em);
  white-space: nowrap;
  text-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
}

.hero-logo {
  width: min(170px, 40vw);
  margin-bottom: 26px;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.32));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: 4.5rem;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 2.5rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 1.38rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 630px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
}

.hero-actions,
.support-actions,
.centered-action,
.form-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ocean);
  background: var(--sun);
}

.button-secondary {
  color: var(--white);
  background: var(--ember);
}

.button-ghost {
  color: var(--ocean);
  background: transparent;
  border-color: rgba(8, 17, 26, 0.18);
}

.hero-section .button-ghost,
.hero-section .button-secondary {
  color: var(--white);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.metric {
  min-height: 118px;
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric span {
  display: block;
  margin-bottom: 6px;
  color: var(--ember);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.metric p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.section {
  padding: 88px 0;
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading > div {
  max-width: 780px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--ocean-2);
  font-weight: 900;
  border-bottom: 2px solid var(--sun);
}

.controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.filter-button.is-active {
  color: var(--white);
  border-color: var(--ocean);
  background: var(--ocean);
}

.search-box {
  flex: 0 1 280px;
}

.search-box input,
.subscribe-form input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  outline: none;
}

.search-box input:focus,
.subscribe-form input:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(24, 168, 226, 0.14);
}

.articles-section {
  background: var(--paper);
}

.featured-article {
  margin-bottom: 24px;
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.featured-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 800;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 5px;
  color: var(--ocean);
  background: rgba(245, 200, 76, 0.28);
}

.article-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-card,
.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.article-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 17, 26, 0.22);
  box-shadow: var(--shadow);
}

.article-card img,
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--mist);
}

.product-card img[src$=".svg"] {
  padding: 12px;
  object-fit: contain;
  background: var(--white);
}

.article-card-body,
.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.article-card h3,
.product-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.article-card p,
.product-card p {
  color: var(--ink-soft);
}

.article-card .button,
.product-card .button {
  width: fit-content;
  margin-top: auto;
}

.centered-action {
  justify-content: center;
  margin-top: 30px;
}

.store-section {
  background: var(--mist);
}

.store-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 0;
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.store-hero img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.store-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
}

.store-hero-copy p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.product-card .price {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 5px;
  color: var(--ocean);
  background: rgba(35, 164, 85, 0.16);
  font-weight: 900;
}

.catalog-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) 1fr;
  gap: 24px;
  margin-top: 38px;
  padding: 34px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ocean);
}

.catalog-band h3 {
  margin-bottom: 0;
}

.catalog-tags {
  display: flex;
  align-content: start;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.catalog-tags a:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.mission-section {
  background: var(--white);
}

.mission-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.mission-copy p {
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.focus-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.focus-list span {
  min-height: 58px;
  padding: 16px;
  border-left: 4px solid var(--ember);
  background: var(--paper);
  font-weight: 900;
}

.community-section {
  color: var(--white);
  background: var(--ocean);
}

.community-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 36px;
  align-items: center;
}

.subscribe-panel h2 {
  margin-bottom: 18px;
}

.subscribe-form label {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
}

.subscribe-form input {
  min-width: 260px;
}

.support-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.support-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.support-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--white);
}

.support-card-cdss img {
  padding: 22px;
  object-fit: contain;
  background: #030b12;
}

.support-actions {
  margin-top: auto;
  padding: 18px;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.82);
  background: #030b12;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  margin-right: -5px;
}

.footer-brand span {
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.92rem;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--sun);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink-soft);
  text-align: center;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: var(--ocean);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 11px 8px;
  }

  h1 {
    font-size: 3.3rem;
  }

  .hero-title-lockup {
    font-size: clamp(3rem, 8vw, 4.4rem);
  }

  .hero-title-mark {
    width: clamp(68px, 13.8vw, 96px);
    margin-right: -12px;
  }

  h2 {
    font-size: 2rem;
  }

  .signal-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .featured-card,
  .store-hero,
  .mission-layout,
  .community-layout,
  .catalog-band {
    grid-template-columns: 1fr;
  }

  .featured-card img,
  .store-hero img {
    min-height: 300px;
  }

  .article-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-shell {
    width: min(100% - 24px, 1180px);
  }

  .brand-lockup span {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero-section {
    min-height: 72vh;
    padding: 116px 18px 52px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 24, 39, 0.96) 0%, rgba(6, 24, 39, 0.78) 100%),
      linear-gradient(0deg, rgba(6, 24, 39, 0.74) 0%, rgba(6, 24, 39, 0) 54%);
  }

  h1 {
    font-size: 2.65rem;
  }

  .hero-title-lockup {
    max-width: 100%;
    font-size: clamp(2rem, 8.8vw, 2.7rem);
  }

  .hero-title-mark {
    width: clamp(48px, 15.5vw, 64px);
    margin-right: -8px;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading,
  .controls-row,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box {
    flex-basis: auto;
  }

  .featured-body,
  .store-hero-copy {
    padding: 24px;
  }

  .article-grid,
  .product-grid,
  .focus-list,
  .signal-strip {
    grid-template-columns: 1fr;
  }

  .metric {
    border-right: 0;
  }

  .community-layout {
    gap: 24px;
  }

  .form-row {
    align-items: stretch;
    flex-direction: column;
  }

  .subscribe-form input {
    min-width: 0;
  }

  .button {
    width: 100%;
  }

  .article-card .button,
  .product-card .button,
  .hero-actions .button,
  .support-actions .button {
    width: 100%;
  }

  .support-panel {
    grid-template-columns: 1fr;
  }
}
