/* ═══════════════════════════════════════
   ADAMAS JOURNAL — journal.css
   ═══════════════════════════════════════ */

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

:root {
  --black:    #111110;
  --off-black:#1c1c1a;
  --white:    #FAFAF7;
  --off-white:#F3F2EE;
  --gold:     #9A7B4F;
  --gold-lt:  #C4A882;
  --gold-dk:  #7A6040;
  --gray:     #6B6B68;
  --gray-lt:  #C8C8C2;
  --border:   #E4E4DC;
  --serif:    'Cormorant Garamond', Georgia, serif;
  --sans:     'Inter', system-ui, sans-serif;
  --transition: 0.22s ease;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,.04);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 60px;
}

.header-date {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray);
  min-width: 120px;
}

.site-logo {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.site-logo span { color: var(--gold); }

.shop-link {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--black);
  border: 1px solid currentColor;
  padding: 6px 16px;
  min-width: 120px;
  text-align: right;
  transition: background var(--transition), color var(--transition);
}
.shop-link:hover { background: var(--black); color: var(--white); }

.site-nav {
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 11px 24px;
  color: var(--gray);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--black);
  border-bottom-color: var(--gold);
}

/* ─── HERO ─── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  border-bottom: 1px solid var(--border);
}

.hero-visual {
  position: relative;
  background: var(--off-black);
  overflow: hidden;
}

.hero-visual img { width:100%; height:100%; object-fit:cover; }

.hero-placeholder {
  width: 100%;
  height: 100%;
  min-height: 560px;
  background: linear-gradient(150deg, #18180f 0%, #2a2418 50%, #111110 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-diamond {
  font-size: 100px;
  color: var(--gold);
  opacity: .12;
  position: relative;
  z-index: 1;
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:.10; transform:scale(1); }
  50%      { opacity:.18; transform:scale(1.04); }
}

.hero-lines {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(154,123,79,.08) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(154,123,79,.08) 60px);
}

.hero-visual-label {
  position: absolute;
  bottom: 24px;
  left: 28px;
  font-size: 9px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
}

.hero-content {
  padding: 64px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
  background: var(--white);
}

.hero-kicker {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(34px, 3.8vw, 54px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-excerpt {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 380px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  padding-bottom: 4px;
  width: fit-content;
  transition: color var(--transition), border-color var(--transition), gap var(--transition);
}
.hero-btn:hover { color: var(--gold); border-color: var(--gold); gap: 14px; }
.btn-arrow { transition: transform var(--transition); }
.hero-btn:hover .btn-arrow { transform: translateX(4px); }

/* ─── SECTION LAYOUT ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

.j-section { padding: 72px 0; }
.j-section--light { background: var(--off-white); }
.j-section--dark {
  background: var(--off-black);
  color: var(--white);
}
.j-section--dark .j-section-intro { color: rgba(255,255,255,.55); }

.j-section-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}
.j-section-rule {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.j-section-rule--gold { background: var(--gold); opacity:.4; }
.j-section--dark .j-section-rule { background: rgba(255,255,255,.12); }

.j-section-title {
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--black);
}
.j-section--dark .j-section-title { color: var(--white); }

.j-section-link {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  transition: opacity var(--transition);
}
.j-section-link:hover { opacity: .65; }

.j-section-intro {
  font-size: 14px;
  color: var(--gray);
  max-width: 680px;
  margin: -20px 0 40px;
  line-height: 1.8;
}

/* ─── CARDS GRID ─── */
.cards-grid {
  display: grid;
  gap: 40px;
}
.cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ─── CARD ─── */
.card {
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: transform var(--transition);
}
.card:hover { transform: translateY(-3px); }

.card-thumb-link { display: block; overflow: hidden; }

.card-thumb {
  height: 220px;
  overflow: hidden;
  background: var(--off-white);
  position: relative;
}
.card-thumb img {
  width:100%; height:100%; object-fit:cover;
  transition: transform .4s ease;
}
.card:hover .card-thumb img { transform: scale(1.04); }

.card-thumb--sm { height: 160px; }

