/* =========================================================
   SAKA GRUP ENERJİ
   Technical Editorial — engineering document aesthetic
   Light paper · hairline grid · monospace metadata
   ========================================================= */

:root {
    --paper:        #f4f1ea;
    --paper-2:      #ece8dd;
    --surface:      #ffffff;
    --ink:          #17191d;
    --ink-soft:     #41454c;
    --muted:        #797d85;
    --line:         #dcd8cc;
    --line-strong:  #c7c2b3;
    --accent:       #d8451e;
    --accent-ink:   #b23a18;
    --accent-soft:  rgba(216, 69, 30, 0.07);
    --dark:         #17191d;
    --dark-2:       #20232a;
    --on-dark:      #ece9e1;
    --on-dark-mut:  rgba(236, 233, 225, 0.55);
    --max:          1240px;
    --gut:          clamp(20px, 4vw, 40px);
    --mono:         "IBM Plex Mono", ui-monospace, monospace;
    --display:      "Space Grotesk", sans-serif;
    --body:         "Manrope", system-ui, sans-serif;
}

/* ─── RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

svg {
    width: 18px; height: 18px;
    fill: none; stroke: currentColor;
    stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
    flex-shrink: 0;
}

body {
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.site-shell { position: relative; }

/* shared container */
.section { width: 100%; }

.wrap {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding-left: var(--gut);
    padding-right: var(--gut);
}

/* monospace label primitive */
.kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 22px;
}

.kicker-num {
    color: var(--muted);
    border: 1px solid var(--line-strong);
    border-radius: 2px;
    padding: 2px 7px;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
}

.kicker-rule { flex: 1; height: 1px; background: var(--line); min-width: 24px; }

/* ─── TOPBAR ──────────────────────────────────────────── */
.topbar {
    position: sticky;
    top: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px var(--gut);
    max-width: var(--max);
    margin: 0 auto;
    border-bottom: 1px solid transparent;
    transition: background 0.3s, border-color 0.3s;
}

.topbar.is-solid {
    background: rgba(244, 241, 234, 0.88);
    border-color: var(--line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.brand { display: inline-flex; align-items: baseline; gap: 8px; }

.brand-text { display: flex; align-items: baseline; gap: 8px; }

.brand-text strong {
    font-family: var(--display);
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1;
}

.brand-text small {
    font-family: var(--mono);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--accent);
}

.desktop-nav { display: flex; align-items: center; gap: 4px; }

.desktop-nav a {
    padding: 8px 14px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink-soft);
    border-radius: 3px;
    transition: color 0.2s, background 0.2s;
}

.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--ink); background: var(--paper-2); }

.topbar-actions { display: flex; align-items: center; gap: 10px; }

/* ─── BUTTONS ─────────────────────────────────────────── */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-ink); transform: translateY(-1px); }

.button-secondary, .button-ghost {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--ink);
}
.button-secondary:hover, .button-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

/* ─── MOBILE MENU ─────────────────────────────────────── */
.menu-toggle {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.menu-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); }

.mobile-menu {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gut);
    max-height: 0;
    overflow: hidden;
    background: var(--paper);
    border-bottom: 1px solid transparent;
    display: grid;
    transition: max-height 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
}
.mobile-menu.is-open { max-height: 420px; padding: 12px var(--gut) 20px; border-color: var(--line); }
.mobile-menu a {
    padding: 12px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: 0; }

/* ─── SECTION RHYTHM ──────────────────────────────────── */
.about, .services, .projects, .advantages,
.process, .contact, .story-section, .values-section,
.leadership-section, .page-hero {
    padding: clamp(56px, 8vw, 104px) 0;
}

.section-head { max-width: 720px; margin-bottom: 52px; }

.section-head h2, .leadership-copy h2,
.about-content h2, .contact-copy h2, #galleryTitle {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.55rem, 2.7vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--ink);
}

.about-content h2 { margin-bottom: 22px; }
#galleryTitle { font-size: 1.4rem; }

.section-head .lead { margin-top: 20px; }

.lead { font-size: 1.05rem; line-height: 1.7; color: var(--ink-soft); max-width: 56ch; }

