/* ============================================================
   Curated Edits — site stylesheet
   Palette: warm white, blush, navy ink, fuchsia, kelly green
   ============================================================ */

:root {
  --paper: #fdfcfa;
  --paper-deep: #f4f6f1;
  --ink: #3a4256;
  --ink-soft: #7c8798;
  --green-text: #7690b4;
  --jade: #2e6b52;
  --jade-deep: #1f4a39;
  --fuchsia: #7690b4;
  --fuchsia-deep: #5f7aa8;
  --blush: #e7ecf4;
  --kelly-green: #7690b4;
  --green: #7690b4;
  --line: rgba(58, 66, 86, 0.14);
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(31, 44, 80, 0.06), 0 12px 32px -12px rgba(31, 44, 80, 0.16);
  --shadow-lift: 0 2px 4px rgba(31, 44, 80, 0.08), 0 24px 48px -16px rgba(31, 44, 80, 0.26);
  --radius: 10px;
  --font-display: "Jost", "Avenir Next", "Century Gothic", sans-serif;
  --font-script: "Jost", sans-serif;
  --font-body: "Jost", "Avenir Next", "Century Gothic", sans-serif;
  --font-ui: "Inter", -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--fuchsia); text-decoration: none; }
a:hover { color: var(--fuchsia-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.container { width: min(1140px, 92vw); margin-inline: auto; }
.narrow { width: min(760px, 92vw); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.45rem; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: 0.55rem;
}
.brand:hover { color: var(--ink); }
.brand .tile-mark { width: 34px; height: 34px; flex: none; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a {
  color: var(--ink-soft); font-size: 0.95rem; font-weight: 500;
  padding: 0.3rem 0; border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--green); }
.site-nav .nav-feature {
  color: var(--fuchsia); font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.35rem;
}

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 10px; padding: 0.45rem 0.6rem; cursor: pointer;
  color: var(--ink); font-size: 1.1rem; line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 8vw, 6.5rem);
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(194, 24, 107, 0.08), transparent 60%),
    radial-gradient(900px 420px at 0% 110%, rgba(0, 154, 68, 0.07), transparent 60%),
    var(--paper);
}
.hero .kicker {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--fuchsia); margin-bottom: 1.1rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  max-width: 15ch;
}
.hero h1 em { font-style: italic; color: var(--fuchsia); }
.hero .lede {
  margin-top: 1.4rem; max-width: 54ch; font-size: 1.15rem; color: var(--ink-soft);
}
.hero-actions { margin-top: 2.2rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero .container { position: relative; z-index: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M32 0 L64 32 L32 64 L0 32 Z M32 14 L50 32 L32 50 L14 32 Z' fill='none' stroke='%23c2186b' stroke-width='1'/%3E%3C/svg%3E") repeat;
  opacity: 0.05;
}
.mahjong-hero::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M32 0 L64 32 L32 64 L0 32 Z M32 14 L50 32 L32 50 L14 32 Z' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.07;
}

