/* ============================================================
   Baikal Trading Ltd — Brand Stylesheet
   Palette derived from the company business profile deck.
   ============================================================ */

:root {
  --navy:        #2b3a4e;   /* primary deep slate-blue */
  --navy-deep:   #223040;
  --navy-soft:   #44576c;   /* muted card blue */
  --gold:        #e0a82e;   /* signature amber/gold */
  --gold-deep:   #c9901a;
  --cream:       #f4f1e8;   /* off-white background */
  --cream-2:     #ece8dc;
  --ink:         #1d2733;
  --muted:       #5d6b78;
  --line:        rgba(43, 58, 78, .14);
  --white:       #ffffff;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 18px 50px -22px rgba(34, 48, 64, .45);
  --shadow-sm: 0 8px 24px -14px rgba(34, 48, 64, .4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }

h2 { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--navy); }
.h2-light { color: var(--cream); }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .74rem;
  font-weight: 600;
}
.eyebrow-dark  { color: var(--gold-deep); }
.eyebrow-light { color: var(--gold); }

.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .9rem 1.6rem;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); box-shadow: 0 10px 30px -12px rgba(224,168,46,.8); }
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(244,241,232,.45); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(43, 58, 78, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(244,241,232,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand-logo { height: 48px; width: auto; display: block; border-radius: 8px; }
.brand-mark {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  background: var(--gold); color: var(--navy-deep);
  font-family: var(--serif); font-weight: 700; font-size: 1.3rem;
  border-radius: 9px;
}
.brand-text { font-family: var(--serif); font-weight: 600; font-size: 1.18rem; color: var(--cream); letter-spacing: .01em; }
.brand-sub { font-family: var(--sans); font-size: .62rem; letter-spacing: .25em; color: var(--gold); margin-left: .35rem; vertical-align: middle; }

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a { color: rgba(244,241,232,.82); font-size: .94rem; font-weight: 500; transition: color .15s; }
.nav a:hover { color: var(--gold); }
.nav .nav-cta {
  color: var(--navy-deep); background: var(--gold);
  padding: .55rem 1.15rem; border-radius: 999px; font-weight: 600;
}
.nav .nav-cta:hover { background: var(--gold-deep); color: var(--navy-deep); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--cream); transition: .25s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center;
  color: var(--cream);
  overflow: hidden;
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; display: flex; }
.hero-bg-port, .hero-bg-field { flex: 1; }
.hero-bg-port {
  background:
    linear-gradient(180deg, rgba(34,48,64,.72), rgba(34,48,64,.82)),
    url("https://images.unsplash.com/photo-1605745341112-85968b19335b?auto=format&fit=crop&w=1400&q=70");
  background-size: cover; background-position: center;
  filter: saturate(.6);
}
.hero-bg-field {
  background:
    linear-gradient(180deg, rgba(224,168,46,.30), rgba(201,144,26,.55)),
    url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1400&q=70");
  background-size: cover; background-position: center;
  filter: saturate(.9);
}
.hero-road {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 12%;
  transform: translateX(-50%);
  background: var(--navy);
  clip-path: polygon(38% 0, 62% 0, 56% 100%, 44% 100%);
}
.hero-road::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 4px;
  transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, var(--gold) 0 28px, transparent 28px 56px);
}
.hero-inner { position: relative; z-index: 2; margin: 0 auto; max-width: 880px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin: .8rem 0 1rem; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.4rem); color: rgba(244,241,232,.92); max-width: 38ch; margin: 0 auto 2rem; }
.hero .eyebrow { color: var(--gold); }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 2; font-size: .72rem; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(244,241,232,.7);
}
.hero-scroll::after { content: ""; display: block; width: 1px; height: 26px; margin: 8px auto 0; background: rgba(244,241,232,.5); animation: scrollPulse 1.8s infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .3; transform: scaleY(.7);} 50% { opacity: 1; transform: scaleY(1);} }

/* ============================================================
   STAT STRIP
   ============================================================ */
