/*
Theme Name:   Arman Alipour
Theme URI:    https://armanalipour.com
Author:       SORAN MG
Author URI:   https://armanalipour.com
Description:  Custom portfolio theme for 2D animator/director Arman Alipour. Built from a Figma design (fileKey 8YxHrAdHO1resylTb1Efeu) — full-bleed video hero, no-scroll marketing pages, a "Work" custom post type with archive and single case-study templates, and a mobile staggered menu.
Version:      1.1.4
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.6
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  arman-alipour

FONT NOTE: "TheGoodMonolith" (nav/body copy) and "Briller" (display
headings) are paid/custom fonts referenced below via @font-face but not
bundled — drop the licensed .woff2 files into assets/fonts/ and they
activate automatically (font-display:block, no fallback flash). Until
then JetBrains Mono / Unbounded are the fallbacks, loaded from Google
Fonts (see inc/enqueue.php) — no local files needed for those two.

VENDOR JS NOTE: GSAP + SplitText + ScrambleTextPlugin (the scrambled-text
hover effect) load from the jsdelivr CDN — see inc/enqueue.php. No local
vendor files needed.

LAYOUT NOTE: every page except single-work is locked to one viewport (no
scrolling). Type scales with vmin so a page that fits a 27" monitor also
fits, without scrolling, a short laptop screen or a landscape phone.
*/

@font-face {
  font-family: 'TheGoodMonolith';
  src: url('assets/fonts/goodmonolith/goodmonolith.woff2') format('woff2');
  font-weight: 500;
  font-display: block;
}

@font-face {
  font-family: 'Briller';
  src: url('assets/fonts/briller/Briller-Black.woff2') format('woff2');
  font-weight: 900;
  font-display: block;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('assets/fonts/goodmonolith/goodmonolith.woff2') format('woff2');
  font-weight: 500;
  font-display: block;
}

@font-face {
  font-family: 'Unbounded';
  src: url('assets/fonts/briller/Briller-Black.woff2') format('woff2');
  font-weight: 900;
  font-display: block;
}

:root {
  --bg: #0b0b0b;
  --text: #ffffff;
  --text-muted: #d9d9d9;
  --accent: #34c759;

  --header-h: clamp(56px, 9vh, 100px);
  --footer-h: clamp(44px, 7vh, 76px);
  --gutter: clamp(20px, 3.5vw, 42px);

  --fs-nav: clamp(11px, 1.6vmin, 22px);
  --fs-heading: clamp(32px, 10vmin, 128px);
  --fs-body: clamp(11px, 1.7vmin, 25px);
  --fs-lead: clamp(15px, 2.6vmin, 38px);
  --fs-credit: clamp(9px, 1.1vmin, 16px);

  --font-display: 'Briller', 'Unbounded', 'Archivo Black', sans-serif;
  --font-mono: 'TheGoodMonolith', 'JetBrains Mono', ui-monospace, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  height: 100%;
}

body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img { display: block; max-width: 100%; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Motion ---------- */

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

/* ---------- Header ---------- */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: var(--header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 var(--gutter);
	z-index: 100;
	background: rgba(12, 12, 12, 0.72);
	border-radius: 0;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);

	/* Blur: native on WebKit/Blink; Firefox 103+ supports
	   backdrop-filter unprefixed. When mix-blend-mode was set
	   on this container the blur layer was invisible in Firefox
	   (the two features share a compositing surface), so the
	   blend was removed in favour of a uniform semi-transparent
	   background that works identically across browsers. */
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	        backdrop-filter: blur(18px) saturate(140%);
}

/* Firefox-only guard: on very old Firefox versions that still
   lack backdrop-filter, fall back to a fully-opaque header so
   nav text stays readable instead of sitting on transparent. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.site-header { background: #0b0b0b; }
}

.site-header .logo,
.site-header nav a {
	font-family: var(--font-mono);
	font-weight: 500;
	font-size: 24px;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
	letter-spacing: 0.02em;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border-radius: 10px;
	white-space: nowrap;
	transition: background-color .28s var(--ease), color .28s var(--ease);
}

.site-header .logo { padding: 10px 18px; }

/* Shared hover / current state: the "white box" design from the
   Figma — solid white background, dark text, smooth transition.
   (This replaces the old underline + opacity + mix-blend-mode
   hover so the logo and the nav items behave identically.) */
.site-header .logo:hover,
.site-header .logo:focus-visible,
.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-header nav a.current-menu-item,
.site-header nav a[aria-current="page"] {
	background: #ffffff;
	color: #0b0b0b;
	outline: none;
}