p.muted, .about-content p, .contact-text, .story-card p, .value-card p,
.leadership-copy > p, .feature-row p, .project-meta p, .process-step p,
.advantage-card p, .svc-row p {
    color: var(--muted);
}

/* ─── HERO ────────────────────────────────────────────── */
.hero {
    padding-top: clamp(40px, 6vw, 72px);
    border-bottom: 1px solid var(--line);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    padding-bottom: clamp(40px, 6vw, 76px);
}

.hero-kicker {
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.hero-kicker b { color: var(--accent); font-weight: 500; }

.hero h1 {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(2.2rem, 4.4vw, 3.9rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--ink);
    text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); }

.hero-lead {
    margin-top: 26px;
    font-size: 1.06rem;
    line-height: 1.72;
    color: var(--ink-soft);
    max-width: 50ch;
}

.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

/* hero figure */
.hero-figure { position: relative; }

.hero-figure-img {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background: var(--paper-2);
}
.hero-figure-img img { width: 100%; height: 100%; object-fit: cover; }

/* corner ticks (drafting marks) */
.hero-figure-img::before,
.hero-figure-img::after {
    content: "";
    position: absolute;
    width: 14px; height: 14px;
    border: 1px solid var(--accent);
    z-index: 2;
}
.hero-figure-img::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.hero-figure-img::after  { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.hero-figure-cap {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 2px;
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
}
.hero-figure-cap b { color: var(--ink); font-weight: 500; }

/* hero stats data strip */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
}
.hero-stats .stat {
    padding: 26px var(--gut) 26px 0;
    border-left: 1px solid var(--line);
    padding-left: clamp(16px, 2vw, 28px);
}
.hero-stats .stat:first-child { border-left: 0; padding-left: 0; }
.hero-stats .stat-num {
    font-family: var(--display);
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1;
}
.hero-stats .stat-num b { color: var(--accent); font-weight: 600; }
.hero-stats .stat-label {
    margin-top: 10px;
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.4;
}
.hero-stats .wrap { width: 100%; max-width: none; padding: 0; }

/* ─── TICKER ──────────────────────────────────────────── */
.trust-strip { background: var(--ink); overflow: hidden; }
.trust-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.trust-track:hover { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.trust-items { display: flex; align-items: center; padding: 14px 0; flex-shrink: 0; }
.trust-items span {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    padding: 0 24px;
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--on-dark-mut);
    white-space: nowrap;
}
.trust-items span::after { content: "✦"; color: var(--accent); font-size: 0.6rem; }

/* ─── ABOUT ───────────────────────────────────────────── */
.about-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(32px, 5vw, 68px);
    align-items: start;
}

.about-media { position: relative; }
.about-media-img {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background: var(--paper-2);
}
.about-media-img img { width: 100%; height: 100%; object-fit: cover; }

.about-badge {
    margin-top: -1px;
    padding: 18px 20px;
    background: var(--ink);
    color: var(--on-dark);
}
.about-badge strong { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 5px; }
.about-badge span {
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--on-dark-mut);
}

.about-content > p { font-size: 1.02rem; line-height: 1.75; margin-bottom: 16px; }

.feature-list { margin-top: 30px; border-top: 1px solid var(--line); }

.feature-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left 0.25s;
}
.feature-row:hover { padding-left: 8px; }

