@import url('https://fonts.googleapis.com/css2?family=Syne:wght@500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --sand: #f4f0ea;
  --sand-dark: #e8e2d8;
  --ocean: #1a4d6d;
  --ocean-light: #2a6a94;
  --coral: #e86f4a;
  --coral-soft: #f4a574;
  --slate: #2c3440;
  --text: #1e2630;
  --muted: #5a6572;
  --white: #fff;
  --glass: rgba(255,255,255,0.72);
  --font: 'Source Sans 3', system-ui, sans-serif;
  --display: 'Syne', system-ui, sans-serif;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); background: var(--sand); color: var(--text); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* Glass sticky header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26,77,109,0.1);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px;
}
.logo {
  font-family: var(--display); font-size: 1.35rem; font-weight: 800;
  letter-spacing: -0.03em; color: var(--ocean); text-transform: uppercase;
}
.logo span { color: var(--coral); }
.main-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.main-nav a {
  padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--muted);
  border-radius: 6px; transition: all 0.2s;
}
.main-nav a:hover { color: var(--ocean); background: rgba(26,77,109,0.06); }
.main-nav a.active { color: var(--white); background: var(--ocean); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.search-btn {
  width: 38px; height: 38px; border: 1px solid rgba(26,77,109,0.15);
  background: var(--white); border-radius: 8px; cursor: pointer; font-size: 16px;
}
.cart-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px;
  background: var(--coral); color: var(--white); font-size: 12px; font-weight: 700;
  border-radius: 8px; letter-spacing: 0.02em;
}
.cart-count {
  background: var(--ocean); min-width: 18px; height: 18px; border-radius: 999px;
  font-size: 10px; display: none; align-items: center; justify-content: center;
}
.cart-count.show { display: inline-flex; }
.nav-toggle { display: none; padding: 8px 14px; border: 1px solid rgba(26,77,109,0.2); background: var(--white); border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 12px; }

.btn {
  display: inline-block; padding: 13px 26px; font-size: 14px; font-weight: 700;
  border-radius: 8px; border: none; cursor: pointer; font-family: var(--font); transition: all 0.2s;
}
.btn-ocean { background: var(--ocean); color: var(--white); }
.btn-ocean:hover { background: var(--ocean-light); }
.btn-coral { background: var(--coral); color: var(--white); }
.btn-coral:hover { background: #d45a38; }
.btn-outline { background: transparent; border: 2px solid var(--ocean); color: var(--ocean); }
.btn-ghost { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.4); color: var(--white); padding: 10px 16px; font-size: 12px; border-radius: 6px; }

/* Full-bleed hero */
.hero-full {
  position: relative; min-height: 72vh; display: flex; align-items: flex-end;
  margin-bottom: -60px; overflow: hidden;
}
.hero-full img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-full::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,77,109,0.15) 0%, rgba(26,77,109,0.75) 55%, rgba(44,52,64,0.92) 100%);
}
.hero-content {
  position: relative; z-index: 2; padding: 80px 0 120px; color: var(--white); max-width: 620px;
}
.hero-content .eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--coral-soft); margin-bottom: 14px;
}
.hero-content h1 {
  font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 800;
  line-height: 1.02; margin: 0 0 18px; letter-spacing: -0.03em; text-transform: uppercase;
}
.hero-content p { font-size: 18px; opacity: 0.88; line-height: 1.65; margin: 0 0 28px; max-width: 480px; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 36px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-stats div { font-size: 12px; opacity: 0.75; }
.hero-stats strong { display: block; font-family: var(--display); font-size: 1.6rem; color: var(--coral-soft); font-weight: 800; }

/* Wave divider */
.wave-divider {
  height: 60px; background: var(--sand);
  clip-path: ellipse(55% 100% at 50% 100%); margin-top: -1px; position: relative; z-index: 3;
}

.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 8px;
}
.section-title {
  font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
  margin: 0 0 32px; color: var(--ocean); letter-spacing: -0.02em; text-transform: uppercase;
}

