:root {
  --ink: #17140F;
  --ink-soft: #3A3530;
  --paper: #FBF8F4;
  --paper-alt: #F1E9E2;
  --blush: #F5E3E4;
  --rose: #B8687A;
  --rose-deep: #8F4356;
  --line: #E6DCD3;
  --grey: #766F68;
  --maxw: 1200px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* ---------- reveal-on-scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }
[data-reveal-delay="5"] { transition-delay: .5s; }

/* ---------- nav ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(251,248,244,0); border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), transform .45s var(--ease);
  padding: 22px 0;
  transform: translateY(0);
}
header.scrolled {
  background: rgba(251,248,244,0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); box-shadow: 0 6px 24px rgba(23,20,15,0.04);
  padding: 14px 0;
}
header.hide { transform: translateY(-110%); }
nav.wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand img { height: 40px; width: auto; object-fit: contain; transition: height .35s var(--ease); }
header.scrolled .brand img { height: 34px; }
.navlinks { display: flex; gap: 30px; list-style: none; }
.navlinks a {
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--ink-soft); position: relative; padding-bottom: 3px;
}
.navlinks a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--rose-deep); transition: width .3s var(--ease);
}
.navlinks a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: var(--ink); display: block; transition: all .3s var(--ease); }

.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.lang-switch a { color: var(--grey); padding: 4px 2px; transition: color .2s var(--ease); }
.lang-switch a.active { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.lang-switch a:hover { color: var(--rose-deep); }
.lang-switch .sep { color: var(--line); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 24px; border-radius: 100px;
  font-size: 13px; font-weight: 700;
  transition: all .3s var(--ease); border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary .dot { width: 32px; height: 32px; border-radius: 50%; background: var(--rose); color: var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .3s var(--ease); }
.btn-primary:hover .dot { transform: rotate(45deg); }
.btn-primary:hover { background: var(--rose-deep); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; padding: 13px 24px; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-sm { padding: 6px 6px 6px 18px; font-size: 12px; }
.btn-sm .dot { width: 26px; height: 26px; }
.btn-outline.btn-sm { padding: 10px 18px; }

/* ---------- hero (PIPL-style: left-aligned huge headline) ---------- */
.hero { padding-top: 176px; padding-bottom: 0; position: relative; }
.hero-inner { max-width: 760px; margin: 0; text-align: left; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--rose-deep); text-transform: uppercase; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--rose-deep); display: inline-block; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; margin-bottom: 24px; max-width: 14ch; }
.hero h1 .accent { color: var(--rose-deep); font-style: italic; font-weight: 700; }
.hero p.lead { font-size: 18px; color: var(--grey); margin: 0 0 34px; max-width: 480px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-img { border-radius: 0; overflow: hidden; position: relative; width: 100%; height: 82vh; max-height: 780px; min-height: 460px; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; will-change: transform; }

/* ---------- big feature image (scroll-linked zoom, PIPL-style) ---------- */
.feature-img { position: relative; overflow: hidden; border-radius: 18px; height: 78vh; max-height: 720px; min-height: 420px; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; will-change: transform; }

.zoom-img { transform-origin: top center; }
.feature-img .caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 48px;
  background: linear-gradient(to top, rgba(23,20,15,0.72), transparent 65%); color: #fff;
}
.feature-img .caption .eyebrow { color: var(--rose); }
.feature-img .caption .eyebrow::before { background: var(--rose); }
.feature-img .caption h2 { font-size: clamp(24px,3vw,34px); max-width: 560px; margin-bottom: 10px; }
.feature-img .caption p { color: #E3DCD5; max-width: 480px; font-size: 15px; }

.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.duo-img { position: relative; overflow: hidden; border-radius: 18px; height: 62vh; max-height: 560px; min-height: 340px; }
.duo-img:nth-child(2) { margin-top: 48px; }
.duo-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; will-change: transform; }

