:root {
    --bg: #0E1522;
    --bg-alt: #141D2E;
    --paper: #EFE9DD;
    --paper-line: rgba(27, 36, 50, .14);
    --ink: #1B2432;
    --ink-soft: #5A6478;
    --off: #C9D1DE;
    --off-soft: #8A93A6;
    --copper: #C17A3E;
    --copper-soft: rgba(193, 122, 62, .16);
    --teal: #4FA6A0;
    --line: rgba(201, 209, 222, .14);
    --radius: 2px;
    --maxw: 1180px;
    --nav-w: 236px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--off);
    font-family: 'IBM Plex Sans', -apple-system, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    line-height: 1.12;
    margin: 0;
    color: #F4EFE4;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background: var(--copper);
    color: #0E1522;
}

.mono {
    font-family: 'IBM Plex Mono', monospace;
    letter-spacing: .02em;
}


/* ---------- layout shell ---------- */

.shell {
    display: grid;
    grid-template-columns: var(--nav-w) 1fr;
    min-height: 100vh;
}


/* ---------- sidebar nav ---------- */

.sidenav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--nav-w);
    padding: 2.4rem 1.9rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid var(--line);
    background: linear-gradient(var(--bg), var(--bg)) padding-box, repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px) padding-box;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.brand .mark {
    width: 38px;
    height: 38px;
    border: 1px solid var(--copper);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    color: var(--copper);
}

.brand .word {
    margin-top: .9rem;
    font-family: 'Fraunces', serif;
    font-size: 1.28rem;
    color: #F4EFE4;
    letter-spacing: .01em;
}

.brand .sub {
    font-size: .72rem;
    color: var(--off-soft);
}

.navlinks {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
}

.navlinks a {
    font-size: .86rem;
    color: var(--off-soft);
    display: flex;
    align-items: baseline;
    gap: .6rem;
    transition: color .2s ease;
}

.navlinks a .num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: .68rem;
    color: var(--copper);
    opacity: .7;
}

.navlinks a:hover,
.navlinks a.active {
    color: #F4EFE4;
}

.navlinks a.active .num {
    opacity: 1;
}

.sidefoot {
    font-size: .72rem;
    color: var(--off-soft);
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.sidefoot .coord {
    color: var(--copper);
}


/* mobile topbar */

.topbar {
    display: none;
}

main {
    grid-column: 2;
    overflow-x: hidden;
}

section {
    padding: 7.5rem 5.4vw;
    max-width: var(--maxw);
}

section .eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: .74rem;
    color: var(--copper);
    margin-bottom: 1.1rem;
}


/* ---------- hero ---------- */

#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    overflow: hidden;
}

#hero svg.grid-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .55;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero-kicker {
    font-family: 'IBM Plex Mono', monospace;
    font-size: .82rem;
    color: var(--teal);
    margin-bottom: 1.6rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.hero-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 4px rgba(79, 166, 160, .18);
}

h1.name {
    font-size: clamp(2.6rem, 6.4vw, 4.7rem);
    color: #F7F2E7;
}

h1.name em {
    font-style: normal;
    color: var(--copper);
}

.hero-role {
    margin-top: 1.15rem;
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    color: var(--off);
    font-weight: 300;
    max-width: 34ch;
}

.hero-desc {
    margin-top: 1.6rem;
    max-width: 52ch;
    color: var(--off-soft);
    font-size: 1rem;
}

