/* ============================================================
   Dr. Egemen Mahzunlar — Web Sitesi UI Kit
   site.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@400;500;600;700;800;900&display=swap');

* { box-sizing: border-box; }

:root {
  --moss-900: #2F3E2C;
  --moss-700: #3E5239;
  --parchment: #F8F4EE;
  --paper: #FFFFFF;
  --terracotta: #B85042;
  --ink-900: #1F2421;
  --ink-500: #6B7268;
  --copper: #A07B3F;
  --border-bej: #E8E0D2;

  --content-max: 1200px;
  --reading-max: 680px;
  --nav-height: 72px;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

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

/* Parchment grain — son derece ince */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.2 0 0 0 0 0.24 0 0 0 0 0.17 0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
  opacity: 0.05;
  mix-blend-mode: multiply;
  z-index: 1000;
}

/* Type */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--moss-900);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: 64px; line-height: 1.05; font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: 40px; line-height: 1.10; font-weight: 500; letter-spacing: -0.01em; }
h3 { font-size: 28px; line-height: 1.20; font-weight: 500; letter-spacing: -0.005em; }
h4 { font-size: 22px; line-height: 1.25; font-weight: 500; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }
a.body-link {
  color: var(--ink-900);
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 150ms var(--ease);
}
a.body-link:hover { text-decoration-color: var(--ink-900); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.eyebrow--accent { color: var(--terracotta); }

.caption {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.lead { font-size: 20px; line-height: 1.55; color: var(--ink-900); }

/* Container */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ----- Top Nav ----- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  background: rgba(248, 244, 238, 0.96);
  border-bottom: 1px solid var(--border-bej);
}
.topnav__inner {
  height: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topnav__brand {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--moss-900);
  letter-spacing: 0.005em;
  line-height: 1;
  padding: 8px 0;
}
.topnav__brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 500;
  margin-top: 4px;
}
.topnav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.topnav__link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-900);
  border-radius: 4px;
  transition: color 150ms var(--ease), background 150ms var(--ease);
  cursor: pointer;
}
.topnav__link:hover { color: var(--moss-900); background: rgba(47, 62, 44, 0.05); }
.topnav__link.is-active { color: var(--moss-900); }
.topnav__cta {
  margin-left: 8px;
}

/* ----- Buttons ----- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 14px 22px 13px;
  background: var(--moss-900);
  color: var(--parchment);
  border: none;
  border-radius: 6px;
  border-bottom: 1px solid var(--terracotta);
  cursor: pointer;
  transition: background-color 150ms var(--ease);
  text-decoration: none;
}
.btn-primary:hover { background: var(--moss-700); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary--sm { padding: 9px 16px 8px; font-size: 13px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 22px;
  background: transparent;
  color: var(--moss-900);
  border: 1px solid var(--moss-900);
  border-radius: 6px;
  cursor: pointer;
  transition: background 150ms var(--ease);
  text-decoration: none;
}
.btn-secondary:hover { background: rgba(47, 62, 44, 0.08); }

.btn-arrow { font-family: var(--font-sans); }

/* ----- Hero ----- */
.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--border-bej);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: 76px;
  line-height: 1.0;
  margin-bottom: 28px;
}
.hero__lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-900);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__portrait {
  aspect-ratio: 4 / 5;
  background: var(--moss-900);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.hero__portrait::after {
  content: 'Klinik portresi · Dr. Egemen Mahzunlar';
  position: absolute;
  left: 18px; bottom: 14px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 244, 238, 0.55);
  font-weight: 500;
  z-index: 2;
}
.hero__portrait::before {
  /* sıcak iç ışık → studyo portresi placeholder */
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 38% at 50% 42%, rgba(216, 207, 185, 0.55), transparent 65%),
    radial-gradient(ellipse 22% 20% at 50% 42%, rgba(248, 244, 238, 0.45), transparent 70%);
}
.hero__portrait .stetho {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0.18;
}
.hero__portrait .frame-corner {
  position: absolute;
  width: 28px; height: 28px;
  border: 1px solid rgba(160, 123, 63, 0.6);
}
.hero__portrait .frame-corner.tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.hero__portrait .frame-corner.br { bottom: 14px; right: 14px; border-left: none; border-top: none; }

/* ----- Authority strip ----- */
.authority {
  padding: 56px 0;
  background: var(--parchment);
  border-bottom: 1px solid var(--border-bej);
}
.authority__inner {
  display: grid;
  grid-template-columns: 1.3fr 1px 1fr 1px 1fr 1px 1fr;
  gap: 32px;
  align-items: center;
}
.authority__stat {
  font-family: var(--font-sans);
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 56px;
  line-height: 1;
  color: var(--moss-900);
  letter-spacing: -0.02em;
}
.authority__stat .accent { color: var(--terracotta); font-size: 0.92em; font-weight: 900; vertical-align: 0.10em; margin-left: 0.04em; display: inline-block; line-height: 1; }
.authority__label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-top: 8px;
  font-weight: 500;
}
.authority__org {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--moss-900);
  line-height: 1;
}
.authority__sub {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-top: 6px;
}
.authority__div {
  width: 1px;
  height: 64px;
  background: var(--copper);
  opacity: 0.5;
}