/* Zigzag article rows */
.zigzag-list { padding: 48px 0 64px; }
.zigzag-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--sand-dark);
}
.zigzag-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.zigzag-row.reverse { direction: rtl; }
.zigzag-row.reverse > * { direction: ltr; }
.zigzag-row img {
  width: 100%; height: 280px; object-fit: cover; border-radius: 16px;
  box-shadow: 12px 12px 0 var(--ocean);
}
.zigzag-num {
  font-family: var(--display); font-size: 3.5rem; font-weight: 800; color: var(--sand-dark);
  line-height: 1; margin-bottom: 8px;
}
.zigzag-row .cat {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 8px;
}
.zigzag-row h3 {
  font-family: var(--display); font-size: 1.35rem; font-weight: 700; margin: 0 0 10px;
  color: var(--slate); letter-spacing: -0.01em;
}
.zigzag-row p { font-size: 15px; color: var(--muted); margin: 0 0 14px; line-height: 1.65; }
.zigzag-row .meta { font-size: 12px; color: var(--muted); font-weight: 600; }
.zigzag-row a.read-link {
  display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700;
  color: var(--ocean); border-bottom: 2px solid var(--coral); padding-bottom: 2px;
}

/* Journal grid page */
.filter-tabs {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px;
  border-bottom: 2px solid var(--sand-dark); padding-bottom: 12px;
}
.tab {
  padding: 8px 18px; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted); background: none; border: none;
  cursor: pointer; border-radius: 6px 6px 0 0; transition: all 0.2s;
}
.tab.active, .tab:hover { color: var(--ocean); background: var(--white); box-shadow: 0 -2px 0 var(--coral) inset; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-bottom: 64px; }
.article-card {
  background: var(--white); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(26,77,109,0.08); transition: transform 0.2s, box-shadow 0.2s;
}
.article-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(26,77,109,0.12); }
.article-card img { width: 100%; height: 190px; object-fit: cover; }
.article-card-body { padding: 18px 20px 22px; }
.article-card .cat { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral); margin-bottom: 6px; }
.article-card h3 { font-family: var(--display); font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; line-height: 1.3; }
.article-card p { font-size: 13px; color: var(--muted); margin: 0 0 10px; line-height: 1.55; }
.article-card .meta { font-size: 11px; color: var(--muted); font-weight: 600; }
.article-card.hidden { display: none; }

/* ★ Gear Strip — horizontal scroll shop */
.gear-strip-section {
  background: linear-gradient(135deg, var(--ocean) 0%, #0f3548 50%, var(--slate) 100%);
  padding: 56px 0 64px; margin: 56px 0; position: relative; overflow: hidden;
}
.gear-strip-section::before {
  content: ''; position: absolute; bottom: -100px; left: -100px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,111,74,0.2) 0%, transparent 65%); pointer-events: none;
}
.gear-strip-head {
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap;
  gap: 16px; margin-bottom: 28px; color: var(--white); position: relative;
}
.gear-strip-head h2 {
  font-family: var(--display); font-size: 2rem; font-weight: 800; margin: 0;
  text-transform: uppercase; letter-spacing: -0.02em;
}
.gear-strip-head p { color: rgba(255,255,255,0.65); font-size: 14px; max-width: 360px; margin: 0; }

.gear-scroll-wrap { position: relative; }
.gear-scroll {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 4px 20px; scrollbar-width: thin; scrollbar-color: var(--coral) transparent;
}
.gear-scroll::-webkit-scrollbar { height: 6px; }
.gear-scroll::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 999px; }

.gear-card {
  flex: 0 0 260px; scroll-snap-align: start;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px; overflow: hidden; transition: transform 0.25s, background 0.25s;
}
.gear-card:hover { transform: translateY(-8px); background: rgba(255,255,255,0.14); }
.gear-card img { width: 100%; height: 180px; object-fit: cover; }
.gear-card-body { padding: 16px 18px 18px; color: var(--white); }
.gear-card .tag { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral-soft); margin-bottom: 6px; }
.gear-card h3 { font-family: var(--display); font-size: 1rem; font-weight: 700; margin: 0 0 8px; }
.gear-card .price { font-size: 1.15rem; font-weight: 700; color: var(--coral-soft); margin-bottom: 12px; }
.gear-card-actions { display: flex; gap: 8px; }
.gear-card-actions .btn-add {
  flex: 1; padding: 9px 12px; font-size: 11px; font-weight: 700; border: none;
  background: var(--coral); color: var(--white); border-radius: 6px; cursor: pointer; font-family: var(--font);
}
.gear-card-actions .btn-add:hover { background: var(--coral-soft); color: var(--slate); }

