/* =========================================================
   Oak Bridge Commodities — Stylesheet
   ========================================================= */

:root {
  --navy: #0b2233;
  --navy-deep: #071722;
  --gold: #c8952e;
  --gold-light: #e3b45e;
  --cream: #f7f3ec;
  --off-white: #fbf9f5;
  --ink: #1a1f24;
  --grey: #5c6670;
  --line: #e4ded2;
  --radius: 14px;
  --shadow-sm: 0 6px 20px rgba(11, 34, 51, 0.08);
  --shadow-md: 0 18px 50px rgba(11, 34, 51, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loading { overflow: hidden; height: 100vh; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  background: var(--navy);
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.preloader::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(200, 149, 46, 0.12), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(200, 149, 46, 0.08), transparent 55%);
}
.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-mark {
  position: relative;
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader-mark img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  animation: preloaderPulse 1.8s ease-in-out infinite;
}
.preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(200, 149, 46, 0.18);
  border-top-color: var(--gold);
  animation: preloaderSpin 1.1s linear infinite;
}
.preloader-word {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
}
.preloader-word strong {
  font-family: "Fraunces", serif;
  font-size: 19px;
  letter-spacing: 0.04em;
  color: #fff;
}
.preloader-word span {
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.preloader-bar {
  width: 160px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.preloader-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: preloaderBar 1.3s ease-in-out infinite;
}
@keyframes preloaderSpin { to { transform: rotate(360deg); } }
@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.92); opacity: 0.75; }
}
@keyframes preloaderBar {
  0% { left: -40%; }
  100% { left: 100%; }
}

/* ---------- Page fade-in after load ---------- */
body.is-loading .site-header,
body.is-loading main,
body.is-loading .page-hero,
body.is-loading .section,
body.is-loading .site-footer {
  opacity: 0;
}
.page-fade-in {
  animation: pageFadeIn 0.7s var(--ease) both;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .preloader-mark img, .preloader-ring, .preloader-bar::after, .page-fade-in { animation: none !important; }
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.section {
  padding: 110px 0;
}
.section--tight { padding: 80px 0; }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy .eyebrow { color: var(--gold-light); }
.section--cream { background: var(--cream); }

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); margin-top: 14px; }
.section-head p { margin-top: 18px; font-size: 17px; color: var(--grey); line-height: 1.7; }
.section--navy .section-head p { color: #c6d3db; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn svg { transition: transform 0.35s var(--ease); width: 16px; height: 16px; }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }

.btn--gold { background: var(--gold); color: #1c1305; box-shadow: 0 10px 26px rgba(200, 149, 46, 0.35); }
.btn--gold:hover { background: var(--gold-light); box-shadow: 0 16px 34px rgba(200, 149, 46, 0.45); }

.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(247, 243, 236, 0.4); }
.btn--ghost:hover { background: rgba(247, 243, 236, 0.1); border-color: var(--cream); }

.btn--dark { background: var(--navy); color: var(--cream); }
.btn--dark:hover { background: var(--navy-deep); }

.btn--outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline-dark:hover { background: var(--navy); color: var(--cream); }

.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header.is-scrolled {
  background: rgba(11, 34, 51, 0.92);
  backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: "Fraunces", serif; font-size: 18px; color: var(--cream); letter-spacing: 0.01em; }
.brand-text span { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); margin-top: 3px; }

