/*
 * Agency Renaissance — anasayfa (front-page.php)
 * Yerleşim Hulio şablonundan uyarlandı; renk ve tipografi marka token'larından.
 * Tüm sınıflar .hx- önekli: eski .nav/.footer/.hl-* kurallarıyla çakışmaz.
 */

:root {
  --hx-paper: #ffffff;
  --hx-mist: #f4f6fb;
  --hx-navy: #050b1a;
  --hx-navy-2: #0a1128;
  --hx-ink: #0b1329;
  --hx-mute: #5b6478;
  --hx-gold: #e9c176;
  --hx-gold-deep: #9a7230;
  --hx-line: rgba(11, 19, 41, 0.1);
  --hx-on-dark: #dbe1ff;
  --hx-on-dark-mute: #9aa3bd;
  --hx-line-dark: rgba(219, 225, 255, 0.12);

  --hx-sans: "Space Grotesk", system-ui, sans-serif;
  --hx-serif: "Newsreader", Georgia, serif;

  --hx-r-lg: 28px;
  --hx-r-md: 18px;
  --hx-gutter: 24px;
  --hx-max: 1180px;
}

body.hx {
  background: var(--hx-paper);
  color: var(--hx-ink);
  font-family: var(--hx-sans);
  font-size: 16px;
  line-height: 1.6;
}

/* Sıfır özgüllüklü reset: bileşen sınıfları her zaman kazanır. */
:where(.hx) :where(h1, h2, h3, p, figure, figcaption, blockquote, dl, dd) { margin: 0; font-style: normal; }
:where(.hx) :where(ul, ol) { list-style: none; margin: 0; padding: 0; }
:where(.hx) :where(a) { color: inherit; text-decoration: none; }
:where(.hx) :where(img) { display: block; max-width: 100%; height: auto; }
.hx :focus-visible { outline: 2px solid var(--hx-gold-deep); outline-offset: 3px; border-radius: 6px; }

.hx-wrap {
  width: 100%;
  max-width: calc(var(--hx-max) + var(--hx-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--hx-gutter);
}

.hx-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.hx-skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--hx-ink); color: #fff; padding: 10px 16px; border-radius: 999px;
}
.hx-skip:focus { top: 16px; }

/* ---------- ortak parçalar ---------- */

.hx-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--hx-gold); flex: none;
}

.hx-eyebrow, .hx-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; line-height: 1.3; color: currentColor;
}

.hx-badge {
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--hx-line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--hx-mute);
  margin-bottom: 28px;
}

.hx .hx-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font: 500 15px/1 var(--hx-sans);
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.hx .hx-btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.hx .hx-btn--dark { background: var(--hx-navy); color: #fff; }
.hx .hx-btn--dark:hover { background: var(--hx-gold); color: var(--hx-navy); }
.hx .hx-btn--gold { background: var(--hx-gold); color: var(--hx-navy); }
.hx .hx-btn--gold:hover { background: #fff; color: var(--hx-navy); }
.hx .hx-btn--line { border-color: var(--hx-line); color: var(--hx-ink); }
.hx .hx-btn--line:hover { border-color: var(--hx-ink); }
.hx .hx-btn--ghost { border-color: var(--hx-line-dark); color: #fff; }
.hx .hx-btn--ghost:hover { border-color: var(--hx-gold); color: var(--hx-gold); }

.hx-arrow { flex: none; transition: transform .2s; }
.hx a:hover > .hx-arrow { transform: translateX(3px); }

/* Köşesi oyulmuş görsel: oyuğun kendisi sayfa renginde bir blok, iki ters köşe radial-gradient. */
.hx-notched { position: relative; border-radius: var(--hx-r-lg); overflow: hidden; }
.hx-notched > img, .hx-notched > picture > img { width: 100%; height: 100%; object-fit: cover; }
/* AVIF + JPEG yedeği için <picture>: kutu oluşturmaz, img doğrudan çocuk gibi yerleşir. */
.hx-notched > picture { display: contents; }

/* ---------- başlık ---------- */

.hx-header { position: relative; z-index: 20; }
.hx-header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 92px;
}

.hx-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: 19px; letter-spacing: -0.01em; }

/*
 * Logo rozeti: altın logo her yerde lacivert bir daire içinde ("Ekibimiz"
 * kartındaki biçim). Logo dairenin ~%55'i. Lacivert zeminde daire
 * kaybolmasın diye --on-dark ince altın çerçeve ekler.
 */
.hx-logo {
  flex: none; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--hx-navy);
}
.hx-logo img { width: 56%; height: 56%; object-fit: contain; }
.hx-logo--on-dark { box-shadow: inset 0 0 0 1px rgba(233, 193, 118, .35); }
.hx-logo--xl { width: 160px; height: 160px; }

