:root {
  --bg: #f4efe7;
  --bg-soft: #ece4d8;
  --paper: #fffdf9;
  --paper-soft: rgba(255, 252, 246, 0.84);
  --ink: #16202b;
  --muted: #687586;
  --line: rgba(22, 32, 43, 0.1);
  --accent: #cb6f39;
  --accent-deep: #a04b1e;
  --accent-soft: #f6e2d3;
  --forest: #1e2d2b;
  --forest-soft: #2d403d;
  --shadow: 0 28px 70px rgba(39, 30, 20, 0.1);
  --radius-xl: 34px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(203, 111, 57, 0.1), transparent 20%),
    linear-gradient(180deg, #f7f2ea 0%, #efe7db 100%);
}

.page-noise {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 32, 43, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 32, 43, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 82%);
  pointer-events: none;
}

.content-shell,
.header-shell {
  width: min(1340px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 40;
  padding-top: 18px;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 252, 247, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand,
.main-nav a,
.button,
.contact-actions a,
.footer-nav a,
.footer-contact a {
  text-decoration: none;
}

.brand {
  color: var(--ink);
  font-family: "Sora", sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: auto;
  height: 52px;
}

.footer-brand-link .brand-logo {
  height: 68px;
}

.stage-logo-wrap {
  display: flex;
  align-items: center;
  min-height: 48px;
}

.stage-logo {
  display: block;
  width: auto;
  max-width: 380px;
  height: 72px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.main-nav a,
.footer-nav a,
.footer-contact a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 160ms ease;
}

.main-nav a:hover,
.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--ink);
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.lang-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-button.is-active {
  color: var(--accent-deep);
  background: var(--accent-soft);
}

main {
  padding: 26px 0 0;
}

.hero {
  padding: 18px 0 0;
}

.hero-shell {
  width: min(1340px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 22px;
  align-items: start;
}

.hero-copy,
.hero-stage {
  min-width: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 24px 54px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 9ch;
  font-size: clamp(2.6rem, 4.8vw, 4.3rem);
  line-height: 0.95;
}

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.14rem;
  line-height: 1.32;
}

.hero-text,
.stage-text,
.service-card p,
.contact-panel p,
.footer-brand p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-text {
  max-width: 42ch;
  margin-top: 22px;
  font-size: 0.95rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.contact-actions a:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff7f2;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 18px 34px rgba(160, 75, 30, 0.26);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.hero-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(22, 32, 43, 0.08);
}

.hero-line-item {
  display: grid;
  gap: 8px;
}

.hero-line-item span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-line-item strong {
  font-size: 1rem;
  line-height: 1.45;
}

.hero-stage {
  display: grid;
  gap: 16px;
  align-content: start;
}

.stage-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.stage-card-main {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: linear-gradient(180deg, rgba(30, 45, 43, 0.98), rgba(45, 64, 61, 0.96));
}

.stage-card-main .stage-label,
.stage-card-main .stage-text,
.stage-card-main .stage-contact span {
  color: rgba(234, 241, 236, 0.72);
}

.stage-card-main h2,
.stage-card-main .stage-contact strong {
  color: #f8fcf8;
}

.stage-label {
  margin-bottom: 10px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stage-text {
  max-width: 28ch;
  margin-top: 12px;
}

.stage-contact {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding-top: 12px;
}

.stage-contact div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stage-contact span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 700;
}

.stage-contact strong {
  font-size: 1rem;
}

.stage-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.stage-card-soft {
  padding: 22px;
  background: var(--paper-soft);
  min-height: 0;
}

.stage-card-soft.accent {
  background: linear-gradient(180deg, rgba(246, 226, 211, 0.9), rgba(255, 249, 243, 0.92));
}

.stage-number {
  margin-bottom: 12px;
  color: var(--accent-deep);
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.stage-card-soft p {
  max-width: 24ch;
}

.services,
.industries,
.contact {
  padding-top: 24px;
  scroll-margin-top: 120px;
}

.section-head {
  max-width: 720px;
}

.section-head h2 {
  max-width: 13ch;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.service-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.82);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(52, 36, 20, 0.08);
  border-color: rgba(203, 111, 57, 0.16);
}

.service-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent-deep);
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.service-card h3 {
  margin-bottom: 10px;
}

.industries-shell {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 252, 247, 0.72);
  box-shadow: var(--shadow);
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.industry-list span {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(22, 32, 43, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-weight: 600;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 24px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, rgba(30, 45, 43, 0.98), rgba(39, 58, 55, 0.96));
  box-shadow: 0 28px 56px rgba(30, 45, 43, 0.18);
}

.contact-panel .eyebrow,
.contact-panel p {
  color: rgba(234, 241, 236, 0.78);
}

.contact-panel h2 {
  max-width: 14ch;
  color: #f8fcf8;
}

.contact-actions {
  display: grid;
  align-content: start;
  gap: 12px;
}

.contact-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: #f8fcf8;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  margin-top: 28px;
  padding: 46px 0 42px;
  background: linear-gradient(180deg, rgba(20, 29, 28, 0.98), rgba(15, 23, 22, 1));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1340px, calc(100% - 40px));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) 180px 260px;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  max-width: 420px;
}

.footer-brand-link {
  display: inline-block;
  margin-bottom: 14px;
  color: #f7fbf7;
  font-size: 1.7rem;
}

.footer-brand p,
.footer-nav a,
.footer-contact a {
  color: rgba(223, 233, 226, 0.72);
}

.footer-brand p {
  font-size: 1.02rem;
  line-height: 1.75;
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

.footer-nav {
  justify-items: start;
}

.footer-contact {
  justify-items: end;
  text-align: right;
}

.footer-nav a,
.footer-contact a {
  font-size: 1rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-rights {
  color: rgba(223, 233, 226, 0.58);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 1040px) {
  .hero-shell,
  .contact-panel,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .hero-line,
  .services-grid,
  .stage-row {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-right: 0;
  }
}

@media (max-width: 760px) {
  .content-shell,
  .header-shell,
  .hero-shell {
    width: min(100% - 16px, 100%);
  }

  .site-header {
    position: static;
    padding-top: 10px;
  }

  .header-shell,
  .header-right {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-shell {
    padding: 14px 16px;
    border-radius: 18px;
  }

  .main-nav {
    gap: 12px;
  }

  .header-right {
    width: 100%;
    gap: 14px;
  }

  .lang-switch {
    align-self: flex-start;
  }

  .hero-copy,
  .stage-card-main,
  .stage-card-soft,
  .industries-shell,
  .contact-panel {
    padding: 22px;
  }

  .footer-shell {
    justify-items: center;
    text-align: center;
    gap: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-brand,
  .footer-nav,
  .footer-contact {
    max-width: none;
    justify-items: center;
    text-align: center;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .section-head h2,
  .contact-panel h2 {
    max-width: none;
  }
}
