:root {
  --brand: #1c51a3;
  --brand-deep: #143d7a;
  --mint: #dbefe1;
  --mint-deep: #c5e4cf;
  --ink: #0f1c2e;
  --ink-muted: #3d4f66;
  --surface: #f7fbf8;
  --white: #ffffff;
  --line: color-mix(in srgb, var(--brand) 14%, transparent);
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Manrope", system-ui, sans-serif;
  --container: 72rem;
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p,
blockquote,
dl,
dt,
dd {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.eyebrow {
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head h2 {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-lead {
  margin-top: 1rem;
  color: var(--ink-muted);
  font-size: 1.0625rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  border-radius: 2px;
}

.skip-link:focus {
  top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0.75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    color 0.2s ease;
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.btn-sm {
  min-height: 2.4rem;
  padding: 0.55rem 1rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand-deep);
}

.btn-ghost {
  background: color-mix(in srgb, var(--white) 55%, transparent);
  border-color: color-mix(in srgb, var(--brand) 30%, transparent);
  color: var(--brand);
}

.btn-ghost:hover {
  background: var(--white);
  border-color: var(--brand);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: color-mix(in srgb, var(--mint) 94%, transparent);
  border-bottom-color: var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: auto;
  height: 2.65rem;
  border-radius: 4px;
  object-fit: contain;
}

.logo-sub {
  display: none;
  color: var(--ink-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-text {
  display: none;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.15;
}

.logo-name {
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a:not(.btn) {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-nav a:not(.btn):hover {
  color: var(--brand);
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 0.3rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--brand);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--mint);
  padding: calc(var(--header-h) + 2rem) 0 3rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 55% at 80% 15%,
      color-mix(in srgb, var(--brand) 16%, transparent),
      transparent 55%
    ),
    linear-gradient(
      160deg,
      var(--mint) 0%,
      var(--mint-deep) 45%,
      color-mix(in srgb, var(--brand) 10%, var(--mint)) 100%
    );
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: end;
  min-height: calc(100svh - var(--header-h) - 5rem);
}

.hero-copy {
  max-width: 36rem;
}

.hero h1 {
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-line {
  width: 5.5rem;
  height: 2px;
  margin-top: 1.4rem;
  background: var(--brand);
  transform-origin: left;
}

.role-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.35rem;
  max-width: 34rem;
}

.role-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--ink);
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.35;
}

.role-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--brand);
}

.hero-lead {
  margin-top: 1.35rem;
  max-width: 30rem;
  color: var(--ink-muted);
  font-size: 1.0625rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
}

.hero-stats dt {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.2vw, 1.75rem);
  font-weight: 600;
  color: var(--brand);
  line-height: 1.1;
}

.hero-stats dd {
  margin-top: 0.4rem;
  color: var(--ink-muted);
  font-size: 0.8125rem;
}

.hero-portrait {
  justify-self: center;
  width: min(100%, 22rem);
}

.hero-portrait img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
  filter: drop-shadow(0 24px 40px color-mix(in srgb, var(--brand) 22%, transparent));
}

/* About */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-text {
  display: grid;
  gap: 1rem;
  color: var(--ink-muted);
  font-size: 1.0625rem;
}

