/* ============================================================
   PAGES.CSS — Shared styling for all secondary pages
   (story, sustainability, press, careers, help, returns,
    track-order, contact). Matches the Dimazofly pastel-luxury theme.
   ============================================================ */

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

:root {
    --bg:        #F9ECE2;
    --bg-2:      #F5E6DC;
    --text:      #1F1F1F;
    --soft:      rgba(30,30,30,0.62);
    --muted:     rgba(30,30,30,0.4);
    --accent:    #B48A78;
    --accent-2:  #C89E8D;
    --border:    rgba(30,30,30,0.08);
    --card:      rgba(255,255,255,0.42);
    --ease:      cubic-bezier(0.22,1,0.36,1);
}

html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Hanken Grotesk', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ── Ambient blobs ── */
.blob { position: fixed; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0; }
.blob-1 { width: clamp(250px,40vw,500px); height: clamp(250px,40vw,500px); background: rgba(217,184,168,0.18); top: -80px; right: -80px; }
.blob-2 { width: clamp(200px,32vw,400px); height: clamp(200px,32vw,400px); background: rgba(221,214,243,0.12); bottom: 5%; left: -60px; }

/* ── Navbar ── */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    padding: 0 7%; height: 110px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    background: rgba(249,236,226,0.8);
    transition: height 0.3s ease, background 0.3s ease;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo-img { height: 130px; width: auto; display: block; object-fit: contain; transition: height 0.3s ease; }
.nav-links-row { display: flex; gap: clamp(20px,3vw,40px); list-style: none; }
.nav-links-row a {
    text-decoration: none; color: var(--soft); font-size: 14px; font-weight: 500;
    transition: color 0.25s; white-space: nowrap;
}
.nav-links-row a:hover, .nav-links-row a.active { color: var(--text); }
.nav-shop {
    text-decoration: none; background: var(--text); color: #fff;
    padding: 12px 26px; border-radius: 999px; font-size: 13px; font-weight: 700;
    transition: transform 0.3s var(--ease), box-shadow 0.3s; white-space: nowrap; flex-shrink: 0;
}
.nav-shop:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.16); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: transparent; border: none; cursor: pointer; padding: 8px; flex-shrink: 0; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ── Mobile drawer ── */
.mobile-nav-drawer {
    position: fixed; top: 0; right: -100%;
    width: min(320px,85vw); height: 100vh; height: 100dvh;
    background: rgba(249,236,226,0.98); backdrop-filter: blur(24px);
    z-index: 10001; padding: 80px 32px 36px;
    display: flex; flex-direction: column;
    transition: right 0.4s var(--ease); box-shadow: -8px 0 40px rgba(0,0,0,0.1);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.mobile-nav-drawer.open { right: 0; }
.mobile-nav-close {
    position: absolute; top: 20px; right: 20px; width: 38px; height: 38px;
    border-radius: 50%; border: 1px solid var(--border); background: rgba(255,255,255,0.5);
    color: var(--soft); font-size: 15px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: 0.3s;
}
.mobile-nav-close:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.mobile-nav-links { list-style: none; display: flex; flex-direction: column; flex: 0 0 auto; }
.mobile-nav-links a, .mobile-shop-btn { flex-shrink: 0; }
.mobile-nav-links a {
    display: block; padding: 15px 0; font-family: 'Syne', sans-serif;
    font-size: 21px; font-weight: 700; color: var(--text); text-decoration: none;
    border-bottom: 1px solid var(--border); transition: color 0.25s, padding-left 0.25s;
}
.mobile-nav-links a:hover { color: var(--accent); padding-left: 8px; }
.mobile-shop-btn {
    display: block; text-align: center; background: var(--text); color: #fff;
    padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 14px;
    text-decoration: none; margin-top: 20px; transition: transform 0.3s, box-shadow 0.3s;
}
.mobile-shop-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.mobile-nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 10000; opacity: 0; visibility: hidden; transition: 0.4s; }
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }

/* ── Page shell ── */
.page {
    position: relative; z-index: 1;
    max-width: 1180px; margin: 0 auto;
    padding: clamp(140px,15vw,175px) 7% clamp(70px,9vw,110px);
}

/* ── Page hero ── */
.page-hero { margin-bottom: clamp(48px,6vw,80px); max-width: 760px; }
.page-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 10px; font-weight: 700; letter-spacing: 3.5px; text-transform: uppercase;
    color: var(--accent); margin-bottom: 22px;
}
.page-eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--accent); }
.page-hero h1 {
    font-family: 'Syne', sans-serif; font-size: clamp(34px,6vw,72px);
    font-weight: 900; line-height: 0.98; letter-spacing: -0.03em; color: var(--text);
}
.page-hero h1 em { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--accent); font-weight: 600; }
.page-hero p { margin-top: 24px; font-size: clamp(15px,1.3vw,18px); color: var(--soft); line-height: 1.8; }