.scroll-hint { text-align: center; font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 8px; letter-spacing: 0.08em; text-transform: uppercase; }

/* Shop page */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 64px; }
.shop-item {
  background: var(--white); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(26,77,109,0.08); transition: box-shadow 0.2s;
}
.shop-item:hover { box-shadow: 0 16px 36px rgba(26,77,109,0.1); }
.shop-item img { width: 100%; height: 210px; object-fit: cover; }
.shop-item-body { padding: 18px; }
.shop-item h3 { font-family: var(--display); font-size: 1rem; font-weight: 700; margin: 0 0 6px; }
.shop-item .price { color: var(--coral); font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; }
.shop-item .btns { display: flex; gap: 6px; }
.shop-item .btn { flex: 1; padding: 9px; font-size: 11px; text-align: center; }

/* Article page */
.page-hero { padding: 48px 0 24px; max-width: 760px; }
.page-hero .cat { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); margin-bottom: 10px; }
.page-hero h1 { font-family: var(--display); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; margin: 0 0 14px; line-height: 1.08; color: var(--ocean); letter-spacing: -0.02em; }
.page-hero .lead { font-size: 19px; color: var(--muted); line-height: 1.65; margin: 0 0 10px; }
.page-hero .byline { font-size: 13px; color: var(--muted); font-weight: 600; }

.article-body { max-width: 700px; margin: 0 auto; padding-bottom: 72px; }
.article-body .lead-img { width: 100%; height: 420px; object-fit: cover; border-radius: 16px; margin-bottom: 36px; box-shadow: 8px 8px 0 var(--ocean); }
.article-body h2 { font-family: var(--display); font-size: 1.3rem; font-weight: 700; margin: 36px 0 12px; color: var(--ocean); text-transform: uppercase; letter-spacing: 0.02em; }
.article-body p { font-size: 17px; line-height: 1.85; margin-bottom: 18px; }
.article-body .highlight {
  background: linear-gradient(90deg, rgba(232,111,74,0.12) 0%, transparent 100%);
  border-left: 4px solid var(--coral); padding: 16px 20px; margin: 28px 0;
  font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: var(--slate); line-height: 1.45;
}

/* Product page */
.product-layout { display: grid; grid-template-columns: 1.2fr 320px; gap: 40px; padding-bottom: 72px; }
.product-layout .hero-img { width: 100%; height: 400px; object-fit: cover; border-radius: 16px; box-shadow: 10px 10px 0 var(--coral); }
.product-layout p { color: var(--muted); line-height: 1.8; margin-bottom: 14px; }
.buy-panel {
  background: var(--white); border: 1px solid rgba(26,77,109,0.1); border-radius: 14px;
  padding: 24px; position: sticky; top: 88px; box-shadow: 0 12px 32px rgba(26,77,109,0.08);
}
.buy-panel img { width: 100%; height: 170px; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }
.buy-panel h3 { font-family: var(--display); font-size: 1.15rem; font-weight: 700; margin: 0 0 8px; }
.buy-panel .price { font-size: 1.6rem; font-weight: 800; color: var(--coral); margin-bottom: 6px; }
.buy-panel .note { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.buy-panel .btn { width: 100%; margin-bottom: 8px; }
.buy-panel .added { font-size: 12px; color: var(--ocean-light); display: none; text-align: center; }
.buy-panel .added.show { display: block; }

/* Cart */
.cart-page { max-width: 740px; padding: 48px 0 72px; }
.cart-empty { text-align: center; padding: 56px; background: var(--white); border: 2px dashed var(--sand-dark); border-radius: 14px; }
.cart-row {
  display: grid; grid-template-columns: 76px 1fr 100px 84px 44px; gap: 14px;
  align-items: center; padding: 16px 0; border-bottom: 1px solid var(--sand-dark);
}
.cart-row img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; }
.cart-row h4 { font-size: 14px; margin: 0 0 4px; font-weight: 700; }
.qty-ctrl { display: flex; gap: 4px; align-items: center; }
.qty-ctrl button { width: 30px; height: 30px; border: 1px solid var(--sand-dark); background: var(--sand); border-radius: 6px; cursor: pointer; font-weight: 700; }
.cart-summary {
  background: var(--ocean); color: var(--white); padding: 26px; border-radius: 14px;
  margin-top: 24px; max-width: 380px; margin-left: auto;
}
.cart-summary .line { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.cart-summary .total { font-family: var(--display); font-size: 1.35rem; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 12px; margin-top: 12px; font-weight: 800; }
.cart-summary .btn { width: 100%; margin-top: 16px; background: var(--coral); color: var(--white); }
.cart-remove { background: none; border: none; color: var(--coral); font-size: 11px; cursor: pointer; text-decoration: underline; }

/* FAQ */
.faq-block { max-width: 640px; padding-bottom: 56px; }
.faq-item { background: var(--white); border-radius: 10px; margin-bottom: 10px; border: 1px solid rgba(26,77,109,0.08); overflow: hidden; }
.faq-q { width: 100%; padding: 18px 20px; background: none; border: none; text-align: left; font-weight: 700; font-size: 14px; cursor: pointer; display: flex; justify-content: space-between; color: var(--ocean); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a-inner { padding: 0 20px 16px; color: var(--muted); font-size: 14px; line-height: 1.65; }

.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 36px 0 72px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--sand-dark); border-radius: 8px;
  font-family: var(--font); margin-bottom: 12px; background: var(--white);
}
.contact-form textarea { min-height: 120px; resize: vertical; }

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 48px 0 72px; }
.about-split img { border-radius: 16px; box-shadow: 10px 10px 0 var(--coral); height: 360px; object-fit: cover; }