/* ----- Section frame ----- */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-bej);
}
.section--moss {
  background: var(--moss-900);
  color: var(--parchment);
  border-bottom: none;
}
.section--moss h1, .section--moss h2, .section--moss h3 { color: var(--parchment); }
.section--moss .lead, .section--moss .eyebrow { color: rgba(248, 244, 238, 0.75); }

.section__head {
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}
.section__head h2 { margin-top: 12px; }
.section__head .lead { color: var(--ink-500); }
.section--moss .section__head .lead { color: rgba(248, 244, 238, 0.7); }

/* ----- Services grid ----- */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--border-bej);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 150ms var(--ease);
}
.service-card:hover { border-color: var(--copper); }
.service-card__icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border-bej);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: var(--parchment);
}
.service-card__icon img { width: 22px; height: 22px; }
.service-card h3 { margin: 0; }
.service-card__desc { font-size: 16px; line-height: 1.6; color: var(--ink-900); margin: 0; }
.service-card__more {
  margin-top: auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--moss-900);
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* ----- Pati İzi preview ----- */
.articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.article-card__cover {
  aspect-ratio: 4 / 3;
  background: linear-gradient(140deg, #d8cfb9 0%, #c5b89c 100%);
  border-radius: 4px;
  border: 1px solid var(--border-bej);
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}
.article-card__cover::after {
  /* parchment + copper ink atlas illustration tonu */
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(160, 123, 63, 0.25), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(47, 62, 44, 0.15), transparent 55%);
}
.article-card__cover-2 { background: linear-gradient(140deg, #c8c0a8 0%, #a8a087 100%); }
.article-card__cover-3 { background: linear-gradient(140deg, #ddd1bb 0%, #bbb097 100%); }
.article-card h4 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 10px;
  transition: color 150ms var(--ease);
}
.article-card:hover h4 { color: var(--moss-700); }
.article-card__meta {
  font-size: 13px;
  color: var(--ink-500);
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.article-card__excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-900);
  margin: 0;
}

/* ----- Appointment CTA ----- */
.appointment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.appointment__form {
  background: var(--paper);
  border: 1px solid var(--border-bej);
  border-radius: 8px;
  padding: 32px;
}
.appointment__form .field { margin-bottom: 16px; }
.appointment__form label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-900);
  margin-bottom: 6px;
}
.appointment__form input, .appointment__form textarea, .appointment__form select {
  display: block;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-900);
  background: var(--paper);
  padding: 11px 13px;
  border: 1px solid var(--border-bej);
  border-radius: 4px;
  outline: none;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.appointment__form input:focus, .appointment__form textarea:focus, .appointment__form select:focus {
  border-color: var(--moss-900);
  box-shadow: 0 0 0 1px var(--moss-900);
}
.appointment__form textarea { resize: vertical; min-height: 80px; }
.appointment__form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.appointment__form .submit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.appointment__form .hint { font-size: 12px; color: var(--ink-500); line-height: 1.45; }

.appointment__sidebar { color: var(--parchment); }
.appointment__sidebar .lead {
  color: rgba(248,244,238,0.85);
  font-size: 18px;
  max-width: 460px;
  margin-bottom: 32px;
}
.appointment__contact {
  display: grid;
  gap: 18px;
}
.appointment__contact-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}
.appointment__contact-item .icn {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
}
.appointment__contact-item .icn img { width: 22px; height: 22px; filter: invert(99%) sepia(7%) saturate(285%) hue-rotate(7deg) brightness(99%); }
.appointment__contact-item .lbl { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(248,244,238,0.6); margin-bottom: 2px; }
.appointment__contact-item .val { font-size: 15px; color: var(--parchment); line-height: 1.4; }

.banner-note {
  border-left: 3px solid var(--terracotta);
  background: rgba(248, 244, 238, 0.06);
  padding: 14px 18px;
  border-radius: 0 6px 6px 0;
  margin-top: 28px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(248,244,238,0.9);
}
.banner-note strong { color: var(--parchment); }

/* ----- Footer ----- */
.footer {
  background: var(--parchment);
  padding: 64px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-bej);
}
.footer__col h5 {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 500;
  margin: 0 0 14px;
}
.footer__brand {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 26px;
  color: var(--moss-900);
  line-height: 1.05;
  margin-bottom: 8px;
}
.footer__brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 500;
  margin-top: 6px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__col a { font-size: 14px; color: var(--ink-900); transition: color 150ms var(--ease); }
.footer__col a:hover { color: var(--moss-900); }
.footer__bottom {
  margin-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--ink-500);
}