.tile-strip {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%) rotate(8deg);
  display: grid; gap: 14px; opacity: 0.9;
}
@media (max-width: 900px) { .tile-strip { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; font-size: 0.98rem;
  padding: 0.78rem 1.5rem; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #000; color: var(--paper); box-shadow: var(--shadow); }
.btn-accent { background: var(--fuchsia); color: #fff; }
.btn-accent:hover { background: var(--fuchsia-deep); color: #fff; box-shadow: var(--shadow); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--paper-deep); }
.section-head { max-width: 62ch; margin-bottom: 2.6rem; }
.section-head .kicker {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--fuchsia); margin-bottom: 0.7rem;
}
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section-head p { margin-top: 0.9rem; color: var(--ink-soft); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .card-grid, .card-grid.two { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
}
a.card { color: var(--ink); }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); color: var(--ink); }
.card .card-icon {
  width: 58px; height: 64px; border-radius: 14px;
  background: var(--blush);
  border: 1.5px solid var(--ink);
  box-shadow: inset 0 0 0 3.5px var(--card);
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
}
.card .card-icon svg { width: 36px; height: 36px; display: block; }
.card h3 { font-size: 1.32rem; margin-bottom: 0.55rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card .card-cta {
  margin-top: auto; padding-top: 1.1rem; font-weight: 600; font-size: 0.92rem; color: var(--fuchsia);
}

.card-feature {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, var(--fuchsia-deep), var(--fuchsia));
  color: #f4efe4; border: none;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center;
  padding: 2.4rem 2.6rem;
}
a.card-feature, a.card-feature:hover { color: #f4efe4; }
.card-feature h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; }
.card-feature p { color: rgba(244, 239, 228, 0.85); }
.card-feature .badge {
  display: inline-block; background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px; padding: 0.25rem 0.85rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.card-feature .card-cta { color: #ffd3e3; }
.card-feature .feature-art { justify-self: center; }
@media (max-width: 900px) {
  .card-feature { grid-template-columns: 1fr; }
  .card-feature .feature-art { display: none; }
}

/* ---------- Recipe / product entries ---------- */
.entry {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: 2rem;
}
.entry h3 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.entry .entry-note { color: var(--fuchsia); font-style: italic; margin-bottom: 1.1rem; }
.entry .cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem; margin-top: 1.2rem; }
@media (max-width: 760px) { .entry .cols { grid-template-columns: 1fr; } }
.entry h4 {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--fuchsia);
  margin-bottom: 0.7rem;
}
.entry ul, .entry ol { padding-left: 1.2rem; color: var(--ink-soft); }
.entry li { margin-bottom: 0.45rem; }
.pillar-list {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 2.4rem;
}
@media (max-width: 760px) { .pillar-list { grid-template-columns: 1fr; } }
.pillar-list li {
  position: relative; padding-left: 1.7rem;
  color: var(--ink-soft); font-size: 0.98rem;
}
.pillar-list li::before {
  content: ""; position: absolute; left: 0; top: 0.4em;
  width: 0.6rem; height: 0.6rem; border-radius: 50%;
  border: 2px solid var(--fuchsia);
}
.pillar-list strong { color: var(--ink); font-weight: 600; }

/* ---------- Journal (blog-style entries) ---------- */
.journal { max-width: 780px; }
.journal-entry .entry-date {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--green); margin-bottom: 0.35rem;
}
.journal-entry p { color: var(--ink-soft); }
.journal-entry h4 { margin-top: 1.4rem; }
.journal-entry strong { color: var(--ink); font-weight: 600; }

.media-figure { margin: 1.5rem 0 0.5rem; }
.media-figure img {
  width: 100%; border-radius: 14px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.media-figure figcaption {
  font-size: 0.85rem; color: var(--ink-soft);
  font-style: italic; margin-top: 0.55rem;
}
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0 0.5rem; }
@media (max-width: 640px) { .media-grid { grid-template-columns: 1fr; } }
.video-embed {
  position: relative; aspect-ratio: 16 / 9;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: var(--ink);
  margin: 1.5rem 0 0.5rem;
}
.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Sign-off — Table Notes and the story section end the same way */
.entry-signoff {
  font-family: var(--font-display); font-weight: 300;
  font-size: 1.08rem; letter-spacing: 0.02em;
  color: var(--fuchsia); margin: 1.5rem 0 0;
}

/* Anchor targets stop clear of the sticky header (deep links, nav jumps) */
section[id], .journal-entry[id] { scroll-margin-top: 92px; }

/* Photo gallery — compact thumbnails that open in the lightbox */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.6rem; margin: 1.5rem 0 0.6rem;
}
.gallery-thumb {
  padding: 0; margin: 0; background: var(--card); cursor: pointer;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  aspect-ratio: 1; box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover, .gallery-thumb:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(31,44,80,0.10), 0 18px 40px -14px rgba(31,44,80,0.28);
  outline: none;
}
.gallery-note {
  font-size: 0.8rem; color: var(--ink-soft); font-style: italic; margin: 0.1rem 0 0.5rem;
}
@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 0.5rem; }
}

