/*
Theme Name: Lind Sun Print
Theme URI: https://gregoryalinddc.com/
Author: Dependent Media
Author URI: https://dependentmedia.com/
Description: "Printed by Light" for Family Chiropractic & Natural Healing Center (Dr. Gregory A. Lind, D.C., Milpitas). Cyanotype sun prints of California native plants on cotton paper: Prussian blue, sun gold, typed herbarium labels. Core blocks only.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: lind-sunprint
*/

/* ------------------------------------------------------------------ tokens */
:root {
	--gl-ink: #172338;
	--gl-ink-soft: #475266;
	--gl-prussian: #173D70;
	--gl-deep: #102B56;
	--gl-wash: #DDE6EE;
	--gl-mist: #B8CDE2;
	--gl-sun: #F2B33D;
	--gl-sun-soft: #F6C668;
	--gl-sun-ink: #86520C;
	--gl-gold-on-blue: #F4C770;
	--gl-poppy: #E2791C;
	--gl-leaf: #4D6B32;
	--gl-paper: #F5F0E6;
	--gl-paper-light: #FBF8F1;
	--gl-paper-deep: #ECE4D4;
	--gl-line: rgba(23, 35, 56, .16);
	--gl-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
	--gl-body: "Red Hat Text", "Avenir Next", system-ui, sans-serif;
	--gl-label: "Courier Prime", "Courier New", ui-monospace, monospace;
	--gl-ease: cubic-bezier(.2, .7, .2, 1);
	--gl-shadow: 0 1px 1px rgba(23, 35, 56, .05), 0 24px 44px -30px rgba(23, 35, 56, .45);
	--gl-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .1 0 0 0 0 .14 0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	--gl-deckle: url("/wp-content/themes/lind-sunprint/assets/img/deckle.svg");
}

/* ------------------------------------------------------------------ base */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--gl-paper) var(--gl-grain); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--gl-wash); color: var(--gl-ink); }
:where(a) { text-underline-offset: .18em; text-decoration-thickness: 1px; }
:where(a):hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gl-sun); outline-offset: 3px; border-radius: 2px; }
.gl-band :focus-visible { outline-color: var(--gl-gold-on-blue); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gl-prussian); }
strong { font-weight: 650; }
.gl-sr, .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; }
.gl-skip { position: absolute; left: 1rem; top: -4rem; z-index: 1000; background: var(--gl-ink); color: #fff; padding: .7rem 1.1rem; font-weight: 600; text-decoration: none; }
.gl-skip:focus { top: 1rem; }
img { height: auto; }
.wp-site-blocks { overflow-x: clip; }
.gl-main { padding-top: 0 !important; padding-bottom: 0 !important; }
.gl-main > .wp-block-post-content > *:first-child { margin-top: 0; }
.wp-site-blocks > * + *, .gl-main > * + * { margin-block-start: 0; }

/* ------------------------------------------------------------------ type helpers */
.gl-lead { font-size: var(--wp--preset--font-size--md); line-height: 1.6; max-width: 40rem; color: var(--gl-ink); }
.gl-fine { font-size: .92rem; color: var(--gl-ink-soft); }
.gl-more { font-family: var(--gl-label); font-size: .9rem; letter-spacing: .02em; margin-top: 2.2rem !important; max-width: var(--wp--style--global--wide-size) !important; }
.gl-more a { color: var(--gl-prussian); }
.gl-more a::after { content: " →"; }
.gl-center { text-align: center; }
.gl-center .gl-lead { margin-inline: auto; }
.gl-plate { font-family: var(--gl-label); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gl-ink-soft); display: flex; align-items: center; gap: .85rem; margin: 0 0 1.1rem !important; }
.gl-plate__no { color: var(--gl-prussian); font-weight: 700; letter-spacing: .08em; }
.gl-plate__no a { color: inherit; text-decoration: none; }
.gl-plate__no::before { content: "Pl. "; font-weight: 400; }
.gl-plate__no:is(:not(:empty)) + .gl-plate__label::before { content: ""; display: inline-block; width: 2.6rem; height: 1px; background: currentColor; opacity: .45; vertical-align: middle; margin: -.2em .85rem 0 0; }
.gl-plate--light, .gl-band .gl-plate { color: var(--gl-mist); }
.gl-plate--light .gl-plate__no, .gl-band .gl-plate__no { color: var(--gl-gold-on-blue); }
.gl-plate--center { justify-content: center; }
.gl-cta .gl-plate__no::before, .gl-article .gl-plate__no::before, .gl-404 .gl-plate__no::before { content: none; }
.gl-dropcap::first-letter { font-family: var(--gl-display); float: left; font-size: 4.9em; line-height: .78; padding: .08em .1em 0 0; color: var(--gl-prussian); }

/* ------------------------------------------------------------------ sections */
.gl-section { padding-block: clamp(4rem, 2.6rem + 5vw, 7.5rem); position: relative; }
.gl-section + .gl-section { padding-top: clamp(1rem, 2vw, 2rem); }
.gl-section__head { margin-bottom: clamp(2.2rem, 4vw, 3.5rem) !important; }
.gl-section__head h2 { max-width: 18ch; }
.gl-section__head.gl-center h2 { margin-inline: auto; }
.gl-section__head .gl-lead { margin-top: 1.1rem; }
.gl-grid { gap: clamp(1.25rem, 3vw, 2.5rem); }
.gl-rule { border: 0; height: 1px; background: var(--gl-line); max-width: var(--wp--style--global--wide-size) !important; }

/* ------------------------------------------------------------------ buttons */
.wp-block-button__link { transition: background-color .2s var(--gl-ease), color .2s var(--gl-ease), box-shadow .2s var(--gl-ease), transform .2s var(--gl-ease); box-shadow: inset 0 -2px 0 rgba(23, 35, 56, .14); }
.wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button.is-style-ghost .wp-block-button__link { background: transparent; color: var(--gl-ink); box-shadow: inset 0 0 0 1.5px var(--gl-ink); }
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background: var(--gl-ink); color: var(--gl-paper); }
.wp-block-button.is-style-light .wp-block-button__link { background: transparent; color: var(--gl-paper); box-shadow: inset 0 0 0 1.5px rgba(245, 240, 230, .75); }
.wp-block-button.is-style-light .wp-block-button__link:hover { background: var(--gl-paper); color: var(--gl-deep); }
.wp-block-button.is-style-link .wp-block-button__link { background: none; box-shadow: none; padding: .35rem 0; color: var(--gl-prussian); text-decoration: underline; text-underline-offset: .3em; font-weight: 600; }
.wp-block-button.is-style-link .wp-block-button__link::after { content: " →"; }
.gl-band .wp-block-button.is-style-link .wp-block-button__link { color: var(--gl-gold-on-blue); }
.wp-block-buttons { gap: .8rem 1rem; }

