/*
Theme Name: Air Prints
Theme URI: https://air-prints.com/
Author: Air Prints
Description: Gallery-led WooCommerce theme for Air Prints — original aviation fine-art photographs. Self-hosted Cormorant Garamond + Lato, no page builder, accessible by default.
Version: 2.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: air-prints
WC requires at least: 9.0
*/

/* =================================================================== tokens */
:root {
	--bg: #f6f4ef;
	--paper: #ffffff;
	--stone: #ebe7df;
	--ink: #141414;
	--ink-2: #3a3834;
	--muted: #6b665d;
	--line: rgba(20, 20, 20, .14);
	--line-strong: rgba(20, 20, 20, .32);
	--brass: #8a6c3e;
	--night: #0f0f0e;
	--night-ink: #ece8df;
	--focus: #1a5fb4;
	--serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
	--sans: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--max: 1440px;
	--gutter: clamp(18px, 4.5vw, 64px);
	--space: clamp(72px, 11vw, 168px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* =================================================================== base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 17px/1.75 var(--sans); letter-spacing: .005em; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p a, .ap-prose a, .woocommerce-info a, .woocommerce-message a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--brass); }
strong, b { font-weight: 400; color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
h4 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
::selection { background: var(--ink); color: var(--bg); }
.ap-visually-hidden, .screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: -1px !important; overflow: hidden; clip-path: inset(50%) !important; border: 0 !important; white-space: nowrap; }
.ap-skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: .7rem 1.1rem; }
.ap-skip:focus { left: 1rem; top: 1rem; }

.ap-eyebrow { font: 400 .72rem/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.2rem; }
.ap-eyebrow a { color: inherit; }
.ap-eyebrow a:hover { color: var(--ink); }
.ap-index { font: 300 1rem var(--serif); color: var(--brass); letter-spacing: .1em; margin: 0 0 1rem; }
.ap-lede { font-size: 1.12rem; color: var(--ink-2); max-width: 58ch; }
.ap-muted { color: var(--muted); }
.ap-small { font-size: .85rem; }
.ap-center { text-align: center; }

