:root {
  --ink: #17212b;
  --muted: #5d6977;
  --paper: #f6f8fb;
  --white: #ffffff;
  --line: rgba(23, 33, 43, 0.12);
  --blue: #1987c9;
  --deep: #0f2d45;
  --teal: #317a7f;
  --gold: #b58b3a;
  --mist: #e9f2f7;
  --soft: #eef0ec;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img,
video,
iframe {
  max-width: 100%;
}

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

p,
h1,
h2,
h3,
h4,
h5,
ul,
figure {
  margin-top: 0;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 32px rgba(15, 45, 69, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: clamp(150px, 18vw, 212px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.7vw, 34px);
  color: var(--deep);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 12px 0;
  opacity: 0.82;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  opacity: 1;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  background: var(--deep);
}

.hero {
  position: relative;
  min-height: min(640px, calc(100vh - 82px));
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(48px, 8vw, 92px) clamp(18px, 5vw, 72px);
  color: var(--white);
}

.hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 45, 69, 0.88), rgba(15, 45, 69, 0.46) 54%, rgba(15, 45, 69, 0.18)),
    linear-gradient(0deg, rgba(23, 33, 43, 0.36), transparent 45%);
  content: "";
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.hero-panel img {
  width: min(280px, 70vw);
  margin-bottom: 26px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  padding: 12px 16px;
}

.hero-panel h1,
.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(2.55rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 10vw, 128px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(15, 45, 69, 0.96), rgba(25, 135, 201, 0.74)),
    url("/wp-content/uploads/2015/11/KizKulesi1920x400.jpg") center / cover;
}

.page-hero::after {
  position: absolute;
  right: clamp(18px, 6vw, 90px);
  bottom: clamp(18px, 5vw, 56px);
  width: clamp(110px, 18vw, 220px);
  height: 3px;
  background: var(--gold);
  content: "";
}

.home-grid,
.about-layout,
.split-notes,
.service-list,
.profiles-grid,
.references-grid,
.news-layout,
.raw-content,
.copy-stack.old-home {
  width: min(1140px, calc(100% - 36px));
  margin-inline: auto;
}

.home-grid {
  display: grid;
  gap: 20px;
  padding: clamp(42px, 8vw, 92px) 0;
}

.home-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  padding: clamp(20px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(15, 45, 69, 0.06);
}

.home-card:nth-child(2) {
  background: var(--mist);
}

.home-card:nth-child(3) {
  background: var(--soft);
}

.home-card-media {
  overflow: hidden;
  border-radius: 6px;
  background: var(--deep);
  aspect-ratio: 16 / 10;
}

.home-card-media img,
.home-card-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-card h2,
.service-block h2,
.split-notes h2,
.reference-card h2 {
  margin-bottom: 14px;
  color: var(--deep);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.home-card p,
.copy-stack p,
.service-block p,
.profile-bio p,
.raw-content p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  margin-top: 6px;
  color: var(--blue);
  font-weight: 800;
}

.text-link::after {
  margin-left: 10px;
  content: "→";
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 70px);
  padding: clamp(48px, 8vw, 96px) 0;
  align-items: start;
}

.about-image {
  position: sticky;
  top: 104px;
  overflow: hidden;
  margin-bottom: 0;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
}

.about-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.copy-stack {
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.signature {
  margin-top: 28px;
  padding-left: 22px;
  border-left: 3px solid var(--gold);
}

.signature p {
  margin-bottom: 6px;
  color: var(--deep);
  font-weight: 700;
}

.split-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: clamp(58px, 8vw, 104px);
}

.split-notes article,
.service-block,
.profile-card,
.reference-card,
.news-list,
.raw-content form,
.raw-content td {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(15, 45, 69, 0.05);
}

.split-notes article {
  padding: clamp(24px, 4vw, 40px);
}

.service-list {
  display: grid;
  gap: 20px;
  padding: clamp(48px, 8vw, 96px) 0;
}

.service-block {
  padding: clamp(24px, 4vw, 44px);
}