.site-header nav {
  display: flex;
  gap: 10px;
}

/* wp_nav_menu() always wraps items in <ul><li> — make that wrapper
   layout-transparent so the flex/gap rules above still apply directly
   to the <a> tags, matching the original flat markup exactly. */
.site-header nav ul,
.site-header nav li {
  display: contents;
}

/* ---------- Footer ---------- */

.site-footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	height: var(--footer-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 var(--gutter);
	z-index: 100;
	background: rgba(12, 12, 12, 0.72);
	border-radius: 0;
	box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.18);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	        backdrop-filter: blur(18px) saturate(140%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.site-footer { background: #0b0b0b; }
}

.site-footer .socials {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
}

.site-footer .socials a {
  display: flex;
  color: #fff;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.site-footer .socials a:hover {
  transform: translateY(-3px);
  opacity: 0.75;
}

.site-footer .socials svg {
  width: 28px;
  height: 28px;
}

.site-footer .credit {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- Page shell ---------- */

/*
 * Global scroll behaviour is fully native — every page scrolls naturally
 * when its content exceeds the viewport. Short / one-screen pages (About,
 * Contact, 404, generic Page) still use min-height:100dvh on main so the
 * layout responsively fills a desktop screen without clipping.
 */

.page {
  position: relative;
}

/* Short / one-screen pages. main carries no explicit class so we
   target it with :not([class]) to avoid clobbering .work-single,
   .index-content or any future custom mains. */
.page > main:not([class]) {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: calc(var(--header-h) + 32px) var(--gutter) calc(var(--footer-h) + 32px);
  max-width: 1600px;
  margin: 0 auto;
}

/* Works archive: starts 32px below the fixed header + header-h; grows
   down naturally as more case-study cards are added. */
.page.page--works > main:not([class]) {
  justify-content: flex-start;
  padding-top: calc(var(--header-h) + 32px);
  max-width: none;
  margin: 0;
}

/* Search results / blog-style listing fallback. */
.index-content {
  justify-content: flex-start;
  height: auto;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 32px) var(--gutter) calc(var(--footer-h) + 32px);
  max-width: 1600px;
  margin: 0 auto;
}

/* 32px gap between the bottom of the (fixed) header and the first
   page heading — consistent across About, Contact, 404, Works, ... */
.page-heading {
	font-family: var(--font-display);
	font-weight: 900;
	text-transform: uppercase;
	line-height: 0.82;
	font-size: clamp(60px, 10vmin, 128px);
	margin-bottom: clamp(20px, 3vh, 48px);
	margin-top: 0;
	animation: fade-up .7s var(--ease) both .15s;
	flex-shrink: 0;
}

.page-copy {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.1;
  max-width: 1833px;
  overflow: hidden;
}

.wp-block-paragraph{
  font-size: 40px;
}

.page-copy p,
.page-copy .wp-block-paragraph,
.page-copy .wp-block-paragraph p {
  font-size: inherit !important;
  line-height: inherit !important;
}

.lead-movment {
  font-size: 60px;
}

.lead-resonates{
  font-size: 42px;
}

.page-copy p {
  margin-bottom: 23px;
  opacity: 0;
  animation: fade-up .6s var(--ease) both;
}

.page-copy p:nth-child(1) { animation-delay: .22s; }
.page-copy p:nth-child(2) { animation-delay: .28s; }
.page-copy p:nth-child(3) { animation-delay: .34s; }
.page-copy p:nth-child(4) { animation-delay: .40s; }
.page-copy p:nth-child(5) { animation-delay: .46s; }
.page-copy p:nth-child(6) { animation-delay: .52s; }
.page-copy p:nth-child(7) { animation-delay: .58s; }

.page-copy .accent {
  color: var(--accent);
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size .35s var(--ease);
}

.page-copy .accent:hover { background-size: 100% 1px; }

.page-copy .lead {
  font-size: var(--fs-lead);
  margin: 0.5em 0;
}

/* ---------- Hero (front page) ---------- */

.hero {
  position: relative;
  height: 100dvh;
  overflow: hidden;
  background: #404040;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fade-in 1s ease both;
}

.hero-title {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--gutter);
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
}

.hero-title-in {
  width: 100%;
  max-width: 1600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: fade-up .9s var(--ease) both .25s;
}

.hero-title h1 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.9;
  font-size: clamp(80px, 14vmin, 200px);
}

.hero-title h1 span { display: block; }

.hero-title p {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(20px, 2.6vmin, 42px);
  line-height: 1.4;
  margin-top: clamp(14px, 2vh, 28px);
  max-width: 40ch;
  text-align: center;
}