/* ---------- marquee ---------- */
.marquee-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); overflow: hidden; padding: 20px 0; }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: scroll-left 26s linear infinite; }
.marquee-track span { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "\2726"; color: var(--rose); font-size: 11px; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- section basics ---------- */
section { padding: 108px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.section-head p { color: var(--grey); font-size: 16px; }

/* ---------- who we are ---------- */
.who-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.who-grid p { color: var(--grey); font-size: 16px; margin-bottom: 18px; }
.pull-quote {
  background: var(--paper-alt); border-radius: 14px; padding: 36px 34px;
  font-size: 20px; font-weight: 700; line-height: 1.45; position: relative;
}
.pull-quote::before { content: "\201C"; font-size: 60px; color: var(--rose); font-weight: 800; line-height: 1; display: block; margin-bottom: 6px; font-family: Georgia, serif; }

.stat-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.stat .num { font-size: 40px; font-weight: 800; color: var(--rose-deep); line-height: 1; margin-bottom: 8px; }
.stat .lbl { font-size: 13px; color: var(--grey); font-weight: 600; }

/* ---------- numbered list (services) — minimal, no cards ---------- */
.numlist { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.numlist-item { padding: 30px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 52px 1fr; gap: 20px; }
.numlist-item .idx { font-size: 14px; font-weight: 800; color: var(--rose-deep); letter-spacing: 0.04em; padding-top: 3px; }
.numlist-item h3 { font-size: 19px; margin-bottom: 8px; }
.numlist-item p { color: var(--grey); font-size: 14.5px; }
.numlist-item.last-row { border-bottom: 1px solid var(--line); }

/* ---------- numbered row (production/craft) — image + text, full width ---------- */
.numrow-list { border-top: 1px solid var(--line); }
.numrow { display: grid; grid-template-columns: 220px 60px 1fr; gap: 28px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); }
.numrow-thumb { border-radius: 12px; overflow: hidden; height: 140px; }
.numrow-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.numrow .idx { font-size: 14px; font-weight: 800; color: var(--rose-deep); }
.numrow h3 { font-size: 21px; margin-bottom: 8px; }
.numrow p { color: var(--grey); font-size: 15px; max-width: 620px; }

/* ---------- asymmetric label/headline pair (used by map + eco sections) ---------- */
.pair-head { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: 40px; align-items: end; padding-bottom: 40px; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.pair-head .label { font-size: 15px; color: var(--ink-soft); font-weight: 600; line-height: 1.5; }
.pair-head h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; }

.map-section { background: var(--paper-alt); }
.map-visual {
  position: relative; border-radius: 18px; overflow: hidden; height: 340px;
  background: var(--paper);
  background-image: radial-gradient(var(--line) 1.6px, transparent 1.6px);
  background-size: 22px 22px;
  display: flex; align-items: center; justify-content: center;
}
.map-visual .pin {
  position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--rose-deep);
  box-shadow: 0 0 0 6px rgba(143,67,86,0.16);
}
.map-visual .pin-label {
  position: absolute; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  background: #fff; padding: 6px 12px; border-radius: 100px; box-shadow: 0 6px 18px rgba(23,20,15,0.08);
  white-space: nowrap;
}
.map-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; }
.map-fact { padding: 24px 0 0; border-top: 2px solid var(--ink); }
.map-fact .num { font-size: 32px; font-weight: 800; color: var(--rose-deep); margin-bottom: 6px; }
.map-fact .lbl { font-size: 13.5px; color: var(--grey); }

/* ---------- eco / craft 4-col grid ---------- */
.eco-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.eco-card img { border-radius: 12px; height: 200px; width: 100%; object-fit: cover; object-position: top center; margin-bottom: 16px; }
.eco-card h3 { font-size: 16px; margin-bottom: 8px; }
.eco-card p { font-size: 13.5px; color: var(--grey); }

