/* SorryBro — boutique tech & lifestyle */

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

:root {
  --ink: #0c0c0c;
  --ink-soft: #1a1a1a;
  --stone: #e8ebe9;
  --mist: #f3f5f4;
  --paper: #fafbfa;
  --muted: #5c6660;
  --line: #d5dbd7;
  --accent: #c44b2f;
  --accent-hover: #a83d25;
  --accent-soft: #f7ebe7;
  --sage: #3d5a4c;
  --sage-soft: #e4ede8;
  --gold: #b8860b;
  --danger: #b91c1c;
  --nav-height: 68px;
  --announce-height: 36px;
  --max-width: 1120px;
  --radius: 6px;
  --radius-lg: 14px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 1px 2px rgba(12, 12, 12, 0.04), 0 8px 24px rgba(12, 12, 12, 0.06);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

/* Announcement + nav */
.announcement-bar {
  background: var(--ink);
  color: #f0f2f1;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 9px 16px;
  min-height: var(--announce-height);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  background: rgba(250, 251, 250, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  height: var(--nav-height);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, var(--accent) 0%, #e07a5f 48%, var(--sage) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2px;
  align-items: center;
}

.nav-links a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--mist);
}

.nav-links a.active {
  background: var(--ink);
  color: #fff;
}

.nav-cart {
  position: relative;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.nav-links a.active .cart-badge {
  background: #fff;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(var(--announce-height) + var(--nav-height));
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 12px 16px 18px;
    align-items: stretch;
    gap: 4px;
  }

  .nav-links.is-open {
    display: flex;
  }
}

main {
  flex: 1;
  width: 100%;
}

#app-outlet {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 22px 64px;
}

#app-outlet:has(.hero) {
  max-width: none;
  padding: 0 0 64px;
}

#app-outlet:has(.hero) > *:not(.hero):not(.editorial-band) {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 22px;
  padding-right: 22px;
}

.view-loading {
  color: var(--muted);
  font-size: 14px;
  padding: 48px 0;
}

/* Hero — full bleed */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: grid;
  align-items: end;
  color: #f7f8f7;
  overflow: hidden;
  margin-bottom: 40px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(196, 75, 47, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(61, 90, 76, 0.45), transparent 50%),
    linear-gradient(160deg, #0c0c0c 0%, #1a2220 45%, #2a1a16 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 85%);
  pointer-events: none;
  animation: gridDrift 28s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  width: 42vmin;
  height: 42vmin;
  right: 8%;
  top: 12%;
  border-radius: 40% 60% 55% 45%;
  background: linear-gradient(135deg, rgba(196, 75, 47, 0.5), rgba(61, 90, 76, 0.35));
  filter: blur(2px);
  animation: floatBlob 9s var(--ease) infinite alternate;
  pointer-events: none;
}

@keyframes gridDrift {
  from { transform: translateY(0); }
  to { transform: translateY(48px); }
}

@keyframes floatBlob {
  from { transform: translate(0, 0) rotate(0deg); }
  to { transform: translate(-24px, 18px) rotate(8deg); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 72px 22px 56px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 248, 247, 0.7);
  margin-bottom: 18px;
  animation: fadeUp 0.7s var(--ease) both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 14ch;
  margin-bottom: 18px;
  animation: fadeUp 0.8s 0.08s var(--ease) both;
}

