/* SSH Yazılım — page layout. Built on the design-system tokens in ds.css. */

html { scroll-behavior: smooth; }
body {
  margin: 0;
  text-wrap: pretty;
  /* A long unbroken word must wrap rather than widen the page. */
  overflow-wrap: break-word;
}
a { color: var(--color-accent-700); }
a:hover { color: var(--color-accent-600); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 72px);
}

/* ── Navigation ─────────────────────────────────────────────── */
/* Mobile first: a hidden checkbox opens the panel. The desktop media query
   simply shows the panel regardless of the checkbox, so no JavaScript runs. */
.site-nav-shell {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--color-accent-900);
  color: var(--color-neutral-100);
}
.nav-toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.site-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 14px max(clamp(20px, 5vw, 72px), calc((100% - 1200px) / 2 + clamp(20px, 5vw, 72px)));
}
.nav-brand {
  display: inline-flex;
  line-height: 0;
  color: inherit;
  text-decoration: none;
}
/* Logo kilidi hazır bir SVG; yüksekliği verilir, genişlik oranından gelir. */
.brand-lockup {
  height: 52px;
  width: auto;
  display: block;
}
.nav-toggle {
  display: inline-flex;
  padding: 6px;
  cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--color-neutral-100) 35%, transparent);
  border-radius: var(--radius-md);
}
.nav-toggle-input:focus-visible + .site-nav-bar .nav-toggle {
  outline: 2px solid var(--color-accent-400);
  outline-offset: 2px;
}

.site-nav-links {
  display: none;
  flex-direction: column;
  align-items: stretch;
  padding: 0 clamp(20px, 5vw, 72px) 24px;
}
.nav-toggle-input:checked ~ .site-nav-links { display: flex; }

/* Buttons keep their own padding; only plain links get the row treatment. */
.site-nav-links a:not(.btn) {
  color: inherit;
  text-decoration: none;
  font-size: 16px;
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--color-neutral-100) 12%, transparent);
}
.site-nav-links a:hover,
.site-nav-links a[aria-current='page'] { color: var(--color-accent-400); }
.nav-cta {
  margin-top: 16px;
  border-bottom: 0;
  justify-content: center;
}

.lang-switch {
  display: inline-flex;
  align-self: start;
  margin-top: 16px;
  border: 1px solid color-mix(in srgb, var(--color-neutral-100) 35%, transparent);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.lang-switch .btn {
  border: 0;
  min-height: 32px;
  padding: 4px 14px;
  font-size: 13px;
  text-decoration: none;
}

@media (min-width: 940px) {
  .site-nav-shell {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding-inline: max(clamp(20px, 5vw, 72px), calc((100% - 1200px) / 2 + clamp(20px, 5vw, 72px)));
  }
  .nav-toggle { display: none; }
  .site-nav-bar {
    padding: var(--space-3) 0;
    margin-right: auto;
  }
  /* Shown whatever the checkbox says. */
  .site-nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-4);
    padding: 0;
  }
  .site-nav-links a:not(.btn) {
    font-size: 14px;
    padding: 0;
    border-bottom: 0;
    white-space: nowrap;
  }
  .site-nav-links .btn { white-space: nowrap; }
  .lang-switch { margin-top: 0; align-self: center; }
  .nav-cta { margin-top: 0; }
}

/* ── Shared section headings ─────────────────────────────────── */
.kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-accent-700);
  margin: 0 0 12px;
}
.rule {
  height: 1px;
  border: 0;
  margin: 0 0 32px;
  background: var(--color-divider);
}
.rule-tight { margin-bottom: 24px; }
.section-title {
  font-size: 32px;
  line-height: 36px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}
