:root { color-scheme: dark; --green-dark: #a8ee4b; }
[hidden] { display: none !important; }
* { letter-spacing: 0 !important; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a8ee4b; outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 14px; background: #11151a; color: white; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
section[id] { scroll-margin-top: 110px; }
.menu-toggle { display: none; }
.brand-heading { margin: 0; line-height: 1; }
.about-copy { font-size: 15px; color: #d7dde6; line-height: 1.7; margin-top: 16px; }
.search-button, .menu-toggle, .dialog-close { width: 44px; height: 44px; flex: 0 0 44px; align-items: center; justify-content: center; border: 1px solid #606873; border-radius: 4px; background: #11151a; }
.search-button img, .menu-toggle img, .dialog-close img { filter: invert(1); }
.main-nav a, .site-header nav a { display: inline-flex; min-height: 44px; align-items: center; }
.headline-tabs { height: auto; overflow-x: auto; padding: 4px; gap: 8px; }
.headline-tab { opacity: 1; background: #11151a; }
.headline-tab span { display: block; color: #eef2f6; font-size: 11px; line-height: 1.4; margin-top: 6px; overflow-wrap: anywhere; }
.headline-tab b { border-radius: 4px; }
.headline-tab .media-image, .story-visual .media-image, .trend-item .media-image { object-fit: contain; }
.headline-primary .media-image { object-fit: contain; object-position: center top; }
.project-tools { padding: 20px 0 8px; }
.project-search-label { display: block; font-size: 14px; margin-bottom: 8px; color: #d7dde6; }
#project-search { display: block; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #737d8c; border-radius: 4px; color: #f0f3f7; background: #101419; font-size: 16px; }
#project-search::placeholder { color: #adb8c8; }
.project-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.project-filters button { min-height: 44px; padding: 8px 12px; color: #dce4ef; border: 1px solid #606873; border-radius: 4px; background: #11151a; font-size: 13px; }
.project-filters button[aria-pressed="true"] { color: #101419; background: #a8ee4b; border-color: #a8ee4b; }
#project-count { min-height: 22px; color: #bec9d8; font-size: 13px; }
#empty-results { padding: 24px 0; }
#reset-search { min-height: 44px; border: 1px solid #a8ee4b; padding: 8px 12px; background: #11151a; color: #a8ee4b; border-radius: 4px; }
.story p { font-size: 14px; }
.story time, .story-details span { font-size: 12px; }
.story-repo, .repo-link { min-height: 44px; font-size: 12px; }
.story-visual { height: auto; aspect-ratio: 16 / 10; }
.project-intro { color: #cbd3df; font-size: 17px; line-height: 1.65; max-width: 760px; }
.project-brief { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin: 0; }
.project-brief dt { font-weight: 700; color: #a8ee4b; margin-top: 18px; }
.project-brief dd { margin: 6px 0 0; color: #d7dde6; line-height: 1.75; }
.article-jumps a { min-height: 44px; display: inline-flex; align-items: center; }
.media-dialog { padding: 20px; border: 1px solid #606873; border-radius: 6px; background: #0b0d10; color: #eef2f6; max-width: min(1100px, 96vw); max-height: 94dvh; }
.media-dialog::backdrop { background: rgba(0,0,0,.85); }
.media-dialog figure { margin: 12px 0 0; }
.media-dialog figure img { display: block; width: 100%; max-height: 70dvh; object-fit: contain; }
.media-dialog figcaption { margin-top: 12px; line-height: 1.5; }
.dialog-close { display: flex; margin-left: auto; }
.project-demo { padding: 28px 0; border-bottom: 1px solid var(--line); }
.project-demo video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #080a0d; }
.project-demo p { font-size: 14px; }
.contact a { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: no-preference) {
  .menu-toggle, .story-repo, .repo-link, .project-filters button { transition: background-color .15s ease, border-color .15s ease; }
  @keyframes entry-in { from { opacity: .6; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .headline:hover > .media-image, .trend-feature:hover > .media-image, .story:hover .media-image, .article-media:hover img { transform: none; }
}
@media (max-width: 900px) {
  .site-header .header-inner, .site-header > .shell { flex-wrap: wrap; gap: 12px; padding: 12px 0; height: auto; min-height: 72px; }
  .brand { font-size: 24px; }
  .navigation-ready .menu-toggle { display: flex; margin-left: auto; }
  .site-header nav { width: 100%; order: 4; margin: 0; flex-wrap: wrap; gap: 8px 16px; padding: 8px 0; overflow: visible; }
  .navigation-ready nav { display: none; }
  .navigation-ready nav.is-open { display: flex; }
  .site-header nav a, .site-header nav a:not(:first-child) { display: inline-flex; flex: 1 0 40%; min-height: 44px; }
  .search-button { display: flex; margin-left: 0; }
  .headline-tabs { grid-template-columns: repeat(10, 86px); }
  section[id] { scroll-margin-top: 90px; }
}
@media (max-width: 680px) {
  .story { grid-template-columns: 100px minmax(0, 1fr); }
  .story-visual { width: 100px; }
  .story p { display: block; font-size: 13px; }
  .story-repos { margin-left: 0; }
  .story h3 { font-size: 17px; }
  .contact h2 { font-size: 19px; }
  .article-hero h1 { font-size: 30px; overflow-wrap: anywhere; }
  .headline-copy strong, .headline:not(.headline-primary) .headline-copy strong { font-size: 21px; }
}

/* Portfolio layout: introduction, selected work, archive, about and contact. */
body { background: #0b0d10; }
.intro { padding-block: 76px 64px; }
.eyebrow { color: #a8ee4b; font-size: 12px; font-weight: 700; line-height: 1.5; }
.intro h1 { margin: 20px 0 24px; font-size: clamp(44px, 6vw, 76px); font-weight: 750; line-height: 1.04; }
.intro h1 span { color: #a8ee4b; }
.intro-copy { max-width: 640px; font-size: 18px; line-height: 1.75; color: #bfc9d6; }
.intro-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; }
.primary-action, .secondary-action { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 48px; padding: 12px 18px; border-radius: 6px; font-size: 14px; font-weight: 700; }
.primary-action { background: #a8ee4b; color: #0b0d10; }
.primary-action:hover { background: #c4ff7c; }
.secondary-action { border: 1px solid #606873; background: #11151a; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; font-weight: 600; color: #c0f489; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.featured .section-heading { justify-content: space-between; padding-bottom: 12px; border-color: var(--line); }
.featured .section-heading > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: #bfc9d6; }
.section-description { margin: 16px 0 24px; color: #bfc9d6; font-size: 15px; line-height: 1.6; }
.featured-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.featured-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #343c46; border-radius: 10px; background: #11151a; }
.featured-image { display: block; position: relative; flex-shrink: 0; aspect-ratio: 16 / 10; background: #171d25; border-bottom: 1px solid #343c46; }
.featured-image img { display: block; position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.featured-copy { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.featured-copy h3 { font-size: 23px; line-height: 1.25; margin: 0 0 14px; }
.featured-copy h3 a:hover { color: #a8ee4b; }
.featured-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.7; color: #bfc9d6; }
.featured-copy .featured-tech { font-size: 12px !important; }
.featured-copy .featured-outcome { padding-top: 16px; border-top: 1px solid #343c46; color: #e3eddd !important; }
.featured-copy .text-link { margin-top: auto; }
.archive-area { padding-block: 72px; }
#project-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 32px; }
.story-entry { min-width: 0; display: flex; flex-direction: column; padding-block: 12px; }
.story { grid-template-columns: 120px minmax(0,1fr); flex: 1; }
.story-visual { width: 120px; }
.story-repos { margin: 0 0 12px 135px; }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; padding-block: 48px 72px; border-top: 1px solid var(--line); }
.about-grid h2 { font-size: 25px; line-height: 1.3; }
.about-grid #teknolojiler { scroll-margin-top: 110px; }
.contact { background: #141b14; border-top: 1px solid #34412b; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-links a { display: inline-flex; align-items: center; min-height: 48px; font-size: 14px; }
.contact-links a:hover { border-color: #a8ee4b; }
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .featured-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .featured-card:last-child .featured-image { height: 100%; aspect-ratio: auto; border-bottom: 0; }
  #project-list { grid-template-columns: 1fr; }
  .about-grid { gap: 32px; }
}
@media (max-width: 680px) {
  .intro { padding-block: 40px 44px; }
  .intro-copy { font-size: 16px; }
  .intro-actions { gap: 10px 18px; }
  .featured-grid { grid-template-columns: 1fr; gap: 20px; }
  .featured-card:last-child { grid-column: auto; display: flex; }
  .featured-card:last-child .featured-image { height: auto; aspect-ratio: 16 / 10; border-bottom: 1px solid #343c46; }
  .featured-copy { padding: 20px; }
  .featured-copy h3 { font-size: 23px; }
  .featured .section-heading { gap: 8px; }
  .featured .section-heading h2 { font-size: 12px; }
  .archive-area { padding-block: 44px; }
  .story { grid-template-columns: 100px minmax(0,1fr); }
  .story-visual { width: 100px; }
  .story-repos { margin-left: 0; }
  .about-grid { grid-template-columns: 1fr; padding-block: 36px 48px; }
  .contact-inner { gap: 24px; }
}