.hero-lead {
  font-size: 1.125rem;
  font-weight: 300;
  max-width: 42ch;
  opacity: 0.88;
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.16s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeUp 0.8s 0.24s var(--ease) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.editorial-band {
  background: var(--ink);
  color: #eef1ef;
  padding: 28px 22px;
  margin-bottom: 40px;
}

.editorial-band-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.editorial-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.editorial-stat span {
  font-size: 13px;
  opacity: 0.7;
}

@media (max-width: 720px) {
  .editorial-band-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Section headers */
.page-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
}

.page-header p {
  color: var(--muted);
  font-size: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 36px 0 18px;
}

.section-intro {
  color: var(--muted);
  max-width: 62ch;
  margin: -8px 0 20px;
  font-size: 15px;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s;
  cursor: pointer;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: transparent;
}

.product-thumb {
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
  background: var(--thumb-bg, linear-gradient(145deg, #dfe6e2, #c8d4ce));
}

.product-thumb-glyph {
  position: relative;
  z-index: 1;
  font-size: 52px;
  filter: drop-shadow(0 8px 16px rgba(12, 12, 12, 0.15));
  transition: transform 0.35s var(--ease);
}

.product-card:hover .product-thumb-glyph {
  transform: scale(1.08) translateY(-4px);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  padding: 5px 8px;
  border-radius: 999px;
}

.product-body {
  padding: 16px 16px 18px;
}

.product-category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}

.product-name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.product-rating {
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.product-rating span {
  color: var(--muted);
  margin-left: 6px;
  letter-spacing: 0;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-price {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.product-price small {
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
}

.product-price-old {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 6px;
  font-weight: 400;
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
}

.product-detail-thumb {
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.product-detail-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--thumb-bg, linear-gradient(145deg, #dfe6e2, #c8d4ce));
}

.product-detail-thumb .product-thumb-glyph {
  font-size: 120px;
}

.product-detail-info h1 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.product-detail-info .product-category {
  margin-bottom: 12px;
}

.product-detail-desc {
  color: var(--muted);
  margin: 16px 0 20px;
}

.product-detail-price {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--muted);
}

.product-meta-row strong {
  color: var(--sage);
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.qty-row label {
  font-size: 14px;
  font-weight: 500;
}

.qty-row input {
  width: 72px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--paper);
}

@media (max-width: 720px) {
  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-detail-thumb {
    height: 240px;
  }
}

/* Filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-btn {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.2s var(--ease);
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--mist);
}

.filter-btn.active {
  background: var(--ink);
  color: #fff;
}

/* Cart */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cart-table th,
.cart-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.cart-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--mist);
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-product-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mist);
  border-radius: var(--radius);
}

.cart-empty {
  text-align: center;
  padding: 56px 24px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
}

.cart-empty .btn {
  margin-top: 16px;
}

.cart-summary {
  margin-top: 20px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.cart-total {
  font-size: 1.25rem;
  font-weight: 700;
}

.cart-total span {
  color: var(--accent);
}

/* Checkout */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.checkout-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.checkout-panel h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  background: var(--paper);
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.order-lines {
  list-style: none;
  margin-bottom: 16px;
}

.order-lines li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.order-lines li:last-child {
  border-bottom: none;
}

@media (max-width: 720px) {
  .checkout-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  border: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s var(--ease), color 0.2s, transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-outline:hover {
  background: var(--mist);
}

.btn-danger {
  background: transparent;
  color: var(--danger);
  border: none;
  padding: 4px 8px;
  font-size: 13px;
  cursor: pointer;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 13px;
}

.btn-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Confirmation */
.confirm-box {
  text-align: center;
  padding: 56px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.confirm-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
}

.confirm-box h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.confirm-box p {
  color: var(--muted);
  margin-bottom: 24px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.trust-badge {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  font-size: 13px;
  color: var(--muted);
}

.trust-badge strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 4px;
}

@media (max-width: 640px) {
  .trust-badges {
    grid-template-columns: 1fr;
  }
}

/* Content blocks */
.scroll-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 28px;
}

.scroll-section h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.scroll-section p {
  color: var(--muted);
  margin-bottom: 12px;
}

.scroll-section p:last-child {
  margin-bottom: 0;
}

.scroll-section-faq {
  margin-bottom: 32px;
}

.prose-page {
  max-width: 720px;
}

.prose-page h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.prose-page .lead {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.prose-page h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 28px 0 12px;
}

.prose-page p,
.prose-page li {
  color: var(--muted);
  margin-bottom: 12px;
}

.prose-page ul {
  padding-left: 1.2em;
  margin-bottom: 16px;
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-chip {
  padding: 10px 16px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s;
}

.category-chip:hover {
  background: var(--sage-soft);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.tip-card {
  padding: 18px;
  background: var(--mist);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.tip-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--sage);
}

.tip-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "+ ";
  color: var(--accent);
  font-weight: 700;
}

.faq-item[open] summary::before {
  content: "− ";
}

.faq-item p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  padding-left: 16px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.spec-table th {
  width: 40%;
  color: var(--muted);
  font-weight: 500;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-card {
  padding: 16px;
  background: var(--mist);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.review-stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.review-card p {
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--ink-soft);
}

.review-author {
  font-size: 12px;
  color: var(--muted);
}

/* Journal */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.journal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.journal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.journal-card-cover {
  height: 140px;
  background: var(--cover-bg, linear-gradient(135deg, #2a1a16, #3d5a4c));
}

.journal-card-body {
  padding: 18px;
}

.journal-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.journal-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.journal-card p {
  font-size: 14px;
  color: var(--muted);
}

.article-cover {
  height: 220px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  background: var(--cover-bg, linear-gradient(135deg, #2a1a16, #3d5a4c));
}

.article-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #c9d0cc;
  padding: 48px 22px 28px;
  margin-top: auto;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.footer-tagline,
.footer-contact,
.footer-newsletter-copy {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
}

.footer-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}

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

.footer-links a {
  color: #c9d0cc;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  padding: 4px 0;
}

.footer-links a:hover {
  color: #fff;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.newsletter-form input {
  padding: 11px 12px;
  border-radius: var(--radius);
  border: 1px solid #333;
  background: var(--ink-soft);
  color: #fff;
  font: inherit;
}

.newsletter-form .btn {
  width: 100%;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #2a2a2a;
  font-size: 12px;
  color: #8a938e;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.footer-sub {
  margin-top: 0;
}

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

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

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  z-index: 200;
  animation: fadeUp 0.35s var(--ease);
  box-shadow: var(--shadow);
}
