/* Greensley site skin.
   Loaded after the Mobirise theme and overrides only what the pages use.
   Palette: brand green + warm off-white. Type: Jost. */

:root {
  --brand: #21411c;
  --brand-deep: #162b12;
  --bg: #f7f6f2;
  --surface: #ffffff;
  --ink: #15180f;
  --muted: #5c6156;
  --line: #e3e0d6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(21, 24, 15, 0.04), 0 18px 44px -24px rgba(21, 24, 15, 0.45);
  --wrap: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Base ---------- */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}

h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  letter-spacing: -0.01em;
}

p {
  line-height: 1.7;
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 1rem;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--muted);
  max-width: 72ch;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--brand);
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.2;
  transition: background 0.15s ease, transform 0.15s ease;
}

.button:hover,
.button:focus {
  background: var(--brand-deep);
  color: #fff;
  transform: translateY(-1px);
}

.button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.button--ghost:hover,
.button--ghost:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

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

.button--outline:hover,
.button--outline:focus {
  background: var(--surface);
  border-color: var(--brand);
  color: var(--brand);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ---------- Navigation ---------- */

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-nav__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0.7rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
}

.site-nav__brand img {
  height: 2.1rem;
  width: auto;
}

.site-nav__brand span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav__toggle {
  display: none;
  padding: 0.4rem;
  background: none;
  border: 0;
  cursor: pointer;
}

.site-nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: opacity 0.15s ease;
}

.site-nav .nav-link {
  display: block;
  padding: 0.5rem 0.7rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  color: var(--brand);
}

.site-nav .dropdown-menu {
  min-width: 12rem;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.site-nav .dropdown-item {
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.4;
}

.site-nav .dropdown-item:hover,
.site-nav .dropdown-item:focus {
  background: var(--bg);
  color: var(--brand);
}

@media (min-width: 992px) {
  .site-nav__menu.collapse {
    display: block;
    flex: 1 1 auto;
  }

  .site-nav__menu .nav {
    justify-content: flex-end;
  }
}

@media (max-width: 991px) {
  .site-nav {
    background: #fff;
  }

  .site-nav__inner {
    flex-wrap: wrap;
  }

  .site-nav__toggle {
    display: block;
  }

  .site-nav__brand span {
    white-space: nowrap;
  }

  .site-nav__menu {
    flex-basis: 100%;
    padding: 0.5rem 0 1rem;
  }

  .site-nav__menu .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav .nav-link {
    padding: 0.6rem 0.25rem;
  }

  .site-nav .dropdown-menu {
    border: 0;
    box-shadow: none;
    padding: 0 0 0.5rem 0.75rem;
  }
}

@media (max-width: 420px) {
  .site-nav__brand span {
    display: none;
  }
}

/* Page header for inner pages */

.page-head {
  padding: clamp(6rem, 10vw, 8rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  margin-bottom: 0.35em;
  max-width: 22ch;
}

.page-head .lede {
  max-width: 62ch;
}

.crumbs {
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.crumbs a {
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--brand);
}

/* Article prose (legal and long-form pages) */

.prose {
  max-width: 72ch;
}

.prose h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.prose h3 {
  margin-top: 2rem;
}

.prose ul {
  margin: 0 0 1.1em;
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.35rem;
  line-height: 1.6;
}

/* Definition list for data (bank details) */

.fields {
  margin: 0;
}

.fields dt {
  margin-top: 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.fields dt:first-child {
  margin-top: 0;
}

.fields dd {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Document list */
.docs {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.docs li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.docs span {
  color: var(--muted);
  font-size: 0.9rem;
}

.docs a {
  color: var(--brand);
  font-weight: 500;
}

.docs a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}

figure {
  margin: 0;
}

.figure-img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  border-radius: var(--radius);
}

.figure-caption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Hero ---------- */

.hero {
  display: flex;
  align-items: flex-end;
  min-height: min(88vh, 760px);
  padding: 9rem 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  color: #fff;
  background: var(--brand-deep) url("../../images/hero-field.webp") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 24, 9, 0.75) 0%, rgba(11, 24, 9, 0.4) 45%, rgba(11, 24, 9, 0.88) 100%);
}

.hero .wrap {
  position: relative;
}

.hero h1 {
  color: #fff;
  max-width: 16ch;
  margin-bottom: 0.5em;
}

.hero .kicker {
  color: rgba(255, 255, 255, 0.75);
}

.hero .lede {
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 767px) {
  .hero {
    min-height: 78vh;
    padding-top: 7rem;
  }
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  background: var(--surface);
}

section.section--muted {
  background: var(--bg);
}

section.section--brand {
  background: var(--brand);
  color: #fff;
}

section.section--brand .panel {
  color: var(--ink);
}

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section__head {
  max-width: 72ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* About */

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split img {
  width: 100%;
  height: auto;
  max-height: 440px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 25%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.note {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

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

  .split img {
    max-width: 320px;
  }
}

/* Pillars */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.pillar {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.pillar img {
  display: block;
  flex: none;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.pillar__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.pillar h3 {
  margin-bottom: 0.5rem;
}

.pillar p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}

/* Freight forwarding band */

.bonus {
  padding-block: clamp(3rem, 7vw, 5.5rem);
  background: var(--brand);
  color: #fff;
}

.bonus__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.bonus h2 {
  color: #fff;
}

.bonus .kicker {
  color: rgba(255, 255, 255, 0.65);
}

.bonus p {
  color: rgba(255, 255, 255, 0.82);
}

.bonus a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.bonus a:hover {
  color: #fff;
  text-decoration-thickness: 2px;
}

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

/* Principles */

.principles .wrap {
  max-width: 960px;
}

.principles__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.principles img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.principles p {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink);
}

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

/* Panel (PDF verification, etc.) */

.panel {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact__list li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  line-height: 1.5;
}

.contact__list span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact__list a {
  color: var(--ink);
  font-weight: 500;
}

.contact__list a:hover {
  color: var(--brand);
}

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

/* ---------- Footer ---------- */

.site-footer {
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  background: var(--brand-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

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

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h2 {
  margin-bottom: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.site-footer__brand img {
  height: 2.1rem;
  width: auto;
  margin-bottom: 1rem;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__bottom p {
  margin: 0;
}

@media (max-width: 991px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}