/* ---------- Works grid ---------- */

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 32px);
  width: 100%;
}

.works-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  /* Sharp by default; rounded on hover — animated smoothly so the
     transition is visible rather than snapping. */
  border-radius: 0;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  animation: fade-up .7s var(--ease) both;
  transition: border-radius .45s var(--ease);
  text-decoration: none;
}

.works-grid a:nth-child(1) { animation-delay: .2s; }
.works-grid a:nth-child(2) { animation-delay: .3s; }
.works-grid a:nth-child(3) { animation-delay: .4s; }
.works-grid a:nth-child(4) { animation-delay: .5s; }
.works-grid a:nth-child(5) { animation-delay: .6s; }
.works-grid a:nth-child(6) { animation-delay: .7s; }

.works-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .6s var(--ease);
}

.works-grid a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.85) 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  z-index: 1;
  pointer-events: none;
}

/* Overlay info: title (top-left), year (top-right), category below title */
.works-grid-info {
  position: absolute;
  top:  clamp(16px, 2vw, 28px);
  left: clamp(16px, 2vw, 28px);
  right: clamp(16px, 2vw, 28px);
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .35s var(--ease) .05s, transform .35s var(--ease) .05s;
  pointer-events: none;
  font-family: var(--font-mono);
}

.works-grid-title {
  font-weight: 500;
  font-size: clamp(20px, 2.2vmin, 32px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 6px;
}

.works-grid-title::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s var(--ease) .1s;
}

.works-grid-year {
  font-weight: 500;
  font-size: clamp(14px, 1.5vmin, 22px);
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.works-grid-category {
  position: absolute;
  bottom: clamp(16px, 2vw, 28px);
  left: clamp(16px, 2vw, 28px);
  z-index: 2;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(12px, 1.2vmin, 18px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s var(--ease) .1s, transform .35s var(--ease) .1s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}

.works-grid a:hover {
  border-radius: 22px;
}

.works-grid a:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

.works-grid a:hover::after {
  opacity: 1;
}

.works-grid a:hover .works-grid-info {
  opacity: 1;
  transform: translateY(0);
}

.works-grid a:hover .works-grid-title::after {
  transform: scaleX(1);
}

.works-grid a:hover .works-grid-category {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .works-grid { grid-template-columns: 1fr; }
  .works-grid a { aspect-ratio: 16 / 10; }
}

/* Legacy .scrollable leftovers kept so nothing breaks on older
   queries cached in the browser; modern pages don't use this class. */
html.scrollable .works-grid {
  flex: none;
  min-height: 0;
}

html.scrollable .works-grid a {
  height: auto;
  aspect-ratio: 4 / 3;
}

@media (max-width: 900px) {
  html.scrollable .works-grid a {
    aspect-ratio: 1 / 1;
  }
}

/* ==========================================================================
   Single work (case study) page
   ========================================================================== */

.work-single {
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: calc(var(--footer-h) + 64px);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  max-width: 1400px;
  margin: 0 auto;
}

.work-single-media {
  border-radius: 0;
  overflow: hidden;
  background: #1a1a1a;
  animation: fade-up .7s var(--ease) both;
}

.work-single-media img,
.work-single-media video,
.work-single-media iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}

/* Text column — narrower than the cover media (page-adjusted layout),
   centered under the media. Title: 42px / description paragraphs: 32px
   per spec; clamped so they still scale on small screens. */
.work-single-body {
  max-width: 900px;
  margin: clamp(32px, 5vh, 64px) auto 0;
}

.work-single-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: clamp(20px, 3vh, 36px);
  animation: fade-up .6s var(--ease) both .1s;
}

.work-single-title {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
}

.work-single-year {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(14px, 1.2vw, 20px);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.work-single-desc {
  font-family: var(--font-mono);
  font-size: clamp(18px, 2.2vw, 32px);
  line-height: 1.55;
  color: #fff;
  animation: fade-up .6s var(--ease) both .16s;
}

.work-single-desc p,
.work-single-desc .wp-block-paragraph,
.work-single-desc .wp-block-paragraph p {
  font-size: inherit !important;
  line-height: inherit !important;
  margin-bottom: 1em;
}

.work-single-desc p:last-child {
  margin-bottom: 0;
}

.work-single-back {
  display: inline-block;
  margin-top: clamp(32px, 5vh, 56px);
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.4vw, 22px);
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}