.stat-strip { background: var(--navy-deep); color: var(--cream); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.stat { padding: 2.2rem 1rem; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: rgba(244,241,232,.14); }
.stat-num { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { display: block; margin-top: .5rem; font-size: .86rem; color: rgba(244,241,232,.78); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-alt { background: var(--cream-2); }
.section-dark { background: var(--navy); color: var(--cream); }
.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head .eyebrow { display: block; margin-bottom: .9rem; }
.section-head h2 { margin-bottom: 1rem; }

/* ---------- About pillars ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.pillar {
  background: var(--navy); color: var(--cream);
  padding: 2.2rem 1.6rem; border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar-icon { font-size: 2rem; margin-bottom: 1rem; filter: saturate(0) brightness(2.4); }
.pillar h3 { font-size: 1.5rem; margin-bottom: .6rem; color: var(--cream); }
.pillar p { color: rgba(244,241,232,.82); font-size: .96rem; }

/* ---------- Genesis ---------- */
.genesis { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 1rem; }
.genesis-step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.6rem; box-shadow: var(--shadow-sm); }
.genesis-step--accent { border: 2px solid var(--gold); }
.genesis-num { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--gold-deep); }
.genesis-step h3 { font-size: 1.35rem; margin: .4rem 0 .7rem; color: var(--navy); }
.genesis-step p { color: var(--muted); font-size: .96rem; }
.genesis-plus { display: grid; place-items: center; font-family: var(--serif); font-size: 2rem; color: var(--gold); font-weight: 700; }

/* ---------- Vision / Mission / Values ---------- */
.section-dark .eyebrow-light { display: block; margin-bottom: .9rem; }
.section-dark .h2-light { margin-bottom: 3rem; max-width: 18ch; }
.vmv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.vmv { padding: 0 2rem; }
.vmv + .vmv { border-left: 1px solid rgba(224,168,46,.4); }
.vmv:first-child { padding-left: 0; }
.vmv h3 { font-size: 1.7rem; color: var(--cream); margin-bottom: 1.2rem; }
.vmv p { color: rgba(244,241,232,.85); }
.vmv-quote { font-family: var(--serif); font-size: 1.15rem; font-style: italic; color: var(--cream); position: relative; }
.value-list { list-style: none; display: grid; gap: .9rem; }
.value-list li { position: relative; padding-left: 1.8rem; color: rgba(244,241,232,.85); font-size: .96rem; }
.value-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }
.value-list strong { color: var(--cream); }

/* ---------- Flywheel ---------- */
.flywheel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.flywheel-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative; overflow: hidden;
}
.flywheel-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--navy); }
.flywheel-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.flywheel-tag {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy); background: rgba(43,58,78,.1); padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem;
}
.flywheel-tag--gold { color: var(--gold-deep); background: rgba(224,168,46,.16); }
.flywheel-card h3 { font-size: 1.3rem; margin-bottom: .6rem; color: var(--navy); }
.flywheel-card p { color: var(--muted); font-size: .94rem; }

/* ---------- Trade Matrix ---------- */
.matrix { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.matrix-col { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--white); }
.matrix-head { padding: 1.8rem; color: var(--white); }
.matrix-col--in .matrix-head { background: var(--navy); }
.matrix-col--out .matrix-head { background: var(--gold); color: var(--navy-deep); }
.matrix-kicker { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; opacity: .9; }
.matrix-head h3 { font-size: 1.6rem; margin-top: .3rem; color: inherit; }
.matrix dl { padding: 1.8rem; display: grid; gap: 1.1rem; }
.matrix dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.matrix-col--out dt { color: var(--navy-soft); }
.matrix dd { color: var(--ink); font-size: .98rem; margin-top: .2rem; }

/* ---------- Footprint ---------- */
.footprint-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 3rem; }
.footprint-card { background: rgba(244,241,232,.06); border: 1px solid rgba(244,241,232,.14); border-radius: var(--radius); padding: 2rem 1.6rem; transition: border-color .2s, transform .2s; }
.footprint-card:hover { border-color: var(--gold); transform: translateY(-5px); }
.footprint-card--hub { background: rgba(224,168,46,.14); border-color: var(--gold); }
.footprint-icon { font-size: 1.8rem; display: block; margin-bottom: .9rem; }
.footprint-card h3 { color: var(--cream); font-size: 1.35rem; margin-bottom: .5rem; }
.footprint-card p { color: rgba(244,241,232,.82); font-size: .94rem; }

/* ---------- Advantage equation ---------- */
.advantage-equation { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1.3fr; align-items: center; gap: 1rem; }
.adv-card { background: var(--white); border: 1.5px solid var(--navy-soft); border-radius: var(--radius); padding: 1.8rem 1.4rem; text-align: center; box-shadow: var(--shadow-sm); }
.adv-card--result { background: var(--gold); border-color: var(--gold); text-align: left; }
.adv-icon { font-size: 1.8rem; margin-bottom: .8rem; }
.adv-card h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: .5rem; }
.adv-card--result h3 { font-size: 1.7rem; }
.adv-card p { color: var(--muted); font-size: .9rem; }
.adv-card--result p { color: var(--navy-deep); font-weight: 500; }
.adv-op { font-family: var(--serif); font-size: 2rem; color: var(--gold-deep); font-weight: 700; text-align: center; }