/* Lightbox overlay */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: none;
  align-items: center; justify-content: center; padding: 5vh 5vw;
  background: rgba(31, 44, 80, 0.82); backdrop-filter: blur(4px);
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: min(92vw, 1100px); max-height: 82vh; object-fit: contain;
  border-radius: 10px; background: #fff;
  box-shadow: 0 24px 70px -20px rgba(0,0,0,0.55);
}
.lightbox-caption {
  position: absolute; left: 0; right: 0; bottom: 3.2vh; text-align: center;
  color: #fff; font-family: var(--font-ui); font-style: italic;
  font-size: 0.95rem; letter-spacing: 0.01em; padding: 0 6vw;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
.lightbox-btn {
  position: absolute; display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.35); background: rgba(255,255,255,0.12);
  color: #fff; font-size: 1.6rem; line-height: 1; font-family: var(--font-ui);
  transition: background 0.15s ease;
}
.lightbox-btn:hover { background: rgba(255,255,255,0.26); }
.lightbox-close { top: 3vh; right: 4vw; font-size: 1.4rem; }
.lightbox-prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 3vw; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox-prev { left: 1.5vw; } .lightbox-next { right: 1.5vw; }
  .lightbox-btn { width: 40px; height: 40px; }
}

.quote {
  border-left: 3px solid var(--green); padding: 0.2rem 0 0.2rem 1.1rem;
  font-family: var(--font-display); font-style: italic; font-size: 1.12rem;
  color: var(--ink); margin-top: 1.4rem;
}

/* ---------- Product cards (affiliate / storefront ready) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .product-grid { grid-template-columns: 1fr; } }
.product {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.5rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.product .product-tag {
  align-self: flex-start; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fuchsia); background: rgba(194, 24, 107, 0.1);
  padding: 0.22rem 0.7rem; border-radius: 999px;
}
.product h3 { font-size: 1.12rem; }
.product p { color: var(--ink-soft); font-size: 0.93rem; flex: 1; }
.product .product-link { font-weight: 600; font-size: 0.9rem; }
.product .product-link.pending { color: var(--ink-soft); cursor: default; }

/* ---------- Mahjong page ---------- */
.mahjong-hero {
  background:
    radial-gradient(900px 460px at 100% 0%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(160deg, var(--fuchsia-deep) 0%, var(--fuchsia) 70%, #d8408f 100%);
  color: #f4efe4;
}
.mahjong-hero .hero-crest { width: 176px; height: auto; display: block; margin-bottom: 1.6rem; }
.mahjong-hero .kicker { color: #ffd3e3; }
.mahjong-hero h1 { color: #fff; }
.mahjong-hero h1 em { color: #ffd3e3; }
.mahjong-hero .lede { color: rgba(244, 239, 228, 0.88); }

.mahjong-hero { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.6rem, 5vw, 3.8rem); }

.stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; text-align: center;
}
.stat-strip .stat-num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.8rem, 4.6vw, 2.5rem); color: var(--fuchsia);
}
.stat-strip p { font-size: clamp(0.88rem, 2.1vw, 1.05rem); color: var(--ink-soft); }

.step-list {
  list-style: none; padding: 0; counter-reset: move;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 2.4rem;
}
@media (max-width: 760px) { .step-list { grid-template-columns: 1fr; } }
.step-list li {
  position: relative; padding-left: 2.7rem;
  color: var(--ink-soft); font-size: 0.98rem;
}
.step-list li::before {
  counter-increment: move; content: counter(move);
  position: absolute; left: 0; top: 0.05em;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--fuchsia); color: #fff;
  font-family: var(--font-display); font-size: 0.95rem;
  display: grid; place-items: center;
}
.step-list strong { color: var(--ink); font-weight: 600; }