.work-single-back:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ==========================================================================
   Mobile staggered menu
   Style reference: https://reactbits.dev/components/staggered-menu
   Recreated in vanilla CSS/JS using the site's own palette. Toggled via
   menu.js by flipping [data-open] attributes.
   ========================================================================== */

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  color: #fff;
  font-family: var(--font-mono);
  font-size: var(--fs-nav);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  cursor: pointer;
  mix-blend-mode: exclusion;
  padding: 8px 0;
}

.menu-toggle-box {
  position: relative;
  width: 22px;
  height: 14px;
  flex-shrink: 0;
}

.menu-toggle-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .35s var(--ease), top .35s var(--ease);
}

.menu-toggle-line:first-child { top: 0; }
.menu-toggle-line:last-child { top: 100%; transform: translateY(-100%); }

.menu-toggle[aria-expanded="true"] .menu-toggle-line:first-child {
  top: 50%; transform: translateY(-50%) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-line:last-child {
  top: 50%; transform: translateY(-50%) rotate(-45deg);
}

.menu-toggle-text { transition: opacity .2s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle-text { opacity: 0.7; }

.staggered-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
}

.staggered-menu[data-open="true"] { pointer-events: auto; }

.staggered-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.001);
}

.staggered-menu-layer {
  position: absolute;
  inset: 0;
  background: var(--layer-color);
  transform: translateX(100%);
  transition: transform .55s var(--ease);
}

.staggered-menu-layer:nth-of-type(1) { transition-delay: 0s; }
.staggered-menu-layer:nth-of-type(2) { transition-delay: .09s; }
.staggered-menu-layer:nth-of-type(3) { transition-delay: .18s; }

.staggered-menu[data-open="true"] .staggered-menu-layer {
  transform: translateX(0);
}
.staggered-menu[data-open="false"] .staggered-menu-layer {
  transition-delay: 0s;
}

.staggered-menu-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--bg);
  border-left: 1px solid rgba(255,255,255,0.08);
  padding: var(--header-h) var(--gutter) var(--footer-h);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .6s var(--ease) .26s;
}

.staggered-menu[data-open="true"] .staggered-menu-panel {
  transform: translateX(0);
}

.staggered-menu-close {
  position: absolute;
  top: calc(var(--header-h) / 2);
  right: var(--gutter);
  transform: translateY(-50%);
  width: 22px; height: 22px;
  background: none;
  border: 0;
  cursor: pointer;
}

.staggered-menu-close span {
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 2px;
  background: #fff;
}
.staggered-menu-close span:first-child { transform: rotate(45deg); }
.staggered-menu-close span:last-child { transform: rotate(-45deg); }

.staggered-menu-logo {
  font-family: var(--font-mono);
  font-size: var(--fs-nav);
  color: #fff;
  text-decoration: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}

.staggered-menu[data-open="true"] .staggered-menu-logo {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .38s;
}

.staggered-menu-list {
  list-style: none;
  margin: auto 0;
}

.staggered-menu-list li {
  overflow: hidden;
}

.staggered-menu-list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  text-decoration: none;
  color: #fff;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .25s var(--ease);
  transition-delay: calc(var(--i) * .07s + .34s);
}

.staggered-menu[data-open="true"] .staggered-menu-list a {
  opacity: 1;
  transform: translateY(0);
}

.staggered-menu-list a:hover,
.staggered-menu-list a:focus-visible {
  color: var(--accent);
}

.staggered-menu-list .num {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.6vh, 16px);
  color: var(--accent);
}

.staggered-menu-list .label {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(24px, 6.5vh, 44px);
  line-height: 1;
}

.staggered-menu-socials {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transition: opacity .5s var(--ease) .55s;
}

.staggered-menu[data-open="true"] .staggered-menu-socials {
  opacity: 1;
}

.staggered-menu-socials .socials-label {
  font-family: var(--font-mono);
  font-size: var(--fs-credit);
  color: var(--text-muted);
  text-transform: uppercase;
}

.staggered-menu-socials .socials-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.staggered-menu-socials a {
  font-family: var(--font-mono);
  font-size: var(--fs-credit);
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}

.staggered-menu-socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 760px) {
  .site-header nav { display: none; }
  .menu-toggle { display: inline-flex; }
}

@media (max-width: 640px) {
  .site-header nav { gap: 14px; }
}

/* ---------- WP core alignment/caption defaults (kept minimal on purpose) ---------- */

.alignwide { max-width: 1600px; }
.alignfull { max-width: none; }
.wp-caption,
.wp-block-image figcaption {
  font-family: var(--font-mono);
  font-size: var(--fs-credit);
  color: var(--text-muted);
}