/* ------------------------------------------------------------------ top line + header */
.gl-topline { background: var(--gl-deep) url("assets/prints/tex-blue.webp") center / cover; color: var(--gl-paper); font-family: var(--gl-label); font-size: .82rem; }
.gl-topline__row { max-width: var(--wp--style--global--wide-size); margin: 0 auto; padding: .45rem clamp(1rem, 4.5vw, 3rem); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.gl-topline__links { display: flex; gap: 1.4rem; margin: 0; }
.gl-topline a { color: var(--gl-paper); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.gl-topline a:hover { color: var(--gl-gold-on-blue); text-decoration: underline; }
.gl-topline svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.gl-open { display: inline-flex; align-items: center; gap: .5rem; margin: 0; }
.gl-open__dot { width: .55rem; height: .55rem; border-radius: 50%; background: #8FA0B5; box-shadow: 0 0 0 3px rgba(143, 160, 181, .22); flex: none; }
.gl-open[data-state="open"] .gl-open__dot { background: #6FCB86; box-shadow: 0 0 0 3px rgba(111, 203, 134, .25); }
.gl-open[data-state="lunch"] .gl-open__dot, .gl-open[data-state="later"] .gl-open__dot { background: var(--gl-sun); box-shadow: 0 0 0 3px rgba(242, 179, 61, .25); }

.gl-header { background: var(--gl-paper) var(--gl-grain); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--gl-line); transition: box-shadow .3s var(--gl-ease); }
.admin-bar .gl-header { top: 32px; }
.gl-header.is-stuck { box-shadow: 0 10px 30px -22px rgba(23, 35, 56, .55); }
.gl-header__row { padding-block: .85rem; gap: 1.5rem; }
.gl-brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--gl-ink); flex: none; }
.gl-brand__mark { width: 58px; height: 58px; border-radius: 50%; transition: transform .6s var(--gl-ease); }
.gl-brand:hover .gl-brand__mark { transform: rotate(-8deg); }
.gl-brand__word { display: flex; flex-direction: column; line-height: 1; }
.gl-brand__name { font-family: var(--gl-display); font-size: 1.72rem; letter-spacing: -.01em; white-space: nowrap; }
.gl-brand__name span { font-style: italic; color: var(--gl-prussian); }
.gl-brand__sub { font-family: var(--gl-label); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; margin-top: .4rem; color: var(--gl-ink-soft); white-space: nowrap; }

.gl-nav { flex: 1; }
.gl-nav .wp-block-navigation__container { gap: .2rem 1.6rem; }
.gl-nav .wp-block-navigation-item__content { color: var(--gl-ink); text-decoration: none; padding: .5rem 0; position: relative; font-size: 1.02rem; font-weight: 500; }
.gl-nav .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { white-space: nowrap; }
.gl-nav > .wp-block-navigation__responsive-container .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 2px; background: var(--gl-prussian); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--gl-ease); border-radius: 2px; }
.gl-nav .wp-block-navigation-item__content:hover::after, .gl-nav .current-menu-item > .wp-block-navigation-item__content::after, .gl-nav [aria-current="page"]::after, .gl-nav .current-menu-ancestor > .wp-block-navigation-item__content::after { transform: scaleX(1) !important; }
.gl-nav .wp-block-navigation-item__description { display: none; }
.gl-nav .wp-block-navigation__submenu-icon { margin-left: .25rem; width: .7em; }
/* small dropdowns: text under the parent's text, opening to the right, with a hover bridge (house rule) */
.gl-nav .wp-block-navigation__submenu-container { background: var(--gl-paper-light) !important; border: 1px solid var(--gl-line) !important; padding: .55rem 0 !important; min-width: 16rem !important; box-shadow: var(--gl-shadow), 0 18px 40px -20px rgba(23, 35, 56, .35); margin-top: .55rem; }
.gl-nav .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-container { left: calc(0px - 1px - 0px - 1.1rem) !important; right: auto !important; }
.gl-nav .wp-block-navigation__submenu-container::before { content: ""; position: absolute; left: -1rem; right: -1rem; top: -1.6rem; height: 1.6rem; }
.gl-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .55rem 1.1rem !important; display: flex !important; flex-direction: column; align-items: flex-start; gap: .1rem; width: 100%; font-size: 1.04rem; }
.gl-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__description { display: block; font-family: var(--gl-label); font-size: .78rem; color: var(--gl-ink-soft); }
.gl-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover, .gl-nav .wp-block-navigation__submenu-container [aria-current="page"] { background: var(--gl-wash); }
.gl-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
.gl-nav-cta { display: none !important; }
.gl-header__ctas { display: flex; align-items: center; gap: .6rem; flex: none; }
.gl-book { background: var(--gl-sun); color: var(--gl-ink); text-decoration: none; font-weight: 600; padding: .82rem 1.25rem; border-radius: 2px; white-space: nowrap; box-shadow: inset 0 -2px 0 rgba(23, 35, 56, .14); transition: background .2s; }
.gl-book:hover { background: var(--gl-sun-soft); }
.gl-call { width: 46px; height: 46px; border-radius: 50%; display: none; align-items: center; justify-content: center; color: var(--gl-ink); box-shadow: inset 0 0 0 1.5px var(--gl-ink); }
.gl-call svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (min-width: 1180px) and (max-width: 1360px) { .gl-nav .wp-block-navigation__container { column-gap: 1.15rem; } .gl-book__more { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (max-width: 1179px) {
	.gl-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.gl-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.gl-nav { flex: 0 0 auto; order: 3; }
	.gl-header__ctas { margin-left: auto; }
	.gl-call { display: inline-flex; }
}
.gl-nav .wp-block-navigation__responsive-container-open { width: 46px; height: 46px; border-radius: 50%; background: var(--gl-deep); color: var(--gl-paper); align-items: center; justify-content: center; }
.gl-nav .wp-block-navigation__responsive-container-open svg { width: 22px; height: 22px; }
/* phone and tablet menu: the whole screen becomes a sheet of blue print */
.gl-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--gl-deep) url("assets/prints/tex-blue.webp") center / cover !important; color: var(--gl-paper) !important; padding: 1.25rem clamp(1.25rem, 6vw, 3rem) 2.5rem; overflow-y: auto; animation: gl-fade .3s var(--gl-ease) !important; }
.gl-nav .is-menu-open::after { content: ""; position: fixed; right: -40px; bottom: -30px; width: min(70vw, 420px); aspect-ratio: 520 / 640; background: url("assets/prints/ov-fern.webp") center / contain no-repeat; opacity: .35; pointer-events: none; }
.gl-nav .wp-block-navigation__responsive-container-close { color: var(--gl-paper); top: 1.4rem; right: 1.4rem; }
.gl-nav .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }
.gl-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 4.5rem !important; position: relative; z-index: 1; }
.gl-nav .is-menu-open .wp-block-navigation__container { gap: .15rem !important; }
.gl-nav .is-menu-open .wp-block-navigation-item__content { color: var(--gl-paper) !important; font-family: var(--gl-display); font-size: clamp(2.1rem, 8vw, 2.9rem); font-weight: 400; padding: .1rem 0 !important; }
.gl-nav .is-menu-open .wp-block-navigation__submenu-container { background: transparent !important; box-shadow: none; border: 0 !important; border-left: 1px solid rgba(244, 199, 112, .55) !important; padding: 0 0 0 1.1rem !important; margin: .25rem 0 .9rem !important; min-width: 0 !important; }
.gl-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-family: var(--gl-body); font-size: 1.1rem; padding: .32rem 0 !important; color: var(--gl-mist) !important; }
.gl-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__description { display: none; }
.gl-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: none; color: var(--gl-gold-on-blue) !important; }
.gl-nav .is-menu-open [aria-current="page"] { background: none; color: var(--gl-gold-on-blue) !important; }
.gl-nav .is-menu-open .wp-block-navigation-item__content::after { display: none !important; }
.gl-nav .is-menu-open .gl-nav-cta { display: block !important; margin-top: 1.2rem; }
.gl-nav .is-menu-open .gl-nav-cta .wp-block-navigation-item__content { font-family: var(--gl-body); font-size: 1.12rem; font-weight: 600; display: inline-block; padding: .9rem 1.4rem !important; background: var(--gl-sun); color: var(--gl-ink) !important; }
.gl-nav .is-menu-open .gl-nav-cta--call { margin-top: .6rem; }
.gl-nav .is-menu-open .gl-nav-cta--call .wp-block-navigation-item__content { background: transparent; color: var(--gl-paper) !important; box-shadow: inset 0 0 0 1.5px rgba(245, 240, 230, .7); }
@keyframes gl-fade { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------------------------ home hero + the developing print */
.gl-hero { padding-block: clamp(2.5rem, 1rem + 4.5vw, 5rem) clamp(1rem, 2vw, 2rem); position: relative; }
.gl-hero__inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.gl-hero__place { font-family: var(--gl-label); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gl-ink-soft); margin: 0 0 1.4rem; }
.gl-hero h1 { font-size: clamp(3.3rem, 1.2rem + 5.4vw, 6.9rem); line-height: .93; margin: 0; max-width: 11ch; }
.gl-hero h1 em { display: block; }
.gl-hero .gl-lead { margin-top: 1.7rem; max-width: 34rem; }
.gl-hero__btns { margin-top: 2rem; }
.gl-hero__facts { list-style: none; padding: 1.3rem 0 0; margin: 2.2rem 0 0; border-top: 1px solid var(--gl-line); display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; font-family: var(--gl-label); font-size: .86rem; color: var(--gl-ink-soft); max-width: 36rem; }
.gl-hero__facts li { display: flex; align-items: center; gap: .55rem; margin: 0; }
.gl-hero__facts li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gl-prussian); box-shadow: 0 0 0 3px var(--gl-wash); }