.hx-menu { display: flex; align-items: center; gap: 36px; }
.hx-menu-links { display: flex; gap: 32px; }
.hx-menu-links a { font-size: 15px; color: var(--hx-mute); transition: color .2s; }
.hx-menu-links a:hover, .hx-menu-links a.is-active { color: var(--hx-ink); }
.hx-menu-links a.is-active { text-decoration: underline; text-decoration-color: var(--hx-gold); text-underline-offset: 6px; text-decoration-thickness: 2px; }

.hx .hx-menu-btn {
  display: none;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--hx-ink); cursor: pointer;
}
.hx-menu-lines, .hx-menu-lines::before {
  display: block; width: 24px; height: 2px; margin-inline: auto;
  background: currentColor; border-radius: 2px; transition: transform .25s;
}
.hx-menu-lines { position: relative; transform: translateY(-4px); }
.hx-menu-lines::before { content: ""; position: absolute; top: 8px; left: 0; }
.hx-menu-btn[aria-expanded="true"] .hx-menu-lines { transform: translateY(0) rotate(45deg); }
.hx-menu-btn[aria-expanded="true"] .hx-menu-lines::before { transform: translateY(-8px) rotate(-90deg); }

/* Koyu zeminli sayfalar (get_header( 'home', array( 'tone' => 'dark' ) )) */
body.hx.hx-dark { background: var(--hx-navy); color: var(--hx-on-dark); }
.hx-dark .hx-brand { color: #fff; }
.hx-dark .hx-menu-links a { color: var(--hx-on-dark-mute); }
.hx-dark .hx-menu-links a:hover,
.hx-dark .hx-menu-links a.is-active { color: #fff; }
.hx-dark .hx .hx-menu-btn,
.hx.hx-dark .hx-menu-btn { color: #fff; }
.hx-dark :focus-visible { outline-color: var(--hx-gold); }
.hx-dark .hx-footer { position: relative; z-index: 1; background: var(--hx-paper); }

/* ---------- hero ---------- */

.hx-hero { padding: 40px 0 96px; }
.hx-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center; gap: 56px;
}

.hx-hero-title {
  font-weight: 500;
  font-size: clamp(42px, 5.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--hx-ink);
}
.hx-hero-title span { display: block; }
.hx-gold {
  font-family: var(--hx-serif); font-style: italic; font-weight: 400;
  color: var(--hx-gold-deep);
  letter-spacing: -0.01em;
}

.hx-hero-sub {
  max-width: 34em; margin: 28px 0 36px;
  font-size: 18px; line-height: 1.6; color: var(--hx-mute);
}

.hx-hero-media { position: relative; padding-left: 48px; }
.hx-hero-media .hx-notched { aspect-ratio: 4 / 4.6; }
/* Köşe zaten oyukla örtülü; yuvarlatılırsa kenar yumuşatması ince bir çizgi bırakıyor. */
.hx-notched--tl { border-top-left-radius: 0; }
/* Sol üst oyuk */
.hx-notched--tl::before,
.hx-notched--tl::after { content: ""; position: absolute; z-index: 1; pointer-events: none; }
.hx-notched--tl::before {
  top: -1px; left: -1px; width: calc(22% + 1px); height: calc(34% + 1px);
  background: var(--hx-paper);
  border-bottom-right-radius: var(--hx-r-lg);
}
.hx-notched--tl::after {
  top: -1px; left: 22%; width: var(--hx-r-lg); height: var(--hx-r-lg);
  background: radial-gradient(circle at 100% 100%, transparent calc(var(--hx-r-lg) - .5px), var(--hx-paper) var(--hx-r-lg));
}

/* Oyuğun alt ters köşesi (üçüncü parça olduğu için ayrı eleman). */
.hx-notch-corner {
  position: absolute; z-index: 1; top: 34%; left: -1px;
  width: var(--hx-r-lg); height: var(--hx-r-lg);
  background: radial-gradient(circle at 100% 100%, transparent calc(var(--hx-r-lg) - .5px), var(--hx-paper) var(--hx-r-lg));
}

.hx-ring {
  position: absolute; left: 0; bottom: 64px; z-index: 2;
  width: 160px; height: 160px; border-radius: 50%;
  background: var(--hx-paper);
  display: grid; place-items: center;
}
.hx-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: hx-spin 22s linear infinite; }
.hx-ring text { font: 500 11px var(--hx-sans); fill: var(--hx-ink); letter-spacing: .08em; }
.hx-ring-core {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--hx-navy);
  display: grid; place-items: center;
}
.hx-ring-core img { width: 44px; height: 44px; }

