﻿:root {
  --bg: #07100f;
  --bg-2: #0d1716;
  --panel: #121d1b;
  --panel-2: #172321;
  --text: #edf6f3;
  --muted: #9fb0ab;
  --soft: #6e7d79;
  --line: rgba(222, 240, 235, 0.13);
  --accent: #58d6b4;
  --accent-2: #8fe7d0;
  --ink: #04100d;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

main {
  display: flex;
  flex: 1;
  flex-direction: column;
}

main,
.site-footer {
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms ease;
  will-change: transform, opacity;
}

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

.site-header {
  align-items: center;
  background: rgba(7, 16, 15, 0.58);
  border-bottom: 1px solid transparent;
  column-gap: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 472px;
  height: 72px;
  left: 0;
  padding: 0 clamp(20px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    backdrop-filter 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  backdrop-filter: blur(18px);
  background: rgba(7, 16, 15, 0.84);
  border-color: var(--line);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 800;
  gap: 12px;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background:
    linear-gradient(135deg, rgba(237, 246, 243, 0.96) 0 22%, transparent 22%),
    linear-gradient(145deg, rgba(143, 231, 208, 0.98), rgba(88, 214, 180, 0.9) 55%, rgba(42, 133, 115, 0.96));
  border: 1px solid rgba(237, 246, 243, 0.34);
  border-radius: 9px;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -10px 18px rgba(4, 16, 13, 0.12);
  color: var(--ink);
  display: inline-flex;
  font-family:
    "Arial Black", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.02em;
  line-height: 1;
  position: relative;
  text-transform: uppercase;
  width: 40px;
}

.brand-mark::after {
  border: 1px solid rgba(88, 214, 180, 0.32);
  border-radius: 14px;
  content: "";
  inset: -5px;
  position: absolute;
}

.header-actions {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, 112px);
  justify-content: flex-end;
  justify-self: end;
  width: 472px;
}

.header-contact-button {
  align-items: center;
  background: rgba(88, 214, 180, 0.12);
  border: 1px solid rgba(88, 214, 180, 0.42);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  color: #eafff8;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 850;
  height: 40px;
  justify-content: center;
  min-width: 108px;
  padding: 0 18px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
  white-space: nowrap;
}

.header-contact-button:hover,
.header-contact-button:focus-visible {
  background: rgba(88, 214, 180, 0.22);
  border-color: rgba(143, 231, 208, 0.72);
  color: #ffffff;
  outline: none;
}

.hero {
  min-height: 53vh;
  overflow: hidden;
  position: relative;
}

.hero-media,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-media {
  background-image: url("assets/landing-background.webp");
  background-position: 64% center;
  background-size: cover;
  filter: saturate(0.95) contrast(1.08);
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 16, 15, 0.98) 0%, rgba(7, 16, 15, 0.86) 35%, rgba(7, 16, 15, 0.34) 72%, rgba(7, 16, 15, 0.12) 100%),
    linear-gradient(180deg, rgba(7, 16, 15, 0.14) 0%, rgba(7, 16, 15, 0.1) 48%, var(--bg) 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 0;
  margin-right: auto;
  min-height: 53vh;
  max-width: 1240px;
  padding: 58px clamp(34px, 6vw, 112px) 10px;
  position: relative;
  transform: translateY(42px);
  width: 100%;
  z-index: 1;
}

html[data-nav-transition="from-right"] main,
html[data-nav-transition="from-right"] .site-footer {
  opacity: 0;
  transform: translate3d(30vw, 0, 0);
}

html[data-nav-transition="from-left"] main,
html[data-nav-transition="from-left"] .site-footer {
  opacity: 0;
  transform: translate3d(-30vw, 0, 0);
}

html[data-nav-transition="same"] main,
html[data-nav-transition="same"] .site-footer {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}

body.is-leaving-next main,
body.is-leaving-next .site-footer {
  opacity: 0;
  transform: translate3d(-30vw, 0, 0);
  filter: blur(10px);
}

body.is-leaving-prev main,
body.is-leaving-prev .site-footer {
  opacity: 0;
  transform: translate3d(30vw, 0, 0);
  filter: blur(10px);
}