.gl-sunprint { margin: 0; position: relative; }
.gl-sunprint__sheet { position: relative; aspect-ratio: 4 / 5; isolation: isolate; }
.gl-sunprint__sheet img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gl-sunprint__final { z-index: 1; }
.gl-sunprint__raw { z-index: 2; opacity: 0; }
.gl-sunprint__exp { z-index: 3; opacity: 0; }
.gl-sunprint__live { z-index: 4; opacity: 0; transform-origin: 50% 70%; }
.gl-sunprint__light { position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(104deg, transparent 30%, rgba(255, 236, 190, .0) 38%, rgba(255, 236, 190, .55) 50%, rgba(255, 236, 190, 0) 62%, transparent 70%); background-size: 260% 100%; background-position: 130% 0; mix-blend-mode: screen; opacity: 0; }
.gl-sunprint__wash { position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0; background: radial-gradient(120% 60% at 50% 120%, rgba(180, 210, 235, .35), transparent 60%); }
.gl-sunprint__glow { position: absolute; inset: 0; z-index: 7; pointer-events: none; opacity: 0; transition: opacity .5s; background: radial-gradient(240px 240px at var(--mx, 50%) var(--my, 40%), rgba(255, 240, 205, .26), transparent 70%); mix-blend-mode: soft-light; }
.gl-sunprint:hover .gl-sunprint__glow { opacity: 1; }
.gl-sunprint__cap { font-family: var(--gl-label); font-size: .8rem; line-height: 1.5; color: var(--gl-ink-soft); margin: .4rem auto 0; max-width: 30rem; text-align: center; padding-inline: 1rem; }
.gl-sunprint__pl { font-weight: 700; color: var(--gl-prussian); }
.gl-sunprint__again { font: inherit; color: var(--gl-prussian); background: none; border: 0; padding: .2rem 0; margin-left: .3rem; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; display: inline-flex; align-items: center; gap: .35rem; }
.gl-sunprint__again[hidden] { display: none; }
.gl-sunprint__again svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
/* the develop sequence (classes set by site.js; an inline head script hides the finished print until the sheet is ready) */
html.gl-develop-pending .gl-sunprint__final { opacity: 0; }
html.gl-noreveal .gl-sunprint__final { opacity: 1 !important; }
.gl-sunprint.is-raw .gl-sunprint__final { opacity: 1; }
.gl-sunprint.is-raw .gl-sunprint__raw { opacity: 1; }
.gl-sunprint.is-raw .gl-sunprint__live { opacity: 1; animation: gl-settle .9s var(--gl-ease) both; }
.gl-sunprint.is-exposing .gl-sunprint__light { opacity: 1; animation: gl-sweep 1.5s cubic-bezier(.45, .05, .35, 1) forwards; }
.gl-sunprint__exp { transition: opacity 1.3s ease; }
.gl-sunprint.is-exposing .gl-sunprint__exp { opacity: 1; }
.gl-sunprint.is-lifting .gl-sunprint__live { animation: gl-lift 1s cubic-bezier(.5, 0, .3, 1) forwards; }
.gl-sunprint.is-washing .gl-sunprint__raw { opacity: 0; }
.gl-sunprint.is-washing .gl-sunprint__exp { -webkit-mask-image: linear-gradient(to top, transparent 0%, transparent 38%, #000 62%, #000 100%); mask-image: linear-gradient(to top, transparent 0%, transparent 38%, #000 62%, #000 100%); -webkit-mask-size: 100% 260%; mask-size: 100% 260%; -webkit-mask-position: 0 0; mask-position: 0 0; animation: gl-rinse 1.6s ease-in-out both; }
.gl-sunprint.is-washing .gl-sunprint__wash { animation: gl-washglow 1.8s ease-out forwards; }
@keyframes gl-settle { from { opacity: 0; transform: translateY(-14px) scale(1.03); } to { opacity: 1; transform: none; } }
@keyframes gl-sweep { from { background-position: 130% 0; } to { background-position: -30% 0; } }
@keyframes gl-lift { 0% { opacity: 1; transform: none; } 30% { opacity: 1; transform: translate(-.6%, -1.6%) scale(1.02) rotate(-.4deg); } 100% { opacity: 0; transform: translate(-3%, -7%) scale(1.07) rotate(-1.4deg); } }
@keyframes gl-rinse { from { -webkit-mask-position: 0 0; mask-position: 0 0; } to { -webkit-mask-position: 0 100%; mask-position: 0 100%; } }
@keyframes gl-washglow { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0; } }

/* ------------------------------------------------------------------ the doctor (oval portrait, drop cap, pull quote) */
.gl-doctor { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.gl-oval { margin: 0; justify-self: center; text-align: center; }
.gl-oval__mat { width: min(100%, 360px); aspect-ratio: 4 / 5; background: var(--gl-paper-light); border-radius: 50%; padding: 26px; box-shadow: var(--gl-shadow), inset 0 0 0 1px rgba(23, 35, 56, .08); position: relative; }
.gl-oval__mat::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; border: 1px solid rgba(23, 61, 112, .28); }
.gl-oval__mat img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; filter: saturate(.95) contrast(1.02); }
.gl-oval figcaption { font-family: var(--gl-label); font-size: .82rem; letter-spacing: .06em; color: var(--gl-ink-soft); margin-top: 1rem; }
.gl-doctor__copy h2 { max-width: 13ch; }
.gl-pull { margin: 2rem 0 1.4rem !important; padding: 1.4rem 0 0 !important; border-top: 1px solid var(--gl-line); position: relative; }
.gl-pull p { font-family: var(--gl-display); font-size: clamp(1.45rem, 1.1rem + 1vw, 1.85rem); line-height: 1.22; font-style: italic; color: var(--gl-prussian); margin: 0; }
.gl-pull cite { display: block; font-family: var(--gl-label); font-style: normal; font-size: .82rem; color: var(--gl-ink-soft); margin-top: .8rem; }

/* ------------------------------------------------------------------ the herbarium (specimen sheets) */
.gl-herbarium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.75rem, 3.5vw, 3rem) clamp(1.25rem, 3vw, 2.6rem); align-items: start; }
.gl-herbarium + .gl-more { margin-top: clamp(3rem, 6vw, 5rem) !important; }
.gl-herbarium > .wp-block-html, .gl-herbarium > * { margin: 0 !important; }
.gl-herbarium > :nth-child(3n + 2) { transform: translateY(2.2rem); }
.gl-specimen { position: relative; isolation: isolate; padding: 22px 22px 26px; display: flex; flex-direction: column; transition: transform .45s var(--gl-ease); }
.gl-specimen::before { content: ""; position: absolute; inset: 0; z-index: -1; border-style: solid; border-width: 22px; border-image: var(--gl-deckle) 40 fill / 22px round; filter: drop-shadow(0 14px 16px rgba(23, 35, 56, .13)) drop-shadow(0 1px 1px rgba(23, 35, 56, .08)); transition: filter .45s var(--gl-ease); }
.gl-specimen:hover { transform: translateY(-6px) rotate(-.4deg); }
.gl-specimen:hover::before { filter: drop-shadow(0 24px 22px rgba(23, 35, 56, .18)) drop-shadow(0 1px 1px rgba(23, 35, 56, .08)); }
.gl-specimen__print { margin: 0 0 .4rem; }
.gl-specimen__print img { display: block; width: 100%; aspect-ratio: 4 / 5; }
.gl-specimen__label { position: relative; border: 1px solid rgba(23, 35, 56, .55); padding: .9rem 1rem 1rem; background: var(--gl-paper-light); margin: .2rem 0 0 auto; width: 92%; }
.gl-specimen__label::before { content: ""; position: absolute; inset: 3px; border: .5px solid rgba(23, 35, 56, .25); pointer-events: none; }
.gl-specimen__no { font-family: var(--gl-label); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gl-prussian); margin: 0 0 .25rem; font-weight: 700; }
.gl-specimen__title { font-size: clamp(1.6rem, 1.2rem + .9vw, 2rem); margin: 0 0 .45rem; }
.gl-specimen__title a { color: var(--gl-ink); text-decoration: none; }
.gl-specimen__title a::after { content: ""; position: absolute; inset: -400px -22px -22px; z-index: 2; }
.gl-specimen:hover .gl-specimen__title a { color: var(--gl-prussian); text-decoration: underline; text-decoration-thickness: 1px; }
.gl-specimen__text { font-size: .98rem; line-height: 1.55; margin: 0 0 .75rem; }
.gl-specimen__plant { font-family: var(--gl-label); font-size: .78rem; line-height: 1.45; color: var(--gl-ink-soft); margin: 0; padding-top: .6rem; border-top: 1px dashed rgba(23, 35, 56, .3); }
.gl-specimen__plant span { color: var(--gl-ink); font-weight: 700; }

