:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --surface: #efe7db;
  --surface-strong: #e7dccb;
  --text: #2b2925;
  --muted: #6f675d;
  --accent: #414040;
  --accent-strong: #302f2f;
  --border: rgba(43, 41, 37, 0.16);
  --shadow: 0 20px 45px rgba(24, 22, 19, 0.08);
  --card-glow: rgba(191, 188, 180, 0.24);
}

html.dark {
  color-scheme: dark;
  --bg: #181613;
  --surface: #221f1b;
  --surface-strong: #2a241e;
  --text: #f2ece2;
  --muted: #b7a997;
  --accent: #f7f2f2;
  --accent-strong: #eeeee7;
  --border: rgba(242, 236, 226, 0.14);
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  --card-glow: rgba(143, 139, 134, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  transition: background-color 300ms ease, color 300ms ease;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.section {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 96px 0;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

html.dark .glass-panel {
  background: rgba(255, 255, 255, 0.05);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 1rem 0;
}

.navbar {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: padding 250ms ease, background-color 300ms ease, box-shadow 300ms ease;
}

.navbar.scrolled {
  padding: 0.8rem 1.1rem;
  background: rgba(255, 255, 255, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

.brand-logo {
  width: 35px;
  height: auto;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  position: relative;
  color: var(--muted);
  transition: color 250ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 250ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: transparent;
  border: 0;
  padding: 0.2rem;
  cursor: pointer;
  position: relative;
  width: 2rem;
  height: 2rem;
  left: 26px;
  top: 6px;
}

.nav-toggle span {
  width: 1.35rem;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms ease;
  display: block;
}

.nav-toggle span:nth-child(1) {
  transform-origin: center;
}

.nav-toggle span:nth-child(2) {
  transform-origin: center;
}

.nav-toggle span:nth-child(3) {
  transform-origin: center;
}

.navbar.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.navbar.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.theme-toggle {
  border: 0;
  background: transparent;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 250ms ease, transform 250ms ease;
}

.theme-toggle:hover {
  background: rgba(146, 143, 138, 0.16);
}

.theme-toggle .icon {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle .icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html:not(.dark) .theme-toggle .icon-moon,
html.dark .theme-toggle .icon-sun {
  display: none;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 250ms ease, box-shadow 250ms ease, background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 0;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--bg);
  box-shadow: 0 10px 18px rgba(146, 143, 138, 0.14);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 14px 24px rgba(146, 143, 138, 0.18);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(146, 143, 138, 0.1);
}

.product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 1.35rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--bg);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 250ms ease, box-shadow 250ms ease, background-color 250ms ease, color 250ms ease;
  position: relative;
  overflow: hidden;
}

html.dark .product-link {
  color: #000;
}

.product-link:hover,
.product-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.14);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  min-height: 86vh;
  padding-top: 4rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: "Fraunces", serif;
  font-weight: 600;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.55rem, 4vw, 4.2rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  max-width: 12ch;
}

.hero-copy,
.about-content p,
.section-heading p,
.footer-column p {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 64ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hero-badges,
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-badges span,
.trust-badges span {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(146, 143, 138, 0.08);
  border: 1px solid rgba(146, 143, 138, 0.14);
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-card,
.about-image img {
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.visual-card img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.about-image img {
  min-height: 460px;
  object-fit: cover;
}

/* Carousel: stack images and fade between them */
.about-image,
.visual-card {
  position: relative;
}
.carousel {
  position: relative;
  width: 100%;
  border-radius: 2rem;
  overflow: hidden;
  display: block;
}
.carousel img {
  display: block;
  width: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 700ms ease, transform 800ms ease;
}
.carousel img.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
}

/* per-placement heights */
.about-image .carousel img { height: 460px; }
.visual-card .carousel img { height: 520px; }

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.4rem;
  justify-content: center;
  display: grid;
  place-items: center;
}

.filter-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  cursor: pointer;
  transition: transform 250ms ease, background-color 250ms ease, color 250ms ease, box-shadow 250ms ease;
}

.filter-btn:hover,
.filter-btn:focus-visible {
  transform: translateY(-2px);
  color: var(--text);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--bg);
  box-shadow: 0 14px 24px rgba(146, 143, 138, 0.2);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.3rem;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(212, 197, 181, 0.2);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(24, 22, 19, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

html.dark .product-card {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 38%);
  z-index: 0;
  pointer-events: none;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: auto 10% 8% 10%;
  height: 48%;
  background: radial-gradient(circle, var(--card-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 320ms ease;
  z-index: -1;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(24, 22, 19, 0.14);
  border-color: rgba(146, 143, 138, 0.28);
}

.product-card:hover::after,
.product-card:focus-within::after {
  opacity: 1;
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(146, 143, 138, 0.12);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
  position: relative;
  z-index: 1;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(46, 57, 49, 0.9);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.1rem 1.1rem 1.15rem;
  position: relative;
  z-index: 1;
}

.product-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.product-info h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  line-height: 1.3;
  font-weight: 600;
}

.product-desc {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.product-pricing {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.product-original {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
}

.product-link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  margin-top: auto;
  border-radius: 0.9rem;
  background: var(--accent-strong);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 250ms ease, box-shadow 250ms ease, background-color 250ms ease, gap 250ms ease;
  position: relative;
  overflow: hidden;
  border: none;
}

.product-link svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
  transition: transform 250ms ease;
}

.product-link:hover,
.product-link:focus-visible {
  transform: translateY(-2px);
  background: var(--accent);
  box-shadow: 0 10px 20px rgba(24, 22, 19, 0.12);
  gap: 0.75rem;
}

.product-link:hover svg,
.product-link:focus-visible svg {
  transform: translateX(3px);
}

.site-footer {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding: 3rem 2rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-link,
.footer-nav a {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 250ms ease;
}

.footer-link:hover,
.footer-nav a:hover,
.footer-link:focus-visible,
.footer-nav a:focus-visible {
  color: var(--accent-strong);
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-links a {
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(146, 143, 138, 0.12);
  border: 1px solid rgba(146, 143, 138, 0.16);
  color: var(--text);
  transition: transform 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
  position: relative;
  overflow: hidden;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: scale(1.05);
  background: rgba(146, 143, 138, 0.18);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.social-links svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  stroke-width: 1.6;
}

.social-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.28) 45%, rgba(255,255,255,0.06) 100%);
  transform: translateX(-120%);
  opacity: 0;
  transition: transform 420ms cubic-bezier(0.2,0.8,0.2,1), opacity 420ms ease;
  pointer-events: none;
}

.social-links a::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 420ms cubic-bezier(0.2,0.8,0.2,1);
  pointer-events: none;
}