.hx-square {
  position: absolute; left: 132px; bottom: 28px; z-index: 1;
  width: 44px; height: 44px; border-radius: 6px;
  background: var(--hx-gold);
}

@keyframes hx-spin { to { transform: rotate(360deg); } }

/* ---------- altın şerit ---------- */

.hx-band-stripe { height: 56px; background: var(--hx-gold); }
.hx-band-body { background: var(--hx-navy); color: var(--hx-on-dark); padding: 72px 0 80px; }
.hx-band-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.hx-band h2 { font-size: 20px; font-weight: 500; line-height: 1.3; color: #fff; margin-bottom: 14px; }
.hx-band p { font-size: 15px; color: var(--hx-on-dark-mute); max-width: 32em; margin-bottom: 22px; }
.hx-band a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: #fff; }
.hx-band a:hover { color: var(--hx-gold); }

/* ---------- biz kimiz ---------- */

.hx-about { padding: 120px 0 64px; }
.hx-about-head, .hx-about-grid {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px;
}
.hx-eyebrow { padding-top: 10px; }
.hx-statement {
  font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.3;
  letter-spacing: -0.02em; max-width: 26em;
}

.hx-about-grid { grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr); margin-top: 64px; align-items: start; }
.hx-medallion .hx-logo { width: 160px; height: 160px; }

.hx-stat { padding-right: 48px; border-right: 1px solid var(--hx-line); }
.hx-stat-num {
  font-weight: 500; font-size: clamp(96px, 11vw, 148px);
  line-height: .86; letter-spacing: -0.06em;
}
.hx-stat-num sup { font-size: .26em; letter-spacing: 0; vertical-align: top; margin-left: 6px; position: relative; top: .1em; }
.hx-stat-label { margin-top: 20px; color: var(--hx-mute); font-size: 15px; }
.hx-stat-more { display: flex; gap: 32px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--hx-line); }
.hx-stat-more dt { font-weight: 500; font-size: 24px; letter-spacing: -0.02em; }
.hx-stat-more dd { font-size: 13px; color: var(--hx-mute); }

.hx-about-copy p { color: var(--hx-mute); margin-bottom: 32px; max-width: 30em; }

.hx-feature { margin-top: 96px; aspect-ratio: 16 / 8.6; }
.hx-feature > img, .hx-feature > picture > img { width: 100%; height: 100%; object-fit: cover; }
/* Sağ alt oyuk + içine oturan kart */
.hx-feature-card {
  position: absolute; right: 0; bottom: 0; z-index: 1;
  display: flex; align-items: center; gap: 14px;
  width: min(420px, 60%);
  padding: 18px 0 0 22px;
  background: var(--hx-paper);
  border-top-left-radius: var(--hx-r-lg);
  font-size: 13px; line-height: 1.5; color: var(--hx-mute);
  font-style: normal;
}
.hx-feature-card::before,
.hx-feature-card::after {
  content: ""; position: absolute;
  width: var(--hx-r-lg); height: var(--hx-r-lg);
  background: radial-gradient(circle at 0 0, transparent calc(var(--hx-r-lg) - .5px), var(--hx-paper) var(--hx-r-lg));
}
.hx-feature-card::before { right: 0; bottom: 100%; }
.hx-feature-card::after { right: 100%; bottom: 0; }
.hx-feature-card strong { display: block; font-weight: 500; font-size: 15px; color: var(--hx-ink); }
.hx-feature-icon {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: var(--hx-navy); display: grid; place-items: center;
}
.hx-feature-icon img { width: 28px; height: 28px; }

