/*
Theme Name: The Coffee Health Garden
Theme URI: https://thecoffeehealth.com.vn/
Author: The Coffee Health
Description: Giao diện riêng cho quán cà phê sân vườn The Coffee Health tại Hóc Môn.
Version: 1.2.5
Text Domain: coffee-health-garden
*/

:root {
  --forest: #173f32;
  --forest-2: #245c49;
  --leaf: #6f8f62;
  --cream: #f7f1e5;
  --paper: #fffdf8;
  --coffee: #7a4b2b;
  --gold: #d8a84e;
  --ink: #1e2924;
  --muted: #657069;
  --line: rgba(23, 63, 50, .14);
  --radius: 28px;
  --shadow: 0 24px 70px rgba(28, 57, 45, .13);
  --container: min(1180px, calc(100% - 40px));
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 9999; background: #fff; padding: 10px 14px; }
.skip-link:focus { top: 20px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 248, .92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(23, 63, 50, .08); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.08; }
.brand-copy strong { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: var(--forest); }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: #34423b; font-size: 15px; font-weight: 650; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--coffee); }
.header-cta { padding: 12px 18px; border-radius: 999px; background: var(--forest); color: #fff; font-size: 14px; font-weight: 700; }
.header-cta:hover { background: var(--coffee); transform: translateY(-1px); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--cream); color: var(--forest); cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; content: ""; }

.hero { position: relative; min-height: clamp(620px, calc(100svh - 82px), 820px); display: grid; align-items: center; overflow: hidden; background: #183c30; color: #fff; }
.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media { background: url("https://thecoffeehealth.com.vn/wp-content/uploads/2026/08/facebook-entrance-1.jpg") center 46% / cover no-repeat; transform: scale(1.01); }
.hero-media::after { content: ""; background: linear-gradient(90deg, rgba(10, 33, 25, .88) 0%, rgba(10, 33, 25, .55) 48%, rgba(10, 33, 25, .16) 78%), linear-gradient(0deg, rgba(7, 27, 20, .67), transparent 54%); }
.hero-content { position: relative; z-index: 1; max-width: 720px; padding: 92px 0 86px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--gold); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.eyebrow::before { width: 34px; height: 1px; background: currentColor; content: ""; }
.hero h1 { max-width: 700px; margin: 18px 0 22px; font-family: var(--font-display); font-size: clamp(46px, 4.7vw, 70px); font-weight: 650; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.hero h1 em { display: block; margin-top: 4px; color: #e2c98d; font-style: normal; font-weight: 500; }
.hero-copy { max-width: 590px; margin: 0 0 30px; color: rgba(255,255,255,.84); font-size: clamp(16px, 1.35vw, 18px); line-height: 1.65; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 23px; border: 1px solid transparent; border-radius: 999px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: 16px; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-rendering: optimizeLegibility; transition: .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #26331f; }
.button-primary:hover { background: #efc66f; }
.button-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.button-ghost:hover { background: #fff; color: var(--forest); }
.button-dark { background: var(--forest); color: #fff; }
.button-outline { border-color: var(--forest); color: var(--forest); }
.button-outline:hover { background: var(--forest); color: #fff; }
.hero-note { position: absolute; right: 32px; bottom: 30px; z-index: 2; display: flex; align-items: center; gap: 13px; max-width: calc(100% - 64px); padding: 16px 20px; border: 1px solid rgba(255,255,255,.25); border-radius: 18px; background: rgba(15, 43, 33, .68); backdrop-filter: blur(12px); }
.hero-note > div { min-width: 0; }
.hero-note strong { display: block; font-size: 20px; color: #f3d990; }
.hero-note small { display: block; max-width: 100%; color: rgba(255,255,255,.72); overflow-wrap: anywhere; }

.quick-facts { position: relative; z-index: 4; margin-top: -1px; background: var(--forest); color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { min-height: 128px; padding: 28px 28px; border-right: 1px solid rgba(255,255,255,.12); display: flex; gap: 15px; align-items: center; }
.fact:last-child { border: 0; }
.fact-icon { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); color: #f0d488; }
.fact-icon svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fact strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.fact > div > span { display: block; color: rgba(255,255,255,.64); font-size: 13px; line-height: 1.45; }

.section { padding: 112px 0; }
.section-soft { background: var(--cream); }
.section-dark { background: var(--forest); color: #fff; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 54px; }
.section-heading h2, .story-copy h2, .visit-copy h2, .page-hero h1 { margin: 12px 0 0; font-family: var(--font-display); font-size: clamp(34px, 4vw, 54px); font-weight: 650; line-height: 1.12; letter-spacing: -.04em; color: var(--forest); }
.visit-copy h2 { max-width: none; font-size: clamp(32px, 3.2vw, 44px); white-space: nowrap; }
.section-heading p { margin: 0; color: var(--muted); }
.section-dark .section-heading h2 { color: #fff; }
.section-dark .section-heading p { color: rgba(255,255,255,.68); }

.story-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(45px, 8vw, 100px); align-items: center; }
.story-visual { position: relative; }
.story-visual img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.story-card { position: absolute; right: -26px; bottom: 28px; width: 210px; padding: 22px; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); }
.story-card strong { display: block; color: var(--forest); font-family: var(--font-display); font-size: 29px; font-weight: 700; line-height: 1; }
.story-card span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.story-copy p { color: var(--muted); }
.check-list { display: grid; gap: 12px; padding: 0; margin: 28px 0 34px; list-style: none; }
.check-list li { display: flex; gap: 11px; align-items: center; font-weight: 650; }
.check-list li::before { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: #e7efe5; color: var(--forest); content: "✓"; font-size: 13px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { min-height: 280px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: transform .25s, box-shadow .25s; }
.feature-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.feature-number { color: var(--coffee); font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.feature-card h3 { margin: 48px 0 12px; font-family: var(--font-display); font-size: 26px; font-weight: 650; letter-spacing: -.03em; color: var(--forest); }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; }
.espresso-page { background: var(--paper); }
.espresso-topics { margin-top: 12px; }
.espresso-hero { padding-bottom: 84px; }
.espresso-hero .container { max-width: 980px; }
.espresso-article { padding: 0 0 110px; background: var(--paper); }
.espresso-container { max-width: 980px; }
.espresso-cover { margin: -28px 0 74px; }
.espresso-cover img { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow); }
.espresso-cover-real { max-width: 680px; margin-left: auto; margin-right: auto; }
.espresso-cover figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; text-align: right; }
.espresso-lead { max-width: 780px; margin: 0 auto 72px; }
.espresso-lead p { margin: 18px 0 0; color: var(--forest); font-size: clamp(21px, 2.4vw, 29px); font-weight: 500; line-height: 1.5; letter-spacing: -.025em; }
.espresso-section { display: grid; grid-template-columns: 66px 1fr; gap: 28px; max-width: 820px; margin: 0 auto; padding: 54px 0; border-top: 1px solid var(--line); }
.espresso-index { color: var(--gold); font-size: 13px; font-weight: 750; letter-spacing: .14em; }
.espresso-section h2, .espresso-ending h2 { margin: -9px 0 20px; color: var(--forest); font-family: var(--font-display); font-size: clamp(30px, 3.2vw, 43px); font-weight: 650; line-height: 1.15; letter-spacing: -.04em; }
.espresso-section p { margin: 0 0 18px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.espresso-note { display: grid; grid-template-columns: 220px 1fr; gap: 30px; max-width: 820px; margin: 12px auto 52px; padding: 30px; border-radius: 22px; background: var(--forest); color: #fff; }
.espresso-note strong { color: #efd38d; }
.espresso-note span { color: rgba(255,255,255,.78); line-height: 1.7; }
.espresso-steps { display: grid; gap: 0; margin: 26px 0 0; padding: 0; list-style: none; counter-reset: espresso-step; }
.espresso-steps li { display: grid; grid-template-columns: 180px 1fr; gap: 22px; padding: 18px 0; border-top: 1px solid var(--line); counter-increment: espresso-step; }
.espresso-steps strong { color: var(--forest); }
.espresso-steps span { color: var(--muted); }
.espresso-ending { max-width: 820px; margin: 62px auto 0; padding: 52px; border-radius: 28px; background: var(--cream); }
.espresso-ending h2 { margin-top: 14px; max-width: 680px; }
.espresso-ending p { color: var(--muted); }

.menu-preview { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: center; }
.menu-copy h2 { margin: 12px 0 20px; font-family: var(--font-display); font-size: clamp(34px, 4vw, 54px); font-weight: 650; line-height: 1.12; letter-spacing: -.04em; }
.menu-copy p { color: rgba(255,255,255,.68); }
.menu-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 27px 0 34px; }
.menu-tags span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #e4d9c8; font-size: 13px; }
.menu-image { padding: 12px; border-radius: 26px; background: rgba(255,255,255,.08); box-shadow: 0 30px 70px rgba(0,0,0,.22); }
.menu-image img { width: 100%; border-radius: 17px; }

.gallery-grid { columns: 3; column-gap: 18px; }
.gallery-grid figure { overflow: hidden; break-inside: avoid; margin: 0 0 18px; border-radius: 22px; background: #fff; box-shadow: 0 12px 34px rgba(24, 52, 41, .1); }
.gallery-grid figure, .test-drive-track figure { position: relative; }
.gallery-grid img { display: block; width: 100%; height: auto; }
.gallery-grid figcaption, .test-drive-track figcaption { position: absolute; right: auto; bottom: 14px; left: 14px; display: inline-flex; align-items: center; gap: 10px; max-width: calc(100% - 28px); padding: 10px 14px 10px 13px; border: 1px solid rgba(255,255,255,.72); border-radius: 7px 17px 17px 17px; background: rgba(250,247,237,.9); color: var(--forest); box-shadow: 0 8px 24px rgba(25,55,43,.13); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: 13px; font-weight: 500; line-height: 1.35; letter-spacing: 0; }
.gallery-grid figcaption::before, .test-drive-track figcaption::before { width: 10px; height: 14px; flex: 0 0 10px; border-radius: 9px 2px 9px 2px; background: #7f9f70; transform: rotate(-32deg); transform-origin: center; content: ""; }
.test-drive-heading { margin-bottom: 44px; }
.test-drive-heading h2 { max-width: 1080px; margin: 14px 0 16px; color: var(--forest); font-family: var(--font-display); font-size: clamp(30px, 3vw, 42px); font-weight: 650; line-height: 1.15; letter-spacing: -.035em; }
.test-drive-heading p { max-width: 650px; margin: 0; color: var(--muted); }
.test-drive-slider { width: 100%; overflow: hidden; padding: 6px 0 22px; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.test-drive-track { display: flex; width: max-content; gap: 18px; align-items: flex-start; animation: tch-test-drive 58s linear infinite; }
.test-drive-track:hover { animation-play-state: paused; }
.test-drive-track figure { flex: 0 0 clamp(300px, 38vw, 540px); width: clamp(300px, 38vw, 540px); aspect-ratio: 16 / 10; margin: 0; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 12px 34px rgba(24, 52, 41, .1); }
.test-drive-track img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
@keyframes tch-test-drive { to { transform: translateX(calc(-50% - 9px)); } }

.review-box { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: center; padding: 60px; border-radius: 34px; background: #efe4cf; }
.review-score { display: flex; align-items: center; gap: 22px; }
.review-score strong { color: var(--forest); font-family: var(--font-display); font-size: 66px; font-weight: 650; line-height: 1; letter-spacing: -.05em; }
.stars { color: #b7791f; letter-spacing: .08em; }
.review-score small { display: block; color: var(--muted); }
.review-quote { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 31px); font-weight: 500; line-height: 1.42; letter-spacing: -.025em; color: var(--forest); }

.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 560px; }
.visit-copy { display: flex; flex-direction: column; justify-content: center; padding: 70px max(40px, calc((100vw - 1180px)/2)); padding-right: 70px; background: #f7f1e5; }
.visit-details { display: grid; gap: 20px; margin: 32px 0; }
.visit-item { display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.visit-item > .visit-icon { display: grid; width: 28px; height: 28px; place-items: center; color: var(--muted); }
.visit-icon svg { display: block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.visit-item strong { display: block; color: var(--forest); }
.visit-item > div > span { color: var(--muted); font-size: 15px; }
.map-wrap { min-height: 520px; background: #ddd; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 520px; border: 0; filter: saturate(.8) contrast(.95); }

.page-hero { padding: 94px 0 70px; background: var(--cream); }
.page-hero .container { max-width: 900px; }
.page-hero p { max-width: 680px; margin-top: 18px; color: var(--muted); font-size: 19px; }
.page-content { max-width: 860px; padding: 80px 0 110px; }
.page-content h2 { margin-top: 48px; color: var(--forest); font-family: var(--font-display); font-size: 32px; font-weight: 650; letter-spacing: -.03em; }
.page-content a { color: var(--coffee); text-decoration: underline; text-underline-offset: 4px; }
.page-content img { margin: 34px auto; border-radius: 24px; }
.page-content li { margin-bottom: 8px; }
.menu-page { padding: 70px 0 110px; background: var(--cream); }
.menu-full { padding: 14px; border-radius: 26px; background: var(--paper); box-shadow: var(--shadow); }
.menu-full img { width: 100%; border-radius: 17px; }
.menu-full img + img { margin-top: 18px; }
.contact-page { padding: 90px 0 110px; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.contact-card { padding: 36px; border-radius: 28px; background: var(--forest); color: #fff; }
.contact-card h2 { margin-top: 0; font-family: var(--font-display); font-size: 32px; font-weight: 650; letter-spacing: -.03em; }
.blog-hero { padding: 100px 0 76px; background: var(--cream); }
.blog-hero .container { max-width: 960px; }
.blog-hero h1 { margin: 14px 0 18px; color: var(--forest); font-family: var(--font-display); font-size: clamp(44px, 6vw, 72px); font-weight: 650; line-height: 1.05; letter-spacing: -.05em; }
.blog-hero p, .blog-description { max-width: 720px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.blog-listing { padding: 82px 0 110px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 12px 35px rgba(23,63,50,.08); transition: transform .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-card-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #dfe9de; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.blog-card:hover .blog-card-image img { transform: scale(1.035); }
.blog-image-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: rgba(23,63,50,.55); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.blog-card-body { padding: 25px; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--coffee); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.blog-card h2 { margin: 14px 0 12px; color: var(--forest); font-family: var(--font-display); font-size: 25px; font-weight: 650; line-height: 1.25; letter-spacing: -.035em; }
.blog-card p { margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.blog-read-more { color: var(--forest); font-size: 14px; font-weight: 650; }
.blog-read-more span { margin-left: 4px; transition: margin .2s; }
.blog-read-more:hover span { margin-left: 9px; }
.blog-pagination { margin-top: 52px; }
.blog-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.blog-pagination .page-numbers { display: grid; min-width: 42px; height: 42px; padding: 0 12px; place-items: center; border: 1px solid var(--line); border-radius: 999px; }
.blog-pagination .current { background: var(--forest); color: #fff; }
.blog-empty { max-width: 700px; margin: 0 auto; padding: 58px; border-radius: 28px; background: var(--cream); text-align: center; }
.blog-empty h2 { margin: 14px 0; color: var(--forest); font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); line-height: 1.15; }
.blog-empty p { margin: 0 0 25px; color: var(--muted); }
.single-hero { padding: 92px 0 76px; background: var(--cream); }
.single-header-inner { max-width: 900px; }
.single-hero h1 { margin: 20px 0 18px; color: var(--forest); font-family: var(--font-display); font-size: clamp(42px, 6vw, 72px); font-weight: 650; line-height: 1.08; letter-spacing: -.05em; }
.single-hero p { max-width: 720px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.7; }
.single-cover { max-width: 1080px; margin-top: 54px; }
.single-cover img { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow); }
.single-content { max-width: 780px; padding: 70px 0 36px; color: #38443e; font-size: 18px; line-height: 1.85; }
.single-content h2, .single-content h3 { margin: 52px 0 18px; color: var(--forest); font-family: var(--font-display); font-weight: 650; line-height: 1.2; letter-spacing: -.035em; }
.single-content h2 { font-size: 36px; }.single-content h3 { font-size: 27px; }
.single-content img { border-radius: 20px; }
.single-content blockquote { margin: 36px 0; padding: 24px 28px; border-left: 3px solid var(--gold); background: var(--cream); color: var(--forest); }
.single-content h2[id], .single-content h3[id] { scroll-margin-top: 110px; }
.article-toc { margin: 38px 0 48px; padding: 27px 30px 25px; border: 1px solid rgba(23,63,50,.14); border-radius: 23px; background: linear-gradient(145deg, #f8f2e6, #fffdf8); box-shadow: 0 15px 42px rgba(23,63,50,.07); }
.article-toc-heading { display: flex; align-items: baseline; gap: 13px; margin-bottom: 18px; }
.article-toc-heading span { color: var(--gold); font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .085em; text-transform: uppercase; }
.article-toc-heading strong { color: var(--forest); font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -.012em; }
.article-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; margin: 0; padding: 0; counter-reset: toc-item; list-style: none; }
.article-toc li { position: relative; margin: 0; padding-left: 29px; counter-increment: toc-item; }
.article-toc li::before { position: absolute; top: .08em; left: 0; color: var(--gold); content: counter(toc-item, decimal-leading-zero); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.article-toc a { display: inline; color: #425049; font-size: 14px; font-weight: 600; line-height: 1.45; text-decoration: none; transition: color .2s; }
.article-toc a:hover { color: var(--forest); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.comparison-table-wrap { width: min(1060px, calc(100vw - 40px)); margin: 30px 50% 22px; overflow-x: auto; border: 1px solid rgba(23,63,50,.14); border-radius: 24px; background: #fff; box-shadow: 0 18px 48px rgba(23,63,50,.09); transform: translateX(-50%); scrollbar-color: rgba(23,63,50,.35) transparent; scrollbar-width: thin; }
.coffee-comparison-table { width: 100%; min-width: 820px; margin: 0; border: 0; border-collapse: separate; border-spacing: 0; color: #3f4a44; font-size: 15px; line-height: 1.55; }
.coffee-comparison-table th, .coffee-comparison-table td { padding: 19px 22px; border: 0; border-right: 1px solid rgba(23,63,50,.09); border-bottom: 1px solid rgba(23,63,50,.09); text-align: left; vertical-align: middle; }
.coffee-comparison-table th:last-child, .coffee-comparison-table td:last-child { border-right: 0; }
.coffee-comparison-table tbody tr:last-child td { border-bottom: 0; }
.coffee-comparison-table thead th { background: var(--forest); color: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: 13px; font-weight: 720; letter-spacing: .035em; }
.coffee-comparison-table thead th:first-child { color: #f1cf7f; }
.coffee-comparison-table tbody tr:nth-child(even) td { background: #faf6ed; }
.coffee-comparison-table tbody tr:hover td { background: #f1f5ec; }
.coffee-comparison-table tbody td:first-child { width: 21%; color: var(--forest); font-weight: 700; }
.comparison-table-wrap:focus { outline: 3px solid rgba(225,177,75,.42); outline-offset: 4px; }
.single-footer { max-width: 780px; padding: 28px 0 90px; border-top: 1px solid var(--line); color: var(--forest); font-weight: 650; }
.related-articles { padding: 84px 0 100px; border-top: 1px solid var(--line); background: var(--cream); }
.related-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.related-heading h2 { margin: 12px 0 0; color: var(--forest); font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
.related-heading > a { padding-bottom: 6px; color: var(--forest); font-size: 14px; font-weight: 700; }
.related-heading > a span, .related-read-more span { display: inline-block; margin-left: 4px; transition: transform .2s; }
.related-heading > a:hover span, .related-read-more:hover span { transform: translateX(5px); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.related-card { overflow: hidden; border: 1px solid rgba(23,63,50,.12); border-radius: 22px; background: var(--paper); box-shadow: 0 12px 34px rgba(23,63,50,.07); transition: transform .25s, box-shadow .25s; }
.related-card:hover { transform: translateY(-5px); box-shadow: 0 21px 48px rgba(23,63,50,.13); }
.related-card-image { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #dfe9de; }
.related-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.related-card:hover .related-card-image img { transform: scale(1.035); }
.related-card-body { padding: 23px 23px 25px; }
.related-card h3 { margin: 13px 0 10px; color: var(--forest); font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.025em; }
.related-card p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.related-read-more { color: var(--forest); font-size: 13px; font-weight: 700; }
.contact-card a { color: #f2d588; }
.contact-map { overflow: hidden; min-height: 500px; border-radius: 28px; }
.contact-map iframe { width: 100%; height: 500px; border: 0; }
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; }

.site-footer { padding: 74px 0 24px; background: #102e24; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 70px; padding-bottom: 55px; }
.footer-brand { max-width: 420px; }
.footer-brand h2 { margin: 18px 0 14px; font-family: var(--font-display); font-size: 32px; font-weight: 650; letter-spacing: -.03em; }
.footer-brand p, .footer-column a, .footer-column span { color: rgba(255,255,255,.65); font-size: 14px; }
.footer-column { display: grid; align-content: start; gap: 9px; }
.footer-column h3 { margin: 0 0 10px; color: #efd38d; font-size: 13px; letter-spacing: .13em; text-transform: uppercase; }
.footer-column a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: 12px; }
.floating-actions { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: grid; gap: 9px; }
.floating-actions a { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; background: var(--coffee); color: #fff; box-shadow: 0 10px 28px rgba(41,46,38,.25); font-size: 20px; }
.floating-actions a:first-child { background: var(--forest); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav { position: fixed; inset: 82px 0 auto; display: grid; gap: 0; padding: 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .2s; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .section-heading, .story-grid, .menu-preview, .review-box, .contact-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 230px; }
  .feature-card h3 { margin-top: 32px; }
  .story-visual { max-width: 650px; }
  .gallery-grid { columns: 2; }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-copy { padding: 70px max(20px, calc((100vw - 760px)/2)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / 3; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-card:last-child { display: none; }
}

@media (max-width: 640px) {
  :root { --container: min(100% - 28px, 1180px); --radius: 22px; }
  body { font-size: 16px; }
  .brand-copy small { display: none; }
  .header-inner { min-height: 72px; }
  .brand img { width: 46px; height: 46px; }
  .brand-copy strong { font-size: 17px; }
  .main-nav { top: 72px; }
  .hero { min-height: 660px; align-items: center; }
  .hero-media { background-position: 58% center; }
  .hero-media::after { background: linear-gradient(90deg, rgba(10, 33, 25, .89), rgba(10, 33, 25, .48)), linear-gradient(0deg, rgba(7, 27, 20, .72), transparent 65%); }
  .hero-content { padding: 76px 0 130px; }
  .hero h1 { max-width: 360px; font-size: clamp(40px, 11vw, 50px); line-height: 1.08; }
  .hero-copy { max-width: 370px; font-size: 16px; line-height: 1.55; }
  .visit-copy h2 { white-space: normal; }
  .hero-note { right: 14px; bottom: 18px; left: 14px; justify-content: center; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { min-height: auto; padding: 22px 10px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .section { padding: 78px 0; }
  .section-heading { gap: 18px; margin-bottom: 36px; }
  .story-card { right: -4px; bottom: 14px; }
  .menu-preview { gap: 40px; }
  .gallery-grid { columns: 1; }
  .review-box { padding: 34px 24px; gap: 28px; }
  .review-score strong { font-size: 62px; }
  .visit-copy { padding: 65px 20px; }
  .map-wrap, .map-wrap iframe { min-height: 390px; }
  .page-hero { padding: 72px 0 50px; }
  .page-content { padding: 55px 0 80px; }
  .contact-page { padding: 60px 0 80px; }
  .blog-hero { padding: 70px 0 52px; }
  .blog-listing { padding: 58px 0 80px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-empty { padding: 40px 22px; }
  .single-hero { padding: 66px 0 54px; }
  .single-content { padding-top: 52px; font-size: 17px; }
  .article-toc { margin: 30px 0 40px; padding: 23px 20px; border-radius: 19px; }
  .article-toc-heading { display: grid; gap: 4px; }
  .article-toc ol { grid-template-columns: 1fr; gap: 9px; }
  .comparison-table-wrap { width: calc(100vw - 28px); margin-top: 24px; border-radius: 18px; }
  .coffee-comparison-table { min-width: 720px; font-size: 14px; }
  .coffee-comparison-table th, .coffee-comparison-table td { padding: 15px 17px; }
  .coffee-comparison-table thead th:first-child, .coffee-comparison-table tbody td:first-child { position: sticky; left: 0; z-index: 2; box-shadow: 8px 0 18px rgba(23,63,50,.08); }
  .coffee-comparison-table tbody tr:nth-child(odd) td:first-child { background: #fff; }
  .coffee-comparison-table tbody tr:nth-child(even) td:first-child { background: #faf6ed; }
  .related-articles { padding: 66px 0 76px; }
  .related-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card:last-child { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .espresso-cover { margin: -16px 0 52px; }
  .espresso-section { grid-template-columns: 1fr; gap: 10px; padding: 42px 0; }
  .espresso-note { grid-template-columns: 1fr; gap: 10px; padding: 24px; }
  .espresso-steps li { grid-template-columns: 1fr; gap: 5px; }
  .espresso-ending { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .test-drive-slider { overflow-x: auto; mask-image: none; }
  .test-drive-track { animation: none; }
}