body.is-leaving-same main,
body.is-leaving-same .site-footer {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  filter: blur(8px);
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.45rem, 3.55vw, 3.9rem);
  line-height: 0.98;
  margin-bottom: 10px;
  max-width: 600px;
}

.hero-lead {
  color: #e7f4ef;
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  font-weight: 800;
  margin-bottom: 10px;
  max-width: 540px;
}

.hero-note {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
  margin-bottom: 14px;
  max-width: 640px;
}

.hero-focus {
  display: grid;
  gap: 3px;
  grid-template-columns: 1fr;
  margin-top: 14px;
  max-width: 680px;
}

.hero-focus p {
  color: #d9e7e2;
  font-size: 0.78rem;
  font-weight: 750;
  margin: 0;
}

.hero-focus p::before {
  background: var(--accent);
  border-radius: 999px;
  content: "";
  display: inline-block;
  height: 4px;
  margin-right: 8px;
  transform: translateY(-2px);
  width: 4px;
}

.contact-hero-links a {
  color: var(--accent-2);
  font-weight: 850;
}

.contact-hero-links a:hover,
.contact-hero-links a:focus-visible {
  color: #ffffff;
  outline: none;
}

.contact-hero-panel {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  max-width: 640px;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms ease;
  will-change: transform, opacity;
}

html[data-nav-transition="from-right"] .contact-page .contact-hero-panel,
html[data-nav-transition="from-left"] .contact-page .contact-hero-panel {
  opacity: 0;
  transform: translate3d(48px, 0, 0);
}

html[data-nav-transition="from-right"] .contact-page .contact-hero-card,
html[data-nav-transition="from-left"] .contact-page .contact-hero-card {
  opacity: 0;
  transform: translate3d(72px, 0, 0);
}

html[data-nav-transition="from-right"] .contact-page .contact-hero-card:nth-child(2),
html[data-nav-transition="from-left"] .contact-page .contact-hero-card:nth-child(2) {
  transition-delay: 70ms;
}

html[data-nav-transition="from-right"] .contact-page .contact-hero-card:nth-child(1),
html[data-nav-transition="from-left"] .contact-page .contact-hero-card:nth-child(1) {
  transition-delay: 0ms;
}

.contact-page .hero-content {
  justify-content: flex-start;
  padding-top: clamp(184px, 19.2vh, 202px);
  transform: none;
}

.about-page .hero-content {
  justify-content: center;
  padding: 58px clamp(34px, 6vw, 112px) 10px;
  transform: translateY(42px);
}

.contact-page .hero {
  min-height: 53vh;
}

.contact-page .hero-content {
  min-height: 53vh;
}

.contact-hero-card {
  background: linear-gradient(180deg, rgba(18, 29, 27, 0.86), rgba(10, 19, 17, 0.84));
  border: 1px solid rgba(143, 231, 208, 0.22);
  border-radius: 8px;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 3px;
  max-width: 560px;
  padding: 14px 16px;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    opacity 320ms ease;
}

.contact-hero-card:hover,
.contact-hero-card:focus-visible {
  background: linear-gradient(180deg, rgba(23, 40, 36, 0.92), rgba(12, 24, 21, 0.9));
  border-color: rgba(143, 231, 208, 0.46);
  outline: none;
  transform: translateY(-1px);
}

