/* =========================================================
   Vrishbha Traders — theme: deep teal + gold on warm cream
   ========================================================= */
:root {
  --teal-900: #0b2f2e;
  --teal-800: #0f4442;
  --teal-700: #145a56;
  --teal-500: #1e8f7a;
  --teal-300: #5ed0b8;
  --gold: #e3a640;
  --gold-light: #f3c976;
  --gold-soft: #fbeccb;
  --cream: #f7f4ec;
  --white: #ffffff;
  --ink: #15201f;
  --muted: #5c6b69;
  --line: #e4ddd0;
  --radius: 18px;
  --shadow: 0 12px 36px rgba(11, 47, 46, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 47, 46, 0.18);
  --head: "Poppins", system-ui, -apple-system, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

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

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

h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; margin: 0 0 .5em; color: var(--teal-900); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h2 em { font-style: normal; color: var(--teal-500); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-500); margin-bottom: 1em;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.eyebrow.light { color: var(--gold-light); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--teal-900);
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-spool { width: 70px; height: 70px; fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; }
.loader-spool circle { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.4s var(--ease) infinite; transform-origin: center; }
.loader-spool circle:nth-child(2) { animation-delay: .15s; }
.loader-spool circle:nth-child(3) { animation-delay: .3s; }
@keyframes draw { 0% { stroke-dashoffset: 200; transform: rotate(0); } 60% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -200; transform: rotate(180deg); } }

/* ---------- Cursor glow ---------- */
.glow {
  position: fixed; top: 0; left: 0; z-index: 0;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,166,64,.14), transparent 65%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity .4s;
  opacity: 0;
}
body.has-pointer .glow { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: .9em 1.7em;
  background: var(--gold);
  color: var(--teal-900);
  border: 2px solid var(--gold);
  border-radius: 999px;
  cursor: pointer;
  font: 700 .95rem var(--body);
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s, border-color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(227,166,64,.35); }
.btn-glow { box-shadow: 0 8px 24px rgba(227,166,64,.3); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); box-shadow: none; }
.btn-ghost:hover { background: var(--white); color: var(--teal-900); border-color: var(--white); box-shadow: none; }
.btn-small { padding: .6em 1.3em; font-size: .86rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover .btn-icon { transform: translateX(4px); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--teal-500); margin-top: 6px; }
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 18px 0;
  transition: background .4s, box-shadow .4s, padding .4s;
}
.header.scrolled {
  background: rgba(247, 244, 236, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(11,47,46,.08);
  padding: 10px 0;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: flex; align-items: center; gap: 10px; color: var(--white); transition: color .4s; }
.header.scrolled .logo { color: var(--teal-900); }
.logo-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--teal-900);
  border-radius: 12px;
  transition: transform .4s var(--ease);
}
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo-mark svg { width: 26px; height: 26px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font: 600 1.05rem var(--head); }
.logo-text small { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: rgba(255,255,255,.9); font-size: .94rem; font-weight: 600; position: relative; transition: color .4s; }
.header.scrolled .nav a:not(.btn) { color: var(--ink); }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 2px; background: var(--gold); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--white); border-radius: 2px; transition: .3s var(--ease); }
.header.scrolled .nav-toggle span { background: var(--teal-900); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(160deg, var(--teal-900) 0%, var(--teal-800) 55%, #0c3a38 100%);
  color: var(--white);
  overflow: hidden;
  padding: 130px 0 90px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; animation: float 12s ease-in-out infinite; }
.orb-1 { width: 520px; height: 520px; right: -120px; top: -140px; background: radial-gradient(circle, rgba(30,143,122,.9), transparent 65%); }
.orb-2 { width: 420px; height: 420px; left: -140px; bottom: -160px; background: radial-gradient(circle, rgba(227,166,64,.55), transparent 65%); animation-delay: -6s; }
@keyframes float { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(30px, -30px); } }

