/*!
Theme Name: My Theme
Theme URI: http://underscores.me/
Author: Me
Author URI: http://underscores.me/
Description: Custom theme: My Theme, developed by Me
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mytheme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

My Theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
/* Brand nav + dropdown system lives in the "NAV" section further down
(alongside .navlinks, .logo, etc.) rather than here — this theme's nav
markup/behavior is fully custom, not the stock _s layout. */

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

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

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

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Foundation brand design
Converted from foundation-website-template.html. Fonts (Fraunces,
Work Sans, Space Mono) are enqueued in functions.php, not @import'd
here.
--------------------------------------------------------------*/

:root{
  --ink:#1E2A1E;
  --forest:#24402F;
  --forest-deep:#16281C;
  --paper:#F6F1E1;
  --card:#FFFDF6;
  --gold:#C68A2E;
  --gold-soft:#E4C989;
  --clay:#DD7A1E;
  --line:rgba(30,42,30,0.14);
  --line-on-dark:rgba(246,241,225,0.18);
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:'Work Sans',sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.display{
  font-family:'Fraunces',serif;
  font-weight:600;
  letter-spacing:-0.01em;
  color:var(--ink);
}
.eyebrow{
  font-family:'Space Mono',monospace;
  text-transform:uppercase;
  letter-spacing:0.14em;
  font-size:12px;
  color:var(--gold);
}
.wrap{max-width:1180px;margin:0 auto;padding:0 40px;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}

/* ---------- NAV ---------- */
header{
  position:sticky;top:0;z-index:50;
  background:rgba(246,241,225,0.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
nav.wrap{
  display:flex;align-items:center;justify-content:space-between;
  height:84px;
}
.logo{
  font-family:'Fraunces',serif;font-weight:700;font-size:19px;
  display:flex;align-items:center;gap:12px;
  color:var(--ink);
}
.logo .mark{
  width:44px;height:44px;
  display:flex;align-items:center;justify-content:center;
}
.logo .mark img{width:100%;height:100%;object-fit:contain;}
.logo .word{line-height:1.15;}
.logo .word .sub{
  display:block;font-family:'Space Mono',monospace;font-weight:400;
  font-size:10px;letter-spacing:0.14em;text-transform:uppercase;opacity:0.55;
}
.navlinks{display:flex;gap:20px;font-size:13px;font-weight:500;white-space:nowrap;list-style:none;margin:0;padding:0;}
.navlinks a{opacity:0.75;transition:opacity .2s;display:block;text-decoration:none;}
.navlinks a:hover{opacity:1;}
.navlinks li{position:relative;}

/* Dropdown submenus — revealed on hover (mouse) and .focus (the class
js/navigation.js toggles on ancestor <li> for keyboard/touch users) */
.navlinks .sub-menu{
  display:none;
  position:absolute;top:100%;left:0;
  min-width:220px;padding:16px 0 8px;
  background:var(--card);border:1px solid var(--line);border-radius:2px;
  box-shadow:0 8px 24px rgba(0,0,0,0.12);
  list-style:none;z-index:60;
}
.navlinks li:hover > .sub-menu,
.navlinks li.focus > .sub-menu{display:block;}
.navlinks .sub-menu a{padding:10px 18px;opacity:0.8;white-space:nowrap;}
.navlinks .sub-menu a:hover{opacity:1;background:rgba(30,42,30,0.04);}

.menu-toggle{
  display:none;background:none;cursor:pointer;
  font-family:'Work Sans',sans-serif;font-weight:600;font-size:13px;
  border:1px solid var(--ink);border-radius:2px;padding:8px 16px;color:var(--ink);
}

.btn{
  display:inline-flex;align-items:center;gap:8px;
  font-family:'Work Sans',sans-serif;font-weight:600;font-size:14px;
  padding:12px 22px;border-radius:2px;
  border:1px solid var(--forest);
  transition:all .2s;
}
.btn-solid{background:var(--forest);color:var(--paper);}
.btn-solid:hover{background:var(--forest-deep);}
.btn-ghost{border-color:var(--line-on-dark);color:var(--paper);}
.btn-ghost:hover{background:rgba(246,241,225,0.1);}
.btn-outline-dark{border-color:var(--ink);color:var(--ink);}
.btn-outline-dark:hover{background:var(--ink);color:var(--paper);}

/* ---------- HERO ---------- */
.hero{
  background:var(--forest);
  color:var(--paper);
  position:relative;
  overflow:hidden;
}
.hero .wrap{
  display:grid;grid-template-columns:1.1fr 0.9fr;
  align-items:center;gap:40px;
  padding-top:96px;padding-bottom:96px;
  min-height:640px;
}
.hero .eyebrow{color:var(--gold-soft);margin-bottom:22px;display:block;}
.hero h1{
  font-size:clamp(40px,5.2vw,68px);
  line-height:1.04;
  color:var(--paper);
  margin-bottom:26px;
}
.hero h1 em{
  font-style:italic;color:var(--gold-soft);font-weight:500;
}
.hero p.lede{
  font-size:18px;max-width:480px;color:rgba(246,241,225,0.82);
  margin-bottom:36px;
}
.hero .cta-row{display:flex;gap:16px;flex-wrap:wrap;}
.ripple-wrap{position:relative;height:480px;}
.ripple-wrap svg{position:absolute;inset:0;width:100%;height:100%;}

/* ---------- WHERE WE WORK ---------- */
.where{padding:70px 0;background:var(--card);border-bottom:1px solid var(--line);}
.where .wrap{display:grid;grid-template-columns:0.7fr 1.3fr;gap:60px;align-items:center;}
.where .eyebrow{margin-bottom:16px;display:block;}
.where h3{font-size:24px;margin-bottom:14px;}
.where p{opacity:0.8;max-width:440px;}
.where-cta{display:flex;}

/* ---------- FOUNDER STATEMENT ---------- */
.founder{
  background:var(--paper);
  padding:110px 0;
  border-bottom:1px solid var(--line);
}
.founder .wrap{
  display:grid;grid-template-columns:0.7fr 1.3fr;gap:60px;
}
.founder .eyebrow{margin-bottom:18px;display:block;}
.founder blockquote{
  font-family:'Fraunces',serif;
  font-size:clamp(24px,2.6vw,32px);
  font-weight:500;
  line-height:1.4;
  color:var(--forest-deep);
}
.founder blockquote span.quote-mark{
  color:var(--gold);font-size:1.2em;
}
.founder .attribution{
  margin-top:28px;font-family:'Space Mono',monospace;
  font-size:13px;letter-spacing:0.04em;color:var(--ink);opacity:0.65;
}

/* ---------- VISION / MISSION ---------- */
.vm{padding:0 0 110px;}
.vm .grid2{
  display:grid;grid-template-columns:1fr 1fr;gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.vm .cell{
  display:block;background:var(--card);
  padding:56px 50px;transition:background .2s;
}
.vm .cell:hover{background:var(--paper);}
.vm .cell.dark{background:var(--forest-deep);color:var(--paper);}
.vm .cell.dark:hover{background:var(--forest);}
.vm .cell.dark .eyebrow{color:var(--gold-soft);}
.vm h3{font-size:26px;margin-bottom:16px;}
.vm .cell.dark h3{color:var(--paper);}
.vm p{font-size:16px;opacity:0.85;max-width:440px;}

/* ---------- PILLARS ---------- */
.pillars{padding:110px 0;background:var(--forest);color:var(--paper);}
.pillars .head{max-width:560px;margin-bottom:64px;}
.pillars .eyebrow{color:var(--gold-soft);margin-bottom:16px;display:block;}
.pillars h2{color:var(--paper);font-size:clamp(30px,3.4vw,42px);}
.pillar-list{border-top:1px solid var(--line-on-dark);}
.pillar-row{
  display:grid;grid-template-columns:90px 1fr 1.4fr;
  gap:32px;align-items:start;
  padding:38px 0;
  border-bottom:1px solid var(--line-on-dark);
}
.pillar-row .num{
  font-family:'Space Mono',monospace;font-size:14px;color:var(--gold);
  padding-top:6px;
}
.pillar-row h3{color:var(--paper);font-size:22px;font-weight:500;}
.pillar-row p{color:rgba(246,241,225,0.78);font-size:15px;max-width:520px;}
.pillars-cta{margin-top:40px;}

/* ---------- VALUES STRIP ---------- */
.values{padding:90px 0;border-bottom:1px solid var(--line);}
.values .eyebrow{margin-bottom:22px;display:block;}
.values h2{font-size:28px;margin-bottom:36px;max-width:520px;}
.chip-row{display:flex;flex-wrap:wrap;gap:12px;}
.chip{
  font-size:14px;font-weight:500;
  padding:10px 18px;border:1px solid var(--ink);
  border-radius:20px;
}

/* ---------- IMPACT ---------- */
.impact{padding:110px 0;background:var(--card);border-bottom:1px solid var(--line);}
.impact .headrow{
  display:flex;justify-content:space-between;align-items:flex-end;
  gap:24px;margin-bottom:60px;flex-wrap:wrap;
}
.impact h2{font-size:clamp(30px,3.4vw,42px);max-width:560px;}
.impact .years{font-family:'Space Mono',monospace;font-size:14px;color:var(--clay);}
.stat-grid{
  display:grid;grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line);border-left:1px solid var(--line);
}
.stat{
  border-right:1px solid var(--line);border-bottom:1px solid var(--line);
  padding:36px 28px;
}
.stat .num{
  font-family:'Fraunces',serif;font-weight:600;
  font-size:clamp(36px,4vw,52px);color:var(--forest);
  line-height:1;margin-bottom:14px;
}
.stat .num sup{font-size:0.4em;top:-1.1em;color:var(--gold);}
.stat p{font-size:14px;opacity:0.8;}

/* ---------- PARTNER ---------- */
.partner{padding:110px 0;background:var(--forest-deep);color:var(--paper);}
.partner .wrap{display:grid;grid-template-columns:1fr 1fr;gap:70px;}
.partner .eyebrow{color:var(--gold-soft);margin-bottom:18px;display:block;}
.partner h2{color:var(--paper);font-size:clamp(28px,3.2vw,38px);margin-bottom:20px;}
.partner p.intro{color:rgba(246,241,225,0.8);margin-bottom:32px;max-width:440px;}
.ways{border-top:1px solid var(--line-on-dark);}
.way{
  padding:20px 0;border-bottom:1px solid var(--line-on-dark);
  display:flex;justify-content:space-between;align-items:center;
  font-size:16px;font-weight:500;
}
.way span.arrow{color:var(--gold);font-family:'Space Mono',monospace;}
.way-more{color:var(--gold-soft);}

/* ---------- FOOTER (brand) ---------- */
.site-footer{background:var(--forest-deep);color:rgba(246,241,225,0.7);border-top:1px solid var(--line-on-dark);}
.site-footer .wrap{
  padding:48px 40px 40px;
  display:flex;justify-content:space-between;align-items:center;
  flex-wrap:wrap;gap:16px;
}
.site-footer .tagline{font-family:'Fraunces',serif;font-style:italic;color:var(--gold-soft);font-size:15px;}
.site-footer .fine{font-family:'Space Mono',monospace;font-size:12px;letter-spacing:0.03em;text-transform:uppercase;}

/* ---------- RESPONSIVE ---------- */
@media (max-width:900px){
  .menu-toggle{display:block;}
  .navlinks{
    display:none;flex-direction:column;gap:0;
    position:absolute;top:84px;left:0;right:0;
    background:var(--paper);border-bottom:1px solid var(--line);
    padding:12px 22px 20px;
  }
  .main-navigation.toggled .navlinks{display:flex;}
  .navlinks li{width:100%;}
  .navlinks a{padding:12px 0;}
  .navlinks .sub-menu{
    display:none;flex-direction:column;position:static;margin:0 0 8px 12px;
    padding:0;border:none;box-shadow:none;background:none;
  }
  .navlinks li.focus > .sub-menu,
  .navlinks li:hover > .sub-menu{display:flex;}
  .hero .wrap{grid-template-columns:1fr;padding-top:56px;padding-bottom:56px;}
  .ripple-wrap{height:300px;order:-1;}
  .founder .wrap{grid-template-columns:1fr;gap:30px;}
  .vm .grid2{grid-template-columns:1fr;}
  .pillar-row{grid-template-columns:50px 1fr;}
  .pillar-row p{grid-column:2/3;}
  .stat-grid{grid-template-columns:1fr 1fr;}
  .partner .wrap{grid-template-columns:1fr;gap:36px;}
  .wrap{padding:0 22px;}
}
@media (min-width:901px){
  .menu-toggle{display:none;}
}
@media (prefers-reduced-motion: reduce){
  *{animation:none !important;transition:none !important;}
}

.ripple-circle{
  fill:none;stroke:var(--gold-soft);stroke-width:1;opacity:0;
  animation:rippleFade 2.2s ease forwards;
  transform-origin:center;
}
.ripple-dot{opacity:0;animation:dotFade .6s ease forwards;}
@keyframes rippleFade{
  0%{opacity:0;transform:scale(0.6);}
  35%{opacity:0.9;}
  100%{opacity:0.35;transform:scale(1);}
}
@keyframes dotFade{ to{opacity:1;} }

/*--------------------------------------------------------------
# News listing (home.php)
Converted from foundation-news-template.html. MVP scope: page-head,
card-grid, and the newsletter/donate strip only — the mockup's lead
story, "from the foundation" strip, and filter dropdowns are out of
scope for now (see conversion notes).
--------------------------------------------------------------*/

.page-head{background:var(--forest);color:var(--paper);padding:80px 0 64px;}
.page-head .eyebrow{color:var(--gold-soft);margin-bottom:14px;display:block;}
.page-head h1{color:var(--paper);font-size:clamp(32px,4vw,48px);max-width:640px;}

/* template-interior.php body — reuses .entry-content type rules already
defined for single.php/page.php, just full-width section wrapper instead
of a narrow constrained column */
.interior-body{padding:64px 0 100px;}
.interior-body .wrap{max-width:760px;}

/* Featured/lead spotlight (sticky post) above the News grid */
.spotlight{padding:64px 0 0;}
.spotlight .wrap{display:grid;grid-template-columns:1.2fr 1fr;gap:48px;align-items:center;}
.spotlight-media{display:block;aspect-ratio:4/3;background:var(--forest-deep);border-radius:2px;overflow:hidden;}
.spotlight-media img{width:100%;height:100%;object-fit:cover;}
.spotlight-media .ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:rgba(246,241,225,0.4);font-family:'Space Mono',monospace;font-size:12px;text-align:center;padding:20px;}
.spotlight-body .tag{font-family:'Space Mono',monospace;font-size:11px;text-transform:uppercase;letter-spacing:0.08em;color:var(--clay);display:block;margin-bottom:14px;}
.spotlight-body h2{font-size:clamp(24px,2.6vw,34px);margin-bottom:16px;line-height:1.2;}
.spotlight-body h2 a{opacity:1;}
.spotlight-body p{color:var(--ink);opacity:0.75;margin-bottom:18px;max-width:440px;}
.spotlight-body .date{font-family:'Space Mono',monospace;font-size:12px;opacity:0.55;}

/* Pillar filter */
.filter-row{display:flex;align-items:center;gap:12px;margin-bottom:36px;padding-bottom:28px;border-bottom:1px solid var(--line);}
.filter-row .flabel{font-family:'Space Mono',monospace;font-size:11px;text-transform:uppercase;letter-spacing:0.08em;opacity:0.55;}
.filter-row select{
  font-family:'Work Sans',sans-serif;font-size:14px;padding:9px 14px;
  border:1px solid var(--ink);background:var(--card);border-radius:2px;min-width:200px;
}

.archive{padding:64px 0 100px;}
.archive .wrap > h2{font-size:24px;margin-bottom:28px;}
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:36px 30px;}
.card-grid .card{display:block;}
.card-img{aspect-ratio:3/2;background:var(--forest-deep);border-radius:2px;margin-bottom:16px;overflow:hidden;}
.card-img img{width:100%;height:100%;object-fit:cover;}
.card-img .ph{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:rgba(246,241,225,0.35);font-family:'Space Mono',monospace;font-size:11px;}
.card h3{font-size:18px;font-weight:500;line-height:1.3;margin:2px 0 10px;}
.card p{font-size:14px;opacity:0.75;margin-bottom:4px;}
.card .date{font-family:'Space Mono',monospace;font-size:12px;opacity:0.55;display:block;margin-top:6px;}

.pagination{margin-top:60px;display:flex;justify-content:center;gap:10px;flex-wrap:wrap;font-family:'Space Mono',monospace;font-size:13px;}
.pagination .page-numbers{padding:10px 16px;border:1px solid var(--line);}
.pagination a.page-numbers:hover{background:var(--card);}
.pagination .page-numbers.current{background:var(--forest);color:var(--paper);border-color:var(--forest);}
.pagination .page-numbers.dots{border:none;}

.capture{background:var(--forest-deep);color:var(--paper);padding:70px 0;}
.capture .wrap{display:grid;grid-template-columns:1fr 1fr;gap:60px;}
.capture .eyebrow{color:var(--gold-soft);margin-bottom:14px;display:block;}
.capture h3{color:var(--paper);font-size:24px;margin-bottom:18px;}
.capture p{color:rgba(246,241,225,0.75);margin-bottom:22px;max-width:400px;}
.form-row{display:flex;gap:10px;flex-wrap:wrap;}
.form-row input{
  flex:1;min-width:180px;padding:12px 14px;border:1px solid var(--line-on-dark);
  background:transparent;color:var(--paper);font-family:'Work Sans',sans-serif;font-size:14px;
}
.form-row input::placeholder{color:rgba(246,241,225,0.5);}
.form-row .btn-solid{background:var(--gold);border-color:var(--gold);color:var(--forest-deep);white-space:nowrap;}

@media (max-width:900px){
  .card-grid{grid-template-columns:1fr 1fr;}
  .capture .wrap{grid-template-columns:1fr;}
  .spotlight .wrap{grid-template-columns:1fr;}
}
@media (max-width:600px){
  .card-grid{grid-template-columns:1fr;}
}

/*--------------------------------------------------------------
# Generic content pages (single.php, page.php, search.php, 404.php)
Brand type/color pass only — neither mockup has a matching design
for these views, so layout stays the _s default article flow.
:not(.home) on the .page selector excludes the actual front page,
which also carries a "page" body class but keeps its own full-width
section layout from front-page.php.
--------------------------------------------------------------*/
body.single .site-main,
body.page:not(.home) .site-main:not(.site-main--interior),
body.search .site-main,
body.error404 .site-main{
  max-width:760px;margin:0 auto;padding:64px 40px 100px;
}
.entry-title,.page-title{margin-bottom:14px;}
.entry-meta,.entry-meta *{
  font-family:'Space Mono',monospace;font-size:13px;color:var(--ink);opacity:0.6;
}
.entry-content,.entry-summary,.page-content{font-size:16px;line-height:1.7;}
.entry-content p,.entry-summary p,.page-content p{margin-bottom:1.4em;}
.entry-footer{
  margin-top:40px;padding-top:20px;border-top:1px solid var(--line);
  font-family:'Space Mono',monospace;font-size:13px;opacity:0.7;
}
.site-main article{padding-bottom:40px;margin-bottom:40px;border-bottom:1px solid var(--line);}
.site-main article:last-child{border-bottom:none;}

.search-form{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px;}
.search-form .search-field{
  flex:1;min-width:200px;padding:12px 14px;
  border:1px solid var(--ink);background:var(--card);
  font-family:'Work Sans',sans-serif;font-size:14px;
}
.search-form .search-submit{
  font-family:'Work Sans',sans-serif;font-weight:600;font-size:14px;
  padding:12px 22px;border-radius:2px;cursor:pointer;
  border:1px solid var(--forest);background:var(--forest);color:var(--paper);
}
.search-form .search-submit:hover{background:var(--forest-deep);}