/* ----- Article (Pati İzi) ----- */
.article {
  padding: 80px 0 96px;
}
.article__wrap {
  max-width: var(--reading-max);
  margin: 0 auto;
  padding: 0 24px;
}
.article__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.article__eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--copper); }
.article h1 {
  font-size: 56px;
  line-height: 1.05;
  margin-bottom: 24px;
}
.article__lead {
  font-size: 22px;
  line-height: 1.5;
  color: var(--moss-900);
  font-family: var(--font-serif);
  font-style: italic;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--copper);
  border-bottom-style: solid;
  opacity: 1;
  position: relative;
}
.article__lead::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--copper); opacity: 0.5; }
.article__body { font-size: 18px; line-height: 1.75; color: var(--ink-900); }
.article__body p { margin: 0 0 1.2em; }
.article__body h2 {
  font-size: 32px;
  line-height: 1.15;
  margin: 48px 0 16px;
}
.article__body h3 {
  font-size: 22px;
  margin: 36px 0 12px;
}
.article__body blockquote {
  margin: 36px 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--copper);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.45;
  color: var(--moss-900);
}
.article__body .pull-note {
  border-left: 3px solid var(--terracotta);
  background: var(--paper);
  padding: 18px 22px;
  border-radius: 0 6px 6px 0;
  margin: 32px 0;
  font-size: 16px;
  line-height: 1.6;
}
.article__body strong { color: var(--moss-900); }
.article__author {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-top: 32px;
  margin-top: 56px;
  border-top: 1px solid var(--border-bej);
}
.article__author .av {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--moss-900);
  color: var(--parchment);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 600; font-size: 22px;
  border: 1px solid var(--copper);
}
.article__author .av span:nth-child(2) { color: var(--copper); margin: 0 4px; }
.article__author .meta .name { font-family: var(--font-serif); font-size: 20px; color: var(--moss-900); font-weight: 600; }
.article__author .meta .role { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-500); margin-top: 4px; font-weight: 500; }

/* ----- Sevk panel ----- */
.sevk-hero {
  padding: 80px 0;
  background: var(--moss-900);
  color: var(--parchment);
}
.sevk-hero h1 { color: var(--parchment); }
.sevk-hero .eyebrow { color: var(--terracotta); }
.sevk-hero .lead { color: rgba(248,244,238,0.8); max-width: 720px; margin-top: 24px; }
.sevk-block {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-bej);
}
.sevk-block:last-child { border-bottom: none; }
.sevk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 64px;
  align-items: start;
}
.sevk-grid h2 { margin-bottom: 16px; }
.report-mock {
  background: var(--paper);
  border: 1px solid var(--border-bej);
  border-radius: 8px;
  padding: 24px 28px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-900);
  box-shadow: 0 4px 16px rgba(31,36,33,0.06);
}
.report-mock h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--moss-900);
  margin: 0 0 8px;
}
.report-mock .rep-eyebrow {
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-500); margin-bottom: 4px;
}
.report-mock hr { border: none; border-top: 1px solid var(--border-bej); margin: 14px 0; }
.report-mock .rep-row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; font-size: 12.5px; padding: 4px 0; }
.report-mock .rep-row dt { color: var(--ink-500); font-weight: 500; }
.report-mock .rep-row dd { margin: 0; color: var(--ink-900); }
.report-mock .findings { margin: 12px 0 6px; }
.report-mock .findings strong { color: var(--moss-900); }
.report-mock .signature {
  margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--border-bej);
  font-family: var(--font-serif); font-size: 16px; color: var(--moss-900);
}

.sevk-protocol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
  counter-reset: step;
}
.sevk-protocol li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-bej);
  counter-increment: step;
}
.sevk-protocol li:last-child { border-bottom: none; }
.sevk-protocol li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--copper);
  line-height: 1;
}
.sevk-protocol h4 { margin: 0 0 4px; font-size: 18px; font-weight: 500; color: var(--moss-900); }
.sevk-protocol p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-900); }

/* ----- Helpers ----- */
.hairline-bej { height: 1px; background: var(--border-bej); border: none; }
.hairline-copper { height: 1px; background: var(--copper); opacity: 0.55; border: none; }

/* =====================================================================
   Multi-page additions
   ===================================================================== */

/* ----- Mobile hamburger nav ----- */
.topnav__toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--border-bej);
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  color: var(--moss-900);
}
.topnav__toggle svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.5; fill: none; }

/* ----- Hakkımda page ----- */
.about-hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--border-bej);
}
.about-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}
.about-hero__portrait {
  aspect-ratio: 4 / 5;
  background: var(--moss-900);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  order: 1;
}
.about-hero__portrait::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 45% 38% at 50% 42%, rgba(216, 207, 185, 0.55), transparent 65%),
    radial-gradient(ellipse 22% 20% at 50% 42%, rgba(248, 244, 238, 0.45), transparent 70%);
}
.about-hero__portrait::after {
  content: 'Klinik portresi · Dr. Egemen Mahzunlar';
  position: absolute; left: 18px; bottom: 14px;
  font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 244, 238, 0.55);
  font-weight: 500;
  z-index: 2;
}
.about-hero__portrait .frame-corner {
  position: absolute;
  width: 28px; height: 28px;
  border: 1px solid rgba(160, 123, 63, 0.6);
}
.about-hero__portrait .frame-corner.tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.about-hero__portrait .frame-corner.br { bottom: 14px; right: 14px; border-left: none; border-top: none; }
.about-hero__copy h1 { font-size: 64px; line-height: 1.05; margin-bottom: 28px; }

.about-bio { padding: 96px 0; border-bottom: 1px solid var(--border-bej); background: var(--paper); }
.about-bio__grid {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 64px;
}
.about-bio__grid h2 { font-size: 32px; }
.about-bio__body { font-size: 17px; line-height: 1.75; color: var(--ink-900); }
.about-bio__body p { margin: 0 0 1.2em; }
.about-bio__body p:last-child { margin-bottom: 0; }

