:root {
  --ink: #171716;
  --muted: #63605b;
  --paper: #ffffff;
  --wash: #f5f1ea;
  --line: rgba(23, 23, 22, 0.12);
  --charcoal: #33322f;
  --gold: #d89c16;
  --olive: #74846c;
  --rust: #9b4b24;
  --max: 1180px;
  --nav: 88px;
}

* {
  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;
}

body.nav-open,
body.search-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

section,
footer {
  scroll-margin-top: calc(var(--nav) + 44px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #fff;
}

.top-bar {
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px clamp(18px, 3vw, 40px);
  background: rgba(58, 58, 55, 0.92);
  font-size: 0.86rem;
  font-weight: 700;
}

.language-button,
.nav-drop,
.search-button,
.menu-button,
.close-search {
  border: 0;
  background: transparent;
  color: inherit;
}

.language-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.language-button::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.language-button span {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.main-nav {
  min-height: var(--nav);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
  padding: 10px clamp(20px, 3vw, 40px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.08));
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled .main-nav,
body.nav-open .main-nav,
body.search-open .main-nav {
  background: rgba(23, 23, 22, 0.94);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 200px;
}

.brand img {
  width: 83px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.32));
}

.brand span {
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
}

.nav-links a,
.nav-drop {
  position: relative;
  padding: 12px 0;
  font-weight: 800;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  white-space: nowrap;
}

.nav-links a::after,
.nav-drop::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 3px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--gold);
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links .active::after,
.nav-drop:hover::after,
.nav-drop:focus-visible::after {
  transform: scaleX(1);
}

.nav-drop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-drop::before {
  content: "";
  order: 2;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.search-button {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.search-button:hover,
.menu-button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.search-button span {
  position: relative;
  width: 19px;
  height: 19px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.search-button span::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -5px;
  width: 10px;
  height: 3px;
  transform: rotate(45deg);
  border-radius: 999px;
  background: currentColor;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 5px;
  border-radius: 999px;
}

.menu-button span {
  width: 22px;
  height: 2px;
  display: block;
  background: currentColor;
}

.mega-panel {
  position: absolute;
  left: 50%;
  top: calc(39px + var(--nav) - 1px);
  width: min(880px, calc(100vw - 36px));
  transform: translateX(-50%);
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 14px;
  border-radius: 0 0 14px 14px;
  background: rgba(19, 19, 18, 0.92);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.mega-panel:not([hidden]) {
  display: grid;
}

.mega-panel a {
  padding: 13px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 800;
}

.mega-panel a:hover {
  color: var(--gold);
}

.mobile-drawer {
  position: fixed;
  inset: calc(39px + var(--nav)) 0 0;
  z-index: 49;
  display: grid;
  align-content: start;
  gap: 1px;
  padding: 18px;
  transform: translateX(-100%);
  transition: transform 220ms ease;
  background: rgba(24, 24, 23, 0.96);
}

body.nav-open .mobile-drawer {
  transform: translateX(0);
}

.mobile-drawer a {
  padding: 17px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 706px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.44)),
    radial-gradient(circle at center, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.4));
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 40px));
  margin-top: 110px;
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}

.hero-copy h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2.9rem, 5.5vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.hero-copy p {
  max-width: 740px;
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.16;
}

.hero-copy span {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 6px;
}

.outline-button,
.solid-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 26px;
  font-weight: 900;
}

.outline-button {
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.outline-button:hover {
  border-color: var(--gold);
  color: #111;
  background: var(--gold);
}

.solid-button {
  border: 0;
  color: #141412;
  background: var(--gold);
}

.solid-button:hover {
  background: #efb123;
}

.intro-grid,
.category-section,
.process-section,
.solutions-section,
.events-section,
.quote-section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 72px 0 40px;
}

.intro-grid article {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--charcoal);
  color: #fff;
}

.intro-grid img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  opacity: 0.74;
  transition: transform 420ms ease;
}

.intro-grid article:hover img {
  transform: scale(1.04);
}

.intro-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.66));
}

.intro-grid article > div {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 40px);
}

.intro-grid p,
.section-heading p,
.capabilities-section > div > p,
.quote-section > div > p {
  margin: 0;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro-grid h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3.2rem);
  line-height: 1.02;
}

.intro-grid a {
  width: max-content;
  padding-bottom: 5px;
  border-bottom: 3px solid var(--gold);
  font-weight: 900;
}

.category-section,
.process-section,
.solutions-section,
.events-section {
  padding: 58px 0;
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.compact {
  max-width: 760px;
}

.section-heading h2,
.capabilities-section h2,
.quote-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading span,
.capabilities-section span,
.quote-section span {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.03rem;
}

.style-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.style-card {
  position: relative;
  min-height: 320px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  isolation: isolate;
}

.style-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72));
}

.style-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.style-card:hover img {
  transform: scale(1.05);
}

.style-card strong,
.style-card span {
  margin: 0 18px;
}

.style-card strong {
  font-size: 1.35rem;
}

.style-card span {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 0.9rem;
}

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