.feature-icon {
    width: 38px; height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    color: var(--accent);
}
.feature-row h3 { font-size: 0.97rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.feature-row p { font-size: 0.9rem; line-height: 1.6; }

/* ─── SERVICES (index table) ──────────────────────────── */
.svc-list {
    border-top: 1px solid var(--line-strong);
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.svc-row {
    position: relative;
    padding: 30px 30px 32px;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
    transition: background 0.25s;
}
.svc-row:nth-child(2n) { border-right: 0; }
.svc-row::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.svc-row:hover { background: var(--surface); }
.svc-row:hover::before { transform: scaleY(1); }

.svc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.svc-num {
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    transition: color 0.25s;
}
.svc-row:hover .svc-num { color: var(--accent); }
.svc-icon { color: var(--ink); }
.svc-row .service-kicker {
    display: block;
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}
.svc-row h3 {
    font-family: var(--display);
    font-size: 1.18rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 10px;
    line-height: 1.2;
}
.svc-row p { font-size: 0.92rem; line-height: 1.62; }

/* ─── HIGHLIGHT (statement band) ──────────────────────── */
.highlight { padding-bottom: clamp(20px, 4vw, 48px); }
.highlight-band {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    padding: clamp(32px, 4vw, 52px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
}
.highlight-band h2 {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.35rem, 2.3vw, 2rem);
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: var(--ink);
}
.highlight-points { display: grid; gap: 2px; }
.highlight-points span {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--line);
}
.highlight-points span:last-child { border-bottom: 0; }
.highlight-points span::before {
    content: "→";
    color: var(--accent);
    font-weight: 700;
}

/* ─── PROJECTS (editorial rows) ───────────────────────── */
.project-list { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }

.project-card { border-bottom: 1px solid var(--line); }
.project-trigger {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    display: grid;
    grid-template-columns: 0.4fr 1fr;
    gap: clamp(20px, 4vw, 56px);
    align-items: center;
    padding: clamp(28px, 4vw, 44px) 0;
    transition: padding-left 0.3s ease;
}
.project-trigger:hover { padding-left: 12px; }

.project-meta { display: grid; gap: 16px; }
.project-meta > span {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}
.project-meta h3 {
    font-family: var(--display);
    font-size: clamp(1.3rem, 2.2vw, 1.9rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--ink);
    transition: color 0.2s;
}
.project-trigger:hover .project-meta h3 { color: var(--accent); }
.project-meta p { font-size: 0.95rem; line-height: 1.65; max-width: 46ch; }

.project-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    margin-top: 4px;
}
.project-view svg { transition: transform 0.25s; }
.project-trigger:hover .project-view svg { transform: translateX(5px); }

.project-visual {
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background: var(--paper-2);
    position: relative;
}
.project-visual::after {
    content: "";
    position: absolute;
    top: 12px; right: 12px;
    width: 32px; height: 32px;
    border: 1px solid rgba(255,255,255,0.7);
    background:
        linear-gradient(currentColor, currentColor) center/12px 1.5px no-repeat,
        linear-gradient(currentColor, currentColor) center/1.5px 12px no-repeat;
    color: #fff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
    mix-blend-mode: difference;
}
.project-trigger:hover .project-visual::after { opacity: 1; }
.project-visual img, .project-visual video {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.project-trigger:hover .project-visual img,
.project-trigger:hover .project-visual video { transform: scale(1.04); }

/* ─── ADVANTAGES (data grid) ──────────────────────────── */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line-strong);
    border-left: 1px solid var(--line);
}
.advantage-card {
    padding: 30px 26px 36px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background 0.25s;
}
.advantage-card:hover { background: var(--surface); }
.advantage-card .adv-num {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--accent);
    display: block;
    margin-bottom: 22px;
}
.advantage-card strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
}
.advantage-card p { font-size: 0.9rem; line-height: 1.6; }

/* ─── PROCESS ─────────────────────────────────────────── */
.process-line {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line-strong);
}
.process-step {
    padding: 36px 30px 36px 0;
    padding-left: clamp(16px, 2vw, 30px);
    border-left: 1px solid var(--line);
}
.process-step:first-child { border-left: 0; padding-left: 0; }
.process-step strong {
    display: block;
    font-family: var(--display);
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 24px;
}
.process-step h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.process-step p { font-size: 0.93rem; line-height: 1.65; }

/* ─── CTA (inverted band) ─────────────────────────────── */
.cta { padding-bottom: clamp(40px, 6vw, 80px); }
.cta-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    padding: clamp(36px, 5vw, 64px);
    background: var(--ink);
    color: var(--on-dark);
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.cta-card .kicker { color: var(--accent); position: relative; }
.cta-card .kicker-num { color: var(--on-dark-mut); border-color: rgba(255,255,255,0.2); }
.cta-card .kicker-rule { background: rgba(255,255,255,0.15); }
.cta-card h2 {
    position: relative;
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(1.5rem, 2.6vw, 2.3rem);
    line-height: 1.14;
    letter-spacing: -0.025em;
    color: #fff;
}
.cta-card .button { position: relative; }

