/*
Theme Name: Abdulrahman Suwaid Portfolio
Theme URI: https://abdulrahmansuwaid.com/
Author: Abdulrahman Suwaid
Description: A cinematic, Arabic-first portfolio theme with editable content and project galleries.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: abdulrahman-suwaid
*/

:root {
	--asw-ink: #111416;
	--asw-ink-soft: #171b1d;
	--asw-paper: #e8ddcc;
	--asw-paper-dim: #a99f91;
	--asw-ember: #c76d49;
	--asw-teal: #78959a;
	--asw-line: rgba(232, 221, 204, .17);
	--asw-font-ar: "IBM Plex Sans Arabic", sans-serif;
	--asw-font-display: "El Messiri", "Noto Serif Arabic", serif;
	--asw-font-latin: "Manrope", sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 5.5rem;
	background: var(--asw-ink);
}

body.asw-body {
	min-width: 320px;
	margin: 0;
	overflow-x: hidden;
	background: var(--asw-ink);
	color: var(--asw-paper);
	font-family: var(--asw-font-ar);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.7;
	direction: rtl;
	-webkit-font-smoothing: antialiased;
}

body.asw-body::before {
	position: fixed;
	z-index: 50;
	inset: 0;
	pointer-events: none;
	content: "";
	opacity: .045;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

body.asw-modal-open {
	overflow: hidden;
}

button,
input,
textarea {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	color: inherit;
}

img,
svg {
	max-width: 100%;
}

img {
	display: block;
}

::selection {
	background: var(--asw-ember);
	color: var(--asw-ink);
}

.asw-site-shell {
	position: relative;
	isolation: isolate;
	overflow: clip;
}

.asw-site-shell::after {
	position: absolute;
	z-index: 2;
	top: 0;
	bottom: 0;
	left: 5.2rem;
	width: 1px;
	pointer-events: none;
	background: var(--asw-line);
	content: "";
}

.asw-container {
	width: min(100% - 3rem, 1500px);
	margin-inline: auto;
}

.asw-display {
	margin: 0;
	font-family: var(--asw-font-display);
	font-weight: 500;
}

.asw-latin {
	font-family: var(--asw-font-latin);
	direction: ltr;
}

.asw-copy {
	color: var(--asw-paper-dim);
	font-size: 15px;
	font-weight: 300;
	line-height: 2.1;
}

.asw-copy p {
	margin: 0 0 1em;
}

.asw-copy p:last-child {
	margin-bottom: 0;
}

.asw-section {
	position: relative;
	margin-right: 5.2rem;
	padding: clamp(6rem, 10vw, 11rem) 0;
}

.asw-section-label,
.asw-eyebrow {
	margin: 0;
	color: var(--asw-ember);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .12em;
}

.asw-short-rule {
	width: 4rem;
	height: 1px;
	margin-top: 1.4rem;
	background: var(--asw-ember);
}

.asw-reveal {
	opacity: 1;
	transform: none;
}

html.asw-js .asw-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}

html.asw-js .asw-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.asw-reveal-delay-1 { transition-delay: .1s !important; }
.asw-reveal-delay-2 { transition-delay: .2s !important; }
.asw-reveal-delay-3 { transition-delay: .3s !important; }
.asw-reveal-delay-4 { transition-delay: .4s !important; }

/* Fixed identity rail */
.asw-side-rail {
	position: fixed;
	z-index: 21;
	top: 0;
	bottom: 0;
	left: 0;
	display: flex;
	width: 5.2rem;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	padding: 1.7rem .8rem;
	border-left: 1px solid var(--asw-line);
	background: rgba(17, 20, 22, .16);
	color: var(--asw-paper-dim);
}

.asw-rail-top,
.asw-rail-bottom,
.asw-rail-middle small {
	font-family: var(--asw-font-latin);
	font-size: 9px;
	letter-spacing: .2em;
	writing-mode: vertical-rl;
}

