:root {
  color-scheme: light;
  --ink: #161616;
  --muted: #5d625f;
  --paper: #f7f4ef;
  --panel: #ffffff;
  --line: #ded7cc;
  --red: #a43128;
  --gold: #be8f36;
  --teal: #267a74;
  --forest: #203d34;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(20px, 5vw, 64px);
  color: #fff;
}

.brand {
  font-weight: 800;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  font-size: 0.92rem;
  font-weight: 700;
}

nav a {
  opacity: 0.86;
}

nav a:hover {
  opacity: 1;
}

.header-actions,
.language-toggle {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: clamp(16px, 3vw, 32px);
}

.language-toggle {
  gap: 3px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  padding: 3px;
  background: rgba(13, 18, 18, 0.24);
}

.lang-button {
  min-width: 38px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 900;
}

.lang-button.is-active,
.lang-button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  padding: 120px clamp(20px, 6vw, 80px) 72px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 31%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 18, 18, 0.88) 0%, rgba(13, 18, 18, 0.52) 47%, rgba(13, 18, 18, 0.18) 100%),
    linear-gradient(0deg, rgba(13, 18, 18, 0.78) 0%, rgba(13, 18, 18, 0) 42%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

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

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(4.1rem, 10vw, 9.6rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.35rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.hero-copy {
  width: min(680px, 100%);
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-actions,
.contact-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
}

.button.primary {
  background: var(--red);
  color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

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

.intro {
  padding: 28px clamp(20px, 6vw, 80px);
  background: var(--forest);
  color: #f9f5ee;
}

.intro p {
  width: min(1060px, 100%);
  margin: 0 auto;
  font-size: clamp(1.18rem, 2vw, 1.75rem);
  line-height: 1.25;
}

.company-logos {
  padding: 26px clamp(20px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
  background: #fffaf2;
}

.company-logos p {
  width: min(1100px, 100%);
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  width: min(1100px, 100%);
  margin: 0 auto;
}

.logo-strip img {
  justify-self: center;
  width: min(178px, 100%);
  max-height: 54px;
  object-fit: contain;
}

.logo-strip img[src$="dragon-apparel-logo.png"] {
  max-height: 50px;
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--ink);
}

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

.section-heading {
  width: min(880px, 100%);
  margin-bottom: 40px;
}

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

.framework-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.work-grid article,
.steps div,
.example-grid article {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 28px;
}

.work-grid p,
.steps p,
.example-grid p,
.proof-copy p,
.contact-section p {
  color: var(--muted);
}

.accent {
  display: block;
  width: 48px;
  height: 4px;
  margin-bottom: 26px;
}

.accent.red {
  background: var(--red);
}

.accent.gold {
  background: var(--gold);
}

.accent.teal {
  background: var(--teal);
}

.accent.forest {
  background: var(--forest);
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(32px, 7vw, 86px);
  background: #ebe5dc;
}

.portrait-wrap {
  overflow: hidden;
  border-radius: 8px;
}

.portrait-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.proof-copy {
  max-width: 760px;
}

.proof-copy > p {
  margin: 24px 0 30px;
  font-size: 1.08rem;
}

.proof-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.proof-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  border-top: 1px solid rgba(22, 22, 22, 0.16);
  padding-top: 16px;
}

dt {
  font-weight: 900;
}

dd {
  margin: 0;
  color: var(--muted);
}

.examples-section {
  background: #f3eee6;
}

.example-grid article {
  min-height: 280px;
}

.example-grid span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
}

.approach-section {
  background: var(--panel);
}

.steps span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.contact-section {
  justify-content: space-between;
  gap: 28px;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 80px);
  background: var(--ink);
  color: #fff;
}

.contact-section div {
  width: min(760px, 100%);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  width: auto;
}

.contact-section p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 6vw, 80px);
  background: #0c0c0c;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 880px) {
  .site-header {
    position: absolute;
  }

  nav {
    display: none;
  }

  .header-actions {
    gap: 0;
  }

  .hero {
    min-height: 84vh;
    padding-bottom: 46px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(13, 18, 18, 0.92) 0%, rgba(13, 18, 18, 0.54) 68%, rgba(13, 18, 18, 0.2) 100%);
  }

  .work-grid,
  .framework-grid,
  .steps,
  .example-grid,
  .proof-section {
    grid-template-columns: 1fr;
  }

  .proof-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  footer {
    flex-direction: column;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}