.hero-actions {
    margin-top: 2.6rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: .85rem 1.7rem;
    border-radius: var(--radius);
    font-size: .92rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .18s ease, background .2s ease, border-color .2s ease;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.btn-primary {
    background: var(--copper);
    color: #0E1522;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-ghost {
    border-color: var(--line);
    color: var(--off);
}

.btn-ghost:hover {
    border-color: var(--copper);
    color: #F4EFE4;
}


/* hero reveal animation - single orchestrated moment */

.reveal-line {
    stroke: var(--copper);
    stroke-width: 1;
    fill: none;
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: draw 2.4s cubic-bezier(.65, .05, .36, 1) forwards;
}

.reveal-line.delay {
    animation-delay: .3s;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

.hero-inner .hero-kicker,
.hero-inner h1,
.hero-inner .hero-role,
.hero-inner .hero-desc,
.hero-inner .hero-actions {
    opacity: 0;
    transform: translateY(10px);
    animation: fadein .8s ease forwards;
}

.hero-inner .hero-kicker {
    animation-delay: .15s;
}

.hero-inner h1 {
    animation-delay: .35s;
}

.hero-inner .hero-role {
    animation-delay: .55s;
}

.hero-inner .hero-desc {
    animation-delay: .72s;
}

.hero-inner .hero-actions {
    animation-delay: .92s;
}

@keyframes fadein {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ---------- paper sections (kimim / hakkinda) ---------- */

.paper {
    background: var(--paper);
    color: var(--ink);
}

.paper h2 {
    color: var(--ink);
}

.paper .eyebrow {
    color: var(--copper);
}

.split {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 4rem;
    align-items: start;
}

.lede {
    font-family: 'Fraunces', serif;
    font-weight: 400;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.5;
    color: var(--ink);
    max-width: 36ch;
}

.body-text {
    margin-top: 1.6rem;
    max-width: 58ch;
    color: var(--ink-soft);
    font-size: 1rem;
}

.body-text+.body-text {
    margin-top: 1rem;
}

.specsheet {
    border: 1px solid var(--paper-line);
    padding: 1.8rem;
    position: relative;
}

.specsheet::before {
    content: "ID — 01";
    position: absolute;
    top: -.6rem;
    left: 1.4rem;
    background: var(--paper);
    padding: 0 .5rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: .7rem;
    color: var(--copper);
}

.specrow {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .7rem 0;
    border-bottom: 1px solid var(--paper-line);
    font-size: .88rem;
}

.specrow:last-child {
    border-bottom: none;
}

.specrow .k {
    color: var(--ink-soft);
}

.specrow .v {
    color: var(--ink);
    font-weight: 500;
    text-align: right;
}


/* ---------- timeline (yaptiklarim) ---------- */

.timeline {
    margin-top: 3.2rem;
    display: flex;
    flex-direction: column;
}

.titem {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1.6rem;
    padding: 1.9rem 0;
    border-top: 1px solid var(--line);
}

.titem:last-child {
    border-bottom: 1px solid var(--line);
}

.titem .idx {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--copper);
    font-size: .85rem;
    padding-top: .2rem;
}

.titem h3 {
    font-size: 1.2rem;
    color: #F4EFE4;
}

.titem .when {
    font-family: 'IBM Plex Mono', monospace;
    font-size: .74rem;
    color: var(--teal);
    margin-top: .35rem;
    display: block;
}

.titem p {
    margin: .7rem 0 0;
    color: var(--off-soft);
    max-width: 60ch;
    font-size: .95rem;
}


/* ---------- current focus cards (şu an) ---------- */

.focusgrid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.focuscard {
    background: var(--bg);
    padding: 2.1rem 1.8rem;
}

.focuscard .tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: .7rem;
    color: var(--teal);
    border: 1px solid rgba(79, 166, 160, .4);
    display: inline-block;
    padding: .2rem .55rem;
    border-radius: 20px;
}

.focuscard h3 {
    margin-top: 1.1rem;
    font-size: 1.12rem;
}

.focuscard p {
    margin-top: .7rem;
    color: var(--off-soft);
    font-size: .92rem;
}


/* ---------- misyon vizyon ---------- */

.mv-wrap {
    margin-top: 2.6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--line);
}

.mv-panel {
    padding: 3rem 2.6rem;
    position: relative;
}

.mv-panel+.mv-panel {
    border-left: 1px solid var(--line);
}

.mv-panel .mv-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: .72rem;
    color: var(--copper);
}

.mv-panel p.mv-text {
    margin-top: 1.2rem;
    font-family: 'Fraunces', serif;
    font-size: 1.28rem;
    line-height: 1.5;
    color: #F4EFE4;
    font-weight: 400;
}


/* ---------- testimonials ---------- */

.paper2 {
    background: var(--paper);
    color: var(--ink);
}

.tgrid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.tcard {
    background: #fff;
    border: 1px solid var(--paper-line);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 190px;
}

.tcard blockquote {
    margin: 0;
    font-family: 'Fraunces', serif;
    font-size: 1.02rem;
    color: var(--ink);
    line-height: 1.5;
}

