/* ============================================
   FONTS
   ============================================ */
@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400;1,600&family=Lato:wght@300;400;700&display=swap");

/* ============================================
   CUSTOM PROPERTIES
   ============================================ */
:root {
    --bg-dark: #1e3d3a;
    --bg-mid: #264d49;
    --bg-gradient-start: #1e3d3a;
    --bg-gradient-end: #7aa89a;
    --text-primary: #f5f0e8;
    --text-secondary: #7bbfb5;
    --accent: #c8d96b;
    --accent-dim: #a3b455;
    --white: #ffffff;
    --ui-light: #f4f4f4;

    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 64px;
    --space-xl: 100px;

    --max-width: 1200px;
    --page-padding: 80px;
    --nav-height: 64px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: "Lato", sans-serif;
    font-size: 1.125rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

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

ul {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3 {
    font-family: "Lora", serif;
    font-weight: 400;
    line-height: 1.1;
    color: var(--white);
}

h1 {
    font-size: clamp(2.5rem, 3vw, 4rem);
}
h2 {
    font-family: "Lato", sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h3 {
    font-family: "Lato", sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

h4 {
    font-family: "Lato", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-top: 0.9rem;
    margin-bottom: 0.2rem;
}

p {
    color: var(--text-primary);
    max-width: 60ch;
    margin-bottom: var(--space-sm);
}

.label {
    font-family: "Lato", sans-serif;
    font-size: 0.825rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.meta-value {
    font-family: "Lato", sans-serif;
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.45;
}

.meta-sep {
    font-size: 0.5em;
    vertical-align: middle;
}

.pull-quote {
    font-family: "Lora", serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    line-height: 1.5;
    border-left: 2px solid var(--accent);
    padding-left: var(--space-sm);
    max-width: 52ch;
    margin: var(--space-sm) 0 var(--space-sm) 0;
}

.content_link {
    text-decoration: underline;
    text-decoration-thickness: 0.5px;
    text-underline-offset: 4px;
    transition: color 0.4s;
}

.content_link:hover {
    color: var(--accent);
}
/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--page-padding);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.split--wide-left {
    grid-template-columns: 55fr 45fr;
}

.split--wide-right {
    grid-template-columns: 45fr 55fr;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    padding: 0 var(--page-padding);
    background: rgba(30, 61, 58, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.3s ease;
}

.nav.scrolled {
    background: rgba(30, 61, 58, 0.97);
}

.nav__inner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__name {
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    transition: color 0.2s;
}

.nav__name:hover {
    color: var(--accent);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav__link {
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    transition: color 0.2s;
    position: relative;
}

.nav__link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 0.5px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav__link:hover,
.nav__link.active {
    color: var(--accent);
}

.nav__link:hover::after,
.nav__link.active::after {
    transform: scaleX(1);
}

.nav__lang {
    display: inline-flex;
    align-items: center;
    /*background: rgba(123, 191, 181, 0.08);*/
    border: 1px solid rgba(123, 191, 181, 0.25);
    border-radius: 20px;
    padding: 3px;
    margin-left: var(--space-sm);
}

.nav__lang-btn {
    background: none;
    border: none;
    font-family: "Lato", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 14px;
    transition:
        background 0.18s,
        color 0.18s;
    line-height: 1;
}

.nav__lang-btn.active {
    background: rgba(200, 217, 107, 0.15);
    color: var(--accent);
}

.nav__lang-btn:hover:not(.active) {
    color: var(--text-primary);
}

.nav__lang-divider {
    display: none;
}

/* ============================================
   CASE STUDY — HERO
   ============================================ */
.cs-hero {
    padding-top: calc(var(--nav-height) + var(--space-lg));
    padding-bottom: var(--space-lg);
    background-color: var(--bg-dark);
}

.cs-hero__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--page-padding);
    display: grid;
    grid-template-columns: 3fr 2fr;
    column-gap: 0;
    grid-template-areas:
        "headline     headline"
        "meta         illustration"
        "context      illustration";
}

.cs-hero__headline {
    grid-area: headline;
}
.cs-hero__illustration {
    grid-area: illustration;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
}
.cs-hero__meta {
    grid-area: meta;
}
.cs-hero__context {
    grid-area: context;
}

.cs-hero__context .label {
    display: block;
    margin-bottom: 10px;
}

.cs-hero__number {
    font-family: "Lora", serif;
    font-size: 8rem;
    font-weight: 400;
    color: var(--text-secondary);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: -1.5rem;
    user-select: none;
}

.cs-hero__title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    max-width: 30ch;
    margin-bottom: var(--space-lg);
}

.cs-hero__body {
    display: contents;
}

.cs-hero__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md) var(--space-md);
    margin-bottom: var(--space-lg);
}

.cs-meta-item--row-span {
    grid-row: span 2;
}

.cs-meta-item {
}

.cs-meta-item .label {
    display: block;
    margin-bottom: 6px;
}

.cs-hero__context {
    margin-top: 0;
}

.cs-hero__context p {
    max-width: 52ch;
    font-size: 20px;
}

.cs-hero__context ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-xs);
}