.body-text {
  font-size: 15px;
  line-height: 24px;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

/* ── Hero banner ─────────────────────────────────────────────── */
/* Full-bleed, and deliberately the same ground as the sticky navigation so the
   two read as one masthead. The blueprint grid is drawn with gradients rather
   than an image: nothing extra to download in front of the LCP element. */
.hero-banner {
  position: relative;
  isolation: isolate;
  background: var(--color-accent-900);
  color: var(--color-neutral-100);
  overflow: hidden;
}
/* Ruled grid, fading out toward the bottom so the banner hands over to the
   light page instead of ending on a hard line. */
.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    repeating-linear-gradient(to right,
      color-mix(in srgb, var(--color-accent-400) 14%, transparent) 0 1px,
      transparent 1px 64px),
    repeating-linear-gradient(to bottom,
      color-mix(in srgb, var(--color-accent-400) 14%, transparent) 0 1px,
      transparent 1px 64px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}
/* The brand gradient, kept low-contrast so display text stays readable. */
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 88% 6%,
      color-mix(in srgb, var(--color-accent-500) 34%, transparent) 0%, transparent 62%),
    radial-gradient(90% 80% at 4% 96%,
      color-mix(in srgb, var(--color-accent-2-600) 26%, transparent) 0%, transparent 60%);
}
/* Centred composition — the reference site's balance, kept in SSH's blueprint
   idiom: a pill eyebrow, a marker-highlighted keyword, one glowing pill CTA. */
.hero-banner-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 128px) clamp(20px, 5vw, 72px) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* The three slides share one grid cell, so the banner is as tall as the tallest
   slide and nothing jumps as they cross-fade. */
.hero-slides {
  display: grid;
  width: 100%;
}
.hero-slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* backwards fill so the 0% keyframe (hidden) applies during the start delay —
     otherwise all three would flash visible before their turn. */
  animation: heroSlide 18s infinite both;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }

@keyframes heroSlide {
  0%   { opacity: 0; visibility: hidden; transform: translateY(16px); pointer-events: none; }
  2%   { visibility: visible; }
  4.5% { opacity: 1; transform: translateY(0); pointer-events: auto; }
  28%  { opacity: 1; transform: translateY(0); pointer-events: auto; }
  33.333% { opacity: 0; transform: translateY(-10px); pointer-events: none; }
  34%  { visibility: hidden; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* Pill eyebrow with a lit dot — the badge above the reference's headline. */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-accent-400) 40%, transparent);
  background: color-mix(in srgb, var(--color-accent-400) 8%, transparent);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-accent-200);
  margin: 0 0 28px;
}
.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent-400);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-accent-400) 22%, transparent);
}

.hero-head {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1.06;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
  text-wrap: balance;
}
.hero-head .hero-line { display: block; }
/* A little breathing room above the marker line so the highlight does not crowd
   the line above it. */
.hero-head .hero-line + .hero-line { margin-top: 0.24em; }
/* The signature marker swipe: a bright accent stroke behind the keyword line,
   with dark ink on top — the reference's yellow highlighter, in SSH's accent.
   box-decoration-break keeps the stroke intact if the line wraps. */
.hero-mark {
  background: linear-gradient(100deg, var(--color-accent-400), var(--color-accent-2-400));
  color: var(--color-accent-900);
  padding: 0.04em 0.26em;
  border-radius: 8px;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.hero-sub {
  font-size: 16px;
  line-height: 26px;
  max-width: 58ch;
  margin: 30px auto 0;
  color: color-mix(in srgb, var(--color-neutral-100) 82%, transparent);
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero-actions .btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 15px;
}
/* The primary CTA gets the reference's soft glow. */
.hero-actions .btn-primary {
  box-shadow: 0 10px 34px color-mix(in srgb, var(--color-accent-500) 45%, transparent);
}
.hero-actions .btn-primary:hover {
  box-shadow: 0 12px 40px color-mix(in srgb, var(--color-accent-500) 60%, transparent);
}
/* The ghost button becomes a bordered pill on the dark ground; the shared
   .btn-ghost is drawn borderless for the light page. */
.hero-banner .btn-ghost {
  border-color: color-mix(in srgb, var(--color-neutral-100) 40%, transparent);
  color: var(--color-neutral-100);
}
.hero-banner .btn-ghost:hover {
  border-color: var(--color-accent-300);
  color: var(--color-accent-300);
  background: color-mix(in srgb, var(--color-neutral-100) 8%, transparent);
}

/* Progress dots, driven by the same 18s timer as the slides: the active dot
   widens into an accent bar while its slide is on screen. */
.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: clamp(36px, 5vw, 56px);
}
.hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-neutral-100) 28%, transparent);
  animation: heroDot 18s infinite both;
}
.hero-dots span:nth-child(1) { animation-delay: 0s; }
.hero-dots span:nth-child(2) { animation-delay: 6s; }
.hero-dots span:nth-child(3) { animation-delay: 12s; }
@keyframes heroDot {
  0%      { width: 8px; background: color-mix(in srgb, var(--color-neutral-100) 28%, transparent); }
  4.5%, 28% { width: 28px; background: var(--color-accent-400); }
  33.333%, 100% { width: 8px; background: color-mix(in srgb, var(--color-neutral-100) 28%, transparent); }
}

