/*
Theme Name: Dong Jun Tents
Theme URI: https://dongjuntent.com
Author: Dong Jun
Description: Custom B2B tent and deployable shelter theme for Dong Jun.
Version: 1.2.4
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: dongjun-tents
*/

:root {
  --ink: #17231d;
  --ink-soft: #3f4b44;
  --forest: #1f3b2d;
  --forest-2: #2f5740;
  --moss: #657557;
  --sand: #d9c5a3;
  --paper: #f5f2ea;
  --white: #fff;
  --line: rgba(23, 35, 29, .16);
  --shadow: 0 22px 60px rgba(18, 31, 24, .14);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, 'Segoe UI', Arial, sans-serif;
  --wrap: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid #b6c988;
  outline-offset: 3px;
}
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; top: 8px; left: 8px; z-index: 9999;
  padding: 10px 14px; background: #fff; color: #000;
}
.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding: 108px 0; }
.section--compact { padding: 78px 0; }
.section--white { background: var(--white); }
.section--dark { color: var(--white); background: var(--forest); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 12px; line-height: 1; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.display, h1, h2, h3 { margin-top: 0; font-family: var(--serif); font-weight: 400; line-height: 1.08; }
.display { font-size: clamp(48px, 7vw, 104px); letter-spacing: -.045em; }
h1 { font-size: clamp(44px, 6vw, 82px); letter-spacing: -.04em; }
h2 { font-size: clamp(38px, 4.8vw, 66px); letter-spacing: -.035em; }
h3 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.lede { max-width: 720px; color: var(--ink-soft); font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; }
.section--dark .lede { color: rgba(255,255,255,.76); }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 1px solid var(--forest); border-radius: 0;
  color: var(--white); background: var(--forest); font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: .25s ease;
}
.button:hover, .button:focus-visible { color: var(--white); background: var(--forest-2); transform: translateY(-2px); }
.button--light { color: var(--forest); background: var(--white); border-color: var(--white); }
.button--light:hover { color: var(--forest); background: var(--paper); }
.button--outline { color: var(--forest); background: transparent; }
.button--outline:hover { color: var(--white); background: var(--forest); }
.button--ghost { color: var(--white); background: transparent; border-color: rgba(255,255,255,.55); }
.button--ghost:hover { color: var(--forest); background: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.link-arrow::after { content: '→'; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(5px); }

.contact-strip { color: #fff; background: #13251b; font-size: 12px; }
.contact-strip__inner { min-height: 39px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.contact-strip__links { display: flex; align-items: center; gap: 24px; }
.contact-strip a { opacity: .88; }
.contact-strip a:hover { opacity: 1; text-decoration: underline; }
.contact-strip__note { opacity: .7; letter-spacing: .08em; text-transform: uppercase; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.site-header__inner { min-height: 82px; display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 26px; }
.brand img { width: 145px; max-height: 62px; object-fit: contain; object-position: left center; }
.primary-nav { justify-self: center; }
.primary-nav ul { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { position: relative; padding: 28px 0; font-size: 13px; font-weight: 650; letter-spacing: .035em; }
.primary-nav a::after { content: ''; position: absolute; right: 0; bottom: 21px; left: 0; height: 1px; background: var(--forest); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 1px; margin: 5px auto; background: var(--ink); transition: .2s ease; }

.hero { position: relative; min-height: 770px; display: grid; align-items: end; color: #fff; background: #17231d; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,22,15,.84) 0%, rgba(10,22,15,.52) 48%, rgba(10,22,15,.18) 100%), linear-gradient(0deg, rgba(10,20,14,.55), transparent 48%); }
.hero__content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 80px; align-items: end; padding: 104px 0 82px; }
.hero__copy { max-width: 780px; }
.hero h1 { max-width: 820px; margin-bottom: 25px; }
.hero__copy > p { max-width: 700px; margin-bottom: 34px; color: rgba(255,255,255,.85); font-size: 19px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-contact { padding: 28px; color: var(--ink); background: rgba(247,244,235,.94); box-shadow: var(--shadow); }
.hero-contact__title { margin-bottom: 20px; font-family: var(--serif); font-size: 25px; line-height: 1.2; }
.hero-contact__item { display: block; padding: 13px 0; border-top: 1px solid var(--line); }
.hero-contact__label { display: block; margin-bottom: 2px; color: var(--moss); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-contact__value { font-size: 15px; font-weight: 650; overflow-wrap: anywhere; }
.hero-contact__item:hover .hero-contact__value { text-decoration: underline; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
.section-head h2 { max-width: 760px; margin-bottom: 0; }
.category-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.category-card { position: relative; grid-column: span 4; min-height: 420px; color: #fff; overflow: hidden; background: #26362e; }
.category-card:nth-child(1), .category-card:nth-child(2) { grid-column: span 6; min-height: 500px; }
.category-card__media { position: absolute; inset: 0; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.category-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,20,13,.82), rgba(8,20,13,.05) 70%); }
.category-card__content { position: absolute; z-index: 2; right: 28px; bottom: 25px; left: 28px; }
.category-card__count { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.category-card h3 { margin: 8px 0 0; }
.category-card:hover img { transform: scale(1.04); }

.story-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 0; min-height: 680px; background: #e9e3d6; }
.story-grid__image img { width: 100%; height: 100%; min-height: 680px; object-fit: cover; }
.story-grid__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(50px, 8vw, 120px); }
.story-grid__content h2 { margin-bottom: 28px; }
.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.fact strong { display: block; font-family: var(--serif); font-size: 34px; font-weight: 400; }
.fact span { color: var(--ink-soft); font-size: 12px; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 18px; }
.product-card { min-width: 0; }
.product-card__image { aspect-ratio: 4 / 3; margin-bottom: 18px; overflow: hidden; background: #fff; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover img { transform: scale(1.035); }
.product-card__category { margin-bottom: 7px; color: var(--moss); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.product-card h3 { margin: 0 0 9px; font-family: var(--sans); font-size: 17px; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
.product-card .link-arrow { font-size: 11px; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 54px; border-top: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); }
.process-step { position: relative; min-height: 255px; padding: 32px 28px; border-right: 1px solid rgba(255,255,255,.22); }
.process-step:last-child { border-right: 0; }
.process-step__num { display: block; margin-bottom: 50px; color: var(--sand); font-family: var(--serif); font-size: 34px; }
.process-step h3 { margin-bottom: 12px; font-family: var(--sans); font-size: 18px; font-weight: 700; }
.process-step p { margin: 0; color: rgba(255,255,255,.68); font-size: 14px; }

.split-showcase { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.split-showcase__main, .split-showcase__side { position: relative; min-height: 610px; overflow: hidden; }
.split-showcase__side { min-height: 420px; align-self: end; }
.split-showcase img { width: 100%; height: 100%; object-fit: cover; }
.media-caption { position: absolute; right: 0; bottom: 0; left: 0; padding: 22px; color: #fff; background: linear-gradient(0deg, rgba(8,18,12,.78), transparent); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.industry-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--line); }
.industry-item { padding: 30px 24px 30px 0; border-bottom: 1px solid var(--line); }
.industry-item:nth-child(3n+2), .industry-item:nth-child(3n+3) { padding-left: 24px; border-left: 1px solid var(--line); }
.industry-item h3 { margin-bottom: 8px; font-family: var(--sans); font-size: 18px; font-weight: 750; }
.industry-item p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.inquiry-band { position: relative; color: #fff; background: #173023; overflow: hidden; scroll-margin-top: 110px; }
.inquiry-band::before { content: ''; position: absolute; inset: 0; opacity: .12; background: radial-gradient(circle at 15% 30%, #fff, transparent 38%); }
.inquiry-band .lede { color: rgba(255,255,255,.76); }
.inquiry-layout { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.contact-stack { margin-top: 35px; border-top: 1px solid rgba(255,255,255,.23); }
.contact-stack a, .contact-stack div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.23); }
.contact-stack span:first-child { color: rgba(255,255,255,.58); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; padding: 38px; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.form-field { min-width: 0; }
.form-field--wide { grid-column: 1 / -1; }
.form-field label { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; min-height: 50px; padding: 12px 13px; border: 1px solid rgba(23,35,29,.24); border-radius: 0; color: var(--ink); background: #fff;
}
.form-field textarea { min-height: 116px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 2px solid var(--moss); outline-offset: 1px; }
.form-note { grid-column: 1 / -1; margin: 0; color: var(--ink-soft); font-size: 12px; }
.form-status { margin-bottom: 25px; padding: 13px 16px; color: var(--ink); background: #e6eadf; border-left: 3px solid var(--forest-2); }
.form-status--failed { background: #f4dfd8; border-left-color: #9b3d2b; }

.page-hero { padding: 100px 0 78px; color: #fff; background: var(--forest); }
.page-hero__grid { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: end; }
.page-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.72); font-size: 19px; }
.breadcrumb { margin-bottom: 34px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .66; }
.breadcrumb a:hover { text-decoration: underline; }
.filter-nav { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 45px; padding: 0; list-style: none; }
.filter-nav a { display: block; padding: 9px 13px; border: 1px solid var(--line); background: rgba(255,255,255,.35); font-size: 12px; font-weight: 700; }
.filter-nav a:hover, .filter-nav .is-active { color: #fff; background: var(--forest); border-color: var(--forest); }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 22px; }
.pagination { margin-top: 55px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 4px 10px; border: 1px solid var(--line); }
.pagination .current { color: #fff; background: var(--forest); }

.product-detail { padding: 70px 0 110px; }
.product-detail__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: start; }
.product-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.product-gallery figure { margin: 0; background: #fff; overflow: hidden; }
.product-gallery figure:first-child { grid-column: 1 / -1; }
.product-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-summary { position: sticky; top: 120px; }
.product-summary h1 { font-size: clamp(38px, 4.5vw, 62px); }
.product-summary__category { color: var(--moss); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.product-summary__intro { color: var(--ink-soft); font-size: 18px; }
.option-list { margin: 30px 0; border-top: 1px solid var(--line); }
.option-list div { display: grid; grid-template-columns: 140px 1fr; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.option-list strong { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.product-note { margin: 22px 0; padding: 17px; background: #e9e3d6; color: var(--ink-soft); font-size: 13px; }

.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.content-grid + .content-grid { margin-top: 100px; }
.content-grid__media img { width: 100%; min-height: 520px; object-fit: cover; }
.prose h2 { margin-bottom: 26px; }
.prose h3 { margin-top: 32px; font-family: var(--sans); font-size: 20px; font-weight: 750; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 20px; }
.timeline { margin-top: 38px; border-top: 1px solid var(--line); }
.timeline__item { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.timeline__item strong { color: var(--moss); font-family: var(--serif); font-size: 28px; font-weight: 400; }
.timeline__item h3 { margin: 0 0 5px; font-family: var(--sans); font-size: 17px; font-weight: 750; }
.timeline__item p { margin: 0; font-size: 14px; }
.contact-map { padding: 36px; background: #e9e3d6; }
.contact-map h3 { margin-bottom: 18px; }
.contact-map address { font-style: normal; color: var(--ink-soft); }

.site-footer { color: rgba(255,255,255,.78); background: #102019; }
.site-footer__main { display: grid; grid-template-columns: 1.3fr .7fr .8fr 1fr; gap: 55px; padding: 76px 0 56px; }
.site-footer__logo { width: 150px; margin-bottom: 23px; padding: 10px; background: #fff; }
.site-footer h3 { margin-bottom: 18px; color: #fff; font-family: var(--sans); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 8px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 25px; padding: 19px 0 26px; border-top: 1px solid rgba(255,255,255,.14); font-size: 11px; }
.mobile-contact { display: none; }

@media (max-width: 1050px) {
  :root { --wrap: min(100% - 36px, 920px); }
  .site-header__inner { grid-template-columns: 150px 1fr auto; }
  .primary-nav ul { gap: 18px; }
  .site-header .button { display: none; }
  .hero__content { grid-template-columns: 1fr 330px; gap: 35px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer__main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  body { padding-bottom: 62px; }
  .section { padding: 78px 0; }
  .contact-strip__note, .contact-strip__links a:nth-child(3), .contact-strip__links span { display: none; }
  .contact-strip__inner { justify-content: center; }
  .contact-strip__links { gap: 20px; }
  .site-header__inner { min-height: 70px; grid-template-columns: 1fr auto; }
  .brand img { width: 122px; max-height: 54px; }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; inset: 109px 0 0; display: none; padding: 30px 24px; background: var(--paper); overflow-y: auto; }
  .nav-open .primary-nav { display: block; }
  .primary-nav ul { display: block; }
  .primary-nav li { border-bottom: 1px solid var(--line); }
  .primary-nav a { display: block; padding: 17px 0; font-family: var(--serif); font-size: 26px; font-weight: 400; }
  .primary-nav a::after { display: none; }
  .hero { min-height: auto; }
  .hero__content { grid-template-columns: 1fr; gap: 28px; padding: 90px 0 45px; }
  .hero__media::after { background: linear-gradient(90deg, rgba(9,21,14,.82), rgba(9,21,14,.45)), linear-gradient(0deg, rgba(9,21,14,.65), transparent 60%); }
  .hero-contact { max-width: 520px; }
  .section-head { display: block; }
  .section-head .link-arrow { margin-top: 18px; }
  .category-card, .category-card:nth-child(1), .category-card:nth-child(2) { grid-column: span 12; min-height: 390px; }
  .story-grid, .content-grid, .inquiry-layout, .page-hero__grid, .product-detail__grid { grid-template-columns: 1fr; }
  .story-grid__image img { min-height: 430px; }
  .story-grid__content { padding: 58px 26px; }
  .product-grid, .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.22); }
  .split-showcase { grid-template-columns: 1fr; }
  .split-showcase__main, .split-showcase__side { min-height: 460px; }
  .industry-list { grid-template-columns: 1fr 1fr; }
  .industry-item:nth-child(3n+2), .industry-item:nth-child(3n+3) { padding-left: 0; border-left: 0; }
  .industry-item:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
  .inquiry-layout { gap: 45px; }
  .product-summary { position: static; }
  .content-grid + .content-grid { margin-top: 70px; }
  .site-footer__main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .mobile-contact { position: fixed; z-index: 1100; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(3, 1fr); min-height: 62px; background: var(--forest); box-shadow: 0 -8px 30px rgba(0,0,0,.17); }
  .mobile-contact a { display: grid; place-items: center; color: #fff; border-right: 1px solid rgba(255,255,255,.2); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
}

@media (max-width: 560px) {
  :root { --wrap: calc(100vw - 28px); }
  .display, h1 { font-size: 46px; }
  h2 { font-size: 39px; }
  .contact-strip__links { width: 100%; justify-content: space-between; }
  .contact-strip__links a { font-size: 11px; }
  .hero__actions .button { width: 100%; }
  .hero-contact { padding: 22px; }
  .category-card, .category-card:nth-child(1), .category-card:nth-child(2) { min-height: 340px; }
  .fact-row { grid-template-columns: 1fr; }
  .product-grid, .archive-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step:nth-child(2) { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .process-step__num { margin-bottom: 25px; }
  .industry-list { grid-template-columns: 1fr; }
  .industry-item, .industry-item:nth-child(even) { padding: 22px 0; border-left: 0; }
  .inquiry-form { grid-template-columns: 1fr; padding: 24px 18px; }
  .form-field { grid-column: 1 / -1; }
  .page-hero { padding: 70px 0 55px; }
  .product-gallery { grid-template-columns: 1fr; }
  .product-gallery figure:first-child { grid-column: auto; }
  .option-list div { grid-template-columns: 1fr; gap: 4px; }
  .site-footer__main { grid-template-columns: 1fr; }
  .site-footer__bottom { display: block; }
}

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

/* 1.2.0 — editorial manufacturing redesign */
:root {
  --ink: #18201c;
  --ink-soft: #56605a;
  --forest: #19392c;
  --forest-2: #2b5743;
  --moss: #6b755e;
  --sand: #d5bd96;
  --paper: #f2eee4;
  --white: #fff;
  --accent: #b85d39;
  --line: rgba(24, 32, 28, .17);
  --shadow: 0 24px 65px rgba(24, 32, 28, .13);
  --wrap: min(1240px, calc(100vw - 64px));
}

::selection { color: #fff; background: var(--accent); }
body { background: var(--paper); }
.section { padding: 94px 0; }
.section--compact { padding: 70px 0; }
.section--white { background: #fbfaf6; }
.eyebrow { color: var(--accent); font-size: 11px; letter-spacing: .2em; }
.section--dark .eyebrow, .inquiry-band .eyebrow { color: #e1c9a4; }
h1 { font-size: clamp(48px, 5.2vw, 78px); }
h2 { font-size: clamp(38px, 4.2vw, 60px); }
.lede { line-height: 1.65; }

.button {
  min-height: 50px;
  padding-inline: 22px;
  border-color: var(--forest);
  border-radius: 0;
  letter-spacing: .09em;
  background: var(--forest);
  box-shadow: none;
}
.button:hover, .button:focus-visible { background: var(--forest-2); transform: translateY(-1px); }
.button--outline { color: var(--ink); border-color: rgba(24,32,28,.45); background: transparent; }
.button--outline:hover { color: #fff; border-color: var(--forest); background: var(--forest); }
.button--ghost { color: #fff; border-color: rgba(255,255,255,.48); background: transparent; }
.link-arrow { color: var(--ink); font-size: 12px; letter-spacing: .09em; }
.link-arrow::after { color: var(--accent); }

.contact-strip { background: #101814; }
.contact-strip__inner { min-height: 34px; }
.contact-strip__note { color: rgba(255,255,255,.62); font-size: 10px; }
.contact-strip__links { gap: 27px; }
.contact-strip__links a, .contact-strip__links span { color: rgba(255,255,255,.88); font-size: 10px; letter-spacing: .025em; }
.site-header { background: rgba(251,250,246,.96); }
.site-header__inner { min-height: 76px; grid-template-columns: 160px 1fr auto; }
.brand img { width: 128px; max-height: 56px; }
.primary-nav ul { gap: 34px; }
.primary-nav a { font-size: 12px; letter-spacing: .045em; }
.primary-nav a::after { height: 2px; background: var(--accent); }
.site-header > .wrap > .button, .site-header__inner > .button { border-color: var(--accent); background: var(--accent); }
.site-header > .wrap > .button:hover, .site-header__inner > .button:hover { border-color: #9e492c; background: #9e492c; }

.hero {
  min-height: 720px;
  align-items: stretch;
  color: var(--ink);
  background: #e8e1d4;
}
.hero__media { right: 0; left: 50%; }
.hero__media img { object-position: 53% center; }
.hero__media::after {
  background: linear-gradient(90deg, #e8e1d4 0, rgba(232,225,212,.2) 22%, transparent 48%), linear-gradient(0deg, rgba(18,26,21,.2), transparent 45%);
}
.hero__content {
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: 72px;
  align-items: end;
  padding: 104px 0 86px;
}
.hero__copy { max-width: 660px; }
.hero h1 { max-width: 690px; margin-bottom: 26px; color: var(--ink); font-size: clamp(52px, 5.6vw, 82px); }
.hero__copy > p { max-width: 600px; color: var(--ink-soft); font-size: 18px; }
.hero__actions { gap: 10px; }
.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(24,32,28,.25);
}
.hero__proof span { color: var(--ink-soft); font-size: 11px; line-height: 1.45; }
.hero__proof strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.hero-contact {
  width: min(100%, 340px);
  justify-self: end;
  padding: 24px 26px;
  border-top: 4px solid var(--accent);
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 45px rgba(18,26,21,.18);
}
.hero-contact__title { font-size: 23px; }
.hero-contact__label { color: var(--accent); }

.section-head { margin-bottom: 42px; }
.section-head h2 { max-width: 830px; }
.category-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.category-card, .category-card:nth-child(1), .category-card:nth-child(2) {
  grid-column: auto;
  min-height: 390px;
  border-bottom: 4px solid var(--accent);
}
.category-card__content { right: 20px; bottom: 20px; left: 20px; }
.category-card h3 { font-size: clamp(22px, 2.1vw, 30px); }
.category-card::after { background: linear-gradient(0deg, rgba(10,18,13,.88), rgba(10,18,13,.04) 72%); }

.story-grid {
  width: var(--wrap);
  min-height: 620px;
  margin: 0 auto 94px;
  grid-template-columns: 1.08fr .92fr;
  background: #fff;
  box-shadow: 0 22px 70px rgba(24,32,28,.09);
}
.story-grid__image { min-width: 0; overflow: hidden; }
.story-grid__image img { min-height: 620px; object-position: center; }
.story-grid__content { padding: clamp(52px, 6vw, 88px); }
.story-grid__content h2 { max-width: 560px; }
.fact strong { color: var(--accent); font-family: var(--sans); font-size: 22px; font-weight: 750; }

.product-grid, .archive-grid { align-items: stretch; gap: 28px 20px; }
.product-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  border: 1px solid rgba(24,32,28,.13);
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.product-card:hover { border-color: rgba(24,32,28,.34); box-shadow: 0 18px 45px rgba(24,32,28,.1); transform: translateY(-3px); }
.product-card__image {
  position: relative;
  display: block;
  width: 100%;
  flex: 0 0 auto;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #eeeae1;
}
.product-card__image::after { content: ''; position: absolute; inset: 0; border: 0 solid rgba(255,255,255,.65); transition: border-width .25s ease; }
.product-card:hover .product-card__image::after { border-width: 8px; }
.product-card__view {
  position: absolute;
  z-index: 2;
  right: 13px;
  bottom: 13px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(16,24,20,.86);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(5px);
  transition: .25s ease;
}
.product-card:hover .product-card__view { opacity: 1; transform: none; }
.product-card__body { display: flex; min-height: 152px; flex: 1; flex-direction: column; padding: 20px 20px 22px; }
.product-card__category { margin-bottom: 10px; color: var(--accent); }
.product-card h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.17; }
.product-card__body p { margin-bottom: 20px; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.product-card .link-arrow { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }

.page-hero { padding: 82px 0 68px; background: #173126; }
.page-hero__grid { grid-template-columns: minmax(0, 1fr) 390px; }
.page-hero h1 { max-width: 850px; }
.page-hero--catalog { color: var(--ink); background: #ddd3c1; }
.page-hero--catalog .breadcrumb { color: var(--ink-soft); opacity: 1; }
.page-hero--catalog .eyebrow { color: var(--accent); }
.catalog-hero__aside { align-self: end; max-width: 280px; padding-left: 24px; border-left: 1px solid rgba(24,32,28,.28); }
.catalog-hero__aside strong { display: block; color: var(--accent); font-family: var(--serif); font-size: 76px; font-weight: 400; line-height: .88; }
.catalog-hero__aside span { display: block; margin-top: 14px; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.catalog-section { padding-top: 62px; background: #f6f3eb; }
.catalog-intro { display: grid; grid-template-columns: minmax(0, 720px) auto; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 34px; }
.catalog-intro p { margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
.filter-nav { gap: 24px; margin-bottom: 38px; border-bottom: 1px solid var(--line); }
.filter-nav li { flex: 0 0 auto; }
.filter-nav a {
  position: relative;
  padding: 13px 0 14px;
  border: 0;
  background: transparent;
  font-size: 11px;
  letter-spacing: .025em;
}
.filter-nav a::after { content: ''; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: transparent; }
.filter-nav a:hover, .filter-nav .is-active { color: var(--ink); background: transparent; border-color: transparent; }
.filter-nav a:hover::after, .filter-nav .is-active::after { background: var(--accent); }
.archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pagination .current { background: var(--accent); border-color: var(--accent); }

.section--dark { background: #132c22; }
.process-grid { border-color: rgba(255,255,255,.18); }
.process-step__num { color: #dc9b76; }
.split-showcase { gap: 14px; }
.industry-item { border-top-color: rgba(24,32,28,.18); }
.inquiry-band { background: #122d21; }
.inquiry-form { background: #f7f3e9; box-shadow: 0 26px 70px rgba(4,16,10,.24); }
.form-field input, .form-field textarea, .form-field select { border-color: rgba(24,32,28,.24); background: #fff; }
.site-footer { background: #0e1813; }

@media (max-width: 1120px) {
  :root { --wrap: min(100% - 44px, 980px); }
  .primary-nav ul { gap: 20px; }
  .hero__content { grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-card, .category-card:nth-child(1), .category-card:nth-child(2) { min-height: 360px; }
}

@media (max-width: 820px) {
  :root { --wrap: min(100% - 34px, 720px); }
  .section { padding: 72px 0; }
  .site-header__inner { grid-template-columns: 1fr auto; min-height: 70px; }
  .hero { min-height: auto; display: block; }
  .hero__media { position: relative; right: auto; left: auto; width: 100%; height: 380px; }
  .hero__media::after { background: linear-gradient(0deg, rgba(18,26,21,.22), transparent 55%); }
  .hero__content { grid-template-columns: 1fr; gap: 38px; padding: 52px 0 60px; }
  .hero h1 { max-width: 680px; }
  .hero-contact { width: 100%; max-width: none; justify-self: stretch; }
  .hero__proof { max-width: 600px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-card, .category-card:nth-child(1), .category-card:nth-child(2) { grid-column: auto; min-height: 360px; }
  .story-grid { grid-template-columns: 1fr; min-height: auto; margin-bottom: 72px; }
  .story-grid__image img { min-height: 430px; }
  .story-grid__content { padding: 54px 34px; }
  .product-grid, .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero__grid { grid-template-columns: 1fr; gap: 38px; }
  .catalog-hero__aside { display: flex; max-width: 360px; align-items: end; gap: 18px; padding: 0; border: 0; }
  .catalog-hero__aside strong { font-size: 62px; }
  .catalog-hero__aside span { margin: 0 0 3px; }
  .catalog-intro { grid-template-columns: 1fr; gap: 14px; }
  .filter-nav { flex-wrap: nowrap; margin-right: calc((100vw - var(--wrap)) / -2); overflow-x: auto; scrollbar-width: thin; }
}

@media (max-width: 560px) {
  :root { --wrap: calc(100vw - 28px); }
  .contact-strip__links { gap: 14px; }
  .hero__media { height: 250px; }
  .hero__content { padding: 34px 0 50px; }
  .hero h1 { font-size: 42px; line-height: 1.02; }
  .hero__copy > p { font-size: 17px; }
  .hero__proof { grid-template-columns: 1fr; gap: 12px; }
  .hero__proof span { display: grid; grid-template-columns: 92px 1fr; align-items: baseline; }
  .hero__proof strong { display: inline; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card, .category-card:nth-child(1), .category-card:nth-child(2) { min-height: 360px; }
  .story-grid__image img { min-height: 320px; }
  .story-grid__content { padding: 42px 22px; }
  .fact-row { grid-template-columns: 1fr 1fr; }
  .product-grid, .archive-grid { grid-template-columns: 1fr; }
  .product-card__body { min-height: 0; }
  .product-card__view { opacity: 1; transform: none; }
  .page-hero { padding: 46px 0 38px; }
  .page-hero h1 { font-size: 42px; }
  .catalog-hero__aside strong { font-size: 54px; }
  .catalog-section { padding-top: 32px; }
  .catalog-intro { margin-bottom: 22px; }
  .catalog-intro p { font-size: 15px; }
}
