:root {
  --navy: #0B1D33;
  --navy-deep: #071322;
  --camel: #C9A063;
  --camel-light: #E4CB99;
  --cream: #F7F5F1;
  --charcoal: #232323;
  --line: #DAD3C6;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.55;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */
header.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 29, 51, 0.96);
  backdrop-filter: blur(6px);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-inner img.logo-mark {
  height: 34px;
  width: auto;
}

nav.main-nav {
  display: flex;
  gap: 30px;
}

nav.main-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.03em;
  opacity: 0.8;
  transition: opacity 0.2s;
}

nav.main-nav a:hover { opacity: 1; }

.nav-cta {
  background: var(--camel);
  color: var(--navy-deep) !important;
  padding: 9px 20px;
  border-radius: 2px;
  opacity: 1 !important;
  font-weight: 600;
}

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(7,19,34,0.55) 0%, rgba(7,19,34,0.86) 72%, var(--navy-deep) 100%),
    url('assets/factory/production-floor-wide.png') center/cover no-repeat;
}

.hero-content {
  padding: 140px 0 90px;
  width: 100%;
  color: var(--cream);
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12.5px;
  color: var(--camel-light);
  margin: 0 0 22px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.04;
  margin: 0 0 26px;
  max-width: 820px;
}

.hero h1 em {
  font-style: italic;
  color: var(--camel-light);
}

.hero p.lede {
  max-width: 560px;
  font-size: 18px;
  color: #D9DEE6;
  margin: 0 0 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  text-decoration: none;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  font-weight: 600;
  border-radius: 2px;
  transition: transform 0.15s, background 0.15s;
}

.btn-primary { background: var(--camel); color: var(--navy-deep); }
.btn-primary:hover { background: var(--camel-light); transform: translateY(-1px); }

.btn-ghost {
  border: 1px solid rgba(247,245,241,0.4);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--cream); }

.hero-stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(247,245,241,0.18);
  padding-top: 28px;
  gap: 20px;
}

.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--camel-light);
}
.hero-stats .stat-label {
  font-size: 12.5px;
  color: #B9C1CC;
  margin-top: 4px;
  letter-spacing: 0.01em;
}

/* ---------- Section basics ---------- */
section { padding: 100px 0; }

.section-head { max-width: 680px; margin-bottom: 56px; }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--camel);
  font-weight: 600;
  margin: 0 0 14px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 42px);
  margin: 0 0 16px;
  color: var(--navy);
  line-height: 1.15;
}

.section-head p { color: #514B42; font-size: 16.5px; max-width: 620px; }

.on-navy { background: var(--navy); color: var(--cream); }
.on-navy .section-head h2 { color: var(--cream); }
.on-navy .section-head p { color: #C6CCD6; }

/* ---------- Story ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-copy p { margin: 0 0 18px; font-size: 16.5px; color: #3A362F; }
.story-copy p.lineage {
  border-left: 3px solid var(--camel);
  padding-left: 20px;
  font-style: italic;
  color: var(--navy);
}

.story-photo img { border-radius: 2px; }

/* ---------- Stats strip (manufacturing strength) ---------- */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(247,245,241,0.15);
  border: 1px solid rgba(247,245,241,0.15);
}

.strength-card {
  background: var(--navy);
  padding: 34px 28px;
}

.strength-card .num {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--camel-light);
  line-height: 1;
}
.strength-card .label {
  margin-top: 10px;
  font-size: 13.5px;
  color: #C6CCD6;
  letter-spacing: 0.01em;
}

/* ---------- Process: compact grid, not a long scroll ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-card {
  background: #fff;
  padding: 26px 22px;
  min-height: 168px;
}

.process-card .pnum {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--camel);
  display: block;
  margin-bottom: 10px;
}

.process-card h3 {
  margin: 0 0 8px;
  font-size: 15.5px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.25;
}
.process-card p { margin: 0; color: #514B42; font-size: 13px; line-height: 1.45; }

/* ---------- Material swatches (signature element) ---------- */
.swatch-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 46px;
}
.swatch {
  aspect-ratio: 1;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.02em;
  font-weight: 600;
}

.materials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.materials-grid h3 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--navy);
  margin: 0 0 14px;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: #3A362F;
  background: #fff;
}

/* ---------- Product range ---------- */
.range-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.range-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 34px;
}
.range-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--navy);
  margin: 0 0 16px;
}
.range-card ul { margin: 0; padding: 0; list-style: none; }
.range-card li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: #3A362F;
}
.range-card li:first-child { border-top: none; }

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(247,245,241,0.15);
}
.why-card {
  background: var(--navy);
  padding: 30px 26px;
}
.why-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--cream);
}
.why-card p { margin: 0; font-size: 14px; color: #C6CCD6; }

/* ---------- Facility gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 2px;
}
.gallery-grid .tall { grid-row: span 2; height: 474px; }

/* ---------- Clients: sleek scrolling marquee ---------- */
.clients-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 36s linear infinite;
}

.clients-marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.client-chip {
  flex: 0 0 auto;
  width: 168px;
  height: 84px;
  margin: 0 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
}

.client-chip.light { background: #FBFAF7; }
.client-chip.dark {
  background: rgba(247,245,241,0.04);
  border: 1px solid rgba(247,245,241,0.1);
}

.client-chip img {
  max-height: 42px;
  max-width: 100%;
  width: auto;
  filter: grayscale(1);
  opacity: 0.78;
  transition: opacity 0.2s, filter 0.2s;
}
.client-chip:hover img { filter: grayscale(0); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .clients-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info dl { margin: 0; }
.contact-info dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--camel-light);
  margin-top: 26px;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd {
  margin: 6px 0 0;
  font-size: 17px;
  color: var(--cream);
}

form.inquiry {
  background: rgba(247,245,241,0.05);
  border: 1px solid rgba(247,245,241,0.16);
  padding: 34px;
}
form.inquiry label {
  display: block;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #C6CCD6;
  margin: 18px 0 8px;
}
form.inquiry label:first-child { margin-top: 0; }
form.inquiry input, form.inquiry textarea, form.inquiry select {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(247,245,241,0.22);
  color: var(--cream);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 2px;
}
form.inquiry textarea { resize: vertical; min-height: 100px; }
form.inquiry button {
  margin-top: 26px;
  width: 100%;
  border: none;
  cursor: pointer;
}
.form-note { font-size: 13px; color: #93a0ad; margin-top: 14px; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy-deep);
  color: #93A0AD;
  padding: 46px 0 28px;
  font-size: 13.5px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(247,245,241,0.1);
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-top img { height: 26px; }
footer .footer-links { display: flex; gap: 22px; }
footer a { text-decoration: none; color: #93A0AD; }
footer a:hover { color: var(--cream); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  nav.main-nav { display: none; }
  .story-grid, .contact-grid, .materials-grid, .range-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .strength-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid .tall { height: 230px; grid-row: span 1; }
  .swatch-strip { grid-template-columns: repeat(4,1fr); }
}

@media (max-width: 560px) {
  .wrap, .header-inner { padding-left: 20px; padding-right: 20px; }
  section { padding: 70px 0; }
  .hero-content { padding: 120px 0 60px; }
  .swatch-strip { grid-template-columns: repeat(3,1fr); }
  .process-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

:focus-visible {
  outline: 2px solid var(--camel);
  outline-offset: 2px;
}

/* ---------- Videos ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: rgba(247,245,241,0.05);
  border: 1px solid rgba(247,245,241,0.16);
  border-radius: 2px;
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-title {
  margin: 12px 0 0;
  font-size: 14px;
  color: #C6CCD6;
}
@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr; }
}