.cs-hero__context ul li {
    position: relative;
    padding-left: var(--space-sm);
    color: var(--text-primary);
    font-size: 18px;
}

.cs-hero__context ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.problem-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 1.725rem;
}

.problem-item {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    padding: 1.25rem;
    position: relative;
}

.problem-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--bg-mid);
    border-radius: 12px;
    opacity: 0.5;
}

.problem-item > * {
    position: relative;
    z-index: 1;
}

.problem-item p {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin: 0;
}

.highlight-cards {
    display: grid;
    /*grid-template-columns: repeat(3, 1fr);*/
    gap: 1.75rem;
    margin-top: 1.5rem;
}

.highlight-card {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    border-radius: 12px;
    padding: 1.25rem;
    position: relative;
}

.highlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--bg-dark);
    border-radius: 12px;
    opacity: 0.5;
}

.highlight-card > * {
    position: relative;
    z-index: 1;
}

.highlight-card__title {
    font-family: "Lato", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.highlight-card .highlight-card__desc {
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.6;
}

.cs-hero__illustration {
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.cs-hero__illustration img {
    max-height: 380px;
    width: auto;
    object-fit: contain;
}

/* ============================================
   CASE STUDY — PROSE COLUMN (narrow centered layout)
   ============================================ */
.cs-prose-wrap {
    width: 60%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    /*gap: var(--space-md);*/
    padding-top: var(--space-lg);
}

/* ============================================
   CASE STUDY — BODY (wrapper for middle sections)
   ============================================ */
.cs-body {
    padding: 0;
}

.cs-body__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--page-padding);
}

/* ============================================
   CASE STUDY — SECTIONS
   ============================================ */
.cs-section {
    padding: 0;
}

.cs-section__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--page-padding);
}

.cs-section__heading {
    /*margin-bottom: 0px;*/
}

.cs-section__text {
    display: flex;
    flex-direction: column;
    /*gap: var(--space-sm);*/
    justify-content: center;
    padding-bottom: var(--space-lg);
}

.cs-section__text--flush {
    padding-bottom: 0;
}

.cs-section__text p {
    max-width: none;
    margin-top: var(--space-xs);
}

.cs-section__text ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-xs);
}

.cs-section__text ul li {
    position: relative;
    padding-left: var(--space-sm);
    color: var(--text-primary);
}

.cs-section__text ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.cs-section__text ul li strong,
.cs-section__text p strong {
    color: var(--accent);
    font-weight: 400;
}

.cs-section__image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-section__image img {
    max-height: 400px;
    width: 100%;
    object-fit: contain;
}

/* Sub-sections within a section */
.cs-subsection {
    display: flex;
    flex-direction: column;
    /*gap: var(--space-sm);*/
}

.cs-subsection + .cs-subsection {
    margin-top: var(--space-lg);
}

/* ============================================
   CASE STUDY — FULL-WIDTH SECTION
   ============================================ */
.cs-section--full {
    background: var(--bg-mid);
}

/* ============================================
   CASE STUDY — RESULT
   ============================================ */