/* ------------------------------------------------------------------ dark print bands (texture + brushed edges) */
.gl-band { position: relative; background: var(--gl-deep) url("assets/prints/tex-blue.webp") center / cover; color: var(--gl-paper); --edge: 58px;
	-webkit-mask: url("assets/prints/edge-top.png") center top / 2400px var(--edge) repeat-x, linear-gradient(#000 0 0) 0 calc(var(--edge) - 2px) / 100% calc(100% - 2 * var(--edge) + 4px) no-repeat, url("assets/prints/edge-bottom.png") center bottom / 2400px var(--edge) repeat-x;
	mask: url("assets/prints/edge-top.png") center top / 2400px var(--edge) repeat-x, linear-gradient(#000 0 0) 0 calc(var(--edge) - 2px) / 100% calc(100% - 2 * var(--edge) + 4px) no-repeat, url("assets/prints/edge-bottom.png") center bottom / 2400px var(--edge) repeat-x; }
.gl-band :is(h1, h2, h3, h4) { color: var(--gl-paper); }
.gl-band :is(h1, h2, h3) em { color: var(--gl-gold-on-blue); }
.gl-band a:not(.wp-block-button__link) { color: var(--gl-paper); }
.gl-band a:not(.wp-block-button__link):hover { color: var(--gl-gold-on-blue); }
.gl-band .gl-lead, .gl-band p { color: rgba(245, 240, 230, .92); }

/* light band: body, mind, spirit + coherent light */
.gl-lightband { padding-block: calc(var(--edge) + clamp(3rem, 6vw, 6rem)); margin-block: clamp(1rem, 3vw, 2.5rem); }
.gl-lightband__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.gl-lightband h2 { max-width: 14ch; }
.gl-light { margin: 0; }
.gl-light__canvas { display: block; width: 100%; height: auto; aspect-ratio: 900 / 420; border: 1px solid rgba(184, 205, 226, .25); background: radial-gradient(80% 90% at 50% 50%, rgba(23, 61, 112, .55), rgba(10, 26, 54, .6)); }
.gl-light__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 1rem; }
.gl-light__switch { display: inline-flex; border: 1px solid rgba(184, 205, 226, .5); }
.gl-band .gl-motion { color: var(--gl-mist); border-color: rgba(184, 205, 226, .4); }
.gl-light__switch button { font: 600 .95rem var(--gl-body); color: var(--gl-mist); background: transparent; border: 0; padding: .6rem 1.1rem; cursor: pointer; }
.gl-light__switch button[aria-pressed="true"] { background: var(--gl-paper); color: var(--gl-deep); }
.gl-light__cap { font-family: var(--gl-label); font-size: .8rem; line-height: 1.55; color: var(--gl-mist); margin-top: .9rem; max-width: 40rem; }

/* ------------------------------------------------------------------ unfurling fern (wellness steps) */
.gl-unfurl { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.gl-unfurl__stage { position: sticky; top: 140px; }
.gl-unfurl__print { position: relative; aspect-ratio: 400 / 520; background: var(--gl-deep) url("assets/prints/tex-blue.webp") center / cover; -webkit-mask: var(--gl-deckle) 40 / 22px round; }
.gl-unfurl__print { -webkit-mask: none; mask: none; border-radius: 2px; box-shadow: var(--gl-shadow); }
.gl-unfurl__print::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(245, 240, 230, .18); pointer-events: none; }
.gl-unfurl__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gl-unfurl__frond path { fill: #F0F1EC; }
.gl-unfurl__svg { filter: drop-shadow(0 0 1.2px rgba(240, 241, 236, .55)); }
.gl-unfurl__dots { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.gl-unfurl__dots button { font: 600 .92rem var(--gl-body); color: var(--gl-ink); background: transparent; border: 1px solid var(--gl-line); padding: .5rem .85rem; cursor: pointer; display: inline-flex; gap: .45rem; align-items: center; }
.gl-unfurl__dots button span { font-family: var(--gl-label); color: var(--gl-prussian); }
.gl-unfurl__dots button[aria-pressed="true"] { background: var(--gl-deep); color: var(--gl-paper); border-color: var(--gl-deep); }
.gl-unfurl__dots button[aria-pressed="true"] span { color: var(--gl-gold-on-blue); }
.gl-unfurl__steps { list-style: none; margin: 0; padding: 0; }
.gl-unfurl__step { padding: 0 0 clamp(2.5rem, 7vw, 5.5rem) 1.4rem; margin: 0; border-left: 2px solid var(--gl-line); transition: border-color .5s var(--gl-ease); scroll-margin-top: 140px; }
.gl-unfurl__step.is-on { border-left-color: var(--gl-sun); }
.gl-unfurl__step.is-on h3 { color: var(--gl-prussian); }
.gl-unfurl__step:last-child { padding-bottom: 0; }
.gl-unfurl__no { font-family: var(--gl-label); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gl-prussian); font-weight: 700; margin: 0 0 .5rem; }
.gl-unfurl__step h3 { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.9rem); margin: 0 0 1rem; }
.gl-unfurl__step p { max-width: 36rem; }
.gl-unfurl--compact .gl-unfurl__step { padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.gl-unfurl--compact .gl-unfurl__print { max-width: 440px; }

/* ------------------------------------------------------------------ letters (testimonials) */
.gl-letters { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.gl-letters > * { margin: 0 !important; }
.gl-letters > :nth-child(1) { grid-column: 1 / span 7; grid-row: span 2; }
.gl-letters > :nth-child(2) { grid-column: 8 / span 5; transform: rotate(.6deg); }
.gl-letters > :nth-child(3) { grid-column: 8 / span 5; transform: rotate(-.5deg); }
.gl-letters > :nth-child(4) { grid-column: 2 / span 6; transform: rotate(-.35deg); margin-top: -.5rem !important; }
.gl-letter { position: relative; isolation: isolate; margin: 0; padding: clamp(1.8rem, 3vw, 2.6rem) clamp(1.6rem, 3vw, 2.6rem) clamp(1.6rem, 3vw, 2.2rem); }
.gl-letter::before { content: ""; position: absolute; inset: 0; z-index: -1; border-style: solid; border-width: 22px; border-image: var(--gl-deckle) 40 fill / 22px round; filter: drop-shadow(0 12px 14px rgba(23, 35, 56, .12)); }
.gl-letter__text { margin: 0; padding: 0; border: 0; }
.gl-letter__text p { font-family: var(--gl-display); font-size: clamp(1.28rem, 1.05rem + .5vw, 1.5rem); line-height: 1.38; margin: 0 0 .8rem; }
.gl-letter__text p:last-child { margin-bottom: 0; }
.gl-letter__text strong { font-weight: 400; font-style: italic; color: var(--gl-prussian); }
.gl-letter--feature .gl-letter__text p { font-size: clamp(1.45rem, 1.1rem + .9vw, 1.95rem); }
.gl-letter--feature::after { content: "“"; position: absolute; left: clamp(.6rem, 2vw, 1.2rem); top: -.6rem; font-family: var(--gl-display); font-size: 7rem; line-height: 1; color: var(--gl-prussian); opacity: .18; z-index: -1; }
.gl-letter__sig { margin-top: 1.2rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .7rem; font-family: var(--gl-label); font-size: .86rem; }
.gl-letter__name { font-weight: 700; color: var(--gl-ink); }
.gl-letter__name::before { content: "— "; color: var(--gl-ink-soft); font-weight: 400; }
.gl-letter__place { color: var(--gl-ink-soft); }

/* ------------------------------------------------------------------ first visit: steps on a horsetail stem */
.gl-visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.gl-visit h2 { max-width: 12ch; }
.gl-stem { list-style: none; margin: 0; padding: 0 0 0 0; position: relative; counter-reset: s; }
.gl-stem::before { content: ""; position: absolute; left: 25px; top: 10px; bottom: 30px; width: 8px; border-radius: 4px; background: repeating-linear-gradient(to bottom, var(--gl-leaf) 0 74px, transparent 74px 78px); opacity: .9; }
.gl-stem__step { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 1.1rem; margin: 0 0 1.6rem; }
.gl-stem__node { position: relative; z-index: 1; width: 58px; height: 58px; display: grid; place-items: center; font-family: var(--gl-display); font-size: 1.35rem; color: var(--gl-paper); background: var(--gl-deep) url("assets/prints/tex-blue.webp") center / 400px; border-radius: 50%; box-shadow: 0 0 0 5px var(--gl-paper), 0 0 0 6px rgba(77, 107, 50, .45); }
.gl-stem__body h3 { font-size: clamp(1.55rem, 1.2rem + .9vw, 2rem); margin: .55rem 0 .4rem; }
.gl-stem__body p { margin: 0; }
.gl-stem--short .gl-stem__body p { font-size: 1rem; }

/* ------------------------------------------------------------------ hours (exposure strips), map, address card */
.gl-find { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-areas: 'map hours' 'map card'; gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.gl-find > .gl-find__hours { grid-area: hours; }
.gl-find > .gl-map { grid-area: map; }
.gl-find > .gl-card { grid-area: card; }
.gl-find > * { margin: 0 !important; }
.gl-card__kicker { font-family: var(--gl-label); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gl-prussian); font-weight: 700; margin: 0 0 1rem; }
.gl-strips { margin: 0; display: grid; gap: .5rem; }
.gl-strips__scale, .gl-strips__row { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); align-items: center; gap: .6rem; }
.gl-strips__ticks { display: flex; justify-content: space-between; font-family: var(--gl-label); font-size: .72rem; color: var(--gl-ink-soft); }
.gl-strips__day { font-family: var(--gl-label); font-size: .86rem; font-weight: 700; }
.gl-strips__day abbr { text-decoration: none; }
.gl-strips__strip { position: relative; height: 34px; background: #E9E3CF; box-shadow: inset 0 0 0 1px rgba(23, 35, 56, .1); overflow: hidden; }
.gl-strips__strip::before { content: ""; position: absolute; inset: 0; background: var(--gl-grain); opacity: .9; }
.gl-strips__lit { position: absolute; top: 0; bottom: 0; left: var(--from); width: var(--len); background: var(--gl-prussian) url("assets/prints/tex-blue.webp") center / 600px; display: flex; align-items: center; justify-content: center; color: var(--gl-paper); font-family: var(--gl-label); font-size: .76rem; white-space: nowrap; box-shadow: 0 0 6px 1px rgba(23, 61, 112, .35); }
.gl-strips__lit span { padding: 0 .3rem; overflow: hidden; text-overflow: clip; }
.gl-strips__off { position: absolute; inset: 0; display: flex; align-items: center; padding-left: .7rem; font-family: var(--gl-label); font-size: .76rem; color: var(--gl-ink-soft); }
.gl-strips__now { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--gl-poppy); left: var(--now, -10px); display: none; }
.gl-strips__row.is-today .gl-strips__now { display: block; }
.gl-strips__row.is-today .gl-strips__day { color: var(--gl-prussian); }
.gl-strips__row.is-today .gl-strips__day abbr::after { content: " ·"; color: var(--gl-poppy); }
.gl-map { margin: 0; }
.gl-map svg { display: block; width: 100%; height: auto; }
.gl-map__cap { font-family: var(--gl-label); font-size: .78rem; color: var(--gl-ink-soft); margin-top: .5rem; }
.gl-card { position: relative; isolation: isolate; padding: 1.9rem 1.7rem; }
.gl-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-style: solid; border-width: 22px; border-image: var(--gl-deckle) 40 fill / 22px round; filter: drop-shadow(0 12px 14px rgba(23, 35, 56, .12)); }
.gl-card p { margin: 0 0 .7rem; }
.gl-card__big { font-family: var(--gl-display); font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.4rem); line-height: 1.05; }
.gl-card__big a { color: var(--gl-ink); text-decoration: none; }
.gl-card__big a:hover { color: var(--gl-prussian); text-decoration: underline; }
.gl-card__small { font-size: .92rem; color: var(--gl-ink-soft); }
.gl-card__links { font-size: .95rem; }
.gl-open--card { font-family: var(--gl-label); font-size: .86rem; margin-top: 1rem !important; padding-top: .9rem; border-top: 1px dashed var(--gl-line); width: 100%; }

/* ------------------------------------------------------------------ journal entries */
.gl-entries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.gl-entry { margin: 0; }
.gl-entry__link { display: flex; flex-direction: column; text-decoration: none; color: var(--gl-ink); height: 100%; }
.gl-entry__media { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--gl-paper-deep); margin: 0 0 1rem; padding: 10px; box-shadow: var(--gl-shadow); }
.gl-entry__media::after { content: ""; position: absolute; inset: 10px; box-shadow: inset 0 0 0 1px rgba(23, 35, 56, .08); pointer-events: none; }
.gl-entry__media img, .gl-entry--loop .gl-entry__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--gl-ease); }
.gl-entry__media--none { background: var(--gl-deep) url("assets/prints/tex-blue.webp") center / cover; }
.gl-entry__link:hover .gl-entry__media img, .gl-entry--loop:hover .gl-entry__media img { transform: scale(1.04); }
.gl-entry__date, .gl-entry--loop .gl-entry__date { font-family: var(--gl-label); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gl-prussian); margin: 0 0 .35rem; display: block; }
.gl-entry__title, .gl-entry--loop .gl-entry__title { font-family: var(--gl-display); font-size: clamp(1.55rem, 1.2rem + .8vw, 1.95rem); line-height: 1.1; margin: 0 0 .5rem; display: block; }
.gl-entry--loop .gl-entry__title a { color: var(--gl-ink); text-decoration: none; }
.gl-entry__link:hover .gl-entry__title, .gl-entry--loop .gl-entry__title a:hover { color: var(--gl-prussian); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.gl-entry__text, .gl-entry--loop .gl-entry__text { font-size: .98rem; line-height: 1.55; color: var(--gl-ink-soft); display: block; margin: 0; }
.gl-entry--loop .gl-entry__media { margin-bottom: 1rem; }
.gl-entry--loop .wp-block-post-featured-image a { display: block; height: 100%; }
.gl-loop__grid { row-gap: clamp(2rem, 3.5vw, 3rem) !important; }
.gl-pager { margin-top: clamp(2.5rem, 5vw, 4rem) !important; font-family: var(--gl-label); gap: .3rem; }
.gl-pager a, .gl-pager .page-numbers { padding: .45rem .75rem; text-decoration: none; color: var(--gl-ink); }
.gl-pager .page-numbers.current { background: var(--gl-deep); color: var(--gl-paper); }
.gl-pager a:hover { background: var(--gl-wash); }

/* ------------------------------------------------------------------ call to action */
.gl-cta { padding-block: calc(var(--edge) + clamp(4rem, 8vw, 7.5rem)); margin-top: clamp(1.5rem, 3vw, 3rem); text-align: center; overflow: hidden; }
.gl-cta__art { position: absolute; inset: 0; pointer-events: none; max-width: none !important; margin: 0 !important; }
.gl-cta__art img { position: absolute; bottom: 0; height: 112%; width: auto; max-width: none; opacity: .95; }
.gl-cta__left { left: max(-120px, calc(50% - 900px)); }
.gl-cta__right { right: max(-120px, calc(50% - 900px)); }
.gl-cta__copy { position: relative; max-width: 40rem; margin-inline: auto !important; }
.gl-cta h2 { font-size: clamp(3rem, 1.5rem + 4.6vw, 5.6rem); line-height: .95; }
.gl-cta h2 em { display: block; }
.gl-cta__quote { font-family: var(--gl-display); font-style: italic; font-size: clamp(1.3rem, 1rem + .8vw, 1.6rem); line-height: 1.35; margin: 1.6rem auto 0 !important; max-width: 32rem; }
.gl-cta__quote span { display: block; font-family: var(--gl-label); font-style: normal; font-size: .82rem; color: var(--gl-mist) !important; margin-top: .6rem; }
.gl-cta__btns { justify-content: center; margin-top: 2.2rem !important; }

/* ------------------------------------------------------------------ footer */
.gl-footer { --edge: 50px; -webkit-mask: url("assets/prints/edge-top.png") center top / 2400px var(--edge) repeat-x, linear-gradient(#000 0 0) 0 calc(var(--edge) - 2px) / 100% 100% no-repeat; mask: url("assets/prints/edge-top.png") center top / 2400px var(--edge) repeat-x, linear-gradient(#000 0 0) 0 calc(var(--edge) - 2px) / 100% 100% no-repeat; padding-top: 0; padding-bottom: 2rem; margin-top: 0; font-size: .98rem; }
.gl-cta + .gl-footer, main + .gl-footer { margin-top: 0; }
.gl-footer__meadow { height: clamp(110px, 11vw, 190px); margin: 0 calc(-1 * clamp(1rem, 4.5vw, 3rem)) !important; max-width: none !important; overflow: hidden; position: relative; }
.gl-footer__meadow img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: max(100%, 1300px); max-width: none; height: auto; opacity: .9; }
.gl-footer__inner { max-width: var(--wp--style--global--wide-size); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, .9fr); gap: 2rem clamp(1.5rem, 3vw, 2.5rem); padding: clamp(2rem, 4vw, 3.5rem) 0 2.5rem; border-top: 1px solid rgba(184, 205, 226, .22); }
.gl-footer p { margin: 0 0 .75rem; }
.gl-footer__logo { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--gl-paper) !important; }
.gl-footer__logo img { width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(245, 240, 230, .3); }
.gl-footer__logo span { display: flex; flex-direction: column; font-family: var(--gl-label); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; color: var(--gl-mist); }
.gl-footer__logo strong { font-family: var(--gl-display); font-weight: 400; font-size: 1.7rem; letter-spacing: 0; text-transform: none; color: var(--gl-paper); line-height: 1.05; }
.gl-footer__line { margin-top: 1.1rem !important; max-width: 24rem; }
.gl-footer__btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem !important; }
.gl-pill { display: inline-block; padding: .72rem 1.1rem; text-decoration: none; font-weight: 600; font-size: .95rem; }
.gl-pill--sun { background: var(--gl-sun); color: var(--gl-ink) !important; }
.gl-pill--sun:hover { background: var(--gl-sun-soft); }
.gl-pill--ghost { box-shadow: inset 0 0 0 1.5px rgba(245, 240, 230, .7); color: var(--gl-paper) !important; }
.gl-pill--ghost:hover { background: var(--gl-paper); color: var(--gl-deep) !important; }
.gl-footer__h { font-family: var(--gl-label) !important; font-size: .78rem !important; letter-spacing: .16em; text-transform: uppercase; color: var(--gl-gold-on-blue) !important; margin: .4rem 0 1rem; font-weight: 700; }
.gl-footer__small { font-size: .88rem; color: var(--gl-mist) !important; }
.gl-footer__nav ul { list-style: none; margin: 0; padding: 0; }
.gl-footer__nav li { margin: 0 0 .45rem; }
.gl-hourlist { margin: 0 0 .9rem; font-size: .9rem; }
.gl-hourlist div { display: grid; grid-template-columns: 2.6rem 1fr; gap: .6rem; padding: .16rem 0; }
.gl-hourlist dd span + span::before { content: none; }
.gl-hourlist dt { color: var(--gl-mist); }
abbr[title] { text-decoration: none; cursor: help; }
.gl-hourlist dd { margin: 0; display: flex; flex-direction: column; }
.gl-hourlist div.is-today dt, .gl-hourlist div.is-today dd { color: var(--gl-gold-on-blue); font-weight: 600; }
.gl-hourlist__closed { opacity: .75; }
.gl-open--footer { font-family: var(--gl-label); font-size: .82rem; }
.gl-footer__base { max-width: var(--wp--style--global--wide-size); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(184, 205, 226, .22); font-size: .84rem; color: var(--gl-mist); }
.gl-footer__base p { color: var(--gl-mist) !important; margin: 0; }
.gl-footer__colophon { font-family: var(--gl-label); font-size: .76rem; max-width: 34rem; }

