/*
Theme Name: Orpical
Theme URI: https://orpical.com
Author: Orpical Technology Solutions
Description: Orpical's editorial brand theme: warm paper, IBM Plex Serif display, Roboto body, Roboto Mono labels, brand blues and isometric line art.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: orpical
*/

:root {
	--paper: #f8f6ef;
	--paper-2: #efece2;
	--ink: #26283f;
	--ink-2: #1d1f3a;
	--body: #3b3e55;
	--muted: #5d6075;
	--rule: #d9d6cb;
	--rule-2: #cfcab9;
	--navy: #2d2e83;
	--blue: #2b6fcf;
	--sky: #36a7e2;
	--pale: #e4edf8;
	--deep: #1c1d3f;
	--serif: 'IBM Plex Serif', Georgia, serif;
	--sans: 'Roboto', system-ui, sans-serif;
	--mono: 'Roboto Mono', ui-monospace, monospace;
	--wrap: 1320px;
	--gutter: 40px;
	--label-col: 260px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: #c6daf3; color: var(--ink-2); }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.screen-reader-text, .o-sr {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.o-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--navy); color: #fff; font-family: var(--mono); font-size: 12px; text-decoration: none; }
.o-skip:focus { top: 12px; }

/* Layout */
.o-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.o-split { display: flex; flex-wrap: wrap; gap: 32px 40px; }
.o-split > .o-label { flex: 0 0 var(--label-col); }
.o-split > .o-main { flex: 1 1 640px; min-width: 0; }
.o-offset { margin-left: calc(var(--label-col) + 40px); }
.o-section { padding-top: 170px; }

/* Type */
.o-label { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.o-label .o-bar { width: 40px; height: 10px; background: var(--bar, var(--navy)); }
.o-label .o-num { color: var(--muted); }
.o-mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.o-display, .o-h1, .o-h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -0.025em; color: var(--ink); }
.o-h1 { font-size: clamp(44px, 5.4vw, 76px); line-height: 1.03; }
.o-h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.06; }
.o-h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.17; letter-spacing: -0.02em; }
.o-display em, .o-h1 em, .o-h2 em, .o-h3 em { font-style: italic; font-weight: 500; color: var(--blue); }
.o-lede { margin: 0; max-width: 640px; font-size: 19px; line-height: 1.6; font-weight: 300; color: var(--body); }
.o-link { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: opacity .2s; }
.o-link:hover { opacity: .65; }
.o-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 1px solid var(--navy); background: var(--navy); color: #fff; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.o-btn:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.o-btn--ghost { background: transparent; color: var(--navy); }
.o-btn--ghost:hover { background: var(--navy); color: #fff; }

@keyframes oRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.o-rise { animation: oRise .95s cubic-bezier(.2,.8,.2,1) both; }

/* Header */
.o-header { position: sticky; top: 0; z-index: 50; background: rgba(248,246,239,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid #e4e0d3; }
.admin-bar .o-header { top: 32px; }
.o-header .o-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; }
.o-logo { display: flex; align-items: center; }
.o-logo img { height: 34px; width: auto; display: block; }
.o-nav { display: flex; align-items: center; gap: 8px 34px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #4a4d63; }
.o-nav a { text-decoration: none; transition: color .2s; }
.o-nav a:hover, .o-nav a[aria-current="page"] { color: var(--blue); }
.o-nav .o-nav-cta { padding: 12px 18px; background: var(--navy); color: #fff; }
.o-nav .o-nav-cta:hover { background: var(--ink-2); color: #fff; }
.o-menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: none; color: var(--ink); cursor: pointer; }

/* Footer */
.o-footer { border-top: 1px solid var(--rule); }
.o-footer .o-wrap { padding-top: 44px; padding-bottom: 52px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.o-footer img { height: 30px; width: auto; display: block; }
.o-footer nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.o-footer nav a { text-decoration: none; }
.o-footer nav a:hover { color: var(--blue); }
.o-footer p { margin: 0; font-size: 13px; color: var(--muted); }

/* CTA band */
.o-cta { background: var(--navy); color: #fff; }
.o-cta .o-wrap { padding-top: 120px; padding-bottom: 130px; display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: flex-end; justify-content: space-between; }
.o-cta-text { flex: 1 1 640px; display: flex; flex-direction: column; gap: 18px; }
.o-cta-text .o-mono { color: #c6daf3; }
.o-cta-text p { margin: 0; }
.o-cta-quote { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 42px); line-height: 1.2; letter-spacing: -0.02em; }
.o-cta-quote em { font-style: italic; color: #9cc9f5; }
.o-cta-sub { font-size: 18px; font-weight: 300; color: #d4d8f0; }
.o-cta .o-btn { background: #fff; border-color: #fff; color: var(--navy); }
.o-cta .o-btn:hover { background: var(--sky); border-color: var(--sky); color: #fff; }

/* ---------- Homepage ---------- */
.o-hero { padding-top: 88px; }
.o-hero-head { display: flex; flex-wrap: wrap; gap: 28px 64px; align-items: flex-end; justify-content: space-between; }
.o-hero-head .o-h1 { flex: 1 1 640px; max-width: 860px; }
.o-hero-head .o-lede { flex: 0 1 340px; font-size: 18px; margin-bottom: 10px; }
.o-hero-media { position: relative; margin-top: 72px; }
.o-hero-media .o-block-a { position: absolute; right: calc(var(--gutter) * -1); top: -40px; width: 22%; height: 30%; background: var(--navy); }
.o-hero-media .o-block-b { position: absolute; right: calc(22% - var(--gutter)); top: -40px; width: 8%; height: 14%; background: var(--sky); }
.o-hero-img { position: relative; overflow: hidden; }
.o-hero-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.o-hero-img::after { content: ""; position: absolute; inset: 0; background: var(--navy); mix-blend-mode: screen; opacity: .26; pointer-events: none; }
.o-hero-ctas { position: relative; display: flex; flex-wrap: wrap; margin: -96px 0 0 auto; max-width: 720px; }
.o-hero-cta { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; padding: 30px 32px 34px; color: #fff; text-decoration: none; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.o-hero-cta:hover { transform: translateY(-6px); color: #fff; }
.o-hero-cta .o-mono { color: #9cc9f5; }
.o-hero-cta span:last-child { font-family: var(--serif); font-size: 26px; }
.o-hero-cta--a { background: var(--navy); }
.o-hero-cta--b { background: var(--blue); }
.o-hero-cta--b .o-mono { color: #d6ebfc; }

.o-about-body { display: flex; flex-wrap: wrap; gap: 24px 48px; font-size: 17px; line-height: 1.7; font-weight: 300; color: var(--body); }
.o-about-body p { flex: 1 1 300px; margin: 0; }
.o-stats { margin-top: 96px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.o-stat { padding: 28px 24px 0; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--rule); }
.o-stat:first-child { padding-left: 0; border-left: 0; }
.o-stat b { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 3.6vw, 52px); letter-spacing: -0.02em; line-height: 1.1; }
.o-stat span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.o-values-letters { display: flex; justify-content: space-between; gap: 4px; border-bottom: 1px solid var(--rule); }
.o-values-letters button { min-width: 44px; padding: 0 0 6px; margin-bottom: -1px; border: 0; border-bottom: 3px solid transparent; background: none; font-family: var(--serif); font-size: clamp(64px, 10vw, 150px); line-height: 1; color: var(--ink); cursor: pointer; transition: color .3s; }
.o-values-letters button[aria-selected="true"] { font-style: italic; color: var(--blue); border-bottom-color: var(--blue); }
.o-value { min-height: 150px; padding-top: 34px; display: flex; flex-wrap: wrap; gap: 12px 48px; align-items: baseline; }
.o-value[hidden] { display: none; }
.o-value-word { margin: 0; flex: 0 0 280px; font-family: var(--serif); font-size: 40px; letter-spacing: -0.015em; }
.o-value-word em { font-style: italic; color: var(--blue); }
.o-value-text { margin: 0; flex: 1 1 340px; font-size: 20px; line-height: 1.55; font-weight: 300; color: var(--body); }

.o-standard { padding: 40px 0 170px; overflow: hidden; }
.o-standard-band { font-family: var(--serif); font-size: clamp(56px, 8vw, 112px); line-height: 1.12; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; margin-top: 56px; }
.o-standard-row { display: flex; width: max-content; animation: oMarqueeL 70s linear infinite; }
.o-standard-row + .o-standard-row { margin-top: 18px; color: #8d8e9b; animation: oMarqueeR 80s linear infinite; }
.o-standard-band:hover .o-standard-row { animation-play-state: paused; }
.o-standard-item { display: inline-flex; align-items: center; gap: 56px; padding-right: 56px; }
.o-standard-item em { font-style: italic; font-weight: 500; color: var(--blue); }
.o-standard-item i { width: 18px; height: 18px; background: var(--sky); flex: none; }
@keyframes oMarqueeL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes oMarqueeR { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.o-mission { background: var(--navy); color: #fff; }
.o-mission .o-wrap { padding-top: 150px; padding-bottom: 160px; }
.o-mission .o-label { color: #c6daf3; }
.o-mission .o-label .o-bar { background: var(--sky); }
.o-mission-text { margin: 0; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.22; letter-spacing: -0.02em; }
.o-mission-text em { font-style: italic; font-weight: 500; color: #9cc9f5; }

.o-solutions { position: relative; }
.o-solutions .o-deco-a { position: absolute; right: 9%; top: 470px; width: 150px; height: 150px; background: var(--sky); opacity: .9; }
.o-solutions .o-deco-b { position: absolute; right: calc(9% + 150px); top: 420px; width: 290px; height: 100px; background: #dfeaf7; }
.o-solutions .orps { margin-top: 60px; }
.o-solutions .orps-services { max-width: var(--wrap); padding: 0 var(--gutter) 0 calc(var(--gutter) + var(--label-col) + 40px); margin-top: 150px; }

.o-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.o-filter button, .o-filter a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--rule-2); background: transparent; color: #4a4d63; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.o-filter button:hover, .o-filter a:hover { border-color: var(--navy); color: var(--navy); }
.o-filter [aria-selected="true"], .o-filter [aria-current="page"],
.o-filter [aria-selected="true"]:hover, .o-filter [aria-current="page"]:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.o-work-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
.o-card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--ink); }
.o-card[hidden] { display: none; }
.o-card-media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg, #e4e0d3); filter: grayscale(1) contrast(1.05); transition: filter .6s ease; }
.o-card-media img { display: block; width: 100%; height: 100%; object-fit: var(--fit, cover); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.o-card:hover .o-card-media { filter: none; }
.o-card:hover .o-card-media img { transform: scale(1.035); }
.o-card-cat { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.o-card-title { font-family: var(--serif); font-size: 27px; line-height: 1.15; letter-spacing: -0.01em; transition: color .25s; }
.o-card:hover .o-card-title { color: var(--blue); }
.o-card-text { font-size: 15.5px; line-height: 1.6; font-weight: 300; color: var(--body); }

.o-posts-list { margin-top: 64px; border-top: 1px solid var(--rule); }
.o-post-row { display: flex; flex-wrap: wrap; gap: 10px 40px; padding: 34px 16px 34px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); transition: background .3s; }
.o-post-row:hover { background: var(--paper-2); }
.o-post-row .o-card-cat { flex: 0 0 200px; padding-top: 10px; }
.o-post-row-body { flex: 1 1 480px; display: flex; flex-direction: column; gap: 10px; }
.o-post-row-title { font-family: var(--serif); font-size: 30px; line-height: 1.2; letter-spacing: -0.01em; }
.o-post-row-text { font-size: 16px; line-height: 1.6; font-weight: 300; color: var(--body); }

.o-innovation { background: var(--deep); color: #fff; }
.o-innovation .o-wrap { padding-top: 160px; padding-bottom: 170px; }
.o-innovation .o-label { color: #c6daf3; }
.o-innovation .o-label .o-num { color: #9aa0c4; }
.o-innovation .o-label .o-bar { background: var(--sky); }
.o-innovation .o-h2 { color: #fff; }
.o-innovation .o-h2 em { color: #9cc9f5; }
.o-innovation .o-lede { color: #c9cce0; max-width: 680px; }
.o-pillars3 { margin-top: 96px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.o-pillar3 { padding: 34px 36px 8px; border-top: 1px solid #3c3f6e; border-left: 1px solid #3c3f6e; display: flex; flex-direction: column; gap: 16px; }
.o-pillar3:first-child { padding-left: 0; border-left: 0; }
.o-pillar3:last-child { padding-right: 0; }
.o-pillar3 .o-n { font-family: var(--serif); font-style: italic; font-size: 24px; color: #9cc9f5; }
.o-pillar3 h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 34px; }
.o-pillar3 p { margin: 0; font-size: 16px; line-height: 1.6; font-weight: 300; color: #c9cce0; }
.o-pillar3 .o-sub { margin-top: 22px; padding-top: 22px; border-top: 1px dashed #3c3f6e; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #9cc9f5; }
.o-pillar3 .o-link { align-self: flex-start; margin-top: 8px; font-size: 15px; color: #fff; }

.o-contact .o-quote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.o-contact-grid { margin-top: 96px; display: flex; flex-wrap: wrap; gap: 56px 72px; }
.o-contact-info { flex: 1 1 300px; display: flex; flex-direction: column; gap: 22px; }
.o-contact-info h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.2; letter-spacing: -0.01em; }
.o-contact-info dl { margin: 18px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 14px 24px; font-size: 16px; }
.o-contact-info dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); padding-top: 4px; }
.o-contact-info dd { margin: 0; line-height: 1.5; }
.o-contact-info dd a { text-decoration: none; }
.o-contact-form { flex: 1.3 1 380px; }
.o-contact-form .o-note { margin: 26px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Contact Form 7 */
.o-contact-form .wpcf7 form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.o-contact-form .wpcf7 form > p { margin: 0; position: relative; display: flex; flex-direction: column-reverse; gap: 8px; }
.o-contact-form .wpcf7 form > p:nth-of-type(n+3) { grid-column: 1 / -1; }
.o-contact-form .input-default-text { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.o-contact-form .wpcf7-form-control-wrap { display: block; }
.o-contact-form input[type="text"], .o-contact-form input[type="email"], .o-contact-form textarea { width: 100%; height: 44px; padding: 0; border: 0; border-bottom: 1px solid #bfbaa9; border-radius: 0; background: transparent; font-family: var(--sans); font-size: 17px; color: var(--ink); }
.o-contact-form textarea { height: auto; min-height: 120px; line-height: 1.6; resize: vertical; }
.o-contact-form input:focus, .o-contact-form textarea:focus { outline: none; border-bottom-color: var(--navy); }
.o-contact-form .contact-submit-holder { flex-direction: row !important; }
.o-contact-form input[type="submit"] { min-height: 52px; padding: 0 30px; border: 0; border-radius: 0; background: var(--navy); color: #fff; font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.o-contact-form input[type="submit"]:hover { background: var(--ink-2); }
.o-contact-form .wpcf7-spinner { margin: 16px; }
.o-contact-form .wpcf7-not-valid-tip { font-size: 13px; color: #b3261e; margin-top: 6px; }
.o-contact-form .wpcf7-response-output { grid-column: 1 / -1; margin: 0 !important; padding: 14px 16px !important; border: 1px solid var(--rule-2) !important; font-size: 15px; }

/* ---------- Blog ---------- */
.o-blog-hero { padding-top: 120px; }
.o-feature { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; text-decoration: none; color: var(--ink); }
.o-feature .o-cover { flex: 1.2 1 520px; aspect-ratio: 16 / 10; }
.o-feature-body { flex: 1 1 380px; display: flex; flex-direction: column; gap: 18px; }
.o-feature-title { font-family: var(--serif); font-size: clamp(34px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -0.02em; transition: color .25s; }
.o-feature:hover .o-feature-title { color: var(--blue); }
.o-feature-text { font-size: 17px; line-height: 1.65; font-weight: 300; color: var(--body); }
.o-meta { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.o-cover { position: relative; display: flex; align-items: center; justify-content: center; background: var(--fill, var(--navy)); overflow: hidden; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.o-cover svg { width: 34%; height: auto; overflow: visible; }
.o-cover .orps-line { fill: none; stroke: var(--fg, #fff); stroke-width: 1.1; stroke-linejoin: round; opacity: .92; }
.o-cover .orps-guide { fill: none; stroke: var(--fg, #fff); stroke-width: .8; opacity: .45; stroke-dasharray: 3 4; }
.o-cover-tag { position: absolute; left: 20px; top: 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--tag, #c6daf3); }
.o-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.o-blog-bar { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: baseline; border-bottom: 1px solid var(--rule); padding-bottom: 22px; }
.o-blog-bar h2 { margin: 0; flex: 0 0 var(--label-col); font-family: var(--mono); font-size: 11.5px; font-weight: 400; letter-spacing: .14em; }
.o-blog-bar .o-filter { flex: 1 1 640px; }
.o-blog-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 32px; }
.o-blog-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); }
.o-blog-card .o-cover { aspect-ratio: 4 / 3; }
.o-blog-card:hover .o-cover { transform: translateY(-6px); }
.o-blog-card-title { font-family: var(--serif); font-size: 25px; line-height: 1.2; letter-spacing: -0.01em; transition: color .25s; }
.o-blog-card:hover .o-blog-card-title { color: var(--blue); }
.o-blog-card-text { font-size: 15px; line-height: 1.6; font-weight: 300; color: var(--body); }
.o-pager { margin-top: 80px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.o-pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--rule-2); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-decoration: none; color: #4a4d63; }
.o-pager .page-numbers.current, .o-pager .page-numbers:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.o-pager .dots { border: 0; }
.o-empty { margin-top: 56px; font-size: 18px; color: var(--muted); }

/* ---------- Article ---------- */
.o-article-head { padding-top: 96px; }
.o-crumbs { margin: 0 0 30px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.o-crumbs a { text-decoration: none; }
.o-crumbs a:hover { color: var(--blue); }
.o-crumbs .o-here { color: var(--blue); }
.o-article-title { margin: 0; max-width: 1000px; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.8vw, 68px); line-height: 1.05; letter-spacing: -0.03em; }
.o-byline { margin-top: 40px; padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.o-byline p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #4a4d63; }
.o-byline p span:first-child { color: var(--ink); }
.o-share { display: flex; gap: 8px; }
.o-share a, .o-share button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--rule-2); background: none; color: #4a4d63; cursor: pointer; transition: border-color .2s, color .2s; }
.o-share a:hover, .o-share button:hover { border-color: var(--navy); color: var(--navy); }
.o-article-cover { margin-top: 56px; position: relative; height: 420px; }
.o-article-cover .o-cover { height: 100%; }
.o-article-cover .o-cover svg { width: auto; height: 66%; }
.o-article-cover .o-block-a { position: absolute; right: 0; top: 0; width: 18%; height: 40%; background: var(--blue); z-index: 1; }
.o-article-cover .o-block-b { position: absolute; right: 18%; top: 0; width: 7%; height: 18%; background: var(--sky); z-index: 1; }
.o-article-body { padding-top: 90px; padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 48px 40px; align-items: flex-start; }
.o-toc { flex: 0 0 var(--label-col); position: sticky; top: 110px; display: flex; flex-direction: column; gap: 16px; }
.o-toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.o-toc a { display: block; padding: 8px 0 8px 16px; border-left: 2px solid var(--rule); font-size: 15px; line-height: 1.4; text-decoration: none; color: #6b6e82; transition: color .2s, border-color .2s; }
.o-toc a:hover, .o-toc a.is-active { border-left-color: var(--blue); color: var(--ink); }
.o-article-main { flex: 1 1 640px; min-width: 0; max-width: 720px; }
.o-article-main--wide { margin: 0 auto; }

.o-prose { font-family: var(--serif); font-size: 20px; line-height: 1.75; color: #2f3148; }
.o-prose > *:first-child { margin-top: 0; }
.o-prose p { margin: 0 0 1.35em; }
.o-prose > p:first-of-type { font-size: 25px; line-height: 1.6; color: var(--ink); }
.o-prose h2 { scroll-margin-top: 110px; margin: 2.4em 0 .8em; font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.o-prose h3 { scroll-margin-top: 110px; margin: 2em 0 .7em; font-family: var(--sans); font-weight: 500; font-size: 21px; line-height: 1.3; color: var(--ink); }
.o-prose h4 { margin: 1.8em 0 .6em; font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.o-prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.o-prose ul, .o-prose ol { margin: 0 0 1.6em; padding-left: 1.1em; }
.o-prose li { margin-bottom: .45em; padding-left: .3em; }
.o-prose blockquote { margin: 2.2em 0; padding: 34px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.o-prose blockquote p { margin: 0 0 .6em; font-style: italic; font-size: 27px; line-height: 1.45; color: var(--navy); }
.o-prose blockquote p:last-child { margin-bottom: 0; }
.o-prose .o-callout { margin: 1.6em 0; padding: 24px 28px; background: #efece2; border-left: 3px solid var(--navy); }
.o-prose .o-callout p { margin: 0 0 .7em; }
.o-prose .o-callout p:last-child { margin-bottom: 0; }
.o-prose span[style*="color"] { color: inherit !important; background: none !important; }
.o-prose img { display: block; margin: 2.4em 0; }
.o-prose figure { margin: 2.4em 0; }
.o-prose figure img { margin: 0; }
.o-prose figcaption { margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.o-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-family: var(--sans); font-size: 16px; }
.o-prose th, .o-prose td { padding: 12px 14px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.o-prose th { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.o-prose code { font-family: var(--mono); font-size: .85em; background: var(--paper-2); padding: .1em .35em; }
.o-prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.4em 0; }
.o-prose iframe { max-width: 100%; }
.o-author { margin-top: 72px; padding-top: 30px; border-top: 1px solid var(--ink); display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.o-author-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 22px; }
.o-author-name { display: flex; flex-direction: column; gap: 4px; }
.o-author-name b { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.o-related { padding-bottom: 140px; }
.o-related-grid { flex: 1 1 640px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.o-related-grid a { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.o-related-grid a span:last-child { font-family: var(--serif); font-size: 24px; line-height: 1.25; transition: color .25s; }
.o-related-grid a:hover span:last-child { color: var(--blue); }

/* Elementor-built pages keep their own layout inside the new header and footer. */
.o-elementor { min-height: 40vh; }
.o-page-head { padding-top: 110px; padding-bottom: 60px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.o-work-grid, .o-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	:root { --gutter: 20px; }
	body { font-size: 16px; }
	.o-section { padding-top: 110px; }
	.o-offset { margin-left: 0; }
	.o-split > .o-label { flex-basis: 100%; padding-top: 0; }
	.o-menu-toggle { display: inline-flex; }
	.o-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--rule); }
	.o-nav.is-open { display: flex; }
	.o-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--rule); }
	.o-nav .o-nav-cta { margin-top: 16px; width: auto; padding: 14px 18px; border: 0; }
	.o-hero { padding-top: 48px; }
	.o-hero-media { margin-top: 40px; }
	.o-hero-media .o-block-a, .o-hero-media .o-block-b { display: none; }
	.o-hero-ctas { margin: 0; max-width: none; }
	.o-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.o-stat:nth-child(3) { padding-left: 0; border-left: 0; }
	.o-stat { padding-bottom: 24px; }
	.o-values-letters button { font-size: 56px; }
	.o-value-word { flex-basis: 100%; }
	.o-standard { padding-bottom: 110px; }
	.o-mission .o-wrap, .o-innovation .o-wrap { padding-top: 100px; padding-bottom: 110px; }
	.o-solutions .o-deco-a, .o-solutions .o-deco-b { display: none; }
	.o-solutions .orps-services { margin-top: 90px; padding: 0 var(--gutter); }
	.o-work-grid, .o-blog-grid, .o-related-grid { grid-template-columns: 1fr; }
	.o-pillars3 { grid-template-columns: 1fr; }
	.o-pillar3, .o-pillar3:first-child { padding: 30px 0 24px; border-left: 0; }
	.o-contact-form .wpcf7 form { grid-template-columns: 1fr; }
	.o-contact-form .wpcf7 form > p { grid-column: 1 / -1; }
	.o-post-row .o-card-cat { flex-basis: 100%; padding-top: 0; }
	.o-blog-bar h2 { flex-basis: 100%; }
	.o-article-cover { height: 260px; }
	.o-toc { position: static; flex-basis: 100%; }
	.o-prose { font-size: 18px; }
	.o-prose > p:first-of-type { font-size: 21px; }
	.o-prose h2 { font-size: 30px; }
	.o-prose blockquote p { font-size: 22px; }
	.o-cta .o-wrap { padding-top: 90px; padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.o-rise, .o-standard-row { animation: none !important; }
	* { transition: none !important; }
}

/* Neutralize inherited blockquote styling from plugins. */
blockquote.o-quote, .o-prose blockquote { background: none !important; color: inherit; quotes: none; }
.o-prose blockquote::before, .o-prose blockquote::after, blockquote.o-quote::before, blockquote.o-quote::after { content: none !important; display: none !important; }

/* Hero headline: one sentence per line. */
.o-hero-title span { display: block; }
@media (min-width: 901px) { .o-hero-title span { white-space: nowrap; } }

/* The Orpical Standard: all five values visible, gray until hovered. */
.o-standard { padding-bottom: 170px; }
.o-standard-list { list-style: none; margin: 64px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.o-standard-list li { display: flex; align-items: baseline; gap: 32px; padding: 20px 0 22px; border-bottom: 1px solid var(--rule); outline: none; }
.o-standard-n { flex: none; width: 28px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; color: var(--muted); }
.o-standard-line { font-family: var(--serif); font-size: clamp(38px, 4.6vw, 64px); line-height: 1.1; letter-spacing: -0.025em; color: #8d8e9b; transition: color .35s, transform .45s cubic-bezier(.2,.8,.2,1); }
.o-standard-line em { font-style: italic; transition: color .35s; }
.o-standard-list li:hover .o-standard-line, .o-standard-list li:focus-visible .o-standard-line { color: var(--ink); transform: translateX(12px); }
.o-standard-list li:hover .o-standard-line em, .o-standard-list li:focus-visible .o-standard-line em { color: var(--blue); }
@media (hover: none) { .o-standard-line { color: var(--ink); } }
@media (max-width: 900px) { .o-standard { padding-bottom: 110px; } .o-standard-list li { gap: 16px; } }

/* Contact: what happens next, quiet sign-off, tighter form. */
.o-contact-info { gap: 20px; }
.o-next { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--rule); }
.o-next li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.55; font-weight: 300; color: var(--body); }
.o-next b { font-family: var(--serif); font-weight: 400; font-size: 19px; color: var(--ink); margin-right: 4px; }
.o-next-n { flex: none; width: 24px; padding-top: 3px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; color: var(--blue); }
.o-signoff { margin: 30px 0 0; padding-top: 26px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; }
.o-signoff blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.45; color: var(--ink); background: none !important; }
.o-signoff figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.o-contact-form .wpcf7 form > p { gap: 4px; }
.o-contact-form .wpcf7 form br { display: none; }
.o-contact-form textarea { height: 150px !important; min-height: 0; border: 1px solid #bfbaa9 !important; padding: 12px 14px !important; margin-top: 8px; }
.o-contact-form input[type="text"], .o-contact-form input[type="email"] { height: 48px; }
.o-contact-form .contact-submit-holder { margin-top: 6px !important; }

/* Contact, version 2: relationship capital. */
.o-creed { display: flex; flex-direction: column; gap: 36px; }
.o-creed figure { margin: 0; display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.o-creed blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.35; letter-spacing: -0.01em; color: var(--body); background: none !important; }
.o-creed figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.o-bridge { margin: 0; font-family: var(--serif); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.2; letter-spacing: -0.015em; color: var(--ink); }
.o-bridge em { font-style: italic; color: var(--blue); }
.o-reviews { margin-top: 18px; display: flex; align-items: center; gap: 18px; padding: 20px 0 4px; border-top: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.o-reviews b { font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: 1; letter-spacing: -0.02em; }
.o-reviews > span { display: flex; flex-direction: column; gap: 4px; }
.o-stars { color: var(--sky); letter-spacing: .12em; font-size: 15px; }
.o-reviews > span > span:last-child { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.o-reviews:hover > span > span:last-child { color: var(--blue); }
.o-reviews-note { margin: 0 0 6px; font-size: 15px; font-weight: 300; font-style: italic; color: var(--body); }
.o-contact-info dl { margin-top: 10px; }

/* Form: filled fields so it reads as a form, distinct from the page's dividers. */
.o-contact-form input[type="text"], .o-contact-form input[type="email"], .o-contact-form textarea {
	height: 52px; padding: 0 16px !important; border: 0 !important; border-bottom: 2px solid transparent !important; background: var(--paper-2); margin-top: 6px;
	transition: border-color .2s, background .2s;
}
.o-contact-form textarea { height: 160px !important; padding: 14px 16px !important; }
.o-contact-form input:focus, .o-contact-form textarea:focus { background: #ebe7da; border-bottom-color: var(--navy) !important; }
.o-contact-form .o-note { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.5; color: var(--ink); }
.o-heart { display: inline-block; vertical-align: -2px; fill: var(--blue); margin: 0 1px; }
.o-bridge + dl { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule); }
.o-banana { display: inline-block; margin-left: 4px; cursor: default; transform-origin: 50% 80%; }
.o-banana:hover { animation: oWiggle .6s ease-in-out 2; }
@keyframes oWiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }
[data-bananas] { cursor: pointer; }

/* Easter-egg hints: a softly pulsing brand square, and a banana cursor on hover. */
.o-pulse { position: relative; display: inline-block; width: 12px; height: 12px; margin-left: 20px; vertical-align: middle; background: var(--sky); }
.o-pulse::after { content: ""; position: absolute; inset: 0; background: var(--sky); animation: oPulse 2.8s ease-out infinite; }
.o-pulse.is-found::after { animation: none; opacity: 0; }
@keyframes oPulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
[data-bananas] { cursor: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2236%22%20height%3D%2236%22%20viewBox%3D%220%200%2036%2036%22%3E%3Ctext%20x%3D%223%22%20y%3D%2228%22%20font-size%3D%2228%22%3E%F0%9F%8D%8C%3C/text%3E%3C/svg%3E") 6 26, pointer; }
@media (prefers-reduced-motion: reduce) { .o-pulse::after { animation-duration: 5s; } }

/* The original notepad page, pinned beside the ORPICAL letters. */
.o-label--origin { gap: 10px; }
.o-origin { margin: 34px 0 0; display: flex; flex-direction: column; gap: 14px; text-transform: none; letter-spacing: 0; }
.o-origin > a { display: block; transform: rotate(-2.5deg); box-shadow: 0 14px 30px rgba(29,31,58,.16), 0 0 0 1px var(--rule); transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s; }
.o-origin > a:hover, .o-origin > a:focus-visible { transform: rotate(0) scale(1.06); box-shadow: 0 24px 50px rgba(29,31,58,.22), 0 0 0 1px var(--rule); }
.o-origin img { display: block; width: 100%; height: auto; }
.o-origin figcaption { font-family: var(--sans); font-size: 13.5px; line-height: 1.55; font-weight: 300; color: var(--body); }
.o-origin figcaption a { color: var(--navy); text-decoration: none; border-bottom: 1px solid currentColor; font-weight: 400; white-space: nowrap; }
@media (max-width: 900px) { .o-origin { max-width: 320px; margin-top: 22px; } }

/* Each value with its original handwriting from Ed's notepad. */
.o-value-left { flex: 0 0 280px; display: flex; flex-direction: column; gap: 16px; }
.o-value-left .o-value-word { flex: none; }
.o-hand { display: block; height: 58px; width: auto; max-width: 100%; opacity: .92; animation: oInk .9s ease both; }
@keyframes oInk { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: .92; clip-path: inset(0 0 0 0); } }
.o-hand-cap { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .2s; }
.o-hand-cap:hover { color: var(--navy); }
@media (max-width: 900px) { .o-value-left { flex-basis: 100%; } .o-hand { height: 48px; } }
@media (prefers-reduced-motion: reduce) { .o-hand { animation: none; } }
.o-prose--plain > p:first-of-type { font-size: inherit; line-height: inherit; color: inherit; }
