/*
Theme Name: Print Aloha
Description: Premium editorial theme for the Print Aloha aloha-shirt deals hub.
Version: 1.0.0
*/

:root {
    --ivory: #FAF6EF;
    --ivory-deep: #F3ECDD;
    --ink: #16130E;
    --ink-soft: #4A4438;
    --palm: #1C3A2D;
    --palm-deep: #122A20;
    --gold: #C29A4B;
    --gold-soft: #E4CFA0;
    --sand: #EDE4D3;
    --line: #E2D8C2;
    --serif: "Fraunces", Georgia, serif;
    --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
    --wrap: 1200px;
    --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.kicker {
    font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--palm); margin-bottom: 14px;
}
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--palm); color: var(--ivory); border: 0; cursor: pointer;
    font: 600 15px/1 var(--sans); letter-spacing: 0.02em; text-decoration: none;
    padding: 16px 30px; border-radius: 999px;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { background: var(--palm-deep); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(18,42,32,.5); }
.btn--small { padding: 12px 22px; font-size: 14px; }
.btn--dark { background: var(--ink); }
.btn--dark:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--palm); border: 1.5px solid var(--palm); }
.btn--ghost:hover { background: var(--palm); color: var(--ivory); box-shadow: none; }
.btn--light { background: var(--ivory); color: var(--palm); }
.btn--light:hover { background: #fff; color: var(--palm-deep); }

/* ---------- topbar + header ---------- */
.topbar { background: var(--palm); color: var(--ivory); text-align: center; font-size: 13px; letter-spacing: 0.04em; }
.topbar p { margin: 0; padding: 9px 16px; }
.topbar__dot { color: var(--gold); margin: 0 6px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,246,239,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--palm); }
.brand__mark { width: 34px; height: 34px; }
.brand__word { font-family: var(--serif); font-weight: 700; font-size: 24px; letter-spacing: -0.01em; }
.brand--light { color: var(--gold-soft); }
.site-nav ul { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-soft); position: relative; padding: 6px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold); transition: width 0.25s ease; }
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { width: 100%; }
.site-header__cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: 0.25s; }
.mobile-nav { display: none; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(44px, 5.4vw, 76px); margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--palm); }
.hero__lede { font-size: 19px; color: var(--ink-soft); max-width: 46ch; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__proof { display: flex; gap: 28px; }
.hero__proof div { border-left: 2px solid var(--gold); padding-left: 14px; }
.hero__proof strong { display: block; font-family: var(--serif); font-size: 26px; }
.hero__proof span { font-size: 13px; color: var(--ink-soft); letter-spacing: 0.04em; }
.hero__media { position: relative; }
.hero__media img { border-radius: 20px; box-shadow: 0 40px 80px -40px rgba(22,19,14,.35); }
.hero__card {
    position: absolute; left: -28px; bottom: 32px; background: #fff; border-radius: var(--radius);
    padding: 16px 20px; box-shadow: 0 24px 48px -20px rgba(22,19,14,.3); border: 1px solid var(--line);
    display: flex; gap: 14px; align-items: center; max-width: 300px;
}
.hero__card .tick { width: 40px; height: 40px; border-radius: 50%; background: var(--palm); color: var(--ivory); display: grid; place-items: center; font-weight: 700; flex: none; }
.hero__card p { margin: 0; font-size: 14px; line-height: 1.45; }
.hero__card strong { display: block; font-size: 14px; }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--ivory-deep); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--ink-soft); white-space: nowrap; }
.marquee span i { color: var(--gold); font-style: normal; margin-right: 56px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- deal cards ---------- */
.deals-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.deals-head h2 { font-size: clamp(32px, 3.6vw, 48px); margin: 0; }
.deals-head p { margin: 8px 0 0; color: var(--ink-soft); }
.deal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.deal-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.deal-card:hover { transform: translateY(-6px); box-shadow: 0 28px 56px -28px rgba(22,19,14,.35); }
.deal-card__media { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--sand); }
.deal-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.deal-card:hover .deal-card__media img { transform: scale(1.05); }
.deal-card__ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--sand), var(--ivory-deep)); }
.deal-card__ph span { font-family: var(--serif); font-style: italic; color: var(--ink-soft); }
.deal-card__badge { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; }
.deal-card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.deal-card__store { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--palm); margin: 0; }
.deal-card__title { font-size: 21px; margin: 0; }
.deal-card__title a { text-decoration: none; }
.deal-card__title a:hover { color: var(--palm); }
.deal-card__price { margin: 4px 0 12px; display: flex; align-items: baseline; gap: 10px; }
.deal-card__price .now { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--palm); }
.deal-card__price .was { color: var(--ink-soft); font-size: 16px; }
.deal-card__body .btn { margin-top: auto; align-self: flex-start; }
/* ---------- guide cards ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.guide-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; display: flex; align-items: end; text-decoration: none; background: var(--palm-deep); }
.guide-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.guide-card:hover img { transform: scale(1.06); }
.guide-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,20,15,.88) 0%, rgba(10,20,15,.25) 55%, transparent 100%); }
.guide-card__body { position: relative; z-index: 1; padding: 28px; color: var(--ivory); }
.guide-card__body .kicker { color: var(--gold-soft); }
.guide-card__body h3 { font-size: 26px; margin-bottom: 8px; }
.guide-card__body p { font-size: 15px; color: rgba(250,246,239,.82); margin: 0; }
.guide-card__arrow { position: absolute; top: 20px; right: 20px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: rgba(250,246,239,.14); backdrop-filter: blur(6px); display: grid; place-items: center; color: var(--ivory); font-size: 20px; transition: 0.3s; }
.guide-card:hover .guide-card__arrow { background: var(--gold); color: var(--ink); transform: rotate(-45deg); }

/* ---------- dark feature (vintage) ---------- */
.feature-dark { background: var(--palm-deep); color: var(--ivory); border-radius: 24px; overflow: hidden; }
.feature-dark__grid { display: grid; grid-template-columns: 1fr 1fr; }
.feature-dark__media img { height: 100%; object-fit: cover; min-height: 480px; }
.feature-dark__body { padding: 72px 64px; display: flex; flex-direction: column; justify-content: center; }
.feature-dark__body .kicker { color: var(--gold-soft); }
.feature-dark__body h2 { font-size: clamp(32px, 3.4vw, 46px); }
.feature-dark__body p { color: rgba(250,246,239,.78); }
.feature-dark__list { list-style: none; margin: 20px 0 32px; padding: 0; display: grid; gap: 12px; }
.feature-dark__list li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; }
.feature-dark__list li::before { content: "✦"; color: var(--gold); }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar { border-top: 2px solid var(--gold); padding-top: 24px; }
.pillar__num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 18px; }
.pillar h3 { font-size: 24px; margin: 10px 0 8px; }
.pillar p { color: var(--ink-soft); font-size: 16px; margin: 0; }

