/* ── PLIANT INC. — SHARED DESIGN SYSTEM v2 (Amber/Black) ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Mono:wght@400;500&display=swap');

:root {
  --black:       #0a0806;
  --black-2:     #141210;
  --black-3:     #1e1b18;
  --black-4:     #2a2620;
  --amber:       #e8950a;
  --amber-light: #f5b230;
  --amber-dim:   #b87008;
  --amber-glow:  rgba(232,149,10,0.15);
  --amber-line:  rgba(232,149,10,0.25);
  --cream:       #faf7f2;
  --cream-2:     #f2ede4;
  --cream-3:     #e8e0d4;
  --ink:         #1a1612;
  --ink-2:       #3a3228;
  --ink-3:       #6b5f50;
  --border-light: rgba(26,22,18,0.1);
  --border-mid:   rgba(26,22,18,0.18);
  --border-dark:  rgba(232,149,10,0.2);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-sans:    'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;
  --radius:       4px;
  --radius-lg:    12px;
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem;
  height: 68px;
  background: rgba(10,8,6,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232,149,10,0.15);
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo img {
  height: 38px; width: auto;
  display: block;
  mix-blend-mode: screen;
  filter: brightness(1.15) saturate(1.1);
}
.nav-logo-wordmark {
  font-family: var(--font-sans); font-weight: 800;
  font-size: 1.15rem; letter-spacing: -0.02em;
  color: #fff; line-height: 1;
}
.nav-logo-sub {
  font-family: var(--font-sans); font-size: 0.6rem;
  font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--amber);
  line-height: 1;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5); text-decoration: none;
  text-transform: uppercase; transition: color 0.2s;
  position: relative; padding-bottom: 2px;
}
.nav-links a:hover { color: rgba(255,255,255,0.9); }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--amber);
  border-radius: 1px;
}
.nav-cta {
  background: var(--amber) !important;
  color: var(--black) !important;
  padding: 0.5rem 1.4rem !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--amber-light) !important; }
.nav-cta.active::after { display: none; }

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  padding: 9.5rem 4rem 5rem;
  position: relative; overflow: hidden;
}
.page-hero-label {
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.page-hero-label::after {
  content: ''; flex: 0 0 40px; height: 1px; background: var(--amber);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.05; letter-spacing: -0.025em;
  color: var(--ink); max-width: 900px;
  margin-bottom: 1.5rem;
}
.page-hero h1 em { font-style: italic; color: var(--amber); }
.page-hero p {
  font-size: 1.05rem; color: var(--ink-2);
  max-width: 580px; line-height: 1.8;
  font-weight: 400;
}
.page-hero-rule {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--border-light);
}
.page-hero-num {
  position: absolute; right: 3rem; bottom: 1rem;
  font-family: var(--font-display);
  font-size: 13vw; line-height: 1;
  color: rgba(26,22,18,0.04);
  pointer-events: none; user-select: none;
  letter-spacing: -0.05em;
}

/* ── SHARED SECTION ── */
.section { padding: 6rem 4rem; }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.section-label::after { content: ''; flex: 0 0 40px; height: 1px; background: var(--amber); }
.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 1.25rem;
}
.section-h2 em { font-style: italic; color: var(--amber); }
.section-intro {
  font-size: 1rem; color: var(--ink-2);
  max-width: 600px; line-height: 1.8; font-weight: 400;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--amber); color: var(--black);
  padding: 0.85rem 2rem; border-radius: var(--radius);
  font-family: var(--font-sans); font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.04em;
  text-decoration: none; text-transform: uppercase;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 0.5rem;
  -webkit-font-smoothing: antialiased;
}
.btn-primary:hover { background: var(--amber-light); transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid var(--ink); color: var(--ink);
  padding: 0.82rem 2rem; border-radius: var(--radius);
  font-family: var(--font-sans); font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.04em;
  text-decoration: none; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: background 0.2s, color 0.2s;
  -webkit-font-smoothing: antialiased;
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }

