:root {
  --paper: #f6f3ed;
  --white: #fffefa;
  --ink: #181817;
  --muted: #66645f;
  --line: #d9d5cc;
  --red: #e53935;
  --night: #17182d;
  --night-soft: #20223d;
  --night-line: rgba(255,255,255,.14);
  --page: clamp(22px, 5.2vw, 84px);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 16px; color: #fff; background: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid #4f8cff; outline-offset: 4px; }

.header { height: 88px; padding: 0 var(--page); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.signature { font-family: Outfit, Inter, sans-serif; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.signature span { color: var(--red); }
nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 40px); font-size: 13px; font-weight: 500; }
nav > a:not(.nav-cta) { position: relative; }
nav > a:not(.nav-cta)::after { content: ""; position: absolute; height: 1px; left: 0; right: 100%; bottom: -6px; background: var(--red); transition: right .25s ease; }
nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { padding: 12px 15px; border: 1px solid var(--ink); border-radius: 10px; }
.nav-cta span { margin-left: 16px; }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-button > span:not(.sr-only) { display: block; height: 1px; width: 24px; margin: 6px 0; background: var(--ink); transition: transform .2s ease; }

.hero { min-height: calc(100svh - 88px); padding: clamp(56px, 7vw, 108px) var(--page) 64px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); gap: clamp(52px, 8vw, 130px); align-items: center; position: relative; overflow: hidden; }
.hero-copy { max-width: 960px; }
.hero-kicker { margin: 0 0 26px; color: var(--muted); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .13em; }
.hero h1 { margin: 0; font-family: Outfit, Inter, sans-serif; font-size: clamp(46px, 5.55vw, 88px); line-height: 1.02; letter-spacing: -.052em; font-weight: 500; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-intro { max-width: 660px; margin: 28px 0 0; color: #504f4b; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.68; }
.hero-actions { margin-top: 40px; display: flex; align-items: center; gap: 30px; }
.primary-button { min-height: 52px; padding: 0 18px; display: inline-flex; align-items: center; gap: 42px; color: #fff; background: var(--ink); border-radius: 11px; font-size: 13px; font-weight: 600; transition: transform .2s ease, background .2s ease; }
.primary-button:hover { transform: translateY(-2px); background: var(--red); }
.underlined-link { padding: 10px 0 7px; border-bottom: 1px solid #88857e; font-size: 13px; font-weight: 600; }
.underlined-link span { margin-left: 10px; }
.portrait-composition { width: min(100%, 470px); justify-self: end; position: relative; }
.portrait-background { position: absolute; inset: 7% -8% -3% 9%; border: 1px solid var(--line); border-radius: 230px 230px 22px 22px; }
.portrait-composition figure { height: min(65vh, 650px); margin: 0; position: relative; overflow: hidden; background: #e8e4dc; border-radius: 230px 230px 20px 20px; }
.portrait-composition img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: saturate(.92) contrast(1.02); }
.portrait-caption { width: min(310px, 82%); position: absolute; left: -48px; bottom: 26px; padding: 18px; display: grid; grid-template-columns: 26px 1fr; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 55px rgba(33,29,22,.1); }
.portrait-caption span { color: var(--red); font-family: "DM Mono", monospace; font-size: 10px; }
.portrait-caption p { margin: 0; font-size: 11px; line-height: 1.55; font-weight: 500; }
.scroll-indicator { position: absolute; left: var(--page); bottom: 24px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; }
.scroll-indicator i { display: block; width: 48px; height: 1px; background: #aaa69e; }

.section-label { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .13em; }
.section-label span { color: var(--red); font-family: "DM Mono", monospace; }
.section-label p { margin: 0; }
.section-label-dark { color: rgba(255,255,255,.76); }

.story { padding: clamp(90px, 11vw, 170px) var(--page); display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 2.3fr); gap: 64px; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-main h2 { max-width: 1180px; margin: 0; font-family: Outfit, Inter, sans-serif; font-size: clamp(38px, 4.4vw, 72px); line-height: 1.12; letter-spacing: -.043em; font-weight: 500; }
.story-columns { max-width: 950px; margin: 72px 0 0 auto; padding-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; border-top: 1px solid var(--line); }
.story-columns p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.82; }
.story blockquote { max-width: 950px; margin: 80px 0 0 auto; padding-left: 26px; border-left: 3px solid var(--red); font-family: Outfit, Inter, sans-serif; font-size: clamp(24px, 2.5vw, 40px); line-height: 1.35; letter-spacing: -.025em; }

.tabelasiz { padding: clamp(88px, 10vw, 150px) var(--page); color: #fff; background: var(--night); }
.tabelasiz-head { display: flex; justify-content: space-between; align-items: start; padding-bottom: 46px; border-bottom: 1px solid var(--night-line); }
.availability { margin: 0; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.7); font-size: 11px; }
.availability i { width: 8px; height: 8px; background: #45c864; border-radius: 50%; box-shadow: 0 0 0 4px rgba(69,200,100,.12); }
.tabelasiz-title { padding: clamp(54px, 7vw, 104px) 0 32px; }
.tabelasiz-title p { margin: 0 0 4px; color: rgba(255,255,255,.58); font-size: clamp(14px, 1.2vw, 17px); }
.tabelasiz-title h2 { margin: 0; color: var(--red); font-family: Pacifico, cursive; font-size: clamp(48px, 6vw, 92px); line-height: 1.25; font-weight: 400; letter-spacing: -.035em; }
.tabelasiz-intro { padding: 62px 0 86px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: clamp(50px, 10vw, 160px); border-top: 1px solid var(--night-line); }
.large-copy { margin: 0; font-family: Outfit, Inter, sans-serif; font-size: clamp(25px, 2.7vw, 42px); line-height: 1.32; letter-spacing: -.03em; }
.intro-detail p { margin: 0 0 28px; color: rgba(255,255,255,.64); font-size: 14px; line-height: 1.8; }
.intro-detail a { display: inline-flex; gap: 20px; padding-bottom: 7px; border-bottom: 1px solid rgba(255,255,255,.38); font-size: 12px; font-weight: 600; }
.experience-list { border-top: 1px solid var(--night-line); }
.experience-list article { min-height: 178px; padding: 34px 0; display: grid; grid-template-columns: 80px minmax(260px, .95fr) minmax(280px, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: start; border-bottom: 1px solid var(--night-line); }
.experience-number { color: var(--red); font-family: "DM Mono", monospace; font-size: 10px; }
.experience-list h3 { margin: 0; font-family: Outfit, Inter, sans-serif; font-size: clamp(18px, 1.55vw, 24px); line-height: 1.38; letter-spacing: -.018em; font-weight: 500; }
.experience-list p { margin: 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.75; }
.download-panel { margin-top: 80px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(350px, .9fr); gap: 56px; align-items: end; background: var(--red); border-radius: 20px; }
.download-overline { margin: 0 0 18px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.download-panel h3 { max-width: 800px; margin: 0; font-family: Outfit, Inter, sans-serif; font-size: clamp(26px, 2.7vw, 42px); line-height: 1.25; letter-spacing: -.03em; font-weight: 500; }
.store-buttons { display: grid; gap: 12px; }
.store-buttons a { min-height: 70px; padding: 12px 16px; display: grid; grid-template-columns: 32px 1fr auto; gap: 14px; align-items: center; background: #fff; color: var(--ink); border: 1px solid rgba(0,0,0,.12); border-radius: 12px; transition: transform .2s ease, box-shadow .2s ease; }
.store-buttons a:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(74,14,13,.18); }
.store-buttons svg { width: 27px; height: 27px; fill: currentColor; }
.store-buttons small, .store-buttons strong { display: block; }
.store-buttons small { margin-bottom: 3px; color: #696966; font-size: 9px; font-weight: 500; }
.store-buttons strong { font-size: 14px; }
.store-buttons b { font-weight: 400; }

.projects { padding: clamp(90px, 11vw, 170px) var(--page); }
.projects-heading { display: grid; grid-template-columns: .65fr 1.35fr; gap: 64px; align-items: start; margin-bottom: 72px; }
.projects-heading h2 { margin: 0; font-family: Outfit, Inter, sans-serif; font-size: clamp(36px, 4vw, 64px); line-height: 1.14; letter-spacing: -.042em; font-weight: 500; }
.project-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.project-card { min-height: 620px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.project-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .13em; }
.turyap-card { background: var(--white); }
.turyap-logo { min-height: 255px; padding: 50px; display: grid; place-items: center; }
.turyap-logo img { mix-blend-mode: multiply; }
.project-copy { margin-top: auto; padding-top: 30px; border-top: 1px solid currentColor; border-color: var(--line); }
.project-copy h3 { margin: 0 0 18px; font-family: Outfit, Inter, sans-serif; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.28; letter-spacing: -.03em; font-weight: 500; }
.project-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.kiranet-card { color: #fff; background: var(--red); border-color: var(--red); }
.kiranet-card .project-top, .kiranet-card .project-copy p { color: rgba(255,255,255,.72); }
.kiranet-card .project-copy { border-color: rgba(255,255,255,.32); }
.kiranet-logo { margin: auto 0; font-family: Outfit, Inter, sans-serif; font-size: clamp(70px, 8vw, 126px); line-height: 1; letter-spacing: -.075em; font-weight: 600; }
.kiranet-logo span { color: var(--ink); font-weight: 400; }
.gursoy-card { min-height: 430px; grid-column: 1 / -1; color: #fff; background: var(--ink); border-color: var(--ink); display: grid; grid-template-columns: .55fr 1.45fr; column-gap: 8vw; }
.gursoy-card .project-top { grid-column: 1 / -1; color: #a8a8a5; }
.gursoy-name { align-self: end; font-family: Outfit, Inter, sans-serif; font-size: clamp(60px, 8vw, 130px); line-height: .9; letter-spacing: -.065em; }
.gursoy-card .project-copy { align-self: end; border-color: #444; }
.gursoy-card .project-copy p { color: #aaa; }

.terminal-section { padding: clamp(90px, 11vw, 170px) var(--page); display: grid; grid-template-columns: minmax(300px, .75fr) minmax(480px, 1.25fr); gap: clamp(56px, 9vw, 140px); align-items: center; color: #fff; background: #111210; }
.terminal-copy h2 { margin: 38px 0 24px; font-family: Outfit, Inter, sans-serif; font-size: clamp(40px, 4.5vw, 72px); line-height: 1.08; letter-spacing: -.045em; font-weight: 500; }
.terminal-copy > p { max-width: 540px; margin: 0; color: #9b9d98; font-size: 14px; line-height: 1.8; }
.command-shortcuts { margin-top: 34px; display: grid; gap: 8px; }
.command-shortcuts button { min-height: 44px; padding: 0; color: #babcb6; background: transparent; border: 0; text-align: left; cursor: pointer; font-family: "DM Mono", monospace; font-size: 11px; }
.command-shortcuts button::before { content: "→ "; color: #72c980; }
.command-shortcuts button:hover { color: #fff; }
.terminal { min-height: 570px; overflow: hidden; background: #0b0d0b; border: 1px solid #343833; border-radius: 16px; box-shadow: 0 30px 90px rgba(0,0,0,.42); font-family: "DM Mono", monospace; font-size: 12px; }
.terminal-bar { height: 52px; padding: 0 18px; display: flex; align-items: center; justify-content: center; position: relative; color: #737872; background: #181b18; border-bottom: 1px solid #30342f; font-size: 10px; }
.terminal-lights { position: absolute; left: 18px; display: flex; gap: 7px; }
.terminal-lights i { width: 9px; height: 9px; border-radius: 50%; background: #525852; }
.terminal-lights i:first-child { background: #de6259; }
.terminal-lights i:nth-child(2) { background: #d8b758; }
.terminal-lights i:last-child { background: #5cac69; }
.terminal-bar button { position: absolute; right: 14px; width: 40px; height: 40px; color: #858b84; background: transparent; border: 0; cursor: pointer; }
.terminal-screen { height: 440px; padding: 24px 24px 0; overflow: auto; color: #c7ccc7; line-height: 1.68; white-space: pre-wrap; }
.terminal-entry { margin-bottom: 18px; }
.terminal-command { color: #fff; }
.terminal-response { color: #aeb5ae; }
.terminal-response strong { color: #80d48d; font-weight: 400; }
.terminal form { padding: 4px 24px 22px; display: flex; gap: 8px; }
.terminal label { flex: 0 0 auto; color: #7daddd; }
.terminal label span { color: #80d48d; }
.terminal input { min-width: 0; flex: 1; color: #fff; background: transparent; border: 0; outline: 0; font-family: inherit; caret-color: #80d48d; }

.contact { padding: clamp(90px, 11vw, 170px) var(--page) 64px; background: var(--white); }
.contact-heading { margin: 62px 0 110px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(180px, .5fr); gap: 60px; align-items: end; }
.contact-heading h2 { max-width: 1150px; margin: 0; font-family: Outfit, Inter, sans-serif; font-size: clamp(43px, 6vw, 94px); line-height: 1.04; letter-spacing: -.055em; font-weight: 500; }
.contact-heading > a { justify-self: end; width: 170px; height: 170px; padding: 24px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: var(--red); border-radius: 50%; font-size: 13px; font-weight: 600; transition: transform .25s ease; }
.contact-heading > a:hover { transform: rotate(-4deg) scale(1.03); }
.contact-links { padding-top: 28px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; border-top: 1px solid var(--line); }
.contact-links a { min-height: 72px; }
.contact-links small, .contact-links span { display: block; }
.contact-links small { margin-bottom: 10px; color: var(--muted); font-size: 10px; }
.contact-links span { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
footer { padding: 30px var(--page); color: #8f918c; background: #111210; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
footer p { margin: 0; }
footer a { color: #fff; }
.footer-main, .footer-credits { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-main { padding-bottom: 22px; border-bottom: 1px solid #30312e; }
.footer-credits { padding-top: 22px; }
.footer-credits span { color: var(--red); font-family: Pacifico, cursive; font-size: 13px; text-transform: none; letter-spacing: 0; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .header { height: 76px; }
  nav { display: none; position: fixed; inset: 76px 0 0; padding: 38px var(--page); flex-direction: column; align-items: flex-start; gap: 28px; background: var(--paper); font-size: 20px; }
  .header.is-open nav { display: flex; }
  .menu-button { display: block; }
  .header.is-open .menu-button > span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .header.is-open .menu-button > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 72px; }
  .portrait-composition { width: min(75vw, 480px); justify-self: center; }
  .scroll-indicator { display: none; }
  .story { grid-template-columns: 1fr; }
  .tabelasiz-intro { grid-template-columns: 1fr; }
  .experience-list article { grid-template-columns: 50px 1fr; }
  .experience-list article p { grid-column: 2; }
  .download-panel { grid-template-columns: 1fr; }
  .projects-heading { grid-template-columns: 1fr; }
  .terminal-section { grid-template-columns: 1fr; }
  .terminal { max-width: 800px; width: 100%; }
  .contact-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .hero { padding-bottom: 80px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .portrait-composition { width: 100%; margin-top: 20px; }
  .portrait-composition figure { height: 500px; }
  .portrait-caption { left: 14px; }
  .story-columns { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
  .story blockquote { margin-top: 56px; }
  .tabelasiz-head { gap: 28px; flex-direction: column; }
  .tabelasiz-title h2 { font-size: clamp(38px, 11vw, 64px); letter-spacing: -.045em; }
  .experience-list article { min-height: 0; grid-template-columns: 32px 1fr; gap: 20px; }
  .experience-list article p { grid-column: 1 / -1; padding-left: 52px; }
  .project-cards { grid-template-columns: 1fr; }
  .project-card { min-height: 540px; }
  .gursoy-card { min-height: 540px; grid-column: auto; grid-template-columns: 1fr; }
  .gursoy-card .project-top { grid-column: auto; }
  .gursoy-name { align-self: center; }
  .terminal { font-size: 10px; min-height: 600px; }
  .terminal-screen { height: 470px; padding-left: 16px; padding-right: 16px; }
  .terminal form { padding-left: 16px; padding-right: 16px; }
  .contact-heading { grid-template-columns: 1fr; margin-bottom: 78px; }
  .contact-heading > a { justify-self: start; width: 136px; height: 136px; }
  .contact-links { grid-template-columns: 1fr; }
  .contact-links a { min-height: 56px; }
  .footer-main, .footer-credits { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 40px; }
  .portrait-composition figure { height: 430px; }
  .download-panel { padding: 24px 18px; }
  .store-buttons a { grid-template-columns: 28px 1fr auto; padding-left: 12px; padding-right: 12px; }
  .project-card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
