/* =========================================================
   RS Square Pte. Ltd. — Corporate Website
   Palette: deep navy, white, subtle gold
   ========================================================= */

:root {
  /* Brand colours taken from the RS Square logo */
  --forest-950: #0E1A12;
  --forest-900: #142519;
  --forest-800: #1D3322;
  --forest-700: #2E4A2C;
  --forest-600: #4A6635;
  --green: #5E7D43;         /* logo wordmark green */
  --green-light: #7A8C43;   /* logo arrow olive */
  --orange: #EE6A24;        /* logo orange */
  --orange-light: #F58A3C;
  --orange-dark: #C24F14;   /* orange for small text on white (AA contrast) */
  --orange-grad: linear-gradient(135deg, #F3852A 0%, #EE6A24 45%, #C9572D 100%);
  --ink: #0F1E33;
  --muted: #56667D;
  --line: #E2E7EE;
  --soft: #F4F6FA;
  --white: #FFFFFF;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-brand: "Josefin Sans", "Inter", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(29, 51, 34, .06);
  --shadow-md: 0 18px 40px -18px rgba(29, 51, 34, .28);
  --shadow-lg: 0 30px 70px -30px rgba(14, 26, 18, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 96px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, address { margin: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--orange); color: var(--forest-900); padding: 10px 18px; border-radius: var(--radius-sm);
  font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange-dark); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--orange-light); }
