/* THE PARIZI — SHARED STYLESHEET
  ===============================
  Every HTML page links to this one CSS file.
  Change a shared class here and every page using it changes too. */
:root {
    --ink: #2a2f35;
    --ink-soft: #596169;
    --navy: #1f2a32;
    --paper: #ffffff;
    --ivory: #f7f2e9;
    --firoozeh: #69cfc7;
    --firoozeh-soft: #a9e0da;
    --firoozeh-deep: #187e78;
    --gold: #a99770;
    --line: rgba(42, 47, 53, 0.18);
    --shadow: 0 24px 60px rgba(31, 42, 50, 0.12);
    --wrap: 1180px;
    --serif: Georgia, "Times New Roman", serif;
    --sans: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.03;
}

h1 {
    margin-bottom: 28px;
    font-size: clamp(3.4rem, 8vw, 7.4rem);
    letter-spacing: -0.055em;
}

h2 {
    margin-bottom: 22px;
    font-size: clamp(2.35rem, 5vw, 4.8rem);
    letter-spacing: -0.045em;
}

h3 {
    margin-bottom: 14px;
    font-size: clamp(1.55rem, 2.7vw, 2.35rem);
    letter-spacing: -0.025em;
}

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

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    background: var(--ink);
    color: white;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: none;
}

