/*
Theme Name: NEPUO Light
Theme URI: https://nepuo.com/
Author: NEPUO
Description: Premium fiberglass materials theme for the NEPUO test website.
Version: 0.3.0
Text Domain: nepuo-light
*/

:root {
  --ink: #111317;
  --text: #2b3037;
  --muted: #727983;
  --line: #e4e7eb;
  --paper: #ffffff;
  --soft: #f5f5f7;
  --mist: #eef3f2;
  --brand: #0d3442;
  --brand-deep: #050b10;
  --green: #2f7f69;
  --copper: #9a6a4a;
  --amber: #d6a84d;
  --shadow: 0 24px 70px rgba(12, 18, 24, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  background: var(--paper);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(228, 231, 235, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
}
.header-inner,
.section-inner,
.footer-inner,
.page-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}
.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-deep);
  font-weight: 800;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--brand);
  border-radius: 10px;
  font-size: 13px;
}
.brand-text {
  display: grid;
  gap: 1px;
}
.brand-name {
  font-size: 16px;
  line-height: 1.1;
}
.brand-subtitle {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #334650;
  font-size: 13px;
  font-weight: 700;
}
.nav a {
  padding: 24px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}
.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-size: 14px;
  font-weight: 800;
}
.btn:hover,
.header-cta:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}
.btn.secondary {
  color: var(--brand);
  background: #fff;
}

.premium-hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-rows: auto minmax(320px, 1fr);
  overflow: hidden;
  background: #f5f5f7;
}
.premium-hero-copy {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 112px) 0 26px;
  text-align: center;
}
.premium-hero-copy .eyebrow,
.center-head .eyebrow,
.premium-cta .eyebrow {
  color: var(--green);
}
.premium-hero h1 {
  max-width: 920px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.96;
  letter-spacing: 0;
}
.premium-hero p {
  max-width: 680px;
  margin: 22px auto 0;
  color: #4d555d;
  font-size: clamp(18px, 2vw, 24px);
}
.premium-hero .hero-actions {
  justify-content: center;
  margin-top: 28px;
}
.premium-hero-visual {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: center;
  min-height: 360px;
}
.premium-hero-visual::before {
  content: "";
  position: absolute;
  inset: auto 8% 0;
  height: 48%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,127,105,0.22), rgba(47,127,105,0));
  filter: blur(16px);
}
.premium-hero-visual img {
  position: relative;
  width: min(1040px, 92vw);
  max-height: 52vh;
  object-fit: cover;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -12px 80px rgba(17, 19, 23, 0.16);
}

.statement {
  padding: clamp(74px, 10vw, 136px) 0;
  background: #fff;
}
.statement-inner {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}
.statement p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.04;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  padding: 18px;
  background: var(--soft);
}
.showcase-card {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
}
.showcase-card.large {
  grid-row: span 2;
  min-height: 720px;
}
.showcase-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(6,13,18,0.72));
}
.showcase-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  padding: clamp(28px, 4vw, 48px);
  color: #fff;
}
.showcase-copy .eyebrow {
  color: rgba(255,255,255,0.7);
}
.showcase-copy strong {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}
.showcase-copy span:last-child {
  max-width: 520px;
  color: rgba(255,255,255,0.8);
  font-size: 17px;
}

.premium-panel {
  min-height: 760px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 11, 16, 0.88), rgba(5, 11, 16, 0.45)),
    var(--panel-image) center / cover no-repeat;
}
.premium-panel.light {
  background:
    linear-gradient(90deg, rgba(245, 245, 247, 0.98), rgba(245, 245, 247, 0.76), rgba(245, 245, 247, 0.2)),
    var(--panel-image) center / cover no-repeat;
}
.premium-panel-copy {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}
.premium-panel-copy h2 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
}
.premium-panel.light h2 {
  color: var(--ink);
}
.premium-panel-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255,255,255,0.78);
  font-size: 20px;
}
.premium-panel.light p:not(.eyebrow) {
  color: #4f5860;
}

.product-universe {
  background: #fff;
}
.center-head {
  max-width: 850px;
  margin: 0 auto 42px;
  text-align: center;
}
.center-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
}
.center-head p {
  max-width: 650px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.precision-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #d8dde2;
}
.precision-item {
  min-height: 320px;
  display: grid;
  align-content: end;
  gap: 12px;
  padding: clamp(30px, 4vw, 58px);
  background: #f5f5f7;
}
.precision-item strong {
  color: var(--ink);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}
.precision-item span {
  max-width: 420px;
  color: var(--muted);
  font-size: 17px;
}

.premium-cta {
  padding: clamp(80px, 12vw, 160px) 20px;
  text-align: center;
  background: #fff;
}
.premium-cta h2 {
  max-width: 900px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(44px, 7vw, 90px);
  line-height: 1;
}
.premium-cta p:not(.eyebrow) {
  max-width: 600px;
  margin: 20px auto 28px;
  color: var(--muted);
  font-size: 20px;
}

.hero {
  min-height: 610px;
  display: grid;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(9, 29, 39, 0.9), rgba(9, 29, 39, 0.54), rgba(9, 29, 39, 0.18)),
    var(--hero-image) center / cover no-repeat;
}
.hero-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 42px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero .eyebrow {
  color: #f0c874;
}
.hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 4.7vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}
.hero p {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.87);
  font-size: 18px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-actions .btn.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.1);
}
.hero-panel {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto -44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(10, 32, 43, 0.86);
  box-shadow: var(--shadow);
}
.stat {
  min-height: 108px;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  color: #fff;
  font-size: 27px;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.section {
  padding: 96px 0;
}
.section.after-hero {
  padding-top: 112px;
}
.section.soft { background: var(--soft); }
.section.mist { background: var(--mist); }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}
.section-head h2,
.split-copy h2,
.cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.1;
  letter-spacing: 0;
}
.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(60, 124, 104, 0.45);
  box-shadow: var(--shadow);
}
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}
.product-card-content {
  display: grid;
  gap: 10px;
  padding: 18px;
}
.product-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.22;
}
.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.product-card .card-link {
  margin-top: 4px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}
