/*
Theme Name: BWN Computer
Theme URI: https://bwncomp.com/
Author: CoreConcepts Design
Author URI: https://coreconcepts.design/
Description: Custom ClientLayer theme for BWN Computer, PC and Mac repair in Graham, Texas. Design direction: "Back in working order".
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bwn
*/

/* ==========================================================================
   Tokens. Paper base, ink type, one accent: the blue of the BWN logo.
   ========================================================================== */
:root {
	--paper: #f3efe6;
	--paper-deep: #e8e1d3;
	--ink: #121a24;
	--ink-soft: #4a5462;
	--blue: #1b57c2;
	--blue-light: #7fb0ff;
	--rule: rgba(18, 26, 36, 0.2);
	--rule-on-ink: rgba(243, 239, 230, 0.22);

	--serif: "Fraunces", "Iowan Old Style", Georgia, serif;
	--sans: "Figtree", "Segoe UI", system-ui, sans-serif;
	--mono: "DM Mono", ui-monospace, Consolas, monospace;

	--edge: clamp(20px, 4.5vw, 76px);
	--gap: clamp(72px, 11vw, 200px);
	--top-h: 84px;
	--out: cubic-bezier(0.16, 0.8, 0.24, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 12px); }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.125rem;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.works :focus-visible, .base :focus-visible, .menu.is-open :focus-visible { outline-color: var(--blue-light); }

.wrap { width: 100%; max-width: 1760px; margin-inline: auto; padding-inline: var(--edge); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -70px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--paper); font-weight: 700; }
.skip:focus { top: 12px; }