.fact-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.fact-list li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.fact-list span {
  color: var(--ink-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fact-list strong {
  font-size: 1rem;
  font-weight: 600;
}

.timeline {
  display: grid;
  gap: 0;
  border-left: 2px solid color-mix(in srgb, var(--brand) 22%, transparent);
  padding-left: 1.25rem;
}

.timeline li {
  position: relative;
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 1.35rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--white);
}

.timeline time {
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.timeline h3 {
  font-size: 1.0625rem;
  font-weight: 700;
}

.timeline p {
  color: var(--ink-muted);
  font-size: 0.975rem;
}

.bio-block {
  margin: 0 0 1.75rem;
  max-width: 46rem;
}

.bio-block h3 {
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.bio-block p {
  color: var(--ink-muted);
  font-size: 1.0625rem;
}

.credential-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}

.credential-grid article {
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.credential-grid h3 {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.credential-grid ul {
  display: grid;
  gap: 0.85rem;
}

.credential-grid li {
  color: var(--ink-muted);
  font-size: 0.975rem;
  line-height: 1.5;
}

.credential-grid strong {
  color: var(--ink);
  font-weight: 700;
}

/* Vision */
.vision {
  background: var(--brand);
  color: var(--white);
}

.vision .eyebrow {
  color: var(--mint);
}

.vision .section-head h2 {
  color: var(--white);
}

.vision blockquote {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--mint);
}

.principle-grid {
  display: grid;
  gap: 1px;
  background: color-mix(in srgb, white 16%, transparent);
  border: 1px solid color-mix(in srgb, white 16%, transparent);
}

.principle-grid article {
  background: var(--brand);
  padding: 1.5rem 1.25rem;
}

.principle-grid h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.principle-grid p {
  color: color-mix(in srgb, white 78%, transparent);
  font-size: 0.975rem;
}

/* Works */
.works {
  background: var(--mint);
}

.work-list {
  display: grid;
  gap: 0;
}

.work-list article {
  display: grid;
  gap: 0.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
}

.work-list article:last-child {
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
}

.work-list span {
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-list h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 600;
}

.work-list p {
  max-width: 40rem;
  color: var(--ink-muted);
}

/* Contact */
.contact {
  background: var(--surface);
}

.contact-info {
  max-width: 40rem;
}

.contact-list {
  display: grid;
  gap: 1.25rem;
}

.contact-list li {
  display: grid;
  gap: 0.3rem;
}

.contact-list span {
  color: var(--ink-muted);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-list a {
  color: var(--ink);
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-list a:hover {
  color: var(--brand);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: color-mix(in srgb, white 78%, transparent);
  padding: 3rem 0;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
}

.footer-roles {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.footer-roles li {
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.footer-inner nav a {
  font-size: 0.9375rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-inner nav a:hover {
  color: var(--mint);
}

.copyright {
  font-size: 0.875rem;
  opacity: 0.8;
}

.footer-credit {
  display: block;
  margin-top: 0.45rem;
}

.footer-credit a {
  color: var(--mint);
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.footer-credit a:hover {
  opacity: 0.85;
}

/* Başkanın mesajı */
.page-message .site-header {
  background: color-mix(in srgb, var(--mint) 94%, transparent);
  border-bottom-color: var(--line);
  backdrop-filter: blur(10px);
}

.message-hero {
  padding: calc(var(--header-h) + 1.5rem) 0 0;
  background: var(--surface);
}

.message-hero .container {
  max-width: var(--container);
}

.message-hero-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 2px;
  vertical-align: middle;
}

.message-body {
  background: var(--white);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.message-wrap {
  max-width: 46rem;
}

.message-body .section-head h1 {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.message-content {
  display: grid;
  gap: 1.25rem;
}

.message-content p {
  color: var(--ink-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.message-greeting {
  color: var(--ink) !important;
  font-weight: 600;
}

.message-sign {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.message-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink) !important;
}

.message-title {
  margin-top: 0.25rem;
  color: var(--brand) !important;
  font-size: 0.9375rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.message-back {
  margin-top: 2.5rem;
}

.message-back a {
  color: var(--brand);
  font-weight: 700;
  transition: opacity 0.2s ease;
}

.message-back a:hover {
  opacity: 0.8;
}

.site-nav a[aria-current="page"] {
  color: var(--brand);
}

/* KVKK / çerez onayı */
.consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 42rem;
  margin-inline: auto;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px color-mix(in srgb, var(--ink) 18%, transparent);
  transform: translateY(0);
  opacity: 1;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.consent-banner.is-hidden {
  opacity: 0;
  transform: translateY(0.75rem);
  pointer-events: none;
}

.consent-inner {
  display: grid;
  gap: 1rem;
}

.consent-title {
  margin: 0 0 0.4rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.consent-text {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.consent-text a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.legal-page {
  padding-top: calc(var(--header-h) + 2.5rem);
  background: var(--white);
}

.legal-content {
  display: grid;
  gap: 0.85rem;
}

.legal-content h2 {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.legal-content p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.legal-content a {
  color: var(--brand);
  font-weight: 700;
}

@media (min-width: 640px) {
  .consent-banner {
    left: 1.5rem;
    right: auto;
    bottom: 1.5rem;
    width: min(100% - 3rem, 28rem);
    margin-inline: 0;
  }

  .consent-inner {
    gap: 1.1rem;
  }
}

/* Motion */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.15rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes draw {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.animate-rise {
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.animate-fade {
  animation: fade 1.1s ease both;
}

.animate-draw {
  animation: draw 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.delay-1 {
  animation-delay: 0.12s;
}
.delay-2 {
  animation-delay: 0.24s;
}
.delay-3 {
  animation-delay: 0.36s;
}
.delay-4 {
  animation-delay: 0.5s;
}

/* Responsive */
@media (min-width: 640px) {
  .logo-text {
    display: flex;
  }

  .logo-sub {
    display: inline;
  }

  .logo-img {
    height: 3rem;
  }
}

@media (min-width: 960px) {
  .logo-img {
    height: 3.25rem;
  }
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: start;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    gap: 0 2rem;
    border-left: 0;
    padding-left: 0;
  }

  .timeline li {
    border-left: 2px solid color-mix(in srgb, var(--brand) 22%, transparent);
    padding-left: 1.25rem;
  }

  .timeline li::before {
    left: -0.3rem;
  }

  .principle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .credential-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .work-list article {
    grid-template-columns: 6rem 1fr;
    column-gap: 1.5rem;
    align-items: start;
  }

  .work-list span {
    padding-top: 0.35rem;
  }

  .work-list h3,
  .work-list p {
    grid-column: 2;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .copyright {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
  }

  .hero {
    padding-bottom: 0;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 2rem;
  }

  .hero-portrait {
    width: min(100%, 28rem);
    justify-self: end;
    align-self: end;
  }

  .hero-portrait img {
    max-height: calc(100svh - var(--header-h));
    object-fit: contain;
  }

  .principle-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .principle-grid article:nth-child(4),
  .principle-grid article:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 959px) {
  .site-header.is-open .site-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 0.75rem 1.25rem 1.5rem;
    background: var(--mint);
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .site-nav a {
    padding: 0.9rem 0;
    font-size: 1.05rem;
    color: var(--ink);
  }

  .site-header.is-open .site-nav .btn {
    margin-top: 0.75rem;
    width: fit-content;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .animate-rise,
  .animate-fade,
  .animate-draw {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