/* Respect a reduced-motion preference: no rotation, just the first slide. */
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
  }
  .hero-slide:first-child {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .hero-dots { display: none; }
}

/* Technical strip: the drawing-sheet reference plus a link to every service
   page, which is what carries the homepage's internal linking. Centred to sit
   under the composition like the reference's slider index. */
.hero-strip {
  width: 100%;
  margin-top: clamp(48px, 7vw, 88px);
  border-top: 1px solid color-mix(in srgb, var(--color-neutral-100) 16%, transparent);
  padding: 20px 0 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}
.hero-strip a {
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  color: color-mix(in srgb, var(--color-neutral-100) 74%, transparent);
}
.hero-strip a:hover {
  color: var(--color-accent-300);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── Scope plate ─────────────────────────────────────────── */
.section-plate { padding: 48px 0 60px; }
.plate {
  border: 1px solid var(--color-divider);
  position: relative;
  border-radius: var(--radius-lg);
}
.plate-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: 8px;
}
.plate-table {
  table-layout: fixed;
  width: 100%;
  min-width: 720px;
}
/* Column widths (moved off inline <col style> so the markup carries no CSS). */
.plate-table col:nth-child(1) { width: 72px; }
.plate-table col:nth-child(2) { width: 30%; }
.plate-table col:nth-child(3) { width: 24%; }
.plate-table th {
  padding: 12px 24px 12px 0;
  font-size: 13px;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
  text-transform: none;
  letter-spacing: normal;
}
.plate-table th:first-child,
.plate-table td:first-child { padding-left: 24px; }
.plate-table td {
  padding: 12px 24px 12px 0;
  font-size: 15px;
  line-height: 24px;
  vertical-align: middle;
}
.plate-table .cell-no {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-accent-700);
  font-feature-settings: 'tnum' 1;
}
.plate-table .cell-service {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 21px;
  line-height: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.plate-table .cell-note { color: color-mix(in srgb, var(--color-text) 78%, transparent); }
.plate-note {
  margin: 0;
  padding: 12px 24px;
  border-top: 1px solid var(--color-divider);
  font-size: 13px;
  line-height: 24px;
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
}

/* ── Services ──────────────────────────────────────────────── */
.section-services { padding: 72px 0 60px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.service-card {
  padding: 24px;
  position: relative;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
}
.service-card h3 {
  font-size: 22px;
  line-height: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}
.service-card p {
  font-size: 15px;
  line-height: 24px;
  margin: 16px 0 0;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

/* ── Process ──────────────────────────────────────────────────── */
.section-process { padding: 72px 0 60px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 0 clamp(24px, 3vw, 48px);
}
.process-step {
  border-top: 1px solid var(--color-divider);
  padding: 20px 0 24px;
}
.process-step .step-no {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 44px;
  line-height: 48px;
  letter-spacing: 0.02em;
  color: var(--color-accent);
  font-feature-settings: 'tnum' 1;
  display: block;
}
.process-step h3 {
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 12px 0 0;
}
.process-step p {
  font-size: 15px;
  line-height: 24px;
  margin: 8px 0 0;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

/* ── Technology ───────────────────────────────────────────── */
.section-tech { padding: 48px 0 60px; }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 24px clamp(24px, 3vw, 48px);
}
.tech-grid h3 {
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ── Why SSH ──────────────────────────────────────────────── */
.section-why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px clamp(24px, 5vw, 96px);
  align-items: center;
  padding: 48px 0 84px;
}
.section-why .why-text {
  margin: 16px 0 0;
  max-width: 48ch;
}
.section-why ul {
  font-size: 15px;
  line-height: 24px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
  display: grid;
  gap: 8px;
}
.why-figure {
  /* Narrower than its column and centred: the diagram supports the text, so
     it is scaled down rather than cropped — nothing is cut off. */
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
}
.why-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 1px);
}

/* ── Contact ───────────────────────────────────────────────── */
.section-contact { border-top: 1px solid var(--color-divider); }
.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px clamp(20px, 5vw, 72px) 84px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 48px clamp(24px, 5vw, 96px);
}
.contact-title {
  font-size: clamp(32px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}
.contact-lead {
  font-size: 15px;
  line-height: 24px;
  margin: 16px 0 0;
  max-width: 44ch;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}
.contact-list {
  margin: 32px 0 0;
  display: grid;
  gap: 16px;
  font-size: 15px;
  line-height: 24px;
}
.contact-list > div { display: grid; gap: 2px; }
.contact-list dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
}
.contact-list dd { margin: 0; }

