/* ============================================
   JR Carton — Stylesheet
   Handcrafted industrial aesthetic
   ============================================ */

/* --- Tokens --- */
:root {
  --ink: #1C2833;
  --steel: #4A6274;
  --terra: #C4572A;
  --terra-light: #D4704A;
  --paper: #FAFAF7;
  --surface: #F0EFEB;
  --text: #2D2D2D;
  --muted: #7A7A72;
  --border: #E0DDD5;
  --border-light: #EBE9E3;

  --serif: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', -apple-system, 'Helvetica Neue', sans-serif;

  --xs: 0.75rem;
  --sm: 0.8125rem;
  --base: 0.9375rem;
  --md: 1.0625rem;
  --lg: 1.25rem;
  --xl: 1.5rem;
  --2xl: 2rem;
  --3xl: 2.75rem;
  --4xl: 3.5rem;
  --5xl: 4.25rem;

  --nav-h: 56px;
  --max-w: 1140px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  font-size: 16px;
}

body {
  font-family: var(--sans);
  font-size: var(--base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

::selection {
  background: var(--terra);
  color: white;
}

/* --- Layout --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 120px 0;
}

.section-surface {
  background: var(--surface);
}

/* --- Navigation --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: var(--ink);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.brand-mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

.brand-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.25);
}

.brand-name {
  font-weight: 300;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: var(--sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
  transition: color 0.25s var(--ease);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--terra);
  transition: width 0.25s var(--ease);
}

.nav-links a:hover {
  color: rgba(255, 255, 255, 0.95);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-link-cta {
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.8) !important;
  transition: all 0.25s var(--ease);
}

.nav-link-cta:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.nav-link-cta::after { display: none !important; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.7);
  transition: all 0.25s var(--ease);
  transform-origin: center;
}

.nav-burger.open span:first-child {
  transform: rotate(45deg) translate(2.5px, 2.5px);
}

.nav-burger.open span:last-child {
  transform: rotate(-45deg) translate(2.5px, -2.5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  background: var(--paper);
  overflow: hidden;
}

.hero-texture {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(28, 40, 51, 0.03) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.hero-content {
  padding-bottom: 80px;
  max-width: 780px;
}

.hero-eyebrow {
  font-size: var(--sm);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--serif);
  font-size: var(--5xl);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 32px;
}

.hero-accent {
  color: var(--terra);
}

.hero-desc {
  font-size: var(--md);
  font-weight: 300;
  line-height: 1.7;
  color: var(--steel);
  max-width: 540px;
  margin-bottom: 48px;
}

.hero-meta {
  display: flex;
  align-items: flex-end;
  gap: 64px;
}

.cta-link {
  font-size: var(--base);
  font-weight: 500;
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s var(--ease);
}

.cta-link:hover {
  gap: 14px;
}

.cta-arrow {
  font-size: 1.2em;
  transition: transform 0.25s var(--ease);
}

.cta-link:hover .cta-arrow {
  transform: translateX(2px);
}

.hero-specs {
  display: flex;
  gap: 40px;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-val {
  font-family: var(--serif);
  font-size: var(--xl);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.spec-unit {
  font-size: var(--xs);
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-cmyk-dots {
  position: absolute;
  top: 50%;
  right: -40px;
  width: 400px;
  height: 400px;
  transform: translateY(-50%);
  opacity: 0.35;
  background:
    radial-gradient(circle, #00BCD4 1.5px, transparent 1.5px),
    radial-gradient(circle, #E91E63 1.5px, transparent 1.5px),
    radial-gradient(circle, #FFEB3B 1.5px, transparent 1.5px),
    radial-gradient(circle, #212121 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  background-position: 0 0, 3px 3px, 6px 6px, 9px 9px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  pointer-events: none;
}

/* --- Section Headers --- */
.section-intro {
  margin-bottom: 72px;
}

.section-number {
  display: block;
  font-family: var(--sans);
  font-size: var(--xs);
  font-weight: 500;
  color: var(--terra);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--serif);
  font-size: var(--3xl);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-sub {
  font-size: var(--base);
  font-weight: 300;
  color: var(--steel);
  margin-top: 20px;
  max-width: 520px;
  line-height: 1.7;
}

/* --- Capabilities --- */
.capabilities-list {
  border-top: 1px solid var(--border);
}

.cap-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.cap-item::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 55%;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  transition: opacity 0.3s var(--ease);
  z-index: 0;
  mask-image: linear-gradient(to right, transparent 0%, black 40%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
}

.cap-item:hover::before {
  opacity: 0.45;
}

.cap-item > * {
  position: relative;
  z-index: 1;
}

.cap-bg-offset::before {
  background-image: url('/images/machine-offset.jpg');
}

.cap-bg-flexo::before {
  background-image: url('/images/machine-flexo.jpg');
}

.cap-bg-diecut::before {
  background-image: url('/images/machine-diecut.jpg');
}

.cap-bg-finishing::before {
  background-image: url('/images/machine-finishing.jpg');
}

.cap-bg-folder::before {
  background-image: url('/images/machine-folder.jpg');
}

.cap-item:hover {
  background: rgba(196, 87, 42, 0.015);
}

.cap-number {
  font-family: var(--serif);
  font-size: var(--lg);
  font-weight: 500;
  color: var(--border);
  padding-top: 2px;
}

.cap-item:hover .cap-number {
  color: var(--terra);
}

.cap-title {
  font-family: var(--serif);
  font-size: var(--xl);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.cap-desc {
  font-size: var(--base);
  font-weight: 300;
  color: var(--steel);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 640px;
}

.cap-specs {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.cap-specs li {
  font-size: var(--xs);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding-left: 12px;
  position: relative;
}

.cap-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--terra);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* --- Product Categories --- */
.product-categories {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.product-category {
  border-bottom: 1px solid var(--border);
  padding-bottom: 64px;
}

.product-category:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.product-category-header {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.product-cat-num {
  font-family: var(--serif);
  font-size: var(--sm);
  font-weight: 500;
  color: var(--terra);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  padding-top: 4px;
}

.product-cat-title {
  font-family: var(--serif);
  font-size: var(--xl);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.product-cat-desc {
  font-size: var(--sm);
  font-weight: 300;
  color: var(--steel);
  line-height: 1.7;
  max-width: 600px;
}

/* --- Product Gallery --- */
.product-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background: var(--border-light);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.gallery-item::after {
  content: attr(data-category);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  font-size: var(--xs);
  font-weight: 500;
  color: white;
  background: linear-gradient(transparent, rgba(28, 40, 51, 0.7));
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(28, 40, 51, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-caption {
  margin-top: 16px;
  font-size: var(--sm);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 32px;
  cursor: pointer;
  transition: color 0.25s var(--ease);
  z-index: 10;
}

.lightbox-close:hover {
  color: white;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  font-size: 28px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

/* --- Quality / Process --- */
.quality-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.quality-left .section-heading {
  margin-top: 16px;
}

.quality-step {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.quality-step:first-child {
  border-top: 1px solid var(--border);
}

.quality-step-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.quality-step-num {
  font-family: var(--serif);
  font-size: var(--lg);
  font-weight: 600;
  color: var(--terra);
  width: 32px;
  flex-shrink: 0;
}

.quality-step-head h4 {
  font-family: var(--serif);
  font-size: var(--base);
  font-weight: 600;
  color: var(--ink);
}

.quality-step p {
  font-size: var(--sm);
  font-weight: 300;
  color: var(--steel);
  line-height: 1.7;
  padding-left: 48px;
}

/* --- About --- */
.about-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-body {
  margin-top: 32px;
}

.about-body p {
  font-size: var(--base);
  font-weight: 300;
  color: var(--steel);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-sidebar {
  padding-top: 40px;
  border-left: 1px solid var(--border);
  padding-left: 40px;
}

.sidebar-block {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-block:first-child {
  padding-top: 0;
}

.sidebar-label {
  font-size: var(--xs);
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.sidebar-value {
  font-family: var(--serif);
  font-size: var(--2xl);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.sidebar-unit {
  font-family: var(--sans);
  font-size: var(--sm);
  font-weight: 400;
  color: var(--muted);
}

.sidebar-value-sm {
  font-size: var(--sm);
  font-weight: 400;
  color: var(--text);
  line-height: 1.6;
}

/* --- Contact --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-intro {
  font-size: var(--base);
  font-weight: 300;
  color: var(--steel);
  line-height: 1.7;
  margin-top: 20px;
  margin-bottom: 40px;
  max-width: 440px;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group label {
  display: block;
  font-size: var(--sm);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 0;
  font-family: var(--sans);
  font-size: var(--base);
  font-weight: 300;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  outline: none;
  transition: border-color 0.25s var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--terra);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
  font-weight: 300;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--sans);
  font-size: var(--sm);
  font-weight: 500;
  color: white;
  background: var(--ink);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  margin-top: 8px;
  align-self: flex-start;
}

.form-submit:hover {
  background: var(--terra);
}

.contact-right {
  padding-top: 48px;
}

.contact-block {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-block:first-child {
  padding-top: 0;
}

.contact-block h4 {
  font-size: var(--xs);
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.contact-block p {
  font-size: var(--sm);
  font-weight: 400;
  color: var(--text);
  line-height: 1.7;
}

.contact-block a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-block a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* --- Footer --- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.5);
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand-mark {
  color: white;
}

.footer-brand .brand-name {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand .brand-divider {
  background: rgba(255, 255, 255, 0.15);
}

.footer-tagline {
  font-size: var(--sm);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 16px;
  line-height: 1.6;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h5 {
  font-size: var(--xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: var(--sm);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: var(--xs);
  color: rgba(255, 255, 255, 0.25);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.stagger > .reveal:nth-child(2) { transition-delay: 0.06s; }
.stagger > .reveal:nth-child(3) { transition-delay: 0.12s; }
.stagger > .reveal:nth-child(4) { transition-delay: 0.18s; }
.stagger > .reveal:nth-child(5) { transition-delay: 0.24s; }
.stagger > .reveal:nth-child(6) { transition-delay: 0.3s; }

/* --- Form Success --- */
.form-success {
  padding: 40px 0;
}

.form-success p {
  font-size: var(--base);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.7;
}

.form-success p strong {
  color: var(--terra);
}

/* ============================================
   Custom Design Section
   ============================================ */

.custom-design-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.design-text {
  background: var(--color-white);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 4px 4px 0;
  padding: 28px;
}

.design-text p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  margin: 0;
}

.design-gallery {
  position: relative;
}

.design-gallery-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.design-gallery-track::-webkit-scrollbar {
  height: 6px;
}

.design-gallery-track::-webkit-scrollbar-track {
  background: transparent;
}

.design-gallery-track::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.design-gallery-item {
  flex: 0 0 calc(25% - 12px);
  min-width: 280px;
  max-width: 380px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

.design-gallery-item:hover {
  transform: scale(1.02);
}

.design-gallery-item img {
  width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 300px;
  object-fit: contain;
  display: block;
  background: var(--color-white);
}

.design-gallery-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.design-gallery-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 18px;
  color: var(--color-text);
}

.design-gallery-nav button:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.design-gallery-nav button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ============================================
   How to Order
   ============================================ */

.order-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 800px;
}

.order-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.order-step:last-child {
  border-bottom: none;
}

.order-step-num {
  font-family: var(--font-serif);
  font-size: var(--3xl);
  font-weight: 600;
  color: var(--steel);
  line-height: 1;
  padding-top: 4px;
}

.order-step h4 {
  font-family: var(--font-serif);
  font-size: var(--lg);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.order-step-time {
  font-family: var(--font-sans);
  font-size: var(--xs);
  font-weight: 500;
  color: var(--terra);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.order-step p:last-child {
  font-family: var(--font-sans);
  font-size: var(--sm);
  color: var(--text);
  line-height: 1.7;
  max-width: 600px;
}

/* ============================================
   FAQ
   ============================================ */

.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-serif);
  font-size: var(--md);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--terra);
}

.faq-icon {
  font-family: var(--font-sans);
  font-size: var(--xl);
  font-weight: 300;
  color: var(--steel);
  flex-shrink: 0;
  margin-left: 24px;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 0 0 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 0 24px 0;
}

.faq-answer p {
  font-family: var(--font-sans);
  font-size: var(--sm);
  color: var(--text);
  line-height: 1.8;
  max-width: 640px;
}

.faq-answer p strong {
  color: var(--ink);
  font-weight: 500;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  :root {
    --5xl: 3.25rem;
    --4xl: 2.75rem;
    --3xl: 2.25rem;
  }

  .section { padding: 80px 0; }

  .quality-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-sidebar {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 24px;
  }

  .product-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-categories { gap: 60px; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-cmyk-dots {
    width: 300px;
    height: 300px;
    right: -60px;
    opacity: 0.2;
  }
}

@media (max-width: 768px) {
  :root {
    --5xl: 2.5rem;
    --4xl: 2rem;
    --3xl: 1.75rem;
    --2xl: 1.5rem;
    --nav-h: 52px;
  }

  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .section-intro { margin-bottom: 48px; }

  /* Mobile nav */
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    padding: 12px 0;
    width: 100%;
    font-size: var(--base);
    color: rgba(255, 255, 255, 0.65);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav-link-cta {
    margin-top: 8px;
    border: none;
    padding: 12px 0;
    color: var(--terra) !important;
  }

  .nav-burger { display: flex; }

  /* Hero mobile */
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 48px);
    padding-bottom: 48px;
    align-items: flex-end;
  }

  .hero-content { padding-bottom: 0; }

  .hero-title br { display: none; }

  .hero-meta {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }

  .hero-specs { gap: 28px; }

  .hero-cmyk-dots { display: none; }

  /* Capabilities mobile */
  .cap-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 32px 0;
  }

  .cap-number {
    font-size: var(--sm);
    color: var(--terra);
  }

  .cap-specs {
    flex-direction: column;
    gap: 8px;
  }

  /* Products mobile */
  .product-categories { gap: 48px; }
  .product-category { padding-bottom: 40px; }

  .product-category-header {
    flex-direction: column;
    gap: 8px;
  }

  .product-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 22px; }

  /* Quality mobile */
  .quality-step p {
    padding-left: 0;
  }

  /* Custom Design mobile */
  .custom-design-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .design-gallery-item {
    flex: 0 0 85%;
    min-width: 240px;
    max-width: 320px;
  }

  .design-gallery-item img {
    min-height: 180px;
    max-height: 260px;
  }

  .design-text {
    padding: 20px;
  }

  /* How to Order mobile */
  .order-step {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 24px 0;
  }

  .order-step-num {
    font-size: var(--2xl);
  }

  /* FAQ mobile */
  .faq-question {
    font-size: var(--sm);
    padding: 20px 0;
  }

  .faq-icon {
    font-size: var(--lg);
    margin-left: 16px;
  }

  /* About mobile */
  .about-sidebar {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact mobile */
  .contact-layout {
    gap: 40px;
  }

  .contact-right {
    padding-top: 0;
  }

  /* Footer mobile */
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --5xl: 2rem;
    --3xl: 1.5rem;
  }

  .hero-specs {
    flex-direction: column;
    gap: 16px;
  }

  .about-sidebar {
    grid-template-columns: 1fr 1fr;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }
}
