/*
Theme Name: Sunrise Pop
Theme URI: https://www.springtomorrow.com/
Author: Spring Tomorrow
Description: A bright, modern food and travel theme with sunny colour blocks, friendly type and a sun rising over every page.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: st-sunrise-pop
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --ink: #121212;
  --cream: #FFF8EC;
  --paper: #FFFFFF;
  --mustard: #F2B705;
  --chilli: #E4572E;
  --chilli-bg: #CC4520; /* chilli behind white text: 4.7:1 contrast (bright chilli is 3.7:1) */
  --chilli-dark: #B23A1B;
  --teal: #17717A;
  --muted: #4A4540;
  --soft: #E9DCC8;
  --rule: #E6DCCB;
  --radius-s: 14px;
  --radius: 22px;
  --radius-l: 28px;
  --wrap: 1320px;
  --read: 720px;
  --font: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--chilli-dark); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4, h5, h6 { line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px; z-index: 50; }
.skip:focus { top: 12px; color: var(--cream); }
.dot { color: var(--chilli); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.02em; }
.sec { margin-top: 72px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 16px; margin-bottom: 20px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 48px); }
.sec-head a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 28px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand:hover { color: var(--ink); }
@media (max-width: 480px) { .brand { font-size: 23px; gap: 10px; } .brand svg { width: 40px; height: 40px; } }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-left: auto; font-size: 15px; font-weight: 600; }
.main-nav ul { display: contents; list-style: none; margin: 0; padding: 0; }
.main-nav li { display: contents; }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: -10px; font-size: 15px; font-weight: 600; }
.main-nav a, .header-actions a { padding: 10px 16px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.main-nav a[aria-current="page"], .header-actions a[aria-current="page"], .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { background: var(--ink); color: var(--cream); }
.main-nav a:not([aria-current="page"]):hover, .header-actions a:not(.btn):not([aria-current="page"]):hover { background: var(--soft); color: var(--ink); }
.icon-btn { width: 44px; justify-content: center; padding: 0 !important; }
.icon-btn svg { width: 20px; height: 20px; }
.subscribe-btn svg { display: none; width: 20px; height: 20px; }
/* Narrower than the one-row header: logo with Search + Subscribe on row 1, sections on row 2.
   Nothing scrolls sideways, so every button is always visible. */
@media (max-width: 980px) {
  .header-actions { order: 2; margin-left: 0; }
  .main-nav { order: 3; width: 100%; margin-left: -10px; }
}
@media (max-width: 600px) {
  .main-nav { justify-content: space-between; gap: 2px; margin-left: 0; }
  .main-nav a { padding: 10px 11px; white-space: nowrap; }
  .subscribe-btn { width: 44px; padding: 0 !important; }
  .subscribe-btn svg { display: block; }
  .subscribe-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
/* Small phones: shrink the logo a little so Search + Subscribe still fit beside it. */
@media (max-width: 400px) {
  .site-header { column-gap: 8px; }
  .brand { font-size: 21px; gap: 8px; } .brand svg { width: 36px; height: 36px; }
  .main-nav a { padding: 10px 7px; font-size: 14px; }
}
@media (max-width: 340px) {
  .site-header { column-gap: 4px; }
  .brand { font-size: 18px; gap: 7px; } .brand svg { width: 30px; height: 30px; }
  .header-actions { gap: 2px; }
  .main-nav a { padding: 10px 5px; font-size: 13.5px; }
}

/* ==========================================================================
   Buttons, labels, chips
   ========================================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--cream) !important; font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; border: 0; cursor: pointer; text-decoration: none !important; text-align: center; }
.btn:hover { background: #2B2B2B; }
.btn.mustard { background: var(--mustard); color: var(--ink) !important; }
.btn.mustard:hover { background: #FFC81F; }
.btn.ghost { background: transparent; color: var(--ink) !important; border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream) !important; }
.btn.small { min-height: 44px; padding: 0 16px; font-size: 14px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; border: 1.5px solid var(--ink); padding: 0 16px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; background: transparent; color: inherit; cursor: pointer; }
.chip:hover, .chip.is-on { background: var(--ink); color: var(--cream); }
.label { display: inline-flex; align-items: center; background: var(--cream); color: var(--ink); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.2; }
.label.dark { background: var(--ink); color: var(--cream); }
.label.chilli { background: var(--chilli-bg); color: #fff; }
a.label:hover { filter: brightness(1.1); }
.panel.teal .chip, .panel.ink .chip { border-color: rgba(255, 255, 255, .75); color: #fff; }
.panel.teal .chip:hover, .panel.teal .chip.is-on { background: #fff; color: var(--teal); }
.panel.ink .chip:hover { background: var(--cream); color: var(--ink); }

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0 16px; }
.crumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Panels
   ========================================================================== */
.panel { border-radius: var(--radius-l); padding: clamp(24px, 4vw, 44px); }
.panel.teal { background: var(--teal); color: #fff; }
.panel.teal a:not(.btn):not(.chip) { color: #fff; }
.panel.ink { background: var(--ink); color: var(--cream); }
.panel.ink a:not(.btn):not(.chip) { color: var(--cream); }
.panel.chilli { background: var(--chilli-bg); color: #fff; }
.panel.mustard { background: var(--mustard); border: 1.5px solid var(--ink); }
.panel.paper { background: var(--paper); border: 1.5px solid var(--ink); }

/* ==========================================================================
   Post cards + grid
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.post-grid.three { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.card { background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card .media { display: block; aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: var(--soft); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card:hover .media img { transform: scale(1.03); }
.card .media .label { position: absolute; top: 14px; left: 14px; }
.card .media .no-img { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.card .media .no-img svg { width: 64px; height: 64px; }
.card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 21px; line-height: 1.15; letter-spacing: -0.02em; }
.card p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.card .meta { margin-top: auto; padding-top: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }

.featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--radius-l); overflow: hidden; margin-bottom: 20px; }
.featured .media { position: relative; min-height: 340px; overflow: hidden; background: var(--soft); display: block; }
.featured .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured .media .label { position: absolute; top: 18px; left: 18px; }
.featured .body { padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 16px; justify-content: center; align-items: flex-start; }
.featured h3 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.02; letter-spacing: -0.035em; }
.featured p { font-size: 17px; color: var(--muted); line-height: 1.55; }
.featured .meta { font-size: 14px; color: var(--muted); font-weight: 600; }

.promo { background: var(--mustard); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 320px; }
.promo h3 { font-size: 32px; line-height: 1; letter-spacing: -0.04em; }
.promo p { font-size: 16px; line-height: 1.45; }

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 48px 0 0; }
.pagination a, .pagination span { min-width: 48px; min-height: 48px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 700; background: var(--paper); }
.pagination a:hover { background: var(--mustard); color: var(--ink); }
.pagination [aria-current="page"] { background: var(--ink); color: var(--cream); }
.pagination .gap { border: 0; background: transparent; min-width: 24px; padding: 0; }
.pagination .disabled { opacity: .35; }
/* Phones: page numbers on one row, Newer / Older as two equal buttons on the row below,
   so a button never wraps onto a line of its own. ::after is the line break between them. */
@media (max-width: 600px) {
  .pagination { gap: 6px 4px; }
  .pagination a, .pagination span { min-width: 44px; min-height: 44px; padding: 0 12px; }
  .pagination .gap { min-width: 16px; padding: 0; }
  .pagination::after { content: ""; order: 1; flex-basis: 100%; height: 0; }
  .pagination .step { order: 2; flex: 1 1 0; min-height: 48px; margin: 0 2px; }
}
@media (max-width: 340px) {
  .pagination { column-gap: 2px; }
  .pagination a, .pagination span { min-width: 38px; padding: 0 8px; }
  .pagination .gap { min-width: 12px; }
}

/* ==========================================================================
   Newsletter (Jetpack subscriptions form restyled)
   ========================================================================== */
.newsletter { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px 40px; align-items: center; }
.newsletter h2 { font-size: clamp(32px, 4vw, 52px); line-height: .98; letter-spacing: -0.04em; }
.newsletter p { font-size: 18px; line-height: 1.45; margin-top: 12px; }
.subscribe form, form.subscribe { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.subscribe .wp-block-jetpack-subscriptions__container, .subscribe .jetpack_subscription_widget, .subscribe .wp-block-jetpack-subscriptions { width: 100%; margin: 0 !important; }
.subscribe form p { margin: 0 !important; padding: 0 !important; }
.subscribe form p:has(input[type="email"]) { flex: 1 1 220px; }
.subscribe input[type="email"], .subscribe input[type="text"] { width: 100% !important; height: 52px !important; padding: 0 20px !important; border: 0 !important; border-radius: 999px !important; font: inherit !important; font-size: 16px !important; background: #fff !important; color: var(--ink) !important; margin: 0 !important; }
.subscribe button, .subscribe input[type="submit"] { height: 52px !important; padding: 0 26px !important; border: 0 !important; border-radius: 999px !important; background: var(--mustard) !important; color: var(--ink) !important; font: inherit !important; font-weight: 800 !important; font-size: 16px !important; cursor: pointer; margin: 0 !important; line-height: 1 !important; }
.panel.mustard .subscribe button, .promo .subscribe button { background: var(--ink) !important; color: var(--cream) !important; }
.panel.mustard .subscribe input[type="email"], .promo .subscribe input[type="email"] { border: 1.5px solid var(--ink) !important; }
.subscribe-note { font-size: 13px !important; margin-top: 8px !important; opacity: .8; width: 100%; }
.subscribe .success, .subscribe .error, .subscribe #subscribe-text, .subscribe .jetpack-subscribe-count { font-size: 15px; width: 100%; }

/* ==========================================================================
   Forms (comments, search, Jetpack contact form)
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .comment-form label, .contact-form label, .grunion-field-label { font-weight: 700; font-size: 15px; }
.req, .required, .grunion-label-required { color: var(--chilli); }
.field input, .field textarea, .field select,
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea,
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="url"], .contact-form input[type="tel"], .contact-form textarea, .contact-form select,
.grunion-field { font: inherit; font-size: 16px; padding: 12px 16px; min-height: 52px; border: 1.5px solid var(--ink) !important; border-radius: var(--radius-s) !important; background: var(--paper); color: var(--ink); width: 100% !important; max-width: none !important; box-shadow: none !important; }
.field textarea, .comment-form textarea, .contact-form textarea { min-height: 160px; resize: vertical; }
.hint, .comment-notes, .logged-in-as { font-size: 14px; color: var(--muted); }
.comment-form { display: grid; gap: 16px; margin-top: 22px; }
.comment-form p { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.comment-form .comment-form-cookies-consent { flex-direction: row; align-items: center; gap: 10px; }
.comment-form .comment-form-cookies-consent label { font-weight: 500; }
.comment-form .form-submit { flex-direction: row; }
.comment-form input[type="submit"], .contact-form button[type="submit"], .contact-form input[type="submit"], .wp-block-jetpack-button button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px !important; background: var(--ink) !important; color: var(--cream) !important; font: inherit; font-weight: 700; font-size: 16px; border: 0 !important; cursor: pointer; }
.contact-form, .wp-block-jetpack-contact-form { display: grid !important; gap: 18px !important; }
.contact-form > div, .grunion-field-wrap, .wp-block-jetpack-contact-form > div { display: flex; flex-direction: column; gap: 6px; margin: 0 !important; padding: 0 !important; width: 100% !important; flex-basis: 100% !important; }
.contact-form label span { font-weight: 500; }
.contact-form .contact-form__error:not(.show-errors) { display: none !important; }
.contact-form .contact-form__error.show-errors { display: block; background: #FDE7E1; color: var(--chilli-dark); border: 1.5px solid var(--chilli-dark); border-radius: var(--radius-s); padding: 12px 16px; font-weight: 600; font-size: 15px; }
.contact-form .grunion-label-required, .contact-form label .required { color: var(--chilli); font-weight: 600; }
.contact-submission, .contact-form-submission { background: var(--cream); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 22px; }
.search-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; max-width: 640px; }
.search-form input[type="search"] { flex: 1 1 260px; height: 56px; padding: 0 22px; border: 1.5px solid var(--ink); border-radius: 999px; font: inherit; font-size: 18px; background: #fff; color: var(--ink); }
.search-form .btn { height: 56px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { margin-top: 80px; border-top: 1.5px solid var(--ink); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; padding-top: 40px; padding-bottom: 32px; }
.footer-grid h2 { font-size: 14px; letter-spacing: 0.02em; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.footer-grid ul a { display: inline-block; padding: 4px 0; font-weight: 500; }
.social-link { display: inline-flex !important; align-items: center; gap: 10px; }
.social-icon { width: 20px; height: 20px; flex: none; }
.social-chip { gap: 8px; }
.social-chip .social-icon { width: 18px; height: 18px; }
.footer-brand .brand { font-size: 24px; }
.footer-brand .brand svg { width: 40px; height: 40px; }
.footer-brand p { font-size: 15px; color: var(--muted); margin-top: 12px; max-width: 32ch; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 32px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--rule); }
.footer-base a { color: var(--muted); }

/* ==========================================================================
   Homepage
   ========================================================================== */
.home-hero { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
.home-hero .lead-card { background: var(--mustard); border-radius: var(--radius-l) 0 0 var(--radius-l); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 32px; min-height: 480px; }
.home-hero h1 { font-size: clamp(40px, 5.4vw, 80px); line-height: .95; letter-spacing: -0.04em; }
.home-hero .lead-card p { font-size: 19px; line-height: 1.45; max-width: 44ch; margin-top: 18px; }
.home-hero .photo { display: block; background: var(--soft); border-radius: 0 var(--radius-l) var(--radius-l) 0; min-height: 480px; position: relative; overflow: hidden; }
.home-hero .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Text card and photo are joined into one block; stacked on narrow screens. */
@media (max-width: 900px) {
  .home-hero { grid-template-columns: minmax(0, 1fr); }
  .home-hero .lead-card { border-radius: var(--radius-l) var(--radius-l) 0 0; min-height: 0; gap: 24px; }
  .home-hero .photo { border-radius: 0 0 var(--radius-l) var(--radius-l); min-height: 340px; }
}
@media (max-width: 560px) { .home-hero .photo { min-height: 260px; } }
.sticker { position: absolute; top: 24px; right: 24px; width: 108px; height: 108px; border-radius: 50%; background: var(--chilli-bg); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 800; font-size: 18px; line-height: 1; transform: rotate(-12deg); }
.section-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .section-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .section-tiles { grid-template-columns: minmax(0, 1fr); } }
.section-tile { border-radius: var(--radius); padding: 24px; min-height: 160px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.section-tile .k { font-size: 14px; font-weight: 600; }
.section-tile .n { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.section-tile:hover { filter: brightness(1.06); }
.t-chilli { background: var(--chilli-bg); color: #fff !important; }
.t-teal { background: var(--teal); color: #fff !important; }
.t-mustard { background: var(--mustard); color: var(--ink) !important; }
.t-ink { background: var(--ink); color: var(--cream) !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* Trending: photo mosaic, number one large */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 14px; }
.trend { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; }
.trend:hover { color: #fff; }
.trend.t1 { grid-row: span 2; }
.trend img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.trend:hover img { transform: scale(1.04); }
.trend .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 18, 18, .9), rgba(18, 18, 18, .2) 55%, transparent); }
.trend .rank { position: absolute; top: 14px; left: 14px; width: 48px; height: 48px; border-radius: 50%; background: var(--chilli-bg); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; transform: rotate(-10deg); border: 1.5px solid var(--ink); }
.trend.t1 .rank { width: 72px; height: 72px; font-size: 24px; top: 20px; left: 20px; }
.trend .cap { position: absolute; left: 18px; right: 18px; bottom: 16px; }
.trend .cat { display: block; font-size: 12px; font-weight: 700; opacity: .85; margin-bottom: 4px; }
.trend .mt { display: block; font-size: 17px; font-weight: 800; line-height: 1.15; }
.trend.t1 .cap { left: 26px; right: 26px; bottom: 24px; }
.trend.t1 .mt { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.02; letter-spacing: -0.03em; }
@media (max-width: 900px) { .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 200px 200px; } .trend.t1 { grid-column: span 2; grid-row: auto; } }
@media (max-width: 480px) { .mosaic { grid-template-rows: 280px 180px 180px; gap: 10px; } .trend .mt { font-size: 15px; } .trend .cap { left: 12px; right: 12px; bottom: 12px; } }

/* ==========================================================================
   Archive / search
   ========================================================================== */
.archive-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px 48px; align-items: end; position: relative; overflow: hidden; }
.archive-head h1 { font-size: clamp(48px, 8vw, 112px); line-height: .9; letter-spacing: -0.05em; margin-top: 10px; overflow-wrap: anywhere; }
.archive-head h1:first-child { margin-top: 0; }
.archive-head.long h1 { font-size: clamp(40px, 6vw, 80px); }
.archive-head .desc { font-size: 19px; line-height: 1.5; max-width: 52ch; }
.archive-head .desc p + p { margin-top: 10px; }
.archive-head .chips { margin-top: 18px; }
.archive-head .sticker { background: var(--mustard); color: var(--ink); width: 112px; height: 112px; font-size: 17px; top: 24px; right: 28px; }
.archive-head.t-mustard .sticker { background: var(--chilli-bg); color: #fff; }
@media (max-width: 700px) { .archive-head .sticker { display: none; } }
.archive-head.t-mustard, .archive-head.paper { border: 1.5px solid var(--ink); }
.archive-head.paper { background: var(--paper); }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 40px 0 18px; }
.toolbar h2 { font-size: clamp(26px, 3vw, 36px); }
.toolbar .count { font-size: 15px; color: var(--muted); font-weight: 600; }
.empty { text-align: center; padding: 48px 24px; }
.empty h2 { font-size: clamp(30px, 4vw, 44px); }
.empty p { margin: 12px auto 0; max-width: 46ch; color: var(--muted); }

/* ==========================================================================
   Single post: header
   ========================================================================== */
.post-head { max-width: 980px; }
.post-head .labels { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.post-head h1 { font-size: clamp(36px, 5.6vw, 76px); line-height: .97; letter-spacing: -0.045em; overflow-wrap: break-word; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 22px; font-size: 15px; color: var(--muted); font-weight: 600; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--ink); }
.byline strong { color: var(--ink); }
.byline a { text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.head-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-img { margin: 32px 0 0; border-radius: var(--radius-l); overflow: hidden; border: 1.5px solid var(--ink); aspect-ratio: 3 / 2; max-height: 720px; width: 100%; background: var(--soft); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; margin-top: 32px; }
.hero-wrap .hero-img { margin: 0; aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .hero-wrap { grid-template-columns: minmax(0, 1fr); } }
.facts { background: var(--mustard); border: 1.5px solid var(--ink); border-radius: var(--radius-l); padding: 26px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.facts h2 { font-size: 30px; }
.facts dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.facts dl div { background: var(--cream); border: 1.5px solid var(--ink); border-radius: var(--radius-s); padding: 12px 14px; }
.facts dt { font-size: 13px; font-weight: 700; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.facts p { font-size: 16px; line-height: 1.5; }

/* ==========================================================================
   Single post: layout + prose
   ========================================================================== */
/* Three parts, in this order in the page: the post text, the place cards, then .post-foot (tags,
   share, author, older/newer). Wide: cards in a side column next to both. Narrow: one column in
   page order, so the map comes straight after the text. */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: auto 1fr; gap: 0 56px; margin-top: 56px; align-items: start; }
.post-layout > .prose { grid-column: 1; }
.post-layout > .places { grid-column: 2; grid-row: 1 / span 2; }
.post-layout > .post-foot { grid-row: 2; }
.post-layout.no-aside { grid-template-columns: minmax(0, var(--read)); justify-content: start; }
@media (max-width: 1040px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .post-layout > .places { grid-column: 1; grid-row: auto; margin-top: 40px; }
  .post-layout > .post-foot { grid-row: auto; }
}
.prose { max-width: var(--read); min-width: 0; }
.prose > * + * { margin-top: 22px; }
.prose p, .prose li { font-size: 18.5px; line-height: 1.72; }
.prose p:empty { display: none; }
.prose a:not(.btn):not(.chip):not(.label):not(.ph) { text-decoration: underline; text-decoration-color: var(--chilli); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 56px; }
.prose h3 { font-size: 24px; letter-spacing: -0.02em; margin-top: 40px; }
.prose h4 { font-size: 22px; letter-spacing: -0.02em; margin-top: 40px; }
.prose h5, .prose h6 { font-size: 18px; margin-top: 32px; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 4px; }
.prose li::marker { color: var(--chilli); font-weight: 800; }
.prose blockquote { margin-left: 0; margin-right: 0; background: var(--paper); border: 1.5px solid var(--ink); border-left: 10px solid var(--mustard); border-radius: var(--radius); padding: 20px 24px; }
.prose blockquote p { font-size: 20px; font-weight: 600; }
.prose hr { border: 0; height: 0; border-top: 2px dashed var(--soft); margin: 48px 0; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose img { border-radius: var(--radius); }
.prose .wp-caption { max-width: 100%; width: auto !important; }
.prose figcaption, .prose .wp-caption-text { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose .alignleft, .prose .alignright { margin-bottom: 12px; }
@media (min-width: 640px) { .prose .alignleft { float: left; margin-right: 22px; max-width: 50%; } .prose .alignright { float: right; margin-left: 22px; max-width: 50%; } }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose iframe, .prose video, .prose embed { max-width: 100%; border-radius: var(--radius); border: 0; }
.prose iframe[src*="youtube"], .prose iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
/* Tables: inc/content.php wraps each one in .table-scroll, which carries the frame and scrolls
   sideways when the table is wider than the screen. The table stays display: table so its
   columns fill the frame. */
.prose .table-scroll { border: 1.5px solid var(--ink); border-radius: var(--radius-s); overflow-x: auto; background: var(--paper); }
.prose table { width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; border: 1.5px solid var(--ink); border-radius: var(--radius-s); overflow: hidden; font-size: 16px; background: var(--paper); }
.prose .table-scroll table { border: 0; border-radius: 0; }
.prose tr:last-child > td { border-bottom: 0; }
/* TablePress adds empty rows above and below its tables for search/paging controls. */
.prose .table-scroll .dt-layout-row:not(:has(.dt-layout-cell:not(:empty))) { display: none; }
.prose .table-scroll .dt-container, .prose .table-scroll .dt-layout-row.dt-layout-table { margin: 0; }
.prose .table-scroll .dt-layout-row.dt-layout-table > .dt-layout-cell { padding: 0; }
.prose .table-scroll th, .prose .table-scroll td { padding: 10px 14px; }
.prose th, .prose td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose thead th, .prose th { background: var(--ink); color: var(--cream); font-weight: 700; }
.prose tbody tr:nth-child(even) td { background: #FBF6EC; }
.prose .blog-post-ad { margin: 32px 0; min-height: 0; }
/* Google marks a unit it could not fill; hide it so no empty gap is left in the text. */
.prose .blog-post-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }
.prose .sharedaddy, .prose .jp-relatedposts { display: none !important; }

/* Photos: single and runs (consecutive photos are grouped by the theme) */
.ph { display: block; border-radius: var(--radius); overflow: hidden; background: var(--soft); border: 1.5px solid var(--ink); cursor: zoom-in; }
.ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.prose .photo { margin-top: 28px; }
.prose .photo + .photo, .prose .photo-run + * { margin-top: 28px; }
.prose .photo .ph img { height: auto; }
.prose .photo.is-portrait { max-width: 520px; }
.photo-run { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px !important; }
.photo-run .ph { aspect-ratio: 4 / 5; }
.photo-run .ph.is-landscape { aspect-ratio: 3 / 2; grid-column: span 2; }
.photo-run.all-landscape .ph.is-landscape { grid-column: auto; aspect-ratio: 7 / 5; }
.photo-run.all-landscape .ph.is-landscape:last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 16 / 9; }
.photo-run.all-portrait .ph:last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 4 / 3; }
/* Mixed runs: rows are worked out in st_photo_rows() (inc/content.php), which sets w2–w6. */
.photo-run.mixed { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.photo-run.mixed .ph.w6 { grid-column: span 6; aspect-ratio: 3 / 2; }
.photo-run.mixed .ph.w4 { grid-column: span 4; aspect-ratio: 3 / 2; }
.photo-run.mixed .ph.w3 { grid-column: span 3; aspect-ratio: 4 / 5; }
.photo-run.mixed .ph.w2 { grid-column: span 2; aspect-ratio: 4 / 5; }
.photo-run.mixed .ph.beside { aspect-ratio: auto; position: relative; } /* as tall as the landscape next to it */
.photo-run.mixed .ph.beside img { position: absolute; inset: 0; }
.photo-note { font-size: 14px; color: var(--muted); margin-top: 10px !important; }

/* Item heading with price, e.g. "Mollie Soy Bean Curd (RM17.90)" */
.item-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.price { display: inline-flex; align-self: flex-start; background: var(--chilli-bg); color: #fff; font-weight: 800; padding: 6px 12px; border-radius: 999px; font-size: 15px; letter-spacing: 0; line-height: 1.2; white-space: nowrap; }

/* Verdict */
.verdict { position: relative; background: var(--mustard); border: 1.5px solid var(--ink); border-radius: var(--radius-l); padding: 32px 32px 32px 96px; margin-top: 40px !important; }
.verdict::before { content: ""; position: absolute; left: 28px; top: 30px; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: radial-gradient(circle at 60% 56%, var(--chilli) 0 18%, transparent 18.5%), linear-gradient(to bottom, transparent 66%, var(--teal) 66%), var(--mustard); }
.verdict .k { font-size: 14px; font-weight: 800; display: block; }
.verdict .v { font-size: 22px; line-height: 1.4; font-weight: 600; margin-top: 8px; max-width: 38ch; }
.verdict .v a { text-decoration: underline; }
@media (max-width: 560px) { .verdict { padding: 88px 24px 26px; } }

/* Tags, share, author */
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 40px; }
.tags strong { font-size: 15px; margin-right: 4px; }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding-top: 24px; border-top: 1.5px solid var(--ink); align-items: center; }
.share strong { margin-right: 6px; }
.author { display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: center; margin-top: 32px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--radius-l); padding: 20px; }
.author img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.author strong { font-size: 18px; }
.author p { font-size: 15.5px; color: var(--muted); line-height: 1.5; margin-top: 4px; }
/* On its own line under the bio, so it never wraps mid-phrase. */
.author p a { display: block; width: fit-content; margin-top: 8px; font-weight: 600; text-decoration: underline; }
.author p a::after { content: " \2192"; }
@media (max-width: 480px) { .author { grid-template-columns: 64px 1fr; } .author img { width: 64px; height: 64px; } }
.post-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; margin-top: 24px; }
.post-nav a { display: flex; flex-direction: column; gap: 4px; border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 16px 18px; background: var(--paper); font-weight: 700; line-height: 1.3; }
.post-nav a span { font-size: 13px; color: var(--muted); font-weight: 600; }
.post-nav a.next { text-align: right; }

/* ==========================================================================
   Place card (built from the .st-info block in post content)
   ========================================================================== */
.places { display: grid; gap: 20px; }
.places.one { position: sticky; top: 20px; }
@media (max-width: 1040px) { .places.one { position: static; } }
.place { background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--radius-l); overflow: hidden; scroll-margin-top: 16px; }
.place .top { background: var(--teal); color: #fff; padding: 20px 22px; }
.place .top h2 { font-size: 30px; margin-top: 4px; overflow-wrap: anywhere; }
.place iframe { display: block; width: 100%; height: 240px; border: 0; border-bottom: 1.5px solid var(--ink); background: var(--soft); }
.place dl { margin: 0; padding: 8px 22px; }
.place dl > div { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.place dl > div:last-child { border-bottom: 0; }
.place dt svg { width: 22px; height: 22px; color: var(--teal); }
.place dd { margin: 0; font-size: 15.5px; line-height: 1.45; overflow-wrap: anywhere; }
.place dd strong { display: block; font-size: 13px; color: var(--muted); }
.place dd a { text-decoration: underline; text-underline-offset: 3px; }
.place .actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 22px; }
.place .actions .btn { flex: 1 1 auto; }

/* ==========================================================================
   Recipe card (built from the .st-recipe block in post content)
   ========================================================================== */
.recipe { margin-top: 64px !important; background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--radius-l); overflow: hidden; scroll-margin-top: 16px; }
.prose .recipe p, .prose .recipe li { font-size: 17px; line-height: 1.5; }
.recipe-top { background: var(--teal); color: #fff; padding: clamp(22px, 3.5vw, 40px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.prose .recipe-top h2 { font-size: clamp(30px, 4vw, 50px); line-height: .95; letter-spacing: -0.045em; margin-top: 8px; }
.recipe-top .tools { display: flex; flex-wrap: wrap; gap: 8px; }
.recipe-top .btn.ghost { border-color: #fff; color: #fff !important; }
.recipe-top .btn.ghost:hover { background: #fff; color: var(--teal) !important; }
.recipe-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; padding: 18px clamp(22px, 3.5vw, 40px); border-bottom: 1.5px solid var(--ink); background: var(--cream); font-weight: 600; margin: 0 !important; }
.scale { display: inline-flex; gap: 4px; align-items: center; }
.scale button { font: inherit; font-weight: 700; min-width: 48px; min-height: 44px; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; }
.scale button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.recipe-body { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 !important; }
.recipe-body > section { padding: clamp(22px, 3.5vw, 40px); }
.recipe-body > section + section { border-top: 1.5px solid var(--ink); }
.recipe { container-type: inline-size; }
@container (min-width: 820px) {
  .recipe-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
  .recipe-body > section + section { border-top: 0; border-left: 1.5px solid var(--ink); }
}
.prose .recipe-body h3 { font-size: 26px; margin: 0 0 16px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 10px; }
.recipe-body h3 small { font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.prose .recipe-body h4 { font-size: 17px; margin: 22px 0 4px; color: var(--teal); letter-spacing: 0; }
.ing { list-style: none; margin: 0 !important; padding: 0 !important; }
.prose .ing li { border-bottom: 1px dashed #CFC6B6; margin: 0; }
.ing label { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 12px 0; cursor: pointer; }
.ing input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--teal); }
.ing input:checked + span { text-decoration: line-through; color: #8A8378; }
.ing .q { font-weight: 800; }
.method { list-style: none; counter-reset: m; margin: 0 !important; padding: 0 !important; display: grid; gap: 10px; }
.prose .method li { counter-increment: m; margin: 0; position: relative; }
.method label { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 14px 16px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: #fff; cursor: pointer; }
.method label::before { content: counter(m); width: 40px; height: 40px; border-radius: 50%; background: var(--chilli-bg); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
.method input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.method input:checked + label { background: var(--cream); color: #8A8378; }
.method input:checked + label::before { content: "✓"; background: var(--teal); }
.method input:focus-visible + label { outline: 3px solid var(--teal); outline-offset: 3px; }
.recipe .note { margin-top: 20px; background: var(--cream); border: 1.5px dashed var(--ink); border-radius: var(--radius); padding: 16px 18px; }
@media (min-width: 1200px) {
  .post-layout.no-aside .recipe { margin-right: calc(-1 * min(400px, (100vw - var(--read) - 96px) / 2)); }
}

/* ==========================================================================
   Related + comments
   ========================================================================== */
.comments-box { max-width: 820px; }
.comments-box > h2 { font-size: 34px; }
.comment-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.comment-list .children { list-style: none; margin: 14px 0 0; padding-left: clamp(16px, 4vw, 40px); display: grid; gap: 14px; }
.comment-body { background: var(--cream); border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 18px 20px; }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; color: var(--muted); }
.comment-meta img { border-radius: 50%; width: 40px; height: 40px; }
.comment-meta .fn { color: var(--ink); font-weight: 800; font-style: normal; font-size: 16px; }
.comment-meta a { color: var(--muted); }
.comment-content { margin-top: 10px; font-size: 16.5px; line-height: 1.6; }
.comment-content p + p { margin-top: 10px; }
.comment-body .reply { margin-top: 10px; font-size: 14px; font-weight: 700; }
.comment-body .reply a { text-decoration: underline; }
.bypostauthor > .comment-body { background: #FFF1CC; }
.comment-respond { margin-top: 32px; }
.comment-reply-title { font-size: 26px; }
.comment-reply-title small { font-size: 14px; margin-left: 10px; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.mini { border: 1.5px solid var(--ink); border-radius: var(--radius); padding: 22px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 18px; }
.mini h3 { font-size: 22px; line-height: 1.1; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 94vh; overflow: visible; }
dialog.lightbox::backdrop { background: rgba(18, 18, 18, .9); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: 80vh; width: auto; border-radius: var(--radius-s); }
.lightbox figcaption { color: var(--cream); font-size: 15px; text-align: center; }
.lightbox .ctrls { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.lightbox .ctrls button { min-width: 48px; min-height: 48px; border-radius: 999px; border: 0; background: var(--cream); color: var(--ink); font: inherit; font-weight: 700; padding: 0 18px; cursor: pointer; }

/* ==========================================================================
   About page
   ========================================================================== */
/* About top: mustard card joined to the photo, same shape as the homepage hero */
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; margin-top: 16px; }
.about-hero .lead-card { background: var(--mustard); border-radius: var(--radius-l) 0 0 var(--radius-l); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 520px; }
.about-hero.no-photo { grid-template-columns: minmax(0, 1fr); }
.about-hero.no-photo .lead-card { border-radius: var(--radius-l); min-height: 0; }
.about-hero h1, .contact-head h1 { font-size: clamp(52px, 9vw, 128px); line-height: .88; letter-spacing: -0.055em; margin-top: 8px; }
.about-hero h1 { font-size: clamp(48px, 7.2vw, 104px); margin-top: 0; }
.about-hero .lead, .contact-head .lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; margin-top: 22px; max-width: 42ch; }
.about-hero .sub { font-size: 17px; line-height: 1.6; margin-top: 14px; max-width: 46ch; }
.about-hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.about-hero .photo { position: relative; border-radius: 0 var(--radius-l) var(--radius-l) 0; overflow: hidden; background: var(--soft); min-height: 520px; }
.about-hero .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
@media (max-width: 860px) {
  .about-hero { grid-template-columns: minmax(0, 1fr); }
  .about-hero .lead-card { border-radius: var(--radius-l) var(--radius-l) 0 0; min-height: 0; }
  .about-hero .photo { border-radius: 0 0 var(--radius-l) var(--radius-l); min-height: 0; aspect-ratio: 1; }
}
.meet { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px 56px; align-items: start; }
.meet h2, .about-sec-title { font-size: clamp(34px, 4.6vw, 60px); line-height: .95; letter-spacing: -0.045em; margin-top: 10px; }
.meet p { font-size: 20px; line-height: 1.6; }
.stories { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.story { border: 1.5px solid var(--ink); border-radius: var(--radius-l); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.story .ico { width: 64px; height: 64px; border-radius: 50%; background: var(--cream); border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.story .ico svg { width: 32px; height: 32px; }
.story .where { font-size: 14px; font-weight: 700; }
.story h3 { font-size: 30px; line-height: 1; letter-spacing: -0.035em; }
.story p { font-size: 16.5px; line-height: 1.6; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.tile { border-radius: var(--radius); padding: 26px; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; border: 1.5px solid var(--ink); }
.tile.t-paper { background: var(--paper); }
.tile .n { font-size: 64px; font-weight: 800; letter-spacing: -0.05em; line-height: .9; }
.tile .k { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.tile .d { font-size: 15px; font-weight: 600; }
.invite-title { font-size: clamp(34px, 4.6vw, 60px); line-height: .95; letter-spacing: -0.045em; }
.invite { font-size: 19px; line-height: 1.6; color: #D9D2C5; max-width: 62ch; margin-top: 18px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.cta-row h2 { font-size: clamp(30px, 3.6vw, 46px); }
.cta-row p { font-size: 18px; margin-top: 10px; }

/* ==========================================================================
   Contact page + generic pages
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; margin-top: 48px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.form-card { background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--radius-l); padding: clamp(22px, 4vw, 44px); }
.form-card > h2 { font-size: 34px; margin-bottom: 20px; }
.side { display: grid; gap: 16px; }
.side .panel h2 { font-size: 26px; margin-bottom: 10px; }
.side .panel p { font-size: 16px; line-height: 1.55; }
.side .panel p + p { margin-top: 10px; }
.side ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.side li { display: flex; gap: 10px; align-items: baseline; font-weight: 600; }
.side li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--chilli); flex: none; transform: translateY(-1px); }
.page-head h1 { font-size: clamp(44px, 7vw, 96px); line-height: .92; letter-spacing: -0.05em; margin-top: 8px; }
.page-body { margin-top: 40px; }

/* ==========================================================================
   404
   ========================================================================== */
.lost { text-align: center; padding: 40px 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lost svg { width: 140px; height: 140px; }
.lost h1 { font-size: clamp(48px, 8vw, 104px); line-height: .9; letter-spacing: -0.05em; }
.lost p { font-size: 19px; color: var(--muted); max-width: 44ch; }
.lost .search-form { justify-content: center; margin-left: auto; margin-right: auto; width: 100%; }

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  .site-header, .site-footer, .no-print, #newsletter, .share, .comments-area, .related, .blog-post-ad, .places, .head-actions, .post-nav { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .post-layout { display: block; margin-top: 16px; }
  .ph, .hero-img { border: 0; }
  html.print-recipe body * { visibility: hidden; }
  html.print-recipe .recipe.print-target, html.print-recipe .recipe.print-target * { visibility: visible; }
  html.print-recipe .recipe:not(.print-target) { display: none !important; }
  html.print-recipe .recipe.print-target { position: absolute; left: 0; top: 0; width: 100%; border: 0; margin: 0 !important; }
  .recipe-top .tools, .scale { display: none !important; }
  .recipe-top { background: #fff !important; color: #000 !important; border-bottom: 2px solid #000; }
  .method label { border: 0; padding: 6px 0; }
}