.threads { position: absolute; inset: 0; width: 100%; height: 100%; }
.thread { fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 2200; stroke-dashoffset: 2200; animation: threadDraw 4s var(--ease) forwards, threadFloat 9s ease-in-out infinite; }
.t1 { stroke: rgba(227,166,64,.55); animation-delay: .4s, 0s; }
.t2 { stroke: rgba(94,208,184,.35); animation-delay: .8s, -3s; }
.t3 { stroke: rgba(227,166,64,.3); animation-delay: 1.1s, -5s; }
.t4 { stroke: rgba(94,208,184,.25); animation-delay: 1.4s, -7s; }
@keyframes threadDraw { to { stroke-dashoffset: 0; } }
@keyframes threadFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

.grid-weave {
  position: absolute; inset: 0; opacity: .07;
  background-image:
    repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 28px);
  mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 70%);
}

.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 5.4vw, 3.9rem); font-weight: 700; line-height: 1.1; margin-bottom: .55em; }
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(40px) rotate(2deg); animation: wordUp .9s var(--ease) forwards; }
.hero h1 .word.accent { color: var(--gold-light); }
.hero h1 .word:nth-child(1) { animation-delay: .3s; } .hero h1 .word:nth-child(2) { animation-delay: .4s; } .hero h1 .word:nth-child(3) { animation-delay: .5s; }
.hero h1 .word:nth-child(5) { animation-delay: .65s; } .hero h1 .word:nth-child(6) { animation-delay: .75s; } .hero h1 .word:nth-child(7) { animation-delay: .85s; }
@keyframes wordUp { to { opacity: 1; transform: none; } }