/* ------------------------------------------------------------------ interior page heads */
.gl-pagehead { padding-block: calc(var(--edge) + clamp(1.5rem, 4vw, 3.5rem)) calc(var(--edge) + clamp(2rem, 5vw, 4.5rem)); margin-bottom: clamp(.5rem, 2vw, 1.5rem); overflow: hidden; }
.gl-pagehead { --edge: 44px; -webkit-mask: linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--edge) + 2px) no-repeat, url("assets/prints/edge-bottom.png") center bottom / 2400px var(--edge) repeat-x; mask: linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--edge) + 2px) no-repeat, url("assets/prints/edge-bottom.png") center bottom / 2400px var(--edge) repeat-x; padding-top: clamp(3rem, 6vw, 5.5rem); }
.gl-pagehead__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); gap: 2rem; align-items: center; position: relative; }
.gl-pagehead__kicker { font-family: var(--gl-label); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gl-gold-on-blue) !important; margin: 0 0 1rem; }
.gl-pagehead h1 { font-size: clamp(3rem, 1.4rem + 4.6vw, 5.8rem); line-height: .95; max-width: 14ch; margin: 0; }
.gl-pagehead .gl-lead { margin-top: 1.3rem; max-width: 38rem; }
.gl-pagehead__art { position: relative; height: 100%; min-height: 220px; }
.gl-pagehead__art img { position: absolute; right: -2rem; bottom: calc(-1 * clamp(2rem, 5vw, 4.5rem) - 30px); height: calc(100% + 8rem); width: auto; max-width: none; opacity: .96; }
.gl-pagehead .gl-search { margin-top: 1.8rem; max-width: 30rem; }
.gl-pagehead .gl-chips { margin-top: 1rem; }

