/* ============================================================
   STAY YAPI — Kurumsal Kimlik (Setenay Tunçer, Kasım 2025, Alt 1)
   Modern construction site | desktop-first responsive
   ============================================================ */

:root {
    /* Kurumsal palet */
    --brick-darkest: #240A0A;
    --brick: #491D1D;
    --brick-soft: #5D2828;
    --ochre: #836D34;
    --ochre-soft: #A58844;
    --navy: #102A35;
    --stone: #E5E2DA;
    --stone-light: #F2EFE8;
    --white: #FFFFFF;
    --black: #0A0A0A;

    /* Text */
    --text-primary: var(--brick-darkest);
    --text-muted: #5A3F3F;
    --text-light: rgba(229, 226, 218, 0.85);

    /* Aliases (geriye uyum) */
    --brand-navy: var(--brick);
    --brand-gold: var(--ochre);
    --text-dark: var(--text-primary);
    --bg-light: var(--stone);

    /* Layout */
    --radius: 2px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 999px;

    /* Elevation */
    --shadow-sm: 0 2px 8px rgba(36, 10, 10, 0.06);
    --shadow: 0 12px 32px rgba(36, 10, 10, 0.10);
    --shadow-lg: 0 24px 64px rgba(36, 10, 10, 0.18);

    /* Typography */
    --font-heading: 'Manrope', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;
    --space-10: 128px;

    /* Legacy aliases */
    --spacing-xs: var(--space-2);
    --spacing-sm: var(--space-4);
    --spacing-md: var(--space-5);
    --spacing-lg: var(--space-6);
    --spacing-xl: var(--space-7);
    --spacing-xxl: var(--space-8);

    /* Animation */
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --dur: 0.4s;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-primary);
    background: var(--stone);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

::selection {
    background: var(--brick);
    color: var(--stone);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-5);
}

@media (max-width: 768px) {
    .container { padding: 0 var(--space-4); }
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { font-size: clamp(48px, 8vw, 112px); font-weight: 800; }
h2 { font-size: clamp(36px, 5.5vw, 72px); }
h3 { font-size: clamp(22px, 2.5vw, 28px); font-weight: 700; }
h4 { font-size: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    p { font-size: 17px; }
}

em {
    font-style: normal;
    color: var(--ochre);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--brick);
    margin-bottom: var(--space-4);
}

.section-eyebrow::before {
    content: "";
    width: 32px;
    height: 1.5px;
    background: var(--ochre);
}

.section-head {
    margin-bottom: var(--space-8);
    max-width: 720px;
}

.section-title {
    margin-bottom: var(--space-5);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    line-height: 1;
    min-height: 52px;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--dur) var(--ease);
    white-space: nowrap;
    border: 2px solid transparent;
}

.btn-arrow {
    display: inline-block;
    transition: transform var(--dur) var(--ease);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--brick);
    color: var(--stone);
    border-color: var(--brick);
}

.btn-primary:hover {
    background: var(--brick-darkest);
    border-color: var(--brick-darkest);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(36, 10, 10, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--brick);
    border-color: var(--brick);
}

.btn-secondary:hover {
    background: var(--brick);
    color: var(--stone);
}

.btn-ghost {
    background: transparent;
    color: var(--stone);
    border-color: rgba(229, 226, 218, 0.4);
}

.btn-ghost:hover {
    background: var(--stone);
    color: var(--brick-darkest);
    border-color: var(--stone);
}

.btn-full {
    width: 100%;
}

/* ============================================================
   Header
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-3) 0;
    background: transparent;
    transition: background var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.header.is-scrolled {
    background: rgba(229, 226, 218, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(73, 29, 29, 0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-5);
}

.logo {
    display: inline-block;
    position: relative;
    line-height: 0;
}

.logo-full {
    display: block;
    height: 36px;
    width: auto;
    transition: opacity var(--dur) var(--ease);
}

/* Header transparent iken (hero üzerinde) açık versiyon görünür,
   scroll sonrası krem zemin üzerinde koyu versiyon. */
.logo-full--light {
    position: absolute;
    top: 0;
    left: 0;
}

