/*
Theme Name: Touch Some Grass
Author: Matcha Tayo Editorial Team
Description: An editorial WordPress theme for Filipino matcha cafés, recipes, city guides, and matcha culture.
Version: 1.6.14
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: matcha-tayo
Tags: blog, news, food-and-drink, one-column, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --matcha: #668e24;
  --matcha-deep: #355315;
  --matcha-bright: #b7d84b;
  --matcha-wash: #e5edc9;
  --ink: #171a15;
  --muted: #666b61;
  --paper: #f8f7f3;
  --paper-deep: #efeee8;
  --white: #fff;
  --line: rgba(23, 26, 21, 0.13);
  --shadow: 0 18px 50px rgba(37, 51, 21, 0.09);
  --radius: 28px;
  --radius-small: 16px;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --content: 1180px;
  --reading: 740px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.55)),
    radial-gradient(circle at 15% 25%, rgba(96, 120, 57, .05) 0 1px, transparent 1.5px) 0 0 / 8px 8px,
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .16em;
}

a:hover {
  color: var(--matcha-deep);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
input[type="submit"] {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--matcha-bright);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink);
}

.site-shell {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 247, 243, .9);
  backdrop-filter: blur(14px);
}

.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 78px;
  gap: 28px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.custom-logo-link img {
  width: auto;
  max-height: 44px;
}

.site-title {
  margin: 0;
  font-size: .94rem;
  font-weight: 700;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.site-title a {
  text-decoration: none;
}

.site-title-mark {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--matcha-bright);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.55);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
}

.icon-button:hover {
  background: var(--matcha-wash);
  border-color: var(--line);
}

.icon-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-panel {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 17vh 24px 24px;
  background: rgba(17, 22, 14, .72);
  backdrop-filter: blur(9px);
}

.search-panel.is-open {
  display: flex;
}

.search-panel-inner {
  position: relative;
  width: min(720px, 100%);
  padding: 42px;
  background: var(--paper);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius);
  box-shadow: 0 30px 100px rgba(0,0,0,.28);
}

.search-panel .search-form {
  display: flex;
  gap: 10px;
}

.search-field {
  width: 100%;
  min-width: 0;
  padding: 13px 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.search-submit,
.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  color: var(--ink);
  background: var(--matcha-bright);
  border: 1px solid var(--matcha-deep);
  border-radius: 999px;
  box-shadow: 0 6px 0 rgba(53, 83, 21, .12);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease;
}

.search-submit:hover,
.button:hover,
.wp-block-button__link:hover {
  color: var(--ink);
  box-shadow: 0 3px 0 rgba(53, 83, 21, .12);
  transform: translateY(2px);
}

.button-outline {
  background: transparent;
  box-shadow: none;
}

.search-close {
  position: absolute;
  top: 12px;
  right: 12px;
}

.site-main {
  overflow: clip;
}

.home .site-main {
  padding-bottom: 72px;
}

section[id] {
  scroll-margin-top: 96px;
}

.roadmap-card[id],
.guide-tile[id],
.interactive-card[id] {
  scroll-margin-top: 120px;
}

.home-hero {
  position: relative;
  min-height: 620px;
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 9.09% 96px;
}

.hero-inner {
  position: relative;
  display: grid;
  min-height: 620px;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.matcha-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 180px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, #d6e78f 0 3%, #89ad32 4% 39%, #65891f 40% 47%, #ede8da 48% 58%, transparent 59%),
    linear-gradient(135deg, #e9e7df, #f7f6f2);
}

.matcha-placeholder::before {
  position: absolute;
  top: 28%;
  left: 35%;
  width: 30%;
  height: 30%;
  content: "";
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  box-shadow: inset 0 0 22px rgba(255,255,255,.14);
}

.matcha-placeholder::after {
  position: absolute;
  right: 12%;
  bottom: 13%;
  content: "抹茶";
  color: rgba(23,26,21,.44);
  font-family: var(--serif);
  font-size: .82rem;
  letter-spacing: .1em;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 82px 0;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--matcha-deep);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--matcha-bright);
  border: 1px solid var(--matcha-deep);
  border-radius: 50%;
}

.hero-title {
  max-width: 760px;
  margin: 0 auto 20px;
  font-size: clamp(3.1rem, 6.8vw, 6.8rem);
  font-weight: 500;
  letter-spacing: -.07em;
  line-height: .89;
}

.hero-title em {
  display: block;
  color: var(--matcha-deep);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.055em;
}

.hero-intro {
  max-width: 570px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1rem;
}

.section {
  padding: clamp(76px, 10vw, 132px) 0;
}

.section-soft {
  background: rgba(238, 237, 231, .7);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.section-heading h2,
.archive-title {
  max-width: 700px;
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  font-weight: 550;
  letter-spacing: -.06em;
  line-height: .96;
}

.section-heading h2 em,
.archive-title em {
  font-family: var(--serif);
  font-weight: 400;
}

.section-note {
  max-width: 360px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: .86rem;
}

.fresh-grid {
  display: grid;
  grid-template-columns: .85fr 1.35fr;
  gap: 24px;
}

.fresh-stack {
  display: grid;
  gap: 16px;
}

.story-card {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story-card a {
  text-decoration: none;
}

.story-card .story-media {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
}

.story-card .story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.story-card:hover .story-media img {
  transform: scale(1.035);
}

.story-card-featured .story-media {
  height: 350px;
  margin: 12px;
  border-radius: calc(var(--radius) - 8px);
}

.story-card-featured .story-body {
  padding: 10px 26px 28px;
}

.story-card-compact {
  display: grid;
  grid-template-columns: 128px 1fr;
  min-height: 155px;
  padding: 10px;
  border-color: rgba(53,83,21,.55);
  box-shadow: 0 5px 0 rgba(102,142,36,.22), var(--shadow);
}

.story-card-compact .story-media {
  min-height: 132px;
  border-radius: calc(var(--radius-small) - 2px);
}

.story-card-compact .story-body {
  padding: 10px 14px 8px 18px;
}

.story-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 8px;
  color: var(--matcha-deep);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.story-kicker::before {
  width: 6px;
  height: 6px;
  content: "";
  background: var(--matcha-bright);
  border-radius: 50%;
}

.story-title {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.story-card-featured .story-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.story-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .82rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.story-card-compact .story-excerpt {
  -webkit-line-clamp: 2;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: .69rem;
  letter-spacing: .02em;
}

.meta-row span + span::before {
  margin-right: 8px;
  content: "·";
  color: var(--matcha);
}

.cafe-grid,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cafe-grid .story-card .story-media,
.archive-grid .story-card .story-media {
  height: 245px;
  margin: 10px;
  border-radius: calc(var(--radius) - 9px);
}

.cafe-grid .story-body,
.archive-grid .story-body {
  padding: 10px 22px 26px;
}

.guide-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--matcha-deep);
}

.guide-band::before {
  position: absolute;
  top: -240px;
  right: -140px;
  width: 580px;
  height: 580px;
  content: "";
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  box-shadow: inset 0 0 0 70px rgba(255,255,255,.035), inset 0 0 0 140px rgba(255,255,255,.025);
}

.guide-band .eyebrow {
  color: var(--matcha-wash);
}

.guide-band .section-heading {
  position: relative;
}

.guide-band .section-note {
  color: rgba(255,255,255,.7);
}

.guide-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  overflow: hidden;
}

.guide-tile {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  min-height: 330px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  text-decoration: none;
  transition: background .25s ease;
}

.guide-tile:hover {
  color: var(--white);
  background: rgba(183,216,75,.13);
}

.guide-label {
  color: var(--matcha-bright);
  font-family: var(--serif);
  font-size: 1rem;
}

.guide-media {
  height: clamp(220px, 22vw, 330px);
  overflow: hidden;
  background: rgba(255,255,255,.08);
}

.guide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.guide-tile:hover .guide-media img {
  transform: scale(1.025);
}

.guide-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 34px;
}

.guide-tile h3 {
  margin: 104px 0 10px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .95;
}

.guide-tile h3 a {
  color: inherit;
  text-decoration: none;
}

.guide-tile p {
  max-width: 270px;
  margin: 0;
  color: rgba(255,255,255,.66);
  font-size: .8rem;
}

.guide-tile .section-preview-button {
  align-self: flex-start;
  margin-top: auto;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}

.guide-tile .section-preview-button:hover {
  color: var(--ink);
  background: var(--matcha-bright);
  border-color: var(--matcha-bright);
}

.home-manifesto {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.cover-story {
  display: grid;
  overflow: hidden;
  grid-template-columns: 1.28fr .72fr;
  min-height: 510px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: clamp(24px, 3vw, 42px);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.cover-media {
  display: block;
  min-height: 510px;
  overflow: hidden;
  background: var(--paper-deep);
}

.cover-media img,
.cover-media .matcha-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 68px);
}

.cover-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 560;
  letter-spacing: -.06em;
  line-height: .98;
}

.cover-copy h3 a,
.roadmap-copy h3 a,
.interactive-card h3 a {
  text-decoration: none;
}

.cover-copy > p:not(.story-kicker) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.cover-copy .section-preview-button {
  align-self: flex-start;
  margin-top: 24px;
}

.is-planned-story {
  background-image: linear-gradient(135deg, transparent 0 92%, rgba(183,216,75,.25) 92%);
}

.editorial-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.roadmap-card {
  overflow: hidden;
  cursor: pointer;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.roadmap-media {
  position: relative;
  display: block;
  height: 330px;
  margin: 10px;
  overflow: hidden;
  background: var(--paper-deep);
  border-radius: calc(var(--radius) - 8px);
}

.roadmap-media img,
.roadmap-media .matcha-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.roadmap-card:hover .roadmap-media img {
  transform: scale(1.035);
}

.roadmap-copy {
  padding: 14px 28px 30px;
}

.roadmap-copy h3 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  font-weight: 580;
  letter-spacing: -.055em;
  line-height: 1.02;
}

.roadmap-copy > p:not(.story-kicker) {
  color: var(--muted);
  font-size: .84rem;
}

.roadmap-copy .section-preview-button {
  margin-top: 20px;
}

.review-section {
  position: relative;
}

.community-board-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 370px);
  gap: 24px;
  align-items: start;
}

.community-board-main,
.community-submit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 44px rgba(30,40,20,.08);
}

.community-board-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}

.community-board-toolbar strong,
.community-board-toolbar span {
  display: block;
}

.community-board-toolbar strong {
  font-size: .88rem;
}

.community-board-toolbar span {
  margin-top: 2px;
  color: var(--muted);
  font-size: .67rem;
}

.community-board-toolbar .button {
  flex: 0 0 auto;
  padding: 8px 14px;
  font-size: .62rem;
}

.community-review-feed {
  overflow: hidden;
}

.community-review-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 22px 20px;
  border-bottom: 1px solid var(--line);
  transition: background .18s ease;
}

.community-review-row:hover {
  background: rgba(229,237,201,.26);
}

.community-review-avatar img {
  display: block;
  border: 1px solid rgba(53,83,21,.2);
  border-radius: 50%;
}

.community-review-copy {
  min-width: 0;
}

.community-review-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: .64rem;
  line-height: 1.45;
}

.community-flair,
.community-review-tags span {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  color: var(--matcha-deep);
  background: var(--matcha-wash);
  border: 1px solid rgba(53,83,21,.18);
  border-radius: 999px;
  font-size: .58rem;
  font-weight: 750;
}

.community-review-row h3 {
  margin: 9px 0 6px;
  font-size: clamp(1.16rem, 2vw, 1.42rem);
  letter-spacing: -.035em;
  line-height: 1.18;
}

.community-review-row h3 a {
  text-decoration: none;
}

.community-review-row h3 a:hover {
  color: var(--matcha-deep);
}

.community-review-excerpt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: .79rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.community-review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.community-review-tags span {
  color: var(--muted);
  background: var(--paper);
  border-color: var(--line);
  font-weight: 650;
}

.community-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}

.community-review-actions a,
.community-board-more {
  color: var(--muted);
  font-size: .67rem;
  font-weight: 750;
  text-decoration: none;
}

.community-review-actions a:hover,
.community-board-more:hover {
  color: var(--matcha-deep);
}

.community-review-media {
  display: block;
  width: 160px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper-deep);
}

.community-review-media img,
.community-review-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-review-video video {
  background: #111;
}

.community-board-more {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  color: var(--ink);
}

.community-empty-state {
  padding: 58px 30px;
  text-align: center;
}

.community-empty-state h2,
.community-empty-state h3 {
  margin: 0;
  font-size: 1.65rem;
  letter-spacing: -.04em;
}

.community-empty-state > p:not(.story-kicker) {
  max-width: 460px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: .82rem;
}

.community-submit-card {
  position: sticky;
  top: 104px;
  padding: 26px;
}

.community-submit-card h3 {
  margin: 0;
  font-size: 1.7rem;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.community-submit-guidelines,
.community-submit-card > p:not(.story-kicker) {
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.55;
}

.community-posting-as {
  padding: 9px 11px;
  background: var(--matcha-wash);
  border-radius: 10px;
  font-weight: 650;
}

.community-guest-note {
  padding: 10px 12px;
  background: var(--matcha-wash);
  border-radius: 10px;
  font-weight: 650;
}

.community-review-form {
  margin-top: 20px;
}

.community-review-form p {
  margin: 0 0 14px;
}

.community-review-form label {
  display: block;
  margin-bottom: 5px;
  font-size: .68rem;
  font-weight: 750;
}

.community-review-form input,
.community-review-form textarea {
  width: 100%;
  padding: 10px 11px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: .76rem;
}

.community-review-form textarea {
  min-height: 170px;
  resize: vertical;
  line-height: 1.55;
}

.community-review-form input[type="file"] {
  padding: 8px;
  background: var(--white);
}

.community-review-form input[type="file"]::file-selector-button {
  margin-right: 9px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--matcha-wash);
  border: 1px solid rgba(53,83,21,.25);
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.community-form-help {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .63rem;
  line-height: 1.45;
}

.community-review-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.community-review-form input:focus,
.community-review-form textarea:focus {
  outline: 2px solid var(--matcha-bright);
  outline-offset: 1px;
}

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

.community-login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.community-notice {
  padding: 13px 16px;
  margin-bottom: 18px;
  border: 1px solid;
  border-radius: 13px;
  font-size: .77rem;
  font-weight: 650;
}

.community-notice-success {
  color: var(--matcha-deep);
  background: var(--matcha-wash);
  border-color: rgba(53,83,21,.28);
}

.community-notice-error {
  color: #762a1d;
  background: #fff0ec;
  border-color: #d9a195;
}

.community-page-hero {
  padding: 110px 0 80px;
  text-align: center;
  background: var(--paper);
  background-image: radial-gradient(rgba(53,83,21,.08) .8px, transparent .8px);
  background-size: 13px 13px;
  border-bottom: 1px solid var(--line);
}

.community-page-title {
  max-width: 920px;
  margin: 18px auto 0;
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  letter-spacing: -.075em;
  line-height: .92;
}

.community-page-intro {
  max-width: 700px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.community-page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.community-page-board {
  background: var(--paper-deep);
}

.community-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
  padding: 18px;
  margin: 0;
  list-style: none;
}

.community-pagination a,
.community-pagination span {
  display: grid;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .68rem;
  text-decoration: none;
}

.community-pagination .current {
  background: var(--matcha-bright);
  border-color: var(--matcha-deep);
}

.guide-grid-two {
  grid-template-columns: repeat(2, 1fr);
}

.guide-grid-two .guide-tile {
  min-height: 410px;
}

.guide-grid-two .guide-tile h3 {
  margin-top: 86px;
}

.guide-grid-two .guide-tile.has-guide-media h3 {
  margin-top: 42px;
}

.interactive-section {
  background: var(--paper);
}

.interactive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.interactive-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.interactive-grid-single .interactive-card {
  min-height: 500px;
}

.interactive-card {
  position: relative;
  cursor: pointer;
  min-height: 430px;
  padding: clamp(30px, 5vw, 58px);
  overflow: hidden;
  background: var(--matcha-wash);
  border: 1px solid rgba(53,83,21,.25);
  border-radius: 50px 16px 50px 16px;
}

.interactive-card::after {
  position: absolute;
  right: -85px;
  bottom: -85px;
  width: 220px;
  height: 220px;
  content: "";
  border: 1px solid rgba(53,83,21,.2);
  border-radius: 50%;
  box-shadow: inset 0 0 0 38px rgba(255,255,255,.18), inset 0 0 0 76px rgba(53,83,21,.04);
}

.interactive-card.has-interactive-media {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  padding: 0;
}

.interactive-card.has-interactive-media::after {
  display: none;
}

.has-interactive-media .interactive-card-copy {
  padding: clamp(34px, 5vw, 64px);
}

.interactive-card-media {
  min-height: 500px;
  overflow: hidden;
  background: var(--paper-deep);
}

.interactive-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.interactive-card:hover .interactive-card-media img {
  transform: scale(1.025);
}

.interactive-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 46px;
  place-items: center;
  background: var(--matcha-bright);
  border: 1px solid var(--matcha-deep);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
}

.interactive-card h3 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 560;
  letter-spacing: -.06em;
  line-height: .97;
}

.interactive-card-copy > p:not(.story-kicker) {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: .86rem;
}

.team-heading {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 46px;
}

.team-heading h2 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  font-weight: 550;
  letter-spacing: -.06em;
  line-height: .95;
}

.team-heading h2 em {
  color: var(--matcha-deep);
  font-family: var(--serif);
  font-weight: 400;
}

.team-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: .87rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.team-card {
  padding: 12px 12px 25px;
  text-align: center;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.team-photo {
  display: grid;
  height: 280px;
  margin-bottom: 20px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.25) 0 22%, transparent 23%),
    var(--matcha-wash);
  border-radius: calc(var(--radius) - 8px);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-initial {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  color: var(--matcha-deep);
  background: var(--matcha-bright);
  border: 1px solid var(--matcha-deep);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 3.6rem;
  font-style: italic;
}

.team-card h3 {
  margin: 0;
  font-size: 1.28rem;
  letter-spacing: -.035em;
}

.team-card p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: .75rem;
}

.floating-nav {
  position: fixed;
  z-index: 60;
  bottom: 18px;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 28px);
  padding: 6px;
  overflow-x: auto;
  background: rgba(248,247,243,.9);
  border: 1px solid rgba(23,26,21,.18);
  border-radius: 999px;
  box-shadow: 0 14px 44px rgba(30,40,20,.17);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
  scrollbar-width: none;
}

.floating-nav::-webkit-scrollbar {
  display: none;
}

.floating-menu {
  display: flex;
  width: max-content;
  padding: 0;
  margin: 0;
  list-style: none;
}

.floating-menu > li {
  flex: 0 0 auto;
}

.floating-nav a {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  padding: 8px 12px;
  color: var(--muted);
  border-radius: 999px;
  font-size: .67rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}

.floating-nav a:hover,
.floating-nav a.is-active,
.floating-nav:not(.has-js-active) .current-menu-item > a,
.floating-nav:not(.has-js-active) .current_page_item > a,
.floating-nav:not(.has-js-active) a[aria-current="page"] {
  color: var(--ink);
  background: var(--matcha-bright);
}

.custom-page-section:nth-of-type(even) {
  background: rgba(238, 237, 231, .7);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.custom-page-card {
  display: grid;
  min-height: 470px;
  overflow: hidden;
  grid-template-columns: 1.12fr .88fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: clamp(24px, 3vw, 42px);
  box-shadow: var(--shadow);
}

.custom-page-section-image-right .custom-page-media {
  grid-column: 2;
  grid-row: 1;
}

.custom-page-section-image-right .custom-page-copy {
  grid-column: 1;
  grid-row: 1;
}

.custom-page-media {
  display: block;
  min-height: 470px;
  overflow: hidden;
  background: var(--paper-deep);
}

.custom-page-media img,
.custom-page-media .matcha-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.custom-page-card:hover .custom-page-media img {
  transform: scale(1.025);
}

.custom-page-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(34px, 6vw, 76px);
}

.custom-page-copy h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 5rem);
  font-weight: 550;
  letter-spacing: -.065em;
  line-height: .96;
}

.custom-page-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 20px 0 26px;
  color: var(--muted);
  font-size: .9rem;
}

.custom-page-section-text-only .custom-page-card {
  display: block;
  min-height: 0;
  text-align: center;
  background:
    radial-gradient(circle at 90% 12%, var(--matcha-wash) 0 80px, transparent 81px),
    var(--white);
}

.custom-page-section-text-only .custom-page-copy {
  align-items: center;
  padding: clamp(54px, 9vw, 110px);
}

.custom-page-section-text-only .custom-page-copy > p:not(.eyebrow) {
  text-align: center;
}

.home-manifesto h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
  letter-spacing: -.05em;
  line-height: 1.05;
}

.manifesto-quote {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.8vw, 3.7rem);
  font-style: italic;
  line-height: 1.06;
  text-align: center;
}

.manifesto-copy {
  max-width: 650px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}

.archive-header {
  padding: 96px 0 54px;
  border-bottom: 1px solid var(--line);
}

.archive-description {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
}

.archive-content {
  padding: 64px 0 110px;
}

.archive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pagination,
.posts-navigation,
.post-navigation {
  margin-top: 54px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.page-numbers {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
  color: var(--ink);
  background: var(--matcha-bright);
  border-color: var(--matcha-deep);
}

.article-header {
  padding: 92px 0 44px;
  text-align: center;
}

.article-header .eyebrow {
  justify-content: center;
}

.article-title {
  max-width: 960px;
  margin: 0 auto;
  font-size: clamp(2.7rem, 6.7vw, 6.6rem);
  font-weight: 520;
  letter-spacing: -.07em;
  line-height: .94;
}

.article-deck {
  max-width: 700px;
  margin: 24px auto 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-style: italic;
  line-height: 1.4;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin-top: 28px;
  color: var(--muted);
  font-size: .75rem;
}

.article-hero-image {
  width: min(calc(100% - 40px), 1280px);
  max-height: 760px;
  margin: 0 auto 68px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(20px, 3vw, 42px);
  box-shadow: var(--shadow);
}

.article-hero-image img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
}

.community-review-single-media {
  width: min(calc(100% - 40px), 960px);
  max-height: 760px;
  margin: 0 auto 68px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(20px, 3vw, 42px);
  background: #111;
  box-shadow: var(--shadow);
}

.community-review-single-media video {
  display: block;
  width: 100%;
  max-height: 760px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--reading)) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 100px;
}

.review-summary {
  position: sticky;
  top: 118px;
  grid-column: 1;
  align-self: start;
  max-width: 260px;
  padding: 24px;
  background: var(--matcha-wash);
  border: 1px solid rgba(53,83,21,.24);
  border-radius: var(--radius-small);
}

.review-summary-score {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding-bottom: 18px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(53,83,21,.2);
}

.review-summary-score strong {
  color: var(--matcha-deep);
  font-family: var(--serif);
  font-size: 3.2rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.review-summary-score span {
  color: var(--muted);
  font-size: .72rem;
}

.review-summary dl {
  margin: 0;
}

.review-summary dl div + div {
  margin-top: 13px;
}

.review-summary dt {
  color: var(--muted);
  font-size: .59rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.review-summary dd {
  margin: 1px 0 0;
  font-size: .79rem;
  font-weight: 650;
  line-height: 1.35;
}

.article-content {
  grid-column: 2;
  min-width: 0;
  font-family: var(--serif);
  font-size: 1.16rem;
  line-height: 1.78;
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote {
  margin-top: 0;
  margin-bottom: 1.55em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 1.6em 0 .55em;
  font-family: var(--sans);
  letter-spacing: -.045em;
  line-height: 1.1;
}

.article-content h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.article-content h3 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.article-content a {
  color: var(--matcha-deep);
  text-decoration-color: var(--matcha-bright);
}

.article-content blockquote {
  padding: 4px 0 4px 28px;
  border-left: 5px solid var(--matcha-bright);
  color: var(--matcha-deep);
  font-size: 1.45em;
  font-style: italic;
  line-height: 1.35;
}

.article-content figcaption,
.wp-caption-text {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: .72rem;
  text-align: center;
}

.article-content .alignwide {
  width: min(1000px, calc(100vw - 40px));
  max-width: none;
  margin-right: 50%;
  margin-left: 50%;
  transform: translateX(-50%);
}

.article-content .alignfull {
  width: 100vw;
  max-width: none;
  margin-right: 50%;
  margin-left: 50%;
  transform: translateX(-50%);
}

.article-footer {
  grid-column: 2;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.tag-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-links a {
  padding: 5px 12px;
  background: var(--matcha-wash);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .7rem;
  text-decoration: none;
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.post-navigation a {
  display: block;
  height: 100%;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  text-decoration: none;
}

.nav-subtitle {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nav-title {
  font-weight: 650;
  line-height: 1.3;
}

.page-header-simple {
  padding: 90px 0 44px;
}

.page-title {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  font-weight: 520;
  letter-spacing: -.065em;
  line-height: .95;
}

.comments-area {
  width: min(calc(100% - 40px), var(--reading));
  padding: 56px 0 100px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.comments-title,
.comment-reply-title {
  font-size: 1.7rem;
  letter-spacing: -.04em;
}

.comment-list {
  padding: 0;
  list-style: none;
}

.comment-list .children {
	padding-left: 28px;
	margin-left: 18px;
	border-left: 2px solid var(--line);
  list-style: none;
}

.comment-body {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comment-author img {
  border-radius: 50%;
}

.comment-metadata {
  color: var(--muted);
  font-size: .72rem;
}

.comment-content {
  font-size: .88rem;
  line-height: 1.65;
}

.reply a,
.comment-reply-link {
  display: inline-flex;
  padding: 5px 10px;
  color: var(--muted);
  background: var(--paper-deep);
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 750;
  text-decoration: none;
}

.reply a:hover,
.comment-reply-link:hover {
  color: var(--matcha-deep);
  background: var(--matcha-wash);
}

.community-discussion {
  width: min(calc(100% - 40px), 980px);
  padding-top: 70px;
}

.community-discussion .comments-title {
  margin-bottom: 5px;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.discussion-intro {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: .78rem;
}

.community-discussion .comment-list {
  margin-bottom: 42px;
}

.community-discussion .comment-body {
  padding: 18px;
  margin: 10px 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.community-discussion .comment-author {
  font-size: .78rem;
  font-weight: 700;
}

.community-discussion .comment-metadata {
  margin: 4px 0 0 46px;
  font-size: .65rem;
}

.community-discussion .comment-content {
  padding: 7px 0 0 46px;
}

.community-discussion .reply {
  padding-left: 46px;
}

.community-discussion .comment-respond {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.community-discussion .comment-reply-title {
  margin-top: 0;
}

.comment-form label {
  display: block;
  margin-bottom: 5px;
  font-size: .75rem;
  font-weight: 700;
}

.comment-form input:not([type="checkbox"]),
.comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.comment-form .submit {
  padding: 11px 20px;
  color: var(--ink);
  background: var(--matcha-bright);
  border: 1px solid var(--matcha-deep);
  border-radius: 999px;
  font-weight: 700;
}

.empty-state {
  padding: 60px 24px;
  text-align: center;
  background: var(--white);
  border: 1px dashed rgba(53,83,21,.35);
  border-radius: var(--radius);
}

.empty-state h2 {
  margin-top: 0;
  font-size: 2rem;
  letter-spacing: -.04em;
}

.site-footer {
  position: relative;
  padding: 70px 0 110px;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr .6fr .6fr;
  gap: 50px;
  align-items: start;
  padding-bottom: 54px;
}

.footer-brand h2 {
  max-width: 510px;
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  font-weight: 520;
  letter-spacing: -.065em;
  line-height: .95;
}

.footer-brand h2 em {
  color: var(--matcha-deep);
  font-family: var(--serif);
  font-weight: 400;
}

.footer-brand p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
}

.footer-column h3 {
  margin: 0 0 14px;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-column ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-column li + li {
  margin-top: 7px;
}

.footer-column a {
  color: var(--muted);
  font-size: .83rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--matcha-deep);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: .68rem;
}

.footer-sun {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 7px;
  vertical-align: -3px;
  background: repeating-conic-gradient(var(--matcha) 0 7deg, transparent 7deg 15deg);
  border-radius: 50%;
}

body.preview-open {
  overflow: hidden;
}

.section-preview[hidden] {
  display: none;
}

.section-preview {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
}

.section-preview-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  cursor: default;
  background: rgba(17, 25, 11, .7);
  border: 0;
  backdrop-filter: blur(10px);
}

.section-preview-dialog {
  position: relative;
  display: flex;
  width: min(920px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  overflow: hidden;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 32px;
  box-shadow: 0 35px 110px rgba(0,0,0,.36);
}

.section-preview-dialog:focus {
  outline: 2px solid var(--matcha-bright);
  outline-offset: 4px;
}

.section-preview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 32px 24px;
  background: var(--matcha-wash);
  border-bottom: 1px solid var(--line);
}

.section-preview-header .eyebrow {
  margin-bottom: 8px;
}

.section-preview-header h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  letter-spacing: -.065em;
  line-height: .95;
}

.section-preview-close {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  cursor: pointer;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}

.section-preview-close:hover {
  background: var(--matcha-bright);
}

.section-preview-list {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 12px 32px;
}

.section-preview-post {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.section-preview-post:hover {
  color: var(--matcha-deep);
}

.section-preview-thumb {
  display: block;
  width: 92px;
  height: 72px;
  overflow: hidden;
  background: var(--paper-deep);
  border-radius: 13px;
}

.section-preview-thumb img,
.section-preview-thumb .matcha-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-preview-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.section-preview-copy .story-kicker {
  margin: 0;
}

.section-preview-copy strong {
  font-size: 1.08rem;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.section-preview-copy > span:last-child {
  overflow: hidden;
  color: var(--muted);
  font-size: .74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-preview-arrow {
  color: var(--matcha-deep);
  font-size: 1.4rem;
}

.section-preview-empty {
  padding: 50px 0;
  text-align: center;
}

.section-preview-empty h3 {
  margin: 0;
  font-size: 1.5rem;
}

.section-preview-empty p {
  max-width: 520px;
  margin: 8px auto 0;
  color: var(--muted);
}

.section-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 32px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.section-preview-footer span {
  color: var(--muted);
  font-size: .7rem;
}

@media (max-width: 680px) {
  .section-preview {
    padding: 10px;
  }

  .section-preview-dialog {
    max-height: calc(100vh - 20px);
    border-radius: 22px;
  }

  .section-preview-header,
  .section-preview-footer {
    padding: 20px;
  }

  .section-preview-list {
    padding-inline: 20px;
  }

  .section-preview-post {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
  }

  .section-preview-thumb {
    width: 68px;
    height: 58px;
  }

  .section-preview-arrow,
  .section-preview-copy > span:last-child,
  .section-preview-footer span {
    display: none;
  }

  .section-preview-footer {
    justify-content: stretch;
  }

  .section-preview-footer .button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 110px 70px;
  }

  .fresh-grid {
    grid-template-columns: 1fr;
  }

  .cafe-grid,
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-grid-two {
    grid-template-columns: 1fr;
  }

  .guide-tile {
    min-height: 240px;
  }

  .guide-tile h3 {
    margin-top: 55px;
  }

  .interactive-card.has-interactive-media {
    grid-template-columns: 1fr;
  }

  .interactive-card-media {
    order: -1;
    min-height: 360px;
    max-height: 440px;
  }

  .guide-grid-two .guide-tile.has-guide-media h3 {
    margin-top: 38px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .cover-story {
    grid-template-columns: 1fr;
  }

  .cover-media {
    min-height: 420px;
  }

  .community-board-layout {
    grid-template-columns: 1fr;
  }

  .community-submit-card {
    position: static;
  }

  .team-photo {
    height: 230px;
  }

  .review-summary {
    position: static;
    grid-column: 2;
    max-width: none;
    margin-bottom: 8px;
  }

  .custom-page-card {
    grid-template-columns: 1fr;
  }

  .custom-page-section-image-right .custom-page-media,
  .custom-page-section-image-right .custom-page-copy {
    grid-column: 1;
  }

  .custom-page-section-image-right .custom-page-media {
    grid-row: 1;
  }

  .custom-page-section-image-right .custom-page-copy {
    grid-row: 2;
  }

  .custom-page-media {
    min-height: 380px;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }

}

@media (max-width: 680px) {
  .site-shell {
    width: min(calc(100% - 28px), var(--content));
  }

  .header-inner {
    min-height: 68px;
  }

  .home-hero,
  .hero-inner {
    min-height: 610px;
  }

  .home-hero {
    background-size: 25% 96px;
  }

  .hero-copy {
    padding: 112px 0 96px;
  }

  .hero-title {
    font-size: clamp(3.25rem, 16vw, 5.2rem);
  }

  .hero-intro {
    max-width: 88%;
    font-size: .88rem;
  }

  .section-heading {
    display: block;
  }

  .section-note {
    margin-top: 16px;
  }

  .story-card-featured .story-media {
    height: 255px;
  }

  .story-card-compact {
    grid-template-columns: 105px 1fr;
  }

  .story-card-compact .story-media {
    min-height: 118px;
  }

  .story-card-compact .story-excerpt {
    display: none;
  }

  .cafe-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .cover-story {
    min-height: 0;
  }

  .cover-media {
    min-height: 280px;
  }

  .cover-copy {
    padding: 30px 24px 34px;
  }

  .editorial-duo,
  .interactive-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-media {
    height: 250px;
  }

  .community-board-toolbar {
    align-items: flex-start;
  }

  .community-review-row {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px 17px;
  }

  .community-review-avatar {
    display: none;
  }

  .community-review-media {
    width: min(100%, 380px);
    aspect-ratio: 16 / 9;
  }

  .community-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .community-page-hero {
    padding: 86px 0 60px;
  }

  .community-page-title {
    font-size: clamp(2.8rem, 15vw, 5rem);
  }

  .guide-grid-two .guide-tile {
    min-height: 350px;
  }

  .guide-media {
    height: 220px;
  }

  .guide-copy {
    padding: 30px 24px 34px;
  }

  .interactive-card {
    min-height: 0;
    padding: 32px 24px 38px;
    border-radius: 32px 12px 32px 12px;
  }

  .has-interactive-media .interactive-card-copy {
    padding: 32px 24px 38px;
  }

  .interactive-card-media {
    min-height: 240px;
    max-height: 300px;
  }

  .interactive-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 35px;
  }

  .team-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .team-photo {
    height: 310px;
  }

  .floating-nav {
    left: 14px;
    width: calc(100% - 28px);
    transform: none;
  }

  .floating-nav a {
    padding: 8px 11px;
  }

  .custom-page-card {
    min-height: 0;
  }

  .custom-page-media {
    min-height: 270px;
  }

  .custom-page-copy {
    padding: 34px 24px 38px;
  }

  .home-manifesto {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .manifesto-quote,
  .manifesto-copy {
    text-align: left;
  }

  .article-header {
    padding-top: 62px;
  }

  .article-title {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .article-hero-image {
    width: calc(100% - 28px);
    margin-bottom: 48px;
  }

  .article-layout {
    display: block;
    width: min(calc(100% - 28px), var(--reading));
    margin-inline: auto;
  }

  .article-content {
    font-size: 1.08rem;
  }

  .review-summary {
    margin-bottom: 34px;
  }

  .community-discussion {
    width: calc(100% - 28px);
  }

  .comment-list .children {
    padding-left: 12px;
    margin-left: 5px;
  }

  .community-discussion .comment-content,
  .community-discussion .reply {
    padding-left: 0;
  }

  .community-discussion .comment-metadata {
    margin-left: 0;
  }

  .post-navigation .nav-links {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-top: 5px;
  }

  .search-panel-inner {
    padding: 42px 20px 24px;
  }

  .search-panel .search-form {
    display: block;
  }

  .search-panel .search-submit {
    width: 100%;
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .post-navigation,
  .comments-area {
    display: none;
  }

  .floating-nav {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  .article-layout {
    display: block;
  }
}