.asw-rail-middle {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.asw-rail-middle > span {
	width: 1px;
	height: 3rem;
	background: var(--asw-ember);
}

.asw-rail-middle small {
	font-size: 8px;
	letter-spacing: .24em;
}

.asw-rail-middle i {
	color: var(--asw-ember);
	font-size: 16px;
	font-style: normal;
}

/* Navigation */
.asw-header {
	position: absolute;
	z-index: 25;
	top: 0;
	right: 0;
	left: 0;
	margin-right: 5.2rem;
}

.asw-header-inner {
	display: flex;
	width: min(100% - 4rem, 1500px);
	min-height: 6.4rem;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin-inline: auto;
}

.asw-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: right;
}

.asw-brand-name {
	font-family: var(--asw-font-display);
	font-size: 1.2rem;
	line-height: 1.2;
}

.asw-brand-descriptor {
	margin-top: .3rem;
	color: var(--asw-paper-dim);
	font-family: var(--asw-font-latin);
	font-size: 8px;
	letter-spacing: .24em;
}

.asw-brand-logo .custom-logo-link {
	display: block;
}

.asw-brand-logo .custom-logo {
	width: auto;
	max-height: 3rem;
	object-fit: contain;
}

.asw-desktop-navigation {
	display: block;
}

.asw-menu-list {
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, 3vw, 2.8rem);
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--asw-paper-dim);
	font-size: 12px;
}

.asw-menu-list a {
	position: relative;
	display: inline-block;
	padding-block: .55rem;
	transition: color .25s ease;
}

.asw-menu-list a::after {
	position: absolute;
	right: 0;
	bottom: .1rem;
	left: 0;
	height: 1px;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .3s ease;
	background: var(--asw-ember);
	content: "";
}

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

.asw-menu-list a:hover::after,
.asw-menu-list a:focus-visible::after {
	transform: scaleX(1);
	transform-origin: left;
}

.asw-menu-toggle,
.asw-mobile-navigation {
	display: none;
}

/* Hero */
.asw-hero {
	position: relative;
	display: flex;
	min-height: 100svh;
	align-items: flex-end;
	overflow: hidden;
	padding: 9rem 0 4.5rem;
	background: var(--asw-ink);
}

.asw-hero-media,
.asw-hero-shade {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.asw-hero-media {
	inset: -2%;
	transform: translateY(var(--asw-hero-shift, 0px)) scale(1.06);
	background-image: var(--asw-hero-image);
	background-position: center 48%;
	background-size: cover;
	transition: transform .25s linear;
}

.asw-hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 48%;
}

.asw-hero-shade {
	background:
		linear-gradient(90deg, rgba(17, 20, 22, .38), rgba(17, 20, 22, var(--asw-hero-strength, .82)) 74%, rgba(17, 20, 22, .96)),
		linear-gradient(0deg, rgba(17, 20, 22, .96), transparent 50%);
}

.asw-hero-content {
	position: relative;
	z-index: 1;
}

.asw-eyebrow {
	display: flex;
	align-items: center;
	gap: 1rem;
	color: var(--asw-paper-dim);
	font-size: 10px;
	letter-spacing: .14em;
}

.asw-eyebrow-line {
	width: 2.3rem;
	height: 1px;
	background: var(--asw-ember);
}

.asw-hero-copy {
	max-width: 900px;
	margin-top: 2rem;
}

.asw-hero-title {
	color: var(--asw-paper);
	font-size: clamp(3.8rem, 9.5vw, 9.8rem);
	font-weight: 500;
	letter-spacing: -.055em;
	line-height: .98;
}

.asw-outline-word {
	color: transparent;
	-webkit-text-stroke: 1px rgba(232, 221, 204, .42);
}

.asw-hero-intro {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	margin-top: 2rem;
}

.asw-hero-intro .asw-copy {
	max-width: 340px;
	font-size: 15px;
}

.asw-hero-cta {
	display: inline-flex;
	width: max-content;
	align-items: center;
	gap: 1rem;
	color: var(--asw-paper);
	font-size: 12px;
	white-space: nowrap;
}

.asw-round-arrow,
.asw-submit-arrow {
	display: inline-flex;
	width: 3rem;
	height: 3rem;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(232, 221, 204, .55);
	border-radius: 50%;
	font-family: var(--asw-font-latin);
	font-size: 18px;
	transition: border-color .3s ease, color .3s ease, background .3s ease, transform .3s ease;
}