.hero-anim { opacity: 0; transform: translateY(24px); animation: fadeUp 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero .eyebrow { color: var(--gold-light); }
.hero-lead { font-size: clamp(1rem, 1.6vw, 1.12rem); max-width: 560px; opacity: .85; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats { display: flex; gap: 40px; margin-top: 50px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats strong { display: block; font: 700 2rem var(--head); color: var(--gold-light); line-height: 1; }
.hero-stats span { font-size: .82rem; opacity: .75; }

/* loom illustration */
.hero-art { position: relative; display: grid; place-items: center; }
.loom { width: min(100%, 440px); height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.35)); }
.ring { fill: none; stroke-linecap: round; transform-origin: 210px 210px; }
.ring-a { stroke: rgba(227,166,64,.5); stroke-width: 1.5; stroke-dasharray: 6 14; animation: spin 40s linear infinite; }
.ring-b { stroke: rgba(94,208,184,.4); stroke-width: 1; stroke-dasharray: 40 20; animation: spin 28s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.warp line { stroke: rgba(94,208,184,.55); stroke-width: 4; stroke-linecap: round; }
.weft line { stroke: rgba(227,166,64,.75); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: weftDraw 1.2s var(--ease) forwards; }
.weft line:nth-child(1) { animation-delay: .6s; } .weft line:nth-child(2) { animation-delay: .7s; } .weft line:nth-child(3) { animation-delay: .8s; }
.weft line:nth-child(4) { animation-delay: .9s; } .weft line:nth-child(5) { animation-delay: 1s; } .weft line:nth-child(6) { animation-delay: 1.1s; }
.weft line:nth-child(7) { animation-delay: 1.2s; } .weft line:nth-child(8) { animation-delay: 1.3s; } .weft line:nth-child(9) { animation-delay: 1.4s; } .weft line:nth-child(10) { animation-delay: 1.5s; }
@keyframes weftDraw { to { stroke-dashoffset: 0; } }
.shuttle { animation: shuttle 3s ease-in-out infinite; animation-delay: 1.6s; }
@keyframes shuttle {
  0% { transform: translate(70px, 95px); } 50% { transform: translate(350px, 95px); }
  50.01% { transform: translate(350px, 215px); } 100% { transform: translate(70px, 215px); }
}
.spool { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translate(210px, 210px) rotate(-6deg); } 50% { transform: translate(210px, 198px) rotate(6deg); } }

.chip {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: .5em 1em;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: .82rem; font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  animation: chipFloat 6s ease-in-out infinite;
}
.chip svg { width: 16px; height: 16px; fill: none; stroke: var(--gold-light); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-1 { top: 8%; left: 0; animation-delay: 0s; }
.chip-2 { top: 20%; right: -4%; animation-delay: -1.5s; }
.chip-3 { bottom: 18%; left: -2%; animation-delay: -3s; }
.chip-4 { bottom: 6%; right: 4%; animation-delay: -4.5s; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px;
  opacity: 0; animation: fadeUp 1s var(--ease) 1.4s forwards;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--gold); border-radius: 2px; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--gold); color: var(--teal-900); overflow: hidden; padding: 14px 0; position: relative; z-index: 1; }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 40s linear infinite; font: 600 .9rem var(--head); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track i { width: 6px; height: 6px; background: var(--teal-900); border-radius: 50%; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(70px, 10vw, 120px) 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-head p:last-child { color: var(--muted); }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::before { display: none; }

/* reveal */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.about-text p:not(.eyebrow) { color: var(--muted); }
.about-feature-img {
  margin: 24px 0 16px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  position: relative;
  max-height: 220px;
}
.about-feature-img img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.about-feature-img:hover img {
  transform: scale(1.04);
}
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-cards .stat-card:nth-child(even) { transform: translateY(32px); }
.about-cards .stat-card:nth-child(even).visible { transform: translateY(24px); }
.stat-card {
  position: relative;
  background: var(--white);
  padding: 26px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .9s var(--ease), opacity .9s var(--ease), box-shadow .4s;
}
.stat-card::after {
  content: ""; position: absolute; inset: auto -40px -40px auto; width: 120px; height: 120px;
  background: radial-gradient(circle, var(--gold-soft), transparent 70%); opacity: 0; transition: opacity .4s;
}
.stat-card:hover { box-shadow: var(--shadow-lg); }
.stat-card:hover::after { opacity: 1; }
.stat-card h3 { font-size: 1.02rem; margin-bottom: .25em; }
.stat-card p { font-size: .9rem; color: var(--muted); margin: 0; }
.stat-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-500)); border-radius: 14px;
  transition: transform .4s var(--ease);
}
.stat-card:hover .stat-icon { transform: rotate(-8deg) scale(1.08); }
.stat-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Products ---------- */
.products { background: var(--white); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; perspective: 1200px; }
.product {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: box-shadow .4s, opacity .9s var(--ease), transform .9s var(--ease);
}
.product.visible { transition: box-shadow .4s, transform .15s ease-out; }
.product:hover { box-shadow: var(--shadow-lg); }
.product-body { padding: 22px 24px 8px; }
.product p { color: var(--muted); font-size: .94rem; }
.product-visual { position: relative; height: 190px; display: grid; place-items: center; overflow: hidden; background: var(--teal-900); }
.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.product:hover .product-visual img {
  transform: scale(1.08);
}
.product-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.25) 50%, transparent 60%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
  pointer-events: none;
}
.product:hover .product-visual::after { transform: translateX(120%); }
.product-icon { width: 72px; height: 72px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 6px 14px rgba(0,0,0,.3)); transition: transform .5s var(--ease); transform: translateZ(40px); }
.product:hover .product-icon { transform: translateZ(60px) scale(1.12) rotate(-4deg); }