.logo-full:not(.logo-full--light) { opacity: 0; }
.header.is-scrolled .logo-full:not(.logo-full--light) { opacity: 1; }
.header.is-scrolled .logo-full--light { opacity: 0; }

@media (max-width: 568px) {
    .logo-full { height: 30px; }
}

.lang-toggle { display: none; }

/* ============================================================
   Hero — cinematic full-bleed
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    color: var(--stone);
    overflow: hidden;
    isolation: isolate;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.08);
    animation: slowZoom 18s ease-out forwards;
}

@keyframes slowZoom {
    to { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(36, 10, 10, 0.55) 0%, rgba(36, 10, 10, 0.35) 40%, rgba(36, 10, 10, 0.88) 100%),
        linear-gradient(90deg, rgba(36, 10, 10, 0.65) 0%, rgba(36, 10, 10, 0.15) 60%, transparent 100%);
    z-index: 1;
}

.hero-watermark {
    position: absolute;
    right: -60px;
    top: 20%;
    width: 480px;
    height: auto;
    color: rgba(131, 109, 52, 0.14);
    z-index: 1;
    pointer-events: none;
    transform: rotate(-6deg);
}

@media (max-width: 768px) {
    .hero-watermark {
        width: 320px;
        right: -80px;
    }
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: var(--space-10) 0 var(--space-9);
}

.hero-copy {
    max-width: 840px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ochre-soft);
    margin-bottom: var(--space-5);
    opacity: 0;
    animation: heroFadeUp 0.8s var(--ease) 0.2s forwards;
}

.eyebrow-line {
    display: inline-block;
    width: 48px;
    height: 1.5px;
    background: var(--ochre-soft);
}

.hero-title {
    color: var(--stone);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-6);
    line-height: 0.95;
    opacity: 0;
    animation: heroFadeUp 0.9s var(--ease) 0.35s forwards;
}

.hero-title em {
    font-style: normal;
    color: var(--ochre-soft);
    font-weight: 400;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.6;
    color: var(--text-light);
    max-width: 580px;
    margin-bottom: var(--space-7);
    opacity: 0;
    animation: heroFadeUp 0.9s var(--ease) 0.5s forwards;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    opacity: 0;
    animation: heroFadeUp 0.9s var(--ease) 0.65s forwards;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-6);
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    z-index: 3;
    opacity: 0;
    animation: heroFadeUp 0.9s var(--ease) 1s forwards;
    transition: color var(--dur) var(--ease);
}

.hero-scroll:hover {
    color: var(--stone);
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: currentColor;
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: "";
    position: absolute;
    top: -48px;
    left: 0;
    right: 0;
    height: 48px;
    background: var(--ochre-soft);
    animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%   { transform: translateY(0); }
    100% { transform: translateY(96px); }
}

@media (max-width: 768px) {
    .hero-scroll { display: none; }
}

/* ============================================================
   Impact band — rakamlar
   ============================================================ */
.impact {
    background: var(--brick-darkest);
    color: var(--stone);
    padding: var(--space-10) 0 var(--space-9);
    position: relative;
    overflow: hidden;
}

.impact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--ochre) 50%, transparent 100%);
}

.impact .section-eyebrow {
    color: var(--ochre-soft);
}

.impact .section-eyebrow::before {
    background: var(--ochre-soft);
}

.impact-header {
    max-width: 720px;
    margin-bottom: var(--space-9);
}

.impact-heading {
    color: var(--stone);
    font-size: clamp(32px, 5vw, 64px);
}

.impact-heading em {
    font-style: normal;
    color: var(--ochre-soft);
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-9);
    padding: var(--space-7) 0;
    border-top: 1px solid rgba(229, 226, 218, 0.12);
    border-bottom: 1px solid rgba(229, 226, 218, 0.12);
}

@media (max-width: 900px) {
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
    .impact-grid { grid-template-columns: 1fr; gap: var(--space-5); }
}

.impact-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.impact-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(48px, 7vw, 88px);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--stone);
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.impact-count {
    font-variant-numeric: tabular-nums;
}