.cs-result {
    padding: 0;
}

.cs-result__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--page-padding);
}

.cs-result__grid {
    display: flex;
    flex-direction: column;
    /*gap: var(--space-lg);*/
    margin-top: var(--space-lg);
}

.cs-result-item__heading {
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.cs-result-item p {
    max-width: 60ch;
    font-size: 0.9375rem;
}
.img_porsche_reviewers {
    margin: auto;
    max-width: 80%;
}

/* ============================================
   CASE STUDY — TESTIMONIALS
   ============================================ */
.cs-testimonials {
    padding: var(--space-lg) 0;
    background-color: var(--bg-dark);
}

.cs-testimonials__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--page-padding);
}

.cs-testimonials__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.cs-testimonial {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.cs-testimonial__quote {
    font-family: "Lato", sans-seriff;
    font-style: normal;
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--text-primary);
}

.cs-testimonial__author {
    font-family: "Lato", sans-serif;
    font-size: 0.975rem;
    color: var(--text-secondary);
}

.cs-testimonial__quote strong {
    background: rgba(200, 217, 107, 0.18);
    border-radius: 3px;
    padding: 1px 3px;
    font-weight: 400;
    color: var(--accent);
}

/* ============================================
   CASE STUDY — BACK LINK
   ============================================ */
.cs-back {
    padding: var(--space-lg) 0 var(--space-lg);
}

.cs-back__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--page-padding);
}

.cs-back__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.cs-back__link:hover {
    color: var(--accent);
}

.cs-back__link::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 15px;
    background-color: currentColor;
    mask-image: url("../asset/arrow left.svg");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url("../asset/arrow left.svg");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

/* ============================================
   HOME — HERO
   ============================================ */
.home-hero {
    background-color: var(--bg-dark);
    overflow: hidden;
}

.home-hero__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: calc(var(--nav-height) + var(--space-xl) + var(--space-xl))
        var(--page-padding) var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    align-items: start;
    padding-top: 180px;
}

.home-hero__left {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin: auto;
}

.home-hero__right {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
}

.meki_img_container {
    width: 100%;
    height: 300px;
}

.meki_img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-hero__name {
    font-size: 45px;
    line-height: 1.15;
    color: var(--white);
}

.home-hero__heart {
    display: inline-block;
    width: 54px;
    vertical-align: bottom;
    position: relative;
    top: -12px;
    margin-left: 4px;
    pointer-events: none;
}

.home-hero__tagline {
    font-family: "Lato", sans-serif;
    font-size: 26px;
    line-height: 1.4;
    color: var(--text-primary);
    max-width: 38ch;
}

.home-hero__circle {
    width: clamp(173px, 25.2vw, 302px);
    height: clamp(173px, 25.2vw, 302px);
    margin-top: calc(-1 * var(--space-xl));
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

/* ============================================
   HOME — TLDR
   ============================================ */
.home-tldr {
    background-color: var(--bg-mid);
}

.home-tldr__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--page-padding);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    row-gap: var(--space-md);
}

.home-tldr__list-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.home-tldr__label {
    font-family: "Lato", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--white);
    max-width: none;
    margin-bottom: 5px;
}

.home-hero__bullets {
    display: flex;
    flex-direction: column;
    gap: 1px;
    list-style: none;
}

.home-hero__bullets li {
    position: relative;
    padding-left: var(--space-sm);
    color: var(--text-primary);
    font-size: 20px;
}

.home-hero__bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

.home-hero__actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.home-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--white);
    background: transparent;
    padding: 10px 25px;
    border: 1px solid var(--white);
    border-radius: 30px;
    transition:
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
}

.home-hero__cta:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-dark);
}

.home-hero__cta--outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.home-hero__cta--outline:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-dark);
}

/* ============================================
   HOME — WORK
   ============================================ */
.home-work {
    background-color: var(--bg-dark);
}

.home-work__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--page-padding);
}

.home-work__heading {
    display: flex;
    align-items: center;
    gap: 0;
    padding-top: var(--space-lg);
    margin: 0;
    font-family: "Lato", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 400;
    color: var(--white);
}

