:root {
  --primary: #16305c;
  --primary-deep: #0d1f3d;
  --primary-soft: #24447e;
  --accent: #f2b134;
  --accent-deep: #d99612;
  --bg: #f4f6fb;
  --panel: #ffffff;
  --ink: #17233a;
  --muted: #5f6e88;
  --line: #e2e8f3;
  --shadow: 0 18px 40px rgba(16, 33, 64, 0.1);
  --shadow-soft: 0 8px 22px rgba(16, 33, 64, 0.07);
  --radius: 18px;
  --radius-soft: 12px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  background: var(--accent);
  color: #2a1c00;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(217, 150, 18, 0.32);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

[data-reveal="on"] {
  opacity: 1;
  transform: none;
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(13, 31, 61, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

#site-header[data-stuck="true"] {
  box-shadow: 0 12px 30px rgba(8, 18, 38, 0.35);
  background: rgba(13, 31, 61, 0.99);
}

#header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

#brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

#brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px;
  flex: 0 0 auto;
}

#brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

#brand-text strong {
  color: #fff;
  font-size: 17px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 380px;
}

#brand-text span {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.22em;
}

#primary-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

#primary-nav a {
  display: block;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  border-radius: 999px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

#primary-nav a:hover,
#primary-nav a[aria-current="page"] {
  color: var(--primary-deep);
  background: var(--accent);
}

#nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

#hero {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  display: flex;
  align-items: center;
  isolation: isolate;
}

#hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

#hero-slide-a,
#hero-slide-b {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: opacity, transform;
}

#hero-slide-a {
  background-image: url("/images/banner-1.jpg");
  animation: heroFade 16s var(--ease) infinite;
  opacity: 1;
}

#hero-slide-b {
  background-image: url("/images/banner-2.jpg");
  animation: heroFade 16s var(--ease) infinite 8s;
  opacity: 0;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(9, 20, 42, 0.94) 0%, rgba(13, 31, 61, 0.82) 45%, rgba(9, 20, 42, 0.68) 100%);
}

@keyframes heroFade {
  0% {
    opacity: 0;
    transform: scale(1.08);
  }
  8% {
    opacity: 1;
  }
  42% {
    opacity: 1;
    transform: scale(1.02);
  }
  50% {
    opacity: 0;
    transform: scale(1.12);
  }
  100% {
    opacity: 0;
  }
}

#hero-inner {
  position: relative;
  text-align: center;
  padding: 96px 24px 88px;
}

#hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid rgba(242, 177, 52, 0.55);
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.16em;
  background: rgba(242, 177, 52, 0.08);
}

#hero-slogan {
  margin: 26px auto 22px;
  max-width: 940px;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

#hero-desc {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

#hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

#hero-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

#hero-btn-ghost:hover {
  background: #fff;
  color: var(--primary-deep);
  border-color: #fff;
}

#hero-stats {
  margin-top: 54px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

#hero-stats li {
  min-width: 168px;
  padding: 16px 20px;
  border-radius: var(--radius-soft);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

#hero-stats b {
  display: block;
  font-size: 26px;
  color: var(--accent);
  line-height: 1.3;
}

#hero-stats span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

#hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  animation: heroFloat 2.4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translate(-50%, 0);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, 8px);
    opacity: 1;
  }
}

#site-main section {
  padding: 92px 0;
  position: relative;
}

#about,
#edge,
#updates,
#crew,
#queries,
#laurels {
  background: var(--panel);
}

#services,
#showcase,
#voices,
#allies,
#reach {
  background: var(--bg);
}

#journey {
  background: var(--primary-deep);
  color: #eaf0fb;
}

#cta {
  background: linear-gradient(120deg, var(--primary-deep), var(--primary) 55%, var(--primary-soft));
  color: #fff;
  text-align: center;
}

#about-head,
#services-head,
#edge-head,
#showcase-head,
#updates-head,
#journey-head,
#crew-head,
#voices-head,
#queries-head,
#allies-head,
#laurels-head,
#reach-head {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

#about-head > p:first-child,
#services-head > p:first-child,
#edge-head > p:first-child,
#showcase-head > p:first-child,
#updates-head > p:first-child,
#journey-head > p:first-child,
#crew-head > p:first-child,
#voices-head > p:first-child,
#queries-head > p:first-child,
#allies-head > p:first-child,
#laurels-head > p:first-child,
#reach-head > p:first-child {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 700;
  margin-bottom: 14px;
}