.impact-unit {
    font-size: 0.4em;
    font-weight: 600;
    color: var(--ochre-soft);
    letter-spacing: 0;
}

.impact-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-light);
    line-height: 1.4;
}

.impact-quote {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(20px, 2.5vw, 30px);
    line-height: 1.5;
    color: var(--stone);
    max-width: 820px;
    padding-left: var(--space-5);
    border-left: 2px solid var(--ochre);
}

.impact-quote em {
    color: var(--ochre-soft);
    font-style: italic;
}

/* ============================================================
   Subscribe band
   ============================================================ */
.subscribe {
    background: var(--stone-light);
    padding: var(--space-9) 0;
    border-bottom: 1px solid rgba(73, 29, 29, 0.08);
}

.subscribe-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
}

@media (max-width: 900px) {
    .subscribe-inner { grid-template-columns: 1fr; gap: var(--space-6); }
}

.subscribe-heading {
    font-size: clamp(28px, 4vw, 48px);
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.form-group {
    display: flex;
    gap: var(--space-3);
}

@media (max-width: 568px) {
    .form-group { flex-direction: column; }
}

/* ============================================================
   Forms
   ============================================================ */
.form-input {
    flex: 1;
    padding: 16px 20px;
    border: 1.5px solid rgba(73, 29, 29, 0.2);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--brick-darkest);
    font-family: var(--font-body);
    font-size: 16px;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.form-input::placeholder {
    color: rgba(36, 10, 10, 0.45);
}

.form-input:focus {
    outline: none;
    border-color: var(--ochre);
    box-shadow: 0 0 0 3px rgba(131, 109, 52, 0.15);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--brick);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.form-checkbox label {
    line-height: 1.5;
}

.privacy-link-inline {
    background: none;
    border: none;
    padding: 0;
    color: var(--ochre);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    font: inherit;
    transition: color var(--dur) var(--ease);
}

.privacy-link-inline:hover {
    color: var(--brick);
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* ============================================================
   About — split grid with pillars
   ============================================================ */
.about {
    padding: var(--space-10) 0;
    background: var(--stone);
}

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

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: var(--space-7); }
}

.about-lead {
    font-size: clamp(17px, 1.4vw, 20px);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

.about-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

@media (max-width: 568px) {
    .about-pillars { grid-template-columns: 1fr; }
}

.about-pillar {
    padding: var(--space-6);
    background: var(--white);
    border: 1px solid rgba(73, 29, 29, 0.08);
    border-radius: var(--radius-md);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.about-pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--ochre);
}

.pillar-num {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    color: var(--ochre);
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
}

.about-pillar h3 {
    font-size: 20px;
    margin-bottom: var(--space-2);
    color: var(--brick-darkest);
}

.about-pillar p {
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

/* ============================================================
   Expertise — numbered cards with line SVG icons
   ============================================================ */
.expertise {
    padding: var(--space-10) 0;
    background: var(--stone-light);
    border-top: 1px solid rgba(73, 29, 29, 0.06);
    border-bottom: 1px solid rgba(73, 29, 29, 0.06);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

@media (max-width: 1024px) {
    .expertise-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 568px) {
    .expertise-grid { grid-template-columns: 1fr; }
}

.expertise-card {
    position: relative;
    padding: var(--space-7) var(--space-5) var(--space-6);
    background: var(--stone);
    border: 1px solid rgba(73, 29, 29, 0.08);
    border-radius: var(--radius-md);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.expertise-card:hover {
    transform: translateY(-6px);
    background: var(--brick-darkest);
    box-shadow: var(--shadow-lg);
    color: var(--stone);
}

.expertise-card:hover h3,
.expertise-card:hover .card-number,
.expertise-card:hover .card-icon-svg {
    color: var(--stone);
}

.expertise-card:hover .card-icon-svg {
    color: var(--ochre-soft);
}

.expertise-card:hover p {
    color: var(--text-light);
}

.card-number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    color: var(--ochre);
    letter-spacing: 0.15em;
    margin-bottom: var(--space-5);
    transition: color var(--dur) var(--ease);
}

.card-icon-svg {
    width: 48px;
    height: 48px;
    color: var(--brick);
    margin-bottom: var(--space-4);
    transition: color var(--dur) var(--ease);
}

.card-icon-svg svg {
    width: 100%;
    height: 100%;
}

.expertise-card h3 {
    font-size: 22px;
    margin-bottom: var(--space-3);
    transition: color var(--dur) var(--ease);
}

.expertise-card p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    transition: color var(--dur) var(--ease);
}

/* ============================================================
   Projects — modern cards with hover zoom & overlay
   ============================================================ */
.projects {
    padding: var(--space-10) 0;
    background: var(--stone);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-7);
}