.main-nav ul { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--cream);
  opacity: 0.85;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold-light); transition: width 0.3s var(--ease);
}
.main-nav a:hover, .main-nav a.active { opacity: 1; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(247,243,236,0.3);
  background: transparent;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.nav-toggle span { width: 18px; height: 1.5px; background: var(--cream); display: block; transition: all 0.3s var(--ease); }

/* ---------- Hero Slider ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--navy-deep);
}
.slider { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s var(--ease), transform 8s linear;
  z-index: 1;
}
.slide.is-active { opacity: 1; transform: scale(1); z-index: 2; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,23,34,0.55) 0%, rgba(7,23,34,0.35) 40%, rgba(7,23,34,0.88) 100%);
}

.hero-content {
  position: relative; z-index: 5;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 90px;
}
.hero-content .eyebrow { color: var(--gold-light); }
.hero-content h1 {
  color: #fff;
  font-size: clamp(38px, 6vw, 74px);
  max-width: 900px;
  margin-top: 20px;
}
.hero-content .lede {
  color: #dbe4e9;
  font-size: 18px;
  max-width: 560px;
  margin-top: 24px;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }

.hero-dots {
  position: absolute; bottom: 46px; left: 50%; transform: translateX(-50%);
  z-index: 6; display: flex; gap: 10px;
}
.hero-dots button {
  width: 34px; height: 4px; border-radius: 3px; background: rgba(255,255,255,0.35); border: none;
  padding: 0; transition: background 0.3s;
}
.hero-dots button.is-active { background: var(--gold); }

.hero-arrows { position: absolute; z-index: 6; bottom: 44px; right: 32px; display: flex; gap: 10px; }
.hero-arrows button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.05); color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}
.hero-arrows button:hover { background: rgba(255,255,255,0.18); border-color: #fff; }
.hero-arrows svg { width: 18px; height: 18px; }

.scroll-cue {
  position: absolute; z-index: 6; left: 32px; bottom: 50px;
  display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.7); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
}
.scroll-cue .line { width: 1px; height: 34px; background: rgba(255,255,255,0.35); position: relative; overflow: hidden; }
.scroll-cue .line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--gold);
  animation: scrollcue 2.2s infinite;
}
@keyframes scrollcue { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

/* ---------- Impact strip ---------- */
.impact {
  background: var(--navy);
  padding: 46px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.impact .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.impact-item { color: var(--cream); border-left: 1px solid rgba(255,255,255,0.14); padding-left: 24px; }
.impact-item:first-child { border-left: none; padding-left: 0; }
.impact-item .num { font-family: "Fraunces", serif; font-size: 30px; color: var(--gold-light); display: block; }
.impact-item .label { font-size: 14.5px; color: #cfdbe1; margin-top: 8px; display: block; line-height: 1.5; }

/* ---------- Pillars ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.pillar-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.pillar-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.pillar-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.pillar-card:hover img { transform: scale(1.08); }
.pillar-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,34,51,0) 30%, rgba(7,23,34,0.92) 100%);
}
.pillar-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px; color: #fff; }
.pillar-body .num { font-size: 12px; letter-spacing: 0.15em; color: var(--gold-light); text-transform: uppercase; }
.pillar-body h3 { font-size: 21px; margin-top: 10px; }
.pillar-body p { font-size: 13.5px; color: #d8dfe3; margin-top: 8px; line-height: 1.5; }

/* ---------- Advantage / split ---------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.split-media .frame-badge {
  position: absolute; bottom: -1px; right: -1px;
  background: var(--gold); color: #1c1305; padding: 18px 22px; border-top-left-radius: var(--radius);
  font-family: "Fraunces", serif; font-size: 15px; max-width: 200px; line-height: 1.4;
}

.advantage-list { margin-top: 34px; display: flex; flex-direction: column; gap: 26px; }
.advantage-item { display: flex; gap: 18px; }
.advantage-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(200,149,46,0.12); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-family: "Fraunces", serif; font-weight: 600;
}
.section--navy .advantage-icon { background: rgba(227,180,94,0.15); }
.advantage-copy h4 { font-size: 17px; margin-bottom: 6px; }
.advantage-copy p { color: var(--grey); font-size: 15px; line-height: 1.65; }
.section--navy .advantage-copy p { color: #c6d3db; }

/* ---------- Quality band ---------- */
.quality-band {
  background: var(--navy);
  color: var(--cream);
  border-radius: 24px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.quality-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(200,149,46,0.28), transparent 55%);
}
.quality-band > * { position: relative; z-index: 1; }
.quality-band h2 { font-size: clamp(28px, 3.4vw, 40px); color: #fff; }
.quality-band p { margin-top: 18px; color: #cfdbe1; font-size: 16px; line-height: 1.75; }
.seal {
  width: 220px; height: 220px; margin: 0 auto;
  border-radius: 50%; border: 1.5px dashed rgba(227,180,94,0.55);
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.seal-inner {
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden; border: 1px solid rgba(255,255,255,0.15);
}
.seal-inner img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA banner ---------- */
.cta-banner {
  text-align: center;
  padding: 100px 0;
  background: linear-gradient(180deg, var(--cream), var(--off-white));
}
.cta-banner h2 { font-size: clamp(30px, 4vw, 48px); max-width: 720px; margin: 18px auto 0; }
.cta-banner-btns { display: flex; justify-content: center; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative;
  padding: 180px 0 90px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,23,34,0.75), rgba(7,23,34,0.94)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); margin-top: 16px; max-width: 780px; }
.page-hero p { margin-top: 20px; max-width: 620px; color: #d3dde2; font-size: 17px; line-height: 1.7; }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--gold-light); margin-top: 26px; text-transform: uppercase; letter-spacing: 0.08em; }
.breadcrumb span { opacity: 0.5; }

/* ---------- Values / Mission grid ---------- */
.two-col-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.info-card .eyebrow { margin-bottom: 14px; }
.info-card h3 { font-size: 22px; margin-bottom: 12px; }
.info-card p { color: var(--grey); font-size: 15px; line-height: 1.7; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value-card .idx { font-family: "Fraunces", serif; color: var(--gold); font-size: 26px; }
.value-card h4 { margin-top: 14px; font-size: 17px; }
.value-card p { margin-top: 10px; font-size: 14px; color: var(--grey); line-height: 1.6; }

/* ---------- Timeline (promise) ---------- */
.promise-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.promise-card {
  border-radius: var(--radius); padding: 36px 30px; background: var(--navy); color: var(--cream);
  position: relative; overflow: hidden;
}
.promise-card::before {
  content: ""; position: absolute; top: -40px; right: -40px; width: 140px; height: 140px; border-radius: 50%;
  background: rgba(200,149,46,0.14);
}
.promise-card h4 { font-size: 19px; position: relative; z-index: 1; }
.promise-card p { margin-top: 12px; font-size: 14.5px; color: #c6d3db; line-height: 1.65; position: relative; z-index: 1; }

/* ---------- NTE Hub sectors ---------- */
.sector-nav {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 60px;
}
.sector-nav a {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--navy);
  transition: all 0.3s var(--ease);
}
.sector-nav a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.sector-block { padding: 90px 0; border-top: 1px solid var(--line); }
.sector-head { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; margin-bottom: 56px; }
.sector-head .tag { font-size: 13px; color: var(--gold); font-weight: 700; letter-spacing: 0.05em; }
.sector-head h2 { margin-top: 12px; font-size: clamp(28px, 3.2vw, 40px); }
.sector-head .tagline { font-family: "Fraunces", serif; font-style: italic; color: var(--navy); font-size: 19px; margin-top: 14px; }
.sector-head p.desc { margin-top: 16px; color: var(--grey); font-size: 15.5px; line-height: 1.75; }
.sector-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 5/4; }
.sector-media img { width: 100%; height: 100%; object-fit: cover; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 46px; }
.product-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.product-media { aspect-ratio: 4/3; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.07); }
.product-body { padding: 18px 20px; }
.product-body h4 { font-size: 15.5px; margin-bottom: 8px; }
.product-body p { font-size: 13px; color: var(--grey); line-height: 1.55; }

.advantage-panel {
  background: var(--cream); border-radius: var(--radius); padding: 40px;
}
.advantage-panel h3 { font-size: 21px; margin-bottom: 8px; }
.advantage-panel .tagline-lg { font-family: "Fraunces", serif; font-style: italic; color: var(--gold); font-size: 16px; margin-bottom: 22px; display: block; }
.mini-advantage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* ---------- Services page ---------- */
.service-block { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; padding: 70px 0; border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: none; }
.service-num { font-family: "Fraunces", serif; font-size: 60px; color: var(--line); line-height: 1; }
.service-media-sm { border-radius: var(--radius); overflow: hidden; margin-top: 24px; aspect-ratio: 16/10; }
.service-media-sm img { width: 100%; height: 100%; object-fit: cover; }
.service-copy h3 { font-size: 26px; margin-bottom: 6px; }
.service-copy .tagline { color: var(--gold); font-weight: 600; font-size: 14px; margin-bottom: 18px; display: block; }
.service-copy .lead-p { color: var(--grey); font-size: 15.5px; line-height: 1.75; margin-bottom: 24px; }
.check-list { display: flex; flex-direction: column; gap: 16px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .tick {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.check-list .tick svg { width: 11px; height: 11px; }
.check-list strong { display: block; font-size: 14.5px; margin-bottom: 3px; }
.check-list span.desc { color: var(--grey); font-size: 14px; line-height: 1.6; }

.workflow-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.workflow-step { position: relative; padding: 30px 24px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.15); }
.workflow-step .step-idx { font-family: "Fraunces", serif; font-size: 34px; color: var(--gold-light); }
.workflow-step h4 { margin-top: 14px; font-size: 16px; color: #fff; }
.workflow-step p { margin-top: 10px; font-size: 13.5px; color: #c6d3db; line-height: 1.6; }

/* ---------- Portfolio / Partner pages ---------- */
.sector-focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.focus-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.focus-media { aspect-ratio: 16/10; overflow: hidden; }
.focus-media img { width: 100%; height: 100%; object-fit: cover; }
.focus-body { padding: 26px; }
.focus-body h4 { font-size: 18px; margin-bottom: 10px; }
.focus-body .k { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); font-weight: 700; margin-top: 14px; margin-bottom: 6px; display: block; }
.focus-body p { font-size: 14px; color: var(--grey); line-height: 1.6; }

.pathway-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pathway-card { display: flex; gap: 20px; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pathway-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
}
.pathway-icon svg { width: 24px; height: 24px; }
.pathway-copy h4 { font-size: 17px; margin-bottom: 8px; }
.pathway-copy p { font-size: 14.5px; color: var(--grey); line-height: 1.65; }

.commitment-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.commitment-item { text-align: center; padding: 34px 22px; }
.commitment-item .ic { width: 56px; height: 56px; border-radius: 50%; background: rgba(227,180,94,0.15); color: var(--gold-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.commitment-item h4 { font-size: 16.5px; color: #fff; }
.commitment-item p { margin-top: 10px; font-size: 14px; color: #c6d3db; line-height: 1.6; }

/* ---------- Form ---------- */
.form-shell {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-md); padding: 54px; border: 1px solid var(--line);
}
.form-shell .form-head { max-width: 620px; margin-bottom: 34px; }
.form-fieldset { border: none; padding: 0; margin: 0 0 36px; }
.form-fieldset:last-of-type { margin-bottom: 0; }
.form-fieldset legend {
  font-family: "Fraunces", serif; font-size: 18px; color: var(--navy); padding: 0; margin-bottom: 20px; width: 100%;
  border-bottom: 1px solid var(--line); padding-bottom: 12px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px; font-size: 14.5px; font-family: inherit;
  background: var(--off-white); transition: border-color 0.3s, box-shadow 0.3s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,149,46,0.15);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.checkbox-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); background: var(--off-white); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.checkbox-item input { width: 16px; height: 16px; accent-color: var(--gold); }
.form-footer-note { font-size: 13px; color: var(--grey); margin-top: 18px; line-height: 1.6; }

.form-success {
  display: none; text-align: center; padding: 70px 40px; background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.form-success.is-visible { display: block; }
.form-success .ic { width: 70px; height: 70px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.form-success h3 { font-size: 26px; margin-bottom: 14px; }
.form-success p { color: var(--grey); font-size: 15px; max-width: 480px; margin: 0 auto; line-height: 1.7; }

/* ---------- Compliance page ---------- */
.pillar-cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cert-card { padding: 34px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.cert-card .roman { font-family: "Fraunces", serif; color: var(--gold); font-size: 15px; letter-spacing: 0.05em; }
.cert-card h4 { margin-top: 10px; font-size: 18px; }
.cert-card ul { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.cert-card li { font-size: 13.5px; color: var(--grey); line-height: 1.6; padding-left: 16px; position: relative; }
.cert-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.cert-card li strong { color: var(--ink); display: block; margin-bottom: 2px; }

.audit-steps { display: flex; flex-direction: column; gap: 0; }
.audit-step { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.audit-step:last-child { border-bottom: none; }
.audit-step .n { font-family: "Fraunces", serif; font-size: 32px; color: var(--gold-light); }
.audit-step h4 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.audit-step p { color: #c6d3db; font-size: 14.5px; line-height: 1.65; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; }
.contact-card { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); margin-bottom: 18px; }
.contact-card .ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--gold-light); display: flex; align-items: center; justify-content: center; }
.contact-card .ic svg { width: 20px; height: 20px; }
.contact-card h4 { font-size: 15px; margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 14.5px; color: var(--grey); line-height: 1.6; display: block; }
.contact-card a:hover { color: var(--navy); text-decoration: underline; }
.contact-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/11; box-shadow: var(--shadow-md); }
.contact-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #cfdbe1; padding: 80px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { font-size: 14px; color: #9dadb6; line-height: 1.7; max-width: 300px; }
.footer-col h5 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: #a9b8c0; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 13px; color: #7d8e97; flex-wrap: wrap; gap: 12px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; color: #cfdbe1; }
.footer-socials a:hover { background: var(--gold); color: #1c1305; border-color: var(--gold); }
.footer-socials svg { width: 15px; height: 15px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.03s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.17s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.31s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.38s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .pillars-grid, .values-grid, .product-grid, .sector-focus-grid, .pillar-cert-grid, .workflow-strip { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse, .sector-head, .service-block, .contact-grid, .quality-band, .two-col-cards, .pathway-grid, .commitment-row { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .impact .container { grid-template-columns: 1fr; gap: 24px; }
  .impact-item { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 20px; }
  .impact-item:first-child { border-top: none; padding-top: 0; }
}

@media (max-width: 860px) {
  .main-nav { position: fixed; top: 0; right: -100%; width: 78%; max-width: 340px; height: 100vh; background: var(--navy); flex-direction: column; padding: 100px 34px; transition: right 0.45s var(--ease); box-shadow: -20px 0 50px rgba(0,0,0,0.3); }
  .main-nav.is-open { right: 0; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 26px; }
  .nav-toggle { display: flex; z-index: 1200; }
  .header-actions .btn--gold { display: none; }
  .form-grid, .checkbox-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn span { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .container { padding: 0 20px; }
  .quality-band { padding: 40px 26px; }
  .form-shell { padding: 30px 22px; }
  .pillars-grid, .values-grid, .product-grid, .sector-focus-grid,
  .pillar-cert-grid, .workflow-strip, .mini-advantage-grid,
  .advantage-list, .pathway-grid, .commitment-row, .audit-steps { grid-template-columns: 1fr !important; }
  .quality-band { grid-template-columns: 1fr !important; text-align: left; }
  .seal { margin: 30px auto 0; }
  h1 { font-size: clamp(28px, 8vw, 38px) !important; }
  .page-hero h1 { font-size: clamp(26px, 8vw, 34px); }
  .hero-slide-content h1, .hero h1 { font-size: clamp(26px, 8vw, 36px); }
  .cta-banner h2, .section-head h2 { font-size: clamp(22px, 6vw, 28px); }
  .brand-text span { display: none; }
  .sector-nav { flex-wrap: wrap; gap: 10px; }
  .footer-top { grid-template-columns: 1fr !important; gap: 34px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .btn span { font-size: 13.5px; }
  .preloader-word strong { font-size: 16px; }
}