.asw-hero-cta:hover .asw-round-arrow,
.asw-hero-cta:focus-visible .asw-round-arrow {
	transform: translateY(2px);
	border-color: var(--asw-ember);
	background: var(--asw-ember);
	color: var(--asw-ink);
}

.asw-hero-bottom {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-top: clamp(4rem, 10vw, 7.5rem);
	padding-top: 1rem;
	border-top: 1px solid var(--asw-line);
	color: var(--asw-paper-dim);
	font-size: 10px;
}

.asw-hero-bottom .asw-latin {
	letter-spacing: .2em;
}

/* About */
.asw-about,
.asw-services {
	background: var(--asw-ink);
}

.asw-about-grid {
	display: grid;
	grid-template-columns: .8fr 1.6fr;
	gap: clamp(4rem, 9vw, 9rem);
}

.asw-about-kicker {
	max-width: 190px;
	margin: 1.7rem 0 0;
	color: var(--asw-paper-dim);
	font-size: 13px;
	line-height: 1.9;
}

.asw-about-title {
	color: var(--asw-paper);
	font-size: clamp(2.2rem, 5vw, 5rem);
	letter-spacing: -.04em;
	line-height: 1.2;
}

.asw-about-title span,
.asw-work-title span,
.asw-services-title span {
	color: var(--asw-ember);
}

.asw-about-copy-grid {
	display: grid;
	grid-template-columns: 1fr .7fr;
	align-items: end;
	gap: 2.5rem;
	margin-top: 3.5rem;
}

.asw-about-copy-grid .asw-copy {
	max-width: 510px;
}

.asw-about-side-note {
	padding-right: 1.2rem;
	border-right: 1px solid var(--asw-ember);
	color: var(--asw-paper-dim);
	font-size: 12px;
	line-height: 1.9;
}

/* Director's note */
.asw-note {
	position: relative;
	overflow: hidden;
	padding: clamp(5rem, 9vw, 9rem) 0;
	background: var(--asw-paper);
	color: var(--asw-ink);
}

.asw-note-kicker {
	margin: 0 0 2rem;
	font-size: 10px;
	letter-spacing: .25em;
	opacity: .58;
}

.asw-note-quote {
	max-width: 1100px;
	font-size: clamp(2.2rem, 5.7vw, 6.2rem);
	letter-spacing: -.055em;
	line-height: 1.25;
}

.asw-note-byline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 3rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(17, 20, 22, .24);
	font-size: 10px;
	opacity: .68;
}

.asw-note-byline .asw-latin {
	letter-spacing: .22em;
}

/* Selected work and film cards */
.asw-work {
	background: var(--asw-ink-soft);
}

.asw-work-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
}

.asw-work-title {
	margin-top: 1.3rem;
	color: var(--asw-paper);
	font-size: clamp(2.8rem, 6vw, 6.5rem);
	letter-spacing: -.055em;
	line-height: .98;
}

.asw-work-title span {
	color: var(--asw-paper-dim);
}

.asw-text-link {
	padding-bottom: .55rem;
	border-bottom: 1px solid var(--asw-ember);
	color: var(--asw-paper-dim);
	font-size: 12px;
	transition: color .25s ease;
}

.asw-text-link:hover {
	color: var(--asw-paper);
}

.asw-films {
	margin-top: clamp(5rem, 9vw, 8.5rem);
	padding-top: clamp(3.5rem, 7vw, 6.5rem);
	border-top: 1px solid var(--asw-line);
	scroll-margin-top: 4rem;
}

.asw-films-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
}

.asw-films-title {
	margin-top: 1rem;
	color: var(--asw-paper);
	font-size: clamp(2.3rem, 5vw, 5.2rem);
	letter-spacing: -.05em;
	line-height: 1.05;
}

.asw-films-description {
	max-width: 300px;
	margin: 0;
	color: var(--asw-paper-dim);
	font-size: 13px;
	line-height: 1.9;
}

.asw-project-grid {
	columns: 3 260px;
	column-gap: clamp(1.5rem, 3.5vw, 4rem);
	direction: ltr;
	margin-top: 3rem;
}

