/*
Theme Name: Decor Art Factory
Theme URI: https://panjiawei88.xyz/
Author: Panjiawei Decor
Author URI: https://panjiawei88.xyz/
Description: A clean factory-style WordPress theme for decorative wall art suppliers, inspired by premium export manufacturing websites.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: decor-art-factory
*/

:root {
  --ink: #11110f;
  --paper: #f5f1e8;
  --white: #ffffff;
  --muted: #706b61;
  --line: #d9d2c5;
  --accent: #b9ff2d;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(17, 17, 15, 0.12);
  background: rgba(245, 241, 232, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 76px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  font-size: 14px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.quote-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.button.secondary {
  color: var(--ink);
  background: transparent;
}

.hero {
  color: var(--white);
  background: var(--ink);
}

.hero-grid {
  max-width: var(--max);
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 72px 24px 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(48px, 8vw, 118px);
  line-height: 0.9;
}

.hero-lede {
  max-width: 620px;
  margin: 26px 0 0;
  color: #d6d0c7;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-actions .secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-media {
  position: relative;
  min-height: 520px;
}

.hero-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  right: -16px;
  bottom: 34px;
  width: min(280px, calc(100% - 30px));
  padding: 22px;
  color: var(--ink);
  background: var(--accent);
}

.hero-card strong {
  display: block;
  font-size: 38px;
  line-height: 1;
}

.hero-card span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 88px 24px;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1.1fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 42px;
}

.section-title {
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.98;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.statement {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.statement-line {
  max-width: var(--max);
  margin: 0 auto;
  padding: 62px 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.04;
}

.factory {
  background: var(--paper);
}

.split {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(300px, 1.05fr);
  gap: 48px;
  align-items: center;
}

.factory-image {
  min-height: 520px;
  object-fit: cover;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 36px;
}

.fact {
  min-height: 126px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.fact span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink);
}

.collection-card {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.collection-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.collection-card div {
  padding: 24px;
}

.collection-card h3,
.capability h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.collection-card p,
.capability p {
  margin: 0;
  color: var(--muted);
}

.dark {
  color: var(--white);
  background: var(--ink);
}

.dark .section-copy,
.dark .capability p {
  color: #d3ccc1;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.capability {
  min-height: 235px;
  padding: 28px;
  background: var(--ink);
}

.capability-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(300px, 1.1fr);
  gap: 56px;
  align-items: start;
}

.contact-panel {
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-list p {
  margin: 0;
  color: var(--muted);
}

.contact-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
}

.newsletter-form {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.newsletter-form input,
.newsletter-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.newsletter-form textarea {
  min-height: 120px;
  resize: vertical;
}

.site-footer {
  padding: 34px 24px;
  color: #d3ccc1;
  background: var(--ink);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.content-page {
  max-width: 820px;
  min-height: 60vh;
  margin: 0 auto;
  padding: 88px 24px;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: auto;
    padding: 18px 20px;
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .quote-link {
    width: 100%;
  }

  .hero-grid,
  .section-head,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-media,
  .hero-media img,
  .factory-image {
    min-height: 360px;
    height: 360px;
  }

  .hero-card {
    right: 16px;
    bottom: 18px;
  }

  .collection-grid,
  .capabilities-grid,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 48px;
  }

  .section {
    padding: 64px 20px;
  }

  .statement-line {
    padding: 46px 20px;
  }

  .hero-actions .button {
    width: 100%;
  }
}
