/* ==========================================================================
   CLA — Cameron Lee Architects
   ========================================================================== */

/* Fonts (bundled locally — no third-party requests) */
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }

:root {
	--bg: #212121;
	--bg-2: #0f1012;
	--surface: #15171a;
	--line: rgba(255, 255, 255, .09);
	--line-strong: rgba(255, 255, 255, .22);
	--text: #f3f2ef;
	--text-2: #c9c8c4;
	--muted: #8f8e8a;
	--accent: #ffffff;

	--font: "Jost", "Helvetica Neue", Arial, sans-serif;
	--container: 1180px;
	--gutter: clamp(20px, 5vw, 48px);
	--header-h: 84px;
	--section-y: clamp(64px, 8vw, 96px);
	--radius: 2px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* Reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, figure, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
::selection { background: #fff; color: #000; }
:focus-visible { outline: 1px solid #fff; outline-offset: 4px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: #fff; color: #000; padding: 10px 16px; font-size: 13px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.site-main:focus { outline: none; }

/* Layout ------------------------------------------------------------------ */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); border-top: 1px solid var(--line); }
.section--tight { padding-top: clamp(32px, 4vw, 48px); border-top: 0; }
.hero + .section { border-top: 0; }

/* Type -------------------------------------------------------------------- */
.eyebrow {
	font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
	color: var(--text-2); margin-bottom: 18px;
}
.eyebrow--lg { font-size: 11px; letter-spacing: .16em; line-height: 1.6; color: var(--text); }
.h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 300; line-height: 1.2; letter-spacing: -.005em; }
.h3 { font-size: 22px; font-weight: 300; line-height: 1.3; }
.lead { line-height: 1.75; color: var(--text-2); max-width: 46ch; }

/* Arrow link -------------------------------------------------------------- */
.arrow-link {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
	color: var(--text); padding-block: 6px;
}
.arrow-link span { position: relative; padding-bottom: 6px; }
.arrow-link span::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; opacity: .6;
	transform-origin: left; transition: transform .5s var(--ease), opacity .3s;
}
.arrow-link .icon { width: 15px; height: 15px; margin-top: -6px; transition: transform .4s var(--ease); }
.arrow-link:hover .icon { transform: translateX(5px); }
.arrow-link:hover span::after { opacity: 1; animation: cla-line .6s var(--ease); }
.arrow-link--sm { font-size: 9.5px; }
.arrow-link--light span::after { opacity: .9; }
@keyframes cla-line { 0% { transform: scaleX(0); } 100% { transform: scaleX(1); } }

/* Header ------------------------------------------------------------------ */
.site-header {
	position: fixed; left: 0; right: 0; top: 0; z-index: 100;
	height: var(--header-h);
	background: transparent;
	transition: background .3s, border-color .3s, height .3s var(--ease);
	border-bottom: 1px solid transparent;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled {
	background: rgba(33, 33, 33, .72);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	backdrop-filter: saturate(140%) blur(14px);
	border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); flex-shrink: 0; position: relative; z-index: 2; }
.brand-mark {
	width: 56px; height: 56px; stroke-width: 1.1; transition: transform .8s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-12deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; font-weight: 300; letter-spacing: .005em; color: var(--text-2); }
.brand .custom-logo { max-height: 56px; width: auto; }

.primary-nav .menu {
	display: flex; align-items: center; gap: clamp(20px, 3.2vw, 40px); }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu > li > a {
	display: block; position: relative; padding-block: 10px;
	font-size: 11.5px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2);
	transition: color .25s;
}
.primary-nav .menu > li > a::after {
	content: ""; position: absolute; left: -4px; right: -4px; bottom: 2px; height: 1px; background: #fff;
	transform: scaleX(0); transform-origin: center; transition: transform .4s var(--ease);
}

.primary-nav .menu > li > a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav .current-menu-ancestor > a { color: #fff; }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav .current-menu-ancestor > a {
	border-bottom: 1px solid rgba(255,255,255,.85);
	padding-bottom: 9px;
}
.primary-nav .menu > li:not(.current-menu-item):not(.current_page_item):not(.current-menu-ancestor) > a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after { transform: scaleX(1); }