/* Stat row */
.stat-row {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-bej);
  background: var(--parchment);
}
.stat-row__inner {
  display: grid;
  grid-template-columns: 1.2fr 1px 1fr 1px 1fr;
  gap: 32px;
  align-items: center;
}
.stat-row__cell .num {
  font-family: var(--font-sans);
  font-feature-settings: "tnum" 1;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 56px;
  line-height: 1;
  color: var(--moss-900);
  letter-spacing: -0.02em;
}
.stat-row__cell .num .accent { color: var(--terracotta); font-weight: 900; }
.stat-row__cell .lbl {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 500;
  margin-top: 10px; max-width: 220px;
}
.stat-row__div { width: 1px; height: 64px; background: var(--copper); opacity: 0.5; }

/* Principles */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.principle {
  background: var(--paper);
  border: 1px solid var(--border-bej);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.principle .num {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--copper);
  line-height: 1;
}
.principle h3 { font-size: 26px; margin: 0; }
.principle p { font-size: 15px; line-height: 1.6; margin: 0; color: var(--ink-900); }

/* Thesis card */
.thesis-card {
  background: var(--parchment);
  border: 1px solid var(--border-bej);
  border-radius: 8px;
  padding: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: start;
}
.thesis-card .eyebrow { color: var(--terracotta); margin-bottom: 12px; display: block; }
.thesis-card h3 {
  font-size: 28px; line-height: 1.2;
  margin-bottom: 16px;
  text-wrap: balance;
}
.thesis-card dl { margin: 0; display: grid; gap: 14px; }
.thesis-card dt { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-500); font-weight: 500; margin-bottom: 2px; }
.thesis-card dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-900); }

/* ----- Hizmetler detail page ----- */
.hizmet-toc {
  padding: 40px 0;
  background: var(--parchment);
  border-bottom: 1px solid var(--border-bej);
  position: sticky;
  top: var(--nav-height);
  z-index: 20;
  backdrop-filter: blur(2px);
}
.hizmet-toc__inner {
  display: flex; gap: 8px; flex-wrap: wrap;
  align-items: center;
}
.hizmet-toc__inner .lbl {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 500; margin-right: 12px;
}
.hizmet-toc__inner a {
  font-size: 13px; font-weight: 500; padding: 8px 14px;
  border: 1px solid var(--border-bej);
  border-radius: 100px;
  color: var(--ink-900);
  background: var(--paper);
  transition: border-color 150ms var(--ease), color 150ms var(--ease);
}
.hizmet-toc__inner a:hover { border-color: var(--copper); color: var(--moss-900); }

.hizmet-block {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-bej);
}
.hizmet-block:nth-child(even) { background: var(--paper); }
.hizmet-block__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.hizmet-block__side .num {
  font-family: var(--font-serif);
  font-size: 40px;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 24px;
}
.hizmet-block__side h2 { font-size: 38px; margin-bottom: 20px; line-height: 1.1; }
.hizmet-block__side p.lead { font-size: 18px; color: var(--ink-900); line-height: 1.55; }
.hizmet-block__body h3 { font-size: 18px; margin-bottom: 14px; font-weight: 500; color: var(--moss-900);}
.endik-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.endik-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-900);
}
.endik-list li::before {
  content: '';
  width: 16px; height: 16px;
  margin-top: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F3E2C' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polyline points='9 12 11 14 15 10'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}
.proc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--border-bej);
  border-bottom: 1px solid var(--border-bej);
  margin: 28px 0;
}
.proc-list dt { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); font-weight: 500; margin-bottom: 4px; }
.proc-list dd { margin: 0 0 8px; font-size: 14.5px; color: var(--ink-900); line-height: 1.5; }

/* ----- Pati İzi archive ----- */
.archive-hero {
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--border-bej);
}
.archive-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
}
.archive-hero h1 {
  font-size: 64px; line-height: 1.05;
  margin-bottom: 24px;
}
.archive-hero p.lead { color: var(--ink-500); font-size: 19px; max-width: 460px; }

.archive {
  padding: 80px 0 96px;
  border-bottom: 1px solid var(--border-bej);
}
.archive__year {
  display: flex; align-items: baseline; gap: 24px;
  padding-bottom: 18px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--copper);
}
.archive__year h3 {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--moss-900);
  font-weight: 500;
}
.archive__year .cnt {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 500;
}
.archive__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
  margin-bottom: 72px;
}

/* atlas-style article covers (placeholder copper-line illustration) */
.atlas-cover {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  border: 1px solid var(--border-bej);
  background-color: #f0e8d6;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(160, 123, 63, 0.22), transparent 50%),
    radial-gradient(circle at 75% 65%, rgba(47, 62, 44, 0.10), transparent 55%);
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
}
.atlas-cover svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.55;
}
.atlas-cover::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  height: 1px;
  background: var(--copper);
  opacity: 0.5;
}