.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--forest-700);
  margin-bottom: 22px;
}
.section-title.light, .light { color: var(--white); }
.section-intro { color: var(--muted); font-size: 1.06rem; max-width: 680px; }
.section-intro.light { color: rgba(255, 255, 255, .72); }
.section-head { margin-bottom: clamp(44px, 6vw, 68px); }
.section-head.center { text-align: center; }
.section-head.center .section-intro { margin-inline: auto; }
.light-text { color: rgba(255, 255, 255, .74); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease),
    border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-gold { background: var(--orange-grad); color: var(--white); text-shadow: 0 1px 1px rgba(120, 40, 0, .25); }
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(238, 106, 36, .6); }
.btn-outline-light { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--forest-800); border-color: var(--white); }
.btn-navy { background: var(--green); color: var(--white); }
.btn-navy:hover { background: var(--forest-600); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .92rem; color: var(--forest-700);
  border-bottom: 1px solid transparent; transition: color .25s, border-color .25s, gap .25s;
}
.text-link:hover { color: var(--orange-dark); border-color: currentColor; gap: 12px; }
.text-link.small { font-size: .85rem; margin-top: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
/* Background lives on a pseudo-element: a backdrop-filter on the header itself
   would trap the fixed-position mobile menu inside the header bar. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 50%, var(--green) 100%) 1;
  transition: box-shadow .35s var(--ease);
}
.site-header.scrolled { --header-h: 80px; }
.site-header.scrolled::before { box-shadow: 0 10px 30px -14px rgba(29, 51, 34, .35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.site-header .brand { position: relative; z-index: 120; }
.brand-mark { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-brand); font-weight: 700; font-size: 1.28rem; letter-spacing: .08em; padding-top: 4px; }
.brand-sub { font-family: var(--font-brand); font-weight: 600; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--orange-light); margin-top: 5px; }
/* Header logo: large, full brand colours */
.site-header .brand { gap: 16px; }
.site-header .brand-mark { width: 66px; height: 66px; transition: width .35s var(--ease), height .35s var(--ease); }
.site-header.scrolled .brand-mark { width: 54px; height: 54px; }
.site-header .brand-name { color: var(--green); font-size: 1.62rem; letter-spacing: .05em; }
.site-header .brand-sub { color: var(--orange); font-size: .84rem; letter-spacing: .14em; margin-top: 6px; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; }
.nav-link {
  position: relative; display: block; padding: 8px 12px;
  font-size: .9rem; font-weight: 500; color: var(--forest-800);
  transition: color .25s;
}
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--orange-dark); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-cta { min-height: 44px; padding: 0 22px; font-size: .88rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); border: 1px solid rgba(94, 125, 67, .4);
  cursor: pointer; position: relative; z-index: 120;
}
.nav-toggle .bar {
  position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--green); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease);
}
.nav-toggle .bar:nth-child(1) { top: 16px; }
.nav-toggle .bar:nth-child(2) { top: 22px; }
.nav-toggle .bar:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  color: var(--white); overflow: hidden; isolation: isolate;
  padding-top: var(--header-h);
}
.hero-media {
  position: absolute; inset: -4% 0 0 0; z-index: -2;
  background: var(--forest-900) url("assets/images/hero-port.webp") center / cover no-repeat;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(14, 26, 18, .94) 0%, rgba(20, 37, 25, .82) 42%, rgba(20, 37, 25, .35) 100%),
    linear-gradient(0deg, rgba(14, 26, 18, .85) 0%, rgba(14, 26, 18, 0) 40%);
}
.hero-content { padding-block: 56px 150px; }
.hero-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.6rem, 6.6vw, 5.4rem); line-height: 1.04; letter-spacing: -.015em;
  max-width: 13ch; margin-bottom: 28px;
}
.hero-title .accent { font-style: italic; color: var(--orange-light); }
.hero-lead { max-width: 600px; font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(255, 255, 255, .8); margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-divisions {
  position: absolute; left: 0; right: 0; bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: rgba(14, 26, 18, .45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.division-strip { display: grid; grid-template-columns: repeat(5, 1fr); }
.division-strip li + li { border-left: 1px solid rgba(255, 255, 255, .12); }
.division-strip a {
  display: flex; align-items: center; gap: 12px; padding: 24px 20px;
  font-size: .9rem; font-weight: 500; color: rgba(255, 255, 255, .85);
  transition: background-color .3s, color .3s;
}
.division-strip a:hover { background: rgba(238, 106, 36, .12); color: var(--white); }
.division-strip .num { font-family: var(--font-display); font-style: italic; color: var(--orange); font-size: 1rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-media { position: relative; }
.framed { position: relative; border-radius: var(--radius); }
.framed::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid var(--orange); border-radius: var(--radius); z-index: -1;
}
.framed img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.hq-card {
  position: absolute; left: -18px; bottom: -30px;
  display: flex; align-items: center; gap: 14px;
  background: var(--forest-800); color: var(--white);
  padding: 18px 24px; border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
}
.hq-card .icon { width: 28px; height: 28px; color: var(--orange); }
.hq-label { display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.hq-value { display: block; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.2; }
.about-copy > p { color: var(--muted); margin-bottom: 18px; }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin-top: 36px; padding-top: 34px; border-top: 1px solid var(--line); }
.pillar { display: flex; gap: 16px; align-items: flex-start; }
.pillar-icon {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; background: #FDF0E8; color: var(--orange-dark);
  border: 1px solid #F8D5C0;
}
.pillar h3 { font-size: 1rem; font-weight: 600; color: var(--forest-800); margin-bottom: 4px; line-height: 1.4; }
.pillar p { font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* ---------- Services ---------- */
.services { background: var(--soft); }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.service-card {
  grid-column: span 2;
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.service-card.large { grid-column: span 3; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(238, 106, 36, .5); }
.service-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--forest-800); }
.service-card.large .service-media { aspect-ratio: 16 / 9; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.06); }
.service-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 37, 25, 0) 50%, rgba(20, 37, 25, .55) 100%); }
.service-num {
  position: absolute; right: 18px; bottom: 12px; z-index: 1;
  font-family: var(--font-display); font-style: italic; font-size: 2.2rem; line-height: 1;
  color: rgba(255, 255, 255, .9);
}
.service-body { position: relative; padding: 40px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.service-icon {
  position: absolute; top: -28px; left: 30px;
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 50%; background: var(--orange-grad); color: var(--white);
  box-shadow: 0 0 0 5px var(--white);
}
.service-icon .icon { width: 26px; height: 26px; }
.service-body h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; color: var(--green); margin-bottom: 10px; line-height: 1.25; }
.service-body > p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.ticks { display: grid; gap: 8px; margin-bottom: 24px; }
.ticks li { position: relative; padding-left: 26px; font-size: .92rem; color: var(--ink); line-height: 1.55; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px;
  border-left: 1.8px solid var(--green); border-bottom: 1.8px solid var(--green);
  transform: rotate(-45deg);
}
.service-card.large .ticks { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.service-body .text-link { margin-top: auto; align-self: flex-start; }

/* ---------- Why choose ---------- */
.why { background: var(--forest-900); color: var(--white); overflow: hidden; isolation: isolate; }
.why-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 37, 25, .95), rgba(20, 37, 25, .88)),
    url("assets/images/band-logistics.webp") center / cover no-repeat;
}
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.why-item {
  padding: 40px 28px 10px 0; position: relative;
}
.why-item + .why-item { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .1); }
.why-item::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--orange);
  transition: width .6s var(--ease);
}
.why-item:hover::before { width: 100%; }
.why-icon {
  width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 22px;
  border: 1px solid rgba(238, 106, 36, .5); border-radius: 50%; color: var(--orange);
}
.why-icon .icon { width: 24px; height: 24px; }
.why-item h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.22rem; line-height: 1.3; margin-bottom: 10px; }
.why-item p { font-size: .9rem; color: rgba(255, 255, 255, .68); line-height: 1.65; }