.card-thumb-empty {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e7e2 0%, #d8d7d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s;
}
.card-thumb-empty span {
  font-size: 28px;
  color: var(--gold);
  opacity: .35;
  transition: opacity .3s, transform .3s;
}
.card:hover .card-thumb-empty { background: linear-gradient(135deg, #dddbd5 0%, #cccbc4 100%); }
.card:hover .card-thumb-empty span { opacity: .55; transform: scale(1.1); }

.card-thumb-empty--dark {
  background: linear-gradient(135deg, #2a2820 0%, #1e1d18 100%);
}
.card--dark:hover .card-thumb-empty--dark { background: linear-gradient(135deg, #322f24 0%, #252318 100%); }

.card-body { padding: 20px 0 0; }
.card--sm .card-body { padding: 14px 0 0; }

.card-cat {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.card-cat--gold { color: var(--gold-lt); }
.j-section--dark .card-cat { color: var(--gold-lt); }

.card-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 12px;
}
.card-title a { transition: color var(--transition); }
.card-title a:hover { color: var(--gold); }
.j-section--dark .card-title a { color: var(--white); }
.j-section--dark .card-title a:hover { color: var(--gold-lt); }

.card-title--sm { font-size: 16px; margin-bottom: 8px; }

.card-excerpt {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.j-section--dark .card-excerpt { color: rgba(255,255,255,.45); }

.card-meta {
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--gray-lt);
  text-transform: uppercase;
}
.j-section--dark .card-meta { color: rgba(255,255,255,.25); }

/* ─── FEATURED WIDE ─── */
.featured-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.fw-image {
  background: var(--off-black);
  overflow: hidden;
  position: relative;
}
.fw-image img { width:100%; height:100%; object-fit:cover; transition: transform .6s ease; }
.featured-wide:hover .fw-image img { transform: scale(1.03); }

.fw-image-empty {
  width:100%; height:100%;
  min-height:460px;
  background: linear-gradient(160deg, #252318 0%, #1a1910 60%, #111110 100%);
  display:flex; align-items:center; justify-content:center;
}
.fw-image-empty span { font-size:80px; color:var(--gold); opacity:.1; }

.fw-content {
  padding: 64px 60px;
  display:flex; flex-direction:column; justify-content:center;
  border-left: 1px solid var(--border);
}
.fw-title {
  font-family: var(--serif);
  font-size: clamp(26px,2.8vw,40px);
  font-weight: 300;
  line-height: 1.2;
  margin: 16px 0 20px;
}
.fw-excerpt {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 420px;
}
.fw-btn {
  display:inline-flex; align-items:center; gap:8px;
  font-size:11px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--black); border-bottom:1px solid var(--black); padding-bottom:4px;
  width:fit-content;
  transition: color var(--transition), border-color var(--transition), gap var(--transition);
}
.fw-btn:hover { color:var(--gold); border-color:var(--gold); gap:14px; }

/* ─── NEWSLETTER ─── */
.newsletter {
  background: var(--black);
  color: var(--white);
  padding: 80px 48px;
}
.newsletter-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.newsletter-label {
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.newsletter-title {
  font-family: var(--serif);
  font-size: clamp(28px,3vw,42px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 14px;
}
.newsletter-title em { font-style:italic; color:var(--gold-lt); }
.newsletter-sub {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.newsletter-form input {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 300;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.3); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--gold-dk); }
.newsletter-fine {
  font-size: 10px;
  color: rgba(255,255,255,.25);
  letter-spacing: .06em;
}

/* ─── MATCHA BAND ─── */
.matcha-band {
  background: linear-gradient(135deg, #1c1a12 0%, #2a2418 50%, #1c1a12 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}
.matcha-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='40' cy='40' r='30' fill='none' stroke='%239A7B4F' stroke-width='.4' opacity='.15'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.matcha-band-inner { position:relative; max-width:600px; margin:0 auto; }
.matcha-kicker {
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 20px;
}
.matcha-title {
  font-family: var(--serif);
  font-size: clamp(32px,4vw,52px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 20px;
}
.matcha-sub {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.8;
  margin-bottom: 36px;
}
.matcha-btn {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 14px 36px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}
.matcha-btn:hover { background: var(--gold); color: var(--white); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .cards-grid.cols-4 { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .header-top { padding: 0 24px; }
  .header-date { display:none; }
  .site-logo { font-size: 16px; }

  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 280px; }
  .hero-placeholder { min-height: 280px; }
  .hero-content { padding: 40px 24px; border-left: none; border-top: 1px solid var(--border); }
  .hero-title { font-size: 30px; }

  .cards-grid.cols-3,
  .cards-grid.cols-4 { grid-template-columns: 1fr 1fr; gap: 28px; }

  .featured-wide { grid-template-columns: 1fr; }
  .fw-image { min-height: 260px; }
  .fw-content { padding: 36px 24px; border-left:none; border-top:1px solid var(--border); }

  .newsletter-inner { grid-template-columns: 1fr; gap: 36px; }
  .newsletter { padding: 60px 24px; }

  .j-section { padding: 52px 0; }
}

@media (max-width: 480px) {
  .cards-grid.cols-3,
  .cards-grid.cols-4 { grid-template-columns: 1fr; }
}