.modal-overlay { position: fixed; inset: 0; background: rgba(26,77,109,0.55); z-index: 2000; display: none; align-items: flex-start; justify-content: center; padding: 80px 20px; }
.modal-overlay.show { display: flex; }
.modal-box { background: var(--white); border-radius: 14px; padding: 28px; width: min(440px,100%); position: relative; }
.modal-close { position: absolute; top: 10px; right: 14px; background: none; border: none; font-size: 22px; cursor: pointer; }
.search-input { width: 100%; padding: 12px; border: 1px solid var(--sand-dark); border-radius: 8px; margin-bottom: 10px; font-family: var(--font); }
.search-results a { display: block; padding: 10px 0; border-bottom: 1px solid var(--sand-dark); font-size: 14px; }

#cookieBar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 3000; background: var(--slate); color: var(--white); padding: 14px 24px; transform: translateY(100%); transition: transform 0.3s; }
#cookieBar.show { transform: translateY(0); }
.cookie-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cookie-inner p { margin: 0; font-size: 13px; flex: 1; }
.cookie-inner a { color: var(--coral-soft); }
.cookie-btns button { padding: 8px 16px; font-size: 12px; font-weight: 700; cursor: pointer; border: none; border-radius: 6px; margin-left: 8px; }
#cookieAccept { background: var(--coral); color: var(--white); }
#cookieDecline { background: transparent; border: 1px solid rgba(255,255,255,0.35); color: var(--white); }

#toastContainer { position: fixed; bottom: 24px; right: 24px; z-index: 2500; }
.toast { background: var(--ocean); color: var(--white); padding: 12px 20px; font-size: 13px; border-radius: 8px; margin-top: 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.18); font-weight: 600; }

.site-footer { background: var(--slate); color: rgba(255,255,255,0.72); padding: 48px 0 28px; margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.footer-col h4 { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral-soft); margin: 0 0 12px; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.65); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; font-size: 12px; }

@media (max-width: 992px) {
  .zigzag-row, .product-layout, .contact-split, .about-split, .footer-grid { grid-template-columns: 1fr; }
  .zigzag-row.reverse { direction: ltr; }
  .article-grid, .shop-grid { grid-template-columns: 1fr 1fr; }
  .hero-full { min-height: 60vh; }
}
@media (max-width: 640px) {
  .main-nav { display: none; flex-direction: column; width: 100%; padding: 12px 0; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: inline-block; }
  .article-grid, .shop-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .cart-row { grid-template-columns: 64px 1fr; gap: 8px; }
  .gear-card { flex: 0 0 220px; }
}