/* ─── CONTACT ─────────────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
}
.contact-text { margin-top: 20px; font-size: 1.02rem; line-height: 1.7; max-width: 46ch; }

.contact-list { margin-top: 34px; border-top: 1px solid var(--line); }
.contact-list a, .contact-list span {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.96rem;
    color: var(--ink);
    transition: color 0.2s;
}
.contact-list a::before, .contact-list span::before {
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    min-width: 64px;
}
.contact-list a:nth-of-type(1)::before { content: "TEL"; }
.contact-list a:nth-of-type(2)::before { content: "MAIL"; }
.contact-list span::before { content: "ADRES"; }
.contact-list a:hover { color: var(--accent); }

.contact-card {
    display: grid;
    gap: 16px;
    padding: clamp(24px, 3vw, 36px);
    background: var(--surface);
    border: 1px solid var(--line);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-alert { padding: 13px 15px; border-radius: 3px; font-size: 0.88rem; line-height: 1.55; }
.form-alert.is-success { background: var(--accent-soft); border: 1px solid rgba(216,69,30,0.25); color: var(--accent-ink); }
.form-alert.is-error { background: rgba(170,30,30,0.06); border: 1px solid rgba(170,30,30,0.22); color: #9a2424; }

.contact-card label {
    display: grid;
    gap: 8px;
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}
.contact-card input, .contact-card textarea, .contact-card select {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    padding: 12px 14px;
    font-family: var(--body);
    font-size: 0.95rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink);
    background: var(--paper);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}
.contact-card input:focus, .contact-card textarea:focus, .contact-card select:focus {
    border-color: var(--accent);
    background: #fff;
}
.contact-card input::placeholder, .contact-card textarea::placeholder { color: #aab; opacity: 0.7; }
.contact-card .button { margin-top: 4px; }
.form-note { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.04em; color: var(--muted); line-height: 1.55; text-transform: none; }

/* ─── FOOTER ──────────────────────────────────────────── */
.footer { background: var(--ink); color: var(--on-dark-mut); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.9fr;
    gap: 32px;
    padding: clamp(48px, 6vw, 72px) 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { max-width: 360px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 0.88rem; line-height: 1.7; color: var(--on-dark-mut); }
.footer-column { display: grid; gap: 4px; align-content: start; }
.footer-column h3 {
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
.footer-column a, .footer-column span {
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--on-dark-mut);
    transition: color 0.2s;
}
.footer-column a:hover { color: #fff; }
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 22px 0 30px;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--on-dark-mut);
}

