:root {
  --ink: #0b0b0b;
  --muted: #646464;
  --surface: #f5f5f5;
  --surface-strong: #ffffff;
  --line: rgba(0, 0, 0, 0.09);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.06);
  --radius: 18px;
  --container: 1120px;
  --nav-height: 68px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, textarea, select {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

p, ul, ol {
  margin-top: 0;
}

p:last-child, ul:last-child, ol:last-child {
  margin-bottom: 0;
}

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.18;
  text-wrap: balance;
}

h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.05rem;
}

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 999;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  color: #fff;
  background: #000;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.site-nav__inner {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand-mini {
  min-width: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #000;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mini__text {
  min-width: 0;
  max-width: 58vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #000;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  color: #111;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.burger svg {
  width: 23px;
  height: 23px;
}

.navlinks {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.navlinks > a,
.dropdown-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border: 0;
  border-radius: 999px;
  color: #111;
  background: transparent;
  font-size: 0.93rem;
  font-weight: 550;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.navlinks > a.active,
.navlinks > a[aria-current="page"],
.dropdown-btn.active {
  color: #fff;
  background: #000;
}

.dropdown {
  position: relative;
  flex: 0 0 auto;
}

.dropdown-btn {
  gap: 0.4rem;
}

.caret {
  font-size: 0.82rem;
  transform: translateY(-1px);
  transition: transform 0.18s ease;
}

.dropdown.open .caret {
  transform: translateY(-1px) rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 130;
  min-width: 250px;
  max-width: calc(100vw - 1.5rem);
  padding: 0.4rem;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.13);
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.dropdown.open .dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.7rem 0.8rem;
  overflow: hidden;
  border-radius: 10px;
  color: #111;
  font-size: 0.92rem;
  font-weight: 550;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-menu a[aria-current="page"] {
  background: rgba(0, 0, 0, 0.07);
  font-weight: 700;
}

/* Page headers */
.hero,
.page-header {
  text-align: center;
}

.hero {
  padding: clamp(3.2rem, 7vw, 5.4rem) 0 clamp(2.2rem, 5vw, 3.7rem);
}

.hero-logo {
  width: clamp(160px, 24vw, 225px);
  margin: 0 auto 1.3rem;
}

.hero p,
.page-header p {
  max-width: 790px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.page-logo {
  display: flex;
  justify-content: center;
  padding: clamp(2rem, 5vw, 3rem) 0 1.3rem;
}

.page-logo img {
  width: clamp(105px, 15vw, 140px);
  max-width: 55vw;
}

.page-header {
  padding: 0 0 clamp(2.1rem, 5vw, 3rem);
}

/* Main sections and cards */
.section {
  padding: clamp(2.1rem, 5vw, 3.4rem) 0;
}

.section--tight {
  padding-top: 0.9rem;
}

.card {
  width: 100%;
  padding: clamp(1.3rem, 2.7vw, 2rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow-wrap: anywhere;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.company-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.company-card p {
  color: #272727;
}

.section-logo {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0 1rem;
}

.section-logo img {
  width: 90px;
}

.section-logo--empty {
  visibility: hidden;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.7rem;
  margin-top: auto;
  padding-top: 1.3rem;
}

.cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.15rem;
  border-radius: 999px;
  color: #fff;
  background: #000;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
}

.contact-list {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  margin: 0.55rem 0;
}

.contact-list a {
  font-weight: 600;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.grid-2 .card {
  background: #fff;
  box-shadow: none;
}

.list {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.list li {
  margin: 0.38rem 0;
}

/* International markets */
.market-intro {
  max-width: 930px;
  color: var(--muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.category {
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 14px;
  background: #fff;
}

.category:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.category-title {
  margin-bottom: 0.55rem;
  font-size: 1.03rem;
  font-weight: 750;
}

.category ul {
  margin: 0;
  padding-left: 1.15rem;
}

.category li {
  margin: 0.32rem 0;
}

/* Unified Supply background page */
.unified-page {
  isolation: isolate;
  background: #fff;
}

.unified-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: #ececec;
  background-image: url("../img/bg-tsesho.jpg");
  background-image: image-set(
    url("../img/bg-tsesho.webp") type("image/webp"),
    url("../img/bg-tsesho.jpg") type("image/jpeg")
  );
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.unified-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.75);
  pointer-events: none;
}

.unified-page .page-logo img {
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.12));
}

.unified-page .card {
  background: rgba(248, 248, 248, 0.94);
}

.narrow-card {
  max-width: 900px;
  margin-inline: auto;
}

/* Footer */
.site-footer {
  flex: 0 0 auto;
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: 2.4rem 0;
  color: #fff;
  background: #000;
}

.site-footer p {
  margin: 0.25rem 0;
  color: #cfcfcf;
  font-size: 0.9rem;
}

.site-footer a {
  color: #fff;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top button {
  min-width: 46px;
  min-height: 46px;
  padding: 0.7rem 0.95rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #000;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

/* Progressive reveal: content stays visible when JS is unavailable */
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.motion-ready .reveal.slide-left {
  transform: translateX(-22px);
}

.motion-ready .reveal.slide-right {
  transform: translateX(22px);
}

.motion-ready .reveal.in,
.motion-ready .reveal.in.slide-left,
.motion-ready .reveal.in.slide-right {
  opacity: 1;
  transform: translate(0, 0);
}

[id] {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.28);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .navlinks > a:hover,
  .dropdown-btn:hover,
  .dropdown-menu a:hover {
    background: rgba(0, 0, 0, 0.06);
  }

  .navlinks > a.active:hover,
  .navlinks > a[aria-current="page"]:hover,
  .dropdown-btn.active:hover {
    background: #181818;
  }

  .card {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }

  .company-card:hover,
  .market-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }

  .cta:hover {
    background: #232323;
  }
}

@media (max-width: 900px) {
  .company-grid {
    grid-template-columns: 1fr;
  }

  .company-card {
    min-height: 0;
  }

  .section-logo {
    min-height: 82px;
  }
}

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

  .container {
    width: min(calc(100% - 2rem), var(--container));
  }

  .burger {
    display: inline-flex;
  }

  .navlinks {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100dvh - var(--nav-height) - 24px);
    padding: 0.55rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14);
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.open .navlinks {
    display: flex;
  }

  .navlinks > a,
  .dropdown-btn {
    width: 100%;
    justify-content: space-between;
    border-radius: 11px;
    padding: 0.75rem 0.85rem;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-top: 0.25rem;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    transform: none;
    transition: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
    transform: none;
  }

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

  .category:last-child:nth-child(odd) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .hero {
    padding-top: 2.7rem;
  }

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

  .card {
    border-radius: 15px;
  }

  .cta-row,
  .cta {
    width: 100%;
  }

  .page-header h1 {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
  }
}

@media (max-width: 360px) {
  .brand-mini__text {
    max-width: 50vw;
  }

  .container {
    width: min(calc(100% - 1.1rem), var(--container));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .motion-ready .reveal,
  .motion-ready .reveal.slide-left,
  .motion-ready .reveal.slide-right {
    opacity: 1;
    transform: none;
  }
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* Standardized footer contact block */
.footer-contact {
  margin-bottom: 1rem;
}

.site-footer .footer-contact h2 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.site-footer .footer-contact p {
  margin: 0.55rem 0;
  color: #fff;
  font-size: 1rem;
}

.site-footer .footer-contact strong {
  color: #fff;
}

.site-footer .footer-contact a {
  color: #fff;
}