.wrap {
    width: min(90%, var(--wrap));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(247, 242, 233, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    gap: 36px;
}

.brand-link {
    display: block;
    flex: 0 0 auto;
    width: 190px;
}

.brand-link img {
    width: 100%;
    height: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    position: relative;
    display: block;
    padding: 10px 0;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-link::after {
    position: absolute;
    right: 100%;
    bottom: 3px;
    left: 0;
    height: 2px;
    background: var(--firoozeh-deep);
    content: "";
    transition: right 180ms ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after {
    right: 0;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--line);
    cursor: pointer;
}

.menu-toggle::before,
.menu-toggle::after {
    display: block;
    width: 20px;
    height: 2px;
    margin: 6px auto;
    background: var(--ink);
    content: "";
    transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"]::before {
    transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
    transform: translateY(-4px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: calc(100vh - 88px);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: center;
    min-height: calc(100vh - 88px);
    gap: clamp(36px, 8vw, 110px);
    padding-block: 80px;
}

.hero-copy {
    max-width: 690px;
    margin-bottom: 34px;
    color: var(--ink-soft);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.hero-art {
    position: relative;
    display: grid;
    min-height: 520px;
    place-items: center;
}

.hero-art::before {
    position: absolute;
    width: min(440px, 86%);
    aspect-ratio: 1;
    background: var(--firoozeh-soft);
    border-radius: 50%;
    content: "";
    opacity: 0.62;
}

.hero-emblem {
    position: relative;
    z-index: 1;
    width: min(520px, 105%);
    filter: drop-shadow(0 24px 30px rgba(31, 42, 50, 0.14));
}

.kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: var(--firoozeh-deep);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.kicker::before {
    width: 26px;
    height: 1px;
    background: currentColor;
    content: "";
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 19px;
    background: var(--ink);
    color: white;
    border: 1px solid var(--ink);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
    background: var(--firoozeh-deep);
    border-color: var(--firoozeh-deep);
    transform: translateY(-2px);
}

.button--ghost {
    background: transparent;
    color: var(--ink);
}

.section--dark .button--ghost {
    color: white;
    border-color: rgba(255, 255, 255, 0.62);
}

.section--dark .button--ghost:hover,
.section--dark .button--ghost:focus-visible {
    border-color: var(--firoozeh-deep);
}

.section {
    position: relative;
    padding: 112px 0;
}

.section--paper {
    background: var(--paper);
    border-block: 1px solid var(--line);
}

.section--soft {
    background: rgba(169, 224, 218, 0.34);
}

.section--dark {
    background: var(--navy);
    color: #faf7f0;
}

.section--tight {
    padding: 76px 0;
}

.section-heading {
    max-width: 810px;
    margin-bottom: 52px;
}

.section-heading p:last-child {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.section--dark .section-heading p:last-child {
    color: rgba(255, 255, 255, 0.7);
}

.section--dark .kicker {
    color: var(--firoozeh-soft);
}

.page-hero {
    padding: 108px 0 84px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.page-title {
    max-width: 870px;
    margin-bottom: 24px;
}

.page-intro {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--ink-soft);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.page-mark {
    width: min(350px, 100%);
    margin-inline: auto;
}

.perspective-grid,
.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: clamp(48px, 9vw, 130px);
}

.perspective-mark {
    width: min(420px, 100%);
    margin-inline: auto;
}

.large-quote {
    margin-bottom: 28px;
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 4.1rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.prose {
    max-width: 720px;
}

.prose p {
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.project-grid,
.writing-grid,
.principle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.project-card,
.writing-card,
.principle-card {
    position: relative;
    min-height: 330px;
    padding: 34px;
    background: var(--paper);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.project-card:nth-child(2),
.writing-card:nth-child(2),
.principle-card:nth-child(2) {
    background: rgba(169, 224, 218, 0.34);
}

.card-topline {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 70px;
    color: var(--firoozeh-deep);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-card p,
.writing-card p,
.principle-card p {
    max-width: 560px;
    margin-bottom: 0;
    color: var(--ink-soft);
}

.project-card h2,
.writing-card h2 {
    font-size: clamp(2rem, 3.6vw, 3.4rem);
}

.card-arrow {
    display: inline-block;
    margin-top: 26px;
    color: var(--firoozeh-deep);
    font-weight: 800;
    text-decoration: none;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.method-step {
    min-height: 320px;
    padding: 30px;
    background: var(--navy);
}

.method-number {
    display: block;
    margin-bottom: 82px;
    color: var(--firoozeh-soft);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.method-step p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.66);
}

.closeup-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.closeup-card {
    min-height: 390px;
    padding: 32px;
    background: var(--ivory);
    border: 1px solid var(--line);
}

.closeup-card img {
    width: 138px;
    height: 138px;
    margin-bottom: 54px;
    object-fit: contain;
}

.closeup-card p {
    color: var(--ink-soft);
}

.status-note {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    max-width: 880px;
    margin-bottom: 50px;
    padding: 22px;
    background: rgba(169, 224, 218, 0.34);
    border-left: 4px solid var(--firoozeh-deep);
}

.status-note p {
    margin: 0;
}

.writing-card {
    min-height: 390px;
}

.writing-card h3 {
    max-width: 520px;
}

.writing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 24px;
    color: var(--firoozeh-deep);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.process-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 60px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.process-strip span {
    padding: 22px 16px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-align: center;
    text-transform: uppercase;
}

.about-mark {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: rgba(169, 224, 218, 0.46);
    border: 1px solid var(--line);
}

.about-mark img {
    position: absolute;
    top: 4%;
    left: 5%;
    width: 90%;
    height: 88%;
    object-fit: contain;
}

.about-mark::after {
    position: absolute;
    bottom: 20px;
    left: 24px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    content: "IRAN → BUDAPEST";
}

.about-copy p {
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.about-copy p:first-of-type {
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    line-height: 1.22;
}

.domain-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.domain-item {
    min-height: 240px;
    padding: 28px;
    background: var(--paper);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.domain-item span {
    display: block;
    margin-bottom: 48px;
    color: var(--firoozeh-deep);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.domain-item p {
    margin: 0;
    color: var(--ink-soft);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 50px;
}

.cta-grid h2 {
    margin-bottom: 0;
}

.cta-grid .button-row {
    justify-content: flex-end;
}

.site-footer {
    padding: 46px 0 28px;
    background: var(--navy);
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: end;
    gap: 42px;
}

.footer-logo-box {
    width: 210px;
    padding: 10px 14px;
    background: var(--ivory);
}

.footer-domain {
    font-family: var(--serif);
    font-size: 1.75rem;
}

.footer-meta {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.66rem;
    letter-spacing: 0.11em;
    line-height: 1.8;
    text-align: right;
    text-transform: uppercase;
}

.footer-meta a {
    text-decoration: none;
}

.not-found {
    display: grid;
    min-height: calc(100vh - 88px);
    place-items: center;
    padding: 80px 0;
    text-align: center;
}

.not-found img {
    width: min(220px, 60vw);
    margin: 0 auto 36px;
}

.not-found h1 {
    margin-bottom: 18px;
}

.not-found p {
    max-width: 560px;
    margin: 0 auto 28px;
    color: var(--ink-soft);
}

@media (max-width: 980px) {
    .hero-grid,
    .page-hero-grid,
    .perspective-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding-block: 64px;
    }

    .hero-art {
        min-height: 420px;
    }

    .hero-emblem {
        width: min(430px, 90%);
    }

    .page-mark {
        width: min(300px, 68vw);
    }

    .method-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .closeup-grid {
        grid-template-columns: 1fr;
    }

    .closeup-card {
        min-height: 0;
    }

    .about-mark {
        min-height: 480px;
    }
}

@media (max-width: 760px) {
    h1 {
        font-size: clamp(3rem, 15vw, 5.1rem);
    }

    .header-inner {
        min-height: 72px;
    }

    .brand-link {
        width: 160px;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 71px;
        right: 0;
        left: 0;
        padding: 18px 5%;
        background: var(--ivory);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        opacity: 0;
        transform: translateY(-10px);
        visibility: hidden;
        transition: 180ms ease;
    }

    .site-nav.is-open {
        opacity: 1;
        transform: none;
        visibility: visible;
    }

    .nav-list {
        display: grid;
        gap: 0;
    }

    .nav-link {
        padding: 16px 6px;
        border-bottom: 1px solid var(--line);
    }

    .nav-list li:last-child .nav-link {
        border-bottom: 0;
    }

    .hero,
    .hero-grid {
        min-height: auto;
    }

    .hero-art {
        min-height: 330px;
    }

    .section {
        padding: 78px 0;
    }

    .section--tight {
        padding: 58px 0;
    }

    .page-hero {
        padding: 78px 0 68px;
    }

    .project-grid,
    .writing-grid,
    .principle-grid,
    .method-grid,
    .domain-list,
    .process-strip,
    .cta-grid {
        grid-template-columns: 1fr;
    }

    .project-card,
    .writing-card,
    .principle-card,
    .method-step {
        min-height: 0;
    }

    .card-topline,
    .method-number {
        margin-bottom: 44px;
    }

    .process-strip span {
        text-align: left;
    }

    .cta-grid .button-row {
        justify-content: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .footer-meta {
        text-align: left;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