.home-work__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-left: 0.25em;
    color: var(--white);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 10px;
    transition: color 0.3s;
}

.home-work__link:hover {
    color: var(--accent);
}

.home-work__link-arrow {
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.home-work__link:hover .home-work__link-arrow {
    transform: translate(8px, -8px);
}

.home-work__note {
    font-size: 1rem;
    color: var(--text-secondary);
    padding-bottom: var(--space-lg);
    margin: 0;
}

/* ============================================
   WORK — CASE STUDIES OVERVIEW
   ============================================ */
.work-page {
    padding-top: calc(var(--nav-height) + var(--space-md));
    padding-bottom: var(--space-lg);
}

.work-page__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--page-padding);
}

.work-page__heading {
    margin-bottom: var(--space-md);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.work-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    padding: var(--space-md);
    position: relative;
}

.work-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--bg-mid);
    border-radius: 12px;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.work-card:hover::before {
    opacity: 1;
}

.work-card > * {
    position: relative;
    z-index: 1;
}

.work-card__number {
    font-family: "Lora", serif;
    font-size: 4rem;
    color: var(--text-secondary);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: -0.5rem;
    user-select: none;
}

.work-card__client {
    font-family: "Lato", sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    display: block;
}

.work-card__title {
    font-family: "Lora", serif;
    font-weight: 400;
    font-size: 1.25rem;
    color: var(--white);
    line-height: 1.35;
    margin-bottom: var(--space-md);
}

.work-card__image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.work-card__image img {
    max-height: 200px;
    width: 100%;
    object-fit: contain;
}

.work-card__arrow {
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.work-card__arrow::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 15px;
    background-color: var(--accent);
    mask-image: url("../asset/arrow right.svg");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url("../asset/arrow right.svg");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-page {
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-xl);
}

.about-page__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--page-padding);
}

.about-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    align-items: start;
}

.about-hero__text {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about-hero__heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 0;
    line-height: 1.05;
}

.about-hero__subtitle {
    font-family: "Lato", sans-serif;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    max-width: none;
}

.about-hero__bio p {
    font-size: 1.325rem;
    max-width: 54ch;
}

.about-hero__right {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    padding-top: var(--space-sm);
}

.about-hero__photos {
    margin-top: var(--space-md);
    display: flex;
    align-items: flex-start;
    position: relative;
}

.about-hero__photo {
    border-radius: 8px;
    display: block;
    max-width: 100%;
    filter: grayscale(1);
    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}

.about-hero__photo:hover {
    transform: scale(1.025);
    filter: grayscale(0);
    z-index: 3;
}