/* ── Generic section ── */
.section-title {
    font-family: 'Syne', sans-serif; font-size: clamp(22px,3.2vw,40px);
    font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin-bottom: 10px;
}
.section-title em { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--accent); }
.section-sub { font-size: 14px; color: var(--muted); margin-bottom: 36px; letter-spacing: 0.3px; }

/* ── Prose ── */
.prose { max-width: 760px; }
.prose p { font-size: clamp(15px,1.15vw,17px); color: var(--soft); line-height: 1.9; margin-bottom: 22px; }
.prose h2 {
    font-family: 'Syne', sans-serif; font-size: clamp(20px,2.6vw,30px); font-weight: 800;
    color: var(--text); margin: 44px 0 16px; letter-spacing: -0.01em;
}
.prose h2 em { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--accent); }
.prose ul { margin: 0 0 22px; padding-left: 4px; list-style: none; }
.prose li { position: relative; padding-left: 26px; margin-bottom: 12px; color: var(--soft); font-size: clamp(15px,1.1vw,16px); line-height: 1.7; }
.prose li::before { content: ''; position: absolute; left: 0; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* ── Card grid ── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: clamp(40px,5vw,70px); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.lux-card {
    background: var(--card); backdrop-filter: blur(16px);
    border: 1px solid var(--border); border-radius: 24px;
    padding: clamp(24px,3vw,38px) clamp(20px,2.5vw,32px);
    transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.lux-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.07); }
.lux-card .card-icon { font-size: 30px; margin-bottom: 18px; display: block; }
.lux-card h3 { font-family: 'Syne', sans-serif; font-size: clamp(16px,1.8vw,21px); font-weight: 800; color: var(--text); margin-bottom: 12px; }
.lux-card p { font-size: clamp(13px,1vw,14.5px); color: var(--soft); line-height: 1.75; }

/* ── Stats strip ── */
.stats-strip {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 1px;
    background: var(--border); border: 1px solid var(--border);
    border-radius: 20px; overflow: hidden; margin-bottom: clamp(48px,6vw,80px);
}
.stat-box { background: var(--card); backdrop-filter: blur(16px); padding: clamp(24px,3vw,40px) clamp(14px,2vw,28px); text-align: center; }
.stat-box h2 { font-family: 'Syne', sans-serif; font-size: clamp(26px,4vw,48px); font-weight: 900; color: var(--text); letter-spacing: -0.02em; line-height: 1; }
.stat-box h2 em { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--accent); font-size: 0.72em; }
.stat-box p { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-top: 10px; }

/* ── Accordion (Help/FAQ) ── */
.accordion { max-width: 820px; margin-bottom: 40px; }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-head {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    padding: 22px 44px 22px 0; position: relative;
    font-family: 'Hanken Grotesk', sans-serif; font-size: clamp(15px,1.3vw,17px); font-weight: 600;
    color: var(--text);
}
.acc-head::after { content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--accent); transition: transform 0.3s; }
.acc-item.open .acc-head::after { content: '−'; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.acc-body-inner { padding: 0 0 22px; color: var(--soft); font-size: 15px; line-height: 1.8; max-width: 700px; }

/* ── Forms ── */
.form-card {
    background: var(--card); backdrop-filter: blur(16px); border: 1px solid var(--border);
    border-radius: 28px; padding: clamp(28px,4vw,52px); max-width: 760px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: span 2; }
.form-field label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.form-input, .form-textarea {
    padding: 13px 16px; background: rgba(255,255,255,0.55); border: 1px solid var(--border);
    border-radius: 10px; font-family: 'Hanken Grotesk', sans-serif; font-size: 14px; color: var(--text);
    outline: none; transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-input:focus, .form-textarea:focus { border-color: rgba(180,138,120,0.4); background: rgba(255,255,255,0.75); box-shadow: 0 0 0 3px rgba(180,138,120,0.08); }
.form-textarea { resize: vertical; min-height: 120px; }
.btn-submit {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
    padding: 15px 36px; background: var(--text); color: #fff; border: none;
    border-radius: 999px; font-family: 'Hanken Grotesk', sans-serif; font-size: 13px;
    font-weight: 700; letter-spacing: 0.5px; cursor: pointer;
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.18); }

/* ── Contact items ── */
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--text); }
.contact-row a { color: var(--text); text-decoration: none; transition: color 0.25s; }
.contact-row a:hover { color: var(--accent); }
.contact-ic { width: 42px; height: 42px; background: rgba(255,255,255,0.55); border: 1px solid var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }

/* ── CTA band ── */
.cta-band {
    background: var(--card); backdrop-filter: blur(20px); border: 1px solid var(--border);
    border-radius: 30px; padding: clamp(34px,5vw,68px) clamp(26px,5vw,56px);
    display: flex; justify-content: space-between; align-items: center; gap: 36px; flex-wrap: wrap;
    margin-top: 20px;
}
.cta-band h2 { font-family: 'Syne', sans-serif; font-size: clamp(22px,3vw,40px); font-weight: 900; letter-spacing: -0.02em; color: var(--text); }
.cta-band h2 em { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--accent); }
.cta-band p { font-size: 14px; color: var(--soft); margin-top: 10px; max-width: 420px; }
.btn-dark {
    text-decoration: none; background: var(--text); color: #fff; padding: 16px 36px;
    border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s; display: inline-block; white-space: nowrap;
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,0.18); }