.service-block > h2 {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-block > h2::before {
  width: 48px;
  height: 3px;
  background: var(--blue);
  content: "";
  flex: 0 0 auto;
}

.service-sub {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.service-sub h3 {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 1rem;
  letter-spacing: 0;
}

.service-block ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  padding-left: 20px;
  color: var(--muted);
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(48px, 8vw, 96px) 0;
}

.profile-card {
  overflow: hidden;
}

.profile-card summary {
  position: relative;
  display: grid;
  min-height: 100%;
  grid-template-rows: auto 1fr;
  cursor: pointer;
  list-style: none;
}

.profile-card summary::-webkit-details-marker {
  display: none;
}

.profile-card summary::after {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep);
  content: "+";
  font-weight: 800;
}

.profile-card[open] summary::after {
  content: "–";
}

.profile-card summary img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3.25;
  object-fit: cover;
  object-position: top center;
  background: var(--mist);
}

.profile-card summary span {
  display: block;
  padding: 18px;
}

.profile-card strong {
  display: block;
  color: var(--deep);
  font-size: 1.08rem;
  line-height: 1.25;
}

.profile-role {
  margin: 8px 0 0;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 750;
}

.profile-bio {
  padding: 0 18px 20px;
  font-size: 0.96rem;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(48px, 8vw, 96px) 0;
}

.reference-card {
  display: grid;
  min-height: 190px;
  align-items: center;
  justify-items: center;
  padding: 22px;
  text-align: center;
}

.reference-card img {
  max-width: 160px;
  max-height: 76px;
  object-fit: contain;
  margin-bottom: 18px;
}

.reference-card h2 {
  margin-bottom: 0;
  font-size: 1rem;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(24px, 5vw, 58px);
  padding: clamp(48px, 8vw, 96px) 0;
  align-items: start;
}

.news-list {
  margin-bottom: 0;
  padding: clamp(24px, 4vw, 38px) clamp(24px, 4vw, 44px);
  color: var(--muted);
}

.news-list li + li {
  margin-top: 18px;
}

.news-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.news-gallery a {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
}

.news-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.raw-content {
  padding: clamp(48px, 8vw, 96px) 0;
}

.raw-content table,
.raw-content tbody,
.raw-content tr {
  display: block;
  width: 100%;
}

.raw-content tr {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(300px, 1fr);
  gap: 22px;
  align-items: start;
}

.raw-content td {
  display: block;
  padding: clamp(22px, 4vw, 38px);
}

.raw-content iframe {
  width: 100%;
  border: 0;
  border-radius: 8px;
}

.raw-content form {
  padding: clamp(22px, 4vw, 38px);
}

.raw-content .grunion-field-wrap {
  margin-bottom: 16px;
}

.raw-content label {
  display: block;
  margin-bottom: 8px;
  color: var(--deep);
  font-weight: 750;
}

.raw-content label span {
  margin-left: 4px;
  color: var(--gold);
  font-size: 0.88em;
}

.raw-content input,
.raw-content textarea,
.raw-content select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(23, 33, 43, 0.18);
  border-radius: 6px;
  background: #fbfcfd;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

.raw-content textarea {
  min-height: 150px;
  resize: vertical;
}

.raw-content button,
.raw-content .pushbutton-wide {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0 22px;
}

.career-form form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 18px;
}

.career-form .grunion-field-textarea-wrap,
.career-form .contact-submit {
  grid-column: 1 / -1;
}

.copy-stack.old-home {
  min-height: 46vh;
  padding: clamp(48px, 8vw, 96px) 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
}

.site-footer img {
  width: 190px;
}

.site-footer address {
  font-style: normal;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 82px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 24px 70px rgba(15, 45, 69, 0.18);
  }

  .menu-open .nav {
    display: flex;
  }

  .nav a {
    padding: 13px 10px;
  }

  .nav a::after {
    display: none;
  }

  .home-card,
  .about-layout,
  .news-layout,
  .raw-content tr {
    grid-template-columns: 1fr;
  }

  .about-image {
    position: static;
  }

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

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

@media (max-width: 720px) {
  .site-header {
    min-height: 72px;
  }

  .nav {
    top: 72px;
  }

  .hero {
    min-height: 520px;
  }

  .split-notes,
  .profiles-grid,
  .references-grid,
  .news-gallery,
  .service-block ul,
  .career-form form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .home-card {
    padding: 16px;
  }

  .page-hero h1,
  .hero-panel h1 {
    font-size: clamp(2.35rem, 13vw, 3.8rem);
  }
}