.social-links a:hover::before,
.social-links a:focus-visible::before {
  opacity: 0;
}

.social-links a:hover::after,
.social-links a:focus-visible::after {
  transform: scaleX(1);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

/* Footer contact form */
.footer-contact .muted {
  color: var(--muted);
  margin-bottom: 1rem;
}

.footer-form {
  margin-top: 1rem;
}

.footer-form .field-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--text);
  outline: none;
  transition: box-shadow 200ms ease, transform 150ms ease;
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
  color: var(--muted);
}

.footer-form input:focus,
.footer-form textarea:focus {
  box-shadow: 0 8px 18px rgba(201,168,118,0.08);
  transform: translateY(-2px);
}

.footer-cta {
  padding: 0.75rem 1.25rem;
}

.footer-info .brand {
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.footer-info .muted {
  margin-bottom: 1.25rem;
  color: var(--muted);
}

hr {
  border: 0;
  height: 1px;
  background: rgba(146, 143, 138, 0.14);
  margin: 1.5rem 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.policy-card {
  padding: 2.5rem;
  border-radius: 2rem;
}

.policy-card h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 0.75rem;
  white-space: nowrap;
  overflow-wrap: normal;
}

.policy-card h2 {
  font-size: 1.75rem;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  overflow-wrap: normal;
}

.policy-list {
  margin: 0.75rem 0 0 1.2rem;
  padding: 0;
  color: var(--muted);
}

.policy-list li + li {
  margin-top: 0.45rem;
}

.policy-highlight {
  margin: 1.5rem 0 0.75rem;
  padding: 1.2rem 1.4rem;
  border-radius: 1.5rem;
  background: rgba(255, 244, 227, 0.95);
  border: 1px solid rgba(255, 229, 181, 0.85);
  color: #2f2a23;
  box-shadow: 0 18px 40px rgba(19, 15, 11, 0.08);
}

html.dark .policy-highlight {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.policy-highlight strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================= */
/* Blog listing page              */
/* ============================= */

.blog-hero {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
  padding-top: 4rem;
  display: grid;
  place-items: center;
}

.blog-hero .eyebrow {
  text-align: center;
}

.blog-hero h1 {
  max-width: 16ch;
}

.blog-hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 56ch;
}

.blog-featured {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  border-radius: 2rem;
  padding: 1.5rem;
  margin-bottom: 4rem;
}

.blog-featured .featured-image {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.blog-featured .featured-image img {
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.featured-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(46, 57, 49, 0.9);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.featured-content {
  padding: 1rem 1.5rem 1rem 0;
}

.featured-content .eyebrow {
  margin-bottom: 0.75rem;
}

.featured-content h2 {
  max-width: 18ch;
}

.featured-content p {
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: 1.5rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.blog-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
  display: inline-block;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.blog-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.3rem;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(212, 197, 181, 0.2);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(24, 22, 19, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 320ms ease, box-shadow 320ms ease, border-color 320ms ease;
}

html.dark .blog-card {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.blog-card:hover,
.blog-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(24, 22, 19, 0.14);
  border-color: rgba(146, 143, 138, 0.28);
}

.blog-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(146, 143, 138, 0.12);
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(46, 57, 49, 0.9);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem 1.25rem 1.4rem;
  flex: 1;
}

.blog-info .blog-meta {
  margin-bottom: 0;
  font-size: 0.74rem;
}

.blog-info h3 {
  font-size: 1.15rem;
  margin: 0;
  line-height: 1.3;
}

.blog-info h3 a {
  transition: color 250ms ease;
}

.blog-info h3 a:hover,
.blog-info h3 a:focus-visible {
  color: var(--accent-strong);
}

.blog-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.blog-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-strong);
  transition: gap 250ms ease;
}

.blog-readmore svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 2;
}