.asw-project-card {
	break-inside: avoid;
	direction: rtl;
	margin: 0 0 clamp(3rem, 5vw, 5.5rem);
}

.asw-project-card:nth-child(2) {
	margin-top: clamp(2rem, 6vw, 6rem);
}

.asw-project-card:nth-child(4) {
	margin-top: clamp(1rem, 3vw, 3rem);
}

.asw-project-open {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: right;
	cursor: pointer;
}

.asw-project-image {
	position: relative;
	display: block;
	overflow: hidden;
	background: #252a2c;
}

.asw-aspect-portrait { aspect-ratio: 4 / 5; }
.asw-aspect-landscape { aspect-ratio: 16 / 9; }
.asw-aspect-square { aspect-ratio: 1 / 1; }

.asw-project-image > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .8s ease;
}

.asw-project-open:hover .asw-project-image > img,
.asw-project-open:focus-visible .asw-project-image > img {
	transform: scale(1.045);
	filter: saturate(1.08);
}

.asw-project-gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(17, 20, 22, .72), transparent 55%);
	opacity: .75;
	transition: opacity .4s ease;
}

.asw-project-open:hover .asw-project-gradient {
	opacity: .95;
}

.asw-play-icon {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	display: grid;
	width: 2.5rem;
	height: 2.5rem;
	place-items: center;
	border: 1px solid rgba(232, 221, 204, .65);
	border-radius: 50%;
	color: var(--asw-paper);
	font-family: var(--asw-font-latin);
	font-size: 12px;
}

.asw-project-arrow {
	position: absolute;
	bottom: 1.25rem;
	left: 1.25rem;
	display: grid;
	width: 2.8rem;
	height: 2.8rem;
	place-items: center;
	border-radius: 50%;
	background: rgba(232, 221, 204, .14);
	color: var(--asw-paper);
	font-family: var(--asw-font-latin);
	font-size: 17px;
	backdrop-filter: blur(6px);
	transition: transform .35s ease, background .35s ease, color .35s ease;
}

.asw-project-open:hover .asw-project-arrow {
	transform: translate(-3px, 3px);
	background: var(--asw-ember);
	color: var(--asw-ink);
}

.asw-project-caption {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.2rem;
	margin-top: 1rem;
	padding-bottom: 1.2rem;
	border-bottom: 1px solid var(--asw-line);
}

.asw-project-caption-copy {
	display: flex;
	flex-direction: column;
}

.asw-project-subtitle {
	color: var(--asw-ember);
	font-size: 10px;
	letter-spacing: .1em;
}

.asw-project-title {
	margin-top: .45rem;
	color: var(--asw-paper);
	font-family: var(--asw-font-display);
	font-size: 1.55rem;
	line-height: 1.35;
}

.asw-project-excerpt {
	max-width: 30rem;
	margin-top: .55rem;
	color: var(--asw-paper-dim);
	font-size: 12px;
	line-height: 1.9;
}

.asw-project-year {
	flex: 0 0 auto;
	padding-top: .25rem;
	color: var(--asw-paper-dim);
	font-size: 10px;
	letter-spacing: .14em;
}

.asw-project-hint {
	margin: .25rem 0 0;
	color: var(--asw-paper-dim);
	font-size: 11px;
	text-align: center;
}

.asw-project-empty {
	margin-top: 3rem;
	padding: 2rem;
	border: 1px solid var(--asw-line);
	color: var(--asw-paper-dim);
	text-align: center;
}

.asw-project-empty a {
	display: inline-block;
	margin-top: .75rem;
	color: var(--asw-ember);
	text-decoration: underline;
	text-underline-offset: .25em;
}

/* Services */
.asw-services-grid {
	display: grid;
	grid-template-columns: .72fr 1.28fr;
	gap: clamp(4rem, 9vw, 9rem);
}

.asw-services-title {
	margin-top: 1.25rem;
	color: var(--asw-paper);
	font-size: clamp(2.8rem, 5.2vw, 5.6rem);
	letter-spacing: -.05em;
	line-height: 1.05;
}

.asw-services-title span {
	color: var(--asw-paper-dim);
}