/* ----- Iletisim page ----- */
.iletisim {
  padding: 96px 0;
  border-bottom: 1px solid var(--border-bej);
}
.iletisim__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.contact-form {
  background: var(--paper);
  border: 1px solid var(--border-bej);
  border-radius: 8px;
  padding: 40px;
}
.contact-form .field { margin-bottom: 16px; }
.contact-form label {
  display: block;
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink-900); margin-bottom: 6px;
}
.contact-form label .req { color: var(--terracotta); margin-left: 2px; }
.contact-form input, .contact-form textarea, .contact-form select {
  display: block; width: 100%;
  font-family: var(--font-sans); font-size: 15px;
  color: var(--ink-900); background: var(--paper);
  padding: 11px 13px;
  border: 1px solid var(--border-bej);
  border-radius: 4px;
  outline: none;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  border-color: var(--moss-900);
  box-shadow: 0 0 0 1px var(--moss-900);
}
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-form .row2, .contact-form .row3 { display: grid; gap: 12px; }
.contact-form .row2 { grid-template-columns: 1fr 1fr; }
.contact-form .row3 { grid-template-columns: 2fr 1fr 1fr; }

/* Radio group */
.radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}
.radio-card {
  position: relative;
  display: block;
  cursor: pointer;
}
.radio-card input { position: absolute; opacity: 0; }
.radio-card span {
  display: block;
  padding: 11px 14px;
  border: 1px solid var(--border-bej);
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-900);
  text-align: center;
  background: var(--paper);
  transition: all 150ms var(--ease);
}
.radio-card:hover span { border-color: var(--copper); }
.radio-card input:checked + span {
  border-color: var(--moss-900);
  background: rgba(47, 62, 44, 0.05);
  color: var(--moss-900);
  box-shadow: inset 0 0 0 1px var(--moss-900);
}

.contact-form .submit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.contact-form .hint { font-size: 12px; color: var(--ink-500); line-height: 1.45; margin: 0; }
.contact-form .ok-note {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(184, 80, 66, 0.04);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-900);
}
.contact-form.is-sent .ok-note { display: block; }

/* Sidebar */
.contact-side .block {
  background: var(--paper);
  border: 1px solid var(--border-bej);
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 16px;
}
.contact-side .block h3 {
  font-size: 22px;
  margin-bottom: 16px;
}
.contact-side .block .row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--border-bej);
}
.contact-side .block .row:first-of-type { border-top: none; padding-top: 0; }
.contact-side .block .row img { width: 18px; height: 18px; margin-top: 4px; opacity: 0.8; }
.contact-side .block .lbl {
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 500;
  margin-bottom: 2px;
}
.contact-side .block .val { font-size: 14.5px; line-height: 1.5; color: var(--ink-900); }
.contact-side .block .val a { color: var(--ink-900); text-decoration: underline; text-decoration-color: var(--terracotta); text-underline-offset: 3px; }

.contact-side .map {
  height: 220px;
  background: var(--parchment);
  border: 1px solid var(--border-bej);
  border-radius: 4px;
  margin-top: 16px;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(to right, rgba(232, 224, 210, 0.7) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(232, 224, 210, 0.7) 1px, transparent 1px),
    linear-gradient(135deg, rgba(160, 123, 63, 0.08), transparent 60%);
  background-size: 24px 24px, 24px 24px, 100% 100%;
}
.contact-side .map::before {
  content: '';
  position: absolute; left: 56%; top: 48%;
  width: 14px; height: 14px;
  background: var(--terracotta);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(184, 80, 66, 0.15);
  transform: translate(-50%, -50%);
}
.contact-side .map::after {
  content: 'Barış Veteriner Kliniği · Kadıköy';
  position: absolute; left: 12px; bottom: 10px;
  font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-500);
  font-weight: 500;
  background: var(--parchment);
  padding: 4px 8px;
  border: 1px solid var(--border-bej);
  border-radius: 4px;
}

.notice-card {
  border-left: 3px solid var(--terracotta);
  background: var(--paper);
  border-top: 1px solid var(--border-bej);
  border-right: 1px solid var(--border-bej);
  border-bottom: 1px solid var(--border-bej);
  padding: 20px 24px;
  border-radius: 0 6px 6px 0;
  margin-top: 16px;
}
.notice-card h4 { font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--terracotta); font-weight: 600; margin: 0 0 8px; }
.notice-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-900); margin: 0; }
.notice-card a { color: var(--moss-900); text-decoration: underline; text-decoration-color: var(--terracotta); text-underline-offset: 3px; font-weight: 600; }

/* ----- Page hero (reusable, lightweight) ----- */
.page-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border-bej);
}
.page-hero h1 {
  font-size: 64px; line-height: 1.05;
  margin: 12px 0 24px;
}
.page-hero .lead { color: var(--ink-500); max-width: 640px; }

/* ----- Reveal on scroll (subtle) ----- */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Article drop cap + share + atlas figure ----- */
.dropcap::first-letter {
  font-family: var(--font-serif);
  float: left;
  font-size: 84px;
  line-height: 0.85;
  font-weight: 500;
  color: var(--moss-900);
  padding: 6px 14px 0 0;
  margin-top: 4px;
}

.atlas-figure {
  margin: 48px auto;
  max-width: 540px;
  text-align: center;
}
.atlas-figure__plate {
  border-top: 1px solid var(--copper);
  border-bottom: 1px solid var(--copper);
  padding: 24px 0;
  position: relative;
}
.atlas-figure__plate::before, .atlas-figure__plate::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--copper);
  opacity: 0.5;
}
.atlas-figure__plate::before { top: -4px; }
.atlas-figure__plate::after { bottom: -4px; }
.atlas-figure svg { display: block; margin: 0 auto; max-width: 360px; }
.atlas-figure__caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-500);
  margin-top: 12px;
}