.contact-form {
  align-self: start;
  display: grid;
  gap: 16px;
  position: relative;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.contact-form .form-kicker {
  font-size: 13px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-accent-700);
  font-feature-settings: 'tnum' 1;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 16px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
}
.contact-form .input {
  font-size: 15px;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 400;
}
.contact-form textarea.input {
  resize: vertical;
  font-family: var(--font-body);
}
.contact-form option { color: var(--color-text); }
.form-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.form-footer .btn { padding-inline: 32px; }
.form-privacy {
  font-size: 13px;
  line-height: 18px;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
  max-width: 38ch;
}
.form-error {
  font-size: 13px;
  line-height: 18px;
  color: #b91c1c;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 400;
}
.contact-thanks {
  position: relative;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: 32px;
  align-self: start;
  display: grid;
  place-items: center;
  min-height: 320px;
}
.contact-thanks p {
  font-size: 18px;
  line-height: 28px;
  text-align: center;
  max-width: 32ch;
  margin: 0;
  color: var(--color-accent-2-700);
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-accent-900);
  color: var(--color-neutral-100);
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px clamp(20px, 5vw, 72px) 0;
  border-top: 1px solid color-mix(in srgb, var(--color-neutral-100) 18%, transparent);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 40px clamp(24px, 4vw, 64px);
}
.footer-brand {
  display: grid;
  gap: 16px;
  align-content: start;
  justify-items: start;
}
.footer-brand .brand-lockup { height: 64px; }
.footer-tagline {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  max-width: 34ch;
  color: color-mix(in srgb, var(--color-neutral-100) 70%, transparent);
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--color-neutral-100) 35%, transparent);
  color: var(--color-neutral-100);
}
.footer-social a:hover {
  border-color: var(--color-accent-400);
  color: var(--color-accent-400);
}
.site-footer h2 {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-neutral-100) 55%, transparent);
  margin: 0;
}
.footer-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 20px;
  color: color-mix(in srgb, var(--color-neutral-100) 80%, transparent);
}
.footer-list a {
  color: color-mix(in srgb, var(--color-neutral-100) 80%, transparent);
  text-decoration: none;
}
.footer-list a:hover { color: var(--color-accent-400); }
.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 20px clamp(20px, 5vw, 72px) 32px;
  border-top: 1px solid color-mix(in srgb, var(--color-neutral-100) 12%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  font-size: 13px;
  line-height: 20px;
  color: color-mix(in srgb, var(--color-neutral-100) 55%, transparent);
}
.footer-bottom a {
  color: color-mix(in srgb, var(--color-neutral-100) 75%, transparent);
  text-decoration: none;
}
.footer-bottom a:hover { color: var(--color-accent-400); }

