/*
Theme Name: Akademia Landscape Studio
Theme URI: https://www.instagram.com/akademipeyzajmimarlik/
Author: Akademi Peyzaj Mimarlık
Description: Minimal black portfolio theme for Akademia Landscape Studio — intro animation, featured works slider, projects feed with filters, About and Contact pages.
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: akademia
*/

:root {
	--ak-bg: #000000;
	--ak-fg: #FFFFFF;
	--ak-muted: #8C8C8C;
	--ak-soft: #BDBDBD;
	--ak-line: #333333;
	--ak-panel: #161616;
	--ak-gut: 16px;
	--ak-font: "Figtree", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ak-bg); }
html.ak-lock, html.ak-lock body { overflow: hidden; }
body { margin: 0; background: var(--ak-bg); color: var(--ak-fg); font-family: var(--ak-font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--ak-fg); text-decoration: none; }
a:hover { color: var(--ak-soft); }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ak-fg); outline-offset: 3px; }
[hidden] { display: none !important; }

.ak-skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: #fff; color: #000; padding: 8px 12px; }
.ak-skip:focus { left: 8px; }
.ak-small { font-size: 12px; letter-spacing: 0.04em; }
.ak-caps { text-transform: uppercase; letter-spacing: 0.06em; }
.ak-muted { color: var(--ak-muted); }
.ak-label { font-size: 11px; letter-spacing: 0.08em; color: var(--ak-muted); margin-bottom: 8px; }

/* ---------- Compact header (inner pages) ---------- */
.ak-bar { position: sticky; top: 0; z-index: 50; background: var(--ak-bg); border-bottom: 1px solid #1E1E1E; padding: 18px var(--ak-gut); display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.ak-bar__brand { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.ak-bar__brand img { width: 36px; height: auto; }
.ak-bar__nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }

.ak-foot { border-top: 1px solid var(--ak-line); padding: 48px var(--ak-gut) 40px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; font-size: 12px; letter-spacing: 0.04em; }
.ak-foot a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Home ---------- */
.ak-home { position: relative; height: calc(100vh - 45px); height: calc(100svh - 45px); min-height: 620px; padding: 24px var(--ak-gut) 24px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 24px; }
.ak-home__top { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.ak-home__statement { flex: 1 1 360px; margin: 0 0 0 6vw; max-width: 500px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 500; line-height: 1.17; letter-spacing: -0.01em; }
.ak-home__brand { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ak-home__brand img { width: 72px; height: auto; }
.ak-home__brand span { font-size: 11px; font-weight: 500; letter-spacing: 0.04em; }
.ak-home__navwrap { flex: 0 0 auto; margin-inline-start: auto; min-width: 150px; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.ak-home__nav { display: flex; flex-direction: column; gap: 2px; font-size: clamp(28px, 2.7vw, 38px); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
.ak-home__nav a { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 3px; }
.ak-home__bottom { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; }
.ak-home__contact { min-width: 150px; display: flex; flex-direction: column; gap: 20px; }
.ak-home__contact a { text-decoration: underline; text-underline-offset: 3px; }

/* Featured works (bottom left) */
.ak-featured h2 { margin: 0 0 14px; font-weight: 400; }
.ak-featured__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 90px); gap: 14px 20px; }
.ak-featured__list a { display: flex; flex-direction: column; gap: 6px; font-size: 11px; }
.ak-featured__list img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; opacity: 0; }
.ak-featured__no { opacity: 0; transition: opacity 500ms ease; }
.ak-home.is-ready .ak-featured__list img, .ak-home.is-ready .ak-featured__no { opacity: 1; }

/* Slider (exact centre of the screen on desktop) */
.ak-slider { align-self: stretch; justify-self: center; width: min(1000px, 100%); min-height: 0; display: flex; flex-direction: column; gap: 12px; opacity: 0; transition: opacity 800ms ease 200ms; }
.ak-home.is-ready .ak-slider { opacity: 1; }
.ak-slider__frame { position: relative; display: block; flex: 1 1 auto; min-height: 160px; width: 100%; overflow: hidden; background: var(--ak-panel); }
.ak-slider__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1); transition: opacity 900ms ease, transform 4600ms linear; }
.ak-slider__frame img.is-on { opacity: 1; transform: scale(1.06); }
.ak-slider__bar { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.04em; }
.ak-slider__count { min-width: 54px; }
.ak-slider__name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ak-soft); }
.ak-slider__bar button { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; background: none; cursor: pointer; }
.ak-slider__dots { display: flex; gap: 6px; }
.ak-slider__dots span { display: block; height: 2px; width: 12px; background: #444; transition: width 500ms ease, background 500ms ease; }
.ak-slider__dots span.is-on { width: 32px; background: var(--ak-fg); }

/* Intro overlay */
.ak-intro { position: fixed; inset: 0; z-index: 100; background: var(--ak-bg); transition: background-color 900ms ease; animation: ak-intro-failsafe 0s linear 9s forwards; }
/* Safety net: if anything stops the intro script, the page still appears after 9 seconds. */
@keyframes ak-intro-failsafe { to { visibility: hidden; pointer-events: none; } }
.ak-intro.is-leaving { animation: none; }
html.ak-seen .ak-intro { display: none; }
.ak-intro__pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; letter-spacing: 0.08em; }
.ak-intro figure { position: absolute; inset: 0; margin: 0; opacity: 0; }
.ak-intro figure.is-on { opacity: 1; }
.ak-intro figure img { width: 100%; height: 100%; object-fit: cover; }
.ak-intro figcaption { position: absolute; inset-inline-start: var(--ak-gut); bottom: 28px; font-size: 12px; letter-spacing: 0.06em; }
.ak-intro.is-leaving { background-color: rgba(0, 0, 0, 0); }
.ak-intro.is-leaving figure { opacity: 0; }
.ak-fly { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; object-fit: cover; pointer-events: none; transition-property: left, top, width, height; transition-duration: 1000ms; transition-timing-function: cubic-bezier(.7, 0, .2, 1); }