.asw-services-intro {
	max-width: 290px;
	margin: 2rem 0 0;
	color: var(--asw-paper-dim);
	font-size: 13px;
	line-height: 2;
}

.asw-services-list {
	border-top: 1px solid var(--asw-line);
}

.asw-service {
	display: flex;
	align-items: flex-start;
	gap: clamp(1rem, 2.2vw, 2rem);
	padding: 1.8rem 0;
	border-bottom: 1px solid var(--asw-line);
	transition: border-color .25s ease;
}

.asw-service:hover {
	border-color: var(--asw-ember);
}

.asw-service-number {
	padding-top: .35rem;
	color: var(--asw-ember);
	font-size: 10px;
	letter-spacing: .12em;
}

.asw-service-icon {
	width: 1.5rem;
	flex: 0 0 auto;
	margin-top: .25rem;
	color: var(--asw-paper-dim);
	font-size: 19px;
	text-align: center;
	transition: color .25s ease;
}

.asw-service:hover .asw-service-icon {
	color: var(--asw-ember);
}

.asw-service-copy {
	flex: 1;
}

.asw-service-copy h3 {
	color: var(--asw-paper);
	font-size: 1.5rem;
	line-height: 1.4;
}

.asw-service-copy p {
	max-width: 410px;
	margin: .4rem 0 0;
	color: var(--asw-paper-dim);
	font-size: 13px;
	line-height: 1.9;
}

.asw-service-plus {
	margin-top: .2rem;
	color: var(--asw-paper-dim);
	font-size: 19px;
	transition: transform .3s ease, color .3s ease;
}

.asw-service:hover .asw-service-plus {
	transform: rotate(90deg);
	color: var(--asw-ember);
}

/* Contact */
.asw-contact {
	position: relative;
	overflow: hidden;
	background: var(--asw-paper);
	color: var(--asw-ink);
}

.asw-contact-question {
	position: absolute;
	top: -4rem;
	left: -1rem;
	color: rgba(17, 20, 22, .035);
	font-family: var(--asw-font-display);
	font-size: clamp(18rem, 36vw, 29rem);
	line-height: 1;
	pointer-events: none;
}

.asw-contact-grid {
	position: relative;
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: clamp(4rem, 10vw, 10rem);
}

.asw-contact-title {
	margin-top: 1.1rem;
	font-size: clamp(3.2rem, 7vw, 7rem);
	letter-spacing: -.06em;
	line-height: 1.03;
}

.asw-contact-title span {
	color: var(--asw-ember);
}

.asw-contact-description {
	max-width: 300px;
	margin: 1.8rem 0 0;
	color: rgba(17, 20, 22, .65);
	font-size: 14px;
	line-height: 2;
}

.asw-contact-details {
	display: grid;
	gap: .8rem;
	margin-top: 2.8rem;
	color: rgba(17, 20, 22, .68);
	font-size: 12px;
}

.asw-contact-details > * {
	display: inline-flex;
	width: fit-content;
	align-items: center;
	gap: .75rem;
}

.asw-contact-details > * > span {
	color: var(--asw-ink);
	font-size: 15px;
}

.asw-contact-form {
	border-top: 1px solid rgba(17, 20, 22, .25);
}

.asw-form-field {
	display: block;
	padding: 1.4rem 0 1.15rem;
	border-bottom: 1px solid rgba(17, 20, 22, .25);
}

.asw-form-field > span {
	display: block;
	margin-bottom: .55rem;
	color: rgba(17, 20, 22, .58);
	font-size: 10px;
}

.asw-form-field input,
.asw-form-field textarea {
	width: 100%;
	padding: .3rem 0;
	border: 0;
	border-bottom: 1px solid transparent;
	border-radius: 0;
	outline: 0;
	background: transparent;
	color: var(--asw-ink);
	font-size: 15px;
	transition: border-color .25s ease, padding .25s ease;
}

.asw-form-field input:focus,
.asw-form-field textarea:focus {
	padding-inline: .55rem;
	border-bottom-color: var(--asw-ember);
}

.asw-form-field input::placeholder,
.asw-form-field textarea::placeholder {
	color: rgba(89, 82, 73, .68);
	opacity: 1;
}