.swatch-1 { background: linear-gradient(135deg, var(--teal-700), var(--teal-500)); }
.swatch-2 { background: linear-gradient(135deg, #b9781f, var(--gold)); }
.swatch-3 { background: linear-gradient(135deg, #8b2c3b, #c0485a); }
.swatch-4 { background: linear-gradient(135deg, #3b4a86, #6a7bc2); }
.swatch-5 { background: linear-gradient(135deg, #6b2f22, #a9533d); }
.swatch-6 { background: linear-gradient(135deg, #0e5c50, #1aa38b); }
.product-visual::before {
  content: ""; position: absolute; inset: 0; opacity: .18;
  background-image: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 12px), repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 12px);
}

/* ---------- Materials ---------- */
.materials { overflow: hidden; }
.section-deco { position: absolute; right: -200px; top: -160px; width: 600px; height: 600px; fill: none; stroke: var(--teal-500); stroke-width: 1; opacity: .12; pointer-events: none; }
.section-deco circle { transform-origin: center; stroke-dasharray: 12 18; animation: spin 60s linear infinite; }
.section-deco circle:nth-child(2) { animation-direction: reverse; animation-duration: 45s; }
.section-deco circle:nth-child(3) { animation-duration: 30s; }
.material-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.material {
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .9s var(--ease), opacity .9s var(--ease), box-shadow .4s, border-color .4s;
}
.material.visible:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }

/* textured swatch header */
.material-swatch { position: relative; height: 150px; }
.material-pattern-wrap { position: absolute; inset: 0; overflow: hidden; }
.material-pattern { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); transition: transform 1.2s var(--ease); }
.material:hover .material-pattern { transform: translate(-14px, -10px) scale(1.08); }
.material-pattern-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,.35), transparent 55%);
}
.swatch-cotton    { background: linear-gradient(135deg, #e9dfc6, #d2c19a); }
.swatch-silk      { background: linear-gradient(135deg, #e3a640, #c98a22); }
.swatch-wool      { background: linear-gradient(135deg, #8d7462, #65503f); }
.swatch-synthetic { background: linear-gradient(135deg, var(--teal-500), var(--teal-800)); }

.material-index {
  position: absolute; right: 16px; top: 8px; z-index: 1;
  font: 700 3.2rem var(--head); line-height: 1; letter-spacing: -.04em;
  color: rgba(255,255,255,.4);
}
.material-badge {
  position: absolute; left: 22px; bottom: -26px; z-index: 2;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(11,47,46,.18);
  transition: transform .5s var(--ease);
}
.material-badge::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px dashed var(--gold); opacity: 0; transition: opacity .4s; animation: spin 14s linear infinite; }
.material:hover .material-badge { transform: translateY(-4px) rotate(-8deg); }
.material:hover .material-badge::before { opacity: 1; }
.material-badge svg { width: 26px; height: 26px; fill: none; stroke: var(--teal-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* body */
.material-body { padding: 40px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.material-kind { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-500); margin-bottom: 6px; }
.material h3 { font-size: 1.2rem; margin-bottom: .4em; }
.material-body > p { color: var(--muted); font-size: .92rem; margin: 0 0 16px; }
.material-tags { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.material-tags li {
  font-size: .74rem; font-weight: 700; padding: .35em .8em;
  border-radius: 999px; background: var(--cream); color: var(--teal-800);
  border: 1px solid var(--line);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.material:hover .material-tags li { background: var(--gold-soft); border-color: transparent; }
.material:hover .material-tags li:nth-child(1) { transition-delay: 0s; }
.material:hover .material-tags li:nth-child(2) { transition-delay: .06s; }
.material:hover .material-tags li:nth-child(3) { transition-delay: .12s; }
.material-uses { margin: auto 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .84rem; color: var(--muted); line-height: 1.5; }
.material-uses strong { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 2px; }

/* blends note */
.material-note {
  display: flex; align-items: center; gap: 16px;
  margin-top: 28px; padding: 18px 24px;
  background: var(--white); border: 1px dashed var(--gold); border-radius: 14px;
}
.material-note svg { flex: 0 0 28px; width: 28px; height: 28px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linejoin: round; }
.material-note p { margin: 0; font-size: .95rem; color: var(--muted); }
.material-note strong { color: var(--ink); }
.material-note a { color: var(--teal-500); font-weight: 700; white-space: nowrap; }
.material-note a:hover { text-decoration: underline; }

/* ---------- Services timeline & pipeline ---------- */
.services { background: var(--white); }

/* Quick-glance pipeline strip */
.pipeline-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 26px;
  margin: -10px auto 56px;
  max-width: 980px;
  box-shadow: 0 4px 18px rgba(11, 47, 46, 0.04);
}
.pipeline-step {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pipeline-step .step-num {
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--teal-900);
  background: var(--gold-soft);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.pipeline-step .step-txt {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-900);
  letter-spacing: 0.02em;
}
.pipeline-arrow {
  color: var(--gold);
  display: grid;
  place-items: center;
  opacity: 0.7;
}
.pipeline-arrow svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

/* Timeline Layout */
.timeline {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
}
.timeline-line {
  position: absolute;
  left: 50%;
  top: 24px;
  bottom: 30px;
  width: 3px;
  transform: translateX(-50%);
  background: var(--line);
  border-radius: 3px;
}
.timeline-progress {
  display: block;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--teal-500) 0%, var(--gold) 100%);
  border-radius: 3px;
  transition: height 0.15s linear;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.timeline-step {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 28px;
  align-items: stretch;
  position: relative;
}

/* Center node */
.step-node {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}
.node-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--gold);
  color: var(--teal-900);
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px var(--white), 0 4px 14px rgba(11, 47, 46, 0.12);
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s, box-shadow 0.35s;
}
.timeline-step:hover .node-circle {
  transform: scale(1.12);
  background: var(--gold);
  color: var(--teal-900);
  box-shadow: 0 0 0 6px var(--white), 0 6px 20px rgba(227, 166, 64, 0.4);
}

/* Service Card (Primary) */
.service-card {
  background: var(--cream);
  padding: 28px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
  position: relative;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 143, 122, 0.35);
}
.stage-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-700);
  background: rgba(30, 143, 122, 0.10);
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
}
.service-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.service-icon {
  flex: 0 0 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
  box-shadow: 0 6px 14px rgba(11, 47, 46, 0.15);
  transition: transform 0.4s var(--ease);
}
.service-card:hover .service-icon {
  transform: rotate(-6deg) scale(1.08);
}
.service-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--teal-900);
}
.service-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 16px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.service-tag {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--white);
  color: var(--teal-900);
  border: 1px solid var(--line);
}

/* Service Meta Card (Complementary) */
.service-meta-card {
  background: var(--white);
  padding: 24px 24px;
  border-radius: var(--radius);
  border: 1.5px dashed rgba(227, 166, 64, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s, background 0.4s;
}
.service-meta-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
  border-style: solid;
  background: #fdfcf9;
}
.meta-stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.meta-stat {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--teal-700);
  line-height: 1.1;
}
.meta-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.meta-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 12px;
}
.meta-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 12px;
}
.meta-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.meta-checklist svg {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  stroke: var(--teal-500);
  stroke-width: 2.2;
  fill: none;
}

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.industry {
  padding: 28px 26px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: transform .9s var(--ease), opacity .9s var(--ease), box-shadow .4s;
}
.industry::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--teal-500), var(--gold)); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.industry:hover::before { transform: scaleY(1); }
.industry.visible:hover { box-shadow: var(--shadow); }
.industry > svg { width: 34px; height: 34px; fill: none; stroke: var(--teal-500); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; transition: transform .4s var(--ease), stroke .4s; }
.industry:hover > svg { transform: scale(1.15); stroke: var(--gold); }
.industry h3 { font-size: 1.02rem; margin-bottom: .35em; }
.industry p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Quality ---------- */
.quality { background: linear-gradient(160deg, var(--teal-900), var(--teal-800)); color: var(--white); overflow: hidden; }
.quality-pattern { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.quality h2 { color: var(--white); }
.quality-grid { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: center; }
.quality-grid > div > p:not(.eyebrow) { opacity: .8; margin-bottom: 2em; }
.quality-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quality-list li {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  padding: 18px 20px;
  border-radius: 14px;
  transition: transform .9s var(--ease), opacity .9s var(--ease), background .4s, border-color .4s;
}
.quality-list li.visible:hover { background: rgba(255,255,255,.1); border-color: rgba(227,166,64,.5); }
.quality-list svg { flex: 0 0 26px; width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.quality-list .check { stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .6s var(--ease) .4s; }
.quality-list li.visible .check { stroke-dashoffset: 0; }
.quality-list strong { display: block; font-family: var(--head); font-weight: 600; font-size: .98rem; }
.quality-list span { opacity: .75; font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq-inner { max-width: 800px; }
.faq-list details {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: transform .9s var(--ease), opacity .9s var(--ease), box-shadow .3s;
}
.faq-list details.visible { transition: box-shadow .3s; }
.faq-list details[open] { box-shadow: var(--shadow); }
.faq-list summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px;
  font-family: var(--head); font-weight: 600; font-size: .98rem;
  color: var(--teal-900);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex: 0 0 28px; width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--gold-soft); fill: none; stroke: var(--teal-800); stroke-width: 2.2; stroke-linecap: round; transition: transform .35s var(--ease), background .3s; }
.faq-list details[open] summary svg { transform: rotate(135deg); background: var(--gold); }
.faq-body { overflow: hidden; }
.faq-body p { color: var(--muted); margin: 0; padding: 0 22px 20px; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact::before {
  content: ""; position: absolute; left: -200px; bottom: -200px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,166,64,.18), transparent 65%); pointer-events: none;
}
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.contact-info > div > p:not(.eyebrow) { color: var(--muted); }