/* Small technical label. */
.tag { font-family: var(--mono); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.works .tag, .base .tag { color: rgba(243, 239, 230, 0.72); }

.soft { color: var(--ink-soft); }

/* A hairline in three pieces. The script slides them into one line. */
.join { display: flex; width: 100%; }
.join i { flex: 1; height: 1px; background: var(--rule); }
.works .join i { background: var(--rule-on-ink); }

/* Words wrapped by the script for the "settle" effect. */
.bit-word { display: inline-block; will-change: transform; }

/* ==========================================================================
   Controls
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 58px; padding: 14px 24px; border: 1.5px solid var(--ink); border-radius: 4px;
	font-weight: 700; font-size: 1.05rem; line-height: 1.15; text-decoration: none;
	transition: background-color 0.25s var(--out), color 0.25s var(--out), border-color 0.25s var(--out);
}
.btn-sub { font-family: var(--mono); font-weight: 500; font-size: 0.95rem; padding-left: 12px; border-left: 1px solid currentColor; }
.btn-solid { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-solid:hover { background: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn .ico-arrow { transition: transform 0.25s var(--out); }
.btn:hover .ico-arrow { transform: translateX(4px); }

.round { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border: 1.5px solid currentColor; border-radius: 50%; transition: background-color 0.2s var(--out), color 0.2s var(--out); }
.round:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.works .round:hover, .base .round:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.line-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; border-bottom: 1.5px solid currentColor; font-weight: 700; text-decoration: none; }
.line-link .ico { transition: transform 0.25s var(--out); }
.line-link:hover .ico { transform: translateX(5px); }
.line-link:hover { color: var(--blue); }
.works .line-link:hover { color: var(--blue-light); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ==========================================================================
   Header: the logo sits on an ink plate so its light lettering stays legible.
   ========================================================================== */
.top { position: sticky; top: 0; z-index: 50; background: var(--paper); transition: box-shadow 0.3s var(--out); }
.top.is-moved { box-shadow: 0 1px 0 var(--rule); }
.top-row { display: flex; align-items: stretch; gap: clamp(16px, 2.4vw, 40px); min-height: var(--top-h); padding-inline: var(--edge); max-width: 1760px; margin-inline: auto; }

.plate { display: flex; align-items: center; padding: 8px 18px 10px 12px; background: var(--ink); border-radius: 0 0 10px 10px; flex: none; }
.plate-logo { height: 56px; width: auto; }

.menu { display: flex; align-items: center; margin-left: auto; }
.menu-list { display: flex; align-items: center; gap: clamp(4px, 1.2vw, 22px); }
.menu-list > li { position: relative; }
.menu-list a { display: block; padding: 12px 6px; font-size: 1.02rem; text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 6px calc(100% - 8px) / 0 1.5px; transition: background-size 0.3s var(--out); }
.menu-list a:hover { background-size: calc(100% - 12px) 1.5px; }
.menu-extra { display: none; }
.menu-sub { position: absolute; left: -14px; top: 100%; min-width: 300px; padding: 10px 14px; background: var(--paper); border: 1.5px solid var(--ink); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.2s var(--out), transform 0.2s var(--out), visibility 0.2s; }
.menu-parent:hover .menu-sub, .menu-parent:focus-within .menu-sub { opacity: 1; visibility: visible; transform: none; }

.top-side { display: flex; align-items: center; gap: 12px; flex: none; }
.call { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 18px; background: var(--blue); color: #fff; border-radius: 4px; font-weight: 700; text-decoration: none; transition: background-color 0.25s var(--out); }
.call:hover { background: var(--ink); }
.call-number { font-family: var(--mono); font-weight: 500; font-size: 0.95rem; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, 0.6); }

.menu-button { display: none; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 4px; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.menu-button-lines { display: grid; gap: 5px; width: 18px; }
.menu-button-lines i { display: block; height: 2px; background: currentColor; transition: transform 0.25s var(--out); }
.menu-button[aria-expanded="true"] .menu-button-lines i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button-lines i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ==========================================================================
   Opening
   ========================================================================== */
.opening { position: relative; min-height: calc(100svh - var(--top-h)); display: flex; align-items: center; padding-block: clamp(24px, 3vw, 48px) clamp(20px, 2.4vw, 40px); overflow: hidden; }
.opening .wrap { display: grid; gap: clamp(18px, 2.2vw, 34px); }
.headline { font-family: var(--serif); font-weight: 380; font-size: clamp(2.9rem, 7.7vw, 9.2rem); line-height: 0.94; letter-spacing: -0.04em; font-variation-settings: "opsz" 144; }
.headline-a, .headline-b { display: block; }
.headline-b { font-style: italic; font-weight: 340; color: var(--blue); padding-left: clamp(0px, 7vw, 132px); }

.opening-lower { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); align-items: end; margin-top: clamp(8px, 1.4vw, 24px); }
.opening-say { display: grid; gap: 26px; justify-items: start; padding-bottom: 6px; }
.lead { max-width: 30ch; font-size: clamp(1.2rem, 1.7vw, 1.55rem); line-height: 1.4; }

/* The client's existing rotating images, at their real size. */
.reel { display: grid; gap: 12px; width: 100%; max-width: min(728px, 66vh); justify-self: end; }
.reel-frame { display: grid; }
.reel-shot { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity 0.7s var(--out), visibility 0.7s; }
.reel-shot.is-on { opacity: 1; visibility: visible; }
.reel.is-live .reel-shot { transition: none; }
.reel-shot img { width: 100%; aspect-ratio: 728 / 385; object-fit: cover; }
.reel-shot figcaption { position: absolute; inset: 0 0 0 46%; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 16px clamp(14px, 2vw, 28px) 16px 8%; color: #fff; background: linear-gradient(90deg, rgba(6, 30, 78, 0), rgba(6, 30, 78, 0.5) 30%); }
.reel-shot strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.15rem, 1.8vw, 1.6rem); line-height: 1.08; letter-spacing: -0.01em; }
.reel-shot figcaption span { font-size: clamp(0.85rem, 1vw, 0.98rem); line-height: 1.5; }
.reel-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.reel-count, .said-count { font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.08em; color: var(--ink-soft); }
.reel-count b, .said-count b { color: var(--ink); font-weight: 500; }
.reel-buttons { display: flex; gap: 8px; }
.reel-buttons .ico-play, .reel.is-paused .ico-pause { display: none; }
.reel.is-paused .ico-play { display: block; }