.steps { counter-reset: step; display: grid; gap: 1.1rem; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.6rem 1.4rem 4.4rem; position: relative; box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 1.3rem; top: 1.25rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--fuchsia); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  display: grid; place-items: center;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.step p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Forms ---------- */
.form-panel {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 2.4rem);
}
.form-grid { display: grid; gap: 1.1rem; }
.form-grid.two-col { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-grid.two-col { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 0.35rem; }
input, textarea, select {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 0.72rem 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--fuchsia);
  box-shadow: 0 0 0 3px rgba(194, 24, 107, 0.15);
}
.newsletter-inline { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.newsletter-inline input { flex: 1; min-width: 220px; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Newsletter band ---------- */
.newsletter-band {
  background: var(--ink); color: var(--paper);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2rem, 5vw, 3.2rem);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center;
}
@media (max-width: 860px) { .newsletter-band { grid-template-columns: 1fr; } }
.newsletter-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; }
.newsletter-band p { color: rgba(250, 246, 239, 0.75); margin-top: 0.6rem; font-size: 0.98rem; }
.newsletter-band input { background: rgba(255, 255, 255, 0.08); border-color: rgba(255,255,255,0.25); color: #fff; }
.newsletter-band input::placeholder { color: rgba(255, 255, 255, 0.5); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); background: var(--paper-deep);
  padding: 3rem 0 2rem; margin-top: clamp(3rem, 6vw, 5rem);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 1.05rem; margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: var(--ink-soft); font-size: 0.95rem; }
.site-footer a:hover { color: var(--fuchsia); }
.footer-brand p { color: var(--ink-soft); font-size: 0.93rem; max-width: 40ch; margin-top: 0.6rem; }
.disclosure {
  margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  font-size: 0.82rem; color: var(--ink-soft); max-width: 90ch;
}
.footer-legal { margin-top: 1rem; font-size: 0.82rem; color: var(--ink-soft); }

/* ---------- Scroll reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .product { transition: none; }
}

/* ---------- Mobile nav ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 0.6rem 4vw 1rem; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.65rem 0; width: 100%; font-size: 1.05rem; }
}

/* ---------- Small-screen polish ---------- */
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .brand { font-size: 1.25rem; }
  .hero { padding: 3rem 0 2.8rem; }
  .hero .lede { font-size: 1.05rem; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .card, .product { padding: 1.4rem; }
  .card-feature { padding: 1.8rem 1.5rem; }
  .entry { padding: 1.4rem 1.2rem; }
  .step { padding: 1.15rem 1.1rem 1.15rem 3.5rem; }
  .step::before { left: 0.85rem; top: 1.1rem; width: 1.9rem; height: 1.9rem; font-size: 0.95rem; }
  .newsletter-band { padding: 1.7rem 1.4rem; }
  .newsletter-inline .btn { flex: 1 1 100%; justify-content: center; }
  .form-panel { padding: 1.4rem 1.2rem; }
  .footer-grid { gap: 1.4rem; }
}

/* ---------- Utility ---------- */
.eyebrow-note {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0, 154, 68, 0.12); border: 1px solid rgba(0, 154, 68, 0.35);
  color: #0d5c47; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; padding: 0.3rem 0.95rem; margin-bottom: 1.2rem;
}
.center { text-align: center; }
.center .section-head { margin-inline: auto; }
.mt-2 { margin-top: 2rem; }

/* ============================================================
   Stationery refinement — engraved country-club chinoiserie
   ============================================================ */

body { font-size: 1.125rem; line-height: 1.7; }

h1, h2, h3 { font-weight: 600; letter-spacing: 0.005em; }

.brand { font-weight: 700; font-size: 1.5rem; }

