/* Tekno Time Hidrolik — tasarım sistemi */
@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg-deep: #0b0d10;
  --bg-anthracite: #14181e;
  --bg-panel: #1a1f27;
  --bg-elevated: #222933;
  --steel: #a8b0bd;
  --steel-light: #dce1ea;
  --text: #f3f5f8;
  --text-muted: #c5ccd8;
  --accent: #e8a317;
  --accent-hot: #f07a1a;
  --accent-dim: rgba(232, 163, 23, 0.14);
  --line: rgba(196, 202, 212, 0.12);
  --line-strong: rgba(196, 202, 212, 0.22);
  --danger: #d94b4b;
  --ok: #3d9b6a;
  --radius: 4px;
  --max: 1180px;
  --header-h: 72px;
  --font-display: "Barlow Condensed", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-video,
  .media-video video {
    display: none !important;
  }
  .hero-fallback,
  .media-video .poster-fallback {
    display: block !important;
    opacity: 1 !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(232, 163, 23, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(80, 100, 130, 0.18), transparent 50%),
    linear-gradient(180deg, #0e1116 0%, var(--bg-deep) 40%, #0a0c0f 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #ffc045;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #111;
  padding: 0.75rem 1rem;
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 3rem, var(--max));
  margin-inline: auto;
}

@media (min-width: 900px) {
  .container {
    width: min(100% - 5rem, var(--max));
  }
}

.container.content-grid {
  width: min(100% - 3rem, 52rem);
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 13, 16, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-mark span {
  color: var(--accent);
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--bg-panel);
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.site-nav > ul > li {
  position: relative;
}

.site-nav a,
.site-nav .nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.7rem;
  color: var(--steel-light);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius);
  background: transparent;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
  margin-left: 0.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-hot)) !important;
  color: #121212 !important;
  font-weight: 700 !important;
  padding: 0.6rem 1rem !important;
}

.nav-cta:hover {
  filter: brightness(1.06);
}

.has-mega > button,
.has-mega > a.nav-parent {
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.mega {
  display: none;
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 320px;
  padding: 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 50;
}

.has-mega:hover .mega,
.has-mega:focus-within .mega,
.has-mega.open .mega {
  display: grid;
  gap: 0.25rem;
}

.mega a {
  display: block;
  padding: 0.65rem 0.75rem;
  color: var(--text);
}

.mega a small {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.header-phone {
  display: none;
  color: var(--steel-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.header-phone.is-ready {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(10, 12, 15, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.25s ease;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .mega {
    position: static;
    display: none;
    box-shadow: none;
    margin-top: 0.25rem;
    min-width: 0;
  }

  .has-mega.open .mega {
    display: grid;
  }

  .nav-cta {
    margin: 0.5rem 0 0;
    justify-content: center;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video {
  z-index: 1;
}

.hero-fallback {
  z-index: 0;
  background:
    linear-gradient(135deg, #1c222c 0%, #0d1015 50%, #1a150c 100%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 18px,
      rgba(255, 255, 255, 0.02) 18px,
      rgba(255, 255, 255, 0.02) 19px
    );
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 10, 13, 0.78) 0%, rgba(8, 10, 13, 0.58) 45%, rgba(8, 10, 13, 0.42) 100%),
    linear-gradient(0deg, rgba(8, 10, 13, 0.72) 0%, rgba(8, 10, 13, 0.35) 45%, rgba(8, 10, 13, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 6rem 0 4.5rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
  max-width: 14ch;
  text-wrap: balance;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-lead {
  max-width: 38rem;
  color: #e8edf5;
  font-size: 1.08rem;
  margin: 0 0 1.75rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hot));
  color: #121212;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line);
}

.btn[hidden],
.btn.is-hidden {
  display: none !important;
}

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-head {
  margin-bottom: 2.25rem;
  max-width: 42rem;
}

.section-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 0.6rem;
}

.section-head h2,
.page-hero h1,
.content-block h2,
.content-block h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.05;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  margin: 0 0 0.75rem;
}

.section-head p,
.lede {
  color: var(--text-muted);
  margin: 0;
}

.section-muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-block: 1px solid var(--line);
}

/* —— Service grid —— */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

.section-services-light {
  background: #ffffff;
  color: #1a1f27;
  border-block: 1px solid #e6e9ef;
  padding-block: clamp(4rem, 8vw, 6rem);
}

.section-services-light .section-head {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 2.75rem;
  max-width: 40rem;
}

.section-services-light .section-kicker {
  color: #c4820f;
}

.section-services-light .section-head h2 {
  color: #12161c;
}

.section-services-light .section-head p {
  color: #4a5565;
}

.section-services-light .service-tile {
  background: #f7f8fa;
  border: 1px solid #e2e6ee;
  color: #12161c;
  box-shadow: none;
  text-align: center;
  align-items: center;
  padding: 2rem 1.75rem 2.15rem;
  gap: 1rem;
}

.section-services-light .service-tile:hover {
  border-color: #e8a317;
  background: #fff;
  color: #12161c;
}

.section-services-light .service-tile .idx {
  color: #8a93a3;
}

.section-services-light .service-tile h3 {
  color: #12161c;
  text-align: center;
}

.section-services-light .service-tile p {
  color: #4a5565;
  text-align: center;
  line-height: 1.7;
}

.section-services-light .service-tile .link-label {
  color: #b87800;
  margin-top: 0.35rem;
}

.section-services-light .service-tile--video {
  padding: 0;
  overflow: hidden;
  grid-row: span 1;
}

.section-services-light .service-tile-media {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: #1a1f27;
  width: 100%;
}

.section-services-light .service-tile-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-services-light .service-tile-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18, 22, 28, 0.35));
  pointer-events: none;
}