.tcard .who {
    margin-top: 1.3rem;
    font-size: .82rem;
    color: var(--ink-soft);
}

.tcard .who b {
    color: var(--ink);
}

.feedback-box {
    margin-top: 3.4rem;
    border: 1px solid var(--paper-line);
    padding: 2.2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.feedback-box h3 {
    color: var(--ink);
    font-size: 1.2rem;
}

.feedback-box p {
    color: var(--ink-soft);
    margin-top: .5rem;
    font-size: .92rem;
}

.stars {
    margin-top: 1rem;
    display: flex;
    gap: .35rem;
    font-size: 1.3rem;
    color: var(--paper-line);
    cursor: pointer;
}

.stars span.active {
    color: var(--copper);
}


/* ---------- contact ---------- */

.contact-wrap {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 4rem;
}

.contact-info .row {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    padding: 1.3rem 0;
    border-top: 1px solid var(--line);
}

.contact-info .row:last-child {
    border-bottom: 1px solid var(--line);
}

.contact-info .row .k {
    font-family: 'IBM Plex Mono', monospace;
    font-size: .72rem;
    color: var(--copper);
}

.contact-info .row a,
.contact-info .row .v {
    color: #F4EFE4;
    font-size: 1rem;
}

.contact-info .row a:hover {
    color: var(--teal);
}

.social-row {
    margin-top: 1.7rem;
    display: flex;
    gap: .9rem;
    flex-wrap: wrap;
}

.social-chip {
    border: 1px solid var(--line);
    padding: .55rem 1rem;
    font-size: .82rem;
    border-radius: 20px;
    color: var(--off);
    transition: border-color .2s ease, color .2s ease;
}

.social-chip:hover {
    border-color: var(--copper);
    color: #F4EFE4;
}

form.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.field label {
    font-size: .78rem;
    color: var(--off-soft);
}

.field input,
.field textarea {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    color: #F4EFE4;
    padding: .8rem .9rem;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: .95rem;
    border-radius: var(--radius);
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    outline: 2px solid var(--copper);
    outline-offset: 1px;
}

.form-note {
    font-size: .78rem;
    color: var(--off-soft);
    margin-top: .2rem;
}

footer {
    padding: 3rem 5.4vw 3.4rem;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .82rem;
    color: var(--off-soft);
}

footer a {
    color: var(--copper);
}


/* ---------- responsive ---------- */

@media (max-width:1000px) {
    .split,
    .contact-wrap {
        grid-template-columns: 1fr;
    }
    .mv-wrap {
        grid-template-columns: 1fr;
    }
    .mv-panel+.mv-panel {
        border-left: none;
        border-top: 1px solid var(--line);
    }
    .focusgrid {
        grid-template-columns: 1fr 1fr;
    }
    .tgrid {
        grid-template-columns: 1fr 1fr;
    }
    .feedback-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width:760px) {
    .shell {
        display: block;
    }
    .sidenav {
        display: none;
    }
    .topbar {
        display: flex;
        position: sticky;
        top: 0;
        z-index: 20;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 5vw;
        background: rgba(14, 21, 34, .92);
        backdrop-filter: blur(6px);
        border-bottom: 1px solid var(--line);
    }
    .topbar .word {
        font-family: 'Fraunces', serif;
        color: #F4EFE4;
        font-size: 1.05rem;
    }
    .topbar button {
        background: none;
        border: 1px solid var(--line);
        color: var(--off);
        padding: .4rem .7rem;
        border-radius: var(--radius);
        font-size: .9rem;
    }
    .mobmenu {
        display: none;
        position: fixed;
        inset: 0;
        top: 57px;
        background: var(--bg);
        z-index: 19;
        padding: 2rem 6vw;
        flex-direction: column;
        gap: 1.4rem;
        overflow-y: auto;
    }
    .mobmenu.open {
        display: flex;
    }
    .mobmenu a {
        color: var(--off);
        font-size: 1.05rem;
    }
    main {
        grid-column: 1;
    }
    section {
        padding: 4.6rem 6vw;
    }
    .focusgrid,
    .tgrid {
        grid-template-columns: 1fr;
    }
    footer {
        flex-direction: column;
        align-items: flex-start;
    }
}