/* how it works */
.how-steps { list-style: none; padding: 0; margin: 32px 0 28px; display: grid; gap: 0; position: relative; }
.how-steps::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--teal-500), var(--gold)); border-radius: 2px; opacity: .35; }
.how-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 10px 0; position: relative; }
.step-num {
  flex: 0 0 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--teal-500);
  font: 700 .85rem var(--head); color: var(--teal-700);
  box-shadow: 0 0 0 5px var(--cream);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.how-steps li:hover .step-num { background: var(--teal-500); color: var(--white); transform: scale(1.1); }
.how-steps strong { display: block; font-family: var(--head); font-weight: 600; font-size: .98rem; color: var(--teal-900); }
.how-steps span:not(.step-num) { font-size: .88rem; color: var(--muted); }

.contact-cards { display: grid; gap: 14px; }
.address-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white);
  padding: 22px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 3px solid var(--gold);
}
.card-icon { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); }
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--teal-700); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-icon .pin { animation: pinBounce 2.4s ease-in-out infinite; }
@keyframes pinBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.address-card h3 { font-size: .95rem; margin-bottom: .3em; }
.address-card address { font-style: normal; color: var(--muted); line-height: 1.7; font-size: .92rem; }
.address-card strong { color: var(--ink); }
.address-card a { color: var(--teal-500); font-weight: 700; }
.address-note { margin: 8px 0 0; font-size: .8rem; color: var(--muted); font-style: italic; }