.blog-card:hover .blog-readmore,
.blog-card:focus-within .blog-readmore {
  gap: 0.65rem;
}

/* ============================= */
/* Article page                   */
/* ============================= */

.article-header {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  text-align: center;
  padding-top: 3rem;
  display: grid;
  place-items: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--muted);
  transition: color 250ms ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--text);
}

.article-header h1 {
  max-width: 18ch;
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
}

.article-hero-image {
  width: min(1000px, calc(100% - 2rem));
  margin: 0 auto 3rem;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-hero-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.article-layout {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 2rem;
}

.article-body {
  padding: 2.75rem;
  border-radius: 2rem;
}

.article-body p {
  color: var(--text);
  font-size: 1.05rem;
  margin: 0 0 1.4rem;
}

.article-body > p:first-of-type {
  font-size: 1.18rem;
  color: var(--muted);
}

.article-body h2 {
  font-size: 1.65rem;
  margin-top: 2.4rem;
  margin-bottom: 0.9rem;
}

.article-body h3 {
  font-size: 1.25rem;
  margin-top: 1.8rem;
  margin-bottom: 0.7rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.4rem 1.2rem;
  padding: 0;
  color: var(--text);
}

.article-body li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.article-body li strong {
  color: var(--accent-strong);
}

.article-image {
  margin: 2rem 0;
}

.article-image img {
  width: 100%;
  border-radius: 1.4rem;
  box-shadow: var(--shadow);
}

.article-image figcaption {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--accent-strong);
  background: rgba(146, 143, 138, 0.08);
  border-radius: 0 1.2rem 1.2rem 0;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
}

.article-cta {
  margin: 2.5rem 0 0.5rem;
  padding: 1.6rem 1.8rem;
  border-radius: 1.5rem;
  background: rgba(255, 244, 227, 0.95);
  border: 1px solid rgba(255, 229, 181, 0.85);
  color: #2f2a23;
  box-shadow: 0 18px 40px rgba(19, 15, 11, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

html.dark .article-cta {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.article-cta-text strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.article-cta-text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.article-tags span {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(146, 143, 138, 0.08);
  border: 1px solid rgba(146, 143, 138, 0.14);
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-details p {
  margin: 0;
}

.author-name {
  font-weight: 600;
  color: var(--text);
}

.author-role {
  font-size: 0.82rem;
  color: var(--muted);
}

.related-heading {
  text-align: center;
  max-width: 600px;
  margin: 5rem auto 2rem;
  display: grid;
  place-items: center;
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-featured {
    grid-template-columns: 1fr;
  }

  .featured-content {
    padding: 0 0.5rem 0.5rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0.6rem 0;
  }

  .navbar {
    border-radius: 1.3rem;
    padding: 0.9rem 1rem;
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links,
  .nav-actions .nav-cta {
    display: none;
  }

  .navbar.is-open .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0.75rem;
    right: 0.75rem;
    padding: 1rem;
    border-radius: 1.5rem;
    background: rgba(18, 18, 18, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: slideDown 350ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  html:not(.dark) .navbar.is-open .nav-links {
    background: rgba(248, 245, 239, 0.98);
    border: 1px solid rgba(36, 33, 29, 0.12);
  }

  html.dark .navbar.is-open .nav-links a {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Mobile nav link appearance in two columns */
  .navbar.is-open .nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4.5rem;
    padding: 0 1rem;
    border-radius: 1rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(36, 33, 29, 0.08);
    overflow: hidden;
    animation: fadeInLeft 320ms ease forwards;
  }

  .navbar.is-open .nav-links a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.28) 45%, rgba(255,255,255,0.06) 100%);
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 420ms cubic-bezier(0.2,0.8,0.2,1), opacity 420ms ease;
    pointer-events: none;
  }

  .navbar.is-open .nav-links a::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 420ms cubic-bezier(0.2,0.8,0.2,1);
    pointer-events: none;
  }

  .navbar.is-open .nav-links a:hover::before,
  .navbar.is-open .nav-links a:focus-visible::before {
    opacity: 1;
    transform: translateX(120%);
  }

  .navbar.is-open .nav-links a:hover::after,
  .navbar.is-open .nav-links a:focus-visible::after {
    transform: scaleX(1);
  }

  .navbar.is-open .nav-links a:nth-child(1) {
    animation-delay: 100ms;
  }

  .navbar.is-open .nav-links a:nth-child(2) {
    animation-delay: 150ms;
  }

  .navbar.is-open .nav-links a:nth-child(3) {
    animation-delay: 200ms;
  }

  .navbar.is-open .nav-links a:nth-child(4) {
    animation-delay: 250ms;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-16px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .hero,
  .about,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-visual {
    order: -1;
  }

  .section {
    padding: 78px 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero {
    padding-top: 2rem;
  }

  .article-header {
    padding-top: 2rem;
  }

  .article-body {
    padding: 1.75rem 1.4rem;
  }

  .article-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-cta .btn {
    width: 100%;
  }
}
