:root {
  --bg: #f5f3ef;
  --surface: #ffffff;
  --text: #171717;
  --muted: #6e6e73;
  --line: rgba(23, 23, 23, 0.08);
  --overlay: rgba(0, 0, 0, 0.22);
  --overlay-strong: rgba(0, 0, 0, 0.42);
  --accent: #c9a97a;
  --accent-dark: #8f7450;
  --max: 1440px;
  --header-h: 84px;
  --radius: 24px;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
select,
textarea {
  font: inherit;
}
.container {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}
.section {
  padding: 100px 0;
}
.section-sm {
  padding: 72px 0;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-title {
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.05;
  margin: 0 0 18px;
}
.lead {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
  color: #3d3d40;
  max-width: 900px;
}
.muted {
  color: var(--muted);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  transition: 0.28s ease;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-primary {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.btn-outline {
  background: transparent;
}
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 50;
  transition: 0.35s ease;
  display: flex;
  align-items: center;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.58);
  backdrop-filter: blur(18px);
}
.site-header.light {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}
.site-header.light .logo,
.site-header.page-header .logo {
  color: var(--text);
}
.logo-mark {
  width: 30px;
  height: 30px;
  border: 2px solid currentColor;
  transform: rotate(45deg);
  border-radius: 2px;
  position: relative;
}
.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.logo-mark::before {
  width: 2px;
  height: 18px;
  left: 50%;
  top: 5px;
  transform: translateX(-50%);
}
.logo-mark::after {
  height: 2px;
  width: 18px;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
}
.logo-text small {
  display: block;
  font-weight: 500;
  letter-spacing: 0.14em;
  opacity: 0.7;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #fff;
}
.site-header.light .nav,
.site-header.page-header .nav {
  color: var(--text);
}
.nav a {
  position: relative;
  font-size: 15px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.25s;
}
.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.site-header.light .header-actions,
.site-header.page-header .header-actions {
  color: var(--text);
}
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: grid;
  place-items: center;
}
.site-header.light .icon-btn,
.site-header.page-header .icon-btn {
  border-color: var(--line);
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}
.hero-slider {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #111;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition:
    opacity 0.9s ease,
    transform 1.2s ease;
  transform: scale(1.05);
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.44) 0%,
    rgba(0, 0, 0, 0.18) 30%,
    rgba(0, 0, 0, 0.44) 100%
  );
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 52px;
  color: #fff;
}
.hero-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
}
.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.82;
}
.hero-title {
  font-size: clamp(42px, 5.8vw, 92px);
  line-height: 0.96;
  margin: 10px 0 14px;
  max-width: 820px;
}
.hero-text {
  font-size: 18px;
  line-height: 1.7;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}