/* ------------------------------------------------------------------ content on interior pages */
.gl-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.gl-split--top { align-items: start; }
.gl-split > * { margin: 0 !important; }
.gl-split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.gl-prose > * + * { margin-top: 1.1rem; }
.gl-prose h2 { margin-top: 2.5rem; }
.gl-prose h3 { margin-top: 2rem; font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem); }
.gl-tags { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.gl-tags li { margin: 0; font-family: var(--gl-label); font-size: .86rem; padding: .45rem .8rem; border: 1px solid rgba(23, 35, 56, .45); background: var(--gl-paper-light); position: relative; }
.gl-tags li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--gl-ink-soft); margin-right: .55rem; vertical-align: .05em; }
.gl-band .gl-tags li { background: transparent; border-color: rgba(184, 205, 226, .5); color: var(--gl-paper); }
.gl-band .gl-tags li::before { border-color: var(--gl-gold-on-blue); }
.gl-facts { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; font-family: var(--gl-label); font-size: .86rem; color: var(--gl-ink-soft); }
.gl-facts li { margin: 0; }
.gl-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.gl-chip { font-family: var(--gl-label); font-size: .86rem; padding: .45rem .85rem; text-decoration: none; color: var(--gl-ink); border: 1px solid var(--gl-line); background: var(--gl-paper-light); }
.gl-chip:hover { border-color: var(--gl-ink); }
.gl-chip.is-on { background: var(--gl-deep); color: var(--gl-paper); border-color: var(--gl-deep); }
.gl-band .gl-chip { background: transparent; color: var(--gl-paper); border-color: rgba(184, 205, 226, .45); }
.gl-band .gl-chip.is-on { background: var(--gl-paper); color: var(--gl-deep); }
.gl-search .wp-block-search__inside-wrapper { border: 0; padding: 0; gap: 0; }
.gl-search .wp-block-search__input { font: inherit; font-size: 1rem; border: 1px solid rgba(23, 35, 56, .35); background: var(--gl-paper-light); padding: .8rem 1rem; color: var(--gl-ink); min-width: 0; }
.gl-band .gl-search .wp-block-search__input { border-color: rgba(245, 240, 230, .5); }
.gl-search .wp-block-search__button { font: 600 1rem var(--gl-body); background: var(--gl-sun); color: var(--gl-ink); border: 0; margin: 0; padding: .8rem 1.2rem; border-radius: 0; }
.gl-search--center { max-width: 28rem; margin-inline: auto !important; }
.gl-index { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 0 2rem; counter-reset: idx; }
.gl-index li { margin: 0; border-top: 1px solid var(--gl-line); padding: .75rem 0; display: flex; gap: .9rem; align-items: baseline; counter-increment: idx; }
.gl-index li::before { content: counter(idx, decimal-leading-zero); font-family: var(--gl-label); font-size: .8rem; color: var(--gl-prussian); font-weight: 700; }
.gl-index a { color: var(--gl-ink); text-decoration: none; }
.gl-index a:hover { color: var(--gl-prussian); text-decoration: underline; }

/* a service plate: big print on one side, the text on the other */
.gl-plate-row { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; scroll-margin-top: 130px; }
.gl-plate-row--flip { grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr); }
.gl-plate-row--flip > :first-child { order: 2; }
.gl-plate-row > * { margin: 0 !important; }
.gl-plate-row h2 { font-size: clamp(2.4rem, 1.5rem + 2.6vw, 3.7rem); }
.gl-plate-row__print { margin: 0; position: relative; }
.gl-plate-row__print img { display: block; width: 100%; height: auto; }
.gl-plate-row__print figcaption { font-family: var(--gl-label); font-size: .78rem; text-align: center; color: var(--gl-ink-soft); margin-top: .2rem; }
.gl-plate-row + .gl-plate-row { margin-top: clamp(3.5rem, 8vw, 7rem) !important; }

/* sheets (generic deckled card for page content) */
.gl-sheet { position: relative; isolation: isolate; padding: clamp(1.6rem, 3vw, 2.4rem); }
.gl-sheet::before { content: ""; position: absolute; inset: 0; z-index: -1; border-style: solid; border-width: 22px; border-image: var(--gl-deckle) 40 fill / 22px round; filter: drop-shadow(0 12px 14px rgba(23, 35, 56, .12)); }
.gl-sheet > :first-child { margin-top: 0; }
.gl-sheet > :last-child { margin-bottom: 0; }
.gl-sheet h3 { font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem); }
.gl-sheets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.gl-sheets > * { margin: 0 !important; }