.contact-card-kicker {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-hero-card strong {
  color: #f5fffc;
  font-size: clamp(0.96rem, 1.25vw, 1.08rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contact-hero-card small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
}

.about-hero-panel {
  gap: 12px;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  max-width: 1040px;
}

.about-page .contact-hero-card {
  background:
    linear-gradient(180deg, rgba(20, 35, 32, 0.92), rgba(8, 18, 16, 0.9)),
    radial-gradient(circle at top right, rgba(88, 214, 180, 0.08), transparent 34%);
  border-color: rgba(143, 231, 208, 0.24);
  gap: 8px;
  max-width: none;
  padding: 18px;
  position: relative;
}

.about-page .contact-hero-card::before {
  background: linear-gradient(180deg, rgba(88, 214, 180, 0.95), rgba(88, 214, 180, 0));
  border-radius: 999px;
  content: "";
  inset: 18px auto 18px 0;
  opacity: 0.72;
  position: absolute;
  width: 2px;
}

.about-page .contact-hero-card:hover,
.about-page .contact-hero-card:focus-visible {
  background:
    linear-gradient(180deg, rgba(23, 40, 36, 0.94), rgba(10, 21, 19, 0.92)),
    radial-gradient(circle at top right, rgba(88, 214, 180, 0.11), transparent 36%);
}

.about-wide-card {
  grid-column: 1 / -1;
}

.experience-timeline,
.education-list {
  display: grid;
  gap: 7px;
  margin-top: 4px;
}

.experience-timeline p,
.education-list p {
  background: rgba(3, 12, 11, 0.34);
  border: 1px solid rgba(143, 231, 208, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 10px 12px;
}

.experience-timeline b,
.education-list b {
  color: #f5fffc;
  font-size: 0.92rem;
  line-height: 1.2;
}

.experience-timeline span,
.education-list span {
  color: #a9c8bf;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.25;
}

.credential-list {
  color: #c8ddd7;
  display: grid;
  font-size: 0.8rem;
  font-weight: 650;
  gap: 7px;
  line-height: 1.3;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.credential-list li {
  background: rgba(3, 12, 11, 0.28);
  border: 1px solid rgba(143, 231, 208, 0.1);
  border-radius: 8px;
  padding: 8px 10px;
}

.skill-list {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.about-detail-section {
  padding-top: 50px;
}

.about-columns {
  grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.professional-list li {
  display: grid;
  gap: 4px;
}

.professional-list strong {
  color: #f5fffc;
  font-size: 0.98rem;
  line-height: 1.25;
}

.professional-list span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.35;
}

.compact-list li {
  color: #e4f5f0;
  font-weight: 720;
}

.profile-section {
  border-top: 0;
  display: grid;
  gap: clamp(48px, 5vw, 88px);
  grid-template-columns: minmax(320px, 0.46fr) minmax(0, 1.9fr);
  margin-left: 0;
  margin-right: auto;
  max-width: none;
  padding: 50px clamp(34px, 6vw, 112px) 16px;
  position: relative;
}

.profile-section::before {
  background: rgba(255, 255, 255, 0.08);
  content: "";
  height: 1px;
  left: clamp(34px, 6vw, 112px);
  position: absolute;
  right: clamp(34px, 6vw, 112px);
  top: 28px;
}

.profile-intro h2 {
  font-size: clamp(1.45rem, 1.9vw, 2.05rem);
  line-height: 1.1;
  margin-bottom: 10px;
  max-width: 330px;
}

.profile-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.42;
  margin-bottom: 0;
  max-width: 330px;
}

.profile-columns {
  display: grid;
  gap: clamp(34px, 4vw, 70px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.profile-panel {
  min-width: 0;
}

.profile-panel h3 {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.clean-list {
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 0;
}

.clean-list li {
  border-bottom: 1px solid var(--line);
  color: #d8e6e1;
  font-size: 0.92rem;
  line-height: 1.35;
  padding: 10px 0;
}

.contact-section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  grid-template-columns: minmax(300px, 0.6fr) minmax(0, 1fr);
  padding: 36px clamp(34px, 6vw, 112px) 44px;
}

.contact-page-main {
  justify-content: center;
  min-height: calc(100vh - 55px);
  padding-top: 72px;
}

.contact-page-section {
  align-items: center;
  border-top: 0;
  margin: 0 auto;
  max-width: 1120px;
  width: 100%;
}

.contact-page-section .contact-copy h1 {
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.02;
  margin-bottom: 14px;
  max-width: 560px;
}

.contact-copy h2 {
  font-size: clamp(1.38rem, 1.9vw, 2rem);
  line-height: 1.12;
  margin-bottom: 10px;
  max-width: 460px;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.48;
  margin-bottom: 0;
  max-width: 520px;
}

.contact-actions {
  align-self: center;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-link {
  align-items: center;
  background: linear-gradient(180deg, rgba(23, 35, 33, 0.96), rgba(14, 25, 23, 0.96));
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  min-height: 82px;
  padding: 16px;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  background: linear-gradient(180deg, rgba(30, 48, 44, 0.98), rgba(17, 31, 28, 0.98));
  border-color: rgba(88, 214, 180, 0.54);
  outline: none;
  transform: translateY(-1px);
}

.contact-icon {
  align-items: center;
  aspect-ratio: 1;
  background: rgba(88, 214, 180, 0.12);
  border: 1px solid rgba(88, 214, 180, 0.32);
  border-radius: 8px;
  color: var(--accent-2);
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 0.82rem;
  font-weight: 900;
  justify-content: center;
  line-height: 1;
}

.contact-link strong,
.contact-link small {
  display: block;
}

.contact-link strong {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.2;
}

.contact-link small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.philosophy {
  background: #d6e9e2;
  color: #07100f;
  margin-top: auto;
  padding: 4px max(clamp(20px, 5vw, 72px), calc((100vw - var(--max)) / 2 + 40px));
  text-align: center;
}

.philosophy h2 {
  font-size: clamp(0.78rem, 0.82vw, 0.9rem);
  line-height: 1.25;
  margin: 0 auto;
  max-width: 680px;
}

.philosophy .eyebrow {
  color: #11624f;
  font-size: 0.54rem;
  margin-bottom: 2px;
}

.blog-page .hero {
  min-height: 38vh;
}

.blog-page .hero-content {
  justify-content: flex-end;
  min-height: 38vh;
  padding: 88px clamp(34px, 6vw, 112px) 28px;
  transform: translateY(-40px);
}

.blog-feed {
  /* Sağ padding header ile aynı: Öne çıkanlar sağ kenarı = İletişim butonu sağ kenarı */
  padding: 50px clamp(20px, 4vw, 56px) 24px clamp(34px, 6vw, 112px);
  position: relative;
}

.blog-feed::before {
  background: rgba(255, 255, 255, 0.08);
  content: "";
  height: 1px;
  left: clamp(34px, 6vw, 112px);
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  top: 28px;
}

.blog-feed-header {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-top: 18px;
}

.blog-feed-header h2 {
  font-size: clamp(1.45rem, 1.9vw, 2.05rem);
  line-height: 1.1;
  margin: 0 0 8px;
}

.blog-feed-header p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
  max-width: 46ch;
}

.blog-tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  max-width: 520px;
}

.blog-tag-chip {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.blog-feed-layout {
  align-items: start;
  display: grid;
  gap: 20px;
  /* 472px = header-actions genişliği → sol kenar = Ana Sayfa sol kenarı */
  grid-template-columns: minmax(0, 1fr) 472px;
}

.blog-post-list {
  display: grid;
  gap: 16px;
  min-width: 0;
  width: 100%;
}

.blog-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 8px;
}

.blog-page-link {
  align-items: center;
  background: rgba(84, 236, 204, 0.06);
  border: 1px solid rgba(143, 231, 208, 0.18);
  border-radius: 10px;
  color: var(--text);
  display: inline-flex;
  font-size: 0.92rem;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  padding: 8px 14px;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.blog-page-link:hover,
.blog-page-link:focus-visible {
  background: rgba(84, 236, 204, 0.12);
  border-color: rgba(143, 231, 208, 0.42);
}

.blog-page-link.is-current {
  background: rgba(84, 236, 204, 0.16);
  border-color: rgba(143, 231, 208, 0.55);
  color: #e9fff8;
  font-weight: 600;
}

.blog-page-link.is-disabled {
  cursor: default;
  opacity: 0.38;
  pointer-events: none;
}

.blog-highlight-panel {
  background: linear-gradient(180deg, rgba(18, 29, 27, 0.9), rgba(10, 19, 17, 0.88));
  border: 1px solid rgba(143, 231, 208, 0.18);
  border-radius: 14px;
  display: grid;
  gap: 16px;
  padding: 22px;
  position: sticky;
  top: 108px;
}

.blog-highlight-panel h2 {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.2;
  margin: 0 0 8px;
}

.blog-highlight-link {
  align-items: center;
  background: rgba(84, 236, 204, 0.06);
  border: 1px solid rgba(143, 231, 208, 0.14);
  border-radius: 10px;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 160px;
  min-height: 132px;
  padding: 18px;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.blog-highlight-link:hover,
.blog-highlight-link:focus-visible {
  background: rgba(84, 236, 204, 0.1);
  border-color: rgba(143, 231, 208, 0.4);
}

.blog-highlight-link img {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(143, 231, 208, 0.16);
  border-radius: 8px;
  display: block;
  grid-column: 2;
  grid-row: 1;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.blog-highlight-copy {
  display: grid;
  gap: 10px;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.blog-highlight-link span {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.blog-highlight-link strong {
  color: #f1fbf8;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
}

.blog-post-card {
  background: linear-gradient(180deg, rgba(18, 29, 27, 0.86), rgba(10, 19, 17, 0.84));
  border: 1px solid rgba(143, 231, 208, 0.18);
  border-radius: 14px;
  box-sizing: border-box;
  display: block;
  overflow: hidden;
  padding: 22px;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
  width: 100%;
}

.blog-post-card:hover,
.blog-post-card:focus-within {
  border-color: rgba(143, 231, 208, 0.42);
  transform: translateY(-1px);
}

.blog-post-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.blog-post-card h3 {
  color: var(--text);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.2;
  margin: 0;
}

.blog-post-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-post-card h3 a:hover,
.blog-post-card h3 a:focus-visible {
  color: var(--accent);
}

.blog-post-card p {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.55;
  margin: 0;
}

.blog-post-meta {
  align-items: center;
  color: #d8e6e1;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 720;
  gap: 8px;
}

.blog-post-meta time {
  color: var(--muted);
  font-weight: 650;
}

.blog-post-link {
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 800;
  margin-top: auto;
  text-decoration: none;
  width: fit-content;
}

.blog-post-link:hover,
.blog-post-link:focus-visible {
  color: #8ff8dc;
}

.blog-post-image {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(143, 231, 208, 0.16);
  border-radius: 10px;
  display: block;
  float: right;
  height: auto;
  margin: 0 0 10px 16px;
  object-fit: cover;
  width: 260px;
}

.blog-empty {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 0;
  padding: 16px 0;
}

.site-footer {
  align-items: center;
  background: #060b0a;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 10px clamp(20px, 4vw, 56px);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) minmax(0, 472px);
    height: auto;
    min-height: 68px;
  }

  .header-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(100%, 472px);
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 16, 15, 0.98) 0%, rgba(8, 16, 15, 0.76) 64%, rgba(8, 16, 15, 0.4) 100%),
      linear-gradient(180deg, rgba(8, 16, 15, 0.16) 0%, var(--bg) 100%);
  }

  .profile-section,
  .profile-columns,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .blog-feed-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .blog-highlight-panel,
  .article-recommend-panel {
    position: static;
  }

  .blog-post-image {
    aspect-ratio: 16 / 9;
    float: none;
    margin: 0 0 14px;
    width: 100%;
  }

  .blog-tag-chips {
    justify-content: flex-start;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .about-hero-panel {
    grid-template-columns: 1fr;
  }

  .skill-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 76svh;
  }

  .hero-content {
    min-height: 76svh;
    padding-top: 96px;
    padding-bottom: 58px;
    transform: translateY(-8px);
  }

  .contact-page .hero,
  .contact-page .hero-content {
    min-height: calc(100svh - 56px);
  }

  .contact-page .hero-content {
    padding-top: 112px;
    transform: none;
  }

  .about-page .hero,
  .about-page .hero-content,
  .blog-page .hero,
  .blog-page .hero-content,
  .article-page .hero,
  .article-page .hero-content {
    min-height: 76svh;
  }

  .about-page .hero-content,
  .article-page .hero-content {
    padding-top: 96px;
    transform: translateY(-8px);
  }

  .blog-page .hero,
  .blog-page .hero-content {
    min-height: 58svh;
  }

  .blog-page .hero-content {
    padding-top: 88px;
    padding-bottom: 36px;
    transform: translateY(-28px);
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 3.8rem);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    gap: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .header-contact-button {
    min-width: auto;
    padding: 0 12px;
  }
}

.article-page .hero {
  min-height: 42vh;
}

.article-page .hero-content {
  justify-content: flex-end;
  min-height: 42vh;
  padding: 96px clamp(34px, 6vw, 112px) 28px;
  transform: none;
}

.article-page .hero-lead {
  max-width: 54ch;
}

html[data-nav-transition] body.article-page main,
html[data-nav-transition] body.article-page .site-footer {
  opacity: 1;
  transform: none;
}

.article-meta {
  align-items: center;
  color: #d8e6e1;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 720;
  gap: 8px;
  margin-top: 14px;
}

.article-meta time {
  color: var(--muted);
  font-weight: 650;
}

.article-back {
  color: var(--accent);
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 800;
  margin-top: 18px;
  text-decoration: none;
}

.article-back:hover,
.article-back:focus-visible {
  color: #8ff8dc;
}

.article-main {
  padding: 50px clamp(20px, 4vw, 56px) 16px clamp(34px, 6vw, 112px);
  position: relative;
}

.article-main::before {
  background: rgba(255, 255, 255, 0.08);
  content: "";
  height: 1px;
  left: clamp(34px, 6vw, 112px);
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  top: 28px;
}

.article-layout {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 472px;
  padding-top: 22px;
}

.article-body {
  background: linear-gradient(180deg, rgba(18, 29, 27, 0.86), rgba(10, 19, 17, 0.84));
  border: 1px solid rgba(143, 231, 208, 0.18);
  border-radius: 14px;
  box-sizing: border-box;
  max-width: none;
  min-width: 0;
  padding: 28px clamp(22px, 3vw, 36px) 32px;
}

.article-recommend-panel {
  background: linear-gradient(180deg, rgba(18, 29, 27, 0.9), rgba(10, 19, 17, 0.88));
  border: 1px solid rgba(143, 231, 208, 0.18);
  border-radius: 14px;
  display: grid;
  gap: 16px;
  padding: 22px;
  position: sticky;
  top: 108px;
}

.article-recommend-panel h2 {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.2;
  margin: 0 0 8px;
}

.article-recommend-link {
  align-items: center;
  background: rgba(84, 236, 204, 0.06);
  border: 1px solid rgba(143, 231, 208, 0.14);
  border-radius: 10px;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 160px;
  min-height: 132px;
  padding: 18px;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.article-recommend-link:hover,
.article-recommend-link:focus-visible {
  background: rgba(84, 236, 204, 0.1);
  border-color: rgba(143, 231, 208, 0.4);
}

.article-recommend-link img {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(143, 231, 208, 0.16);
  border-radius: 8px;
  display: block;
  grid-column: 2;
  grid-row: 1;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.article-recommend-copy {
  display: grid;
  gap: 10px;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.article-recommend-link span {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.article-recommend-link strong {
  color: #f1fbf8;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
}

.article-recommend-link small {
  display: none;
}

.article-body p,
.article-body li {
  color: #d8e6e1;
  font-size: 0.95rem;
  line-height: 1.65;
}

.article-body [style] {
  max-width: 100%;
}

.article-body span,
.article-body strong,
.article-body em,
.article-body u,
.article-body s,
.article-body sub,
.article-body sup {
  color: inherit;
}

.article-body table {
  border-collapse: collapse;
  margin: 18px 0;
  width: 100%;
}

.article-body td,
.article-body th {
  border: 1px solid rgba(143, 231, 208, 0.22);
  padding: 8px 10px;
}

.article-body h2 {
  color: var(--text);
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  line-height: 1.2;
  margin: 28px 0 10px;
}

.article-body ul,
.article-body ol {
  margin: 14px 0 0;
  padding-left: 20px;
}

.article-body p {
  margin: 0 0 14px;
}

.article-body img {
  border: 1px solid rgba(143, 231, 208, 0.16);
  border-radius: 12px;
  margin: 22px 0;
  max-width: 100%;
}

.article-body img[data-float="left"] {
  display: block;
  float: left;
  margin: 4px 18px 14px 0;
}

.article-body img[data-float="right"] {
  display: block;
  float: right;
  margin: 4px 0 14px 18px;
}

.article-body img[data-float="center"] {
  clear: both;
  display: block;
  float: none;
  margin: 22px auto;
}

.article-body::after {
  clear: both;
  content: "";
  display: table;
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  color: #d8fff5;
  margin: 18px 0;
  padding: 4px 0 4px 16px;
}

.article-body a {
  color: var(--accent);
}

.article-body code {
  background: rgba(84, 236, 204, 0.1);
  border-radius: 6px;
  font-size: 0.88em;
  padding: 0.12em 0.4em;
}

.article-body h3 {
  color: var(--text);
  font-size: 1.05rem;
  margin: 22px 0 8px;
}