.hero-dots {
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 36px;
  height: 4px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  cursor: pointer;
  transition: 0.25s;
}
.hero-dots button.active {
  background: #fff;
  width: 56px;
}
.hero-arrows {
  display: flex;
  gap: 12px;
}
.round-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: 0.25s;
}
.round-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}
.scroll-footer-teaser {
  position: relative;
  margin-top: -1px;
  background: linear-gradient(180deg, transparent 0, #ece8e1 20%, #ece8e1 100%);
  padding: 42px 0 0;
}
.contact-strip {
  background: #ece8e1;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding: 38px 0 34px;
}
.contact-strip-grid {
  display: grid;
  grid-template-columns: 2.3fr 1fr 1fr auto;
  gap: 24px;
  align-items: end;
}
.contact-strip h3 {
  font-size: 16px;
  margin: 0 0 10px;
}
.contact-strip p,
.contact-strip a {
  margin: 0;
  color: #4d4d52;
  line-height: 1.7;
}
.back-top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.page-hero {
  padding: 160px 0 70px;
  background: #f6f3ee;
  border-bottom: 1px solid var(--line);
}
.breadcrumbs {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
}
.page-title {
  font-size: clamp(42px, 5vw, 48px);
  line-height: 1;
  margin: 0 0 18px;
}
.page-intro {
  max-width: 860px;
  color: #4b4b50;
  font-size: 18px;
  line-height: 1.8;
}
.filters-bar {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, minmax(180px, 0.7fr));
  gap: 16px;
  align-items: center;
  margin-bottom: 30px;
}
.input,
.select {
  height: 56px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 18px;
  color: #222;
  width: 100%;
}
.projects-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.projects-count {
  font-size: 26px;
  color: var(--muted);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project-card {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: 0.28s ease;
}
.project-card:hover {
  transform: translateY(-8px);
}
.project-image {
  aspect-ratio: 1.35/1;
  background-size: cover;
  background-position: center;
  position: relative;
}
.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 45%,
    rgba(0, 0, 0, 0.18) 100%
  );
}
.project-content {
  padding: 22px 22px 26px;
}
.project-title {
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 8px;
}
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}
.tag {
  display: inline-flex;
  padding: 8px 12px;
  background: #f3efe8;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d614f;
}
.project-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.detail-gallery {
  position: sticky;
  top: 120px;
}
.gallery-main {
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 1.05/1;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.thumb {
  aspect-ratio: 1/1;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 2px solid transparent;
}
.thumb.active {
  border-color: var(--accent);
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0;
}
.stat {
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-size: 28px;
  margin-bottom: 6px;
}
.content-block {
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  margin-top: 22px;
}
.content-block h3 {
  margin: 0 0 14px;
  font-size: 24px;
}
.content-block p,
.content-block li {
  color: #4b4b4f;
  line-height: 1.8;
}
.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.story-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.story-card .media {
  aspect-ratio: 1.1/1;
  background-size: cover;
  background-position: center;
}
.story-card .body {
  padding: 20px;
}
.story-card h3 {
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 12px;
}
.story-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin: 0 0 18px;
}
.about-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.tall-visual {
  min-height: 620px;
  border-radius: 34px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.tall-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(0, 0, 0, 0.18) 100%
  );
}
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
}
.value-card h3 {
  margin: 0 0 12px;
}
.value-card p {
  margin: 0;
  line-height: 1.8;
  color: #555;
}
.team-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.team-card {
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  border: 1px solid var(--line);
}
.team-photo {
  aspect-ratio: 1/1.12;
  border-radius: 18px;
  margin-bottom: 16px;
  background-size: cover;
  background-position: center;
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: start;
}
.map-card,
.form-card {
  background: #fff;
  border-radius: 30px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.map-embed {
  height: 100%;
  min-height: 640px;
  background: linear-gradient(135deg, #d7d2ca, #f4efe9);
  position: relative;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 70px 70px;
  opacity: 0.45;
}
.map-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  background: #171717;
  border-radius: 50%;
  top: 28%;
  left: 56%;
  box-shadow: 0 0 0 8px rgba(23, 23, 23, 0.1);
}
.map-card-label {
  position: absolute;
  left: 34px;
  top: 34px;
  background: #fff;
  padding: 18px 20px;
  border-radius: 20px;
  max-width: 340px;
  box-shadow: var(--shadow);
}
.map-card-label h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.contact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.contact-item {
  padding: 18px;
  background: #f7f4ef;
  border-radius: 18px;
}
.form-card {
  padding: 28px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.textarea {
  min-height: 180px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  resize: vertical;
}
.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: #f0ece5;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hidden {
  display: none !important;
}
@media (max-width: 1180px) {
  .project-grid,
  .story-grid,
  .team-list,
  .values {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-layout,
  .about-hero,
  .contact-layout,
  .dual-grid {
    grid-template-columns: 1fr;
  }
  .detail-gallery {
    position: relative;
    top: auto;
  }
  .contact-strip-grid,
  .filters-bar {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    inset: 84px 16px auto 16px;
    background: #fff;
    color: var(--text);
    border-radius: 24px;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
  }
  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .header-actions .lang-link {
    display: none;
  }
  .hero-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-meta {
    flex-wrap: wrap;
  }
  .contact-strip-grid,
  .filters-bar,
  .project-grid,
  .story-grid,
  .team-list,
  .values,
  .contact-list,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .projects-top,
  .footer-grid {
    grid-template-columns: 1fr;
    display: grid;
  }
  .container {
    width: min(calc(100% - 28px), var(--max));
  }
}

.story-card {
  transition: 0.32s ease;
  position: relative;
}
.story-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.story-card .media {
  position: relative;
  overflow: hidden;
}
.story-card .media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 20%,
    rgba(0, 0, 0, 0.42) 100%
  );
  opacity: 0;
  transition: 0.3s ease;
}
.story-card .media::after {
  content: "Devamını Oku";
  position: absolute;
  left: 20px;
  bottom: 18px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.3s ease;
}
.story-card:hover .media::before,
.story-card:hover .media::after {
  opacity: 1;
  transform: translateY(0);
}
.story-card:hover .media {
  background-size: 108% auto;
}
.story-card .media {
  transition: background-size 0.45s ease;
}
.story-card .body .btn {
  display: none;
}
.logbook-detail-hero {
  padding: 150px 0 40px;
  background: #f6f3ee;
}
.logbook-detail-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}
.logbook-meta {
  font-size: 32px;
  margin: 0 0 28px;
  color: #2a2a2c;
}
.logbook-detail-copy {
  font-size: 18px;
  line-height: 1.7;
  color: #3f3f44;
}
.logbook-detail-copy p {
  margin: 0 0 18px;
}
.logbook-slider {
  position: relative;
  margin-top: 24px;
}
.logbook-slider-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  min-height: 360px;
}
.logbook-slide {
  border-radius: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 360px;
  opacity: 0.38;
  transform: scale(0.98);
  transition: 0.35s ease;
  filter: saturate(0.9);
}
.logbook-slide.active {
  opacity: 1;
  transform: scale(1);
  filter: none;
}
.logbook-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
}
.logbook-slider-arrow.prev {
  left: -22px;
}
.logbook-slider-arrow.next {
  right: -22px;
}
.logbook-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.logbook-slider-dots button {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
}
.logbook-slider-dots button.active {
  background: #9b9b9f;
}
.related-posts {
  padding: 70px 0 80px;
}
.related-title {
  font-size: 34px;
  margin: 0 0 28px;
}
@media (max-width: 1180px) {
  .logbook-detail-layout {
    grid-template-columns: 1fr;
  }
  .logbook-slider-arrow.prev {
    left: 10px;
  }
  .logbook-slider-arrow.next {
    right: 10px;
  }
}
@media (max-width: 860px) {
  .logbook-slider-track {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .logbook-slide {
    min-height: 280px;
  }
  .logbook-slider-arrow {
    top: 140px;
  }
}

/* ===== 2026 refresh overrides ===== */
.logo-text,
.logo-text small {
  font-family: Inter, system-ui, sans-serif;
}
.home-hero .logo-text,
.site-header:not(.light):not(.page-header) .logo-text {
  color: #fff;
}
.hero-slider {
  isolation: isolate;
}
.hero-slide {
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
  transform: scale(1.14);
  animation: none !important;
}
.hero-slide.active {
  opacity: 1;
  animation: heroZoomIn 4.3s ease forwards !important;
}
@keyframes heroZoomIn {
  from {
    transform: scale(1.14);
  }
  to {
    transform: scale(1);
  }
}
.hero-content {
  padding-bottom: 44px;
  padding-left: 10px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  align-items: end;
  width: 100%;
}
.hero-copy {
  padding-left: 72px;
  max-width: 760px;
}
.hero-kicker {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0.92;
}
.hero-title {
  font-size: clamp(42px, 5vw, 86px) !important;
  line-height: 0.94 !important;
  max-width: 760px;
  margin: 0 0 18px;
}
.hero-text {
  max-width: 540px;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}
.hero-meta {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-arrows {
  display: flex;
  gap: 12px;
}
.hero-dots button {
  width: 42px;
  height: 3px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}
.hero-dots button.active {
  background: #fff;
}
.round-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(16, 16, 16, 0.15);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  color: #fff;
  cursor: pointer;
}
.hero-side-actions {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 100%;
  margin-right: 20px;
}
.scroll-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  justify-content: center;
  background: #fff;
  color: #111;
  padding: 16px 22px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}