/* ---------- logolar ---------- */

.hx-logos { padding: 72px 0 112px; text-align: center; }
.hx-logos-head h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.hx-logos-head p { margin-top: 8px; font-size: 14px; color: var(--hx-mute); }

.hx-marquee {
  display: flex; overflow: hidden; margin-top: 44px;
  max-width: 1000px; margin-inline: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.hx-marquee-track {
  display: flex; align-items: center; gap: 56px; padding-right: 56px; flex: none;
  animation: hx-slide 40s linear infinite;
}
.hx-marquee:hover .hx-marquee-track { animation-play-state: paused; }
.hx-marquee-track li { display: flex; align-items: center; gap: 10px; color: #8a91a3; font-weight: 500; font-size: 17px; white-space: nowrap; }
.hx-marquee-track svg { width: 24px; height: 24px; }
.hx-marquee-track img { width: auto; filter: grayscale(1); opacity: .7; }

@keyframes hx-slide { to { transform: translateX(-100%); } }

/* ---------- hizmetler ---------- */

.hx-services {
  background: var(--hx-navy); color: var(--hx-on-dark);
  border-radius: 40px 40px 0 0;
  padding: 112px 0 120px;
}
.hx-services-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  padding-bottom: 56px;
}
.hx-services-head .hx-eyebrow { color: #fff; padding-top: 0; margin-bottom: 14px; }
.hx-services-head h2 {
  font-weight: 500; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1;
  letter-spacing: -0.03em; color: #fff; max-width: 15em;
}

.hx-service-list { border-top: 1px solid var(--hx-line-dark); }
.hx-service-list li { border-bottom: 1px solid var(--hx-line-dark); }
.hx-service {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 380px) 40px;
  align-items: center; gap: 24px;
  padding: 40px 0;
}
.hx-service-no { font-size: 20px; font-weight: 500; color: var(--hx-on-dark-mute); font-variant-numeric: tabular-nums; }
.hx-service-title { font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.015em; color: #fff; transition: color .2s; }
.hx-service-desc { font-size: 14px; line-height: 1.6; color: var(--hx-on-dark-mute); }
.hx-service-go {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--hx-line-dark);
  display: grid; place-items: center; color: #fff;
  transition: background-color .2s, border-color .2s, color .2s;
}
.hx-service:hover .hx-service-title { color: var(--hx-gold); }
.hx-service:hover .hx-service-go { background: var(--hx-gold); border-color: var(--hx-gold); color: var(--hx-navy); }

/* ---------- bölüm başlığı (referanslar + portfolyo) ---------- */

.hx-section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  margin-bottom: 52px;
}
.hx-section-head .hx-eyebrow { padding-top: 0; margin-bottom: 14px; }
.hx-section-head h2 {
  font-weight: 500; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.1;
  letter-spacing: -0.03em; max-width: 12em;
}

/* ---------- referanslar ---------- */

.hx-quotes { background: var(--hx-mist); padding: 112px 0; }
.hx-arrows { display: flex; gap: 10px; }
.hx .hx-round {
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: var(--hx-navy); color: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.hx .hx-round:hover { background: var(--hx-gold); color: var(--hx-navy); }
.hx-round[data-hx-scroll="-1"] .hx-arrow { transform: rotate(180deg); }

.hx-quotes-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 28px) / 2);
  gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.hx-quotes-track::-webkit-scrollbar { display: none; }
.hx-quote {
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 22px;
  background: var(--hx-paper); border-radius: var(--hx-r-md); padding: 32px;
}
.hx-quote-mark { color: var(--hx-gold); }
.hx-quote blockquote { font-size: 17px; line-height: 1.6; flex: 1; }
.hx-quote-by { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--hx-mute); }
.hx-quote-by img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.hx-quote-by strong { display: block; font-weight: 500; font-size: 15px; color: var(--hx-ink); }

/* ---------- blog şeridi (eski portfolyo yerleşimi) ---------- */

/*
 * Izgara ve kart sınıfları KORUNDU: portfolyo bölümünün yerleşimi
 * kanıtlanmıştı ve sayfanın ritmi ona göre kuruldu. Değişen şey
 * kartın anlattığı şey, çizildiği biçim değil.
 */