.about-hero__photo--primary {
    width: 260px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.about-hero__photo--secondary {
    width: 300px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    margin-left: -28px;
    margin-top: 36px;
    transform: rotate(2.5deg);
    box-shadow: -6px 6px 20px rgba(0, 0, 0, 0.35);
}

.about-facts {
    display: grid;
    gap: var(--space-md);
}

.about-fact .label {
    display: block;
    margin-bottom: 6px;
}

.about-fact .meta-value {
    font-size: 1.1rem;
}

.about-skills {
    border-top: 1px solid rgba(123, 191, 181, 0.12);
    padding-top: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.about-skills__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.about-skill__heading {
    font-family: "Lato", sans-serif;
    font-size: 0.825rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.about-skill__list {
    /*display: flex;
    flex-direction: column;
    gap: 8px;*/
}

.about-skill__list li {
    /*position: relative;
    padding-left: var(--space-sm);
    color: var(--text-primary);*/
    font-size: 1.1rem;
    padding-bottom: 0.125rem;
}

.about-skill__list li::before {
    /*content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);*/
}

/* ============================================
   ABOUT — CREATIVE SECTION
   ============================================ */
.about-creative {
    border-top: 1px solid rgba(123, 191, 181, 0.12);
    padding-top: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.about-creative .label {
    display: block;
    margin-bottom: var(--space-md);
}

.about-creative__genart {
    width: 100%;
    height: 420px;
    border-radius: 4px;
    overflow: hidden;
}

.about-creative__genart canvas {
    display: block;
}

.about-creative__illus-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    align-items: start;
}

.about-creative__col {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.about-creative__illus-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.about-creative__phyllo {
    width: 100%;
    aspect-ratio: 1;
    -webkit-mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 55%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 55%,
        transparent 100%
    );
}

.about-creative__phyllo canvas {
    display: block;
}

.about-creative__caption {
    margin-top: var(--space-xs);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.about-cta {
    padding-top: var(--space-lg);
}

.about-cta p {
    max-width: 52ch;
    margin: var(--space-md) 0 var(--space-md) 0;
}

.about-cta__btn {
    display: inline-block;
    font-family: "Lato", sans-serif;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bg-dark);
    background: var(--accent);
    padding: 16px 40px;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.about-cta__btn:hover {
    background: var(--accent-dim);
}

/* ============================================
   CASE STUDY — SCREENSHOT GRID
   ============================================ */

.porsche_wireframe {
    margin-bottom: var(--space-md);
}
.cs-screenshots {
    width: calc(500% / 3);
    margin-left: calc(-100% / 3);
    display: grid;
    grid-template-columns: 0.5fr 3fr 3fr 0.5fr;
    gap: var(--space-sm);
    align-items: center;
    padding-bottom: var(--space-lg);
}

.cs-screenshots__caption {
    font-family: "Lato", sans-serif;
    font-size: 0.875rem;
    color: var(--accent);
    line-height: 1.5;
    max-width: none;
}

.cs-screenshots__caption--left {
    text-align: right;
}

.cs-screenshots img {
    width: 100%;
    border-radius: 8px;
}

/* ============================================
   CASE STUDY — ANNOTATED SCREENSHOTS
   ============================================ */
.cs-annotated-screenshots {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding: var(--space-md) 0 var(--space-lg);
    width: 150%;
    margin-left: -25%;
}

.cs-annotated-shot {
    display: grid;
    gap: var(--space-md);
    align-items: center;
}

.cs-annotated-shot--left {
    grid-template-columns: minmax(0, 1fr) minmax(0, 4fr);
}

.cs-annotated-shot--left-inset {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) minmax(0, 1fr);
}

.cs-annotated-shot--right {
    grid-template-columns: minmax(0, 4fr) minmax(0, 1fr);
}

.cs-annotated-shot__img-wrap {
    position: relative;
}

.cs-annotated-shot__img-wrap img {
    width: 100%;
    border-radius: 8px;
    display: block;
    cursor: zoom-in;
    transition: transform 0.35s ease;
}

.cs-annotated-shot__img-wrap:hover {
    z-index: 2;
}

.cs-annotated-shot__img-wrap:hover img {
    transform: scale(1.05);
}

.cs-screenshot-wrap {
    position: relative;
}

.cs-screenshot-wrap img {
    display: block;
    width: 100%;
    cursor: zoom-in;
    transition: transform 0.35s ease;
}

.cs-screenshot-wrap:hover {
    z-index: 2;
}

.cs-screenshot-wrap:hover img {
    transform: scale(1.05);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.lightbox-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    object-fit: contain;
    transform: scale(0.96);
    transition: transform 0.25s ease;
}

.lightbox-overlay.is-open .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 4px 10px;
}

.lightbox-close:hover {
    opacity: 1;
}

.cs-annotated-shot__caption {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
    max-width: none;
}

.cs-annotated-shot__caption--top {
    align-self: start;
    font-size: 1rem;
}
.cs-annotated-shot__caption--bottom {
    align-self: end;
}

.cs-annotated-shot--left .cs-annotated-shot__caption {
    text-align: right;
}

.cs-annotated-shot--both {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) minmax(0, 1fr);
}

.cs-annotated-shot--both .cs-annotated-shot__caption--left {
    text-align: right;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.cs-annotated-shot--both .cs-annotated-shot__caption--right {
    text-align: left;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(245, 240, 232, 0.1);
}

.site-footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--page-padding);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 1rem;
    color: var(--text-secondary);
}