.section-services-light .service-tile-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 1.75rem 2.1rem;
  text-align: center;
  width: 100%;
}

.service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.75rem 2.15rem;
  background: linear-gradient(160deg, rgba(34, 41, 51, 0.9), rgba(20, 24, 30, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  text-align: center;
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}

.service-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
  opacity: 0.7;
}

.service-tile:hover {
  border-color: rgba(232, 163, 23, 0.45);
  transform: translateY(-3px);
  color: inherit;
}

.service-tile .idx {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--steel);
  letter-spacing: 0.08em;
}

.service-tile h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
}

.service-tile p {
  margin: 0;
  color: var(--text-muted);
  flex: 1;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.7;
  max-width: 28ch;
}

.service-tile .link-label {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

/* —— Split media —— */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.media-video {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--bg-panel);
  box-shadow: var(--shadow);
}

.media-video video,
.media-video .poster-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-video .poster-fallback {
  display: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, #252b35, #12161c 60%, #2a220f);
}

.media-caption {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.checklist {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--steel-light);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
  transform: rotate(45deg);
}

/* —— Process —— */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

@media (max-width: 900px) {
  .process {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .process {
    grid-template-columns: 1fr;
  }
}

.process-item {
  padding: 1.35rem;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.02);
}

.process-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.process-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* —— Page hero —— */
.page-hero {
  padding: clamp(3.5rem, 7vw, 5rem) 0 clamp(2.75rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(232, 163, 23, 0.06), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  text-align: center;
}

.page-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-hero .breadcrumb {
  justify-content: center;
}

.page-hero h1,
.page-hero .lede {
  margin-inline: auto;
}

.page-hero .cta-row {
  justify-content: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--steel-light);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: var(--steel);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 0.85rem;
  max-width: 18ch;
  color: #ffffff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.page-hero .lede {
  max-width: 40rem;
  font-size: 1.05rem;
  color: #d7dde8;
}

/* —— Content —— */
.prose {
  max-width: 44rem;
  min-width: 0;
  margin-inline: auto;
  padding: 1rem 1.25rem 2rem;
  text-align: center;
}

.content-grid > .prose {
  width: 100%;
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
  padding: 1.25rem 1.5rem 2.5rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  text-transform: uppercase;
  margin: 2.75rem 0 1rem;
  letter-spacing: 0.03em;
  text-align: center;
}

.prose h2:first-child {
  margin-top: 0.5rem;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  margin: 2rem 0 0.85rem;
  text-align: center;
}

.prose p,
.prose li {
  color: var(--steel-light);
  line-height: 1.75;
}