/* ---------- collections ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.cat-card { position: relative; border-radius: 14px; overflow: hidden; height: 440px; cursor: pointer; }
.cat-card .imgwrap { position: absolute; inset: 0; overflow: hidden; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transform-origin: top center; transition: transform .6s var(--ease); }
.cat-card:hover img { transform: scale(1.08); }
.cat-card .tag {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: linear-gradient(to top, rgba(23,20,15,0.85), transparent 80%);
  color: #fff; padding: 26px 22px 20px; font-weight: 700; font-size: 17px;
  transform: translateY(6px); transition: transform .4s var(--ease);
}
.cat-card:hover .tag { transform: translateY(0); }
.cat-card .lock-badge {
  position: absolute; top: 16px; right: 16px; z-index: 2; background: rgba(251,248,244,0.92);
  color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 100px;
}
.locked-note {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  background: var(--paper-alt); border-radius: 14px; padding: 32px 36px;
}
.locked-note p { color: var(--ink-soft); font-size: 15px; max-width: 580px; }
.locked-note strong { color: var(--ink); }

/* ---------- standards / partners strip (Customers analog) ---------- */
.standards-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.standards-imgs .duo-img { height: 46vh; max-height: 400px; min-height: 260px; margin-top: 0; }
.standards-strip {
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  display: grid; grid-template-columns: 1fr repeat(4, 1fr);
}
.standards-pill {
  display: flex; align-items: center; padding: 0 28px; border-right: 1px solid var(--line);
}
.standards-pill span { display: inline-flex; align-items: center; padding: 9px 20px; border-radius: 100px; border: 1px solid var(--ink); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.standards-cell { display: flex; align-items: center; justify-content: center; padding: 30px 20px; border-right: 1px solid var(--line); font-weight: 800; font-size: 15px; letter-spacing: 0.02em; color: var(--ink-soft); text-align: center; }
.standards-cell:last-child { border-right: none; }
.standards-cell small { display: block; font-size: 10.5px; font-weight: 700; color: var(--grey); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

/* ---------- contact (ODF blush, not PIPL purple) ---------- */
.contact-section { background: var(--blush); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.contact-copy h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.05; margin-bottom: 22px; }
.contact-copy p { color: var(--ink-soft); max-width: 420px; margin-bottom: 30px; font-size: 16px; }
.contact-copy .line { font-size: 17px; margin-bottom: 12px; font-weight: 700; }
.contact-copy .line a { text-decoration: underline; text-underline-offset: 4px; }
.contact-copy .line small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
form { display: grid; gap: 18px; }
form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input, textarea {
  font-family: inherit; font-size: 14px; padding: 15px 16px;
  border: 1px solid rgba(23,20,15,0.14); border-radius: 8px; width: 100%; background: rgba(255,255,255,0.6);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
input:focus, textarea:focus { outline: none; border-color: var(--rose-deep); background: #fff; box-shadow: 0 0 0 3px rgba(143,67,86,0.12); }
textarea { min-height: 120px; resize: vertical; }
label { font-size: 12px; font-weight: 700; margin-bottom: 7px; display: block; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.04em; }
.form-msg { font-size: 13px; padding: 12px 14px; border-radius: 8px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(255,255,255,0.7); color: #2E5B3E; }

/* ---------- footer (PIPL dark structure, ODF marks) ---------- */
footer { background: var(--ink); color: #A79E96; padding: 60px 0 28px; }
.footer-mark { display: flex; gap: 6px; margin-bottom: 40px; }
.footer-mark span {
  width: 40px; height: 40px; border: 1px solid #453F37; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 16px;
}
.footer-nav { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; list-style: none; padding: 6px 0 36px; border-bottom: 1px solid #2B2620; margin-bottom: 26px; }
.footer-nav a { font-size: 13px; color: #A79E96; text-transform: uppercase; letter-spacing: 0.03em; font-weight: 700; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- back to top ---------- */
.to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .35s var(--ease); border: none; cursor: pointer;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- collections library page extras ---------- */
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.doc-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.doc-card .doc-frame-wrap { height: 340px; background: var(--paper-alt); position: relative; }
.doc-card iframe { width: 100%; height: 100%; border: none; }
.doc-card .doc-body { padding: 20px 22px 24px; }
.doc-card h3 { font-size: 16px; margin-bottom: 6px; }
.doc-card p { font-size: 13px; color: var(--grey); margin-bottom: 14px; }
.doc-card .doc-links { display: flex; gap: 10px; flex-wrap: wrap; }
.doc-card .doc-links a { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: underline; text-underline-offset: 3px; }

.sheet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sheet-thumb { border-radius: 10px; overflow: hidden; cursor: zoom-in; position: relative; aspect-ratio: 3/2; }
.sheet-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.sheet-thumb:hover img { transform: scale(1.06); }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(23,20,15,0.92);
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 6px; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 26px; right: 30px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff; border: none; font-size: 20px; cursor: pointer;
}

@media (max-width: 900px) {
  .hero-inner, .who-grid, .cat-grid, .contact-grid, .stat-row, .duo-grid,
  .numlist, .pair-head, .map-facts, .eco-grid, .standards-imgs, .docs-grid, .sheet-grid { grid-template-columns: 1fr; }
  .numrow { grid-template-columns: 1fr; }
  .numrow-thumb { height: 200px; }
  .standards-strip { grid-template-columns: 1fr; }
  .standards-pill { border-right: none; border-bottom: 1px solid var(--line); padding: 20px 24px; }
  .standards-cell { border-right: none; border-bottom: 1px solid var(--line); padding: 22px; }
  .navlinks, .nav-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
  .hero { padding-top: 140px; }
  .row2 { grid-template-columns: 1fr; }
  .duo-img:nth-child(2) { margin-top: 0; }
  .feature-img { height: 56vh; }
  .duo-img { height: 42vh; }
  .sheet-grid { grid-template-columns: repeat(2,1fr); }
}

/* mobile menu panel */
.mobile-panel {
  position: fixed; inset: 0; background: var(--paper); z-index: 99;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px;
  transform: translateY(-100%); transition: transform .4s var(--ease); opacity: 0;
}
.mobile-panel.open { transform: translateY(0); opacity: 1; }
.mobile-panel a { font-size: 22px; font-weight: 800; }
.mobile-panel .btn { margin-top: 10px; }
