:root {
  --ink: #111614;
  --muted: #65706b;
  --paper: #f5f2ea;
  --white: #fffdf8;
  --line: rgba(17, 22, 20, 0.12);
  --teal: #0b7770;
  --teal-dark: #083d3a;
  --blue: #286fbb;
  --coral: #c65d43;
  --amber: #b27634;
  --mint: #dbe9df;
  --shadow: 0 24px 70px rgba(18, 23, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Noto Sans SC", system-ui, sans-serif;
  line-height: 1.65;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 10px 30px rgba(21, 23, 20, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
}

.nav {
  display: flex;
  gap: clamp(12px, 2.4vw, 28px);
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  opacity: 0.86;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 5vw, 64px) 70px;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    radial-gradient(circle at 82% 22%, rgba(40, 111, 187, 0.34), transparent 33%),
    linear-gradient(90deg, rgba(7, 12, 11, 0.92) 0%, rgba(7, 12, 11, 0.68) 50%, rgba(7, 12, 11, 0.24) 100%),
    linear-gradient(0deg, rgba(7, 12, 11, 0.76) 0%, rgba(7, 12, 11, 0.08) 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: rgba(255, 253, 248, 0.92);
}

.hero-copy {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(17px, 2vw, 21px);
}

.tag-row {
  display: flex;
  max-width: 850px;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag-row span {
  padding: 8px 12px;
  color: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(255, 253, 248, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  font-size: 14px;
  font-weight: 800;
}

.hero-actions,
.contact-actions,
.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.multi-actions {
  gap: 10px;
}

.multi-actions .button {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 14px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid rgba(255, 253, 248, 0.34);
  border-radius: 6px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary {
  color: var(--teal-dark);
  background: rgba(11, 119, 112, 0.1);
  border-color: rgba(11, 119, 112, 0.28);
}

.button.outline {
  color: var(--ink);
  border-color: var(--line);
  background: transparent;
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 64px);
  bottom: 44px;
  z-index: 3;
  width: min(380px, calc(100vw - 40px));
  padding: 22px;
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 8px;
  background: rgba(11, 18, 17, 0.64);
  backdrop-filter: blur(18px);
}

.hero-panel span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 253, 248, 0.58);
  font-size: 12px;
}

.hero-panel strong {
  display: block;
  margin-bottom: 16px;
  font-size: 17px;
}

.section {
  padding: clamp(70px, 10vw, 128px) clamp(20px, 5vw, 64px);
}

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

.section-heading p {
  max-width: 460px;
  margin: 0;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

p {
  color: var(--muted);
}

.edge-band {
  background:
    linear-gradient(135deg, rgba(11, 119, 112, 0.12), transparent 48%),
    var(--white);
}

.portfolio-band {
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 16% 0%, rgba(198, 93, 67, 0.28), transparent 32%),
    radial-gradient(circle at 84% 18%, rgba(40, 111, 187, 0.34), transparent 36%),
    linear-gradient(135deg, #101512 0%, #102522 52%, #0a1110 100%);
}

.portfolio-band p {
  color: rgba(255, 253, 248, 0.72);
}

.portfolio-carousel {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.13), rgba(255, 253, 248, 0.04)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
}

.carousel-glow {
  position: absolute;
  inset: -18%;
  pointer-events: none;
  background:
    radial-gradient(circle at 26% 18%, rgba(11, 119, 112, 0.34), transparent 28%),
    radial-gradient(circle at 78% 70%, rgba(178, 118, 52, 0.28), transparent 30%);
  filter: blur(24px);
  opacity: 0.85;
}

.carousel-stage {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: clamp(10px, 2vw, 18px);
  align-items: center;
}

.slides {
  position: relative;
  z-index: 1;
  min-height: clamp(300px, 62vw, 650px);
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 8px;
  background: #0d1210;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: clamp(8px, 1.8vw, 18px);
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.slide img {
  max-width: 100%;
  max-height: clamp(280px, 58vw, 610px);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  object-fit: contain;
}

.slide figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 7px 10px;
  color: rgba(255, 253, 248, 0.8);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 999px;
  background: rgba(9, 13, 12, 0.62);
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 900;
}

.carousel-control {
  position: relative;
  z-index: 3;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 253, 248, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-control:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.carousel-dots {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.carousel-dots button {
  width: 26px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.26);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.carousel-dots button.is-active {
  width: 42px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

.edge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.edge-card,
.project-card,
.tool-group,
.proof-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(21, 23, 20, 0.06);
}

.edge-card {
  min-height: 390px;
  padding: 28px;
  background: rgba(255, 253, 248, 0.72);
  backdrop-filter: blur(16px);
}

.card-index,
.project-number {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 28px;
  color: var(--teal-dark);
  border: 1px solid rgba(11, 119, 112, 0.32);
  border-radius: 50%;
  font-weight: 900;
}

.project-band {
  background: var(--paper);
}

.project-list {
  display: grid;
  gap: 18px;
}

.project-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: clamp(18px, 4vw, 44px);
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 253, 248, 0.82);
}

.project-number {
  width: 64px;
  height: 64px;
  margin: 0;
  color: var(--white);
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  font-size: 20px;
}

.project-meta {
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.project-main > p {
  max-width: 860px;
}

.project-points {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.project-points li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.project-points li::before {
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--teal);
}

.skills-band {
  background: #e8ece6;
}

.tool-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tool-group {
  padding: 26px;
  background: rgba(255, 253, 248, 0.78);
}

.tool-group h3 {
  margin-bottom: 18px;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-tags span {
  padding: 8px 11px;
  color: var(--teal-dark);
  border: 1px solid rgba(11, 119, 112, 0.18);
  border-radius: 999px;
  background: rgba(11, 119, 112, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.tool-tags span:nth-child(3n) {
  color: #1f5d95;
  border-color: rgba(40, 111, 187, 0.2);
  background: rgba(40, 111, 187, 0.08);
}

.tool-tags span:nth-child(4n) {
  color: #8a4d1e;
  border-color: rgba(178, 118, 52, 0.22);
  background: rgba(178, 118, 52, 0.1);
}

.proof-band {
  color: var(--white);
  background: var(--teal-dark);
}

.proof-band p,
.proof-band li {
  color: rgba(255, 253, 248, 0.76);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.proof-card {
  padding: 30px;
  border-color: rgba(255, 253, 248, 0.16);
  background: rgba(255, 253, 248, 0.07);
}

.proof-item {
  display: grid;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 253, 248, 0.14);
}

.proof-item:last-child {
  border-bottom: 0;
}

.proof-item span,
.proof-item time {
  color: rgba(255, 253, 248, 0.66);
}

.award-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding-left: 18px;
}

.contact-band {
  background: var(--white);
}

.detail-page {
  background: var(--paper);
}

.detail-hero {
  padding: 150px clamp(20px, 5vw, 64px) 78px;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 18%, rgba(40, 111, 187, 0.36), transparent 34%),
    radial-gradient(circle at 15% 10%, rgba(198, 93, 67, 0.24), transparent 26%),
    linear-gradient(135deg, #101512 0%, #102522 55%, #0a1110 100%);
}

.detail-hero h1 {
  max-width: 1060px;
  margin: 0;
  font-size: clamp(40px, 7vw, 86px);
  line-height: 1.05;
  letter-spacing: 0;
}

.detail-hero p {
  max-width: 760px;
  color: rgba(255, 253, 248, 0.76);
  font-size: clamp(17px, 2vw, 21px);
}

.detail-band {
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.process-shot {
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 14px 42px rgba(21, 23, 20, 0.08);
}

.process-shot span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.process-shot img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.video-band {
  background: var(--white);
}

.video-frame {
  overflow: hidden;
  padding: clamp(10px, 2vw, 18px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101512;
  box-shadow: var(--shadow);
}

.video-frame video {
  display: block;
  width: 100%;
  max-height: 78vh;
  border-radius: 6px;
  background: #050807;
}

.broadcast-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(11, 119, 112, 0.12), transparent 44%),
    rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow);
}

.broadcast-card p {
  max-width: 540px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  background:
    radial-gradient(circle at 26% 18%, rgba(11, 119, 112, 0.22), transparent 30%),
    rgba(4, 8, 7, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.image-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox img {
  max-width: min(1180px, 94vw);
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 28px;
}

.slide img {
  cursor: zoom-in;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
}

.contact-inner p {
  max-width: 650px;
  font-size: 18px;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f0eee6;
  box-shadow: var(--shadow);
}

.contact-card a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 900;
  word-break: break-word;
}

.contact-card a:last-child {
  border-bottom: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 64px);
  color: rgba(255, 253, 248, 0.68);
  background: #111410;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero {
    min-height: 980px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 42px;
  }

  .edge-grid,
  .proof-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .tool-wall {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 18px;
  }

  .nav {
    gap: 9px;
    max-width: 246px;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 12px;
  }

  .hero {
    min-height: 1020px;
    padding: 112px 20px 44px;
  }

  .hero h1 {
    font-size: clamp(38px, 10vw, 48px);
  }

  .hero-panel,
  .contact-card {
    width: 100%;
  }

  .carousel-stage {
    grid-template-columns: 1fr;
  }

  .carousel-control {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    font-size: 28px;
    transform: translateY(-50%);
  }

  .carousel-control:hover {
    transform: translateY(-50%);
  }

  .carousel-control.prev {
    left: 8px;
  }

  .carousel-control.next {
    right: 8px;
  }

  .carousel-glow {
    inset: 0;
  }

  .slides {
    min-height: 248px;
  }

  .slide img {
    max-height: 230px;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 14px;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .broadcast-card {
    grid-template-columns: 1fr;
  }

  .project-number {
    width: 52px;
    height: 52px;
  }

  .edge-card {
    min-height: auto;
  }

  .footer {
    display: block;
  }

  .footer span {
    display: block;
    margin-bottom: 8px;
  }
}