.scroll-pill::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #111;
  box-shadow: 0 0 0 6px rgba(17, 17, 17, 0.08);
}
.scroll-pill:hover {
  transform: translateY(-2px);
}
.hero-title,
.hero-kicker,
.hero-text,
.hero-meta {
  position: relative;
  z-index: 2;
}
.site-header .nav a,
.site-header .header-actions,
.site-header .logo {
  filter: none;
}
.site-header:not(.light):not(.page-header) .nav a,
.site-header:not(.light):not(.page-header) .header-actions,
.site-header:not(.light):not(.page-header) .logo {
  color: #fff;
}
.page-title {
  font-size: clamp(42px, 5vw, 42px);
  line-height: 1.02;
}
.page-intro {
  font-size: 20px;
  line-height: 1.7;
  color: #4b4b50;
  max-width: 820px;
}

/* logbook refresh */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.story-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease,
    box-shadow 0.35s ease;
}
.story-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
.story-card .media {
  height: 280px;
  background-size: 100% auto;
  background-position: center;
  transition:
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.1s ease;
}
.story-card:hover .media {
  transform: scale(1.08);
  filter: saturate(1.03);
}
.story-card .body {
  padding: 22px 22px 24px;
}
.story-card h3 {
  font-size: 24px;
  line-height: 1.25;
  margin: 0 0 12px;
}
.story-card p {
  font-size: 15px;
  line-height: 1.65;
  color: #5a5a61;
  margin: 0;
}
.story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.09);
}
.story-card .media::before {
  opacity: 0;
  transition: opacity 0.55s ease;
}
.story-card .media::after {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.story-card:hover .media::before {
  opacity: 1;
}
.story-card:hover .media::after {
  opacity: 1;
  transform: translateY(0);
}
.story-card .body .btn {
  display: none;
}

/* about refresh */
.about-modern-hero {
  padding-top: 150px;
  padding-bottom: 54px;
}
.about-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: stretch;
}
.about-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f7f3ed 100%);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 40px;
  box-shadow: 0 16px 55px rgba(0, 0, 0, 0.04);
}
.about-visual-stack {
  display: grid;
  grid-template-rows: 1.35fr 0.65fr;
  gap: 22px;
}
.about-main-visual,
.about-sub-visual {
  border-radius: 34px;
  overflow: hidden;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.about-main-visual::after,
.about-sub-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.26));
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
}
.stat-value {
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 8px;
}
.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.about-feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
}
.about-feature h3 {
  margin: 0 0 12px;
  font-size: 24px;
}
.about-feature p {
  margin: 0;
  color: #56565d;
  line-height: 1.7;
}
.quote-card {
  background: #121212;
  color: #fff;
  border-radius: 30px;
  padding: 34px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.quote-card p {
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 18px;
}
.quote-card small {
  color: rgba(255, 255, 255, 0.72);
}

/* contact refresh */
.contact-modern {
  padding-top: 150px;
  padding-bottom: 70px;
}
.contact-modern-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 28px;
  align-items: start;
}
.contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 36px;
  box-shadow: 0 16px 55px rgba(0, 0, 0, 0.04);
}
.contact-panel .contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 26px 0 30px;
}
.contact-panel .contact-links a {
  font-size: 30px;
  line-height: 1.1;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.office-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}