/* Dropdowns (desktop) */
.primary-nav .sub-menu {
	position: absolute; top: 100%; left: -18px; min-width: 210px; padding: 12px 0; list-style: none; margin: 0;
	background: var(--surface); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .25s var(--ease);
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: block; padding: 8px 18px; font-size: 13px; color: var(--text-2); }
.primary-nav .sub-menu a:hover { color: #fff; background: rgba(255,255,255,.04); }

.mobile-nav-meta { display: none; }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; z-index: 2; margin-right: -10px; }
.nav-toggle-bars { position: absolute; inset: 0; margin: auto; width: 24px; height: 9px; }
.nav-toggle-bars span { position: absolute; left: 0; right: 0; height: 1px; background: #fff; transition: transform .45s var(--ease), top .45s var(--ease); }
.nav-toggle-bars span:first-child { top: 0; }
.nav-toggle-bars span:last-child { top: 8px; }
.nav-open .nav-toggle-bars span:first-child { top: 4px; transform: rotate(45deg); }
.nav-open .nav-toggle-bars span:last-child { top: 4px; transform: rotate(-45deg); }

/* Hero -------------------------------------------------------------------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: clamp(520px, 60vw, 760px);
	display: flex; align-items: center;
	padding-block: clamp(72px, 9vw, 120px);
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: cla-hero 2.4s var(--ease) forwards; }
.hero-media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(8,9,10,.78) 0%, rgba(8,9,10,.45) 38%, rgba(8,9,10,.08) 70%),
		linear-gradient(0deg, rgba(8,9,10,.35), rgba(8,9,10,0) 40%);
}
@keyframes cla-hero { to { transform: scale(1); } }
.hero-content { position: relative; }
.hero-title {
	font-size: clamp(40px, 5.4vw, 60px); font-weight: 300; line-height: 1.12; letter-spacing: -.012em;
	margin-bottom: 26px;
}
.hero-text { line-height: 1.6; max-width: 34ch; color: rgba(255,255,255,.92); margin-bottom: 30px; }

/* About ------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
.about-media { overflow: hidden; aspect-ratio: 327 / 233; background: var(--surface); }
.about-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.about-media:hover img { transform: scale(1.03); }
.about-body { padding-top: 6px; }
.about-body .h2 { margin-bottom: 26px; }
.about-body .lead { margin-bottom: 26px; }

/* Section heads ----------------------------------------------------------- */
.section-head { display: flex; align-items: first baseline; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 40px); }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head .arrow-link { flex-shrink: 0; margin-bottom: 12px; }
.services .section-head { align-items: center; }

/* Services ---------------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.service { padding: 4px clamp(14px, 2vw, 24px) 8px; border-left: 1px solid var(--line); }
.service:first-child { padding-left: 0; border-left: 0; }
.service-icon { display: block; width: 26px; height: 26px; margin-bottom: 22px; color: var(--text); }
.service-icon .icon { width: 100%; height: 100%; transition: transform .6s var(--ease); }
.service:hover .service-icon .icon { transform: translateY(-3px); }
.service-title { font-weight: 400; margin-bottom: 14px; line-height: 1.35; }
.service-text { font-size: 14px; line-height: 1.7; color: var(--muted); max-width: 22ch; }

/* Cards ------------------------------------------------------------------- */
.card-row, .card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 16px); }
.card-grid { row-gap: clamp(36px, 4vw, 52px); }
.card-link { display: block; }
.card-media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface); margin-bottom: 10px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.92); }
.card-link:hover .card-media img { transform: scale(1.045); filter: saturate(1); }
.card-cat { font-size: 8.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.card-title { font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 12px; max-width: 26ch; transition: opacity .3s; }
.card-link:hover .card-title { opacity: .75; }
.card-date { display: block; font-size: 9.5px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Instagram --------------------------------------------------------------- */
.insta { padding-bottom: clamp(80px, 10vw, 130px); }
.insta .section-head{align-items: end;}
@media (max-width: 900px) {
.insta .section-head{align-items: start;}
}
.insta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 14px); }
.insta-item { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface); }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.insta-item::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .4s; }
.insta-item:hover img { transform: scale(1.05); }
.insta-item:hover::after { background: rgba(0,0,0,.25); }
.insta-badge { position: absolute; top: 10px; right: 10px; z-index: 1; width: 22px; height: 22px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.4)); }
.insta-badge .icon { width: 100%; height: 100%; stroke-width: 1.4; }