.share-row {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border-bej);
  display: flex;
  align-items: center;
  gap: 16px;
}
.share-row .lbl {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 500;
  margin-right: 8px;
}
.share-btn {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-bej);
  border-radius: 50%;
  color: var(--moss-900);
  background: var(--paper);
  cursor: pointer;
  transition: border-color 150ms var(--ease), color 150ms var(--ease);
}
.share-btn:hover { border-color: var(--copper); color: var(--terracotta); }
.share-btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.5; fill: none; }

.related-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border-bej);
}
.related-row .lbl {
  grid-column: 1 / -1;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 500;
  margin-bottom: 4px;
}
.related-link {
  display: block;
  padding: 18px 0;
}
.related-link .meta { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--terracotta); font-weight: 500; margin-bottom: 8px; }
.related-link h5 { font-family: var(--font-serif); font-size: 22px; line-height: 1.2; font-weight: 500; color: var(--moss-900); margin: 0; transition: color 150ms var(--ease); }
.related-link:hover h5 { color: var(--moss-700); }

/* ============== Responsive ============== */
@media (max-width: 960px) {
  h1 { font-size: 44px; }
  h2 { font-size: 30px; }
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 48px; margin-bottom: 20px; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__lead { font-size: 17px; }
  .authority__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .authority__div { display: none; }
  .stat-row__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .stat-row__div { display: none; }

  .section { padding: 64px 0; }
  .section__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .services { grid-template-columns: 1fr; }
  .articles { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .archive__grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  .appointment { grid-template-columns: 1fr; gap: 40px; }
  .appointment__form { padding: 24px; }
  .iletisim__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 24px; }
  .contact-form .row3 { grid-template-columns: 1fr 1fr; }
  .hizmet-block__grid { grid-template-columns: 1fr; gap: 28px; }
  .hizmet-block { padding: 64px 0; }
  .about-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .about-hero__portrait { order: 0; aspect-ratio: 16 / 10; max-height: 320px; }
  .about-hero__copy h1 { font-size: 44px; }
  .about-bio__grid { grid-template-columns: 1fr; gap: 24px; }
  .sevk-grid { grid-template-columns: 1fr; gap: 32px; }
  .thesis-card { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
  .archive-hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .archive-hero h1 { font-size: 44px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .page-hero h1 { font-size: 44px; }

  .topnav__menu { display: none; }
  .topnav__toggle { display: inline-flex; }
  .topnav__menu.is-open {
    display: flex;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--parchment);
    border-bottom: 1px solid var(--border-bej);
    padding: 16px 24px 24px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(31, 36, 33, 0.06);
  }
  .topnav__menu.is-open .topnav__link { padding: 12px 14px; font-size: 15px; border-bottom: 1px solid var(--border-bej); border-radius: 0; }
  .topnav__menu.is-open .topnav__link:last-of-type { border-bottom: none; }
  .topnav__menu.is-open .topnav__cta { margin: 12px 0 0; text-align: center; justify-content: center; }
  .topnav__brand { font-size: 18px; }
  .topnav__brand small { display: none; }

  .archive-hero { padding: 56px 0 40px; }
  .iletisim { padding: 56px 0; }
  .article h1 { font-size: 40px; }
  .article__body { font-size: 17px; }
  .hizmet-toc { position: static; padding: 24px 0; }
  .footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .topnav__inner { padding: 0 20px; }
  .authority__inner, .stat-row__inner { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .archive__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 24px; }
  .hizmet-block__side h2 { font-size: 30px; }
  .contact-form .row2, .contact-form .row3 { grid-template-columns: 1fr; }
}

/* ===== Portrait photo (overrides placeholder on hero + about-hero) ===== */
.hero__portrait--photo,
.about-hero__portrait--photo {
  margin: 0;
  background: var(--moss-900);
}
.hero__portrait--photo::before,
.hero__portrait--photo::after,
.about-hero__portrait--photo::before,
.about-hero__portrait--photo::after {
  content: none;
}
.portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
  filter: saturate(0.88) contrast(1.02);
  display: block;
}
.portrait-cap {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 244, 238, 0.78);
  text-shadow: 0 1px 2px rgba(31, 36, 33, 0.45);
  margin: 0;
}
.hero__portrait--photo .frame-corner,
.about-hero__portrait--photo .frame-corner {
  z-index: 2;
  border-color: rgba(248, 244, 238, 0.55);
  mix-blend-mode: screen;
}

@media (max-width: 900px) {
  .about-hero__portrait--photo .portrait-img { object-position: center 30%; }
}

/* ============================================================
   Mobile polish — narrow viewport refinements
   ============================================================ */

/* Hard guard: never let a stray element introduce horizontal scroll on phones */
html, body { overflow-x: hidden; }
html { -webkit-text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: transparent; }