.split-media img {
  width: 100%;
  aspect-ratio: 5 / 3.7;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.split-copy p {
  color: var(--muted);
}
.check-list,
.process-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: var(--green);
}
.process-list {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.process-list li {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.process-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}
.process-list span {
  color: var(--muted);
  font-size: 14px;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.industry {
  min-height: 176px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.industry h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 19px;
}
.industry p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cta {
  padding: 78px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11, 36, 48, 0.96), rgba(23, 63, 79, 0.9)),
    var(--cta-image) center / cover no-repeat;
}
.cta-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta h2 { color: #fff; }
.cta p {
  max-width: 660px;
  margin: 14px 0 0;
  color: rgba(255,255,255,0.78);
}
.cta .btn {
  border-color: #fff;
  background: #fff;
  color: var(--brand);
}

.site-footer {
  padding: 42px 0;
  color: rgba(255,255,255,0.74);
  background: #0b1820;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
}
.footer-inner strong {
  color: #fff;
}

.page-shell {
  padding: 78px 0;
}
.archive-header {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11, 36, 48, 0.92), rgba(23, 63, 79, 0.76)),
    var(--archive-image, none) center / cover no-repeat;
}
.archive-header-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0;
}
.archive-header h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.05;
}
.archive-header p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}
.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 48px;
}
.product-hero-image {
  position: sticky;
  top: 98px;
}
.product-hero-image img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.entry-content {
  color: var(--muted);
}
.entry-content h1,
.entry-content h2,
.entry-content h3 {
  color: var(--ink);
}
.entry-content h2 {
  margin: 32px 0 12px;
  font-size: 25px;
  line-height: 1.2;
}
.entry-content p { margin: 0 0 15px; }
.entry-content ul {
  margin: 0 0 20px;
  padding-left: 20px;
}
.entry-content li { margin: 6px 0; }
.spec-table-wrap {
  width: 100%;
  margin: 16px 0 26px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.spec-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13px;
  color: var(--ink);
}
.spec-table th,
.spec-table td {
  padding: 11px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.spec-table th {
  background: #edf3f1;
  font-weight: 800;
}
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.detail-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.detail-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.detail-gallery figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
}
.inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 840px;
}
.inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}
.inquiry-form label:last-of-type {
  grid-column: 1 / -1;
}
.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}
.inquiry-form textarea {
  min-height: 150px;
  resize: vertical;
}
.inquiry-notice {
  max-width: 840px;
  margin-bottom: 18px;
  padding: 13px 15px;
  border: 1px solid #b9d7c7;
  border-radius: 6px;
  background: #edf8f1;
  color: #205a38;
  font-weight: 800;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }
  .nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .nav a { padding: 8px 0; }
  .header-cta { display: none; }
  .hero { min-height: 620px; }
  .hero-panel,
  .product-grid,
  .industry-grid,
  .detail-gallery,
  .process-list,
  .split,
  .product-detail-layout {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-head,
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .product-hero-image { position: static; }
  .premium-hero {
    min-height: auto;
    grid-template-rows: auto auto;
  }
  .premium-hero-copy {
    padding-top: 54px;
  }
  .premium-hero-visual img {
    max-height: none;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .showcase-card,
  .showcase-card.large {
    min-height: 560px;
    grid-row: auto;
  }
  .premium-panel {
    min-height: 640px;
  }
  .precision-band {
    grid-template-columns: 1fr;
  }
  .precision-item {
    min-height: 260px;
  }
}

@media (max-width: 680px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .page-shell,
  .hero-inner,
  .hero-panel,
  .archive-header-inner,
  .cta-inner {
    width: min(100% - 28px, 1200px);
  }
  .hero { min-height: 600px; }
  .hero-inner { padding-top: 74px; }
  .hero h1 { font-size: 39px; }
  .hero p { font-size: 16px; }
  .premium-hero h1 {
    font-size: 46px;
  }
  .premium-hero p,
  .premium-panel-copy p:not(.eyebrow),
  .premium-cta p:not(.eyebrow) {
    font-size: 17px;
  }
  .premium-hero-visual {
    min-height: 300px;
  }
  .premium-hero-visual img {
    width: calc(100% - 28px);
    border-radius: 20px 20px 0 0;
  }
  .statement p {
    font-size: 38px;
  }
  .showcase-grid {
    padding: 10px;
    gap: 10px;
  }
  .showcase-card,
  .showcase-card.large {
    min-height: 460px;
    border-radius: 20px;
  }
  .premium-panel {
    min-height: 560px;
  }
  .premium-panel-copy h2,
  .premium-cta h2,
  .center-head h2 {
    font-size: 42px;
  }
  .hero-panel,
  .product-grid,
  .industry-grid,
  .detail-gallery,
  .process-list,
  .split,
  .product-detail-layout,
  .inquiry-form {
    grid-template-columns: 1fr;
  }
  .section { padding: 70px 0; }
  .section.after-hero { padding-top: 98px; }
  .footer-inner { flex-direction: column; }
}