.hx-journal, .hx-work { padding: 120px 0 72px; }
.hx-work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.hx-card { display: flex; flex-direction: column; }
.hx-card-media {
  display: block; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: var(--hx-r-md); background: var(--hx-mist);
  margin-bottom: 22px;
}
.hx-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hx-card:hover .hx-card-media img { transform: scale(1.04); }
.hx-card-meta { font-size: 13px; color: var(--hx-mute); margin-bottom: 8px; }
.hx-card-title { font-size: 21px; font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 12px; }
.hx-card:hover .hx-card-title { text-decoration: underline; text-decoration-color: var(--hx-gold); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.hx-card-text { font-size: 14px; line-height: 1.65; color: var(--hx-mute); }

/* Tarih ile kategori arasındaki eğik çizgi; metinden soluk. */
.hx-card-sep { margin: 0 6px; color: var(--hx-line); }

/*
 * "4 dk okuma" kartın EN ALTINA yapışıyor: özet uzunlukları
 * değiştiğinde üç kartın alt satırı aynı hizada kalsın.
 */
.hx-card-read {
  margin-top: auto; padding-top: 14px;
  font-size: 13px; color: var(--hx-gold-deep);
}

/*
 * Görseli olmayan yazı — baş harf.
 *
 * Boş bırakılsaydı ızgaradaki kartlar farklı boyda olur, satır
 * kayardı. Harf dekoratif; ekran okuyucuya gitmiyor (aria-hidden).
 */
.hx-card-blank {
  display: grid; place-items: center; width: 100%; height: 100%;
  background: linear-gradient(145deg, var(--hx-mist), #e7ebf5);
  font-family: var(--hx-serif); font-size: 64px; color: var(--hx-gold-deep);
}

/* ---------- kayan çağrı ---------- */

.hx-ticker { display: block; overflow: hidden; padding: 72px 0 96px; }
.hx-ticker-track { display: flex; width: max-content; animation: hx-ticker 36s linear infinite; }
.hx-ticker-track span {
  font-weight: 500; font-size: clamp(48px, 7.4vw, 104px); line-height: 1;
  letter-spacing: -0.04em; padding-right: .35em; white-space: nowrap;
  transition: color .2s;
}
.hx-ticker:hover .hx-ticker-track span { color: var(--hx-gold-deep); }
@keyframes hx-ticker { to { transform: translateX(-50%); } }

/* ---------- alt bölüm ---------- */

.hx-footer { padding: 0 16px 16px; }
.hx-footer-card {
  background: var(--hx-navy); color: var(--hx-on-dark-mute);
  border-radius: 40px; overflow: hidden;
  padding: 88px 0 32px;
}
.hx-footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px;
}
.hx-brand--light { color: #fff; }
.hx-footer-intro h2 { margin: 28px 0 10px; font-size: 22px; font-weight: 500; color: #fff; letter-spacing: -0.01em; }
.hx-footer-intro p { font-size: 14px; max-width: 26em; }
.hx-footer-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--hx-gold); font-weight: 500; font-size: 15px; }
.hx-footer h3 { font-size: 15px; font-weight: 500; color: #fff; margin-bottom: 20px; }
.hx-footer li { font-size: 14px; margin-bottom: 12px; overflow-wrap: anywhere; }
.hx-footer li a:hover { color: var(--hx-gold); }

.hx-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.hx-socials a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--hx-line-dark); color: var(--hx-on-dark);
  display: grid; place-items: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
.hx-socials a:hover { background: var(--hx-gold); border-color: var(--hx-gold); color: var(--hx-navy); }
.hx-socials svg { width: 16px; height: 16px; }

.hx-footer-mark {
  margin: 72px 0 0;
  font-weight: 500; font-size: min(8.4vw, 122px); line-height: .9;
  letter-spacing: -0.05em; text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, rgba(219, 225, 255, .16), rgba(219, 225, 255, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hx-footer-legal {
  margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--hx-line-dark);
  text-align: center; font-size: 13px;
}

/* ---------- duyarlı ---------- */

@media (max-width: 1080px) {
  .hx-service { grid-template-columns: 52px minmax(0, 1fr) 40px; }
  .hx-service-desc { grid-column: 2 / 3; grid-row: 2; }
  .hx-service-go { grid-column: 3; grid-row: 1; }
  .hx-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hx-footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --hx-gutter: 20px; }

  .hx .hx-menu-btn { display: grid; place-items: center; }
  .hx-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 12px var(--hx-gutter) 28px;
    background: var(--hx-paper);
    border-bottom: 1px solid var(--hx-line);
    box-shadow: 0 24px 40px -24px rgba(11, 19, 41, .25);
    display: none;
  }
  .hx-menu.is-open { display: flex; }
  .hx-dark .hx-menu { background: var(--hx-navy-2); border-bottom-color: var(--hx-line-dark); }
  .hx-dark .hx-menu-links a { border-bottom-color: var(--hx-line-dark); }
  .hx-menu-links { flex-direction: column; gap: 0; }
  .hx-menu-links a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--hx-line); }
  .hx-menu .hx-btn { justify-content: center; }

  .hx-hero { padding-bottom: 72px; }
  .hx-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hx-hero-media { padding-left: 0; max-width: 520px; }
  /* Oyuğun alt ters köşesi (üçüncü parça olduğu için ayrı eleman). */