/* ── Timeline (Our Story) ── */
.timeline { position: relative; padding-left: 38px; margin-bottom: clamp(40px,5vw,70px); }
.timeline::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, var(--accent), rgba(180,138,120,0.12)); }
.tl-item { position: relative; margin-bottom: 42px; padding-left: 26px; }
.tl-item::before { content: ''; position: absolute; left: -45px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(180,138,120,0.15); }
.tl-year { font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.tl-item h3 { font-size: clamp(15px,1.4vw,19px); font-weight: 700; color: var(--text); margin-bottom: 8px; }
.tl-item p { font-size: clamp(13px,1vw,15px); color: var(--soft); line-height: 1.75; max-width: 580px; }

/* ── Press kit downloads ── */
.press-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-bottom: clamp(40px,5vw,64px); }
.press-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    background: var(--card); border: 1px solid var(--border); border-radius: 18px;
    padding: 20px 24px; transition: border-color 0.3s, transform 0.3s;
}
.press-row:hover { border-color: rgba(180,138,120,0.3); transform: translateY(-3px); }
.press-row .pr-name { font-weight: 600; color: var(--text); font-size: 15px; }
.press-row .pr-meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.pr-btn { background: rgba(180,138,120,0.1); border: 1px solid rgba(180,138,120,0.25); color: var(--accent); padding: 9px 18px; border-radius: 999px; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: 0.25s; }
.pr-btn:hover { background: var(--accent); color: #fff; }

/* ── Job listings ── */
.job-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(40px,5vw,64px); }
.job-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    background: var(--card); border: 1px solid var(--border); border-radius: 18px;
    padding: 24px 28px; transition: border-color 0.3s, transform 0.3s; flex-wrap: wrap;
}
.job-row:hover { border-color: rgba(180,138,120,0.3); transform: translateY(-3px); }
.job-row h3 { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.job-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.job-tag { background: rgba(180,138,120,0.1); color: var(--accent); padding: 4px 12px; border-radius: 999px; font-weight: 600; letter-spacing: 0.3px; }

/* ── Track order result ── */
.track-result { margin-top: 28px; max-width: 760px; display: none; }
.track-result.show { display: block; }
.track-steps { display: flex; flex-direction: column; gap: 0; margin-top: 24px; }
.track-step { display: flex; gap: 16px; position: relative; padding-bottom: 32px; }
.track-step:last-child { padding-bottom: 0; }
.track-step::before { content: ''; position: absolute; left: 13px; top: 30px; bottom: 0; width: 2px; background: var(--border); }
.track-step:last-child::before { display: none; }
.ts-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border); background: var(--bg); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; z-index: 1; }
.track-step.done .ts-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.track-step.active .ts-dot { border-color: var(--accent); color: var(--accent); }
.ts-info h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.ts-info p { font-size: 13px; color: var(--muted); }

/* ── Toast ── */
.toast {
    position: fixed; top: 24px; right: 24px; z-index: 99999;
    padding: 14px 24px; background: var(--bg); border: 1px solid rgba(180,138,120,0.2);
    border-left: 3px solid var(--accent); border-radius: 10px; color: var(--text);
    font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px;
    transform: translateX(130%); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.4s;
    pointer-events: none; box-shadow: 0 8px 32px rgba(0,0,0,0.1); max-width: min(360px,90vw);
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast-ic { color: var(--accent); }

/* ── Footer strip ── */
.footer-strip { text-align: center; padding: 30px 7%; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); position: relative; z-index: 1; }
.footer-strip a { color: var(--accent); text-decoration: none; }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.in { opacity: 1; transform: translateY(0); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }

/* ── Responsive ── */
@media (max-width: 992px) {
    .card-grid { grid-template-columns: 1fr 1fr; }
    .stats-strip { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
    .navbar { padding: 0 5%; height: 80px; }
    .nav-logo-img { height: 72px; }
    .nav-links-row, .nav-shop { display: none; }
    .nav-hamburger { display: flex; }
    .page { padding: 108px 6% 60px; }
    .card-grid, .card-grid.cols-2, .press-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-field.full { grid-column: span 1; }
    .cta-band { flex-direction: column; align-items: flex-start; }
    .stats-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .stats-strip { grid-template-columns: 1fr; }
}

/* Compact the drawer on short screens so all links fit / scroll cleanly */
@media (max-height: 680px) {
    .mobile-nav-drawer { padding-top: 64px; }
    .mobile-nav-links a { padding: 12px 0; font-size: 19px; }
    .mobile-shop-btn { padding: 13px 28px; margin-top: 14px; }
}