/* =========================================================
   Q8 PETROL (LANKA) — REBRAND DESIGN SYSTEM
   =========================================================
   Brand Green:        #05783C
   Brand Green Dark:   #034E28
   Brand Green Deep:   #022F1C
   Accent Red:         #CA1326
   Black:              #020202
   Ink:                #101512
   Muted:              #68736D
   Border:             #DCE4DF
   Soft Surface:       #F4F7F5
   White:              #FFFFFF
   ========================================================= */

:root {
  --green: #05783c;
  --green-dark: #034e28;
  --green-deep: #022f1c;
  --green-bright: #0a9650;
  --green-soft: #e8f4ee;

  --red: #ca1326;
  --red-dark: #9d0f1d;
  --red-soft: #fae9ec;

  --black: #020202;
  --ink: #101512;
  --muted: #68736d;
  --muted-2: #8d9892;
  --line: #dce4df;
  --line-dark: rgba(255, 255, 255, 0.14);
  --soft: #f4f7f5;
  --soft-2: #edf3ef;
  --white: #ffffff;

  --header-height: 74px;
  --shell: 1240px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-sm: 0 8px 24px rgba(11, 32, 22, 0.06);
  --shadow-md: 0 24px 70px rgba(11, 32, 22, 0.1);
  --shadow-lg: 0 40px 120px rgba(5, 36, 20, 0.16);

  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  border: 0;
}

::selection {
  background: var(--green);
  color: var(--white);
}

[hidden] {
  display: none !important;
}

.shell {
  width: min(100% - 32px, var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  transition: transform 0.2s ease;
}

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

.page-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 300;
  height: 2px;
  pointer-events: none;
}