/* forms to download: envelopes */
.gl-envelopes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.gl-envelope { position: relative; display: block; text-decoration: none; color: var(--gl-ink); background: var(--gl-paper-light); padding: 2rem 1.8rem 1.7rem; box-shadow: var(--gl-shadow); border-top: 5px solid var(--gl-prussian); transition: transform .35s var(--gl-ease), box-shadow .35s var(--gl-ease); }
.gl-envelope:hover { transform: translateY(-4px); box-shadow: 0 1px 1px rgba(23, 35, 56, .05), 0 30px 50px -30px rgba(23, 35, 56, .55); }
.gl-envelope__kind { font-family: var(--gl-label); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gl-prussian); font-weight: 700; }
.gl-envelope__title { display: block; font-family: var(--gl-display); font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.05; margin: .5rem 0 .6rem; }
.gl-envelope__text { display: block; color: var(--gl-ink-soft); font-size: .98rem; }
.gl-envelope__go { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.2rem; font-weight: 600; color: var(--gl-prussian); text-decoration: underline; text-underline-offset: .25em; }
.gl-envelope__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ------------------------------------------------------------------ images: album mount + gallery */
.wp-block-image.is-style-mounted { position: relative; padding: 12px; background: var(--gl-paper-light); box-shadow: var(--gl-shadow); }
.wp-block-image.is-style-mounted img { display: block; width: 100%; }
.wp-block-image.is-style-mounted::before, .wp-block-image.is-style-mounted::after { content: ""; position: absolute; width: 34px; height: 34px; background: linear-gradient(135deg, #2A3448 0 50%, transparent 50%); opacity: .85; z-index: 1; }
.wp-block-image.is-style-mounted::before { left: 4px; top: 4px; }
.wp-block-image.is-style-mounted::after { right: 4px; bottom: 4px; transform: rotate(180deg); }
.wp-block-image.is-style-mounted figcaption { font-family: var(--gl-label); font-size: .78rem; color: var(--gl-ink-soft); text-align: left; margin: .7rem 0 0; }
.wp-block-post-featured-image.is-style-mounted { padding: 12px; background: var(--gl-paper-light); box-shadow: var(--gl-shadow); }
.gl-album { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: start; }
.gl-album > * { margin: 0 !important; }
.gl-album > :nth-child(2) { transform: translateY(1.6rem) rotate(.6deg); }
.gl-album > :nth-child(3) { transform: rotate(-.5deg); }
.gl-album--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ------------------------------------------------------------------ article (journal entry) */
.gl-article { padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 4vw, 3rem); }
.gl-article__head { text-align: left; }
.gl-article__title { font-size: clamp(2.6rem, 1.4rem + 3.6vw, 4.6rem); line-height: 1; margin: .2rem 0 .8rem; }
.gl-article__date { font-family: var(--gl-label); font-size: .86rem; color: var(--gl-ink-soft); }
.gl-article__img { max-width: 46rem !important; margin: 2.2rem auto 2.4rem !important; }
.gl-article__body { font-size: 1.12rem; }
.gl-article__body h2 { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); margin-top: 2.4rem; }
.gl-article__body h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); margin-top: 2rem; }
.gl-article__body img { max-width: 100%; height: auto; }
.gl-article__body .wp-caption { max-width: 100%; }
.gl-byline { display: flex; gap: 1.1rem; align-items: flex-start; max-width: 44rem; margin: 3rem auto 0; padding: 1.4rem 0 0; border-top: 1px solid var(--gl-line); font-size: .98rem; }
.gl-byline img { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.gl-byline p { margin: 0; }
.gl-prevnext { max-width: 44rem; margin: 2rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gl-prevnext__a { display: block; padding: 1rem 1.1rem; text-decoration: none; color: var(--gl-ink); border: 1px solid var(--gl-line); font-family: var(--gl-display); font-size: 1.3rem; line-height: 1.15; }
.gl-prevnext__a span { display: block; font-family: var(--gl-label); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gl-prussian); margin-bottom: .3rem; }
.gl-prevnext__a--next { text-align: right; grid-column: 2; }
.gl-prevnext__a:hover { border-color: var(--gl-ink); }
.gl-section--related { padding-top: clamp(3rem, 6vw, 5rem) !important; }
.gl-related__h { margin-bottom: 2rem !important; }

/* ------------------------------------------------------------------ details (FAQ) */
.wp-block-details { border-top: 1px solid var(--gl-line); padding: 1rem 0; }
.wp-block-details:last-of-type { border-bottom: 1px solid var(--gl-line); }
.wp-block-details summary { font-family: var(--gl-display); font-size: clamp(1.4rem, 1.15rem + .7vw, 1.75rem); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-family: var(--gl-label); font-size: 1.3rem; color: var(--gl-prussian); }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > p { margin-top: .8rem; }

/* ------------------------------------------------------------------ Ninja Forms + the happy sent screen */
.gl-form { --nf-gap: 1.1rem; }
.gl-form .nf-form-content { padding: 0 !important; max-width: none !important; }
.gl-form .nf-form-fields-required { font-family: var(--gl-label); font-size: .82rem; color: var(--gl-ink-soft); margin-bottom: 1rem; }
.gl-form .nf-field-container { margin-bottom: var(--nf-gap) !important; }
.gl-form .nf-field-label label { font-weight: 600; font-size: 1rem; color: var(--gl-ink); }
.gl-form .ninja-forms-req-symbol { color: #A6331A; }
.gl-form .nf-form-content input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .gl-form .nf-form-content textarea, .gl-form .nf-form-content select { font: inherit !important; font-size: 1.05rem !important; background: var(--gl-paper-light) !important; border: 1px solid rgba(23, 35, 56, .38) !important; border-radius: 0 !important; color: var(--gl-ink) !important; padding: .8rem .95rem !important; height: auto !important; min-height: 3.1rem; }
.gl-form .nf-form-content textarea { min-height: 9rem; }
.gl-form .nf-form-content input:focus, .gl-form .nf-form-content textarea:focus { outline: 3px solid var(--gl-sun) !important; outline-offset: 1px; border-color: var(--gl-ink) !important; }
.gl-form .nf-form-content input[type="submit"], .gl-form .nf-form-content button { font: 600 1.05rem var(--gl-body) !important; background: var(--gl-sun) !important; color: var(--gl-ink) !important; border: 0 !important; border-radius: 0 !important; padding: 1rem 1.6rem !important; height: auto !important; cursor: pointer; box-shadow: inset 0 -2px 0 rgba(23, 35, 56, .14); white-space: normal; }
.gl-form .nf-form-content input[type="submit"]:hover { background: var(--gl-sun-soft) !important; }
.gl-form .nf-error-msg, .gl-form .nf-error .nf-error-msg { color: #A6331A !important; font-size: .92rem; }
.gl-form .nf-error.field-wrap .nf-field-element:after { display: none; }
.gl-form .list-checkbox-wrap ul, .gl-form .list-radio-wrap ul { display: flex; flex-wrap: wrap; gap: .45rem; margin: .3rem 0 0 !important; padding: 0 !important; }
.gl-form .list-checkbox-wrap li, .gl-form .list-radio-wrap li { margin: 0 !important; padding: 0 !important; position: relative; }
.gl-form .list-checkbox-wrap li input, .gl-form .list-radio-wrap li input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0 !important; cursor: pointer; }
.gl-form .list-checkbox-wrap li label, .gl-form .list-radio-wrap li label { margin: 0 !important; display: inline-block; padding: .5rem .9rem !important; border: 1px solid rgba(23, 35, 56, .38); background: var(--gl-paper-light); font-family: var(--gl-label); font-size: .9rem !important; cursor: pointer; }
.gl-form .list-checkbox-wrap li label::before, .gl-form .list-checkbox-wrap li label::after, .gl-form .list-radio-wrap li label::before, .gl-form .list-radio-wrap li label::after { display: none !important; }
.gl-form .list-checkbox-wrap li input:checked + label, .gl-form .list-radio-wrap li input:checked + label { background: var(--gl-deep); color: var(--gl-paper); border-color: var(--gl-deep); }
.gl-form .list-checkbox-wrap li input:focus-visible + label, .gl-form .list-radio-wrap li input:focus-visible + label { outline: 3px solid var(--gl-sun); outline-offset: 2px; }
.gl-form .nf-field-description, .gl-form .nf-field-description p { font-size: .9rem; color: var(--gl-ink-soft); }
.gl-form .nf-response-msg { display: none; }
.gl-formwrap { position: relative; isolation: isolate; padding: clamp(1.7rem, 4vw, 3rem); }
.gl-formwrap::before { content: ""; position: absolute; inset: 0; z-index: -1; border-style: solid; border-width: 22px; border-image: var(--gl-deckle) 40 fill / 22px round; filter: drop-shadow(0 14px 16px rgba(23, 35, 56, .13)); }
.gl-formnote { font-family: var(--gl-label); font-size: .82rem; color: var(--gl-ink-soft); border-left: 2px solid var(--gl-sun); padding-left: .8rem; }
.gl-sent { text-align: center; padding: clamp(1rem, 3vw, 2rem) 0; animation: gl-pop .6s var(--gl-ease) both; }
.gl-sent__badge { width: 132px; height: 132px; margin: 0 auto 1.4rem; position: relative; }
.gl-sent__badge img { width: 100%; height: 100%; border-radius: 50%; box-shadow: 0 0 0 8px var(--gl-paper-light), 0 0 0 9px rgba(23, 61, 112, .3); }
.gl-sent__badge::after { content: ""; position: absolute; right: -6px; bottom: 2px; width: 44px; height: 44px; border-radius: 50%; background: var(--gl-sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23172338' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 26px no-repeat; box-shadow: 0 0 0 4px var(--gl-paper-light); animation: gl-pop .5s .35s var(--gl-ease) both; }
.gl-sent h2 { font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); margin: 0 0 .8rem; }
.gl-sent p { max-width: 32rem; margin-inline: auto; }
.gl-sent .wp-block-buttons, .gl-sent__btns { justify-content: center; display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
@keyframes gl-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.gl-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 200; }

/* ------------------------------------------------------------------ 404 */
.gl-404 { text-align: center; }
.gl-404__art { width: 170px; margin: 0 auto 1.6rem; transform: rotate(-4deg); }
.gl-404__art img { width: 100%; display: block; }

/* ------------------------------------------------------------------ privacy and plain text pages */
.gl-plain { max-width: 44rem; }
.gl-plain h2 { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.5rem); margin-top: 2.6rem; }
.gl-plain h3 { font-size: clamp(1.5rem, 1.2rem + .8vw, 1.8rem); margin-top: 2rem; }

/* ------------------------------------------------------------------ motion switch + reveal */
.gl-motion { font: 600 .82rem var(--gl-label); color: var(--gl-ink-soft); background: none; border: 1px solid var(--gl-line); padding: .4rem .7rem; cursor: pointer; }
.gl-motion__off { display: none; }
html.gl-still .gl-motion__on { display: none; }
html.gl-still .gl-motion__off { display: inline; }
.js .gl-reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--gl-ease), transform .9s var(--gl-ease); }
.js .gl-reveal.is-in, html.gl-noreveal .gl-reveal { opacity: 1; transform: none; }
html.gl-still *, html.gl-still *::before, html.gl-still *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.js .gl-reveal { opacity: 1; transform: none; }
	.gl-herbarium > :nth-child(3n + 2) { transform: none; }
}

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
	.gl-find { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'map map' 'hours card'; }
	.gl-footer__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.gl-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
	.gl-hero__inner, .gl-doctor, .gl-lightband__inner, .gl-visit, .gl-split, .gl-split--wide-left, .gl-plate-row, .gl-plate-row--flip, .gl-unfurl { grid-template-columns: minmax(0, 1fr); }
	.gl-plate-row--flip > :first-child { order: 0; }
	.gl-hero__inner { gap: 2.5rem; }
	.gl-sunprint { max-width: 560px; margin-inline: auto; width: 100%; }
	.gl-herbarium { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gl-herbarium > :nth-child(3n + 2) { transform: none; }
	.gl-herbarium > :nth-child(2n) { transform: translateY(1.8rem); }
	.gl-letters { grid-template-columns: minmax(0, 1fr); }
	.gl-letters > * { grid-column: auto !important; grid-row: auto !important; transform: none !important; }
	.gl-unfurl__stage { position: relative; top: 0; display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 1rem; align-items: end; }
	.gl-unfurl { gap: 1.5rem; }
	.gl-entries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gl-entries--three > :nth-child(3) { display: none; }
	.gl-plate-row__print { max-width: 420px; }
	.gl-pagehead__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 9rem); }
	.gl-album { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gl-album > :nth-child(3) { display: none; }
	.gl-doctor .gl-oval { order: 0; }
	.gl-sheets, .gl-envelopes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 782px) { .admin-bar .gl-header { top: 46px; } }