.site-nav a {
  font-family: var(--font-ui); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.site-nav .nav-feature { font-weight: 700; }
@media (max-width: 820px) { .site-nav a { font-size: 0.82rem; padding: 0.75rem 0; } }

.btn {
  font-family: var(--font-ui); text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600;
  border-radius: 8px; padding: 0.95rem 1.9rem;
}

.hero { text-align: center; }
.hero h1 { margin-inline: auto; }
.hero .lede { margin-inline: auto; }
.hero-actions { justify-content: center; }
.hero-crest { margin-inline: auto; }
.mahjong-hero .hero-crest { margin-bottom: 1.8rem; }

.hero .kicker, .section-head .kicker, .kicker {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.3em; font-size: 0.95rem;
}

.section-head { text-align: center; margin-inline: auto; }
.section-head .kicker::before, .section-head .kicker::after {
  content: ""; display: inline-block; vertical-align: middle;
  width: 42px; height: 1px; background: currentColor;
  opacity: 0.4; margin: 0 0.85rem;
}

.hero h1::after {
  content: ""; display: block; width: 232px; height: 30px;
  margin: 1.5rem auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 30'%3E%3Cg fill='none' stroke='%231f2c50' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M4 17 h84'/%3E%3Cpath d='M152 17 h84'/%3E%3Cpath d='M120 5 v4'/%3E%3Cpath d='M105 13 q15 -9 30 0'/%3E%3Cpath d='M105 13 l-4 -3'/%3E%3Cpath d='M135 13 l4 -3'/%3E%3Cpath d='M112 13 v5'/%3E%3Cpath d='M128 13 v5'/%3E%3Cpath d='M101 22 q19 -8 38 0'/%3E%3Cpath d='M101 22 l-4 -3'/%3E%3Cpath d='M139 22 l4 -3'/%3E%3Cpath d='M110 22 v5'/%3E%3Cpath d='M130 22 v5'/%3E%3Cpath d='M107 27 h26'/%3E%3C/g%3E%3Cpath d='M120 1 l2.6 3.2 -2.6 3.2 -2.6 -3.2 z' fill='%23c2186b'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mahjong-hero h1::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 30'%3E%3Cg fill='none' stroke='%23f7d9e6' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M4 17 h84'/%3E%3Cpath d='M152 17 h84'/%3E%3Cpath d='M120 5 v4'/%3E%3Cpath d='M105 13 q15 -9 30 0'/%3E%3Cpath d='M105 13 l-4 -3'/%3E%3Cpath d='M135 13 l4 -3'/%3E%3Cpath d='M112 13 v5'/%3E%3Cpath d='M128 13 v5'/%3E%3Cpath d='M101 22 q19 -8 38 0'/%3E%3Cpath d='M101 22 l-4 -3'/%3E%3Cpath d='M139 22 l4 -3'/%3E%3Cpath d='M110 22 v5'/%3E%3Cpath d='M130 22 v5'/%3E%3Cpath d='M107 27 h26'/%3E%3C/g%3E%3Cpath d='M120 1 l2.6 3.2 -2.6 3.2 -2.6 -3.2 z' fill='%23ffffff'/%3E%3C/svg%3E");
}

.hero h1 em, .card-feature h3 em, h2 em {
  font-family: var(--font-script); font-style: normal;
  font-weight: 400; font-size: 1.16em; letter-spacing: 0;
}

.card, .entry, .product, .form-panel {
  border-radius: 8px;
  border: 1px solid rgba(31, 44, 80, 0.4);
  outline: 1px solid rgba(31, 44, 80, 0.16);
  outline-offset: -6px;
  box-shadow: none;
}
a.card:hover, .product:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.step { border-radius: 8px; box-shadow: none; }

.card-feature {
  border: none; border-radius: 10px;
  outline: 1px solid rgba(255, 255, 255, 0.45);
  outline-offset: -9px;
}
.newsletter-band {
  border-radius: 10px;
  outline: 1px solid rgba(255, 255, 255, 0.3);
  outline-offset: -9px;
}

.badge, .product-tag, .pill, .eyebrow-note { font-family: var(--font-ui); border-radius: 4px; }
.card .card-cta, .product-link {
  font-family: var(--font-ui); font-size: 0.74rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}

label, input, textarea, select, .newsletter-inline input {
  font-family: var(--font-ui); font-size: 0.95rem;
}
input, textarea, select { border-radius: 8px; }

.quote { font-size: 1.3rem; }
.entry h4 { letter-spacing: 0.24em; }
.journal-entry .entry-date, .event-when { font-family: var(--font-ui); }

.site-footer h4 {
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.88rem;
}
.site-footer a, .disclosure, .footer-legal { font-family: var(--font-ui); }
.site-footer a { font-size: 0.88rem; }
.footer-brand p { font-size: 1rem; }

/* ============================================================
   Club palette — white leads, navy inks, green accents,
   pink rationed to the jewels (script, logo, feature moments)
   ============================================================ */

a { color: var(--green-text); }
a:hover { color: var(--ink); }

.hero {
  background:
    radial-gradient(1000px 460px at 50% -20%, rgba(31, 44, 80, 0.05), transparent 60%),
    var(--paper);
}
.hero::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M32 0 L64 32 L32 64 L0 32 Z M32 14 L50 32 L32 50 L14 32 Z' fill='none' stroke='%231f2c50' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.04;
}
.mahjong-hero {
  background:
    radial-gradient(900px 460px at 100% 0%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(160deg, var(--fuchsia-deep) 0%, var(--fuchsia) 70%, #d8408f 100%);
}
.mahjong-hero::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M32 0 L64 32 L32 64 L0 32 Z M32 14 L50 32 L32 50 L14 32 Z' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.07;
}

.kicker, .hero .kicker, .section-head .kicker { color: var(--green-text); }
.mahjong-hero .kicker { color: #ffd3e3; }

.site-nav .nav-feature { color: var(--green-text); }
.card .card-cta, .product-link { color: var(--green-text); }
.entry h4 { color: var(--green-text); }
.entry .entry-note { color: var(--green-text); }
.journal-entry .entry-date { color: var(--green-text); }
.site-footer a:hover { color: var(--green-text); }

.step-list li::before { background: var(--ink); }
.pillar-list li::before { border-color: var(--green-text); }
.stat-strip .stat-num { color: var(--ink); }

.product .product-tag { color: var(--green-text); background: rgba(15, 123, 83, 0.08); }
.card .card-icon { background: #ffffff; }

input:focus, textarea:focus, select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(31, 44, 80, 0.12);
}

.hero h1 em, .card-feature h3 em, h2 em { color: var(--fuchsia); }

/* Script accents must stay legible on the fuchsia hero */
.mahjong-hero h1 em { color: #ffd3e3; }

/* ============================================================
   Full shift (2026-07-15) — Southern Perch heir:
   airy Jost lettering, Wedgwood star, slate ink, white linen
   ============================================================ */
body { font-family: var(--font-body); font-size: 1.05rem; line-height: 1.75; letter-spacing: 0.008em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 300; letter-spacing: 0.045em; }
.hero h1 { font-weight: 300; letter-spacing: 0.05em; }
.hero h1 em, h2 em, .card-feature h3 em {
  font-family: var(--font-display); font-style: normal; font-weight: 400;
  color: var(--fuchsia); letter-spacing: 0.05em;
}
.hero h1::after, .mahjong-hero h1::after { display: none; }
.kicker, .hero .kicker, .section-head .kicker {
  font-family: var(--font-display); font-weight: 500; letter-spacing: 0.34em;
  color: var(--fuchsia); text-transform: uppercase;
}
.brand { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.08em; text-transform: lowercase; }
.brand .tile-mark { width: auto; height: 30px; }
.btn, .site-nav a, label, input, textarea, select { font-family: var(--font-ui); }
.card, .entry, .product, .form-panel { outline: none; border: 1px solid var(--line); }
.card-feature { outline: 1px solid rgba(255,255,255,0.4); }
.mahjong-hero {
  background:
    radial-gradient(900px 460px at 100% 0%, rgba(255,255,255,0.16), transparent 55%),
    linear-gradient(160deg, #5f7aa8 0%, #7690b4 68%, #93a6c6 100%);
}
.mahjong-hero .kicker, .mahjong-hero h1 em { color: #eaf0f8; }
.mahjong-hero .stat-strip .stat-num { color: var(--fuchsia); }