.office-card {
  padding: 22px;
  border-radius: 24px;
  background: #f7f4ef;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.office-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
}
.map-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 14px;
  box-shadow: 0 16px 55px rgba(0, 0, 0, 0.04);
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
  border-radius: 24px;
  filter: grayscale(1) contrast(0.98);
}
.contact-bottom-bar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #6b6b72;
}

/* career refresh */
.career-modern {
  padding-top: 150px;
  padding-bottom: 70px;
}
.career-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}
.career-copy h2 {
  font-size: 42px;
  line-height: 1.06;
  margin: 0 0 26px;
}
.career-copy p {
  font-size: 18px;
  line-height: 1.7;
  color: #505058;
  max-width: 560px;
}
.career-block {
  margin-top: 52px;
  max-width: 560px;
}
.career-block h3 {
  font-size: 38px;
  line-height: 1.08;
  margin: 0 0 18px;
}
.job-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.job-card {
  padding: 10px 0 26px;
  border-bottom: 1px solid var(--line);
}
.job-card h4 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.2;
}
.job-meta {
  font-size: 16px;
  color: #81818a;
  margin-bottom: 18px;
}
.job-desc {
  font-size: 17px;
  line-height: 1.72;
  color: #4e4e55;
  max-width: 760px;
  margin-bottom: 18px;
}
.job-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.job-link svg {
  transition: transform 0.25s ease;
}
.job-link:hover svg {
  transform: translateX(4px);
}
.back-top-card {
  margin-top: 38px;
  display: flex;
  justify-content: flex-end;
}
.back-top-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  border-radius: 16px;
  background: #f2f0ed;
  border: 1px solid var(--line);
  font-weight: 600;
}