.asw-form-field textarea {
	resize: vertical;
}

.asw-contact-submit {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	margin-top: 1.8rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--asw-ink);
	font-size: 13px;
	cursor: pointer;
}

.asw-submit-arrow {
	border: 0;
	background: var(--asw-ink);
	color: var(--asw-paper);
}

.asw-contact-submit:hover .asw-submit-arrow {
	transform: translateX(-4px);
	background: var(--asw-ember);
	color: var(--asw-ink);
}

.asw-contact-form-note {
	margin: .9rem 0 0;
	color: rgba(17, 20, 22, .58);
	font-size: 11px;
}

.asw-contact-success {
	display: flex;
	min-height: 360px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-block: 1px solid rgba(17, 20, 22, .25);
	text-align: center;
}

.asw-contact-success[hidden] {
	display: none;
}

.asw-success-mark {
	display: grid;
	width: 3.5rem;
	height: 3.5rem;
	margin-bottom: 1.5rem;
	place-items: center;
	border-radius: 50%;
	background: var(--asw-ember);
	font-size: 23px;
}

.asw-contact-success h3 {
	font-size: 2rem;
}

.asw-contact-success p {
	margin: .65rem 0 0;
	color: rgba(17, 20, 22, .62);
	font-size: 13px;
}

.asw-contact-success button {
	margin-top: 1.8rem;
	padding: 0 0 .2rem;
	border: 0;
	border-bottom: 1px solid var(--asw-ink);
	background: transparent;
	font-size: 12px;
	cursor: pointer;
}

/* Footer */
.asw-footer {
	margin-right: 5.2rem;
	padding: 3.5rem 0 2rem;
	background: var(--asw-ink);
}

.asw-film-strip {
	height: .5rem;
	margin-bottom: 3rem;
	opacity: .4;
	background-image: repeating-linear-gradient(90deg, transparent 0 26px, rgba(232, 221, 204, .18) 26px 27px);
}

.asw-footer-main {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
}

.asw-footer-name {
	display: inline-block;
	color: var(--asw-paper);
	font-size: 2rem;
}

.asw-footer-main p {
	margin: .2rem 0 0;
	color: var(--asw-paper-dim);
	font-size: 11px;
}

.asw-social-links {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	color: var(--asw-paper-dim);
}

.asw-social-links a {
	display: grid;
	width: 1.5rem;
	height: 1.8rem;
	place-items: center;
	transition: color .25s ease, transform .25s ease;
}

.asw-social-links a:hover {
	transform: translateY(-2px);
	color: var(--asw-ember);
}

.asw-social-links svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.asw-social-links .asw-icon-fill {
	fill: currentColor;
	stroke: none;
}

.asw-footer-legal {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 3.2rem;
	padding-top: .8rem;
	border-top: 1px solid var(--asw-line);
	color: var(--asw-paper-dim);
	font-size: 10px;
}

.asw-footer-legal .asw-latin {
	letter-spacing: .16em;
}

/* Accessible project detail dialog */
.asw-modal[hidden] {
	display: none;
}

.asw-modal {
	position: fixed;
	z-index: 100;
	inset: 0;
	display: grid;
	place-items: center;
	padding: clamp(.75rem, 3vw, 2rem);
}

.asw-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 12, 13, .9);
	backdrop-filter: blur(5px);
}

.asw-modal-panel {
	position: relative;
	z-index: 1;
	width: min(100%, 1120px);
	max-height: 90vh;
	overflow: auto;
	padding: clamp(1rem, 2.5vw, 1.5rem);
	border: 1px solid var(--asw-line);
	background: var(--asw-ink-soft);
	outline: none;
}

.asw-modal-close {
	position: absolute;
	z-index: 3;
	top: 1.25rem;
	left: 1.25rem;
	display: grid;
	width: 2.6rem;
	height: 2.6rem;
	place-items: center;
	border: 1px solid rgba(232, 221, 204, .5);
	background: rgba(17, 20, 22, .76);
	color: var(--asw-paper);
	font-family: var(--asw-font-latin);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	transition: border-color .25s ease, color .25s ease;
}

.asw-modal-close:hover {
	border-color: var(--asw-ember);
	color: var(--asw-ember);
}