/* ==========================================================================
   What we do: the one dark passage. Pieces on the screen fall into order.
   ========================================================================== */
.works { background: var(--ink); color: var(--paper); }
.works-pin { min-height: 100vh; display: grid; align-items: center; padding-block: clamp(56px, 8vh, 110px); }
.works-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 120px); align-items: center; }

.bench { display: grid; gap: 14px; }
.bench-svg { width: 100%; height: auto; max-height: 64vh; overflow: visible; }
.bench-screen { fill: none; stroke: rgba(243, 239, 230, 0.55); stroke-width: 1.5; }
.bench-base { fill: none; stroke: rgba(243, 239, 230, 0.55); stroke-width: 1.5; stroke-linecap: round; }
.bit-0 { fill: var(--paper); }
.bit-1 { fill: var(--blue-light); }
.bit-2 { fill: rgba(243, 239, 230, 0.5); }
.bit-3 { fill: #3d78e0; }

.works-text { display: grid; gap: 22px; }
.work { border-top: 1px solid var(--rule-on-ink); }
.work:last-child { border-bottom: 1px solid var(--rule-on-ink); }
.work-word { display: block; padding-block: clamp(8px, 1.2vh, 16px); font-family: var(--serif); font-weight: 360; font-size: clamp(2.8rem, 6.6vw, 7.4rem); line-height: 1; letter-spacing: -0.035em; text-decoration: none; transition: color 0.4s var(--out), opacity 0.4s var(--out); }
.work-word:hover { color: var(--blue-light); }
.work-more { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.55s var(--out), opacity 0.4s var(--out); }
.work-more > div { overflow: hidden; display: grid; gap: 16px; justify-items: start; }
.work-more p { max-width: 46ch; color: rgba(243, 239, 230, 0.86); }
.work-more > div::after { content: ""; height: clamp(10px, 1.6vh, 22px); }

/* Only when the script has taken over on large screens: one service open at a time. */
.works-list.is-staged .work-word { opacity: 0.3; }
.works-list.is-staged .work.is-on .work-word { opacity: 1; font-style: italic; }
.works-list.is-staged .work-more { grid-template-rows: 0fr; opacity: 0; }
.works-list.is-staged .work.is-on .work-more { grid-template-rows: 1fr; opacity: 1; }

.also { display: grid; gap: 22px; padding-block: 0 clamp(64px, 8vw, 130px); }
.also-list { display: flex; flex-wrap: wrap; gap: 10px clamp(20px, 3.4vw, 60px); }
.also-list a { font-family: var(--serif); font-weight: 360; font-size: clamp(1.4rem, 2.5vw, 2.4rem); letter-spacing: -0.02em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: var(--rule-on-ink); transition: text-decoration-color 0.25s var(--out), color 0.25s var(--out); }
.also-list a:hover { color: var(--blue-light); text-decoration-color: currentColor; }

/* ==========================================================================
   The record: two figures set as type, not as cards.
   ========================================================================== */
.record { padding-block: var(--gap); overflow: hidden; }
.record .wrap { display: grid; gap: clamp(14px, 2vw, 30px); }
.record-row { display: flex; align-items: baseline; gap: clamp(14px, 2.6vw, 48px); }
.record-row-flip { flex-direction: row-reverse; }
.record-num { font-family: var(--serif); font-weight: 300; font-size: clamp(6rem, 23vw, 27rem); line-height: 0.82; letter-spacing: -0.06em; font-variation-settings: "opsz" 144; white-space: nowrap; }
.record-what { font-family: var(--serif); font-style: italic; font-weight: 360; font-size: clamp(1.4rem, 3.2vw, 3.4rem); line-height: 1; color: var(--blue); max-width: 6em; }
.record-notes { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 96px); align-items: start; padding-top: clamp(16px, 2vw, 32px); }
.record-note { max-width: 34ch; color: var(--ink-soft); }
.record-cert { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.record-cert img { width: clamp(72px, 7vw, 108px); flex: none; }
.record-cert p { max-width: 38ch; }

/* ==========================================================================
   The person behind the work
   ========================================================================== */
.person { background: var(--paper-deep); padding-block: var(--gap); }
.person-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(28px, 6vw, 120px); align-items: start; }
.person-photo { display: grid; gap: 12px; max-width: 317px; margin-top: clamp(40px, 9vw, 170px); }
.person-photo img { width: 100%; }
.person-say { display: grid; gap: clamp(20px, 2.4vw, 36px); justify-items: start; }
.statement { font-family: var(--serif); font-weight: 360; font-size: clamp(2rem, 5vw, 5.6rem); line-height: 1.02; letter-spacing: -0.035em; font-variation-settings: "opsz" 144; max-width: 17em; }
.person-text { max-width: 44ch; font-size: clamp(1.1rem, 1.3vw, 1.3rem); margin-left: clamp(0px, 14vw, 260px); }
.person-say > .line-link { margin-left: clamp(0px, 14vw, 260px); }