@media (max-width: 1024px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 568px) {
    .projects-grid { grid-template-columns: 1fr; }
}

.project-card {
    display: block;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(73, 29, 29, 0.08);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
    color: inherit;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.project-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--brick-darkest);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.project-card:hover .project-img {
    transform: scale(1.06);
}

.project-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(36, 10, 10, 0.6) 100%);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}

.project-card:hover .project-media-overlay {
    opacity: 1;
}

.project-status {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
}

.project-status-completed {
    background: rgba(16, 42, 53, 0.85);
    color: var(--stone);
}

.project-status-ongoing {
    background: rgba(131, 109, 52, 0.92);
    color: var(--stone);
}

.project-content {
    padding: var(--space-6);
}

.project-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.project-type {
    color: var(--brick);
}

.project-meta .project-location::before {
    content: "·";
    margin-right: var(--space-3);
    color: var(--ochre);
}

.project-card h3 {
    font-size: clamp(20px, 1.7vw, 24px);
    margin-bottom: var(--space-3);
    color: var(--brick-darkest);
}

.project-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 0;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--space-4);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    color: var(--brick);
    letter-spacing: 0.02em;
    transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.project-card-link:hover .project-link {
    color: var(--ochre);
    transform: translateX(4px);
}

.projects-notice {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    margin: 0 auto;
    padding: 14px 24px;
    border: 1px solid rgba(73, 29, 29, 0.15);
    border-radius: var(--radius-full);
    background: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.notice-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ochre);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.5); opacity: 0.5; }
}

.projects > .container > .projects-notice {
    display: flex;
    justify-content: center;
}

/* ============================================================
   Timeline — numbered steps
   ============================================================ */
.timeline {
    padding: var(--space-10) 0;
    background: var(--brick-darkest);
    color: var(--stone);
    position: relative;
    overflow: hidden;
}

.timeline::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'><path d='M0 24 L48 24 M24 0 L24 48' stroke='rgba(229,226,218,0.03)' stroke-width='1'/></svg>");
    pointer-events: none;
}

.timeline > .container {
    position: relative;
    z-index: 1;
}

.timeline .section-eyebrow {
    color: var(--ochre-soft);
}
.timeline .section-eyebrow::before { background: var(--ochre-soft); }

.timeline .section-title {
    color: var(--stone);
}

.timeline-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    counter-reset: step;
}

@media (max-width: 900px) {
    .timeline-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 568px) {
    .timeline-steps { grid-template-columns: 1fr; }
}

.step {
    padding: var(--space-6) var(--space-5);
    border-left: 1px solid rgba(229, 226, 218, 0.12);
    position: relative;
    transition: background var(--dur) var(--ease);
}

.step::before {
    content: "";
    position: absolute;
    top: 0;
    left: -1px;
    width: 2px;
    height: 0;
    background: var(--ochre);
    transition: height 0.5s var(--ease);
}

.step:hover::before {
    height: 100%;
}

.step:last-child {
    border-right: 1px solid rgba(229, 226, 218, 0.12);
}

@media (max-width: 900px) {
    .step:last-child { border-right: none; }
    .step:nth-child(2) { border-right: 1px solid rgba(229, 226, 218, 0.12); }
}

.step-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(40px, 4.5vw, 64px);
    line-height: 1;
    color: rgba(131, 109, 52, 0.85);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-5);
}

.step-content h3 {
    color: var(--stone);
    font-size: 22px;
    margin-bottom: var(--space-3);
}

