/* skin + actives — Global Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;700&display=swap');

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

:root {
  --white: #ffffff;
  --black: #020912;
  --accent: #e4f6ff;
  --badge: #fcfcfc;
  --grey-light: #f5f5f5;
  --grey-mid: #e0e0e0;
  --grey-text: #555;
  --font: 'Josefin Sans', sans-serif;
  --max-width: 1200px;
  --content-width: 780px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-weight: 300;
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--black); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.7; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

/* ── Announcement Bar ── */
.announcement-bar {
  background: var(--black);
  color: var(--badge);
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Header ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--grey-mid);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-name {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--black);
}

.brand-name span { font-weight: 300; }

.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--grey-mid);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
  .nav-links.open { display: flex; }
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--accent) 0%, var(--white) 40%, var(--accent) 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(228,246,255,0.6) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(228,246,255,0.4) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 42px;
  font-weight: 300;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.hero p {
  font-size: 17px;
  color: var(--grey-text);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-btn {
  display: inline-block;
  background: var(--black);
  color: var(--badge);
  padding: 14px 40px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.hero-btn:hover { opacity: 0.85; color: var(--badge); }

/* ── Blog Hero (article pages) ── */
.blog-hero {
  background: var(--accent);
  padding: 48px 24px;
  text-align: center;
}

.blog-hero h1 {
  font-size: 34px;
  font-weight: 300;
  max-width: var(--content-width);
  margin: 0 auto 12px;
  letter-spacing: 0.02em;
}

.blog-hero .meta {
  font-size: 13px;
  color: var(--grey-text);
  letter-spacing: 0.06em;
}

/* ── Page Hero (non-blog pages) ── */
.page-hero {
  background: var(--accent);
  padding: 48px 24px;
  text-align: center;
}

.page-hero h1 {
  font-size: 34px;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ── Page Hero Sub ── */
.page-hero-sub {
  font-size: 15px;
  color: var(--grey-text);
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* ── Product Grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}

.product-card {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid var(--grey-mid);
  position: relative;
  background: var(--white);
}

.product-image {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grey-light);
  margin-bottom: 20px;
  color: var(--grey-text);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  line-height: 1.5;
}

.product-price {
  font-size: 15px;
  font-weight: 300;
  color: var(--grey-text);
}

.product-badge {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-text);
  background: var(--grey-light);
  padding: 4px 12px;
}

/* ── Sections ── */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
}

.section-narrow {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 48px 24px;
}

.section-title {
  font-size: 28px;
  font-weight: 300;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.04em;
}

.section-subtitle {
  text-align: center;
  color: var(--grey-text);
  font-size: 15px;
  margin-top: -28px;
  margin-bottom: 40px;
}

/* ── Collections Grid ── */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
}

.collection-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--grey-light);
  border: 1px solid var(--grey-mid);
  transition: var(--transition);
}

.collection-card:hover {
  background: var(--accent);
  border-color: transparent;
}

.collection-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
}

.collection-card h3 {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collection-card p {
  font-size: 13px;
  color: var(--grey-text);
  margin-top: 8px;
}

/* ── Blog Cards Grid ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
}

.blog-card {
  border: 1px solid var(--grey-mid);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover { border-color: var(--black); }

.blog-card-image {
  height: 180px;
  background: linear-gradient(135deg, var(--accent), var(--grey-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--black);
  opacity: 0.15;
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-body h3 {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.5;
}

.blog-card-body p {
  font-size: 13px;
  color: var(--grey-text);
  flex: 1;
  margin-bottom: 16px;
}

.read-more {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--black);
  align-self: flex-start;
}

/* ── About Section ── */
.about-section {
  background: var(--grey-light);
}

.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
}

.about-inner h2 {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.about-inner p {
  max-width: 640px;
  margin: 0 auto 16px;
  color: var(--grey-text);
  font-size: 15px;
}

/* ── Article Content ── */
.article-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.article-content h2 {
  font-size: 24px;
  font-weight: 400;
  margin: 36px 0 16px;
  letter-spacing: 0.02em;
}

.article-content h3 {
  font-size: 20px;
  font-weight: 400;
  margin: 28px 0 12px;
}

.article-content p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
}

.article-content ul,
.article-content ol {
  margin: 0 0 16px 24px;
  line-height: 1.8;
}

.article-content li { margin-bottom: 8px; }

.article-content strong { font-weight: 700; }

.article-content a {
  border-bottom: 1px solid var(--grey-mid);
}
.article-content a:hover {
  border-bottom-color: var(--black);
  opacity: 1;
}

.sources {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--grey-mid);
}

.sources h3 {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sources ol {
  font-size: 13px;
  color: var(--grey-text);
  line-height: 1.8;
}

.sources a {
  word-break: break-all;
  font-size: 12px;
}

/* ── Back Link ── */
.back-link {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.back-link::before { content: '\2190\00a0'; }

/* ── Policy Content ── */
.policy-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.policy-content h2 {
  font-size: 22px;
  font-weight: 400;
  margin: 32px 0 12px;
}

.policy-content h3 {
  font-size: 18px;
  font-weight: 400;
  margin: 24px 0 10px;
}

.policy-content p {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--grey-text);
}

.policy-content ul, .policy-content ol {
  margin: 0 0 14px 24px;
  color: var(--grey-text);
  font-size: 15px;
  line-height: 1.8;
}

.policy-content strong { font-weight: 700; color: var(--black); }

.policy-content a {
  border-bottom: 1px solid var(--grey-mid);
}

/* ── Glossary ── */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 700px) {
  .glossary-grid { grid-template-columns: 1fr; }
}

.glossary-item {
  padding: 24px;
  background: var(--grey-light);
  border-left: 3px solid var(--accent);
}

.glossary-item h3 {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.glossary-item p {
  font-size: 14px;
  color: var(--grey-text);
  line-height: 1.7;
}

.glossary-item a {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--grey-mid);
  display: inline-block;
  margin-top: 10px;
}

/* ── Share / Article Nav ── */
.article-nav {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px 48px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--grey-mid);
  padding-top: 24px;
}

.article-nav a {
  font-size: 13px;
  letter-spacing: 0.06em;
}

/* ── Footer ── */
.site-footer {
  background: var(--black);
  color: var(--badge);
  padding: 48px 24px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.footer-brand {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13px;
  color: rgba(252,252,252,0.6);
  line-height: 1.7;
}

.footer-heading {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: rgba(252,252,252,0.5);
}

.footer-links {
  list-style: none;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--badge);
  font-size: 14px;
  font-weight: 300;
}

.footer-links a:hover { opacity: 0.7; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(252,252,252,0.1);
  text-align: center;
  font-size: 12px;
  color: rgba(252,252,252,0.4);
}

/* ── Utility ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Print ── */
@media print {
  .site-header, .site-footer, .announcement-bar, .menu-toggle { display: none; }
  body { font-size: 12pt; }
  .article-content, .policy-content { max-width: 100%; padding: 0; }
}