.site-footer__copy {
    margin-left: auto;
}

.site-footer__left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.site-footer__right {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.site-footer__note {
    font-size: 1rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

.site-footer__inner a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.site-footer__inner a:hover {
    color: var(--text-primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    :root {
        --page-padding: 32px;
        --space-xl: 80px;
    }

    .cs-prose-wrap {
        width: 60%;
    }

    .split,
    .split--wide-left,
    .split--wide-right {
        grid-template-columns: 1fr;
    }

    .split--wide-right .cs-section__image {
        order: -1;
    }

    .cs-hero__inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "headline"
            "illustration"
            "meta"
            "context";
    }

    .cs-hero__illustration {
        justify-content: center;
        margin-bottom: var(--space-md);
    }

    .cs-hero__illustration img {
        max-height: 280px;
    }

    .cs-hero__meta {
        grid-template-columns: 1fr 1fr;
    }

    .cs-result__grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .cs-testimonials__grid {
        grid-template-columns: 1fr;
    }

    .cs-hero__number {
        font-size: 5rem;
    }

    .home-hero__inner {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .home-hero__right {
        display: none;
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .work-card__image {
        height: 160px;
    }

    .about-hero {
        grid-template-columns: 1fr;
    }

    .about-hero__photos {
        flex-wrap: wrap;
    }

    .about-hero__photo--secondary {
        margin-left: -16px;
    }

    .about-skills__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    :root {
        --page-padding: 24px;
        --space-xl: 64px;
        --space-lg: 40px;
    }

    .cs-prose-wrap {
        width: 90%;
    }

    .cs-screenshots {
        width: calc(100% / 0.9);
        margin-left: calc((100% - 100% / 0.9) / 2);
        grid-template-columns: 1fr 1fr;
    }

    .cs-screenshots__caption {
        display: none;
    }

    .nav {
        padding: 0 var(--page-padding);
    }

    .cs-hero__meta {
        grid-template-columns: 1fr;
    }

    .nav__links {
        gap: var(--space-sm);
    }

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

    .about-skills__grid {
        grid-template-columns: 1fr;
    }

    .about-facts {
        grid-template-columns: 1fr;
    }

    .about-creative__genart {
        height: 220px;
    }

    .about-creative__illus-row {
        grid-template-columns: 1fr;
    }

    .about-hero__photo--primary {
        width: 200px;
    }

    .about-hero__photo--secondary {
        width: 160px;
        margin-left: -12px;
        margin-top: 24px;
    }
}

/* ============================================
   AUTH GATE
   ============================================ */
.auth-gate--page {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--nav-height) var(--page-padding);
    margin: 0 auto;
}

.auth-gate__desc {
    color: var(--text-primary);
    font-size: 1.125rem;
    max-width: none;
    margin-bottom: var(--space-sm);
}

.auth-gate__form {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.auth-gate__row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.auth-gate__input {
    height: 48px;
    width: 280px;
    padding: 0 20px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255);
    border-radius: 30px;
    color: var(--text-primary);
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.auth-gate__input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.auth-gate__input:focus {
    border-color: rgba(255, 255, 255, 0.6);
}

.auth-gate__error {
    color: #e07878;
    font-size: 1rem;
    margin: 0;
    max-width: none;
}

.auth-gate__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--white);
    background: transparent;
    border: 1px solid var(--white);
    border-radius: 30px;
    padding: 0 28px;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s,
        border-color 0.2s;
    white-space: nowrap;
}

.auth-gate__btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-dark);
}

.auth-gate__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-gate--unlocking {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-gate__title {
    font-family: "Lora", serif;
    font-size: clamp(4rem, 9vw, 7.5rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1;
    margin: 0 0 var(--space-lg);
}

.auth-gate--page .auth-gate__desc {
    color: rgba(255, 255, 255);
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

.auth-gate--page .auth-gate__input {
    width: 320px;
    border-color: rgba(255, 255, 255);
}

.auth-gate--page .auth-gate__btn {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-dark);
}

.auth-gate--page .auth-gate__btn:hover {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}