/* ── MARQUEE ── */
.marquee-wrap {
  background: var(--black-3);
  border-top: 1px solid rgba(232,149,10,0.12);
  border-bottom: 1px solid rgba(232,149,10,0.12);
  overflow: hidden; padding: 0.85rem 0;
}
.marquee-track {
  display: flex; gap: 3rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--font-mono);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(232,149,10,0.5);
  display: flex; align-items: center; gap: 0.75rem;
  flex-shrink: 0;
}
.marquee-dot { width: 4px; height: 4px; background: var(--amber); border-radius: 50%; opacity: 0.6; }

/* ── FOOTER ── */
footer { background: var(--black); }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding: 4rem 4rem 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand-name {
  font-family: var(--font-sans); font-weight: 800;
  font-size: 1.1rem; letter-spacing: -0.02em;
  color: rgba(255,255,255,0.85); margin-bottom: 0.6rem;
}
.footer-brand-desc {
  font-size: 0.83rem; color: rgba(255,255,255,0.35);
  line-height: 1.75; max-width: 270px; margin-bottom: 1.5rem;
}
.footer-contact-item {
  font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-bottom: 0.35rem;
}
.footer-logo-img { height: 36px; width: auto; margin-bottom: 1rem; display: block; mix-blend-mode: screen; filter: brightness(1.1) saturate(1.1); }
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(232,149,10,0.4); margin-bottom: 1.25rem;
}
.footer-col a {
  display: block; font-size: 0.83rem;
  color: rgba(255,255,255,0.4); text-decoration: none;
  margin-bottom: 0.55rem; transition: color 0.2s;
}
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 4rem;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.25); }
.footer-bottom a { color: rgba(255,255,255,0.25); text-decoration: none; }
.footer-bottom a:hover { color: var(--amber); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.65s var(--ease) both; }
.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.17s; }
.d3 { animation-delay: 0.26s; }
.d4 { animation-delay: 0.35s; }
.d5 { animation-delay: 0.44s; }

/* ── HAMBURGER BUTTON ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer; padding: 6px;
  border-radius: var(--radius);
  transition: background 0.2s;
  flex-shrink: 0;
  z-index: 110;
}
.nav-hamburger:hover { background: rgba(232,149,10,0.1); }
.nav-hamburger span {
  display: block;
  height: 2px; width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s, width 0.3s var(--ease);
  transform-origin: center;
}
/* Animate to X when open */
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.nav-drawer {
  display: none; /* shown only on mobile */
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(10,8,6,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232,149,10,0.2);
  z-index: 99;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease), opacity 0.25s;
}
.nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.nav-drawer ul {
  list-style: none;
  padding: 1rem 1.5rem 1.5rem;
  display: flex; flex-direction: column; gap: 0;
}
.nav-drawer ul li a {
  display: block;
  padding: 0.9rem 0;
  font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.nav-drawer ul li:last-child a { border-bottom: none; }
.nav-drawer ul li a:hover,
.nav-drawer ul li a.active { color: var(--amber); }
.nav-drawer ul li a.nav-cta {
  margin-top: 1rem;
  background: var(--amber) !important;
  color: var(--black) !important;
  text-align: center;
  border-radius: var(--radius);
  padding: 0.85rem 1rem !important;
  border-bottom: none !important;
}
.nav-drawer ul li a.nav-cta:hover { background: var(--amber-light) !important; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none !important; }      /* always hide desktop links on mobile */
  .nav-hamburger { display: flex; }             /* show hamburger */
  .nav-drawer { display: block; }              /* make drawer available */
  .page-hero { padding: 7rem 1.5rem 3rem; }
  .section { padding: 3.5rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; padding: 3rem 1.5rem 2rem; }
  .footer-bottom { padding: 1rem 1.5rem; flex-direction: column; gap: 0.5rem; text-align: center; }
}