/* ---------- newsletter ---------- */
.newsletter { background: var(--sand); border-radius: 24px; padding: 72px 64px; text-align: center; position: relative; overflow: hidden; }
.newsletter::before { content: "✦"; position: absolute; font-size: 420px; line-height: 1; color: rgba(194,154,75,.12); top: -120px; right: -60px; pointer-events: none; }
.newsletter h2 { font-size: clamp(32px, 3.6vw, 50px); max-width: 20ch; margin-inline: auto; }
.newsletter p { color: var(--ink-soft); max-width: 52ch; margin: 0 auto 28px; }
.newsletter__form { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; position: relative; z-index: 1; }
.newsletter__form input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 16px 24px; font: 500 15px var(--sans); background: #fff; }
.newsletter__form input:focus { outline: 2px solid var(--palm); }
.newsletter__done { display: none; font-weight: 600; color: var(--palm); }
.newsletter__fine { font-size: 13px; color: var(--ink-soft); margin-top: 16px; }

/* ---------- page hero / content ---------- */
.page-hero { padding: 72px 0 40px; text-align: center; }
.page-hero h1 { font-size: clamp(38px, 4.6vw, 60px); max-width: 22ch; margin-inline: auto; }
.page-hero p { color: var(--ink-soft); max-width: 60ch; margin-inline: auto; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 32px; margin-top: 2.2em; }
.prose h3 { font-size: 24px; margin-top: 1.8em; }
.prose img { border-radius: var(--radius); margin: 2em 0; }
.prose blockquote { border-left: 3px solid var(--gold); margin: 2em 0; padding: 4px 0 4px 24px; font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--palm); }
.prose ul, .prose ol { padding-left: 1.4em; }

/* single deal */
.deal-single { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.deal-single__media img { border-radius: 20px; }
.deal-single__box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; position: sticky; top: 110px; }
.deal-single__box .deal-card__price .now { font-size: 40px; }
.deal-single__meta { display: flex; gap: 18px; font-size: 14px; color: var(--ink-soft); margin-bottom: 20px; }

/* ---------- footer ---------- */
.site-footer { background: var(--palm-deep); color: rgba(250,246,239,.75); margin-top: 88px; }
.site-footer__top { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 48px; padding: 72px 0 48px; }
.site-footer__brand p { font-size: 15px; margin-top: 16px; max-width: 34ch; }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.site-footer__nav a { text-decoration: none; font-weight: 600; font-size: 15px; }
.site-footer__nav a:hover { color: var(--gold-soft); }
.site-footer__heading { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 12px; }
.site-footer__note p { font-size: 14px; }
.site-footer__bottom { border-top: 1px solid rgba(250,246,239,.14); padding: 24px 0; font-size: 13px; }
.site-footer__bottom p { margin: 0; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .marquee__track { animation: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
    .deal-grid, .guide-grid, .pillars { grid-template-columns: repeat(2, 1fr); }
    .hero__grid { grid-template-columns: 1fr; gap: 48px; }
    .hero__card { left: 16px; }
    .feature-dark__grid, .deal-single { grid-template-columns: 1fr; }
    .feature-dark__body { padding: 48px 36px; }
    .site-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .site-nav { display: none; }
    .site-header__cta .btn { display: none; }
    .nav-toggle { display: block; }
    .mobile-nav { display: none; border-top: 1px solid var(--line); padding: 8px 24px 24px; background: var(--ivory); }
    .mobile-nav.open { display: block; }
    .mobile-nav ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 4px; }
    .mobile-nav a { display: block; padding: 12px 0; text-decoration: none; font-weight: 600; font-size: 18px; border-bottom: 1px solid var(--line); }
    .mobile-nav .btn { width: 100%; }
    .deal-grid, .guide-grid, .pillars { grid-template-columns: 1fr; }
    .newsletter { padding: 48px 28px; }
    .newsletter__form { flex-direction: column; }
    .deals-head { flex-direction: column; align-items: start; }
    .section { padding: 60px 0; }
    .site-footer__top { grid-template-columns: 1fr; gap: 32px; }
    .hero__proof { flex-wrap: wrap; gap: 18px; }
}