/* buttons & links */
.ap-btn, .button, button.button, input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: 0 2.2em;
	background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 0; cursor: pointer;
	font: 400 .74rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.ap-btn:hover, .button:hover, button.button:hover, input[type="submit"]:hover { background: #2b2a27; border-color: #2b2a27; color: #fff; }
.ap-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.ap-btn--ghost:hover { background: var(--ink); color: #fff; }
.ap-btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.ap-btn--light:hover { background: transparent; color: #fff; border-color: #fff; }
.ap-btn--small { min-height: 42px; padding: 0 1.4em; }
.button.disabled, .button:disabled, .button.wc-variation-selection-needed { opacity: .4; cursor: not-allowed; }
.ap-textlink { display: inline-block; font: 400 .74rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; padding-bottom: .55em; border-bottom: 1px solid currentColor; }
.ap-textlink--light { color: #fff; }
.ap-textlink--light:hover { color: #fff; opacity: .75; }
.ap-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 1.7em; height: 1.7em; border-radius: 1em; background: var(--ink); color: #fff; font-size: .7rem; letter-spacing: 0; }
.ap-btn--ghost:hover .ap-badge { background: #fff; color: var(--ink); }

/* forms */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], textarea, select, .select2-container .select2-selection--single {
	width: 100%; min-height: 50px; padding: .7rem .9rem; background: var(--paper); border: 1px solid #85817b; border-radius: 0;
	font: 300 1rem var(--sans); color: var(--ink);
}
textarea { min-height: 120px; }
input:focus, textarea:focus, select:focus { border-color: var(--ink); outline: 1px solid var(--ink); outline-offset: 0; }
.select2-container .select2-selection--single { height: 50px; display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; }
label { font-size: .86rem; color: var(--ink-2); }

/* =================================================================== header */
.ap-header { position: sticky; top: 0; z-index: 60; background: rgba(246, 244, 239, .96); backdrop-filter: blur(10px) saturate(130%); border-bottom: 1px solid var(--line); transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.ap-header__row { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; transition: height .4s var(--ease); }
.ap-header__side { display: flex; align-items: center; gap: .2rem; }
.ap-header__side--end { justify-content: flex-end; }
.ap-wordmark { display: flex; flex-direction: column; align-items: center; line-height: 1; text-align: center; }
.ap-wordmark__name { font: 400 1.75rem/1 var(--serif); letter-spacing: .34em; text-transform: uppercase; margin-right: -.34em; }
.ap-wordmark__tag { font: 400 .58rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: .65rem; transition: opacity .3s; }
.ap-wordmark:hover { color: inherit; }
.ap-icon-btn { position: relative; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; color: inherit; cursor: pointer; font-size: 1.6rem; line-height: 1; }
.ap-icon-btn:hover { color: var(--brass); }
.ap-cart-count { position: absolute; top: 5px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--ink); color: #fff; font: 400 10px/16px var(--sans); text-align: center; }
.ap-cart-count[data-count="0"] { display: none; }
.ap-menu-toggle { display: none; }
.ap-nav { border-top: 1px solid var(--line); }
.ap-nav__list { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--max); height: 40px; display: flex; justify-content: center; align-items: center; gap: clamp(1.4rem, 3vw, 3rem); }
.ap-nav__list > li { position: relative; height: 100%; display: flex; align-items: center; }
.ap-nav__list a { font: 400 .7rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; padding: .5rem 0; }
.ap-nav__list > .current-menu-item > a, .ap-nav__list > .current-menu-ancestor > a, .ap-nav__list > .current-menu-parent > a { box-shadow: inset 0 -1px currentColor; }
.ap-nav__list .sub-menu { list-style: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px); min-width: 250px; margin: 0; padding: 1.1rem 1.4rem; background: var(--bg); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(0, 0, 0, .08); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s; }
.ap-nav__list .sub-menu a { display: block; padding: .55rem 0; letter-spacing: .16em; white-space: nowrap; color: var(--ink-2); }
.ap-nav__list li:hover > .sub-menu, .ap-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateX(-50%); }
.ap-search { border-top: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.ap-search form { max-width: 820px; margin: 0 auto; padding: 1.4rem var(--gutter); display: flex; gap: .8rem; align-items: center; }
.ap-search input[type="search"] { border: 0; border-bottom: 1px solid var(--ink); background: transparent; font: 300 1.5rem var(--serif); padding-left: 0; }
.ap-search input[type="search"]:focus { outline: 0; }

.ap-header.is-compact .ap-header__row { height: 60px; }
.ap-header.is-compact .ap-wordmark__tag { opacity: 0; height: 0; margin: 0; overflow: hidden; }
.ap-header.is-compact .ap-wordmark__name { font-size: 1.45rem; }

.has-overlay-header .ap-header.is-overlay { position: fixed; left: 0; right: 0; }
.has-overlay-header .ap-header.is-overlay:not(.is-compact):not(.is-open):not(.is-searching) { background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,0)); border-color: transparent; color: #fff; backdrop-filter: none; }
.has-overlay-header .ap-header.is-overlay:not(.is-compact):not(.is-open):not(.is-searching) .ap-nav { border-color: rgba(255,255,255,.22); }
.has-overlay-header .ap-header.is-overlay:not(.is-compact):not(.is-open):not(.is-searching) .ap-wordmark__tag { color: rgba(255,255,255,.8); }

@media (max-width: 960px) {
	.ap-header__row { height: 64px; }
	.ap-menu-toggle { display: inline-flex; }
	.ap-wordmark__name { font-size: 1.3rem; letter-spacing: .26em; margin-right: -.26em; }
	.ap-wordmark__tag { display: none; }
	.ap-nav { position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: var(--bg); color: var(--ink); border: 0; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
	.ap-header.is-open .ap-nav { visibility: visible; opacity: 1; }
	.ap-nav__list { height: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 1.5rem var(--gutter) 4rem; }
	.ap-nav__list > li { height: auto; display: block; border-bottom: 1px solid var(--line); }
	.ap-nav__list > li > a { display: block; font: 300 2rem/1.2 var(--serif); letter-spacing: 0; text-transform: none; padding: 1rem 0; box-shadow: none !important; }
	.ap-nav__list .sub-menu { position: static; transform: none; opacity: 1; visibility: visible; border: 0; box-shadow: none; padding: 0 0 1rem; background: none; min-width: 0; }
	.ap-nav__list .sub-menu a { letter-spacing: .18em; font-size: .72rem; }
	.ap-header.is-open { background: var(--bg) !important; color: var(--ink) !important;
		/* backdrop-filter makes the header the containing block of the fixed menu panel (height 0): drop it while open */
		-webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* =================================================================== hero */
.ap-hero { position: relative; height: 100svh; min-height: 620px; display: flex; align-items: flex-end; color: #fff; background: var(--night); overflow: hidden; }
.ap-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: ap-settle 2.6s var(--ease) forwards; }
@keyframes ap-settle { to { transform: scale(1); } }
.ap-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 30%, rgba(0,0,0,.64)); }
.ap-hero__copy { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 9vh, 110px); }
.ap-hero .ap-eyebrow { color: rgba(255,255,255,.82); }
.ap-hero h1 { color: #fff; font-size: clamp(3rem, 8.2vw, 8rem); line-height: .94; max-width: 11ch; margin-bottom: 1.4rem; }
.ap-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem 2.4rem; margin: 2.4rem 0 0; }
.ap-hero__credit { position: absolute; z-index: 1; right: var(--gutter); bottom: clamp(56px, 9vh, 110px); color: rgba(255,255,255,.88); font: 400 .7rem/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-align: right; }
.ap-hero__credit span { display: block; color: rgba(255,255,255,.6); }
.ap-hero__credit:hover { color: #fff; }
.ap-signature { display: block; fill: currentColor; height: auto; }
.ap-signature path { fill: currentColor; }
.ap-signature--hero { width: clamp(220px, 25vw, 360px); color: #fff; opacity: .94; }
@media (max-width: 700px) { .ap-hero__credit { display: none; } }

/* =================================================================== sections */
.ap-section { max-width: var(--max); margin: 0 auto; padding: var(--space) var(--gutter) 0; }
.ap-section-head { max-width: 760px; margin: 0 0 clamp(40px, 6vw, 80px); }
.ap-section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.ap-statement { max-width: 1100px; margin: 0 auto; padding: var(--space) var(--gutter) 0; text-align: center; }
.ap-statement p { font: 300 clamp(1.7rem, 3.3vw, 2.9rem)/1.32 var(--serif); color: var(--ink); margin: 0; }
.ap-showcase { max-width: var(--max); margin: 0 auto; padding: var(--space) var(--gutter) 0; }
.ap-showcase__item { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; margin-bottom: clamp(64px, 9vw, 140px); }
.ap-showcase__item.is-reversed { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.ap-showcase__item.is-reversed .ap-showcase__media { order: 2; }
.ap-showcase__media { overflow: hidden; display: block; background: var(--stone); }
.ap-showcase__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.4s var(--ease); }
.ap-showcase__item:hover .ap-showcase__media img { transform: scale(1.025); }
.ap-showcase__text h3 { font-size: clamp(2.2rem, 4vw, 3.6rem); margin-bottom: 1.2rem; }
.ap-showcase__text p { color: var(--ink-2); max-width: 44ch; }
@media (max-width: 900px) {
	.ap-showcase__item, .ap-showcase__item.is-reversed { grid-template-columns: 1fr; }
	.ap-showcase__item.is-reversed .ap-showcase__media { order: 0; }
	.ap-section-head--split { flex-direction: column; align-items: flex-start; }
}

/* tiles / grids */
.ap-grid { display: grid; gap: clamp(44px, 5vw, 80px) clamp(20px, 3vw, 48px); }
.ap-grid--works, ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
ul.products { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(44px, 5vw, 80px) clamp(20px, 3vw, 48px); }
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product { margin: 0 !important; width: auto !important; float: none !important; padding: 0 !important; }
.ap-tile, ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; color: inherit; }
.ap-tile__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: var(--stone); padding: 12%; overflow: hidden; margin-bottom: 1.3rem; }
.ap-tile__media img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 1px 1px rgba(0,0,0,.08), 0 18px 34px -12px rgba(0,0,0,.28); transition: transform .9s var(--ease); }
.ap-tile:hover .ap-tile__media img, li.product:hover .ap-tile__media img { transform: translateY(-4px) scale(1.012); }
.ap-tile__title { font: 400 1.45rem/1.15 var(--serif); margin-bottom: .35rem; }
.ap-tile__meta { font: 400 .66rem/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.ap-tile .price, ul.products .price { font-size: .92rem; color: var(--ink-2); }
@media (max-width: 1100px) { .ap-grid--works, ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ap-grid--works, ul.products { grid-template-columns: 1fr; } }

/* photographer */
.ap-photographer { max-width: var(--max); margin: var(--space) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 120px); align-items: center; }
.ap-photographer__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ap-photographer__text p:not(.ap-eyebrow) { color: var(--ink-2); max-width: 46ch; }
.ap-signature--inline { width: 240px; color: var(--ink); margin: 2rem 0 2.4rem; }
@media (max-width: 900px) { .ap-photographer { grid-template-columns: 1fr; } }

/* sizes */
.ap-sizes__row { display: flex; align-items: flex-end; justify-content: center; gap: clamp(18px, 4vw, 64px); height: clamp(220px, 30vw, 380px); margin-bottom: 7rem; }
.ap-sizes__item { margin: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.ap-sizes__sheet { display: block; background: var(--paper); box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 20px 40px -18px rgba(0,0,0,.3); }
.ap-sizes__item figcaption { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: max-content; margin-top: 1.1rem; text-align: center; font-size: .8rem; line-height: 1.5; color: var(--muted); }
.ap-sizes__item figcaption strong { display: block; font: 400 1.35rem var(--serif); color: var(--ink); }
.ap-sizes__item figcaption em { display: block; font-style: normal; color: var(--ink); margin-top: .2rem; }
.ap-layouts { display: flex; justify-content: center; gap: clamp(32px, 6vw, 96px); margin: 0 0 3rem; }
.ap-layouts figure { margin: 0; text-align: center; font-size: .8rem; color: var(--muted); }
.ap-layouts figcaption strong { display: block; font: 400 1.2rem var(--serif); color: var(--ink); }
.ap-layouts__sheet { display: block; width: 130px; aspect-ratio: 3 / 2; background: var(--paper); margin: 0 auto 1rem; box-shadow: 0 14px 30px -14px rgba(0,0,0,.35); }
.ap-layouts__sheet.is-border { padding: 6px; }
.ap-layouts__img { display: block; width: 100%; height: 100%; background: linear-gradient(160deg, #1b1f27, #4c5563 55%, #c98d55); }
@media (max-width: 600px) { .ap-sizes__row { gap: 14px; height: 170px; } .ap-sizes__item figcaption { font-size: .66rem; } .ap-sizes__item figcaption strong { font-size: 1.05rem; } }

.ap-assurance-band { max-width: var(--max); margin: var(--space) auto 0; padding: 0 var(--gutter); }
.ap-assurance-band ul { list-style: none; margin: 0; padding: 2.6rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ap-assurance-band li { display: flex; flex-direction: column; gap: .4rem; }
.ap-assurance-band strong { font: 400 1.3rem var(--serif); }
.ap-assurance-band span { font-size: .88rem; color: var(--muted); }
@media (max-width: 860px) { .ap-assurance-band ul { grid-template-columns: repeat(2, 1fr); } }

[data-ap-reveal] { transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-ap-reveal]:not(.is-visible) { opacity: 0; transform: translateY(26px); }

/* =================================================================== archive */
.ap-archive__hero { position: relative; height: min(66vh, 660px); min-height: 380px; display: flex; align-items: flex-end; color: #fff; background: var(--night); overflow: hidden; }
.ap-archive__hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ap-archive__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.6)); }
.ap-archive__hero-copy { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(36px, 6vh, 72px); }
.ap-archive__hero h1 { color: #fff; margin: 0; }
.ap-archive__hero .ap-eyebrow { color: rgba(255,255,255,.8); }
.ap-archive__hero .ap-hero__credit { bottom: clamp(36px, 6vh, 72px); }
.ap-archive__inner { max-width: var(--max); margin: 0 auto; padding: 2rem var(--gutter) 0; }
.ap-breadcrumb { font: 400 .66rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 3rem; }
.ap-breadcrumb a:hover { color: var(--ink); }
.ap-archive__head { margin-bottom: 3rem; }
.ap-archive__title { margin: 0 0 1.4rem; }
.ap-archive__intro .term-description, .ap-archive__intro .page-description { font: 300 1.4rem/1.5 var(--serif); color: var(--ink-2); max-width: 62ch; }
.ap-archive__intro p:last-child { margin-bottom: 0; }
.ap-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding: 1.1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 3.5rem; }
.ap-toolbar__end { display: flex; align-items: center; gap: 1.4rem; flex: none; }
.ap-count-line { font: 400 .68rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ap-pills ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ap-pills a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 40px; font: 400 .68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); transition: all .25s; }
.ap-pills a:hover { border-color: var(--ink); color: var(--ink); }
.ap-pills a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 760px) { .ap-toolbar { flex-direction: column; align-items: stretch; } .ap-pills ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: none; } .ap-pills a { white-space: nowrap; } .ap-toolbar__end { justify-content: space-between; } }
.ap-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: -2rem 0 2.5rem; }
.ap-chip { display: inline-flex; align-items: center; gap: .5rem; min-height: 34px; padding: 0 .9rem; background: var(--ink); color: #fff; border-radius: 40px; font-size: .8rem; }
.ap-chip:hover { color: #fff; opacity: .85; }
.ap-chip--clear { background: transparent; color: var(--ink); text-decoration: underline; }
.ap-chip--clear:hover { color: var(--brass); }
.ap-drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(440px, 100vw); max-width: none; height: 100%; max-height: none; padding: 0; border: 0; background: var(--bg); color: var(--ink); box-shadow: -30px 0 80px rgba(0,0,0,.18); }
.ap-drawer::backdrop { background: rgba(15, 15, 14, .45); }
.ap-drawer[open] { animation: ap-slide .4s var(--ease); }
@keyframes ap-slide { from { transform: translateX(40px); opacity: 0; } }
.ap-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 1.8rem; border-bottom: 1px solid var(--line); }
.ap-drawer__head h2 { font-size: 2rem; margin: 0; }
.ap-drawer__body { padding: 1.6rem 1.8rem 3rem; overflow-y: auto; height: calc(100% - 82px); }
.ap-facet { border: 0; margin: 0 0 2.2rem; padding: 0; }
.ap-facet__label { font: 400 .68rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 .8rem; padding: 0; }
.ap-facet ul { list-style: none; margin: 0; padding: 0; }
.ap-check { display: flex; align-items: center; gap: .8rem; padding: .45rem 0; font-size: .98rem; }
.ap-check::before { content: ""; flex: none; width: 15px; height: 15px; border: 1px solid #85817b; }
.ap-check.is-on::before { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--bg); }
.ap-check .ap-count { margin-left: auto; color: var(--muted); font-size: .8rem; }
.woocommerce-ordering { margin: 0; }
.ap-empty { padding: 3rem 0; text-align: center; }
.ap-empty__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; list-style: none; padding: 0; }
.ap-empty__links a { text-decoration: underline; }