/* Footer ------------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding-top: clamp(40px, 4vw, 52px); }
.footer-top {
	display: grid; grid-template-columns: 1.4fr .8fr 1.2fr auto; gap: 32px; align-items: start;
	padding-bottom: clamp(28px, 3vw, 36px);
}
.footer-brand .brand-mark { width: 48px; height: 48px; }
.footer-brand .brand-text { font-size: 14px; }
.footer-menu { line-height: 1.5; }
.footer-menu li + li { margin-top: 3px; }
.footer-menu a { display: inline-block; font-size: 9px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); transition: color .25s; }
.footer-menu a:hover { color: #fff; }
.footer-contact { border-left: 1px solid var(--line); padding: 10px 0 10px clamp(24px, 4vw, 48px); align-self: stretch; }
.footer-contact li { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--text-2); }
.footer-contact li + li { margin-top: 10px; }
.footer-contact .icon { width: 14px; height: 14px; flex-shrink: 0; }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: 16px; padding-top: 10px; }
.footer-social a { display: grid; place-items: center; width: 32px; height: 32px; margin: -8px; color: var(--text); transition: opacity .25s, transform .3s var(--ease); }
.footer-social a + a { margin-left: 8px; }
.footer-social a:hover { opacity: .7; transform: translateY(-2px); }
.footer-social .icon { width: 16px; height: 16px; stroke-width: 1.4; }
.footer-bottom {
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	border-top: 1px solid var(--line); padding-block: 18px calc(18px + env(safe-area-inset-bottom));
	font-size: 9px; letter-spacing: .02em; color: var(--muted);
}
.footer-bottom a:hover { color: #fff; }
/* Inner pages ------------------------------------------------------------- */
.page-hero { padding-block: clamp(64px, 9vw, 120px) clamp(32px, 4vw, 48px); }
.page-title { font-size: clamp(34px, 4.6vw, 54px); font-weight: 300; line-height: 1.12; letter-spacing: -.01em; max-width: 20ch; }
.page-intro { margin-top: 20px; color: var(--text-2); max-width: 60ch; }
.page-hero--post .eyebrow { display: flex; gap: 10px; align-items: center; }
.page-hero--404 { min-height: 60vh; display: flex; align-items: center; }
.page-hero--404 .lead { margin-top: 20px; }
.stack-sm { display: grid; gap: 28px; margin-top: 32px; justify-items: start; }
.feature-media { aspect-ratio: 16 / 8; overflow: hidden; background: var(--surface); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }

.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: clamp(28px, 3vw, 40px); }
.filter-bar a { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 9px 16px; border: 1px solid var(--line); border-radius: 100px; color: var(--text-2); transition: .25s; }
.filter-bar a:hover, .filter-bar a.is-active { border-color: #fff; color: #fff; }

/* Entry content */
.entry-content { max-width: 720px; font-size: 16.5px; line-height: 1.8; color: var(--text-2); }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--text); font-weight: 300; line-height: 1.25; margin-top: 2em; }
.entry-content h2 { font-size: clamp(24px, 2.6vw, 30px); }
.entry-content h3 { font-size: 21px; }
.entry-content h4 { font-size: 17px; font-weight: 400; }
.entry-content a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content strong { font-weight: 500; color: var(--text); }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote { margin-inline: 0; padding-left: 24px; border-left: 1px solid #fff; font-size: 21px; color: var(--text); }
.entry-content figure img, .entry-content > img { width: 100%; }
.entry-content figcaption, .wp-caption-text { font-size: 12px; color: var(--muted); margin-top: 10px; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5em; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content pre { overflow-x: auto; background: var(--surface); padding: 18px; font-size: 13px; }
.entry-content .alignwide { width: min(calc(100vw - var(--gutter) * 2), var(--container)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignleft { float: left; margin: .4em 1.6em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.6em; }
.aligncenter { margin-inline: auto; }
.sticky, .bypostauthor, .gallery-caption { }
.wp-block-button__link, .button, input[type="submit"] {
	display: inline-block; background: #fff; color: #000; border: 0; border-radius: 0;
	padding: 14px 26px; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: opacity .25s;
}
.entry-content .wp-block-button__link { color: #000; text-decoration: none; }
.wp-block-button__link:hover, .button:hover, input[type="submit"]:hover { opacity: .85; }

.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; max-width: 720px; }
.entry-tags a { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line); padding: 7px 12px; border-radius: 100px; color: var(--text-2); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); max-width: 720px; }
.post-nav div:last-child { text-align: right; }
.post-nav a { display: grid; gap: 4px; }
.post-nav a span:last-child { font-size: 15px; transition: opacity .25s; }
.post-nav a:hover span:last-child { opacity: .7; }
.post-nav .eyebrow { margin: 0; }

/* Pagination */
.pagination { margin-top: 56px; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding-inline: 12px; border: 1px solid var(--line); font-size: 12px; color: var(--text-2); transition: .25s; }
.page-numbers.current, .page-numbers:hover { border-color: #fff; color: #fff; }
.page-numbers.dots { border: 0; }

/* Forms */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="password"], textarea, select {
	width: 100%; background: transparent; color: var(--text); border: 0; border-bottom: 1px solid var(--line-strong);
	padding: 12px 0; font: inherit; font-size: 16px; border-radius: 0; transition: border-color .25s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: #fff; }
textarea { min-height: 140px; resize: vertical; }
label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.search-form { display: flex; align-items: center; gap: 12px; max-width: 420px; width: 100%; border-bottom: 1px solid var(--line-strong); }
.search-form .search-field { border: 0; }
.search-submit { width: 40px; height: 40px; display: grid; place-items: center; }
.search-submit .icon { width: 18px; height: 18px; }
.comments { margin-top: 64px; max-width: 720px; }
.comment-list { list-style: none; padding: 0; margin: 24px 0 40px; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.comment-meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.comment-author img { border-radius: 50%; float: left; margin-right: 12px; }
.comment-form > p { margin-bottom: 20px; }
.empty-state { display: grid; gap: 24px; padding-block: 24px 48px; }
.entry-widgets { margin-top: 56px; max-width: 720px; color: var(--text-2); }
.widget + .widget { margin-top: 32px; }
.widget-title { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; color: var(--text); }

/* Reveal animation (only when JS is running) ------------------------------ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero .reveal:nth-child(1) { --d: 1; } .js .hero .reveal:nth-child(2) { --d: 2; }
.js .hero .reveal:nth-child(3) { --d: 3; } .js .hero .reveal:nth-child(4) { --d: 4; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
	.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
	.service:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
	.footer-top { grid-template-columns: 1fr 1fr; row-gap: 36px; }
	.footer-contact { border-left: 0; padding-left: 0; padding-top: 0; }
	.footer-social { padding-top: 0; }
}

@media (max-width: 900px) {
	:root { --header-h: 68px; }

	.brand-mark { width: 44px; height: 44px; }
	.brand-text { font-size: 13.5px; }
	.brand .custom-logo { max-height: 44px; }

	.nav-toggle { display: block; }

	.primary-nav {
		position: fixed; inset: 0; z-index: 1;
		display: flex; flex-direction: column; justify-content: space-between;
		padding: calc(var(--header-h) + 40px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
		background: var(--bg);
		overflow-y: auto; -webkit-overflow-scrolling: touch;
		opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0);
		transition: clip-path .6s var(--ease), opacity .3s, visibility 0s linear .6s;
	}
	.admin-bar .primary-nav { top: 46px; }
	.nav-open .primary-nav { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .6s var(--ease), opacity .2s, visibility 0s; }
	.nav-open { overflow: hidden; }
	.nav-open .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: var(--line); }

	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav .menu > li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
	.nav-open .primary-nav .menu > li { opacity: 1; transform: none; }
	.nav-open .primary-nav .menu > li:nth-child(1) { transition-delay: .12s; }
	.nav-open .primary-nav .menu > li:nth-child(2) { transition-delay: .17s; }
	.nav-open .primary-nav .menu > li:nth-child(3) { transition-delay: .22s; }
	.nav-open .primary-nav .menu > li:nth-child(4) { transition-delay: .27s; }
	.nav-open .primary-nav .menu > li:nth-child(5) { transition-delay: .32s; }
	.nav-open .primary-nav .menu > li:nth-child(6) { transition-delay: .37s; }
	.nav-open .primary-nav .menu > li:nth-child(n+7) { transition-delay: .42s; }
	.primary-nav .menu > li > a {
		padding-block: 18px; font-size: clamp(26px, 7vw, 34px); font-weight: 300; letter-spacing: -.005em; text-transform: none; color: var(--text);
		display: flex; justify-content: space-between; align-items: center;
	}
	.primary-nav .menu > li > a::after { display: none; }
	.primary-nav .current-menu-item > a::before, .primary-nav .current_page_item > a::before {
		content: ""; order: 2; width: 6px; height: 6px; border-radius: 50%; background: #fff;
	}
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; padding: 0 0 16px; min-width: 0; }
	.primary-nav .sub-menu a { padding: 6px 0; font-size: 16px; }
	.primary-nav .sub-menu a:hover { background: none; }

	.mobile-nav-meta { display: grid; gap: 6px; margin-top: 40px; font-size: 13px; color: var(--muted); opacity: 0; transition: opacity .5s .4s; }
	.nav-open .mobile-nav-meta { opacity: 1; }
	.mobile-nav-meta a { color: var(--text); }

	.hero { min-height: calc(100svh - var(--header-h)); max-height: 820px; align-items: flex-end; padding-block: 64px 56px; }
	.hero-media::after {
		background:
			linear-gradient(0deg, rgba(8,9,10,.9) 0%,
			rgba(8,9,10,.55) 45%,rgba(8,9,10,.2) 100%);
	}


	.card-row {
		display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
		margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 6px;
		scrollbar-width: none;
	}
	.card-row::-webkit-scrollbar { display: none; }
	.card-row > .card { flex: 0 0 min(72vw, 320px); scroll-snap-align: start; }
	.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.about-grid { align-items: center; }
	.about-body .h2 { font-size: 24px; }
}

@media (max-width: 700px) {
	.about-grid { grid-template-columns: 1fr; }
	.about-body { padding-top: 0; }
	.insta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
	.admin-bar .primary-nav { top: 0; }
}

@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.hero-title { font-size: clamp(38px, 11vw, 48px); }
	.hero-text { font-size: 15px; }

	.section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
	.section-head .arrow-link { order: 2; margin-bottom: 0; }
	.services .section-head { align-items: flex-start; }

	.services-grid { grid-template-columns: 1fr; row-gap: 0; }
	.service, .service:first-child, .service:nth-child(3n + 1) {
		display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; align-items: start;
		padding: 22px 0; border-left: 0; border-top: 1px solid var(--line);
	}
	.service:last-child { border-bottom: 1px solid var(--line); }
	.service-icon { grid-row: span 2; margin: 0; width: 28px; height: 28px; }
	.service-title { font-size: 16px; margin-bottom: 6px; }
	.service-text { font-size: 13.5px; max-width: none; }

	.card-grid { grid-template-columns: 1fr; }
	.card-title { font-size: 16px; }

	.footer-top { grid-template-columns: 1fr; gap: 28px; }
	.footer-menu { display: flex; flex-wrap: wrap; gap: 10px 22px; }
	.footer-menu li + li { margin-top: 0; }
	.footer-menu a { font-size: 10px; }
	.footer-contact li { font-size: 13px; }
	.footer-bottom { flex-direction: column; gap: 8px; font-size: 10.5px; }

	.post-nav { grid-template-columns: 1fr; }
	.post-nav div:last-child { text-align: left; }
	.feature-media { aspect-ratio: 4 / 3; }
	.alignleft, .alignright { float: none; margin: 0 0 1em; }
}

/* Widgets & comment headings ------------------------------------------- */
.entry-widgets h2, .entry-widgets .wp-block-heading, .comment-reply-title {
	font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text); margin: 0 0 14px;
}
.comment-reply-title { margin-top: 48px; }
.comment-reply-title small { margin-left: 12px; letter-spacing: .1em; }
.comment-notes, .logged-in-as { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { letter-spacing: .04em; text-transform: none; font-size: 12px; }
.entry-widgets ul { list-style: none; padding: 0; }
.entry-widgets li + li { margin-top: 6px; }
.entry-widgets a:hover { color: #fff; }
.wp-block-search__label { display: block; margin-bottom: 4px; }
.wp-block-search__inside-wrapper { display: flex; gap: 12px; border-bottom: 1px solid var(--line-strong); }
.wp-block-search__input { border: 0 !important; }
.wp-block-search__button { background: none; color: var(--text); border: 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 0 4px; cursor: pointer; }