/* ==========================================================================
   Customer experiences: one large quotation at a time.
   ========================================================================== */
.said { padding-block: var(--gap); }
.said .wrap { display: grid; gap: clamp(28px, 4vw, 64px); }
.said-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.said-nav { display: none; align-items: center; gap: 10px; }
.said-nav .said-count { margin-right: 10px; }
.said-stage { display: grid; gap: clamp(40px, 6vw, 80px); }
.quote { display: grid; gap: clamp(20px, 2.6vw, 40px); }
.quote blockquote { position: relative; font-family: var(--serif); font-weight: 340; font-size: clamp(1.7rem, 4.3vw, 4.8rem); line-height: 1.08; letter-spacing: -0.03em; font-variation-settings: "opsz" 144; max-width: 22em; text-indent: clamp(36px, 6vw, 110px); }
.quote blockquote::before { content: "\201C"; position: absolute; left: 0; top: 0.14em; text-indent: 0; font-size: 1.7em; line-height: 0.8; font-style: italic; color: var(--blue); }
.quote figcaption { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.quote-name { font-weight: 700; font-size: 1.15rem; }
.said-foot { display: flex; flex-wrap: wrap; gap: 16px clamp(24px, 4vw, 64px); }

/* With the script: quotes share one place and the controls appear. */
.said.is-live .said-nav { display: flex; }
.said.is-live .said-stage { gap: 0; }
.said.is-live .quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.said.is-live .quote.is-on { opacity: 1; visibility: visible; }

/* ==========================================================================
   Visit or get help
   ========================================================================== */
.visit { padding-block: 0 var(--gap); }
.visit .wrap { display: grid; gap: clamp(24px, 3vw, 44px); }
.invite { font-family: var(--serif); font-weight: 360; font-size: clamp(3rem, 10.4vw, 12.5rem); line-height: 0.92; letter-spacing: -0.045em; font-variation-settings: "opsz" 144; }
.invite > span, .invite > a { display: block; }
.invite a { font-style: italic; color: var(--blue); text-decoration: none; padding-left: clamp(0px, 9vw, 170px); transition: color 0.3s var(--out); }
.invite a:hover { color: var(--ink); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); align-items: start; padding-top: clamp(16px, 2.4vw, 40px); }
.visit-facts { display: grid; gap: clamp(24px, 3vw, 44px); }
.visit-facts dl { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px 20px; padding-top: 22px; border-top: 1px solid var(--rule); }
.visit-facts dt { padding-top: 0.35em; }
.visit-facts dd { max-width: 40ch; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.visit-photo { max-width: 1000px; justify-self: end; }
.visit-photo img { width: 100%; }

/* ==========================================================================
   Footer
   ========================================================================== */
.base { background: var(--ink); color: var(--paper); padding-block: 0 28px; }
.base-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2fr) minmax(0, 3fr); gap: clamp(28px, 4vw, 72px); padding-bottom: clamp(48px, 6vw, 96px); }
.base-brand { display: grid; gap: 26px; align-content: start; justify-items: start; }
.base .plate { border: 1px solid var(--rule-on-ink); border-top: 0; }
.base-line { font-family: var(--serif); font-style: italic; font-weight: 340; font-size: clamp(1.4rem, 2.2vw, 2.2rem); line-height: 1.1; max-width: 12em; }
.base-col { display: grid; gap: 14px; align-content: start; padding-top: clamp(40px, 5vw, 80px); color: rgba(243, 239, 230, 0.86); }
.base-col ul { display: grid; gap: 8px; }
.base-col a { text-decoration: none; }
.base-col a:hover { text-decoration: underline; text-underline-offset: 4px; color: #fff; }
.base-social { display: flex; gap: 10px; }
.base-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-top: 24px; border-top: 1px solid var(--rule-on-ink); font-size: 0.95rem; color: rgba(243, 239, 230, 0.75); }
.base-credit a { color: var(--paper); text-underline-offset: 4px; }
.base-credit a:hover { color: var(--blue-light); }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.folio { display: grid; gap: clamp(28px, 4vw, 60px); padding-top: clamp(44px, 7vw, 120px); }
.folio .wrap { display: grid; gap: 18px; }
.folio-title { font-family: var(--serif); font-weight: 360; font-size: clamp(2.6rem, 7.6vw, 8.6rem); line-height: 0.96; letter-spacing: -0.04em; font-variation-settings: "opsz" 144; max-width: 14em; text-wrap: balance; }