/* ── FAQ ────────────────────────────────────────────────────── */
.section-faq { padding: 48px 0 96px; }
.faq-title { max-width: 32ch; margin-bottom: 32px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: 0 24px;
}
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1;
  color: var(--color-accent-700);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary h3 {
  font-size: 19px;
  line-height: 26px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}
.faq-item p {
  margin: 0;
  padding: 0 0 24px;
  max-width: 78ch;
  font-size: 15px;
  line-height: 26px;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}

/* ── Cookie consent ─────────────────────────────────────────── */
.consent-banner {
  position: fixed;
  left: clamp(12px, 3vw, 24px);
  right: clamp(12px, 3vw, 24px);
  bottom: clamp(12px, 3vw, 24px);
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 24px;
  background: var(--color-accent-900);
  color: var(--color-neutral-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.consent-banner[hidden] { display: none; }
.consent-text {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  max-width: 62ch;
  color: color-mix(in srgb, var(--color-neutral-100) 82%, transparent);
}
.consent-actions { display: flex; gap: 12px; }
.consent-actions .btn-secondary {
  color: var(--color-neutral-100);
  border-color: color-mix(in srgb, var(--color-neutral-100) 40%, transparent);
}
.consent-actions .btn-secondary:hover {
  background: color-mix(in srgb, var(--color-neutral-100) 12%, transparent);
}

/* ── Error page ─────────────────────────────────────────────── */
.error-page { padding: 96px 0 140px; max-width: 60ch; }
.error-code {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: clamp(72px, 12vw, 160px);
  line-height: 1;
  color: var(--color-accent);
  font-feature-settings: 'tnum' 1;
  margin: 0;
}

/* ── Accessibility ──────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--color-accent);
  color: var(--color-bg);
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  color: var(--color-bg);
}

/* ── Inner page header ──────────────────────────────────────── */
.page-head { padding: 64px 0 40px; }
.page-title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.page-lead { max-width: 62ch; margin: 0; }

.breadcrumbs {
  font-size: 13px;
  line-height: 20px;
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: color-mix(in srgb, var(--color-text) 35%, transparent);
}
.breadcrumbs a {
  color: color-mix(in srgb, var(--color-text) 70%, transparent);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--color-accent-700); }

/* Listeler ve makaleler footer'a yapışmasın diye kapanış boşluğu. Ana
   sayfada iletişim bölümü tam genişlikte olduğu için oraya uygulanmaz. */
.listing,
.article:last-child {
  padding-bottom: clamp(72px, 8vw, 120px);
}

/* ── Entry cards (blog + projects index) ────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.entry-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.entry-card-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-bottom: 1px solid var(--color-divider);
}
.entry-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
  font-feature-settings: 'tnum' 1;
}
.entry-title {
  font-size: 22px;
  line-height: 26px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}
.entry-title a {
  color: inherit;
  text-decoration: none;
}
.entry-title a:hover { color: var(--color-accent-700); }
.entry-excerpt {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
  flex: 1;
}
.entry-link {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  align-self: start;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin: 56px 0 0;
}
.pagination-status {
  font-size: 13px;
  letter-spacing: 0.08em;
  font-feature-settings: 'tnum' 1;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
}

/* ── Article (blog post + project case study) ───────────────── */
.article {
  max-width: 76ch;
  margin: 0 auto;
  padding: 56px 0 24px;
}
.article-head { margin-bottom: 32px; }
.article-title {
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.article-lead {
  font-size: 18px;
  line-height: 28px;
  margin: 16px 0 0;
  color: color-mix(in srgb, var(--color-text) 82%, transparent);
}
.article-figure {
  margin: 0 0 40px;
  border-radius: var(--radius-lg);
}
.article-figure img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 1px);
}
.article-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--color-divider);
}
.article-foot .btn { text-decoration: none; }

.project-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  margin: 32px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--color-divider);
}
.project-facts > div { display: grid; gap: 2px; }
.project-facts dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
}
.project-facts dd { margin: 0; font-size: 15px; }