.page-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--red);
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  color: var(--white);
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  transition: background 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header.menu-visible {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 10px 36px rgba(8, 32, 19, 0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header.is-scrolled::after,
.site-header.menu-visible::after {
  background: var(--line);
}

.site-header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand__logo {
  display: block;

  width: auto;
  height: 52px;

  object-fit: contain;
}

.brand__logo_mid {
  display: block;

  width: auto;
  height: 52px;

  object-fit: contain;
}

/* Slightly larger on bigger screens */
@media (min-width: 720px) {
  .brand__logo {
    height: 58px;
  }

  .brand__logo_mid {
    height: 108px;
  }
}

/* .site-header.is-scrolled .brand__mark,
.site-header.menu-visible .brand__mark {
  background: var(--green);
  color: var(--white);
} */

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__text strong {
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand__text small {
  margin-top: 4px;
  color: currentColor;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  opacity: 0.58;
  text-transform: uppercase;
}

.desktop-nav {
  display: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-cta {
  display: none;
}

.nav-toggle {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: currentColor;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.site-header.is-scrolled .nav-toggle,
.site-header.menu-visible .nav-toggle {
  background: var(--soft);
}

.nav-toggle:hover {
  transform: scale(1.04);
}

.nav-toggle span {
  position: absolute;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}

.nav-toggle span:first-child {
  transform: translateY(-3px);
}

.nav-toggle span:last-child {
  transform: translateY(3px);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  z-index: 1;
  max-height: calc(100svh - var(--header-height));
  overflow: auto;
  transform: translateY(-18px);
  opacity: 0;
  visibility: hidden;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(7, 30, 18, 0.12);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    visibility 0.3s;
  backdrop-filter: blur(18px);
}

.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-menu__inner {
  padding-block: 28px 34px;
}

.mobile-menu nav {
  display: grid;
  margin-bottom: 28px;
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 2px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.mobile-menu nav a span {
  color: var(--muted-2);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* Shared */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow--light::before {
  display: none;
}

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #66e6a5;
  box-shadow: 0 0 0 6px rgba(102, 230, 165, 0.12);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(102, 230, 165, 0.52);
  border-radius: 50%;
  animation: status-pulse 2.2s ease-out infinite;
}

@keyframes status-pulse {
  0% {
    transform: scale(0.75);
    opacity: 1;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

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

.button svg,
.header-cta svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 0.25s var(--ease);
}

.button:hover svg,
.header-cta:hover svg {
  transform: translateX(3px);
}

.button--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 35px rgba(5, 120, 60, 0.22);
}

.button--primary:hover {
  background: var(--green-dark);
}

.button--light {
  background: var(--white);
  color: var(--green-deep);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.button--light:hover {
  background: #f4f8f6;
}

.button--outline {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button--outline:hover {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green-dark);
}

.button--ghost {
  background: var(--soft);
  color: var(--ink);
}

.button--small {
  min-height: 43px;
  padding-inline: 16px;
  font-size: 0.76rem;
}

.button--full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  font-weight: 800;
}

.text-link span {
  transition: transform 0.25s var(--ease);
}

.text-link:hover span {
  transform: translate(3px, -2px);
}

.text-link--light {
  color: rgba(255, 255, 255, 0.86);
}

.text-link--dark {
  color: var(--green);
}

.section {
  position: relative;
  padding-block: 88px;
}

.section--soft {
  background: var(--soft);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-heading h2,
.trade-process__heading h2,
.contact-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

.section-heading__intro,
.section-heading__aside {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

[data-reveal] {
  transform: translateY(28px);
  opacity: 0;
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  transform: none;
  opacity: 1;
}

/* Hero */

.hero {
  position: relative;
  z-index: 0;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  align-items: center;
  color: var(--white);
  background: var(--green-deep);
}

/*
  HERO STACKING ORDER
  0 = fallback
  1 = video
  2 = dark overlay
  3 = grain
  4 = decorative lines
  5 = content / bottom controls
*/

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.hero__media-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 72% 38%, rgba(19, 127, 72, 0.7), transparent 32%),
    radial-gradient(
      circle at 20% 70%,
      rgba(202, 19, 38, 0.18),
      transparent 27%
    ),
    linear-gradient(120deg, #012817, #054d2b 47%, #022014);
}

.hero__media video {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  background: transparent;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  /* background:
    linear-gradient(
      180deg,
      rgba(11, 49, 30, 0.48) 0%,
      rgba(10, 73, 40, 0.28) 36%,
      rgba(2, 14, 8, 0.74) 100%
    ),
    linear-gradient(
      90deg,
      rgba(16, 73, 43, 0.74) 0%,
      rgba(17, 141, 79, 0.42) 54%,
      rgba(3, 20, 12, 0.12) 100%
    ); */
  background-color: rgba(26, 87, 56, 0.5);
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero__lines {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
}

.hero__lines span {
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.hero__lines span:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.hero__content {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 44px;
  padding-top: calc(var(--header-height) + 72px);
  padding-bottom: 120px;
}

.hero__copy {
  max-width: 880px;
}

.hero h1 {
  margin: 0;
  max-width: 900px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7.5vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.068em;
  line-height: 0.92;
}

.hero h1 span {
  color: #8be6b6;
}

.hero__lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(0.98rem, 2.8vw, 1.15rem);
  line-height: 1.78;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 32px;
}

.hero__rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.hero-stat {
  min-width: 0;
  padding: 20px 12px;
}

.hero-stat + .hero-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.hero-stat span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 6vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.06em;
}

.hero-stat p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  line-height: 1.45;
}

.hero__bottom {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero__bottom > p {
  display: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__bottom > p span {
  color: var(--red);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-cue__line {
  position: relative;
  width: 42px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
}

.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: var(--white);
  animation: cue-slide 2s ease-in-out infinite;
}

@keyframes cue-slide {
  50%,
  100% {
    transform: translateX(100%);
  }
}

/* Trust strip */

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-strip__inner {
  display: grid;
  gap: 16px;
  padding-block: 22px;
}

.trust-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.trust-strip__items {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.trust-strip__items::-webkit-scrollbar {
  display: none;
}

.trust-strip__items span {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #34433b;
  font-size: 0.68rem;
  font-weight: 700;
}

/* Profile */

.profile-layout {
  display: grid;
  gap: 48px;
}

.profile-story__lead {
  margin-top: 0 !important;
  color: var(--ink) !important;
  font-size: 1.17rem !important;
  font-weight: 500;
  line-height: 1.7 !important;
}

.profile-story > p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.82;
}

.profile-story blockquote {
  position: relative;
  margin: 38px 0;
  padding: 28px 0 28px 26px;
  border-left: 2px solid var(--red);
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 6vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.profile-story blockquote span {
  position: absolute;
  top: -20px;
  left: 14px;
  color: var(--green-soft);
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 1;
  z-index: -1;
}

.profile-system {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 18%, rgba(5, 120, 60, 0.08), transparent 24%),
    var(--soft);
  box-shadow: var(--shadow-sm);
}

.system-orbit {
  position: relative;
  display: grid;
  min-height: 300px;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(5, 120, 60, 0.14);
  border-radius: 50%;
}

.orbit--one {
  width: 210px;
  aspect-ratio: 1;
}

.orbit--two {
  width: 320px;
  aspect-ratio: 1;
}

.system-orbit__center {
  position: relative;
  z-index: 3;
  display: grid;
  width: 102px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  /* background: var(--green); */
  color: var(--white);
  box-shadow: 0 22px 50px rgba(5, 120, 60, 0.25);
}

.system-orbit__center strong {
  margin-bottom: -30px;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.system-orbit__center small {
  margin-top: -27px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.orbit-node {
  position: absolute;
  z-index: 4;
  width: 12px;
  aspect-ratio: 1;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 6px 14px rgba(202, 19, 38, 0.22);
}

.orbit-node--one {
  transform: translate(92px, -40px);
}

.orbit-node--two {
  transform: translate(-120px, 50px);
}

.orbit-node--three {
  transform: translate(70px, 118px);
}

.system-list article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 22px;
}

.system-list article + article {
  border-top: 1px solid var(--line);
}

.system-list article > span {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.system-list h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: -0.025em;
}

.system-list p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

/* Trading */

.trading-switcher {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.segmented-control button {
  position: relative;
  min-height: 82px;
  padding: 15px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.segmented-control button + button {
  border-left: 1px solid var(--line);
}

.segmented-control button::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: -1px;
  left: 14px;
  height: 2px;
  transform: scaleX(0);
  background: var(--green);
  transition: transform 0.3s var(--ease);
}

.segmented-control button.is-active {
  background: var(--soft);
  color: var(--ink);
}

.segmented-control button.is-active::after {
  transform: scaleX(1);
}

.segmented-control button span {
  display: inline-block;
  margin-right: 6px;
  color: var(--red);
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 800;
  vertical-align: top;
}

.segmented-control button small {
  display: block;
  margin-top: 5px;
  color: var(--muted-2);
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.trading-panel {
  padding: 26px 18px;
}

.trading-panel.is-active {
  animation: panel-in 0.45s var(--ease);
}

@keyframes panel-in {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.category-block + .category-block {
  margin-top: 50px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.category-block__heading {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.category-index {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.category-block__heading p {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.category-block__heading h3,
.buying-intro h3 {
  margin: 0;
  max-width: 700px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.7vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.commodity-grid {
  display: grid;
  gap: 12px;
}

.commodity-card {
  position: relative;
  display: flex;
  min-height: 270px;
  flex-direction: column;
  overflow: hidden;
  padding: 22px;

  border: 1px solid rgba(5, 120, 60, 0.14);
  border-top: 3px solid var(--green);
  border-radius: var(--radius-md);

  background: linear-gradient(
    180deg,
    rgba(5, 120, 60, 0.045) 0%,
    rgba(255, 255, 255, 0.98) 22%,
    var(--white) 100%
  );

  box-shadow:
    0 10px 28px rgba(8, 37, 22, 0.055),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;

  transition:
    transform 0.35s var(--ease),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.commodity-card::before {
  content: "";
  position: absolute;
  inset: auto -35px -55px auto;
  width: 130px;
  aspect-ratio: 1;
  border: 1px solid rgba(5, 120, 60, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 26px rgba(5, 120, 60, 0.025),
    0 0 0 52px rgba(5, 120, 60, 0.02);
}

.commodity-card:hover {
  transform: translateY(-4px);

  border-color: rgba(5, 120, 60, 0.24);
  border-top-color: var(--green-dark);

  box-shadow:
    0 18px 42px rgba(8, 37, 22, 0.085),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.commodity-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 44px;
}

.commodity-card__top > span {
  display: grid;
  min-width: 48px;
  min-height: 48px;
  place-items: center;
  padding: 5px 8px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.commodity-card__top small {
  color: var(--muted-2);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.commodity-card h4 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: -0.035em;
}

.commodity-card > p {
  position: relative;
  z-index: 1;
  margin: 10px 0 20px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.commodity-card__meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.commodity-card__meta span {
  color: #66736c;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.buying-intro {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}

.buying-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.procurement-grid {
  display: grid;
  gap: 10px;
}

.procurement-grid article {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s var(--ease);
}

.procurement-grid article:hover {
  transform: translateX(3px);
  border-color: rgba(5, 120, 60, 0.25);
  background: var(--green-soft);
}

.procurement-grid article span {
  color: var(--red);
  font-size: 0.65rem;
  font-weight: 800;
}

.procurement-grid article h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: -0.025em;
}

.procurement-grid article p {
  margin: 0;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Hubs */

.hubs {
  overflow: hidden;
}

.hub-visual {
  margin-bottom: 20px;
}

.hub-map {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 30%, rgba(5, 120, 60, 0.08), transparent 26%),
    radial-gradient(
      circle at 80% 70%,
      rgba(202, 19, 38, 0.05),
      transparent 22%
    ),
    linear-gradient(140deg, #f9fbfa, #edf3ef);
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(5, 120, 60, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 120, 60, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 94%);
}

.map-route {
  position: absolute;
  inset: 10% 4%;
  width: 92%;
  height: 80%;
  overflow: visible;
}

.map-route__base,
.map-route__flow {
  fill: none;
  stroke-linecap: round;
}

.map-route__base {
  stroke: rgba(241, 22, 22, 0.14);
  stroke-width: 3;
}

.map-route__flow {
  stroke: var(--red-dark);
  stroke-width: 2;
  stroke-dasharray: 4 14;
  animation: route-flow 3s linear infinite;
}

@keyframes route-flow {
  to {
    stroke-dashoffset: -72;
  }
}

.map-point {
  position: absolute;
  display: grid;
  place-items: center;
  gap: 9px;
  color: var(--green-deep);
  font-size: 0.72rem;
  font-weight: 800;
}

.map-point i {
  position: relative;
  display: block;
  width: 16px;
  aspect-ratio: 1;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--red);
  box-shadow:
    0 0 0 1px rgba(202, 19, 38, 0.2),
    0 8px 18px rgba(202, 19, 38, 0.22);
}

.map-point i::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(202, 19, 38, 0.25);
  border-radius: 50%;
  animation: map-pulse 2s ease-out infinite;
}

@keyframes map-pulse {
  to {
    transform: scale(1.8);
    opacity: 0;
  }
}

.map-point--kuwait {
  top: 35%;
  left: 39%;
}

.map-point--sri-lanka {
  right: 35.5%;
  bottom: 14%;
}

.hub-map__label {
  position: absolute;
  bottom: 22px;
  left: 22px;
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border: 1px solid rgba(5, 120, 60, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.hub-map__label span {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-map__label strong {
  margin-top: 3px;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: 0.86rem;
}

.hub-grid {
  display: grid;
  gap: 14px;
}

.hub-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s ease;
}

.hub-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.hub-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 45px;
}

.flag {
  display: grid;
  width: 48px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  font-size: 1.35rem;
}

.hub-card__index {
  color: var(--muted-2);
  font-size: 0.68rem;
  font-weight: 800;
}

.hub-card .eyebrow {
  margin-bottom: 10px;
  font-size: 0.61rem;
}

.hub-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.hub-card > p:not(.eyebrow) {
  margin: 14px 0 28px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.78;
}

.hub-contact {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hub-contact small {
  color: var(--muted-2);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-contact strong {
  margin-top: 4px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

/* Leadership */

.leadership-grid {
  display: grid;
  gap: 18px;
}

.leader-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);

  box-shadow: 0 10px 30px rgba(8, 37, 22, 0.045);

  transition:
    transform 0.35s var(--ease),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.leader-card:hover {
  transform: translateY(-5px);
  border-color: rgba(5, 120, 60, 0.18);
  box-shadow: var(--shadow-md);
}

.leader-card__portrait {
  position: relative;

  width: 100%;
  aspect-ratio: 4 / 5;

  overflow: hidden;

  background:
    linear-gradient(145deg, rgba(5, 120, 60, 0.08), rgba(5, 120, 60, 0.02)),
    var(--soft);
}

.leader-card__portrait::before,
.leader-card__portrait::after {
  display: none;
}

/* .leader-card__portrait::before {
  width: 280px;
  aspect-ratio: 1;
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
} */

.leader-card__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;

  display: block;

  pointer-events: none;

  background: linear-gradient(
    180deg,
    rgba(2, 2, 2, 0) 55%,
    rgba(2, 2, 2, 0.08) 75%,
    rgba(2, 2, 2, 0.36) 100%
  );
}

.leader-card__portrait > img {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  /*
    Keeps faces/head area visible when portrait photos
    have additional space toward the bottom.
  */
  object-position: center 18%;
}

.portrait-placeholder {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  color: var(--green-deep);
}

.portrait-placeholder span {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.portrait-placeholder small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.leader-card__role {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--green-deep);
  font-size: 0.62rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.leader-card__body {
  padding: 26px;
}

.leader-card__index {
  margin: 0 0 10px;

  color: var(--red);

  font-size: 0.66rem;
  font-weight: 800;

  letter-spacing: 0.1em;
}

.leader-card h3 {
  margin: 0;

  color: var(--green-deep);

  font-family: var(--font-display);

  font-size: clamp(1.35rem, 4vw, 1.65rem);
  font-weight: 700;

  letter-spacing: -0.045em;
  line-height: 1.2;
}

.leader-card__summary {
  margin: 16px 0 24px;

  color: var(--muted);

  font-size: 0.87rem;
  line-height: 1.75;
}

/* =========================================================
   DETAILS
   ========================================================= */

.leader-card dl {
  display: grid;

  margin: 0;
}

.leader-card dl > div {
  display: grid;
  gap: 7px;

  padding: 15px 0;

  border-top: 1px solid var(--line);
}

.leader-card dt {
  color: var(--muted-2);

  font-size: 0.63rem;
  font-weight: 800;

  letter-spacing: 0.09em;

  text-transform: uppercase;
}

.leader-card dd {
  margin: 0;

  color: #36413b;

  font-size: 0.8rem;
  line-height: 1.65;
}

/* Process */

.trade-process {
  position: relative;
  overflow: hidden;
  padding-block: 86px;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(10, 150, 80, 0.22),
      transparent 20%
    ),
    var(--green-deep);
  color: var(--white);
}

.trade-process::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
}

.trade-process > .shell {
  position: relative;
  z-index: 2;
}

.trade-process__heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.process-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
}

.process-grid article {
  min-height: 220px;
  padding: 24px;
  background: rgba(2, 47, 28, 0.82);
  backdrop-filter: blur(4px);
}

.process-grid article > span {
  color: #6de1a2;
  font-size: 0.65rem;
  font-weight: 800;
}

.process-grid h3 {
  margin: 42px 0 9px;
  font-family: var(--font-display);
  font-size: 1.16rem;
  letter-spacing: -0.03em;
}

.process-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  line-height: 1.7;
}

/* Contact */

.contact-section {
  padding-block: 72px;
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */

.contact-section {
  padding-block: 72px;
}

.contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;

  background:
    linear-gradient(
      110deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.9) 48%,
      rgba(232, 244, 238, 0.92) 100%
    ),
    url("../assets/images/9-contact-map.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-section::after {
  content: "";
  position: absolute;
  z-index: -1;

  top: 8%;
  right: -180px;

  width: 520px;
  height: 520px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(5, 120, 60, 0.07) 0%,
    rgba(5, 120, 60, 0.025) 45%,
    transparent 72%
  );

  pointer-events: none;
}

/* Keep form content safely above background */
.contact-section .shell {
  position: relative;
  z-index: 1;
}

.contact-panel {
  position: relative;
  display: grid;
  overflow: hidden;
  isolation: isolate;

  gap: 42px;
  padding: 30px;

  border: 1px solid rgba(5, 120, 60, 0.14);
  border-radius: var(--radius-xl);

  background: var(--white);
  color: var(--ink);

  box-shadow: var(--shadow-md);
}

/* Background image + soft whitish green overlay */
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;

  background:
    linear-gradient(
      110deg,
      rgba(255, 255, 255, 0.86) 0%,
      rgba(248, 252, 250, 0.82) 42%,
      rgba(232, 244, 238, 0.86) 100%
    ),
    url("../assets/images/9-contact-map.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transform: scale(1.02);
}

/* Decorative rings */
.contact-panel::after {
  content: "";
  position: absolute;
  z-index: -1;

  right: -90px;
  bottom: -120px;

  width: 330px;
  aspect-ratio: 1;

  border: 1px solid rgba(5, 120, 60, 0.08);
  border-radius: 50%;

  box-shadow:
    0 0 0 44px rgba(5, 120, 60, 0.025),
    0 0 0 88px rgba(5, 120, 60, 0.018);

  pointer-events: none;
}

/* Keep content above background */
.contact-panel__copy,
.contact-panel__meta {
  position: relative;
  z-index: 2;
}

/* Eyebrow */
.contact-panel .eyebrow {
  color: var(--green);
}

.contact-panel .eyebrow::before {
  background: currentColor;
}

/* Heading */
.contact-panel h2 {
  color: var(--green-deep);
}

/* Description */
.contact-panel__copy > p:not(.eyebrow) {
  max-width: 700px;

  margin: 20px 0 0;

  color: var(--muted);

  line-height: 1.8;
}

/* CTA buttons */
.contact-panel__actions {
  display: flex;
  flex-direction: column;

  gap: 10px;

  margin-top: 26px;
}

/* Primary button */
.contact-panel .button--primary {
  background: var(--green);
  color: var(--white);

  box-shadow: 0 14px 35px rgba(5, 120, 60, 0.2);
}

.contact-panel .button--primary:hover {
  background: var(--green-dark);
}

/* Outline button */
.contact-panel .button--outline {
  border-color: rgba(5, 120, 60, 0.22);

  background: rgba(255, 255, 255, 0.58);

  color: var(--green-deep);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-panel .button--outline:hover {
  border-color: var(--green);

  background: var(--green);

  color: var(--white);
}

/* =========================================================
   CONTACT INFORMATION PANEL
   ========================================================= */

.contact-panel__meta {
  display: grid;

  gap: 1px;

  overflow: hidden;

  border: 1px solid rgba(5, 120, 60, 0.13);
  border-radius: var(--radius-md);

  background: rgba(255, 255, 255, 0.55);

  box-shadow: 0 18px 45px rgba(8, 37, 22, 0.06);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.contact-panel__meta > div {
  padding: 18px;

  background: rgba(255, 255, 255, 0.68);

  transition:
    background 0.25s ease,
    transform 0.25s var(--ease);
}

.contact-panel__meta > div:hover {
  background: rgba(255, 255, 255, 0.86);
}

/* Labels */
.contact-panel__meta small {
  display: block;

  margin-bottom: 5px;

  color: var(--muted-2);

  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;

  text-transform: uppercase;
}

/* Phone numbers / operating model */
.contact-panel__meta a,
.contact-panel__meta p {
  margin: 0;

  color: var(--green-deep);

  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;

  letter-spacing: -0.015em;
}

/* Phone hover */
.contact-panel__meta a {
  transition: color 0.2s ease;
}

.contact-panel__meta a:hover {
  color: var(--green);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (min-width: 560px) {
  .contact-panel__actions {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 720px) {
  .contact-panel {
    padding: 52px;
  }

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

@media (min-width: 980px) {
  .contact-panel {
    grid-template-columns:
      minmax(0, 1.15fr)
      minmax(360px, 0.85fr);

    align-items: end;

    padding: 62px;
  }

  .contact-panel__meta {
    grid-template-columns: 1fr;
  }
}

/* Footer */

.site-footer {
  padding-block: 58px 28px;
  background: var(--black);
  color: var(--white);
}

.brand--footer {
  display: inline-flex;
  align-items: center;
}

.brand__logo--footer {
  display: block;

  width: auto;
  height: 48px;

  object-fit: contain;
}

.site-footer__top {
  display: grid;
  gap: 22px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__top > p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.86rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 18px;
  padding-block: 36px;
}

.site-footer__grid > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer__grid small {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__grid a,
.site-footer__grid button {
  width: fit-content;
  padding: 0;
  background: none;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 0.79rem;
  text-align: left;
  transition: color 0.2s ease;
}

.site-footer__grid a:hover,
.site-footer__grid button:hover {
  color: var(--white);
}

.site-footer__bottom {
  display: grid;
  gap: 7px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.66rem;
}

/* Privacy / cookies */

.cookie-banner {
  position: fixed;
  z-index: 500;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 80px rgba(2, 28, 15, 0.2);
  backdrop-filter: blur(18px);
  animation: cookie-in 0.55s var(--ease);
}

@keyframes cookie-in {
  from {
    transform: translateY(26px);
    opacity: 0;
  }
}

.cookie-banner__icon {
  display: grid;
  width: 46px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.cookie-banner__icon svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.cookie-banner__copy strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.025em;
}

.cookie-banner__copy p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

.cookie-banner__actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.cookie-banner__actions .button--primary {
  grid-column: 1 / -1;
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
}

.privacy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 9, 5, 0.6);
  backdrop-filter: blur(6px);
}

.privacy-modal__dialog {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: 92svh;
  overflow: auto;
  padding: 24px 18px;
  border-radius: 28px 28px 0 0;
  background: var(--white);
  box-shadow: 0 -30px 90px rgba(0, 0, 0, 0.24);
  animation: modal-up 0.45s var(--ease);
}

@keyframes modal-up {
  from {
    transform: translateY(35px);
    opacity: 0;
  }
}

.privacy-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.privacy-modal__header .eyebrow {
  margin-bottom: 8px;
  font-size: 0.6rem;
}

.privacy-modal__header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.045em;
}

.icon-button {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--soft);
  cursor: pointer;
}

.icon-button span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 1.5px;
  background: var(--ink);
}

.icon-button span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.icon-button span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.privacy-modal__intro {
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.preference-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.preference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
}

.preference-row + .preference-row {
  border-top: 1px solid var(--line);
}

.preference-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.preference-row p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
}

.preference-status {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
}

.toggle {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 26px;
}

.toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.toggle > span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #d8dfdb;
  cursor: pointer;
  transition: background 0.2s ease;
}

.toggle > span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s var(--ease);
}

.toggle input:checked + span {
  background: var(--green);
}

.toggle input:checked + span::after {
  transform: translateX(18px);
}

.toggle input:focus-visible + span {
  outline: 3px solid rgba(5, 120, 60, 0.2);
  outline-offset: 2px;
}

.privacy-modal__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 20px;
}

/* Responsive */

@media (min-width: 560px) {
  .shell {
    width: min(100% - 48px, var(--shell));
  }

  .hero__actions,
  .contact-panel__actions {
    flex-direction: row;
    align-items: center;
  }

  .cookie-banner__actions {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
  }

  .cookie-banner__actions .button--primary {
    grid-column: auto;
  }

  .privacy-modal__actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 720px) {
  :root {
    --header-height: 82px;
  }

  .section {
    padding-block: 112px;
  }

  .section-heading {
    margin-bottom: 58px;
  }

  .section-heading--split {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: end;
    gap: 60px;
  }

  .section-heading__aside {
    margin-top: 0;
  }

  .hero__content {
    padding-top: calc(var(--header-height) + 90px);
    padding-bottom: 130px;
  }

  .hero__rail {
    max-width: 620px;
  }

  .hero-stat {
    padding: 22px 18px;
  }

  .hero-stat p {
    font-size: 0.74rem;
  }

  .hero__bottom > p {
    display: block;
  }

  .trust-strip__inner {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 36px;
  }

  .trust-strip__items {
    justify-content: flex-end;
  }

  .profile-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 64px;
    align-items: start;
  }

  .profile-system {
    position: sticky;
    top: calc(var(--header-height) + 24px);
  }

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

  .commodity-grid--compact {
    grid-template-columns: minmax(0, 1fr);
    max-width: calc(50% - 6px);
  }

  .trading-panel {
    padding: 36px;
  }

  .segmented-control button {
    min-height: 94px;
    padding: 18px 24px;
    font-size: 1.12rem;
  }

  .buying-intro {
    grid-template-columns: 1fr 0.75fr;
    align-items: end;
  }

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

  .hub-map {
    height: 440px;
  }

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

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

  .leader-card__body {
    padding: 28px;
  }

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

  .contact-panel {
    padding: 52px;
  }

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

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

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

  .site-footer__bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .cookie-banner {
    right: 24px;
    bottom: 24px;
    left: 24px;
    grid-template-columns: auto 1fr;
    align-items: center;
    padding: 20px 22px;
  }

  .cookie-banner__actions {
    grid-column: 2;
  }

  .privacy-modal__dialog {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    width: min(640px, calc(100% - 48px));
    max-height: 86vh;
    transform: translate(-50%, -50%);
    border-radius: 28px;
    animation: modal-center 0.45s var(--ease);
  }

  @keyframes modal-center {
    from {
      transform: translate(-50%, calc(-50% + 25px));
      opacity: 0;
    }
  }
}

@media (min-width: 980px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .desktop-nav a {
    position: relative;
    padding: 31px 0;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    opacity: 0.72;
    transition: opacity 0.2s ease;
  }

  .desktop-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 23px;
    left: 0;
    height: 1px;
    transform: scaleX(0);
    transform-origin: right;
    background: currentColor;
    transition: transform 0.28s var(--ease);
  }

  .desktop-nav a:hover {
    opacity: 1;
  }

  .desktop-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .header-cta {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    transition:
      background 0.25s ease,
      color 0.25s ease,
      border-color 0.25s ease;
  }

  .site-header.is-scrolled .header-cta,
  .site-header.menu-visible .header-cta {
    border-color: var(--green);
    background: var(--green);
    color: var(--white);
  }

  .header-cta:hover {
    border-color: var(--white);
    background: var(--white);
    color: var(--green-deep);
  }

  .site-header.is-scrolled .header-cta:hover {
    border-color: var(--green-dark);
    background: var(--green-dark);
    color: var(--white);
  }

  .nav-toggle,
  .mobile-menu {
    display: none;
  }

  .hero__content {
    grid-template-columns: minmax(0, 1fr) 230px;
    align-items: end;
    gap: 64px;
  }

  .hero__rail {
    display: grid;
    grid-template-columns: 1fr;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.17);
  }

  .hero-stat {
    padding: 22px 0 22px 28px;
  }

  .hero-stat + .hero-stat {
    border-top: 1px solid rgba(255, 255, 255, 0.17);
    border-left: 0;
  }

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

  .commodity-grid--compact {
    grid-template-columns: minmax(0, 1fr);
    max-width: calc(33.333% - 8px);
  }

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

  .leadership-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }

  .leader-card {
    display: flex;
    flex-direction: column;
  }

  .leader-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  .leader-card dl {
    margin-top: auto;
  }

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

  .contact-panel {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    align-items: end;
    padding: 62px;
  }

  .contact-panel__meta {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    max-width: 640px;
  }

  .cookie-banner {
    left: auto;
    width: min(720px, calc(100% - 48px));
    grid-template-columns: auto 1fr auto;
  }

  .cookie-banner__actions {
    grid-column: auto;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
}

@media (min-width: 1200px) {
  .desktop-nav {
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(5.4rem, 7.15vw, 6.9rem);
  }

  .profile-layout {
    gap: 92px;
  }

  .trading-panel {
    padding: 48px;
  }

  .commodity-card {
    min-height: 300px;
    padding: 26px;
  }

  .hub-card {
    padding: 34px;
  }

  .leadership-grid {
    gap: 22px;
  }

  .leader-card__body {
    padding: 30px;
  }

  .leader-card__role {
    right: 20px;
    bottom: 20px;
    left: 20px;

    padding: 11px 16px;

    font-size: 0.82rem;
  }

  .process-grid article {
    min-height: 280px;
    padding: 30px;
  }

  .process-grid h3 {
    margin-top: 82px;
  }
}

/* =========================================================
   EDITORIAL IMAGE SYSTEM
   Purpose: strategic image placement without visual clutter.
   Replace any .image-placeholder with an <img>.
   ========================================================= */

.editorial-image,
.trading-visual-card,
.hub-image-card,
.leadership-image-band {
  margin: 0;
}

.image-placeholder {
  position: relative;
  display: grid;
  min-height: 280px;
  place-items: center;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(5, 120, 60, 0.08), rgba(202, 19, 38, 0.025)),
    var(--soft);
  color: var(--green-deep);
  text-align: center;
}

.image-placeholder::before,
.image-placeholder::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.image-placeholder::before {
  width: 260px;
  aspect-ratio: 1;
  right: -90px;
  top: -90px;
  border: 1px solid rgba(5, 120, 60, 0.12);
  box-shadow:
    0 0 0 36px rgba(5, 120, 60, 0.025),
    0 0 0 72px rgba(5, 120, 60, 0.018);
}

.image-placeholder::after {
  width: 12px;
  aspect-ratio: 1;
  left: 24px;
  bottom: 24px;
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(202, 19, 38, 0.08);
}

.image-placeholder span {
  position: relative;
  z-index: 1;
  max-width: 280px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.image-placeholder small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.image-placeholder > img,
.editorial-image img,
.trading-visual-card img,
.hub-image-card img,
.leadership-image-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.editorial-image .image-placeholder {
  min-height: 360px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.editorial-image figcaption {
  display: grid;
  gap: 7px;
  padding: 18px 20px 20px;
}

.editorial-image figcaption span,
.leadership-image-band figcaption span,
.hub-image-card figcaption span {
  color: var(--red);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.editorial-image figcaption p,
.leadership-image-band figcaption p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

.trading-visual-strip {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.trading-visual-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.trading-visual-card .image-placeholder {
  min-height: 250px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.trading-visual-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
}

.trading-visual-card figcaption strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.trading-visual-card figcaption span {
  color: var(--muted);
  font-size: 0.68rem;
  text-align: right;
}

.hub-imagery-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.hub-image-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.hub-image-card .image-placeholder {
  min-height: 260px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.hub-image-card figcaption {
  display: grid;
  gap: 6px;
  padding: 18px 20px 20px;
}

.hub-image-card figcaption strong {
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: 0.94rem;
  letter-spacing: -0.02em;
}

.leadership-image-band {
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.leadership-image-band .image-placeholder {
  min-height: 220px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.leadership-image-band figcaption {
  display: grid;
  gap: 7px;
  padding: 18px 20px;
}

.image-placeholder--profile {
  background:
    linear-gradient(135deg, rgba(5, 120, 60, 0.11), rgba(255, 255, 255, 0)),
    linear-gradient(160deg, #edf4f0, #dfeae4);
}

.image-placeholder--energy {
  background:
    radial-gradient(circle at 75% 20%, rgba(5, 120, 60, 0.16), transparent 28%),
    linear-gradient(145deg, #eaf2ee, #dce8e1);
}

.image-placeholder--commodities {
  background:
    radial-gradient(
      circle at 20% 70%,
      rgba(202, 19, 38, 0.08),
      transparent 24%
    ),
    linear-gradient(145deg, #f4f3ef, #e9ebe6);
}

.image-placeholder--kuwait {
  background:
    radial-gradient(
      circle at 70% 30%,
      rgba(202, 19, 38, 0.06),
      transparent 20%
    ),
    linear-gradient(145deg, #edf3ef, #dde8e1);
}

.image-placeholder--srilanka {
  background:
    radial-gradient(circle at 28% 65%, rgba(5, 120, 60, 0.12), transparent 24%),
    linear-gradient(145deg, #f1f5f2, #e0e9e3);
}

.image-placeholder--boardroom {
  background:
    linear-gradient(110deg, rgba(5, 120, 60, 0.08), rgba(2, 2, 2, 0.025)),
    linear-gradient(145deg, #eef3f0, #e1e8e4);
}

@media (min-width: 720px) {
  .profile-layout--editorial {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
    align-items: start;
  }

  .profile-layout--editorial .profile-system {
    grid-column: 1 / -1;
    position: relative;
    top: auto;
  }

  .trading-visual-strip,
  .hub-imagery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leadership-image-band .image-placeholder {
    min-height: 300px;
  }
}

@media (min-width: 980px) {
  .profile-layout--editorial {
    grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.6fr) minmax(
        360px,
        1fr
      );
    gap: 28px;
  }

  .profile-layout--editorial .profile-system {
    grid-column: auto;
    position: sticky;
    top: calc(var(--header-height) + 24px);
  }

  .editorial-image {
    position: sticky;
    top: calc(var(--header-height) + 24px);
  }

  .editorial-image .image-placeholder {
    min-height: 430px;
  }

  .trading-visual-card .image-placeholder {
    min-height: 320px;
  }

  .hub-image-card .image-placeholder {
    min-height: 320px;
  }

  .leadership-image-band .image-placeholder {
    min-height: 360px;
  }
}

/* Reduced motion and accessibility */

:focus-visible {
  outline: 3px solid rgba(202, 19, 38, 0.34);
  outline-offset: 3px;
}

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

  [data-reveal] {
    transform: none;
    opacity: 1;
  }

  /*
    Keep the hero video visible.
    Playback behavior should be controlled in JavaScript rather than hiding
    the video with CSS, otherwise Windows/browser reduced-motion settings can
    make the hero appear as a static fallback.
  */
  .hero__media video {
    display: block;
  }
}

/* =========================================================
   Q8 WEB EDITS — 2026-09 CLIENT REVISION
   ========================================================= */

/* Logo visibility */
.site-header .brand {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.site-header.is-scrolled .brand,
.site-header.menu-visible .brand {
  border-color: var(--line);
  box-shadow: 0 7px 22px rgba(8, 32, 19, 0.07);
}

.hero .eyebrow {
  margin-bottom: 22px;
  font-size: clamp(0.82rem, 1.25vw, 0.98rem);
  letter-spacing: 0.12em;
}

.section-heading .eyebrow {
  font-size: clamp(0.86rem, 1.3vw, 1rem);
  letter-spacing: 0.12em;
}

/* Products */
.products-panel-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 24px 26px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--white), var(--soft));
}

.products-panel-heading > span {
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.products-panel-heading h3 {
  margin: 0;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1;
}

.category-block__heading p {
  font-size: clamp(0.82rem, 1.35vw, 0.98rem);
  letter-spacing: 0.08em;
}

.category-index {
  font-size: 0.78rem;
}

.commodity-card__top > span {
  min-width: 62px;
  min-height: 54px;
  padding: 8px 10px;
  font-size: clamp(0.92rem, 1.3vw, 1.08rem);
}

.commodity-card h4 {
  color: var(--green);
  font-size: clamp(1.25rem, 2vw, 1.48rem);
}

.commodity-card__meta {
  justify-content: flex-start;
}

/* Leadership portraits */
.leader-card__portrait {
  min-height: 270px;
  background:
    radial-gradient(circle at 50% 36%, rgba(5, 120, 60, 0.11), transparent 30%),
    linear-gradient(145deg, #eef5f1, #dde8e2);
}

.leader-card__portrait img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;

  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.leader-card__initials {
  position: absolute;
  inset: 0;
  z-index: 1;

  display: grid;
  place-items: center;

  color: rgba(5, 120, 60, 0.18);

  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 800;

  letter-spacing: -0.08em;
}

.leader-card__role {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 4;

  width: fit-content;

  padding: 10px 15px;

  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.92);

  color: var(--green-deep);

  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;

  letter-spacing: -0.015em;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Global hubs */
.hub-map {
  height: 750px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)),
    url("../assets/images/9-contact-map.jpg") center / cover no-repeat,
    linear-gradient(140deg, #f9fbfa, #edf3ef);
}

.map-grid {
  opacity: 0.2;
}

.hub-card__top {
  justify-content: flex-end;
  margin-bottom: 24px;
}

.hub-card .eyebrow {
  margin-bottom: 9px;
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.25;
  text-transform: none;
}

.hub-card .eyebrow::before {
  display: none;
}

.hub-card h3 {
  color: var(--green);
  font-size: clamp(0.96rem, 1.6vw, 1.16rem);
  letter-spacing: -0.02em;
}

.hub-contact {
  gap: 4px;
}

.hub-contact__email {
  margin-top: 5px;
  color: var(--green-deep) !important;
  font-family: var(--font-body) !important;
  font-size: 0.8rem !important;
  font-weight: 700;
}

/* =========================================================
   EXPANDED TRADE INQUIRY FORM
   Uses existing Q8 Petrol color system.
   ========================================================= */

.contact-panel {
  align-items: start;
}

.contact-panel__copy > .contact-form__intro {
  max-width: 680px;
  margin: 18px 0 30px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.trade-inquiry-form {
  display: grid;
  gap: 0;
  margin-top: 34px;
}

/* =========================================================
   FORM SECTIONS
   ========================================================= */

.trade-form-section {
  min-width: 0;
  margin: 0;
  padding: 30px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.trade-form-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.trade-form-heading {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;

  color: var(--green-deep);

  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.trade-form-heading__number {
  display: inline-grid;
  min-width: 36px;
  height: 27px;
  place-items: center;

  padding-inline: 7px;

  border: 1px solid var(--green);
  border-radius: 999px;

  color: var(--green);

  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* =========================================================
   GRID
   ========================================================= */

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 3fr));
  column-gap: 16px;
  row-gap: 18px;
}

/* =========================================================
   FIELDS
   ========================================================= */

.contact-form__field {
  min-width: 0;
}

.contact-form__field > span,
.contact-form__label {
  display: block;

  color: var(--muted);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.contact-form__required {
  display: inline !important;
  margin-left: 3px;
  color: var(--red) !important;
}

/* =========================================================
   INPUTS / SELECTS / TEXTAREA
   ========================================================= */

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;

  border: 1px solid var(--line);
  border-radius: var(--radius-sm);

  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);

  font-family: var(--font-body);
  font-size: 0.86rem;

  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 46px;
  padding-inline: 13px;
}

.contact-form textarea {
  /* min-height: 128px;s */
  padding: 14px;
  line-height: 1.65;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted-2);
}

.contact-form__message {
  width: 100%;
}

.contact-form textarea {
  width: 100%;
  min-height: 110px;
}

/* Select arrow */

.contact-form select {
  appearance: none;
  -webkit-appearance: none;

  padding-right: 42px;

  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);

  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;

  background-size:
    5px 5px,
    5px 5px;

  background-repeat: no-repeat;
}

/* Focus */

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;

  border-color: var(--green);

  background-color: var(--white);

  box-shadow: 0 0 0 3px rgba(5, 120, 60, 0.1);
}

/* =========================================================
   QUANTITY + UNIT
   ========================================================= */

.contact-form__quantity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  gap: 7px;
}

/* =========================================================
   CONFIRMATION CHECKBOXES
   ========================================================= */

.contact-form__confirmations {
  margin-top: 2px;
  border-top: 1px solid var(--line);
}

.contact-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  padding: 17px 0;

  cursor: pointer;
}

.contact-form__checkbox + .contact-form__checkbox {
  border-top: 1px solid var(--line);
}

.contact-form__checkbox input[type="checkbox"] {
  flex: 0 0 auto;

  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;

  margin: 2px 0 0;
  padding: 0;

  accent-color: var(--green);

  cursor: pointer;
}

.contact-form__checkbox > span {
  color: var(--muted);

  font-size: 0.76rem;
  line-height: 1.65;
}

/* =========================================================
   SUBMIT AREA
   ========================================================= */

.contact-form__submit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;

  margin-top: 28px;
}

.contact-form__submit .button {
  width: fit-content;
}

.contact-form__note {
  margin: 0;

  color: var(--muted-2);

  font-size: 0.68rem;
  line-height: 1.5;
}

/* =========================================================
   CONTACT META
   Prevent the right panel from stretching awkwardly
   next to the longer form.
   ========================================================= */

@media (min-width: 980px) {
  .contact-panel {
    align-items: start;
  }

  .contact-panel__meta {
    position: sticky;
    top: calc(var(--header-height) + 28px);
  }
}
@media (max-width: 1050px) {
  .contact-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 620px) {
  /* .contact-form__grid {
    grid-template-columns: 1fr;
  } */

  .contact-form__submit {
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 619px) {
  .trade-form-section {
    padding-block: 26px;
  }

  .trade-form-heading {
    margin-bottom: 18px;
    font-size: 0.96rem;
  }

  .contact-form__quantity {
    grid-template-columns: minmax(0, 1fr) 90px;
  }

  .contact-form input,
  .contact-form select {
    min-height: 52px;
  }

  .contact-form__checkbox {
    gap: 10px;
  }
  .hub-map {
    height: 200px;
  }
}

@media (min-width: 980px) {
  .hub-map {
    min-height: 500px;
  }
}
