:root {
  --navy:        #14213d;
  --navy-deep:   #0d172b;
  --navy-soft:   #1f2f52;
  --offwhite:    #f7f5f0;
  --offwhite-2:  #efe9df;
  --gold:        #c8a24a;
  --gold-soft:   #e0c781;
  --ink:         #1a1f2b;
  --muted:       #6c7486;
  --line:        #dcd6ca;
  --white:       #ffffff;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--offwhite);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--navy); }

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.section-lead { color: var(--muted); max-width: 60ch; font-size: 1.05rem; }

.gold-rule { width: 56px; height: 2px; background: var(--gold); margin: 22px 0; border: 0; }

/* ---------- Header / Nav ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20,33,61,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: baseline; gap: 10px; color: var(--white); }
.brand .mark { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.5px; }
.brand .mark span { color: var(--gold); }
.brand .sub { font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-soft); }

.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em;
  position: relative; padding: 4px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px; background: var(--gold); transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--gold); color: var(--gold) !important;
  padding: 9px 18px !important; border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-cta:hover { background: var(--gold); color: var(--navy) !important; }
.nav-cta::after { display: none; }

.nav-toggle { display: none; background: none; border: 0; color: var(--white); cursor: pointer; font-size: 1.5rem; }

/* ---------- Hero (home) ---------- */
.hero {
  background:
    linear-gradient(180deg, rgba(13,23,43,0.86), rgba(20,33,61,0.92)),
    radial-gradient(1200px 500px at 80% -10%, rgba(200,162,74,0.18), transparent 60%),
    var(--navy);
  color: var(--white);
  padding: clamp(80px, 13vw, 160px) 0 clamp(70px, 11vw, 130px);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(900px 500px at 70% 0%, #000, transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 600; max-width: 16ch; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero .lead { color: rgba(255,255,255,0.78); font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 56ch; margin-top: 24px; }
.hero .actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.03em;
  padding: 14px 28px; border-radius: 2px; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn-gold { background: var(--gold); color: var(--navy); border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: clamp(48px, 8vw, 84px);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-stats .stat { background: var(--navy); padding: 26px 22px; }
.hero-stats .num { font-family: var(--serif); font-size: clamp(1.9rem, 3.5vw, 2.6rem); color: var(--gold); font-weight: 600; }
.hero-stats .label { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ---------- Page banner (subpages) ---------- */
.page-hero {
  background:
    linear-gradient(180deg, rgba(13,23,43,0.9), rgba(20,33,61,0.94)),
    radial-gradient(1000px 400px at 85% -20%, rgba(200,162,74,0.16), transparent 60%),
    var(--navy);
  color: var(--white);
  padding: clamp(56px, 9vw, 96px) 0 clamp(48px, 7vw, 76px);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(800px 400px at 75% 0%, #000, transparent 70%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .crumb { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.page-hero .crumb a:hover { color: var(--gold-soft); }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; max-width: 20ch; }
.page-hero .lead { color: rgba(255,255,255,0.78); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 62ch; margin-top: 18px; }

/* ---------- Generic section ---------- */
section.block { padding: clamp(70px, 11vw, 120px) 0; }
.block.alt { background: var(--white); }
.block.navy { background: var(--navy); color: var(--white); }
.block.navy h2, .block.navy h3 { color: var(--white); }

.section-head { margin-bottom: 56px; }
.center { text-align: center; }
.center .section-lead, .center .gold-rule { margin-left: auto; margin-right: auto; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-copy p { color: var(--muted); margin-bottom: 18px; }
.about-copy p strong { color: var(--ink); font-weight: 600; }
.about-card {
  background: var(--navy); color: var(--white); border-radius: 4px;
  padding: 40px; position: relative; overflow: hidden;
  border: 1px solid var(--navy-soft);
}
.about-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--gold);
}
.about-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 18px; }
.about-card ul { list-style: none; }
.about-card li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; gap: 16px; font-size: 0.92rem; }
.about-card li:last-child { border-bottom: 0; }
.about-card li span { color: var(--gold-soft); font-weight: 600; }

/* ---------- Process flow ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.flow .step {
  background: var(--white); border: 1px solid var(--line); border-radius: 4px;
  padding: 28px 20px; position: relative; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.block.navy .flow .step { background: var(--navy-soft); border-color: rgba(255,255,255,0.12); }
.flow .step:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(20,33,61,0.12); }
.flow .step .n {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--navy);
  width: 38px; height: 38px; border-radius: 50%; background: var(--gold);
  display: grid; place-items: center; margin-bottom: 16px;
}
.flow .step h4 { font-size: 1.15rem; margin-bottom: 6px; }
.block.navy .flow .step h4 { color: var(--white); }
.flow .step p { font-size: 0.85rem; color: var(--muted); }
.block.navy .flow .step p { color: rgba(255,255,255,0.7); }

/* ---------- Images / media ---------- */
.figure { overflow: hidden; border-radius: 6px; border: 1px solid var(--line); background: var(--offwhite-2); position: relative; }
.figure img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.figure:hover img { transform: scale(1.04); }
.figure .cap {
  position: absolute; left: 0; bottom: 0; right: 0;
  background: linear-gradient(transparent, rgba(13,23,43,0.85));
  color: #fff; padding: 30px 18px 14px; font-size: 0.78rem; letter-spacing: 0.06em;
}
.figure .cap b { color: var(--gold-soft); font-weight: 600; }

.about-figure { aspect-ratio: 4/5; }

/* Vertical-integration stages (Spinning -> Knitting -> Processing -> Production) */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stage {
  background: var(--navy-soft); border: 1px solid rgba(255,255,255,0.12); border-radius: 6px;
  overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stage:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.stage .stage-img { aspect-ratio: 16/11; overflow: hidden; position: relative; }
.stage .stage-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.stage:hover .stage-img img { transform: scale(1.06); }
.stage .stage-img .step-no {
  position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-family: var(--serif); font-weight: 700;
  display: grid; place-items: center; font-size: 1rem;
}
.stage .stage-body { padding: 22px 20px 26px; }
.stage .stage-body h4 { color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.stage .stage-body p { font-size: 0.85rem; color: rgba(255,255,255,0.72); }
.stage .stage-body .tagline { color: var(--gold-soft); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; font-weight: 600; }

/* Infra section image strip */
.infra-figure { aspect-ratio: 16/9; margin-bottom: 8px; }

/* ---------- Infrastructure ---------- */
.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-bottom: 64px;
}
.stat-band .scard {
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: 4px; padding: 30px 26px;
}
.stat-band .scard .num { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--navy); line-height: 1; }
.stat-band .scard .num small { font-size: 1.1rem; color: var(--gold); font-weight: 600; }
.stat-band .scard .label { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

.infra-layout { display: grid; grid-template-columns: 1fr; gap: 56px; }

.table-block h3 { font-size: 1.5rem; margin-bottom: 6px; }
.table-block .th-note { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; }

.machine-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.machine-table thead th {
  background: var(--navy); color: var(--white); text-align: left;
  font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 20px;
}
.machine-table thead th.num, .machine-table tbody td.num { text-align: right; }
.machine-table tbody td { padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.machine-table tbody tr:last-child td { border-bottom: 0; }
.machine-table tbody tr:nth-child(even) { background: var(--offwhite); }
.machine-table tbody tr:hover { background: var(--offwhite-2); }
.machine-table td.num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--navy); }
.machine-table tfoot td {
  padding: 14px 20px; background: var(--navy-deep); color: var(--white);
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em;
}
.machine-table tfoot td.num { text-align: right; color: var(--gold-soft); }
.machine-table .muted-cell { color: var(--muted); }

.infra-two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* Product range / card grids (reused for products, quality, about-values) */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 4px;
  padding: 28px; transition: border-color 0.2s ease, transform 0.2s ease;
}
.product-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.product-card .pc-icon { width: 44px; height: 44px; border-radius: 4px; background: var(--offwhite-2); display: grid; place-items: center; margin-bottom: 16px; color: var(--gold); }
.product-card h4 { font-size: 1.3rem; margin-bottom: 8px; }
.product-card p { font-size: 0.9rem; color: var(--muted); }
.product-card ul { list-style: none; }
.product-card li { font-size: 0.88rem; color: var(--muted); padding: 5px 0; padding-left: 18px; position: relative; }
.product-card li::before { content: ''; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tag { background: var(--white); border: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; font-weight: 500; padding: 8px 16px; border-radius: 100px; }
.block.navy .tag { background: var(--navy-soft); border-color: rgba(255,255,255,0.14); color: rgba(255,255,255,0.82); }

/* Product category card (image + list) */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.category-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.category-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(20,33,61,0.1); }
.category-card .cat-img { aspect-ratio: 4/3; overflow: hidden; }
.category-card .cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.category-card:hover .cat-img img { transform: scale(1.06); }
.category-card .cat-body { padding: 22px 22px 26px; }
.category-card .cat-body h4 { font-size: 1.25rem; margin-bottom: 10px; }
.category-card .cat-body ul { list-style: none; }
.category-card .cat-body li { font-size: 0.88rem; color: var(--muted); padding: 5px 0; padding-left: 18px; position: relative; }
.category-card .cat-body li::before { content: ''; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

/* Capability / capacity callout */
.capacity-band {
  background: var(--navy); color: var(--white); border-radius: 6px; padding: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.capacity-band::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border: 1px solid rgba(200,162,74,0.25); border-radius: 50%;
}
.capacity-band h3 { color: var(--white); font-size: 1.9rem; margin-bottom: 14px; }
.capacity-band p { color: rgba(255,255,255,0.75); }
.capacity-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.12); position: relative; z-index: 1; }
.capacity-figures .cf { background: var(--navy); padding: 22px; }
.capacity-figures .cf .num { font-family: var(--serif); font-size: 1.9rem; color: var(--gold); font-weight: 600; }
.capacity-figures .cf .label { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 72px); }
.contact-info .ci-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info .ci-item:last-child { border-bottom: 0; }
.contact-info .ci-icon { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.contact-info .ci-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.contact-info .ci-val { font-size: 1.02rem; color: var(--ink); font-weight: 500; }

form .field { margin-bottom: 18px; }
form label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--navy); margin-bottom: 7px; }
form input, form textarea {
  width: 100%; font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
form input:focus, form textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,162,74,0.15); }
form textarea { resize: vertical; min-height: 130px; }

.map-figure { aspect-ratio: 16/9; margin-top: 32px; }

/* ---------- Footer ---------- */
footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
footer h4 { color: var(--white); font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
footer .f-brand .mark { font-family: var(--serif); font-size: 1.6rem; color: var(--white); font-weight: 700; }
footer .f-brand .mark span { color: var(--gold); }
footer .f-brand p { font-size: 0.9rem; max-width: 36ch; margin-top: 14px; }
footer ul { list-style: none; }
footer ul li { padding: 6px 0; font-size: 0.9rem; }
footer ul li a:hover { color: var(--gold-soft); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid, .contact-grid, .capacity-band, .infra-two { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .category-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stages { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--navy); padding: 12px var(--pad) 22px; border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-toggle { display: block; }
  .flow, .product-grid, .category-grid, .stat-band, .footer-grid, .capacity-figures, .stages { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