/* Long-form body copy rendered from the editor. */
.prose {
  font-size: 17px;
  line-height: 30px;
}
.prose > * + * { margin-top: 24px; }
.prose h2 {
  font-size: 30px;
  line-height: 34px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 48px;
}
.prose h3 {
  font-size: 22px;
  line-height: 28px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 36px;
}
.prose ul, .prose ol { padding-left: 24px; display: grid; gap: 8px; }
.prose blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--color-accent);
  font-size: 19px;
  line-height: 30px;
  color: color-mix(in srgb, var(--color-text) 82%, transparent);
}
.prose img {
  width: 100%;
  height: auto;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
}
.prose code {
  font-size: 0.9em;
  padding: 2px 6px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
}
.prose pre {
  overflow-x: auto;
  padding: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
}

.related {
  padding: 64px 0 96px;
  border-top: 1px solid var(--color-divider);
  margin-top: 64px;
}

/* ── Maintenance page ───────────────────────────────────────── */
.maintenance-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vw, 48px);
  background: var(--color-bg);
}
.maintenance { width: min(560px, 100%); }
.maintenance-plate {
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  gap: 20px;
  background: #fff;
}
.maintenance-plate .brand-lockup { height: 72px; }
.maintenance-title {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}
.maintenance-text {
  margin: 0;
  font-size: 16px;
  line-height: 26px;
  color: color-mix(in srgb, var(--color-text) 78%, transparent);
}
.maintenance-contact {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--color-divider);
  display: grid;
  gap: 12px;
  font-size: 15px;
}
.maintenance-contact > div { display: grid; gap: 2px; }
.maintenance-contact dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-text) 60%, transparent);
}
.maintenance-contact dd { margin: 0; }

/* Shown to signed-in staff while maintenance mode is on. */
.maintenance-flag {
  margin: 0;
  padding: 10px clamp(20px, 5vw, 72px);
  background: var(--color-accent-2-600);
  color: var(--color-neutral-100);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}

.maintenance-staff {
  margin: 0;
  padding: 14px 16px;
  border: 1px dashed var(--color-accent);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 22px;
  color: var(--color-text);
}

/* ── Service pages ───────────────────────────────────────────── */
/* Cards that are links. The whole card is not wrapped in an <a> — the heading
   carries the link so the accessible name stays the service name, and ::after
   stretches its hit area over the card. */
.service-card-linked { padding-bottom: 52px; }
.service-card-linked h2,
.service-card-linked h3 { margin: 0; }
.service-card-linked h2 a,
.service-card-linked h3 a {
  color: inherit;
  text-decoration: none;
}
.service-card-linked h2 a::after,
.service-card-linked h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.service-card-linked:hover { border-color: var(--color-accent-600); }
.service-card-linked:hover h2 a,
.service-card-linked:hover h3 a { color: var(--color-accent-700); }
.service-card-linked:focus-within { outline: 2px solid var(--color-accent-600); outline-offset: 3px; }
.service-card-linked h2 a:focus-visible,
.service-card-linked h3 a:focus-visible { outline: none; }
.service-card-more {
  position: absolute;
  left: 24px;
  bottom: 20px;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-accent-700);
}

.service-index-grid { margin-bottom: 40px; }
.service-index-cta {
  max-width: 70ch;
  margin: 0 0 72px;
}

/* Detail page */
.service-intro {
  max-width: 72ch;
  padding-bottom: 16px;
}
.service-intro p { margin: 0 0 20px; }
.service-block { padding: 40px 0 16px; }
.service-block:last-child { padding-bottom: 72px; }
.service-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 40px clamp(24px, 5vw, 72px);
}
.service-deliverables {
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-deliverables li {
  position: relative;
  padding: 0 0 0 28px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 24px;
  color: color-mix(in srgb, var(--color-text) 82%, transparent);
}
/* A drawing-sheet tick rather than a bullet, to match the plate elsewhere. */
.service-deliverables li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--color-accent-600);
  border-bottom: 2px solid var(--color-accent-600);
  transform: rotate(-45deg);
}

/* The scope plate's service column links to the detail pages. */
.plate-table .cell-service a {
  color: inherit;
  text-decoration: none;
}
.plate-table .cell-service a:hover {
  color: var(--color-accent-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}