/* Tablet & below */
@media (max-width: 960px) {
  /* HOME hero portrait: match about-hero pattern so it isn't a 4:5 monolith below the copy */
  .hero__portrait,
  .hero__portrait--photo {
    aspect-ratio: 16 / 11;
    max-height: 360px;
  }
  .hero__portrait--photo .portrait-img { object-position: center 30%; }
  .hero__portrait::after { left: 14px; bottom: 12px; }

  /* Vertical rhythm reductions for hero-class sections */
  .about-hero { padding: 56px 0 48px; }
  .about-bio { padding: 64px 0; }
  .sevk-hero { padding: 56px 0; }
  .sevk-block { padding: 56px 0; }
  .iletisim { padding: 56px 0 64px; }
  .page-hero { padding: 56px 0 40px; }
  .archive-hero { padding: 56px 0 40px; }
  .archive { padding: 56px 0 72px; }

  /* Smaller stat numerals */
  .authority__stat,
  .stat-row__cell .num { font-size: 44px; }
  .authority { padding: 40px 0; }
  .stat-row { padding: 56px 0; }
  .stat-row__cell .lbl { max-width: none; }

  /* Section heads tighter */
  .section__head { margin-bottom: 32px; }

  /* Hizmet TOC chips: keep horizontal scroll if many; safer on phones */
  .hizmet-toc { padding: 18px 0; }
  .hizmet-toc__inner {
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .hizmet-toc__inner::-webkit-scrollbar { display: none; }
  .hizmet-toc__inner a { padding: 7px 12px; font-size: 12.5px; flex: 0 0 auto; }
  .hizmet-toc__inner .lbl { flex: 0 0 auto; margin-right: 8px; }

  /* Form submit row stacks so the button isn't squeezed beside the hint */
  .appointment__form .submit-row,
  .contact-form .submit-row {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
  }
  .appointment__form .submit-row .btn-primary,
  .contact-form .submit-row .btn-primary { justify-content: center; }

  /* Footer brand reduced */
  .footer__brand { font-size: 22px; }
  .footer { padding: 56px 0 28px; }

  /* Thesis card */
  .thesis-card { padding: 28px; gap: 24px; }
  .thesis-card h3 { font-size: 26px; }

  /* Article (Pati İzi) */
  .article { padding: 56px 0 72px; }
  .article__wrap { padding: 0 20px; }
  .article h1 { font-size: 38px; }
  .article__lead { font-size: 20px; padding-bottom: 28px; margin-bottom: 28px; }
  .article__body { font-size: 17px; }
  .article__body h2 { font-size: 28px; margin: 40px 0 14px; }
  .article__body h3 { font-size: 20px; margin: 32px 0 12px; }
  .article__body blockquote { font-size: 22px; padding: 0 0 0 20px; }
  .dropcap::first-letter { font-size: 72px; padding: 4px 12px 0 0; }

  /* Iletişim form heading override (inline 32px) */
  .contact-form h2 { font-size: 26px !important; }

  /* Section--moss CTA row: italic quote breaks below buttons on mobile */
  .section--moss .quote-aside { margin-left: 0; margin-top: 12px; flex-basis: 100%; }

  /* Atlas figure tighter margins */
  .atlas-figure { margin: 36px auto; }

  /* Share button bigger tap target */
  .share-btn { width: 42px; height: 42px; }
}

/* Phones */
@media (max-width: 600px) {
  :root { --nav-height: 60px; }

  /* Type scale at phone widths */
  h1 { font-size: 36px; line-height: 1.1; }
  h2 { font-size: 26px; line-height: 1.15; }
  h3 { font-size: 22px; }
  .lead { font-size: 17px; line-height: 1.55; }

  /* Per-hero h1 tightening */
  .hero { padding: 40px 0 56px; }
  .hero h1 { font-size: 40px; margin-bottom: 16px; }
  .hero__lead { font-size: 16.5px; margin-bottom: 24px; }
  .about-hero { padding: 40px 0 40px; }
  .about-hero__copy h1 { font-size: 36px; margin-bottom: 20px; }
  .about-hero__copy p { font-size: 17px !important; max-width: none !important; }
  .about-hero__inner { gap: 28px; }
  .page-hero h1 { font-size: 36px; }
  .page-hero { padding: 48px 0 32px; }
  .archive-hero h1 { font-size: 36px; }
  .sevk-hero { padding: 48px 0; }
  .sevk-hero h1 { font-size: 36px; }
  .sevk-hero .lead { font-size: 16.5px; margin-top: 18px; }

  /* Sections */
  .section { padding: 48px 0; }
  .section__head { margin-bottom: 24px; gap: 12px; }

  /* Container */
  .container { padding: 0 18px; }
  .topnav__inner { padding: 0 18px; }

  /* TopNav slimmer */
  .topnav__brand { font-size: 17px; }
  .topnav__toggle { width: 38px; height: 38px; }
  .topnav__menu.is-open { padding: 12px 18px 20px; top: var(--nav-height); }
  .topnav__menu.is-open .topnav__link { padding: 14px 12px; font-size: 15px; }
  .topnav__menu.is-open .topnav__cta { width: 100%; padding: 12px 16px; font-size: 14px; }

  /* Stat numerals */
  .authority__stat,
  .stat-row__cell .num { font-size: 36px; }
  .authority { padding: 32px 0; }
  .stat-row { padding: 40px 0; }
  .authority__inner,
  .stat-row__inner { gap: 24px; }

  /* Hero portrait cap */
  .hero__portrait,
  .hero__portrait--photo,
  .about-hero__portrait,
  .about-hero__portrait--photo {
    max-height: 280px;
    aspect-ratio: 16 / 11;
  }

  /* Cards / forms padding */
  .service-card,
  .principle { padding: 24px; gap: 12px; }
  .principle h3 { font-size: 22px; }
  .appointment__form,
  .contact-form { padding: 22px 20px; }
  .contact-side .block { padding: 22px; }

  /* Form rows fully stack */
  .appointment__form .row2,
  .appointment__form .row3,
  .contact-form .row2,
  .contact-form .row3 { grid-template-columns: 1fr; }

  /* Radio group: 2-col on phones */
  .radio-group { grid-template-columns: 1fr 1fr; }

  /* Hizmet block */
  .hizmet-block { padding: 48px 0; }
  .hizmet-block__side .num { font-size: 32px; margin-bottom: 16px; }
  .hizmet-block__side h2 { font-size: 26px; margin-bottom: 16px; line-height: 1.15; }
  .hizmet-block__side p.lead { font-size: 16.5px; }
  .hizmet-block__body h3 { font-size: 16px; }
  .endik-list li { font-size: 15px; }
  .endik-list li::before { width: 14px; height: 14px; margin-top: 5px; }
  .proc-list { grid-template-columns: 1fr; gap: 12px; padding: 16px 0; margin: 22px 0; }

  /* Hizmet TOC compact */
  .hizmet-toc { padding: 14px 0; }

  /* Archive */
  .archive__grid { gap: 28px 20px; margin-bottom: 48px; }
  .archive__year { gap: 16px; margin-bottom: 28px; padding-bottom: 14px; }
  .archive__year h3 { font-size: 28px; }
  .article-card h4 { font-size: 22px; }

  /* Thesis card */
  .thesis-card { padding: 22px; gap: 20px; }
  .thesis-card h3 { font-size: 22px; line-height: 1.2; }
  .thesis-card dl { gap: 12px; }
  .thesis-card dd { font-size: 14.5px; }

  /* Article (Pati İzi) */
  .article { padding: 40px 0 64px; }
  .article h1 { font-size: 32px; margin-bottom: 18px; }
  .article__lead { font-size: 18.5px; padding-bottom: 24px; margin-bottom: 24px; }
  .article__body { font-size: 16.5px; line-height: 1.7; }
  .article__body h2 { font-size: 24px; margin: 32px 0 12px; }
  .article__body h3 { font-size: 19px; margin: 26px 0 10px; }
  .article__body blockquote { margin: 28px 0; padding: 0 0 0 16px; font-size: 19px; }
  .dropcap::first-letter { font-size: 60px; padding: 4px 10px 0 0; }
  .article__author { gap: 14px; padding-top: 24px; margin-top: 40px; }
  .article__author .av { width: 48px; height: 48px; font-size: 18px; }
  .article__author .meta .name { font-size: 18px; }

  /* Related row stack */
  .related-row { grid-template-columns: 1fr; gap: 0; margin-top: 48px; }
  .related-row .lbl { margin-bottom: 0; }
  .related-link { padding: 16px 0; border-bottom: 1px solid var(--border-bej); }
  .related-link:last-of-type { border-bottom: none; }
  .related-link h5 { font-size: 20px; }

  /* Share row reflow */
  .share-row { margin-top: 40px; padding-top: 24px; gap: 12px; flex-wrap: wrap; }
  .share-row .lbl { width: 100%; margin: 0 0 4px; }

  /* Sevk grid */
  .sevk-grid { gap: 32px; }
  .sevk-grid h2 { font-size: 24px; }
  .report-mock { padding: 18px 18px; font-size: 12px; }
  .report-mock h4 { font-size: 17px; }
  .report-mock .rep-row { grid-template-columns: 90px 1fr; gap: 12px; font-size: 11.5px; }
  .sevk-protocol li { grid-template-columns: 30px 1fr; gap: 14px; padding: 14px 0; }
  .sevk-protocol li::before { font-size: 22px; }

  /* Footer */
  .footer { padding: 44px 0 24px; }
  .footer__top { gap: 28px; padding-bottom: 28px; }
  .footer__brand { font-size: 20px; }
  .footer__bottom { font-size: 11.5px; gap: 10px; }

  /* Map */
  .contact-side .map { height: 180px; }

  /* Hide stylistic accent that crowds narrow column */
  .topnav__brand small { display: none; }

  /* CTA stacks: ensure big phone buttons feel native */
  .hero__ctas { gap: 12px; }
  .hero__ctas .btn-primary { width: 100%; justify-content: center; padding: 14px 22px; }

  /* Section--moss inline button rows: full-width on phone */
  .section--moss .cta-row .btn-primary,
  .section--moss .cta-row .btn-secondary,
  .sevk-hero .cta-row .btn-primary,
  .sevk-hero .cta-row .btn-secondary { flex: 1 1 100%; justify-content: center; }
}

/* Very narrow phones (iPhone SE / ≤360) */
@media (max-width: 380px) {
  .hero h1,
  .about-hero__copy h1,
  .page-hero h1,
  .archive-hero h1,
  .sevk-hero h1 { font-size: 32px; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .authority__stat,
  .stat-row__cell .num { font-size: 32px; }
  .container,
  .topnav__inner { padding: 0 14px; }
  .article h1 { font-size: 28px; }
  .article__lead { font-size: 17.5px; }
  .article__body { font-size: 16px; }
}