#about-head h2,
#services-head h2,
#edge-head h2,
#showcase-head h2,
#updates-head h2,
#journey-head h2,
#crew-head h2,
#voices-head h2,
#queries-head h2,
#allies-head h2,
#laurels-head h2,
#reach-head h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.3;
}

#about-head > p:last-child,
#services-head > p:last-child,
#edge-head > p:last-child,
#showcase-head > p:last-child,
#updates-head > p:last-child,
#journey-head > p:last-child,
#crew-head > p:last-child,
#voices-head > p:last-child,
#queries-head > p:last-child,
#allies-head > p:last-child,
#laurels-head > p:last-child,
#reach-head > p:last-child {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
}

#journey-head > p:first-child,
#cta-eyebrow {
  color: var(--accent);
}

#journey-head h2 {
  color: #fff;
}

#journey-head > p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

#about-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-k7d {
  position: relative;
}

#about-media {
  position: relative;
}

#about-media > img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

#about-badge {
  position: absolute;
  right: -18px;
  bottom: -24px;
  background: var(--primary);
  color: #fff;
  border-radius: 14px;
  padding: 16px 22px;
  box-shadow: var(--shadow);
  text-align: center;
}

#about-badge b {
  display: block;
  font-size: 26px;
  color: var(--accent);
  line-height: 1.2;
}

#about-badge span {
  font-size: 12px;
  letter-spacing: 0.1em;
}

#about-text h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.32;
  margin-bottom: 20px;
}

#about-text p {
  color: var(--muted);
  margin-bottom: 18px;
}

#about-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

#about-metrics li {
  padding: 18px 20px;
  background: var(--bg);
  border-radius: var(--radius-soft);
  border-left: 4px solid var(--accent);
}

#about-metrics b {
  display: block;
  font-size: 24px;
  color: var(--primary);
  line-height: 1.3;
}

#about-metrics span {
  font-size: 13px;
  color: var(--muted);
}

#services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

#services-grid .expertise-k7d {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

#services-grid .expertise-k7d:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(242, 177, 52, 0.6);
}

#services-grid .expertise-k7d > i {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  color: var(--accent);
  margin-bottom: 20px;
}

#services-grid .expertise-k7d h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

#services-grid .expertise-k7d p {
  color: var(--muted);
  font-size: 15px;
}

#services-grid .expertise-k7d > span {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
}

#edge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

#edge-grid .edge-k7d {
  padding: 26px 22px;
  border-radius: var(--radius-soft);
  background: var(--bg);
  border: 1px dashed var(--line);
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}

#edge-grid .edge-k7d:hover {
  background: #fff;
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

#edge-grid .edge-k7d > i {
  color: var(--accent-deep);
  font-size: 20px;
  margin-bottom: 12px;
  display: block;
}

#edge-grid .edge-k7d h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

#edge-grid .edge-k7d p {
  font-size: 14px;
  color: var(--muted);
}

#showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

#showcase-grid .showcase-k7d {
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

#showcase-grid .showcase-k7d:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

#showcase-grid .showcase-k7d > img {
  width: 100%;
  height: 216px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
}

#showcase-grid .showcase-k7d > div {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

#showcase-grid .showcase-k7d h3 {
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 10px;
}

#showcase-grid .showcase-k7d p {
  color: var(--muted);
  font-size: 15px;
  flex: 1;
}

#showcase-grid .showcase-k7d > footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

#showcase-grid .showcase-k7d > footer a {
  color: var(--primary);
  font-weight: 700;
}

#updates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

#updates-grid .updates-k7d {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

#updates-grid .updates-k7d:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

#updates-grid .updates-k7d > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
}

#updates-grid .updates-k7d > div {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

#updates-grid .updates-k7d h3 {
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 10px;
}

#updates-grid .updates-k7d p {
  font-size: 14.5px;
  color: var(--muted);
  flex: 1;
}

#updates-grid .updates-k7d > footer {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 14px;
}

#updates-grid .updates-k7d > footer i {
  color: var(--accent-deep);
}

#updates-more {
  margin-top: 40px;
  text-align: center;
}

#journey-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  position: relative;
}

#journey-grid::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(242, 177, 52, 0.7), transparent);
}

#journey-grid .journey-k7d {
  text-align: center;
  position: relative;
}

#journey-grid .journey-k7d > b {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(242, 177, 52, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent);
}

#journey-grid .journey-k7d h3 {
  font-size: 17px;
  color: #fff;
  margin-bottom: 8px;
}

#journey-grid .journey-k7d p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
}

#crew-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

#crew-grid .crew-k7d {
  text-align: center;
}