.asw-modal-layout {
	display: grid;
	grid-template-columns: 1.35fr .65fr;
	align-items: end;
	gap: clamp(1.5rem, 3vw, 2rem);
}

.asw-modal-stage {
	display: grid;
	min-height: min(58vh, 600px);
	place-items: center;
	overflow: hidden;
	background: #080a0b;
}

.asw-modal-stage img,
.asw-modal-stage iframe {
	display: block;
	width: 100%;
	height: 100%;
	max-height: min(62vh, 650px);
	aspect-ratio: 16 / 9;
	border: 0;
	object-fit: contain;
}

.asw-modal-gallery {
	display: flex;
	gap: .6rem;
	overflow-x: auto;
	padding-top: .8rem;
}

.asw-modal-gallery:empty {
	display: none;
}

.asw-modal-thumb {
	width: 5rem;
	height: 3.5rem;
	flex: 0 0 auto;
	overflow: hidden;
	padding: 0;
	border: 1px solid var(--asw-line);
	background: #080a0b;
	cursor: pointer;
}

.asw-modal-thumb[aria-current="true"] {
	border-color: var(--asw-ember);
}

.asw-modal-video-thumb {
	color: var(--asw-paper);
	font-family: var(--asw-font-latin);
	font-size: 13px;
}

.asw-modal-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.asw-modal-copy {
	padding-bottom: .5rem;
	text-align: right;
}

.asw-modal-copy .asw-section-label {
	color: var(--asw-ember);
}

.asw-modal-copy h2 {
	margin-top: .8rem;
	color: var(--asw-paper);
	font-size: clamp(2rem, 3vw, 2.8rem);
}

.asw-modal-subtitle {
	margin: .3rem 0 0;
	color: var(--asw-paper-dim);
	font-size: 12px;
}

.asw-modal-description {
	margin-top: 1.8rem;
	font-size: 13px;
}

.asw-modal-location {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin: 1.5rem 0 0;
	color: var(--asw-paper-dim);
	font-size: 11px;
}

.asw-modal-contact {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	margin-top: 1.8rem;
	padding-bottom: .5rem;
	border-bottom: 1px solid var(--asw-ember);
	color: var(--asw-paper);
	font-size: 12px;
}

/* Generic WordPress content */
.asw-generic-page {
	min-height: 70vh;
	padding-top: 10rem;
}

.asw-generic-article {
	max-width: 900px;
}

.asw-generic-article h1 {
	margin-bottom: 2rem;
	color: var(--asw-paper);
	font-size: clamp(2.5rem, 6vw, 5rem);
}

.asw-generic-article .asw-copy a {
	color: var(--asw-ember);
	text-decoration: underline;
	text-underline-offset: .2em;
}

.asw-body :focus-visible {
	outline: 2px solid var(--asw-ember);
	outline-offset: 4px;
}

@media (max-width: 1100px) and (min-width: 768px) {
	.asw-project-grid {
		columns: 2 260px;
	}

	.asw-modal-layout {
		grid-template-columns: 1.1fr .9fr;
	}
}