/* support cards */
.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero-grid,
  .about-shell,
  .contact-modern-grid,
  .career-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding-left: 24px;
    max-width: 700px;
  }
  .hero-side-actions {
    justify-content: flex-start;
    margin-top: 40px;
    margin-left: 10px;
  }
  .story-grid,
  .about-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 860px) {
  .hero-copy {
    padding-left: 0;
  }
  .hero-title {
    font-size: clamp(34px, 12vw, 56px) !important;
    max-width: 100%;
  }
  .hero-text {
    font-size: 16px;
    max-width: 100%;
  }
  .scroll-pill {
    min-width: 0;
    width: auto;
    padding: 14px 18px;
  }
  .story-grid,
  .about-feature-grid,
  .office-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .story-card .media {
    height: 240px;
  }
  .contact-panel .contact-links a {
    font-size: 24px;
  }
  .map-frame iframe {
    height: 420px;
  }
  .career-copy h2,
  .career-block h3 {
    font-size: 34px;
  }
  .job-card h4 {
    font-size: 24px;
  }
}

/* ===== 2026 refresh v4 ===== */
.hero-copy {
  max-width: 620px;
}
.hero-title {
  font-size: clamp(28px, 4.4vw, 64px) !important;
  max-width: 560px;
  line-height: 0.98 !important;
}
.hero-text {
  max-width: 480px;
  font-size: 16px;
}
.hero-meta {
  margin-top: 26px;
}
.hero-slide,
.hero-slide::before,
.story-card .media,
.about-main-visual,
.about-sub-visual,
.project-image,
.gallery-main,
.thumb,
.logbook-slide {
  background-repeat: no-repeat;
}
.story-card > a {
  display: block;
}
.story-card .media {
  width: 100%;
  height: 260px;
  background-size: cover !important;
  background-position: center center;
}
.story-card:hover .media {
  transform: scale(1.06);
  filter: saturate(1.03);
}
.story-card .body {
  min-height: 178px;
}
.about-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.about-data-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}
.about-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #56565d;
  line-height: 1.9;
}
.about-list li + li {
  margin-top: 4px;
}
.process-steps {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.process-steps div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.process-steps div:first-child {
  border-top: 0;
  padding-top: 0;
}
.process-steps strong {
  font-size: 24px;
  line-height: 1;
  color: #1b1b1f;
}
.process-steps span {
  color: #56565d;
  line-height: 1.7;
}
.about-timeline {
  background: linear-gradient(180deg, #fff 0%, #f8f4ee 100%);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 36px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.timeline-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
}
.timeline-card strong {
  display: block;
  font-size: 20px;
  margin-bottom: 10px;
}
.timeline-card span {
  display: block;
  color: #5d5d64;
  line-height: 1.7;
}
.contact-panel .page-title {
  font-size: clamp(34px, 3.8vw, 42px);
}
.contact-intro {
  font-size: 17px;
  line-height: 1.65;
  max-width: 680px;
}
.contact-panel .contact-links a {
  font-size: 20px;
  line-height: 1.2;
}
.office-card h3 {
  font-size: 20px;
}
.office-card .muted {
  font-size: 15px;
  line-height: 1.7;
}
@media (max-width: 1180px) {
  .about-data-grid,
  .timeline-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .hero-title {
    font-size: clamp(26px, 9vw, 42px) !important;
  }
  .story-card .media {
    height: 220px;
  }
  .contact-panel .contact-links a {
    font-size: 18px;
  }
}

/* ===== v5 package updates ===== */
.logo.logo-image {
  display: flex;
  align-items: center;
  gap: 0;
  letter-spacing: 0;
  text-transform: none;
}
.logo.logo-image img {
  display: block;
  height: 54px;
  width: auto;
  object-fit: contain;
}
.nav.nav-right {
  margin-left: auto;
  justify-content: flex-end;
  gap: 34px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-actions {
  margin-left: 8px;
}
@media (max-width: 860px) {
  .logo.logo-image img {
    height: 42px;
  }
  .nav.nav-right {
    margin-left: 0;
  }
}

.about-modern-hero {
  padding-top: 132px;
  padding-bottom: 84px;
}
.about-main-title {
  font-size: clamp(38px, 4.4vw, 38px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 12px 0 20px;
  max-width: 980px;
}
.about-lead-text {
  font-size: 17px;
  line-height: 1.85;
  color: #505058;
  max-width: 980px;
  margin: 0 0 30px;
}
.about-sub-title {
  font-size: 30px;
  line-height: 1.14;
  margin: 0 0 18px;
}
.about-copy {
  font-size: 16px;
  line-height: 1.85;
  color: #55565d;
  margin: 0;
}
.about-list li,
.timeline-card span,
.process-steps span {
  font-size: 15px;
}
.about-panel {
  border-radius: 36px;
}
.about-data-grid {
  margin-top: 22px;
}

.contact-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f8f5f0 100%);
  border-radius: 38px;
  padding: 42px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.05);
}
.contact-panel .page-title {
  font-size: clamp(42px, 4vw, 42px);
  line-height: 1;
  margin-bottom: 18px;
}
.contact-intro {
  font-size: 17px;
  line-height: 1.8;
  max-width: 720px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 26px 0 18px;
}
.contact-links a {
  font-size: 18px;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 30px;
}
.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  transition: 0.28s ease;
}
.social-icon svg {
  width: 20px;
  height: 20px;
}
.social-icon:hover {
  transform: translateY(-3px);
  background: #171717;
  color: #fff;
}
.office-card {
  padding: 24px;
  border-radius: 26px;
  background: #f2ede6;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.contact-bottom-bar {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: #666a72;
}