.sheet { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 96px); padding-block: clamp(40px, 6vw, 96px) var(--gap); align-items: start; }
.sheet-aside { position: sticky; top: calc(var(--top-h) + 28px); display: grid; gap: 12px; justify-items: start; padding-top: 16px; border-top: 1.5px solid var(--ink); }
.aside-phone { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2.1rem); letter-spacing: -0.02em; text-decoration: none; color: var(--blue); }
.aside-phone:hover { color: var(--ink); }
.aside-text { color: var(--ink-soft); }
.sheet-body { grid-column: 2; min-width: 0; }
.sheet > .sheet-body:first-child { grid-column: 2; }

/* Page and post content, including what plugins print. */
.copy > * + * { margin-top: 1.1em; }
.copy h1, .copy h2, .copy h3, .copy h4, .copy h5 { font-family: var(--serif); font-weight: 420; line-height: 1.1; letter-spacing: -0.02em; margin-top: 1.7em; }
.copy h2 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
.copy h3 { font-size: clamp(1.45rem, 2.2vw, 1.95rem); }
.copy h4, .copy h5 { font-size: 1.3rem; }
.copy a:not(.btn) { color: var(--blue); text-underline-offset: 3px; }
.copy a:not(.btn):hover { color: var(--ink); }
.copy ul, .copy ol { padding-left: 1.3em; }
.copy ul { list-style: disc; }
.copy ol { list-style: decimal; }
.copy li + li { margin-top: 0.4em; }
.copy li::marker { color: var(--blue); }
.copy img.alignleft, .copy .alignleft { float: left; margin: 0.3em 1.6em 1em 0; }
.copy img.alignright, .copy .alignright { float: right; margin: 0.3em 0 1em 1.6em; }
.copy .aligncenter { margin-inline: auto; }
.copy::after { content: ""; display: block; clear: both; }
.copy blockquote { padding-left: 20px; border-left: 2px solid var(--blue); }
.copy table { width: 100%; border-collapse: collapse; }
.copy th, .copy td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; }
.copy iframe, .copy embed, .copy object { max-width: 100%; }
.copy .testimonial-single, .copy .glsr-review { padding-block: 22px; border-top: 1px solid var(--rule); }
.copy .testimonial-name, .copy .glsr-review-author { font-weight: 700; }
.copy .testimonial-tagline, .copy .glsr-review-date { display: block; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--ink-soft); }

