:root {
  --green: #509e2f;
  --green-dark: #173f24;
  --green-soft: #e8f2e3;
  --gold: #c7a45a;
  --silver: #d8dde0;
  --ink: #0d1110;
  --muted: #64706a;
  --line: rgba(13, 17, 16, 0.12);
  --surface: #ffffff;
  --surface-soft: #f6f8f4;
  --shadow: 0 28px 70px rgba(12, 28, 18, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 18%, rgba(80, 158, 47, 0.16), transparent 28rem),
    linear-gradient(135deg, #ffffff 0%, #f7f8f5 52%, #eef3eb 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  display: flex;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem) 1.25rem 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.da-logo {
  width: clamp(112px, 13vw, 158px);
  height: auto;
  display: block;
}

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

.hero {
  min-height: clamp(320px, 44vh, 440px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(1.6rem, 4vw, 3rem) 0 clamp(1.8rem, 4vw, 3rem);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 13ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.8rem, 6.2vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 0;
  color: #334039;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.7;
}

.hero-panel {
  position: relative;
  min-height: 315px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(23, 63, 36, 0.96), rgba(13, 17, 16, 0.94)),
    var(--green-dark);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(216, 221, 224, 0.18);
  border-radius: 6px;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  top: -70px;
  border: 1px solid rgba(199, 164, 90, 0.6);
  border-radius: 50%;
}

.signal-grid {
  position: absolute;
  inset: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 11px;
  opacity: 0.9;
}

.signal-grid span {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.signal-grid span:nth-child(2),
.signal-grid span:nth-child(5),
.signal-grid span:nth-child(11) {
  background: rgba(80, 158, 47, 0.34);
  border-color: rgba(80, 158, 47, 0.62);
}

.signal-grid span:nth-child(8) {
  background: rgba(199, 164, 90, 0.32);
  border-color: rgba(199, 164, 90, 0.7);
}

.capability-stack {
  position: absolute;
  inset: auto 36px 36px;
  display: grid;
  gap: 0.55rem;
}

.capability-stack span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  padding: 0 1rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.capability-stack span::after {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--gold);
}

.brand-lab {
  padding: clamp(1.7rem, 4vw, 3rem) 0 clamp(3rem, 8vw, 5.5rem);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.section-heading h2 {
  max-width: 690px;
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.7rem);
  line-height: 1;
}

.brand-interface {
  display: grid;
  grid-template-columns: 275px minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.brand-list {
  display: grid;
  gap: 0.65rem;
  align-content: start;
  padding: 0;
}

.brand-button {
  position: relative;
  width: 100%;
  min-height: 64px;
  padding: 0 1.1rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.brand-button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: transparent;
  transition: background 180ms ease;
}

.brand-button span {
  display: block;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-button:hover {
  transform: translateX(4px);
  border-color: rgba(80, 158, 47, 0.46);
}

.brand-button.is-active {
  color: #fff;
  border-color: var(--green-dark);
  background: var(--green-dark);
}

.brand-button.is-active::before {
  background: var(--gold);
}

.brand-detail {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.detail-media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 1.5rem);
  padding: clamp(1rem, 3vw, 2rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(232, 242, 227, 0.76)),
    var(--surface-soft);
  border-right: 1px solid var(--line);
}

.logo-stage {
  width: min(90%, 430px);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  transition: transform 260ms ease;
}

.logo-stage.is-spinning {
  transform: rotate(3deg) scale(1.025);
}

.logo-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(10, 22, 14, 0.1));
}

.shuffle-button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0 1.1rem;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 12px 28px rgba(80, 158, 47, 0.26);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
  white-space: nowrap;
}

.shuffle-button:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.shuffle-icon {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-left-color: transparent;
  border-radius: 50%;
}

.detail-copy {
  padding: clamp(1.5rem, 4vw, 3.3rem);
}

.detail-kicker {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: var(--green-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-copy h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 0.98;
}

.short-description {
  margin-bottom: 1.35rem;
  color: #26342d;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  font-weight: 600;
  line-height: 1.65;
}

.detail-body {
  display: grid;
  gap: 0.9rem;
  color: #4b5851;
  font-size: 0.98rem;
  line-height: 1.72;
}

.detail-body p {
  margin-bottom: 0;
}

.category-wrap {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.category-label {
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-list li {
  padding: 0.52rem 0.72rem;
  border: 1px solid rgba(80, 158, 47, 0.22);
  border-radius: 999px;
  background: rgba(232, 242, 227, 0.7);
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.closing-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  overflow: hidden;
}

.closing-strip p {
  min-height: 74px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  h1 {
    max-width: 12ch;
  }

  .hero-panel {
    min-height: 300px;
  }

  .brand-interface {
    grid-template-columns: 1fr;
  }

  .brand-list {
    grid-template-columns: repeat(5, minmax(170px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scroll-snap-type: x mandatory;
  }

  .brand-button {
    scroll-snap-align: start;
  }

  .brand-detail {
    grid-template-columns: 1fr;
  }

  .detail-media {
    min-height: 330px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .logo-stage {
    width: min(84vw, 360px);
  }
}

@media (max-width: 640px) {
  main {
    width: min(100% - 22px, 1180px);
  }

  .site-header {
    padding-top: 1rem;
  }

  .da-logo {
    width: 104px;
  }

  .hero {
    gap: 1.5rem;
    padding-top: 1.8rem;
  }

  h1 {
    font-size: clamp(2.85rem, 15vw, 4.35rem);
  }

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

  .hero-panel {
    min-height: 280px;
  }

  .signal-grid {
    inset: 22px;
    gap: 8px;
  }

  .capability-stack {
    inset: auto 22px 22px;
  }

  .capability-stack span {
    min-height: 36px;
    font-size: 0.72rem;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    font-size: clamp(2.25rem, 12vw, 3.6rem);
  }

  .brand-list {
    grid-template-columns: repeat(5, minmax(148px, 1fr));
  }

  .brand-button {
    min-height: 56px;
    padding: 0 0.85rem;
  }

  .brand-button span {
    font-size: 0.83rem;
  }

  .brand-detail {
    min-height: 0;
  }

  .detail-media {
    min-height: 278px;
  }

  .detail-copy {
    padding: 1.25rem;
  }

  .detail-copy h3 {
    font-size: clamp(2.2rem, 12vw, 3.25rem);
  }

  .closing-strip {
    grid-template-columns: 1fr 1fr;
  }

  .closing-strip p {
    min-height: 62px;
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