.job-detail-wrap {
  padding-top: 138px;
  padding-bottom: 78px;
}
.job-detail-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 42px;
  align-items: start;
}
.job-hero-card,
.job-side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 34px;
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.04);
}
.job-ref {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.job-title {
  font-size: clamp(34px, 3.2vw, 54px);
  line-height: 1.02;
  margin: 0 0 12px;
}
.job-meta-line {
  font-size: 18px;
  color: #767681;
  margin-bottom: 18px;
}
.job-section-title {
  font-size: 24px;
  margin: 28px 0 12px;
}
.job-copy,
.job-listing li {
  font-size: 16px;
  line-height: 1.85;
  color: #505058;
}
.job-listing {
  padding-left: 20px;
  margin: 0;
}
.job-listing li + li {
  margin-top: 6px;
}
.apply-card {
  background: #121212;
  color: #fff;
  border-radius: 28px;
  padding: 28px;
  margin-top: 24px;
}
.apply-card a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
}
@media (max-width: 1000px) {
  .job-detail-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .menu-toggle {
    display: grid !important;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    z-index: 120;
  }

  .header-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  .nav {
    position: fixed;
    top: 84px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.98);
    color: #171717 !important;
    border-radius: 24px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(0, 0, 0, 0.08);

    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: all 0.28s ease;
    z-index: 110;
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    width: 100%;
    font-size: 16px;
    padding: 6px 0;
    color: #171717 !important;
  }

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

  .header-actions .lang-link {
    display: none !important;
  }
}