/* Forms: the theme's own and the ones plugins print inside page content. */
.field, .copy .bne_testimonials_field_wrap, .copy .wpcf7-form p, .copy .glsr-field { display: grid; gap: 6px; margin-bottom: 20px; }
.field label, .copy label { font-weight: 700; }
.field-hint { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea,
.copy input[type="text"], .copy input[type="email"], .copy input[type="tel"], .copy input[type="url"], .copy input[type="number"], .copy input[type="file"], .copy select, .copy textarea {
	width: 100%; min-height: 54px; padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 4px; background: #fffdf8; color: var(--ink); font: inherit;
}
.field textarea, .copy textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus, .copy input:focus, .copy select:focus, .copy textarea:focus { outline: 3px solid var(--blue); outline-offset: 2px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #a4281c; }
.field-error { color: #a4281c; font-weight: 700; }
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.copy input[type="submit"], .copy button[type="submit"] { min-height: 58px; padding: 14px 26px; border: 0; border-radius: 4px; background: var(--blue); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.copy input[type="submit"]:hover, .copy button[type="submit"]:hover { background: var(--ink); }
.copy fieldset { border: 0; padding: 0; margin: 0; }
.note-form { display: grid; justify-items: start; }
.note-form .field { width: 100%; }
.note-form .btn[disabled] { opacity: 0.6; cursor: progress; }
.form-status { margin-top: 16px; font-weight: 700; }
.form-status:empty { display: none; }
.form-status.is-error { color: #a4281c; }
.form-status.is-ok { color: #1c6b3a; }
.form-done { padding: 22px 0; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.2; }

/* Lists of posts, services and testimonials: open rows. */
.entries, .rows, .voices { margin-block: clamp(40px, 6vw, 96px) 0; border-top: 1px solid var(--rule); }
.rows, .voices { margin-bottom: var(--gap); }
.entry, .row, .voice { border-bottom: 1px solid var(--rule); }
.entry a { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr) auto; gap: 8px clamp(24px, 5vw, 96px); padding-block: clamp(22px, 2.8vw, 40px); text-decoration: none; }
.entry-date { grid-row: 1 / span 2; padding-top: 0.6em; font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.entry-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 2.5rem); line-height: 1.08; letter-spacing: -0.02em; transition: color 0.25s var(--out); }
.entry-text { grid-column: 2; color: var(--ink-soft); max-width: 62ch; }
.entry-go { grid-column: 3; grid-row: 1; padding-top: 0.5em; color: var(--blue); transition: transform 0.25s var(--out); }
.entry a:hover .entry-title { color: var(--blue); }
.entry a:hover .entry-go { transform: translateX(6px); }

.row a { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr) auto; gap: clamp(24px, 5vw, 96px); align-items: baseline; padding-block: clamp(22px, 3vw, 48px); text-decoration: none; }
.row-name { font-family: var(--serif); font-weight: 360; font-size: clamp(1.8rem, 4.6vw, 4.8rem); line-height: 1; letter-spacing: -0.035em; transition: color 0.25s var(--out), transform 0.35s var(--out); }
.row a:hover .row-name { color: var(--blue); transform: translateX(12px); }
.row-go { color: var(--blue); }

.voice { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 96px); padding-block: clamp(22px, 3vw, 44px); }
.voice-who { display: grid; gap: 6px; align-content: start; }
.share { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); padding-bottom: var(--gap); align-items: start; }
.share-say { display: grid; gap: 18px; position: sticky; top: calc(var(--top-h) + 28px); }
.share-say p:last-child { max-width: 36ch; color: var(--ink-soft); }

.pages { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 36px var(--gap); }
.pages .page-numbers { display: grid; place-items: center; min-width: 46px; min-height: 46px; padding: 0 14px; border: 1.5px solid var(--rule); border-radius: 4px; text-decoration: none; font-family: var(--mono); font-size: 0.85rem; }
.pages .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pages a.page-numbers:hover { border-color: var(--ink); }
.turn { display: flex; justify-content: space-between; gap: 24px; padding-bottom: var(--gap); font-weight: 700; }
.empty { padding-block: clamp(40px, 6vw, 96px) var(--gap); }

/* ==========================================================================
   Starting positions for entrance animations. Only while "anim" is set.
   ========================================================================== */
.anim [data-settle], .anim [data-opening-fade], .anim [data-opening-reel], .anim [data-rise] { opacity: 0; }
[data-unveil] { overflow: hidden; }
.anim [data-unveil] { clip-path: inset(0 0 100% 0); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   Small laptop
   ========================================================================== */
@media (max-width: 1320px) {
	.call-label { display: none; }
	.call-number { padding-left: 0; border-left: 0; }
	.top-side .round { display: none; }
	.plate-logo { height: 50px; }
}

/* ==========================================================================
   Tablet and down: menu becomes a panel, the pinned scene becomes a column.
   ========================================================================== */
@media (max-width: 1023px) {
	:root { --top-h: 74px; }
	.plate-logo { height: 44px; }
	.menu-button { display: inline-flex; }
	.menu { position: fixed; inset: var(--top-h) 0 0 0; display: block; margin: 0; padding: 20px var(--edge) 48px; background: var(--ink); color: var(--paper); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s var(--out), transform 0.25s var(--out), visibility 0.25s; }
	.menu.is-open { opacity: 1; visibility: visible; transform: none; }
	.menu-list { flex-direction: column; align-items: stretch; gap: 0; }
	.menu-list > li { border-bottom: 1px solid var(--rule-on-ink); }
	.menu-list > li > a { padding: 16px 0; font-family: var(--serif); font-size: 2rem; letter-spacing: -0.02em; background: none; }
	.menu-extra { display: block; }
	.menu-list > li.menu-extra > a { font-family: var(--sans); font-size: 1.1rem; letter-spacing: 0; }
	.menu-sub { position: static; min-width: 0; padding: 0 0 14px; background: none; border: 0; opacity: 1; visibility: visible; transform: none; }
	.menu-sub a { padding: 9px 0 9px 16px; border-left: 1px solid var(--rule-on-ink); color: rgba(243, 239, 230, 0.82); background: none; }
	body.menu-open { overflow: hidden; }

	.opening { min-height: 0; }
	.opening-lower, .works-grid, .record-notes, .person-grid, .visit-grid, .share { grid-template-columns: 1fr; }
	.reel { justify-self: start; }
	.works-pin { min-height: 0; }
	.bench { max-width: 560px; }
	.person-photo { margin-top: 0; max-width: 240px; }
	.person-text, .person-say > .line-link { margin-left: 0; }
	.visit-photo { justify-self: start; }
	.share-say { position: static; }
	.sheet { grid-template-columns: 1fr; }
	.sheet-body, .sheet > .sheet-body:first-child { grid-column: 1; }
	.sheet-aside { position: static; order: 2; }
	.voice { grid-template-columns: 1fr; gap: 12px; }
	.base-grid { grid-template-columns: 1fr 1fr; }
	.base-brand { grid-column: 1 / -1; }
	.base-col { padding-top: 0; }
}

/* ==========================================================================
   Phone
   ========================================================================== */
@media (max-width: 640px) {
	body { font-size: 1.0625rem; }
	.call { padding-inline: 14px; }
	.call-number { display: none; }
	.call-label { display: inline; }
	.menu-button-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.menu-button { width: 48px; padding: 0; justify-content: center; }
	.headline-b, .invite a { padding-left: 0; }
	.actions .btn { width: 100%; }
	.reel-shot figcaption { position: static; padding: 14px 0 0; color: var(--ink); background: none; }
	.reel-shot figcaption span { color: var(--ink-soft); }
	.record-row, .record-row-flip { flex-direction: column; align-items: flex-start; gap: 6px; }
	.record-cert { align-items: flex-start; }
	.visit-facts dl { grid-template-columns: 1fr; gap: 4px; }
	.visit-facts dd { margin-bottom: 12px; }
	.visit-actions li, .visit-actions .btn { width: 100%; }
	.entry a, .row a { grid-template-columns: 1fr; gap: 6px; }
	.entry-date { grid-row: auto; padding-top: 0; }
	.entry-text { grid-column: 1; }
	.entry-go, .row-go { display: none; }
	.base-grid { grid-template-columns: 1fr; }
	.copy img.alignleft, .copy img.alignright, .copy .alignleft, .copy .alignright { float: none; margin: 0 0 1em; }
	.turn { flex-direction: column; }
}