/* ---------- Operational Excellence ---------- */
.excellence-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.excellence-rings { display: grid; place-items: center; min-height: 360px; }
.ring { border-radius: 50%; display: grid; place-items: center; text-align: center; position: relative; }
.ring-1 { width: 360px; height: 360px; background: var(--gold); color: var(--navy-deep); align-content: start; padding-top: 1.6rem; }
.ring-1 > span, .ring-2 > span { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.ring-2 { width: 250px; height: 250px; background: var(--navy-soft); color: var(--cream); align-content: start; padding-top: 1.3rem; margin-top: .6rem; }
.ring-3 { width: 150px; height: 150px; background: var(--white); margin-top: .8rem; align-content: center; }
.ring-check { font-size: 2.2rem; color: var(--navy); line-height: 1; }
.ring-label { font-family: var(--serif); font-size: .85rem; color: var(--navy); font-weight: 600; }
.excellence-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 3rem; }
.note { border-left: 3px solid var(--gold); padding-left: 1.1rem; }
.note strong { color: var(--navy); display: block; margin-bottom: .35rem; font-family: var(--serif); font-size: 1.1rem; }
.note p { color: var(--muted); font-size: .92rem; }

/* ---------- Clients ---------- */
.client-feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.6rem; box-shadow: var(--shadow-sm); border-top: 4px solid var(--gold); }
.client-flag { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--navy-soft); margin-bottom: .8rem; }
.client-feature h3 { font-size: 1.8rem; color: var(--navy); margin-bottom: .8rem; }
.client-feature > .client-feature-body > p { color: var(--muted); max-width: 70ch; margin-bottom: 1.4rem; }
.scope-list { list-style: none; display: grid; gap: .9rem; }
.scope-list li { position: relative; padding-left: 1.8rem; color: var(--ink); }
.scope-list li::before { content: "→"; position: absolute; left: 0; color: var(--gold-deep); font-weight: 700; }
.scope-list strong { color: var(--navy); }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: start; }
.contact-copy .eyebrow-light { display: block; margin-bottom: .9rem; }
.contact-copy h2 { margin-bottom: 1rem; }
.contact-lead { color: rgba(244,241,232,.85); margin-bottom: 2rem; }
.contact-details { list-style: none; display: grid; gap: 1.2rem; }
.contact-details li { display: grid; gap: .15rem; }
.contact-details span:first-child { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.contact-details a, .contact-details li > span:last-child { color: var(--cream); font-size: 1.05rem; }
.contact-details a:hover { color: var(--gold); }

.contact-form { background: var(--white); border-radius: var(--radius); padding: 2.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; box-shadow: var(--shadow); }
.field { display: grid; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 600; color: var(--navy); letter-spacing: .03em; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: .96rem; color: var(--ink);
  padding: .75rem .85rem; border: 1.5px solid var(--line); border-radius: 9px;
  background: var(--cream); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(224,168,46,.18); background: var(--white);
}
.contact-form .btn-block { grid-column: 1 / -1; margin-top: .4rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-deep); color: var(--cream); padding: 3.5rem 0 1.8rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid rgba(244,241,232,.12); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.footer-logo { height: 54px; width: auto; display: block; border-radius: 8px; }
.footer-brand strong { font-family: var(--serif); font-size: 1.2rem; }
.footer-brand p { color: rgba(244,241,232,.7); font-size: .9rem; }
.footer-nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-nav a { color: rgba(244,241,232,.8); font-size: .92rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; }
.footer-bottom p { color: rgba(244,241,232,.6); font-size: .84rem; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .pillar-grid, .flywheel-grid, .footprint-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3)::before { display: none; }
  .genesis { grid-template-columns: 1fr; }
  .genesis-plus { transform: rotate(90deg); padding: .4rem 0; }
  .vmv-grid { grid-template-columns: 1fr; gap: 2rem; }
  .vmv { padding: 0; }
  .vmv + .vmv { border-left: 0; border-top: 1px solid rgba(224,168,46,.4); padding-top: 2rem; }
  .matrix { grid-template-columns: 1fr; }
  .advantage-equation { grid-template-columns: 1fr; }
  .adv-op { transform: rotate(90deg); }
  .excellence-inner { grid-template-columns: 1fr; }
  .excellence-notes { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 680px) {
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: var(--navy-deep); padding: 1rem 0; transform: translateY(-120%); transition: transform .3s ease; box-shadow: var(--shadow); }
  .nav.open { transform: translateY(0); }
  .nav a { padding: .9rem 24px; width: 100%; }
  .nav .nav-cta { margin: .6rem 24px; text-align: center; }
  .nav-toggle { display: flex; }
  .pillar-grid, .flywheel-grid, .footprint-grid, .stat-grid { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
  .contact-form { grid-template-columns: 1fr; padding: 1.6rem; }
  .hero { min-height: 80vh; }
  .ring-1 { width: 300px; height: 300px; }
  .ring-2 { width: 210px; height: 210px; }
  .ring-3 { width: 120px; height: 120px; }
}