.product-grid article,
.solution-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-grid img,
.solution-grid img {
  aspect-ratio: 1.26;
  object-fit: cover;
}

.product-grid h3,
.solution-grid h3 {
  margin: 20px 20px 8px;
  font-size: 1.35rem;
}

.product-grid p,
.solution-grid p {
  margin: 0 20px 24px;
  color: var(--muted);
}

.process-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
}

.process-tabs button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 20px;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
}

.process-tabs button.is-active {
  border-color: #171716;
  color: #fff;
  background: #171716;
}

.process-panel {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(18px, 2vw, 28px);
  border-radius: 10px;
  background: var(--wash);
}

.process-panel[hidden] {
  display: none;
}

.process-panel img {
  height: 430px;
  object-fit: cover;
  border-radius: 8px;
}

.process-panel div {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.process-panel h3 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3.4rem);
  line-height: 1.04;
}

.process-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.capabilities-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: 80px clamp(18px, 6vw, 82px);
  background:
    linear-gradient(135deg, rgba(23, 23, 22, 0.9), rgba(39, 54, 48, 0.9)),
    url("https://icdn.tradew.com/file/202506/1576498/jpg/8550278.jpg") center / cover;
  color: #fff;
}

.capabilities-section p,
.capabilities-section span {
  color: rgba(255, 255, 255, 0.8);
}

.capabilities-section h2 {
  margin: 12px 0 18px;
}

.capabilities-section dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0;
}

.capabilities-section dl div {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.capabilities-section dt {
  color: var(--gold);
  font-size: clamp(2.3rem, 4vw, 4rem);
  font-weight: 950;
  line-height: 1;
}

.capabilities-section dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.event-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.event-strip article {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 900;
}

.event-strip span {
  color: var(--rust);
}

.quote-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  padding: 82px 0;
}

.quote-section > div {
  position: sticky;
  top: calc(var(--nav) + 74px);
}

.quote-section h2 {
  margin: 12px 0 18px;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--wash);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.quote-form input,
.quote-form textarea,
.search-panel input {
  width: 100%;
  border: 1px solid rgba(23, 23, 22, 0.18);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.quote-form input:focus,
.quote-form textarea:focus,
.search-panel input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 156, 22, 0.16);
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--olive);
  font-weight: 900;
}

.contact-rail {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 45;
  display: grid;
  gap: 10px;
}

.contact-rail a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  background: rgba(23, 23, 22, 0.66);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
  font-weight: 950;
  backdrop-filter: blur(10px);
}

.contact-rail a:hover {
  color: #111;
  background: var(--gold);
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
}

.search-panel[hidden] {
  display: none;
}

.search-panel > div {
  width: min(720px, 100%);
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 12px;
  background: #fff;
}

.close-search {
  justify-self: end;
  min-height: 38px;
  border-radius: 999px;
  padding: 0 16px;
  color: #fff;
  background: #171716;
  font-weight: 900;
}

.search-panel label {
  display: grid;
  gap: 10px;
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 950;
  line-height: 1.04;
}

.search-panel p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 30px;
  padding: 54px clamp(22px, 5vw, 70px);
  background: #171716;
  color: #fff;
}

.site-footer img {
  width: 92px;
  margin-bottom: 14px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h3 {
  margin: 0 0 14px;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-footer a:hover {
  color: var(--gold);
}

@media (max-width: 1120px) {
  .main-nav {
    grid-template-columns: auto 1fr auto;
  }

  .menu-button {
    display: grid;
    justify-self: end;
    grid-column: 3;
    grid-row: 1;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .search-button {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .nav-links,
  .mega-panel {
    display: none !important;
  }

  .hero-copy {
    margin-top: 120px;
  }

  .style-grid,
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .style-card {
    min-height: 300px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  :root {
    --nav: 76px;
  }

  .top-bar {
    font-size: 0.72rem;
  }

  .language-button::before {
    display: none;
  }

  .main-nav {
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 70px;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: 690px;
  }

  .hero-copy {
    width: min(100% - 28px, 620px);
    margin-top: 100px;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .hero-copy p {
    font-size: 1.08rem;
  }

  .hero-actions {
    width: 100%;
  }

  .outline-button,
  .solid-button {
    width: 100%;
  }

  .intro-grid,
  .process-panel,
  .capabilities-section,
  .quote-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    padding-top: 48px;
  }

  .process-panel img {
    height: 300px;
  }

  .capabilities-section {
    padding: 58px 22px;
  }

  .quote-section > div {
    position: static;
  }

  .contact-rail {
    right: 12px;
    bottom: 12px;
  }

  .contact-rail a {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 560px) {
  .top-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-drawer {
    inset: calc(62px + var(--nav)) 0 0;
  }

  .style-grid,
  .product-grid,
  .solution-grid,
  .event-strip,
  .capabilities-section dl {
    grid-template-columns: 1fr;
  }

  .style-card {
    min-height: 260px;
  }

  .intro-grid article,
  .intro-grid img {
    min-height: 360px;
  }

  .event-strip article {
    min-height: 118px;
  }
}