#crew-grid .crew-k7d > img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  background: var(--bg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

#crew-grid .crew-k7d:hover > img {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

#crew-grid .crew-k7d h3 {
  font-size: 17px;
  margin-top: 16px;
}

#crew-grid .crew-k7d > span {
  font-size: 13px;
  color: var(--accent-deep);
  font-weight: 700;
}

#crew-grid .crew-k7d p {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 6px;
}

#voices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

#voices-grid .voices-k7d {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

#voices-grid .voices-k7d:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

#voices-grid .voices-k7d > i {
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 12px;
}

#voices-grid .voices-k7d > p {
  color: var(--muted);
  font-size: 15px;
  flex: 1;
}

#voices-grid .voices-k7d > footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

#voices-grid .voices-k7d img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 auto;
}

#voices-grid .voices-k7d b {
  display: block;
  font-size: 15px;
}

#voices-grid .voices-k7d span {
  font-size: 13px;
  color: var(--muted);
}

#queries-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#queries-list .queries-k7d {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  overflow: hidden;
}

#queries-list .queries-k7d > button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  text-align: left;
}

#queries-list .queries-k7d > button i {
  color: var(--accent-deep);
  transition: transform 0.3s var(--ease);
}

#queries-list .queries-k7d[aria-expanded="true"] > button i {
  transform: rotate(180deg);
}

#queries-list .queries-k7d > div {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

#queries-list .queries-k7d > div p {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
}

#allies-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

#allies-grid .allies-k7d {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#allies-grid .allies-k7d:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

#allies-grid .allies-k7d img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(0.25);
  transition: filter 0.3s var(--ease);
}

#allies-grid .allies-k7d:hover img {
  filter: none;
}

#laurels-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

#laurels-grid .laurels-k7d {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg), #fff);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

#laurels-grid .laurels-k7d:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

#laurels-grid .laurels-k7d > i {
  font-size: 24px;
  color: var(--accent-deep);
  margin-bottom: 12px;
  display: block;
}

#laurels-grid .laurels-k7d > b {
  display: block;
  font-size: 34px;
  color: var(--primary);
  line-height: 1.2;
}

#laurels-grid .laurels-k7d > span {
  font-size: 14px;
  color: var(--muted);
}

#reach-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: start;
}

#reach-info .reach-k7d {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  margin-bottom: 16px;
}

#reach-info .reach-k7d > i {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--primary);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

#reach-info .reach-k7d b {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

#reach-info .reach-k7d p {
  color: var(--muted);
  font-size: 14.5px;
  word-break: break-all;
}

#reach-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow-soft);
}

#reach-form h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

#reach-form > p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 22px;
}

#reach-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

#reach-form input,
#reach-form select,
#reach-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#reach-form input:focus,
#reach-form select:focus,
#reach-form textarea:focus {
  outline: none;
  border-color: var(--primary-soft);
  box-shadow: 0 0 0 4px rgba(36, 68, 126, 0.12);
}

#reach-form textarea {
  min-height: 128px;
  resize: vertical;
}

#reach-form > .reach-k7d {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

#reach-form > .reach-k7d > .reach-k7d {
  margin-bottom: 0;
}

#reach-form > .reach-k7d > .reach-k7d label {
  display: block;
}

#reach-topic-field,
#reach-message-field {
  margin-bottom: 16px;
}

#reach-topic-field label,
#reach-message-field label {
  display: block;
}

#reach-form button {
  margin-top: 6px;
  width: 100%;
}

#cta h2 {
  font-size: clamp(26px, 3.6vw, 42px);
  color: #fff;
  line-height: 1.3;
  max-width: 820px;
  margin: 0 auto 18px;
}

#cta > .container > p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 700px;
  margin: 0 auto 30px;
}

#cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

#cta-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

#cta-btn-ghost:hover {
  background: #fff;
  color: var(--primary-deep);
  border-color: #fff;
}

#site-footer {
  background: #081429;
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 0 0;
}

#footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}

#footer-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 16px;
}

#footer-brand h3 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 12px;
}

#footer-brand p {
  font-size: 14px;
  line-height: 1.9;
}

#footer-cols h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
}

#footer-cols li {
  margin-bottom: 11px;
  font-size: 14px;
}

#footer-cols a {
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

#footer-cols a:hover {
  color: var(--accent);
  padding-left: 6px;
}

#footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
}

#footer-contact i {
  color: var(--accent);
  margin-top: 5px;
}

#footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
}

#footer-bottom a {
  color: var(--accent);
}

#back-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--primary);
  color: var(--accent);
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 80;
}