.prose p {
  margin: 0 auto 1.25rem;
  max-width: 38rem;
  text-align: center;
}

.prose ul {
  padding-left: 0;
  margin: 0 auto 1.75rem;
  display: inline-block;
  text-align: left;
  list-style-position: inside;
}

.content-grid > .prose .faq,
.content-grid > .prose .cta-row {
  justify-content: center;
}

.content-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  padding-inline: 0.5rem;
}

.content-grid > .side-panel {
  width: min(100%, 380px);
  margin-inline: auto;
  text-align: center;
}

.content-grid > .side-panel .cta-row {
  align-items: stretch;
}

.content-grid > .side-panel .related-list {
  text-align: center;
}

.section .container.content-grid {
  padding-block: 1rem 2rem;
}

.side-panel {
  padding: 1.5rem 1.35rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.side-panel h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.side-panel p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0 0 1rem;
}

.side-panel .cta-row {
  flex-direction: column;
}

.side-panel .btn {
  width: 100%;
}

.related-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.related-list a {
  color: var(--steel-light);
  text-decoration: none;
  font-size: 0.92rem;
}

.related-list a:hover {
  color: var(--accent);
}

/* —— FAQ —— */
.faq {
  display: grid;
  gap: 0.65rem;
}

.faq details {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.faq details[open] summary {
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.faq p {
  margin: 0;
  color: var(--text-muted);
}

/* —— Forms —— */
.form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--steel-light);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--bg-deep);
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  display: none;
}

.form-status.is-ok {
  display: block;
  background: rgba(61, 155, 106, 0.15);
  border: 1px solid rgba(61, 155, 106, 0.4);
  color: #9ad4b5;
}

.form-status.is-err {
  display: block;
  background: rgba(217, 75, 75, 0.12);
  border: 1px solid rgba(217, 75, 75, 0.4);
  color: #f0a0a0;
}

.checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.checkbox input {
  width: auto;
  min-height: 0;
  margin-top: 0.25rem;
}

/* —— Cards for articles / projects (interaction containers) —— */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.article-link {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem;
  border-top: 2px solid var(--accent);
  background: transparent;
  text-decoration: none;
  color: inherit;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  transition: background 0.2s ease;
}

.article-link:hover {
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
}

.article-link h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.article-link p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* —— CTA band —— */
.cta-band {
  position: relative;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  overflow: hidden;
  isolation: isolate;
  border-block: 1px solid var(--line);
}

.cta-band--solid {
  background: linear-gradient(135deg, #161b22 0%, #0f1318 55%, #1a150c 100%);
}

.cta-band-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-band-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 12, 15, 0.95), rgba(10, 12, 15, 0.82));
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  max-width: 16ch;
}

.cta-band p {
  color: var(--steel-light);
  max-width: 36rem;
  margin: 0 0 1.35rem;
}

/* —— Footer —— */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  background: #080a0d;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--steel-light);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-brand .brand-mark {
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 28ch;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--steel);
  font-size: 0.85rem;
}

/* —— Mobile contact bar —— */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(10, 12, 15, 0.96);
  border-top: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
}

.mobile-bar .btn {
  flex: 1;
  min-height: 46px;
  font-size: 0.88rem;
  padding: 0.55rem 0.75rem;
}

@media (max-width: 760px) {
  .mobile-bar.has-actions {
    display: flex;
  }

  body.has-mobile-bar {
    padding-bottom: 4.5rem;
  }
}

/* —— Reveal motion —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.tech-lines {
  position: relative;
}

.tech-lines::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.placeholder-note {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.35rem 0.6rem;
  border: 1px dashed var(--line-strong);
  color: var(--steel);
  font-size: 0.8rem;
}

.contact-missing {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.contact-cards {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-card:hover {
  border-color: rgba(232, 163, 23, 0.5);
  background: rgba(232, 163, 23, 0.06);
  color: inherit;
}

.contact-card .icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--accent-dim);
  color: var(--accent);
}

.contact-card .icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-card strong {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.2rem;
}

.contact-card span {
  color: var(--steel-light);
  font-weight: 600;
}

.map-frame {
  margin-top: 1.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-panel);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