.hx-notch-corner {
  position: absolute; z-index: 1; top: 34%; left: -1px;
  width: var(--hx-r-lg); height: var(--hx-r-lg);
  background: radial-gradient(circle at 100% 100%, transparent calc(var(--hx-r-lg) - .5px), var(--hx-paper) var(--hx-r-lg));
}

.hx-ring { left: auto; right: 4px; bottom: -36px; width: 128px; height: 128px; }
  .hx-ring-core { width: 60px; height: 60px; }
  .hx-ring-core img { width: 34px; height: 34px; }
  .hx-square { left: auto; right: 124px; bottom: -22px; width: 32px; height: 32px; }

  .hx-band-grid { grid-template-columns: 1fr; gap: 36px; }
  .hx-band-stripe { height: 36px; }

  .hx-about { padding-top: 88px; }
  .hx-about-head, .hx-about-grid { grid-template-columns: 1fr; gap: 24px; }
  .hx-about-grid { gap: 40px; margin-top: 48px; }
  .hx-medallion { display: none; }
  .hx-stat { padding-right: 0; padding-bottom: 36px; border-right: 0; border-bottom: 1px solid var(--hx-line); }
  .hx-eyebrow { padding-top: 0; }

  .hx-feature { margin-top: 64px; aspect-ratio: 4 / 3; }
  .hx-feature-card { position: relative; width: 100%; padding: 20px 0 0; border-radius: 0; }
  .hx-feature-card::before, .hx-feature-card::after { display: none; }
  .hx-feature { overflow: visible; aspect-ratio: auto; }
  .hx-feature > img, .hx-feature > picture > img { aspect-ratio: 4 / 3; border-radius: var(--hx-r-lg); }

  .hx-services { border-radius: 28px 28px 0 0; padding: 80px 0 88px; }
  .hx-services-head, .hx-section-head { flex-direction: column; align-items: flex-start; }
  .hx-service { padding: 28px 0; gap: 8px 16px; grid-template-columns: 40px minmax(0, 1fr) 40px; }
  .hx-service-no { font-size: 16px; }

  .hx-quotes { padding: 80px 0; }
  .hx-quotes-track { grid-auto-columns: 86%; }

  .hx-journal, .hx-work { padding-top: 88px; }
  .hx-work-grid { grid-template-columns: 1fr; gap: 44px; }

  .hx-footer { padding: 0 8px 8px; }
  .hx-footer-card { border-radius: 28px; padding-top: 64px; }
  .hx-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
}

@media (max-width: 560px) {
  .hx-brand span { font-size: 17px; }
  .hx-hero { padding-top: 16px; }
  .hx-hero-sub { font-size: 16px; }
  .hx-service-desc { grid-column: 1 / -1; }
  .hx-footer-grid { grid-template-columns: 1fr; }
  .hx-stat-more { flex-wrap: wrap; gap: 20px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .hx-ring svg, .hx-marquee-track, .hx-ticker-track { animation: none; }
  .hx-marquee { overflow-x: auto; }
  .hx-card-media img, .hx-arrow { transition: none; }
}