/* ---------- Global reach ---------- */
.reach {
  background:
    radial-gradient(ellipse 60% 70% at 75% 50%, rgba(94, 125, 67, .55), transparent 70%),
    var(--forest-950);
  color: var(--white);
}
.reach-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.reach-list { display: grid; gap: 4px; margin-top: 34px; }
.reach-list li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.reach-list .icon { width: 26px; height: 26px; color: var(--orange); margin-top: 2px; }
.reach-list strong { display: block; font-weight: 600; margin-bottom: 2px; }
.reach-list span { font-size: .92rem; color: rgba(255, 255, 255, .65); }

.globe-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
#globe { width: 100%; max-width: 560px; height: auto; aspect-ratio: 1; cursor: grab; touch-action: pan-y; }
#globe:active { cursor: grabbing; }
.globe-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 18px; font-size: .82rem; color: rgba(255, 255, 255, .65); }
.globe-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.dot-gold { background: var(--orange); box-shadow: 0 0 0 4px rgba(238, 106, 36, .25); }
.dot-line { width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(245, 138, 60, .2), var(--orange-light)); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--orange-grad); color: var(--white); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 44px; flex-wrap: wrap; }
.cta-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25; }
.cta-band .btn-gold { background: var(--forest-800); color: var(--white); text-shadow: none; }
.cta-band .btn-gold:hover { background: var(--forest-900); filter: none; box-shadow: 0 14px 30px -12px rgba(14, 26, 18, .6); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-info > p { color: var(--muted); margin-bottom: 32px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: border-color .3s, box-shadow .3s;
}
.contact-card:hover { border-color: rgba(238, 106, 36, .6); box-shadow: var(--shadow-sm); }
.contact-icon {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; background: var(--green); color: var(--white);
}
.contact-card h3 { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.contact-card address, .contact-card > div > a:not(.text-link) { color: var(--forest-800); font-weight: 500; line-height: 1.6; }
.contact-card > div > a:not(.text-link):hover { color: var(--orange-dark); }

.form-card {
  background: var(--white); border-radius: calc(var(--radius) + 4px);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
}
.form-title { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; color: var(--forest-800); margin-bottom: 4px; }
.form-note { font-size: .85rem; color: var(--muted); margin-bottom: 26px; }
.enquiry-form { display: grid; gap: 4px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { display: flex; flex-direction: column; }
.field label { font-size: .86rem; font-weight: 600; color: var(--forest-800); margin-bottom: 7px; }
.req { color: var(--orange-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; min-height: 50px;
  border: 1px solid #CBD3DF; border-radius: var(--radius-sm); background: #FBFCFE;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--forest-600); background: var(--white);
  box-shadow: 0 0 0 3px rgba(238, 106, 36, .35);
}
.field ::placeholder { color: #8A97A8; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px;
  border-right: 1.6px solid var(--forest-700); border-bottom: 1.6px solid var(--forest-700);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C0392B; background: #FFF8F7; }
.error { min-height: 1.4em; font-size: .8rem; color: #B03A2E; margin-top: 4px; line-height: 1.4; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-form .btn { margin-top: 8px; }

.form-status { font-size: .92rem; border-radius: var(--radius-sm); }
.form-status:not(:empty) { margin-top: 16px; padding: 14px 18px; }
.form-status.success { background: #EEF7F0; color: #1E5B32; border: 1px solid #BFDFC8; }
.form-status.error-msg { background: #FFF4F2; color: #8E2C21; border: 1px solid #F1C4BD; }
.form-status a { text-decoration: underline; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-950); color: rgba(255, 255, 255, .7); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 72px 56px; }
.footer-brand p { margin-top: 20px; max-width: 320px; line-height: 1.7; }
.footer-head { font-family: var(--font-body); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-light); font-weight: 600; margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { transition: color .25s; }
.footer-col a:hover { color: var(--white); }
.footer-contact { display: grid; gap: 14px; }
.footer-contact > * { display: flex; gap: 12px; align-items: flex-start; line-height: 1.6; }
.footer-contact .icon { color: var(--orange); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 22px; font-size: .84rem; color: rgba(255, 255, 255, .5); }
.footer-tag { font-family: var(--font-display); font-style: italic; color: var(--orange-light); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  background: var(--orange-grad); color: var(--white); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { filter: brightness(1.08); }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .nav-list { gap: 0; }
  .nav-link { padding: 8px 9px; font-size: .86rem; }
  .nav-cta { display: none; }
  .why-grid { grid-template-columns: repeat(3, 1fr); row-gap: 10px; }
  .why-item:nth-child(4) { border-left: 0; padding-left: 0; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed; inset: 0; z-index: 110;
    flex-direction: column; justify-content: center; align-items: stretch; gap: 32px;
    padding: 120px var(--gutter) 40px;
    background: var(--white);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
    overflow-y: auto;
  }
  .primary-nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link {
    font-family: var(--font-display); font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 500;
    padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--forest-700);
  }
  .nav-link::after { display: none; }
  .nav-link.active { color: var(--orange-dark); }
  .nav-cta { display: inline-flex; align-self: flex-start; min-height: 50px; padding: 0 28px; }

  .hero-divisions { display: none; }
  .hero-content { padding-bottom: 80px; }
  .about-grid, .reach-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 680px; margin-bottom: 36px; }
  .service-card, .service-card.large { grid-column: span 3; }
  .service-card.large .ticks { grid-template-columns: 1fr; }
  .globe-wrap { max-width: 520px; margin-inline: auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 78px; }
  .site-header.scrolled { --header-h: 70px; }
  .site-header .brand { gap: 10px; }
  .site-header .brand-mark, .site-header.scrolled .brand-mark { width: 48px; height: 48px; }
  .site-header .brand-name { font-size: 1.12rem; }
  .site-header .brand-sub { font-size: .66rem; letter-spacing: .1em; }
  .service-grid { grid-template-columns: 1fr; gap: 22px; }
  .service-card, .service-card.large { grid-column: auto; }
  .service-body { padding: 38px 22px 24px; }
  .service-icon { left: 22px; }
  .pillars { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item, .why-item + .why-item { padding: 28px 0 22px; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .form-row.two { grid-template-columns: 1fr; }
  .framed::before { inset: 14px -10px -14px 14px; }
  .hq-card { left: 12px; bottom: -26px; padding: 14px 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cta-inner .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-block: 56px 40px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Header fit (large logo) ---------- */
.site-header .container { max-width: 1360px; }
.site-header .brand-name, .site-header .brand-sub, .nav-link { white-space: nowrap; }
.site-header .brand-name { font-size: 1.5rem; }
.primary-nav { gap: 18px; }
.nav-link { padding: 8px 11px; }
@media (max-width: 1280px) {
  .primary-nav .nav-cta { display: none; }
}
@media (max-width: 1024px) {
  .primary-nav .nav-cta { display: inline-flex; }
}
@media (max-width: 720px) {
  .site-header .brand-name { font-size: 1.08rem; }
}
@media (max-width: 360px) {
  .site-header .brand-sub { display: none; }
}