#back-top[data-show="true"] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

#page-banner {
  position: relative;
  background: linear-gradient(120deg, var(--primary-deep), var(--primary) 60%, var(--primary-soft));
  color: #fff;
  padding: 86px 0 78px;
  overflow: hidden;
}

#page-banner::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(242, 177, 52, 0.16);
}

#page-banner h1 {
  font-size: clamp(26px, 3.6vw, 42px);
  color: #fff;
  margin-bottom: 14px;
}

#page-banner p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 760px;
}

#crumbs {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
}

#crumbs a {
  color: var(--accent);
}

#listing {
  background: var(--panel);
}

#listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

#listing-grid .listing-k7d {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

#listing-grid .listing-k7d:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

#listing-grid .listing-k7d > img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
}

#listing-grid .listing-k7d > div {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

#listing-grid .listing-k7d h2 {
  font-size: 19px;
  line-height: 1.55;
  margin-bottom: 10px;
}

#listing-grid .listing-k7d p {
  color: var(--muted);
  font-size: 15px;
  flex: 1;
}

#listing-grid .listing-k7d > footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

#listing-grid .listing-k7d > footer a {
  color: var(--primary);
  font-weight: 700;
}

#listing-tip {
  margin-top: 46px;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--bg);
  border-left: 4px solid var(--accent);
  color: var(--muted);
  font-size: 15px;
}

#reading {
  background: var(--panel);
}

#reading-head {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

#reading-head h1 {
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.35;
  margin-bottom: 18px;
}

#reading-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

#reading-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

#reading-meta i {
  color: var(--accent-deep);
}

#reading-figure {
  max-width: 960px;
  margin: 0 auto 34px;
}

#reading-figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

#reading-figure figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}

#reading-body {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16.5px;
  color: #2c3852;
}

#reading-body h2 {
  font-size: 24px;
  margin: 32px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  line-height: 1.4;
}

#reading-body h3 {
  font-size: 19px;
  margin: 26px 0 12px;
}

#reading-body p {
  margin-bottom: 18px;
}

#reading-body ul {
  margin: 0 0 20px;
  padding-left: 4px;
}

#reading-body ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

#reading-body ul li::before {
  content: "\f111";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 4px;
  top: 2px;
  color: var(--accent-deep);
  font-size: 12px;
}

#reading-body blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--bg);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-soft) var(--radius-soft) 0;
  color: var(--muted);
}

#reading-body img {
  border-radius: var(--radius-soft);
  margin: 22px 0;
}

#reading-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 14.5px;
}

#reading-body th,
#reading-body td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
}

#reading-body th {
  background: var(--bg);
  font-weight: 700;
}

#reading-nav {
  max-width: 820px;
  margin: 46px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

#reading-nav .reading-k7d {
  padding: 22px 24px;
  border-radius: var(--radius-soft);
  border: 1px solid var(--line);
  background: var(--bg);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

#reading-nav .reading-k7d:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

#reading-nav span {
  font-size: 13px;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

#reading-nav b {
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 1080px) {
  #services-grid,
  #showcase-grid,
  #updates-grid,
  #voices-grid,
  #listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #edge-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #crew-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  #allies-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  #laurels-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #journey-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #journey-grid::before {
    display: none;
  }
  #footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  #nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  #primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    background: var(--primary-deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  #primary-nav[data-open="true"] {
    max-height: 420px;
  }
  #primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 20px 20px;
  }
  #primary-nav a {
    border-radius: 10px;
    padding: 13px 14px;
  }
  #about-wrap,
  #reach-wrap {
    grid-template-columns: 1fr;
  }
  #about-media {
    max-width: 520px;
    margin: 0 auto;
  }
  #brand-text strong {
    max-width: 190px;
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  #site-main section {
    padding: 64px 0;
  }
  #services-grid,
  #showcase-grid,
  #updates-grid,
  #voices-grid,
  #listing-grid,
  #edge-grid,
  #crew-grid,
  #allies-grid,
  #laurels-grid,
  #journey-grid,
  #reading-nav {
    grid-template-columns: 1fr;
  }
  #about-metrics,
  #reach-form > .reach-k7d,
  #footer-top {
    grid-template-columns: 1fr;
  }  #hero {
    min-height: 560px;
  }
  #hero-inner {
    padding: 70px 20px 80px;
  }
  #hero-stats li {
    min-width: 140px;
    flex: 1 1 140px;
  }
  #reading-body {
    font-size: 16px;
  }
  .container {
    padding: 0 18px;
  }
}
