:root {
  --cream: #faf6ef;
  --ink: #1a1714;
  --sand: #f1e9da;
  --sand-deep: #e6dccb;
  --muted: #6e655a;
  --terracotta: #d4642a;
  --line: #d7cdbd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background-image: radial-gradient(rgba(92,71,48,.05) .7px, transparent .7px);
  background-size: 5px 5px;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
figure { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(330px, 1fr) auto auto;
  align-items: center;
  gap: 42px;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  background: rgba(250,246,239,.94);
  backdrop-filter: blur(12px);
}
.brand { font-family: Georgia, "Songti SC", serif; font-size: 19px; font-weight: 700; }
.site-header nav, footer nav { display: flex; gap: 34px; font-size: 13px; }
.site-header nav a:hover, footer nav a:hover { color: var(--terracotta); }
.mobile-nav { display: none; }
.header-cta {
  color: white;
  background: var(--terracotta);
  border-color: var(--terracotta);
}
.header-cta { padding: 13px 19px; font-size: 13px; }

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: 48% 52%;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7vw 4vw 4vw 6vw;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Songti SC", "STSong", serif; }
h1 {
  margin-bottom: 32px;
  font-size: clamp(50px, 5vw, 76px);
  line-height: 1.03;
  letter-spacing: -.045em;
}
h2 { margin-bottom: 18px; font-size: clamp(38px, 3.8vw, 58px); line-height: 1.06; letter-spacing: -.035em; }
h3 { margin-bottom: 12px; font-size: 27px; }
.lead { max-width: 650px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero-media { min-height: 760px; overflow: hidden; background: var(--ink); }
.hero-media img { height: 100%; object-fit: cover; }

.content-band {
  min-height: 650px;
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.content-band.application, .content-band.quality { grid-template-columns: 60% 40%; }
.section-copy { display: flex; flex-direction: column; justify-content: center; padding: 75px 6vw; }
.index { display: block; margin-bottom: 22px; color: var(--terracotta); font-family: ui-monospace, Consolas, monospace; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.accent-line { width: 42px; height: 3px; margin: 6px 0 28px; background: var(--terracotta); }
.media-grid { display: grid; gap: 1px; background: var(--line); }
.media-grid.two { grid-template-columns: 1fr 1fr; }
.media-grid figure { overflow: hidden; background: var(--ink); }
.media-grid img, .wide-media img { height: 100%; object-fit: cover; }
.wide-media { min-height: 650px; overflow: hidden; background: var(--ink); }

.fact-list, .contact-list { margin: 30px 0 0; }
.fact-list div, .contact-list div {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 24px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.fact-list dt, .contact-list dt { color: var(--muted); font-size: 12px; }
.fact-list dd, .contact-list dd { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.6; }

.manufacturing { background: var(--sand); }
.quality { background: var(--cream); }
.project-band {
  min-height: 350px;
  display: grid;
  grid-template-columns: 34% 66%;
  align-items: center;
  gap: 4vw;
  padding: 70px 6vw;
  color: var(--cream);
  background: var(--ink);
  border-bottom: 1px solid #38332e;
}
.project-band .index { color: #ef8a55; }
.project-band h2 { margin: 0; }
.project-detail { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center; padding-left: 5vw; border-left: 1px solid #4e4740; }
.project-detail strong { color: var(--terracotta); font-family: Georgia, serif; font-size: 78px; }
.project-detail p { margin-bottom: 12px; color: var(--sand-deep); font-size: 17px; }
.project-detail small { color: #a89e92; line-height: 1.7; }

.about { background: var(--sand); }
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  padding: 100px 8vw;
  border-bottom: 1px solid var(--line);
}
footer {
  min-height: 105px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  padding: 28px 4vw;
  color: var(--cream);
  background: var(--ink);
  font-size: 11px;
}
footer strong { font-family: Georgia, "Songti SC", serif; font-size: 15px; }
footer span { justify-self: end; color: #b8aea3; }

@media (max-width: 900px) {
  .site-header { min-height: 68px; grid-template-columns: 1fr auto; gap: 14px; }
  .site-header nav { display: none; }
  .mobile-nav { position: relative; display: block; }
  .mobile-nav summary { padding: 9px 12px; border: 1px solid var(--ink); font-size: 13px; list-style: none; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav div { position: absolute; top: calc(100% + 12px); right: 0; min-width: 180px; padding: 8px 18px; border: 1px solid var(--line); background: var(--cream); box-shadow: 0 18px 40px rgba(0,0,0,.14); }
  .mobile-nav a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .mobile-nav a:last-child { border-bottom: 0; }
  .brand { font-size: 13px; }
  .header-cta { display: none; }
  .hero, .content-band, .content-band.application, .content-band.quality { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-copy { min-height: 610px; padding: 82px 22px 42px; }
  h1 { font-size: clamp(44px, 12vw, 60px); }
  h2 { font-size: 39px; }
  .hero-media { min-height: 420px; }
  .content-band { min-height: auto; }
  .application .wide-media, .quality .media-grid { order: 2; }
  .section-copy { padding: 70px 22px; }
  .wide-media { min-height: 420px; }
  .media-grid.two { grid-template-columns: 1fr; }
  .media-grid figure { min-height: 360px; }
  .project-band { grid-template-columns: 1fr; padding: 70px 22px; }
  .project-detail { grid-template-columns: 1fr; padding: 36px 0 0; border-left: 0; border-top: 1px solid #4e4740; }
  .project-detail strong { font-size: 70px; }
  .fact-list div, .contact-list div { grid-template-columns: 120px 1fr; }
  .contact { grid-template-columns: 1fr; padding: 80px 22px; }
  footer { grid-template-columns: 1fr; gap: 18px; }
  footer nav { display: none; }
  footer span { justify-self: start; }
}