/* ─── GALLERY MODAL ───────────────────────────────────── */
.gallery-modal {
    position: fixed; inset: 0;
    display: grid; place-items: center;
    padding: 24px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.25s, visibility 0.25s;
    z-index: 300;
}
.gallery-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.gallery-backdrop { position: absolute; inset: 0; background: rgba(23,25,29,0.82); backdrop-filter: blur(6px); }
.gallery-dialog {
    position: relative;
    width: min(1100px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 28px;
    background: var(--paper);
    border: 1px solid var(--line-strong);
}
.gallery-close {
    position: absolute; top: 16px; right: 16px;
    width: 40px; height: 40px;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    background: var(--surface);
    cursor: pointer;
    font-size: 1.3rem;
    display: grid; place-items: center;
    transition: background 0.2s, color 0.2s;
}
.gallery-close:hover { background: var(--ink); color: #fff; }
.gallery-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px; margin-bottom: 20px; }
.gallery-counter { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); letter-spacing: 0.08em; }
.gallery-stage { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.gallery-media-frame {
    min-height: 440px; max-height: 60vh;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper-2);
    display: grid; place-items: center;
}
.gallery-media-frame img, .gallery-media-frame video { width: 100%; height: 100%; object-fit: contain; }
.gallery-nav {
    width: 46px; height: 46px;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    background: var(--surface);
    cursor: pointer;
    font-size: 1.3rem;
    display: grid; place-items: center;
    transition: background 0.2s, color 0.2s;
}
.gallery-nav:hover { background: var(--ink); color: #fff; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; margin-top: 14px; }
.gallery-thumb {
    height: 66px;
    border: 1px solid var(--line);
    overflow: hidden;
    background: var(--surface);
    cursor: pointer; padding: 0;
    transition: border-color 0.2s;
}
.gallery-thumb.is-active { border-color: var(--accent); }
.gallery-thumb img, .gallery-thumb video { width: 100%; height: 100%; object-fit: cover; }

/* ─── ABOUT PAGE ──────────────────────────────────────── */
.page-hero { border-bottom: 1px solid var(--line); }
.page-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 5vw, 68px);
    align-items: center;
}
.page-hero-copy h1 {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: var(--ink);
}
.page-hero-copy .lead { margin-top: 24px; }
.page-hero-media {
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background: var(--paper-2);
}
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.story-grid, .value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line-strong);
    border-left: 1px solid var(--line);
}
.story-card, .value-card {
    padding: 32px 28px 36px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 12px;
    align-content: start;
    transition: background 0.25s;
}
.story-card:hover, .value-card:hover { background: var(--surface); }
.value-card .service-icon, .value-card .feature-icon {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    color: var(--accent);
    margin-bottom: 6px;
}
.story-card h3, .value-card h3 { font-family: var(--display); font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.story-card p, .value-card p { font-size: 0.93rem; line-height: 1.65; }

.leadership-card {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    border: 1px solid var(--line);
    background: var(--surface);
}
.leadership-media { min-height: 360px; overflow: hidden; }
.leadership-media img { width: 100%; height: 100%; object-fit: cover; }
.leadership-copy { padding: clamp(28px, 4vw, 48px); display: grid; align-content: center; gap: 12px; }
.leader-title { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.leadership-copy h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.leader-contact { margin-top: 12px; display: flex; gap: 24px; flex-wrap: wrap; }
.leader-contact a { font-family: var(--mono); font-size: 0.82rem; color: var(--ink-soft); transition: color 0.2s; }
.leader-contact a:hover { color: var(--accent); }

/* ─── REVEAL ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.svc-list .reveal:nth-child(2) { transition-delay: 0.06s; }
.svc-list .reveal:nth-child(3) { transition-delay: 0.12s; }
.svc-list .reveal:nth-child(4) { transition-delay: 0.18s; }
.advantage-grid .reveal:nth-child(2), .story-grid .reveal:nth-child(2), .value-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.advantage-grid .reveal:nth-child(3), .story-grid .reveal:nth-child(3), .value-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.advantage-grid .reveal:nth-child(4) { transition-delay: 0.18s; }

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1040px) {
    .hero-inner, .about-layout, .contact-layout, .page-hero-grid { grid-template-columns: 1fr; }
    .hero-figure { max-width: 460px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-stats .stat:nth-child(3) { border-left: 0; padding-left: 0; }
    .hero-stats .stat { border-top: 1px solid var(--line); }
    .hero-stats .stat:nth-child(-n+2) { border-top: 0; }
    .svc-list { grid-template-columns: 1fr; }
    .svc-row { border-right: 0 !important; }
    .highlight-band { grid-template-columns: 1fr; }
    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
    .story-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .desktop-nav, .button-ghost { display: none; }
    .menu-toggle { display: flex; }
    .gallery-stage { grid-template-columns: 1fr; }
    .gallery-nav { display: none; }
    .leadership-card { grid-template-columns: 1fr; }
    .cta-card { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .project-trigger { grid-template-columns: 1fr; gap: 18px; }
    .project-trigger:hover { padding-left: 0; }
    .advantage-grid { grid-template-columns: 1fr; }
    .process-line { grid-template-columns: 1fr; }
    .process-step { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
    .process-step:first-child { border-top: 0; padding-top: 0; }
    .story-grid, .value-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .contact-list a, .contact-list span { flex-direction: column; gap: 4px; }
}