.step-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

/* ============================================================
   Contact — split grid
   ============================================================ */
.contact {
    padding: var(--space-10) 0;
    background: var(--stone);
}

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

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: var(--space-7); }
}

.contact-copy .section-title {
    margin-bottom: var(--space-5);
}

.contact-lead {
    font-size: clamp(16px, 1.3vw, 18px);
    color: var(--text-primary);
    margin-bottom: var(--space-7);
    max-width: 480px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    margin-top: var(--space-6);
}

.contact-details li {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: baseline;
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(73, 29, 29, 0.1);
}

.contact-detail-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ochre);
}

.contact-detail-value {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: var(--brick);
    transition: color var(--dur) var(--ease);
}

a.contact-detail-value:hover {
    color: var(--brick-darkest);
}

.contact-form {
    background: var(--white);
    padding: var(--space-7);
    border-radius: var(--radius-md);
    border: 1px solid rgba(73, 29, 29, 0.08);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

@media (max-width: 568px) {
    .contact-form { padding: var(--space-5); }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
}

@media (max-width: 568px) {
    .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
    background: var(--brick-darkest);
    color: var(--text-light);
    padding: var(--space-10) 0 var(--space-6);
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--ochre) 50%, transparent 100%);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-7);
    padding-bottom: var(--space-7);
    border-bottom: 1px solid rgba(229, 226, 218, 0.1);
    margin-bottom: var(--space-5);
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
    }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 568px) {
    .footer-top { grid-template-columns: 1fr; }
}

.footer-brand {
    max-width: 360px;
}

.footer-logo {
    display: block;
    height: 44px;
    width: auto;
    margin-bottom: var(--space-5);
}

@media (max-width: 568px) {
    .footer-logo { height: 38px; }
}

.footer-slogan {
    color: var(--stone);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-4);
    font-style: normal;
}

.footer-manifesto {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

.footer-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ochre-soft);
    margin-bottom: var(--space-4);
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-nav a,
.footer-nav button {
    font-size: 14px;
    color: var(--text-light);
    transition: color var(--dur) var(--ease);
    text-align: left;
    padding: 0;
}

.footer-nav a:hover,
.footer-nav button:hover {
    color: var(--stone);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    padding-top: var(--space-4);
    font-size: 12px;
    letter-spacing: 0.05em;
    color: rgba(229, 226, 218, 0.5);
}

.footer-credit {
    font-size: 11px;
    letter-spacing: 0.1em;
}

.footer-credit a {
    color: var(--ochre-soft);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer-credit a:hover {
    color: var(--stone);
    border-bottom-color: var(--ochre-soft);
}

@media (max-width: 568px) {
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Modal
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(36, 10, 10, 0.72);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    padding: var(--space-4);
    align-items: center;
    justify-content: center;
}

.modal[style*="block"] {
    display: flex;
}

.modal-content {
    background: var(--stone);
    max-width: 560px;
    width: 100%;
    padding: var(--space-7);
    border-radius: var(--radius-md);
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-content h2 {
    font-size: 28px;
    margin-bottom: var(--space-4);
    color: var(--brick-darkest);
}

.modal-content p {
    font-size: 15px;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
    line-height: 1.65;
}

.modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    transition: color var(--dur) var(--ease);
}

.modal-close:hover {
    color: var(--brick);
}

/* ============================================================
   Toast
   ============================================================ */
.toast {
    position: fixed;
    bottom: var(--space-5);
    left: 50%;
    transform: translate(-50%, 120%);
    min-width: 280px;
    max-width: 90vw;
    padding: 14px 24px;
    background: var(--brick-darkest);
    color: var(--stone);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.5s var(--ease);
    border: 1px solid rgba(229, 226, 218, 0.12);
}

.toast.show {
    transform: translate(-50%, 0);
}

.toast.success {
    background: #0E3A1E;
    border-color: rgba(229, 226, 218, 0.16);
}

.toast.error {
    background: var(--brick);
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-title, .hero-eyebrow, .hero-subtitle, .hero-actions, .hero-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
    .hero-image { animation: none !important; transform: none !important; }
}