@media (max-width: 767px) {
	.asw-container {
		width: min(100% - 2.5rem, 1500px);
	}

	.asw-section,
	.asw-footer,
	.asw-header {
		margin-right: 0;
	}

	.asw-site-shell::after {
		left: 1rem;
	}

	.asw-side-rail {
		display: none;
	}

	.asw-header-inner {
		width: min(100% - 2.5rem, 1500px);
		min-height: 5.4rem;
	}

	.asw-desktop-navigation {
		display: none;
	}

	.asw-menu-toggle {
		display: flex;
		width: 2.6rem;
		height: 2.6rem;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 5px;
		padding: 0;
		border: 1px solid var(--asw-line);
		background: rgba(17, 20, 22, .35);
		cursor: pointer;
	}

	.asw-menu-toggle span {
		width: 16px;
		height: 1px;
		background: var(--asw-paper);
		transition: transform .25s ease;
	}

	.asw-menu-toggle[aria-expanded="true"] span:first-child {
		transform: translateY(3px) rotate(45deg);
	}

	.asw-menu-toggle[aria-expanded="true"] span:last-child {
		transform: translateY(-3px) rotate(-45deg);
	}

	.asw-mobile-navigation {
		display: block;
		position: absolute;
		top: calc(100% - .2rem);
		right: 1.25rem;
		left: 1.25rem;
		max-height: 0;
		overflow: hidden;
		border: 1px solid transparent;
		background: rgba(17, 20, 22, .97);
		opacity: 0;
		transition: max-height .35s ease, opacity .25s ease, border-color .25s ease;
	}

	.asw-mobile-navigation.is-open {
		max-height: 24rem;
		padding: .5rem 1.4rem;
		border-color: var(--asw-line);
		opacity: 1;
	}

	.asw-mobile-navigation .asw-menu-list {
		display: block;
	}

	.asw-mobile-navigation .asw-menu-list li {
		border-bottom: 1px solid var(--asw-line);
	}

	.asw-mobile-navigation .asw-menu-list li:last-child {
		border-bottom: 0;
	}

	.asw-mobile-navigation .asw-menu-list a {
		display: block;
		padding: .9rem 0;
	}

	.asw-hero {
		min-height: 100svh;
		padding-top: 8rem;
		padding-bottom: 2.8rem;
	}

	.asw-hero-shade {
		background:
			linear-gradient(90deg, rgba(17, 20, 22, .18), rgba(17, 20, 22, .74) 100%),
			linear-gradient(0deg, rgba(17, 20, 22, .98), transparent 70%);
	}

	.asw-hero-copy {
		margin-top: 1.6rem;
	}

	.asw-hero-title {
		font-size: clamp(3.4rem, 17vw, 6.8rem);
	}

	.asw-hero-intro {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.3rem;
		margin-top: 1.5rem;
	}

	.asw-hero-intro .asw-copy {
		max-width: 30rem;
		font-size: 13px;
	}

	.asw-round-arrow {
		width: 2.8rem;
		height: 2.8rem;
	}

	.asw-hero-bottom {
		align-items: flex-start;
		margin-top: 3.3rem;
		font-size: 9px;
	}

	.asw-hero-bottom .asw-latin {
		text-align: left;
	}

	.asw-about-grid,
	.asw-services-grid,
	.asw-contact-grid {
		grid-template-columns: 1fr;
		gap: 3.5rem;
	}

	.asw-about-copy-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		margin-top: 2rem;
	}

	.asw-about-side-note {
		max-width: 30rem;
	}

	.asw-note-kicker {
		margin-bottom: 1.5rem;
	}

	.asw-note-byline .asw-latin {
		font-size: 8px;
		letter-spacing: .15em;
	}

	.asw-work-heading,
	.asw-films-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 1.5rem;
	}

	.asw-films {
		margin-top: 4rem;
		padding-top: 3.5rem;
	}

	.asw-films-description {
		max-width: 28rem;
	}

	.asw-project-grid {
		columns: 1;
		margin-top: 2.3rem;
	}

	.asw-project-card,
	.asw-project-card:nth-child(2),
	.asw-project-card:nth-child(4) {
		margin-top: 0;
		margin-bottom: 3.5rem;
	}

	.asw-project-excerpt {
		font-size: 11px;
	}

	.asw-contact-question {
		top: -1rem;
		left: -.4rem;
		font-size: 17rem;
	}

	.asw-contact-details {
		margin-top: 2rem;
	}

	.asw-footer-main {
		align-items: flex-start;
		flex-direction: column;
	}

	.asw-footer-legal {
		flex-direction: column;
	}

	.asw-modal {
		padding: .6rem;
	}

	.asw-modal-panel {
		max-height: 94vh;
		padding: 1rem;
	}

	.asw-modal-layout {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.asw-modal-stage {
		min-height: 50vw;
		max-height: 54vh;
	}

	.asw-modal-copy {
		padding: 0 .15rem .5rem;
	}

	.asw-modal-close {
		top: .7rem;
		left: .7rem;
	}
}

@media (max-width: 380px) {
	.asw-hero-bottom {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}

	.asw-reveal,
	html.asw-js .asw-reveal {
		opacity: 1;
		transform: none;
	}
}