/* =================================================================== single product */
.single-product .ap-main > .woocommerce-notices-wrapper { max-width: var(--max); margin: 1.5rem auto 0; padding: 0 var(--gutter); }
.single-product .ap-breadcrumb { max-width: var(--max); margin: 0 auto 2rem; padding: 2rem var(--gutter) 0; }
.single-product div.product { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.ap-product__top { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.single-product div.product .summary { position: sticky; top: 100px; align-self: start; padding-bottom: 2rem; }
.single-product .product_title { font-size: clamp(2.6rem, 4.6vw, 4.3rem); line-height: 1; margin: 0 0 1.1rem; }
.single-product .summary > .price { font: 300 1.5rem var(--serif); color: var(--ink); margin: 0 0 1.6rem; }
.woocommerce-product-details__short-description { color: var(--ink-2); font-size: 1rem; margin-bottom: 1.6rem; }
.ap-unframed-note { font-size: .88rem; color: var(--ink-2); margin: 0 0 1.4rem; padding: .9rem 1rem; border-left: 1px solid var(--brass); background: rgba(138, 108, 62, .06); }
.ap-unframed-note strong { font-weight: 700; }
.ap-gallery { position: relative; }
.ap-gallery__track { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 22px); }
.ap-gallery__item { margin: 0; }
.ap-gallery__item.is-primary { grid-column: 1 / -1; }
.ap-gallery__open { display: block; width: 100%; padding: 0; border: 0; background: var(--stone); cursor: zoom-in; overflow: hidden; }
.ap-gallery__open img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.ap-gallery__item:not(.is-primary) .ap-gallery__open img { aspect-ratio: 4 / 3; object-fit: cover; }
.ap-gallery__open:hover img { transform: scale(1.015); }
.ap-gallery__item figcaption { font: 400 .62rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-top: .7rem; }
.ap-gallery__count { display: none; }
@media (max-width: 900px) {
	.ap-product__top { grid-template-columns: 1fr; gap: 2rem; }
	.single-product div.product .summary { position: static; padding: 0 var(--gutter) !important; }
	.single-product div.product { padding: 0; }
	.ap-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; }
	.ap-gallery__track::-webkit-scrollbar { display: none; }
	.ap-gallery__item, .ap-gallery__item.is-primary { flex: 0 0 100%; scroll-snap-align: center; }
	.ap-gallery__item:not(.is-primary) .ap-gallery__open img { aspect-ratio: auto; }
	.ap-gallery__item figcaption { padding: .7rem var(--gutter) 0; }
	.ap-gallery__count { display: block; position: absolute; top: 1rem; right: var(--gutter); margin: 0; padding: .3rem .7rem; background: rgba(15,15,14,.6); color: #fff; font-size: .72rem; letter-spacing: .1em; border-radius: 20px; }
}
.ap-lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 12, 11, .96); }
.ap-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.ap-lightbox::backdrop { background: rgba(12, 12, 11, .96); }
.ap-lightbox img { max-width: 92vw; max-height: 90vh; width: auto; height: auto; object-fit: contain; }
.ap-lightbox button { position: absolute; background: none; border: 0; color: #fff; font: 300 2.8rem/1 var(--serif); cursor: pointer; width: 64px; height: 64px; }
.ap-lightbox__close { top: 12px; right: 12px; }
.ap-lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.ap-lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
table.variations { width: 100%; border-collapse: collapse; margin: 0 0 .4rem; border: 0; }
table.variations tr { display: block; margin-bottom: 1.4rem; }
table.variations th, table.variations td { display: block; padding: 0; text-align: left; border: 0; }
table.variations th label { font: 400 .68rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
table.variations td { position: relative; margin-top: .6rem; }
.ap-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; border: 0; padding: 0; margin: 0; }
.ap-options--size { grid-template-columns: repeat(4, 1fr); }
.ap-options--size.has-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 480px) { .ap-options--size { grid-template-columns: repeat(2, 1fr); } }
.ap-option { position: relative; display: block; }
.ap-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ap-option span { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 58px; padding: .5rem .4rem; border: 1px solid var(--line-strong); font: 400 .82rem/1.25 var(--sans); letter-spacing: .04em; text-align: center; transition: border-color .2s, background .2s, color .2s; }
.ap-option small { display: block; font-size: .7rem; color: var(--muted); margin-top: .2rem; }
.ap-option:hover span { border-color: var(--ink); }
.ap-option input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.ap-option input:checked + span small { color: rgba(255,255,255,.75); }
.ap-option input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.ap-option input:disabled + span { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.reset_variations { font-size: .78rem; letter-spacing: .1em; text-decoration: underline; }
.single_variation_wrap .woocommerce-variation-price .price { font: 300 1.9rem var(--serif); color: var(--ink); }
.woocommerce-variation-availability { display: none; }
.woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.quantity { display: inline-flex; }
.quantity .qty { width: 76px; min-height: 52px; text-align: center; }
.single_add_to_cart_button { flex: 1; min-width: 200px; }
.ap-assurance { list-style: none; margin: 1.8rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; font-size: .84rem; color: var(--ink-2); }
.ap-assurance li::before { content: "—"; color: var(--brass); margin-right: .5rem; }
.ap-assurance a { text-decoration: underline; text-underline-offset: .2em; }
.product_meta { display: none; }
.ap-preview { display: grid !important; grid-template-columns: 150px 1fr !important; gap: 1.2rem !important; align-items: center; margin: 1.6rem 0 0 !important; padding: 1rem !important; background: var(--stone) !important; border-radius: 0 !important; }
.ap-preview__stage { background: linear-gradient(#efebe4, #e2ddd3) !important; }
.ap-preview__dims { font-size: .84rem; line-height: 1.55; margin: 0 0 .3rem; }
.ap-preview__legend { font-size: .66rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; opacity: 1 !important; }
.ap-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 7vw, 120px); padding: var(--space) 0 0; margin-top: var(--space); border-top: 1px solid var(--line); }
.ap-story__head h2 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); }
.ap-signature--story { width: 200px; color: var(--ink); opacity: .85; margin-top: 2rem; }
.ap-story__body { font: 300 1.34rem/1.62 var(--serif); color: var(--ink); }
.ap-story__body p:last-child { font: 400 .7rem/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 2.4rem; }
.ap-details { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 120px); padding: var(--space) 0 0; }
.ap-details h2 { font-size: 2rem; }
.ap-specs { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.ap-specs li { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--ink-2); }
.ap-facts { display: grid; grid-template-columns: max-content 1fr; margin: 0 0 1.4rem; }
.ap-facts dt, .ap-facts dd { padding: .8rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.ap-facts dt { font: 400 .66rem/1.9 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-right: 2rem; }
.ap-links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.ap-links a { font: 400 .7rem var(--sans); letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: .3em; }
.ap-size-helper { margin: var(--space) 0 0 !important; padding-top: var(--space); border-top: 1px solid var(--line); }
.ap-size-helper h2 { font-size: 2rem; }
.ap-size-helper__row { display: flex !important; align-items: flex-end; justify-content: center; gap: clamp(16px, 4vw, 64px) !important; }
.ap-size-helper__item { margin: 0; flex: 0 1 220px; display: flex; flex-direction: column; align-items: center; }
.ap-size-helper__sheet { background: var(--paper) !important; outline: 0 !important; box-shadow: 0 1px 1px rgba(0,0,0,.06), 0 20px 40px -18px rgba(0,0,0,.3) !important; }
.ap-size-helper figcaption { font-size: .78rem !important; color: var(--muted); text-align: center; margin-top: 1rem; line-height: 1.55; }
.ap-size-helper figcaption strong { display: block; font: 400 1.25rem var(--serif); color: var(--ink); }
.ap-size-helper__note { max-width: 70ch !important; margin: 3rem auto 0; text-align: center; font-size: .9rem !important; color: var(--muted); }
.related.products { padding: var(--space) 0 0; margin-top: var(--space); border-top: 1px solid var(--line); }
.related.products > h2 { margin-bottom: 3rem; }
@media (max-width: 900px) {
	.ap-story, .ap-details { grid-template-columns: 1fr; padding-left: var(--gutter); padding-right: var(--gutter); }
	.ap-size-helper, .related.products { padding-left: var(--gutter); padding-right: var(--gutter); }
	.ap-size-helper__row { gap: 10px !important; }
	.ap-assurance { grid-template-columns: 1fr; }
}

/* =================================================================== pages */
.ap-page { max-width: 820px; margin: 0 auto; padding: clamp(48px, 7vw, 110px) var(--gutter) 0; }
.ap-page--wide { max-width: var(--max); }
.ap-page__head { margin-bottom: 3rem; }
.ap-page__head h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.ap-prose { font-size: 1.04rem; color: var(--ink-2); }
.ap-prose .ap-lede { font: 300 1.5rem/1.5 var(--serif); color: var(--ink); max-width: none; }
.ap-prose h2 { font-size: 2.1rem; margin-top: 3.4rem; }
.ap-prose h3 { font-size: 1.5rem; margin-top: 2rem; }
.ap-prose ul, .ap-prose ol { padding-left: 1.2rem; }
.ap-prose li { margin-bottom: .45rem; }
.ap-prose table { width: 100%; border-collapse: collapse; margin: 1.4rem 0 2rem; font-size: .92rem; }
.ap-prose th, .ap-prose td { text-align: left; padding: .8rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.ap-prose th { font: 400 .66rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.ap-prose details { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.ap-prose summary { cursor: pointer; list-style: none; font: 400 1.4rem var(--serif); color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; }
.ap-prose summary::-webkit-details-marker { display: none; }
.ap-prose summary::after { content: "+"; font-family: var(--sans); font-weight: 300; }
.ap-prose details[open] summary::after { content: "\2212"; }
.ap-prose details p { margin: 1rem 0 0; }
.ap-collections { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(48px, 6vw, 96px) clamp(24px, 3vw, 48px); }
.ap-collection-card { display: flex; flex-direction: column; }
.ap-collection-card__media { overflow: hidden; background: var(--stone); }
.ap-collection-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease); }
.ap-collection-card:hover img { transform: scale(1.03); }
.ap-collection-card__title { font: 300 2.5rem/1.1 var(--serif); margin-top: 1.4rem; }
.ap-collection-card__count { font: 400 .66rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: .5rem 0 .8rem; }
.ap-collection-card__text { color: var(--ink-2); }
@media (max-width: 760px) { .ap-collections { grid-template-columns: 1fr; } }
.ap-journal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem 3rem; }
.ap-feature { margin: 0 0 3rem; }

/* =================================================================== notices, cart, checkout, account */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 2rem; padding: 1.1rem 1.4rem; background: var(--paper); border: 1px solid var(--line); border-left: 2px solid var(--ink); font-size: .95rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.woocommerce-error { border-left-color: #b3261e; display: block; }
.woocommerce-message .button { min-height: 40px; padding: 0 1.2em; order: 2; }
table.shop_table { width: 100%; border-collapse: collapse; border: 0; margin-bottom: 2rem; }
table.shop_table th { font: 400 .66rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 1rem .6rem; border-bottom: 1px solid var(--line-strong); }
table.shop_table td { padding: 1.4rem .6rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.shop_table .product-thumbnail img { width: 96px; box-shadow: 0 8px 18px -10px rgba(0,0,0,.4); }
table.shop_table .product-name a { font: 400 1.3rem var(--serif); }
table.shop_table .variation { display: grid; grid-template-columns: max-content 1fr; gap: .1rem .8rem; font-size: .8rem; color: var(--muted); margin: .4rem 0 0; }
table.shop_table .variation dt, table.shop_table .variation dd, table.shop_table .variation dd p { margin: 0; }
.product-remove a.remove { font-size: 1.6rem; color: var(--muted) !important; }
.coupon { display: none !important; }
.cart-collaterals { display: flex; justify-content: flex-end; }
.cart_totals { width: min(460px, 100%); }
.cart_totals h2, #order_review_heading, .woocommerce-billing-fields h3, .woocommerce-additional-fields h3, .woocommerce-shipping-fields h3 { font-size: 2rem; }
.wc-proceed-to-checkout .checkout-button { width: 100%; }
#shipping_method { list-style: none; padding: 0; margin: 0; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: .82rem; color: var(--muted); }
form.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; gap: 0 clamp(32px, 5vw, 80px); }
form.checkout > * { grid-column: 1; }
form.checkout #customer_details { grid-row: 1 / 4; }   /* spans the flexible row so the summary sits beside the form's top */
form.checkout #order_review_heading { grid-column: 2; grid-row: 1; margin-top: 0; }
form.checkout #order_review { grid-column: 2; grid-row: 2 / 4; align-self: start; position: sticky; top: 100px; background: var(--paper); padding: 2rem; border: 1px solid var(--line); }
.col2-set .col-1, .col2-set .col-2 { width: 100%; float: none; }
.form-row { display: flex; flex-direction: column; margin: 0 0 1.1rem; padding: 0; }
.form-row-first, .form-row-last { width: calc(50% - .5rem); display: inline-flex; vertical-align: top; }
.form-row-first { margin-right: 1rem; }
.form-row .required { color: #b3261e; text-decoration: none; border: 0; }
.form-row .description { font-size: .78rem; color: var(--muted); margin-top: .3rem; }
.woocommerce-checkout-review-order-table td, .woocommerce-checkout-review-order-table th { padding: .9rem .2rem; }
.wc_payment_methods { list-style: none; padding: 0; margin: 1.4rem 0; }
.wc_payment_method { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.payment_box { font-size: .85rem; color: var(--muted); padding: .6rem 0 0 1.6rem; }
#place_order { width: 100%; margin-top: 1rem; }
.woocommerce-terms-and-conditions-wrapper, .woocommerce-privacy-policy-text { font-size: .82rem; color: var(--muted); }
.ap-checkout-note { font-size: .85rem; background: var(--stone); padding: .9rem 1rem; color: var(--ink-2); }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.woocommerce-MyAccount-navigation a { font: 400 .7rem var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.woocommerce-MyAccount-navigation .is-active a { box-shadow: inset 0 -1px currentColor; }
@media (max-width: 900px) {
	form.checkout { grid-template-columns: 1fr; grid-template-rows: none; }
	form.checkout #customer_details { grid-row: auto; }
	form.checkout #order_review_heading, form.checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
	.form-row-first, .form-row-last { width: 100%; margin-right: 0; }
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: block; border-bottom: 1px solid var(--line); padding: 1rem 0; }
	table.shop_table_responsive tr td { display: flex; justify-content: space-between; gap: 1rem; text-align: right; border: 0; padding: .4rem 0; }
	table.shop_table_responsive tr td::before { content: attr(data-title); font: 400 .66rem/1.8 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-align: left; }
	table.shop_table_responsive tr td.product-remove::before, table.shop_table_responsive tr td.product-thumbnail::before, table.shop_table_responsive tr td.actions::before { content: none; }
}

/* =================================================================== footer */
.ap-footer { margin-top: var(--space); background: var(--night); color: rgba(236, 232, 223, .78); font-size: .9rem; }
.ap-footer a { color: var(--night-ink); }
.ap-footer a:hover { color: #fff; opacity: .75; }
.ap-footer .ap-eyebrow { color: rgba(236, 232, 223, .55); }
.ap-footer__inner { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 8vw, 120px) var(--gutter) 3.5rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.ap-signature--footer { width: 280px; color: var(--night-ink); margin: 0 0 2rem; }
.ap-footer__brand p { max-width: 38ch; }
.ap-footer__muted { color: rgba(236, 232, 223, .55); }
.ap-footer ul { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; gap: .6rem; }
.ap-footer__legal { max-width: var(--max); margin: 0 auto; padding: 2rem var(--gutter) 2.6rem; border-top: 1px solid rgba(236, 232, 223, .12); font-size: .76rem; color: rgba(236, 232, 223, .62); }
.ap-footer__legal p { margin: .3rem 0; }
@media (max-width: 800px) { .ap-footer__inner { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js [data-ap-reveal]:not(.is-visible) { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- Pagination (shop archives + journal) */
.woocommerce-pagination, .navigation.pagination { margin: clamp(56px, 7vw, 96px) 0 0; padding-top: 32px; border-top: 1px solid var(--line); display: flex; justify-content: center; }
.woocommerce-pagination ul.page-numbers, .navigation.pagination .nav-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.woocommerce-pagination ul.page-numbers li { margin: 0; padding: 0; list-style: none; }
.woocommerce-pagination ul.page-numbers li::marker { content: none; }
.woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span,
.navigation.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; font: 400 .78rem/1 var(--sans); letter-spacing: .14em; color: var(--ink-2); text-decoration: none; border: 1px solid transparent; transition: border-color .3s var(--ease), color .3s var(--ease); }
.woocommerce-pagination .page-numbers a:hover, .navigation.pagination a.page-numbers:hover { border-color: var(--line-strong); color: var(--ink); }
.woocommerce-pagination .page-numbers span.current, .navigation.pagination .page-numbers.current { border-color: var(--ink); color: var(--ink); }
.woocommerce-pagination .page-numbers .dots, .navigation.pagination .page-numbers.dots { min-width: 24px; padding: 0; color: var(--muted); }
.woocommerce-pagination .page-numbers .prev, .woocommerce-pagination .page-numbers .next,
.navigation.pagination .prev, .navigation.pagination .next { padding: 0 18px; text-transform: uppercase; font-size: .68rem; letter-spacing: .2em; }
.navigation.pagination .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.ap-footer__social a { display: inline-flex; align-items: center; gap: .6rem; color: var(--night-ink); text-decoration: none; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; transition: opacity .3s var(--ease); }
.ap-footer__social a:hover { opacity: 1; }
#ship-to-different-address { font: 300 .95rem/1.5 var(--sans); color: var(--ink-2); margin: 1.5rem 0 1rem; }

/* Portrait photograph in a wide frame (only when a collection has no landscape image): keep the upper subject. */
.ap-showcase__media img.is-portrait, .ap-collection-card__media img.is-portrait { object-position: 50% 22%; }

/* ---------------------------------------------------------------- About */
.ap-hero--about { height: 82svh; min-height: 520px; }
.ap-hero--about .ap-hero__img { object-position: 50% 52%; }
.ap-hero--about h1 { max-width: 18ch; font-size: clamp(2.8rem, 6.4vw, 6.4rem); }
.ap-page--about { max-width: var(--max); padding-top: clamp(64px, 9vw, 128px); }
.ap-about-intro > p:empty, .ap-about-intro > br { display: none; }   /* stray wpautop output */
.ap-prose--about { max-width: 1120px; margin: 0 auto; }
.ap-prose--about > h2, .ap-prose--about > p, .ap-prose--about > .ap-about-closing { max-width: 680px; margin-left: auto; margin-right: auto; }
.ap-prose--about > h2 { margin-top: clamp(64px, 8vw, 112px); }
.ap-about-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ap-about-portrait { margin: 0; position: sticky; top: 120px; }
.ap-about-portrait img { width: 100%; height: auto; display: block; }
.ap-about-intro__text .ap-lede { margin-top: 0; }
.ap-about-statement { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.3; color: var(--ink); margin-top: 2.4rem; }
.ap-about-pull { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.3rem); line-height: 1.25; color: var(--ink); border-left: 1px solid var(--brass); padding-left: 1.4rem; margin: 1.6rem 0 2rem; }
.ap-about-closing { margin-top: clamp(64px, 8vw, 112px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); text-align: center; }
.ap-about-thanks { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; color: var(--ink); }
.ap-about-signature { width: min(260px, 60vw); margin: 2rem auto .6rem; color: var(--ink); }
.ap-about-signature svg { width: 100%; height: auto; }
.ap-about-byline { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); line-height: 2; }
@media (max-width: 900px) {
	.ap-about-intro { grid-template-columns: 1fr; }
	.ap-about-portrait { position: static; max-width: 460px; }
	.ap-hero--about { height: 70svh; }
}

/* ================================================================ Journal */
.ap-journal-index { padding-top: clamp(48px, 7vw, 100px); }
.ap-journal-index__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.ap-journal-index__head h1 { font-size: clamp(2.8rem, 6vw, 5rem); line-height: 1; margin: .2em 0 .35em; }
.ap-journal-index .ap-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.ap-journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(44px, 5vw, 72px) clamp(20px, 3vw, 44px); }
.ap-journal-card { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.ap-journal-card__img { display: block; overflow: hidden; background: var(--stone); aspect-ratio: 4 / 3; }
.ap-journal-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ap-journal-card:hover .ap-journal-card__img img { transform: scale(1.03); }
.ap-journal-card h2 { font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.15; margin: .35rem 0 .5rem; text-wrap: balance; }
.ap-journal-card h2 a { color: var(--ink); text-decoration: none; }
.ap-journal-card__excerpt { color: var(--ink-2); font-size: .95rem; margin: 0; }
.ap-journal-card__meta { color: var(--muted); font-size: .78rem; letter-spacing: .06em; margin: .6rem 0 0; }
.ap-journal-card--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.ap-journal-card--lead .ap-journal-card__img { aspect-ratio: 3 / 2; }
.ap-journal-card--lead h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
@media (max-width: 1000px) { .ap-journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ap-journal-card--lead { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ap-journal-grid { grid-template-columns: 1fr; } }

.ap-article { padding-top: clamp(40px, 6vw, 88px); }
.ap-article__head { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.ap-article__crumbs { font: 700 .68rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; }
.ap-article__crumbs a { color: inherit; text-decoration: none; }
.ap-article__head h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: 1.04; margin: .6em 0 .45em; text-wrap: balance; }
.ap-article__standfirst { font: 300 clamp(1.15rem, 1.8vw, 1.4rem)/1.55 var(--serif); color: var(--ink-2); max-width: 46ch; margin: 0 auto 1.4rem; }
.ap-article__meta { font-size: .8rem; letter-spacing: .06em; color: var(--muted); }
.ap-article__meta a { color: var(--ink); }
.ap-article__feature { max-width: 1200px; margin: clamp(32px, 5vw, 56px) auto clamp(40px, 6vw, 72px); padding: 0 var(--gutter); }
.ap-article__feature img { width: 100%; height: auto; display: block; }
.ap-article__feature figcaption, .ap-figure figcaption { font-size: .82rem; line-height: 1.5; color: var(--muted); margin-top: .7rem; }
.ap-prose--article { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); font-size: 1.08rem; line-height: 1.75; }
.ap-prose--article > p:first-child { font-size: 1.2rem; color: var(--ink); }
.ap-prose--article h2 { font-size: clamp(1.7rem, 2.6vw, 2.15rem); margin: 3.2rem 0 .9rem; text-wrap: balance; }
.ap-prose--article h3 { font: 700 1rem/1.4 var(--sans); margin: 1.8rem 0 .5rem; }
.ap-prose--article strong { font-weight: 700; color: var(--ink); }
.ap-figure { margin: 2.4rem 0; }
.ap-figure img { width: auto; max-width: 100%; max-height: 82vh; height: auto; display: block; margin: 0 auto; }
.ap-figure--wide { margin-left: calc(-1 * min(190px, (100vw - 720px) / 2)); margin-right: calc(-1 * min(190px, (100vw - 720px) / 2)); }
.ap-figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 2.4rem 0; }
.ap-figure-pair .ap-figure { margin: 0; }
.ap-figure-pair img { aspect-ratio: 4 / 5; object-fit: cover; }
.ap-table { margin: 2.2rem 0; overflow-x: auto; }
.ap-table table { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.ap-table caption { text-align: left; font: 700 .7rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-bottom: .7rem; }
.ap-table th, .ap-table td { text-align: left; padding: .7rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.ap-table th { font: 700 .72rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border-bottom-color: var(--ink); }
.ap-table figcaption { font-size: .8rem; color: var(--muted); margin-top: .6rem; }
.ap-prose--article h2 + h3 { margin-top: 1rem; }
.ap-prose--article h2:has(+ h3) { border-top: 1px solid var(--line); padding-top: 2.4rem; }

.ap-author { max-width: 720px; margin: clamp(56px, 7vw, 88px) auto 0; padding: 2rem var(--gutter) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 112px 1fr; gap: 1.6rem; align-items: start; }
.ap-author__img img { width: 112px; height: 112px; object-fit: cover; object-position: 50% 20%; border-radius: 50%; display: block; }
.ap-author__name { font: 400 1.6rem/1.1 var(--serif); margin: .2rem 0 .5rem; }
.ap-author p { margin: 0 0 .6rem; color: var(--ink-2); font-size: .95rem; }
.ap-author .ap-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.ap-article__prints { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.ap-article__nav { max-width: var(--max); margin: clamp(56px, 7vw, 88px) auto clamp(56px, 7vw, 96px); padding: 2rem var(--gutter) 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 2rem; }
.ap-article__nav a { max-width: 44ch; color: var(--ink); text-decoration: none; font: 400 1.35rem/1.25 var(--serif); }
.ap-article__nav span { display: block; font: 700 .68rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin-bottom: .5rem; }
.ap-article__nav-next { margin-left: auto; text-align: right; }
@media (max-width: 760px) { .ap-figure--wide { margin-left: 0; margin-right: 0; } .ap-figure-pair { grid-template-columns: 1fr; } .ap-figure-pair img { aspect-ratio: auto; } .ap-author { grid-template-columns: 1fr; } .ap-article__nav { flex-direction: column; } .ap-article__nav-next { margin-left: 0; text-align: left; } }