/* form */
.contact-form {
  position: relative;
  background: var(--white);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.contact-form::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--teal-500), var(--gold));
}
.form-head { display: flex; gap: 16px; align-items: center; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-head-icon { flex: 0 0 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal-700), var(--teal-500)); }
.form-head-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-light); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form-head h3 { font-size: 1.15rem; margin: 0 0 2px; }
.form-head p { margin: 0; font-size: .86rem; color: var(--muted); }
.req { color: var(--gold); font-weight: 700; }

.field { margin-bottom: 18px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 6px; color: var(--teal-900); }
.input-wrap { position: relative; }
.input-wrap > svg {
  position: absolute; left: 14px; top: 14px; width: 18px; height: 18px; pointer-events: none;
  fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .25s;
}
.input-wrap:focus-within > svg { stroke: var(--teal-500); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px 13px 42px;
  font: inherit; font-size: .95rem;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #a3aaa8; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white);
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(30,143,122,.15);
}
.field .invalid { border-color: #c0392b; animation: shake .4s; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .84rem; color: var(--muted); margin: 4px 0 22px; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent .check {
  flex: 0 0 20px; height: 20px; margin-top: 1px; border-radius: 6px;
  border: 1.5px solid var(--line); background: var(--cream);
  display: grid; place-items: center; transition: background .25s, border-color .25s;
}
.consent .check svg { width: 12px; height: 12px; fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.5); transition: .25s var(--ease); }
.consent input:checked + .check { background: var(--teal-500); border-color: var(--teal-500); }
.consent input:checked + .check svg { opacity: 1; transform: none; }
.consent input:focus-visible + .check { box-shadow: 0 0 0 4px rgba(30,143,122,.15); }
.consent.invalid .check { border-color: #c0392b; }
.consent a { color: var(--teal-500); font-weight: 700; }

.btn-spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(11,47,46,.25); border-top-color: var(--teal-900); animation: spin .8s linear infinite; }
.btn.loading { pointer-events: none; opacity: .85; }
.btn.loading .btn-icon { display: none; }
.btn.loading .btn-spinner { display: block; }
.form-status { margin: 14px 0 0; font-size: .9rem; min-height: 1.4em; }
.form-status.ok { color: #1e7b4f; }
.form-status.err { color: #c0392b; }

.form-success { text-align: center; padding: 30px 10px 10px; animation: fadeUp .6s var(--ease); }
.form-success svg { width: 84px; height: 84px; margin: 0 auto 18px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.form-success .ring { stroke: var(--gold-soft); stroke-width: 4; }
.form-success .tick { stroke: var(--teal-500); stroke-width: 4; stroke-dasharray: 40; stroke-dashoffset: 40; animation: tickDraw .6s var(--ease) .3s forwards; }
@keyframes tickDraw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: 1.3rem; }
.form-success p { color: var(--muted); max-width: 380px; margin: 0 auto 22px; }

/* ---------- Map ---------- */
.map iframe { display: block; width: 100%; height: 360px; border: 0; filter: grayscale(.4) sepia(.1); }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--teal-900); color: rgba(255,255,255,.72); padding: 72px 0 24px; }
.footer-wave { position: absolute; left: 0; right: 0; top: -39px; width: 100%; height: 40px; color: var(--teal-900); }
.map + .footer .footer-wave { display: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.logo-light { color: var(--white); }
.footer-note { margin: 18px 0 20px; max-width: 380px; font-size: .92rem; line-height: 1.7; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .9rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact a { color: var(--gold-light); font-weight: 700; }
.footer-contact a:hover { text-decoration: underline; }
.footer-col h4 { font: 600 .82rem var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin: 6px 0 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { position: relative; font-size: .93rem; transition: color .3s, padding-left .3s var(--ease); }
.footer-col a::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 2px; background: var(--gold); border-radius: 2px; transition: width .3s var(--ease); }
.footer-col a:hover { color: var(--gold-light); padding-left: 16px; }
.footer-col a:hover::before { width: 10px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; font-size: .84rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; }
.footer-legal a { transition: color .3s; }
.footer-legal a:hover { color: var(--gold-light); }

/* ---------- Legal / inner pages ---------- */
.header-solid, .header-solid.scrolled { background: var(--teal-900); padding: 12px 0; box-shadow: 0 2px 24px rgba(0,0,0,.2); }
.header-solid .logo, .header-solid.scrolled .logo { color: var(--white); }
.header-solid .nav a:not(.btn), .header-solid.scrolled .nav a:not(.btn) { color: rgba(255,255,255,.9); }
.header-solid .nav-toggle span, .header-solid.scrolled .nav-toggle span { background: var(--white); }

.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--teal-900), var(--teal-800));
  color: var(--white);
  padding: 150px 0 70px;
}
.page-hero .orb { opacity: .4; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; margin-bottom: .3em; }
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero .meta { opacity: .75; font-size: .92rem; margin: 0; }
.page-hero .container { position: relative; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .86rem; opacity: .8; margin-bottom: 1.2em; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 60px; align-items: start; }
.legal-nav { position: sticky; top: 100px; }
.legal-nav h4 { font: 600 .78rem var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.legal-nav ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 4px; }
.legal-nav a { display: block; padding: 8px 12px; border-radius: 8px; font-size: .92rem; font-weight: 600; color: var(--muted); transition: background .25s, color .25s; }
.legal-nav a:hover { background: var(--white); color: var(--teal-900); }
.legal-nav a.current { background: var(--teal-900); color: var(--white); }
.legal-toc a { font-weight: 400; padding: 6px 12px; font-size: .88rem; }
.legal-toc a.current { background: var(--gold-soft); color: var(--teal-900); }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin: 2.2em 0 .7em; padding-top: .4em; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.05rem; margin: 1.6em 0 .5em; }
.prose p, .prose li { color: #3e4a48; font-size: .98rem; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--teal-500); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose .callout {
  background: var(--white); border-left: 4px solid var(--gold); border-radius: 12px;
  padding: 18px 22px; margin: 1.6em 0; box-shadow: var(--shadow);
}
.prose .callout p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--white); font-family: var(--head); font-weight: 600; font-size: .86rem; color: var(--teal-900); }
.placeholder { background: var(--gold-soft); color: #7a5213; padding: 0 .35em; border-radius: 4px; font-weight: 700; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--gold); color: var(--teal-900);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(227,166,64,.4);
  opacity: 0; pointer-events: none; transform: translateY(16px) scale(.8);
  transition: .4s var(--ease);
}
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { transform: translateY(-4px); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .hero-anim, .hero h1 .word, .thread, .weft line { opacity: 1; transform: none; stroke-dashoffset: 0; }
  .glow { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-art { max-width: 380px; margin: 20px auto 0; }
}

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-nav { position: static; }
  .legal-toc { display: none; }
  .legal-nav ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .about-grid, .quality-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-grid, .material-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .about-cards .stat-card:nth-child(even), .about-cards .stat-card:nth-child(even).visible { transform: none; }
  .pipeline-flow { display: none; }
  .timeline-line { left: 22px; transform: none; }
  .timeline-step { display: flex; flex-direction: column; padding-left: 54px; gap: 14px; }
  .step-node { position: absolute; left: 0; top: 22px; }
  .node-circle { width: 38px; height: 38px; font-size: 0.84rem; }
  .order-swap { order: 2; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; position: relative; z-index: 60; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(300px, 82%);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 18px; padding: 40px;
    background: var(--teal-900);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .45s var(--ease);
  }
  .nav.open { transform: none; box-shadow: -10px 0 40px rgba(0,0,0,.3); }
  .nav a:not(.btn), .header.scrolled .nav a:not(.btn) { color: var(--white); font-size: 1.1rem; }
  .nav-toggle.active span { background: var(--white); }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .chip-1 { left: -6%; } .chip-3 { left: -6%; }
  .hero-stats { gap: 24px; }
  .glow { display: none; }
}

@media (max-width: 600px) {
  .product-grid, .material-grid, .industry-grid, .about-cards, .quality-list { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; gap: 0; }
  .map iframe { height: 280px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-hero { padding-top: 120px; }
  .hero { padding-top: 110px; }
  .hero-stats strong { font-size: 1.6rem; }
}
