/*
Theme Name: Stories to Tell
Theme URI: https://maryanilasasil.wordpress.com/
Author: Stories to Tell
Description: A warm editorial scrapbook theme for stories about life, love, family, culture, and travel between the Philippines and Japan.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stories-to-tell
Tags: blog, photography, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

:root {
	--cream: #f7f0df;
	--paper: #fffaf0;
	--green: #164b3b;
	--sage: #8fa58a;
	--coral: #e46f61;
	--gold: #e9a72f;
	--cocoa: #382b24;
	--muted: #6f665d;
	--line: rgba(56, 43, 36, 0.18);
	--display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
	--sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
	margin: 0;
	overflow-x: clip;
	color: var(--cocoa);
	background:
		radial-gradient(circle at 10% 7%, rgba(233, 167, 47, .09), transparent 24rem),
		radial-gradient(circle at 92% 24%, rgba(228, 111, 97, .07), transparent 27rem),
		var(--cream);
	font-family: var(--sans);
	line-height: 1.6;
}
body::before {
	position: fixed;
	inset: 0;
	z-index: 100;
	pointer-events: none;
	content: "";
	opacity: .2;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E");
	mix-blend-mode: multiply;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.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 {
	top: 10px;
	left: 10px;
	z-index: 9999;
	width: auto;
	height: auto;
	clip: auto;
	padding: 10px 16px;
	color: #fff;
	background: var(--green);
}
.alignwide { width: min(1120px, 100vw - 40px); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }

.site-header { position: relative; z-index: 20; background: rgba(255, 250, 240, .92); backdrop-filter: blur(14px); }
.header-inner {
	width: min(1400px, calc(100% - 64px));
	min-height: 146px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(390px, 1fr) auto 44px;
	align-items: center;
	gap: 34px;
}
.brand { display: inline-flex; align-items: center; gap: 15px; width: max-content; }
.brand strong, .footer-brand {
	display: block;
	color: var(--green);
	font-family: var(--display);
	font-size: clamp(2.65rem, 4vw, 4.25rem);
	font-weight: 500;
	letter-spacing: -.055em;
	line-height: .9;
}
.brand em { display: block; margin-top: 12px; color: #64735e; font-family: var(--display); font-size: 1.3rem; font-weight: 400; }
.leaf-mark { width: 48px; color: var(--green); fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.2; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 38px); margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.primary-nav a { position: relative; display: block; padding: 15px 0; font-size: .97rem; }
.primary-nav a::after {
	position: absolute;
	right: 50%;
	bottom: 4px;
	left: 50%;
	height: 3px;
	border-radius: 50%;
	background: var(--coral);
	content: "";
	transition: left 180ms ease, right 180ms ease;
	transform: rotate(-1deg);
}
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after, .primary-nav .current_page_item > a::after { right: 0; left: 0; }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: var(--green); font-weight: 700; }
.search-toggle { position: relative; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; }
.search-toggle::before { position: absolute; top: 8px; left: 7px; width: 20px; height: 20px; border: 3px solid var(--cocoa); border-radius: 50%; content: ""; }
.search-toggle::after { position: absolute; top: 28px; left: 27px; width: 13px; height: 3px; border-radius: 3px; background: var(--cocoa); content: ""; transform: rotate(45deg); transform-origin: left center; }
.menu-button { display: none; }
.torn-edge { position: absolute; right: 0; bottom: -13px; left: 0; height: 18px; filter: drop-shadow(0 6px 4px rgba(82, 56, 35, .08)); background: linear-gradient(135deg, rgba(255,250,240,.97) 8px, transparent 0) 0 8px/18px 18px repeat-x, linear-gradient(225deg, rgba(255,250,240,.97) 8px, transparent 0) 0 8px/18px 18px repeat-x; }
.header-search { padding: 34px max(32px, calc((100vw - 1248px) / 2)); color: #fff; background: var(--green); }
.header-search[hidden] { display: none; }
.header-search > p { margin: 0 0 10px; font-family: var(--display); font-size: 1.3rem; }
.search-form { display: flex; gap: 12px; }
.search-form label { flex: 1; max-width: 700px; }
.search-field { width: 100%; border: 0; border-bottom: 2px solid currentColor; padding: 12px 2px; color: inherit; background: transparent; font-size: 1.1rem; }
.search-field::placeholder { color: currentColor; opacity: .64; }
.search-submit { border: 1px solid currentColor; border-radius: 999px; padding: 8px 20px; color: inherit; background: transparent; cursor: pointer; }

.hero { width: min(1380px, calc(100% - 80px)); min-height: 610px; margin: 0 auto; padding: 96px 26px 60px; display: grid; grid-template-columns: minmax(390px, .88fr) minmax(570px, 1.2fr); align-items: center; gap: 54px; }
.hero-copy { position: relative; z-index: 3; }
.eyebrow, .card-meta, .featured-item > div > p { color: #657765; font-size: .77rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow i { display: inline-block; width: 1px; height: 18px; margin: 0 16px -5px; background: var(--cocoa); }
.hero h1 { margin: 16px 0 0; color: var(--green); font-family: var(--display); font-size: clamp(5rem, 8.2vw, 8.7rem); font-weight: 500; letter-spacing: -.06em; line-height: .85; }
.flourish { height: 40px; margin: 8px 0 12px; color: var(--sage); font-family: var(--display); font-size: 3.2rem; line-height: 1; }
.hero-excerpt { max-width: 540px; margin: 0 0 30px; font-family: var(--display); font-size: clamp(1.25rem, 1.65vw, 1.6rem); line-height: 1.55; }
.brush-button { display: inline-flex; align-items: center; gap: 30px; border-radius: 52% 44% 50% 45%; padding: 15px 33px; color: #fff; background: var(--coral); box-shadow: 3px 4px 0 rgba(125,55,43,.18); font-family: var(--display); font-size: 1.22rem; font-weight: 700; transition: transform 260ms ease, box-shadow 260ms ease; }
.brush-button:hover { color: #fff; transform: translateY(-3px) rotate(-.5deg); box-shadow: 6px 8px 0 rgba(125,55,43,.16); }
.brush-button span, .text-link span, .about-postcard a span { display: inline-block; transition: transform 220ms ease; }
.brush-button:hover span, .text-link:hover span, .about-postcard a:hover span { transform: translateX(6px); }
.hero-collage { position: relative; min-height: 500px; }
.photo { padding: 13px 13px 44px; background: #fffcf5; box-shadow: 0 16px 35px rgba(74,52,33,.24); }
.hero-photo { position: absolute; top: 12px; right: 60px; left: 10px; transform: rotate(4deg); }
.hero-photo img, .hero-image-placeholder { width: 100%; height: 390px; object-fit: cover; object-position: center 54%; filter: saturate(.92) contrast(.98); }
.hero-image-placeholder { display: grid; place-content: center; color: var(--green); background: radial-gradient(circle, rgba(143,165,138,.3), transparent 16rem), #e9e0cb; }
.hero-image-placeholder .leaf-mark { width: 110px; opacity: .5; }
.washi { position: absolute; z-index: 5; top: -8px; left: 39%; width: 156px; height: 44px; opacity: .82; background-color: #968d5b; background-image: radial-gradient(circle, var(--cream) 2px, transparent 2.5px); background-size: 18px 18px; transform: rotate(2deg); }
.postmark { position: absolute; z-index: 6; top: 34px; right: 0; width: 114px; height: 114px; border: 2px solid rgba(56,43,36,.52); border-radius: 50%; display: grid; place-content: center; color: rgba(56,43,36,.62); text-align: center; transform: rotate(8deg); }
.postmark::after { position: absolute; top: 55px; left: 90px; width: 150px; border-top: 2px solid currentColor; box-shadow: 0 8px 0 currentColor, 0 16px 0 currentColor; content: ""; }
.postmark strong { font-size: 1rem; }
.postmark span { font-size: .66rem; letter-spacing: .16em; }
.stamp { position: absolute; z-index: 7; right: 15px; bottom: 36px; width: 106px; height: 134px; padding: 10px; border: 8px dotted var(--paper); display: grid; grid-template-columns: 1fr auto; align-content: space-between; color: var(--paper); background: linear-gradient(160deg, var(--sage), var(--green)); box-shadow: 0 5px 15px rgba(56,43,36,.23); transform: rotate(8deg); }
.stamp small { font-size: .58rem; letter-spacing: .1em; }
.stamp strong { font-size: 1rem; }
.stamp span { grid-column: 1/-1; font-family: var(--display); font-size: 2.3rem; text-align: center; }
.hand-note { position: absolute; z-index: 7; bottom: 8px; left: 34%; width: 240px; margin: 0; padding: 14px 24px; color: var(--cocoa); background: rgba(238,222,184,.9); box-shadow: 0 5px 12px rgba(70,54,35,.12); font-family: "Segoe Print", "Bradley Hand", cursive; font-size: 1rem; line-height: 1.2; text-align: center; transform: rotate(-4deg); }
.route-line { position: absolute; bottom: 40px; left: -75px; color: #60775f; font-size: 1.5rem; letter-spacing: .36rem; transform: rotate(5deg); }

.featured-strip { width: min(1440px, calc(100% - 64px)); margin: -6px auto 0; padding: 32px 0 78px; display: grid; grid-template-columns: repeat(3,1fr); }
.featured-item { min-width: 0; padding: 18px 34px; border-right: 1px dashed rgba(228,111,97,.6); display: grid; grid-template-columns: minmax(115px,.75fr) minmax(145px,1fr); align-items: center; gap: 24px; }
.featured-item:last-child { border-right: 0; }
.mini-photo { position: relative; display: block; padding: 9px 9px 22px; background: #fff; box-shadow: 0 7px 16px rgba(67,48,31,.19); transition: transform 300ms ease, box-shadow 300ms ease; }
.featured-item:hover .mini-photo { transform: translateY(-5px) rotate(0deg); box-shadow: 0 13px 26px rgba(67,48,31,.2); }
.tilt-1 .mini-photo { transform: rotate(-3deg); }
.tilt-2 .mini-photo { transform: rotate(2deg); }
.tilt-3 .mini-photo { transform: rotate(-1.5deg); }
.mini-photo img { aspect-ratio: 1.08; object-fit: cover; }
.tape { position: absolute; top: -14px; left: 32%; width: 80px; height: 30px; background: rgba(213,177,106,.76); transform: rotate(3deg); }
.tape.green { background: rgba(112,128,89,.8); transform: rotate(-5deg); }
.featured-item h2 { margin: 5px 0 15px; color: var(--green); font-family: var(--display); font-size: clamp(1.35rem,1.8vw,1.8rem); font-weight: 500; line-height: 1.07; }
.featured-item h2 a:hover { color: var(--coral); }
.story-arrow { color: var(--gold); font-size: 2.1rem; }

.journal { padding: 94px max(32px,calc((100vw - 1248px)/2)) 112px; border-block: 1px solid rgba(56,43,36,.12); background: var(--paper); }
.section-heading { max-width: 650px; }
.section-heading h2, .about-card h2, .archive-hero h1, .page-header h1 { margin: 4px 0 14px; color: var(--green); font-family: var(--display); font-size: clamp(3rem,5vw,5rem); font-weight: 500; letter-spacing: -.04em; line-height: .98; }
.section-heading > p:last-child { max-width: 540px; color: var(--muted); font-family: var(--display); font-size: 1.25rem; line-height: 1.55; }
.category-chips { margin: 36px 0 50px; display: flex; flex-wrap: wrap; gap: 10px; }
.category-chips a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 17px; font-size: .84rem; transition: 180ms ease; }
.category-chips a:hover, .category-chips a.active { border-color: var(--green); color: #fff; background: var(--green); }
.story-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 34px; }
.story-card { position: relative; min-height: 320px; border: 1px solid rgba(56,43,36,.14); display: grid; grid-template-columns: 45% 55%; background: #fffdf7; box-shadow: 0 10px 30px rgba(87,67,47,.06); overflow: hidden; transition: transform 280ms ease, box-shadow 280ms ease; }
.story-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(87,67,47,.12); }
.story-card::before { position: absolute; z-index: 2; top: 0; bottom: 0; left: 45%; width: 5px; content: ""; background: var(--coral); }
.story-card.green::before { background: var(--sage); }
.story-card.gold::before { background: var(--gold); }
.card-image { position: relative; min-height: 100%; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.story-card:hover .card-image img { transform: scale(1.035); }
.image-placeholder { height: 100%; min-height: 280px; display: grid; place-content: center; color: var(--green); background: radial-gradient(circle at 50% 45%, rgba(143,165,138,.28), transparent 13rem), #e9e0cb; }
.image-placeholder .leaf-mark { width: 90px; opacity: .5; }
.card-number { position: absolute; right: 14px; bottom: 12px; color: #fff; font-family: var(--display); font-size: 2.4rem; text-shadow: 0 2px 10px rgba(0,0,0,.32); }
.card-copy { padding: 34px; }
.card-copy h3 { margin: 8px 0 14px; color: var(--green); font-family: var(--display); font-size: clamp(1.65rem,2.2vw,2.3rem); font-weight: 500; line-height: 1.05; }
.card-copy h3 a:hover { color: var(--coral); }
.card-copy > p:not(.card-meta) { color: var(--muted); font-family: var(--display); font-size: 1.04rem; line-height: 1.55; }
.text-link, .about-postcard a { display: inline-flex; align-items: center; gap: 12px; margin-top: 13px; color: var(--coral); font-weight: 700; }
.all-stories { display: inline-flex; gap: 12px; margin-top: 45px; border-bottom: 2px solid var(--coral); color: var(--green); font-family: var(--display); font-size: 1.2rem; font-weight: 700; }

.about-card { width: min(1120px,calc(100% - 64px)); margin: 105px auto; display: grid; grid-template-columns: 1fr 250px; align-items: center; gap: 70px; }
.about-postcard { position: relative; padding: 62px 70px; background: #fffaf0; box-shadow: 0 16px 45px rgba(75,55,37,.13); transform: rotate(-1deg); }
.about-postcard::after { position: absolute; inset: 12px; border: 1px solid rgba(228,111,97,.4); pointer-events: none; content: ""; }
.about-card h2 { max-width: 700px; font-size: clamp(3rem,5vw,4.8rem); }
.about-postcard > p:not(.eyebrow) { max-width: 670px; font-family: var(--display); font-size: 1.2rem; line-height: 1.65; }
.about-postcard a { position: relative; z-index: 2; }
.about-seal { width: 220px; height: 220px; border: 2px solid var(--green); border-radius: 50%; display: grid; place-content: center; gap: 7px; color: var(--green); text-align: center; transform: rotate(7deg); }
.about-seal::before, .about-seal::after { display: block; width: 86px; margin: auto; border-top: 1px solid currentColor; content: ""; }
.about-seal strong { font-family: var(--display); font-size: 3.2rem; }
.about-seal span { font-size: .68rem; font-weight: 700; letter-spacing: .26em; }
.empty-home, .not-found, .no-results { max-width: 760px; margin: 110px auto; padding: 70px 45px; text-align: center; }
.empty-home h1, .not-found h1, .no-results h2 { color: var(--green); font-family: var(--display); font-size: clamp(2.6rem,5vw,4.8rem); font-weight: 500; line-height: 1; }
.empty-home .leaf-mark, .no-results .leaf-mark { margin: auto; }

.archive-hero { width: min(1100px,calc(100% - 48px)); margin: 0 auto; padding: 115px 0 70px; }
.archive-hero.compact { padding-bottom: 42px; }
.archive-hero h1 { max-width: 950px; }
.archive-hero > p:not(.eyebrow), .archive-description { max-width: 680px; color: var(--muted); font-family: var(--display); font-size: 1.25rem; }
.archive-hero .search-form { max-width: 760px; margin-top: 30px; color: var(--cocoa); }
.archive-hero .search-submit { color: #fff; border-color: var(--green); background: var(--green); }
.archive-content { padding: 40px max(32px,calc((100vw - 1180px)/2)) 110px; }
.archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.archive-card { border: 1px solid var(--line); background: var(--paper); box-shadow: 0 9px 27px rgba(65,47,31,.07); transition: transform 250ms ease, box-shadow 250ms ease; }
.archive-card:hover { transform: translateY(-5px) rotate(-.3deg); box-shadow: 0 17px 36px rgba(65,47,31,.12); }
.archive-card-image { display: block; margin: 12px 12px 0; overflow: hidden; }
.archive-card-image img { width: 100%; aspect-ratio: 1.25; object-fit: cover; transition: transform 450ms ease; }
.archive-card:hover .archive-card-image img { transform: scale(1.035); }
.archive-card-image .image-placeholder { aspect-ratio: 1.25; min-height: 0; }
.archive-card-copy { padding: 25px 26px 30px; }
.archive-card h2 { margin: 8px 0 12px; color: var(--green); font-family: var(--display); font-size: 2rem; font-weight: 500; line-height: 1.06; }
.archive-card h2 a:hover { color: var(--coral); }
.archive-card-copy > p:not(.card-meta) { color: var(--muted); font-family: var(--display); }
.navigation.pagination { margin-top: 55px; }
.nav-links { display: flex; justify-content: center; gap: 8px; }
.nav-links .page-numbers { min-width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-content: center; }
.nav-links .current, .nav-links a:hover { color: #fff; border-color: var(--green); background: var(--green); }

.single-story, .standard-page { padding-bottom: 100px; }
.single-header, .page-header { width: min(980px,calc(100% - 48px)); margin: 0 auto; padding: 115px 0 55px; text-align: center; }
.single-header h1 { margin: 12px auto 18px; color: var(--green); font-family: var(--display); font-size: clamp(3.5rem,7.6vw,7.4rem); font-weight: 500; letter-spacing: -.055em; line-height: .92; }
.single-byline { color: var(--muted); font-size: .86rem; }
.single-hero-photo, .page-photo { width: min(1180px,calc(100% - 48px)); margin: 0 auto 75px; padding: 14px 14px 42px; background: #fff; box-shadow: 0 18px 45px rgba(65,47,31,.17); transform: rotate(-.5deg); }
.single-hero-photo img { width: 100%; max-height: 760px; object-fit: cover; }
.page-photo { max-width: 900px; }
.single-layout { width: min(1000px,calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 150px minmax(0,720px); justify-content: center; gap: 70px; }
.share-note { width: 140px; height: 140px; border: 1px solid var(--green); border-radius: 50%; display: grid; place-content: center; gap: 4px; color: var(--green); text-align: center; transform: rotate(-7deg); }
.share-note span { max-width: 90px; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.share-note strong { font-family: var(--display); font-size: 2rem; }
.entry-content { width: min(720px,100%); margin: 0 auto; color: #3e352f; font-family: var(--display); font-size: clamp(1.1rem,1.6vw,1.28rem); line-height: 1.85; }
.entry-content > * { max-width: 720px; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--green); font-weight: 500; line-height: 1.15; }
.entry-content h2 { margin-top: 2em; font-size: 2.5rem; }
.entry-content h3 { margin-top: 1.7em; font-size: 1.9rem; }
.entry-content a { color: var(--coral); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content blockquote { margin: 2.2em 0; padding: 28px 35px; border-left: 5px solid var(--gold); color: var(--green); background: rgba(233,167,47,.08); font-size: 1.4rem; font-style: italic; }
.entry-content figure { margin-block: 2.5em; }
.entry-content figcaption { margin-top: 8px; color: var(--muted); font-family: var(--sans); font-size: .75rem; text-align: center; }
.entry-content img { border: 10px solid #fff; box-shadow: 0 10px 28px rgba(65,47,31,.13); }
.story-tags { margin-top: 45px; display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--sans); font-size: .76rem; }
.story-tags a { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; text-decoration: none; }
.story-navigation { width: min(900px,calc(100% - 48px)); margin: 85px auto 0; padding-top: 35px; border-top: 1px dashed var(--coral); display: grid; grid-template-columns: 1fr 1fr; gap: 45px; }
.story-navigation > div:last-child { text-align: right; }
.story-navigation a { color: var(--green); font-family: var(--display); font-size: 1.25rem; }
.story-navigation span { display: block; margin-bottom: 5px; color: var(--coral); font-family: var(--sans); font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.standard-page .entry-content { padding-top: 25px; }
.comments-area { width: min(720px,calc(100% - 48px)); margin: 90px auto 0; padding: 45px; border: 1px solid var(--line); background: var(--paper); }
.comments-area h2, .comment-reply-title { color: var(--green); font-family: var(--display); font-size: 2.2rem; font-weight: 500; }
.comment-list { padding-left: 22px; }
.comment-list li { margin-bottom: 30px; }
.comment-author img { display: inline-block; margin-right: 10px; border-radius: 50%; vertical-align: middle; }
.comment-form label { display: block; margin-bottom: 6px; font-size: .8rem; font-weight: 700; }
.comment-form input:not([type="checkbox"]), .comment-form textarea { width: 100%; border: 1px solid var(--line); padding: 12px; background: #fffdf8; }
.form-submit input { border: 0; border-radius: 999px; padding: 11px 22px; color: #fff; background: var(--green); cursor: pointer; }
.postmark.large { position: relative; inset: auto; width: 150px; height: 150px; margin: 0 auto 55px; }
.postmark.large::after { display: none; }

.site-footer { padding: 70px 32px 34px; color: var(--paper); background: var(--green); text-align: center; }
.footer-brand { color: var(--paper); font-size: 3.8rem; }
.site-footer > p { margin: 13px 0 28px; color: rgba(255,255,255,.7); font-family: var(--display); font-size: 1.15rem; font-style: italic; }
.site-footer nav ul { display: flex; justify-content: center; gap: 30px; margin: 0 0 55px; padding: 0; list-style: none; font-size: .9rem; }
.site-footer nav a:hover { color: #f2bd65; }
.site-footer small { color: rgba(255,255,255,.55); font-size: .72rem; }
.footer-widgets { width: min(1100px,100%); margin: 0 auto 48px; display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; text-align: left; }

@media (max-width: 1180px) {
	.header-inner { grid-template-columns: 1fr 44px 44px; min-height: 120px; }
	.primary-nav { position: absolute; top: 110px; right: 24px; left: 24px; display: none; padding: 24px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 35px rgba(56,43,36,.15); }
	.primary-nav.is-open { display: block; }
	.primary-nav ul { flex-wrap: wrap; justify-content: center; }
	.menu-button { width: 42px; height: 42px; border: 0; display: grid; place-content: center; gap: 7px; background: transparent; cursor: pointer; }
	.menu-button span:not(.screen-reader-text) { width: 25px; height: 2px; display: block; background: var(--cocoa); }
	.hero { grid-template-columns: .78fr 1.22fr; }
	.hero-photo { right: 25px; }
	.postmark { right: -15px; }
	.featured-item { padding-inline: 20px; grid-template-columns: 118px 1fr; }
	.story-card { grid-template-columns: 40% 60%; }
	.story-card::before { left: 40%; }
	.archive-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
	.header-inner { width: min(100% - 36px,760px); }
	.brand strong { font-size: 2.7rem; }
	.brand em { font-size: 1rem; }
	.hero { width: min(100% - 32px,760px); grid-template-columns: 1fr; padding-top: 80px; }
	.hero h1 { font-size: clamp(5rem,18vw,8rem); }
	.hero-collage { min-height: 520px; }
	.featured-strip { width: min(100% - 32px,760px); grid-template-columns: 1fr; }
	.featured-item { border-right: 0; border-bottom: 1px dashed rgba(228,111,97,.6); grid-template-columns: 160px 1fr; }
	.featured-item:last-child { border-bottom: 0; }
	.story-grid { grid-template-columns: 1fr; }
	.about-card { grid-template-columns: 1fr; }
	.about-seal { display: none; }
	.single-layout { grid-template-columns: 1fr; gap: 20px; }
	.share-note { margin: 0 auto 25px; }
}

@media (max-width: 660px) {
	.header-inner { width: calc(100% - 28px); min-height: 100px; grid-template-columns: 1fr 38px 38px; gap: 4px; }
	.brand { gap: 7px; }
	.brand .leaf-mark { width: 30px; }
	.brand strong { font-size: 2.15rem; }
	.brand em { margin-top: 7px; font-size: .83rem; }
	.primary-nav { top: 95px; }
	.primary-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 20px; }
	.header-search { padding: 28px 20px; }
	.search-form { align-items: flex-end; }
	.hero { padding: 75px 10px 30px; }
	.eyebrow { line-height: 1.8; }
	.eyebrow i { margin-inline: 9px; }
	.hero h1 { font-size: 5.3rem; }
	.hero-excerpt { font-size: 1.16rem; }
	.hero-collage { min-height: 370px; }
	.hero-photo { right: 10px; left: 0; }
	.hero-photo img, .hero-image-placeholder { height: 275px; }
	.postmark { width: 78px; height: 78px; top: 23px; right: -4px; }
	.postmark::after { display: none; }
	.stamp { right: 4px; bottom: 10px; width: 78px; height: 98px; border-width: 5px; }
	.stamp span { font-size: 1.7rem; }
	.hand-note { bottom: 5px; left: 13%; width: 190px; font-size: .8rem; }
	.route-line { display: none; }
	.featured-strip { padding-top: 10px; }
	.featured-item { padding: 22px 4px; grid-template-columns: 118px 1fr; gap: 16px; }
	.featured-item h2 { font-size: 1.4rem; }
	.journal { padding: 72px 20px; }
	.section-heading h2, .about-card h2, .archive-hero h1, .page-header h1 { font-size: 3.1rem; }
	.story-card { grid-template-columns: 1fr; }
	.story-card::before { top: 245px; right: 0; bottom: auto; left: 0; width: auto; height: 5px; }
	.card-image { min-height: 250px; max-height: 250px; }
	.image-placeholder { min-height: 250px; }
	.card-copy { padding: 28px 24px; }
	.about-card { width: calc(100% - 32px); margin-block: 75px; }
	.about-postcard { padding: 42px 30px; }
	.archive-grid { grid-template-columns: 1fr; }
	.archive-hero { padding-top: 85px; }
	.single-header, .page-header { padding-top: 90px; }
	.single-header h1 { font-size: 3.7rem; }
	.single-hero-photo, .page-photo { width: calc(100% - 26px); padding: 8px 8px 26px; margin-bottom: 50px; }
	.entry-content { font-size: 1.08rem; }
	.story-navigation { grid-template-columns: 1fr; }
	.story-navigation > div:last-child { text-align: left; }
	.comments-area { width: calc(100% - 28px); padding: 28px 20px; }
	.footer-brand { font-size: 3rem; }
	.footer-widgets { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