@media (max-width: 680px) {
	.gl-topline__addr, .gl-topline__links { display: none !important; }
	.gl-topline__row { justify-content: center; }
	.gl-oval__mat { width: min(100%, 300px); }
	.gl-brand__mark { width: 46px; height: 46px; }
	.gl-brand__name { font-size: 1.38rem; }
	.gl-brand__sub { font-size: .6rem; letter-spacing: .1em; }
	.gl-book { display: none; }
	.gl-herbarium { grid-template-columns: minmax(0, 1fr); }
	.gl-herbarium > :nth-child(2n) { transform: none; }
	.gl-find { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'map' 'hours' 'card'; }
	.gl-entries { grid-template-columns: minmax(0, 1fr); }
	.gl-entries--three > :nth-child(3) { display: block; }
	.gl-footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.gl-pagehead__inner { grid-template-columns: minmax(0, 1fr); }
	.gl-pagehead__art { position: absolute; right: -3.5rem; bottom: 0; width: 46%; height: 100%; opacity: .32; }
	.gl-pagehead__art img { right: 0; height: calc(100% + 6rem); bottom: -5rem; }
	.gl-cta__art img { height: 70%; opacity: .45; }
	.gl-album, .gl-album--two { grid-template-columns: minmax(0, 1fr); }
	.gl-album > * { transform: none !important; }
	.gl-album > :nth-child(3) { display: block; }
	.gl-prevnext { grid-template-columns: 1fr; }
	.gl-prevnext__a--next { grid-column: auto; }
	.gl-unfurl__stage { grid-template-columns: minmax(0, 120px) minmax(0, 1fr); }
	.gl-unfurl__dots button { padding: .45rem .6rem; font-size: .86rem; }
}
@media (max-width: 420px) {
	.gl-brand__sub { display: none; }
	.gl-footer__inner { grid-template-columns: minmax(0, 1fr); }
	.gl-hero__facts { flex-direction: column; }
}

/* ------------------------------------------------------------------ the Milpitas map (a sun print of the streets) */
.gl-map { position: relative; background: var(--gl-deep) url("assets/prints/tex-blue.webp") center / cover; box-shadow: var(--gl-shadow); padding: 0; }
.gl-map::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(240, 241, 236, .2); pointer-events: none; }
.gl-map__cap { padding: .6rem .2rem 0; background: var(--gl-paper); }
.m-park { fill: rgba(184, 205, 226, .14); }
.m-water { fill: rgba(184, 205, 226, .24); }
.m-creek { fill: none; stroke: rgba(184, 205, 226, .55); stroke-width: 1.3; stroke-dasharray: 2 4; stroke-linecap: round; }
.m-road { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.m-road--minor { stroke: rgba(240, 241, 236, .36); stroke-width: 1.6; }
.m-road--major { stroke: rgba(240, 241, 236, .72); stroke-width: 2.6; }
.m-road--link { stroke: rgba(240, 241, 236, .62); stroke-width: 2; }
.m-road--hwy { stroke: #F0F1EC; stroke-width: 6.5; }
.m-road--gold { stroke: #F4C770; stroke-width: 4.6; }
.m-rail { fill: none; stroke: rgba(240, 241, 236, .45); stroke-width: 1.4; stroke-dasharray: 8 5; }
.m-label { font-family: var(--gl-label); font-size: 16px; fill: #F0F1EC; paint-order: stroke; stroke: rgba(16, 43, 86, .9); stroke-width: 5px; stroke-linejoin: round; }
.m-label--area { font-size: 18px; letter-spacing: .22em; fill: var(--gl-mist); }
.m-label--park { font-family: var(--gl-display); font-style: italic; font-size: 21px; fill: var(--gl-mist); }
.m-label--gold { fill: #F4C770; font-weight: 700; }
.m-shield path { fill: #F0F1EC; stroke: var(--gl-deep); stroke-width: 1.5; }
.m-shield text { font: 700 12px var(--gl-label); fill: var(--gl-deep); stroke: none; }
.m-pin__sun { fill: #F4C770; stroke: var(--gl-deep); stroke-width: 2; }
.m-pin__rays path { stroke: #F4C770; stroke-width: 2.6; stroke-linecap: round; }
.m-pin__pulse { fill: rgba(244, 199, 112, .4); transform-box: fill-box; transform-origin: center; animation: gl-pulse 2.4s ease-out 4; opacity: 0; }
@keyframes gl-pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }
.m-flag rect { fill: var(--gl-paper-light); }
.m-flag__a { font-family: var(--gl-display); font-size: 23px; fill: var(--gl-ink); }
.m-flag__b { font-family: var(--gl-label); font-size: 13px; fill: var(--gl-ink-soft); }
.m-compass circle { fill: none; stroke: rgba(240, 241, 236, .55); stroke-width: 1.2; }
.m-compass path { fill: #F0F1EC; }
.m-compass text { font: 700 13px var(--gl-label); fill: #F0F1EC; }
.m-credit { font: 11px var(--gl-label); fill: rgba(240, 241, 236, .7); }

/* ------------------------------------------------------------------ page-specific pieces */
.gl-letters--all { display: block; columns: 2 22rem; column-gap: clamp(1.5rem, 3vw, 2.5rem); }
.gl-letters--all > * { break-inside: avoid; margin: 0 0 clamp(1.5rem, 3vw, 2.5rem) !important; transform: none !important; display: block; }
.gl-letters--all > :nth-child(odd) { transform: rotate(-.3deg) !important; }
.gl-letters--all .gl-letter--feature .gl-letter__text p { font-size: clamp(1.32rem, 1.08rem + .55vw, 1.62rem); }
.gl-ticks { list-style: none; padding: 0; margin: 0; }
.gl-ticks li { position: relative; padding-left: 1.6rem; margin: 0 0 .7rem; font-size: .98rem; }
.gl-ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--gl-prussian); box-shadow: 0 0 0 3px var(--gl-wash); }
.gl-contact__side { display: grid; gap: clamp(1.5rem, 3vw, 2.2rem); }
.gl-contact__side > * { margin: 0 !important; }
.gl-split--map { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.gl-chips--jump { margin-top: 1.6rem; }
.gl-pull--big { max-width: 46rem; margin-inline: auto !important; border-top: 0; text-align: center; }
.gl-pull--big p { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.gl-section--quote { padding-top: 0 !important; }
.gl-forms__note { margin-top: 1.6rem !important; max-width: var(--wp--style--global--wide-size) !important; }
.gl-wellness__end { margin-top: clamp(3rem, 6vw, 5rem) !important; }
.gl-wellness__end .gl-lead { margin-inline: auto; }
.gl-form .nf-form-content nf-fields-wrap, .gl-form .nf-form-content .nf-field-container { display: block; }
.gl-form nf-fields-wrap { display: flex !important; flex-wrap: wrap; gap: 0 1.2rem; }
.gl-form nf-fields-wrap > nf-field { flex: 1 1 100%; }
.gl-form nf-fields-wrap > nf-field:has(.gl-half) { flex: 1 1 calc(50% - .6rem); min-width: 14rem; }
.gl-form .nf-before-form-content { margin-bottom: .6rem; }
.gl-form .nf-field-container .nf-field-label { margin-bottom: .45rem; }
.gl-form .nf-form-fields-required { display: none; }
.gl-pill--line { box-shadow: inset 0 0 0 1.5px var(--gl-ink); color: var(--gl-ink) !important; }
.gl-pill--line:hover { background: var(--gl-ink); color: var(--gl-paper) !important; }
@media (max-width: 1179px) { .gl-book__more { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .gl-header__row { gap: 1rem; } }
@media (max-width: 960px) { .gl-split--map { grid-template-columns: minmax(0, 1fr); } }
.gl-nav .is-menu-open .wp-block-navigation__responsive-container-content, .gl-nav .is-menu-open .wp-block-navigation__container, .gl-nav .is-menu-open .wp-block-navigation-item { align-items: flex-start !important; text-align: left; --navigation-layout-justification-setting: flex-start; --navigation-layout-justify: flex-start; }