/* ---------- About ---------- */
.ak-about__hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; margin-top: -77px; }
.ak-about__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2400ms cubic-bezier(.2, .8, .2, 1); }
.ak-about__hero.is-on .ak-about__bg { transform: scale(1); }
.ak-about__shade { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); }
.ak-about__statement { position: relative; margin: 0; padding-block: 30vh 0; padding-inline: 22% var(--ak-gut); max-width: calc(620px + 22%); font-size: clamp(30px, 3.2vw, 44px); font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; }
.ak-about__statement span { display: inline-block; opacity: 0; transform: translateY(14px); transition: opacity 500ms ease, transform 600ms cubic-bezier(.2, .8, .2, 1); }
.ak-about__statement span.is-on { opacity: 1; transform: none; }
.ak-about__team-photo img { width: 100%; height: auto; }
.ak-about__wwd { padding: 120px var(--ak-gut) 40px; }
.ak-about__wwd h2 { margin: 0; font-size: clamp(72px, 15vw, 220px); font-weight: 500; line-height: 0.9; letter-spacing: -0.04em; }

.ak-services { position: relative; }
.ak-service { position: sticky; top: calc(77px + (var(--i) - 1) * 64px); min-height: 560px; border-top: 1px solid var(--ak-line); padding: 22px var(--ak-gut) 48px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; background: #0E0E0E; }
.ak-service:nth-child(2) { background: #161616; }
.ak-service:nth-child(3) { background: #1E1E1E; }
.ak-service:nth-child(4) { background: #262626; }
.ak-service__no { grid-column: span 1; font-size: 11px; color: var(--ak-muted); padding-top: 8px; }
.ak-service__body { grid-column: span 5; display: flex; flex-direction: column; gap: 28px; }
.ak-service__body h3 { margin: 0; font-size: 26px; font-weight: 500; }
.ak-service__body p { margin: 0; max-width: 460px; font-size: 18px; color: #CFCFCF; }
.ak-service__img { grid-column: span 6; padding-top: 64px; }
.ak-service__img img { width: 100%; max-width: 520px; height: 360px; object-fit: cover; margin-inline-start: auto; }

.ak-numbers, .ak-team { position: relative; z-index: 2; background: var(--ak-bg); padding: 140px var(--ak-gut); }
.ak-numbers h2 { margin: 0 0 64px; font-weight: 400; }
.ak-numbers__grid, .ak-team__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ak-numbers__grid > div { border-top: 1px solid var(--ak-line); padding-top: 20px; }
.ak-numbers__big { font-size: 64px; font-weight: 500; letter-spacing: -0.03em; }
.ak-numbers__small { margin-top: 10px; font-size: 15px; color: #B5B5B5; max-width: 240px; }
.ak-team { padding-top: 40px; }
.ak-team h2 { margin: 0 0 56px; font-size: clamp(56px, 10vw, 150px); font-weight: 500; line-height: 0.9; letter-spacing: -0.04em; }
.ak-team__photo { aspect-ratio: 4 / 5; background: var(--ak-panel); overflow: hidden; }
.ak-team__photo img { width: 100%; height: 100%; object-fit: cover; }
.ak-team__name { margin-top: 14px; font-size: 20px; font-weight: 500; }
.ak-team__role { margin-top: 4px; font-size: 13px; color: var(--ak-muted); }
.ak-team__role p { margin: 0; }

/* ---------- Projects ---------- */
.ak-filter { position: relative; background: var(--ak-bg); padding: 8px var(--ak-gut); display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 36px; }
.ak-filter a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; letter-spacing: 0.08em; color: var(--ak-muted); border-bottom: 1px solid transparent; }
.ak-filter a.is-on, .ak-filter a:hover { color: var(--ak-fg); border-bottom-color: var(--ak-fg); }
.ak-feed { padding: 40px var(--ak-gut) 120px; display: flex; flex-direction: column; gap: 40px; }
.ak-feed__item { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.ak-feed__meta { grid-column: 2 / span 4; display: flex; flex-direction: column; align-items: flex-end; gap: 18px; text-align: end; padding-top: 6px; }
.ak-feed__icon { width: 44px; height: 44px; background: var(--ak-fg); color: var(--ak-bg); display: flex; align-items: center; justify-content: center; }
.ak-feed__name { font-size: 17px; font-weight: 500; }
.ak-feed__place { margin-top: 6px; font-size: 11px; letter-spacing: 0.08em; color: var(--ak-muted); }
.ak-feed__img { grid-column: 6 / span 6; background: var(--ak-panel); overflow: hidden; }
.ak-feed__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.2, .8, .2, 1); }
.ak-feed__item:hover .ak-feed__img img { transform: scale(1.03); }
.ak-feed__empty { text-align: center; margin: 80px 0; }

/* Single project */
.ak-project__hero img { width: 100%; height: 80vh; object-fit: cover; }
.ak-project__head { padding: 56px var(--ak-gut) 24px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.ak-project__head h1 { grid-column: span 7; margin: 0; font-size: clamp(40px, 5vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.ak-project__facts { grid-column: 9 / span 4; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.ak-project__facts dt { font-size: 11px; letter-spacing: 0.08em; color: var(--ak-muted); }
.ak-project__facts dd { margin: 4px 0 0; }
.ak-project__nav { padding: 64px var(--ak-gut); display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--ak-line); }

/* Content from the editor */
.ak-prose { padding: 24px var(--ak-gut) 64px; max-width: 1440px; }
.ak-prose > p, .ak-prose > ul, .ak-prose > ol, .ak-prose > h2, .ak-prose > h3 { max-width: 720px; margin-inline-start: calc(41.66% + 8px); font-size: 18px; color: #D5D5D5; }
.ak-prose h2, .ak-prose h3 { color: var(--ak-fg); font-weight: 500; }
.ak-prose a { text-decoration: underline; }
.ak-prose figure, .ak-prose .wp-block-gallery { margin: 40px 0; }
.ak-prose .wp-block-gallery { gap: 16px; }
.ak-prose img { height: auto; }

.ak-page { padding: 64px var(--ak-gut) 120px; }
.ak-page__title { margin: 0 0 32px; font-size: clamp(40px, 5vw, 72px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.ak-page .ak-prose { padding: 0; }
.ak-page .ak-prose > * { margin-inline-start: 0; }

/* ---------- Contact ---------- */
.ak-contact { padding: 80px var(--ak-gut) 120px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.ak-contact__left { grid-column: span 5; display: flex; flex-direction: column; gap: 64px; }
.ak-contact__left h1 { margin: 0; font-size: clamp(48px, 6vw, 88px); font-weight: 500; line-height: 0.95; letter-spacing: -0.035em; }
.ak-contact__info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; font-size: 15px; line-height: 1.55; }
.ak-contact__right { grid-column: 7 / span 6; }
.ak-form { display: flex; flex-direction: column; gap: 36px; }
.ak-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
.ak-form label { display: flex; flex-direction: column; gap: 8px; font-size: 11px; letter-spacing: 0.08em; color: var(--ak-muted); }
.ak-form input, .ak-form select, .ak-form textarea { font-family: var(--ak-font); font-size: 18px; color: var(--ak-fg); background: transparent; border: 0; border-bottom: 1px solid #444; border-radius: 0; padding: 0; min-height: 44px; letter-spacing: 0; }
.ak-form select { background: var(--ak-bg); }
.ak-form textarea { padding: 8px 0; line-height: 1.5; resize: vertical; }
.ak-form input::placeholder, .ak-form textarea::placeholder { color: #6B6B6B; }
.ak-form input:focus, .ak-form select:focus, .ak-form textarea:focus { outline: none; border-bottom-color: var(--ak-fg); }
.ak-form__foot { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.ak-form button { min-height: 52px; padding: 0 32px; border: 1px solid var(--ak-fg); border-radius: 26px; background: var(--ak-fg); color: var(--ak-bg); font-size: 15px; font-weight: 500; cursor: pointer; }
.ak-form button:hover { background: transparent; color: var(--ak-fg); }
.ak-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ak-thanks { padding-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.ak-thanks__big { margin: 0; font-size: 40px; font-weight: 500; }
.ak-thanks a { text-decoration: underline; }
.ak-error { border-left: 2px solid #FF6B5E; padding: 8px 14px; color: #FFB4AD; }

/* ---------- Tablet & phone ---------- */
@media (max-width: 1024px) {
	.ak-home { height: auto; min-height: calc(100svh - 45px); }
	.ak-home__navwrap { margin-inline-start: auto; }
	.ak-home__contact { margin-bottom: 0; }
	.ak-slider { width: 100%; max-width: 760px; }
	.ak-slider__frame { flex: none; height: auto; aspect-ratio: 16 / 10; }
	.ak-service__body { grid-column: span 11; }
	.ak-service__img { grid-column: 2 / span 11; padding-top: 0; }
	.ak-service__img img { margin-inline-start: 0; }
	.ak-numbers__grid, .ak-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ak-contact__left, .ak-contact__right { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
	.ak-home { gap: 48px; }
	.ak-home__top { flex-direction: column; gap: 32px; }
	.ak-home__brand { order: -1; }
	.ak-home__brand img { width: 70px; }
	.ak-home__brand span { font-size: 12px; }
	.ak-home__navwrap { margin-inline-start: 0; align-items: flex-start; }
	.ak-bar__nav { gap: 20px; }
	.ak-filter { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
	.ak-filter a { white-space: nowrap; }
	.ak-feed__item { display: flex; flex-direction: column-reverse; gap: 14px; }
	.ak-feed__meta { flex-direction: row; align-items: center; text-align: start; }
	.ak-feed__img { width: 100%; height: 260px !important; }
	.ak-service { position: relative; top: auto; min-height: 0; }
	.ak-about__statement { padding-inline-start: var(--ak-gut); }
	.ak-numbers__grid, .ak-team__grid, .ak-form__grid, .ak-contact__info { grid-template-columns: 1fr; }
	.ak-project__head h1, .ak-project__facts { grid-column: 1 / -1; }
	.ak-prose > p, .ak-prose > ul, .ak-prose > ol, .ak-prose > h2, .ak-prose > h3 { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}

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

/* Project gallery */
.ak-gallery { padding: 24px var(--ak-gut) 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ak-gallery figure { margin: 0; }
.ak-gallery figure:nth-child(3n) { grid-column: 1 / -1; }
.ak-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.ak-gallery figure:nth-child(3n) img { aspect-ratio: 16 / 8; }
@media (max-width: 700px) { .ak-gallery { grid-template-columns: 1fr; } }

/* Projects: sideways strip (a clicked project opens in place) */
.ak-feed__item { display: block; }
.ak-feed__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
h2.ak-feed__name { margin: 0; font-weight: 500; }
.ak-strip { margin: 0 calc(var(--ak-gut) * -1); border-top: 1px solid #222; border-bottom: 1px solid #222; padding: 28px 0; opacity: 0; transform: translateX(40px); transition: opacity 450ms ease, transform 600ms cubic-bezier(.2, .8, .2, 1); }
.ak-feed__item.is-open .ak-strip { opacity: 1; transform: none; }
.ak-strip__track { display: flex; gap: 28px; height: min(640px, 72vh); overflow-x: auto; overflow-y: hidden; padding: 0 var(--ak-gut) 10px; scrollbar-width: thin; scrollbar-color: #444 transparent; outline: none; }
.ak-strip__info { flex: 0 0 300px; display: flex; flex-direction: column; gap: 22px; }
.ak-strip__top { display: flex; align-items: center; justify-content: space-between; }
.ak-strip__close { width: 44px; height: 44px; border: 1px solid #444; border-radius: 50%; background: none; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ak-strip__close:hover { border-color: #fff; }
.ak-strip__name { font-size: 24px; font-weight: 500; line-height: 1.15; }
.ak-strip__facts { margin: 0; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--ak-line); padding-top: 18px; }
.ak-strip__facts dt { font-size: 10px; letter-spacing: 0.1em; color: var(--ak-muted); }
.ak-strip__facts dd { margin: 3px 0 0; font-size: 14px; }
.ak-strip__more { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.ak-strip__hint { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.08em; color: var(--ak-muted); }
.ak-strip__img { flex: 0 0 auto; margin: 0; width: var(--w, 860px); height: 100%; background: var(--ak-panel); }
.ak-strip__img img { width: 100%; height: 100%; object-fit: cover; }
.ak-strip__text { flex: 0 0 300px; margin: 0; font-size: 15px; line-height: 1.6; color: #D5D5D5; }
@media (max-width: 700px) {
	.ak-feed__row { display: flex; flex-direction: column-reverse; gap: 14px; }
	.ak-strip__track { height: 70vh; gap: 16px; }
	.ak-strip__info { flex-basis: 78vw; }
	.ak-strip__img { width: 86vw; }
	.ak-strip__text { flex-basis: 78vw; }
}

/* People */
.ak-people { padding: 96px var(--ak-gut) 140px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.ak-people__title { grid-column: 3 / -1; margin: 0 0 72px; font-size: clamp(64px, 9vw, 132px); font-weight: 500; line-height: 0.9; letter-spacing: -0.04em; }
.ak-people__groups { grid-column: span 2; align-self: start; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 2px; }
.ak-people__groups button { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 0; border: 0; background: none; color: var(--ak-muted); font-size: 11px; letter-spacing: 0.08em; text-align: start; cursor: pointer; }
.ak-people__groups button::before { content: "\25B8"; width: 10px; opacity: 0; }
.ak-people__groups button[aria-pressed="true"] { color: var(--ak-fg); }
.ak-people__groups button[aria-pressed="true"]::before { opacity: 1; }
.ak-people__list { grid-column: 3 / -1; }
.ak-people__label { font-size: 11px; letter-spacing: 0.08em; color: var(--ak-muted); padding-bottom: 12px; border-bottom: 1px solid var(--ak-line); }
.ak-people__grid { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; grid-auto-flow: row dense; }
.ak-person { min-width: 0; }
.ak-person__head { width: 100%; display: flex; flex-direction: column; gap: 12px; padding: 0; border: 0; background: none; color: var(--ak-fg); text-align: start; cursor: pointer; }
.ak-person__head:disabled { cursor: default; }
.ak-person__photo { display: block; width: 100%; aspect-ratio: 1 / 1; background: var(--ak-panel); overflow: hidden; }
.ak-person__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 400ms ease, transform 700ms cubic-bezier(.2, .8, .2, 1); }
.ak-person__head:hover .ak-person__photo img, .ak-person.is-open .ak-person__photo img { filter: none; transform: scale(1.03); }
.ak-person__initial { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 64px; font-weight: 500; color: #3A3A3A; }
.ak-person__text { display: flex; flex-direction: column; gap: 4px; }
.ak-person__name { font-size: 17px; font-weight: 500; }
.ak-person__role { font-size: 11px; letter-spacing: 0.08em; color: var(--ak-muted); text-transform: uppercase; }
/* An opened person becomes a wide card: square photo + bio */
.ak-person.is-open { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: start; border-top: 1px solid var(--ak-line); border-bottom: 1px solid var(--ak-line); padding: 28px 0; }
.ak-person.is-open .ak-person__name { font-size: 26px; }
.ak-person__body { padding-top: 4px; }
.ak-person__bio { max-width: 640px; font-size: 16px; line-height: 1.6; color: #D5D5D5; }
.ak-person__bio p { margin: 0 0 14px; }
@media (max-width: 1100px) { .ak-people__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
	.ak-people__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
	.ak-person.is-open { grid-template-columns: 1fr; }
}
.ak-people-cta { position: relative; z-index: 2; background: var(--ak-bg); padding: 40px var(--ak-gut) 140px; }
.ak-people-cta a { display: inline-flex; align-items: baseline; gap: 24px; font-size: clamp(56px, 10vw, 150px); font-weight: 500; line-height: 0.9; letter-spacing: -0.04em; }
@media (max-width: 900px) {
	.ak-people__title, .ak-people__list { grid-column: 1 / -1; }
	.ak-people__groups { grid-column: 1 / -1; position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 20px; }
}

/* Credit line at the very bottom of every page */
.ak-credit { border-top: 1px solid #1E1E1E; padding: 14px var(--ak-gut); font-size: 11px; letter-spacing: 0.04em; color: var(--ak-muted); text-align: center; }

/* Home, desktop: three columns so the slider gets the full height and never sits under the menu.
   Left: logo (top) + Featured works (bottom) · Centre: slider · Right: menu (top) + contact (bottom) */
@media (min-width: 1025px) {
	.ak-home { grid-template-columns: minmax(240px, 1fr) minmax(0, 960px) minmax(240px, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "brand slider nav" ". slider ." "featured slider contact"; column-gap: 32px; row-gap: 24px; }
	.ak-home__top, .ak-home__bottom { display: contents; }
	.ak-home__brand { grid-area: brand; justify-self: start; align-self: start; }
	.ak-home__navwrap { grid-area: nav; justify-self: end; align-self: start; margin-inline-start: 0; }
	.ak-home__nav { text-align: end; }
	.ak-slider { grid-area: slider; width: 100%; align-self: stretch; justify-self: stretch; }
	.ak-featured { grid-area: featured; align-self: end; }
	.ak-home__contact { grid-area: contact; justify-self: end; align-self: end; text-align: end; }
	.ak-featured { min-width: 0; }
	.ak-featured__list { grid-template-columns: repeat(3, minmax(0, 72px)); gap: 10px 12px; }
}

/* ---------- Language switcher ---------- */
.ak-lang { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; letter-spacing: 0.08em; }
.ak-lang a { color: var(--ak-muted); text-decoration: none; padding: 4px 0; }
.ak-lang a:hover, .ak-lang a[aria-current="true"] { color: var(--ak-fg); }
.ak-lang a[aria-current="true"] { text-decoration: underline; text-underline-offset: 4px; }
.ak-lang--home { justify-content: flex-end; }
.ak-bar { gap: 16px 24px; }
.ak-bar .ak-lang { margin-inline-start: 8px; padding-inline-start: 20px; border-inline-start: 1px solid #333; }
@media (max-width: 700px) { .ak-lang--home { justify-content: flex-start; } .ak-bar .ak-lang { margin: 0; padding: 0; border: 0; width: 100%; } }

/* ---------- Arabic (right to left) ---------- */
[dir="rtl"] body { line-height: 1.7; }
[dir="rtl"] * { letter-spacing: 0 !important; }
[dir="rtl"] .ak-slider__bar svg, [dir="rtl"] .ak-strip__hint svg, [dir="rtl"] .ak-people-cta svg, [dir="rtl"] .ak-arrow { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .ak-strip { transform: translateX(-40px); }
[dir="rtl"] .ak-feed__item.is-open .ak-strip { transform: none; }
[dir="rtl"] .ak-lang--home { justify-content: flex-start; }
[dir="rtl"] .ak-home__contact a, [dir="rtl"] .ak-form input[type="email"], [dir="rtl"] .ak-form input[type="tel"], [dir="rtl"] a[href^="mailto:"], [dir="rtl"] a[href^="tel:"] { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .ak-about__statement span { margin-inline-end: 0.2em; }
