/* Raiden Enerji Bilisim - site styles */

@font-face {
  font-family: "DIN Pro";
  src: url("../fonts/DINPro-Light.otf") format("opentype");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro";
  src: url("../fonts/DINPro-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro";
  src: url("../fonts/DINPro-Medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro";
  src: url("../fonts/DINPro-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "DIN Pro";
  src: url("../fonts/DINPro-Black.otf") format("opentype");
  font-weight: 900;
  font-display: swap;
}

:root {
  --ink: #26262a;
  --ink-deep: #1b1b1f;
  --ink-soft: #3c424a;
  --muted: #5c6570;
  --line: #e4eaee;
  --paper: #ffffff;
  --mist: #f5f8f9;
  --cyan: #009ed6;
  --cyan-deep: #0b7faf;
  --cyan-bright: #5ad4f5;
  --r-card: 20px;
  --r-tile: 22px;
  --r-pill: 56px;
  --wrap: 1200px;
  --shadow-sm: 0 2px 10px rgba(24, 32, 40, 0.06);
  --shadow-md: 0 18px 44px rgba(24, 32, 40, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DIN Pro", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--cyan-deep); text-decoration: none; transition: color 0.2s ease; }

a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.028em;
}

p { margin: 0 0 16px; }

p:last-child { margin-bottom: 0; }

button, input, select, textarea { font: inherit; color: inherit; }

.wrap {
  width: min(var(--wrap), calc(100% - 44px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 18px;
  top: -48px;
  z-index: 80;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

.skip:focus { top: 14px; color: #fff; }

/* ---------- top bar ---------- */

.topbar {
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.topbar-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  min-height: 46px;
}

.topbar-list { display: flex; flex-wrap: wrap; gap: 8px 22px; }

.topbar a { color: rgba(255, 255, 255, 0.82); }

.topbar a:hover { color: var(--cyan-bright); }

.topbar-tag { color: rgba(255, 255, 255, 0.5); }

.email-safe {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  line-height: 0;
}

.email-safe img {
  height: 14px;
  width: auto;
  display: block;
  opacity: 0.9;
  transition: opacity 0.15s ease, filter 0.15s ease;
}

.email-safe:hover img {
  opacity: 1;
  filter: brightness(1.25) saturate(1.2);
}

.info-list .email-safe img,
.footer .email-safe img {
  height: 15px;
}

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.brand img { height: 50px; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--r-pill);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle i {
  position: relative;
  width: 16px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle i::before,
.nav-toggle i::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle i::before { top: -5px; }

.nav-toggle i::after { top: 5px; }

.nav-wrap { display: flex; align-items: center; gap: 18px; }

.nav { display: flex; align-items: center; gap: 2px; }

.nav > a,
.menu > a {
  padding: 12px 14px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 500;
  border-radius: 10px;
}

.nav > a:hover,
.menu > a:hover,
.nav > a.is-current,
.menu > a.is-current { color: var(--cyan-deep); }

.menu { position: relative; display: flex; align-items: center; }

.menu > a { padding-right: 6px; }

.menu-toggle {
  width: 26px;
  height: 30px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.menu-toggle::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 7px;
  width: 7px;
  height: 7px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.menu-panel {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: -8px;
  min-width: 290px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  z-index: 20;
}

.menu:hover .menu-panel,
.menu:focus-within .menu-panel,
.menu.is-open .menu-panel { display: block; }

.menu-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 15px;
}

.menu-panel a:hover { background: var(--mist); color: var(--cyan-deep); }

.menu-label {
  display: block;
  padding: 12px 12px 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 10px 0 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-sm { min-height: 48px; font-size: 15px; padding: 0 8px 0 20px; }

.btn-plain { padding: 0 26px; }

.btn .arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cyan);
  color: #fff;
  flex: none;
}

.btn-sm .arrow { width: 32px; height: 32px; }

.btn .arrow svg { width: 15px; height: 15px; }

.btn-primary { background: var(--ink); color: #fff; }

.btn-primary:hover { background: var(--cyan-deep); color: #fff; }

.btn-light { background: #fff; color: var(--ink); }

.btn-light:hover { background: var(--cyan); color: #fff; }

.btn-light:hover .arrow { background: var(--ink); }

.btn-outline { border-color: rgba(255, 255, 255, 0.42); color: #fff; }

.btn-outline:hover { border-color: var(--cyan); background: var(--cyan); color: #fff; }

.btn-cyan { background: var(--cyan); color: #fff; }

.btn-cyan:hover { background: var(--ink); color: #fff; }

.btn-cyan .arrow { background: rgba(255, 255, 255, 0.22); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img { width: 100%; height: 100%; object-fit: cover; }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(27, 27, 31, 0.95) 0%, rgba(27, 27, 31, 0.86) 42%, rgba(27, 27, 31, 0.45) 100%);
}

.hero-in { padding: 104px 0 96px; }

.hero-in > *,
.page-head-in > * { max-width: 820px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border: 1px solid rgba(90, 212, 245, 0.55);
  border-radius: var(--r-pill);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-bright);
}

.hero h1 {
  margin: 26px 0 0;
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
  font-weight: 700;
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.14rem;
  font-weight: 300;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-meta div { display: grid; gap: 2px; }

.hero-meta b { font-size: 1.5rem; font-weight: 700; }

.hero-meta span { color: rgba(255, 255, 255, 0.66); font-size: 14px; }

/* ---------- sections ---------- */

.section { padding: 96px 0; }

.section-mist { background: var(--mist); }

.section-dark { background: var(--ink); color: #fff; }

.section-dark .lead-text,
.section-dark .section-head p { color: rgba(255, 255, 255, 0.74); }

.label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--cyan-deep);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-dark .label { color: var(--cyan-bright); }

.section-head { max-width: 760px; margin-bottom: 44px; }

.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }

.section-head p { margin: 16px 0 0; color: var(--muted); max-width: 66ch; }

.head-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}

.head-split .section-head { margin-bottom: 0; }

/* ---------- service cards ---------- */

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.svc {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px 30px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  color: var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.svc:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 158, 214, 0.4);
  box-shadow: var(--shadow-md);
  color: var(--ink);
}

.svc-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: rgba(0, 158, 214, 0.1);
  color: var(--cyan-deep);
}

.svc-icon svg { width: 30px; height: 30px; }

.svc h3 { font-size: 1.4rem; }

.svc p { color: var(--muted); margin: 0; }

.more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 10px;
  color: var(--cyan-deep);
  font-weight: 500;
  font-size: 15px;
}

.more svg { width: 16px; height: 16px; transition: transform 0.2s ease; }

.svc:hover .more svg,
.tile:hover .more svg { transform: translateX(4px); }

/* ---------- product tiles ---------- */

.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.tile {
  position: relative;
  display: block;
  border-radius: var(--r-tile);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  min-height: 330px;
  isolation: isolate;
}

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.7s ease;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(20, 20, 23, 0.95) 6%, rgba(20, 20, 23, 0.72) 42%, rgba(20, 20, 23, 0.22) 100%);
}

.tile:hover img { transform: scale(1.06); }

.tile:hover { color: #fff; }

.tile-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 28px 26px 26px;
  justify-content: flex-end;
}

.tile-kicker {
  color: var(--cyan-bright);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tile h3 { font-size: 1.45rem; }

.tile p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 15.5px; }

.tile .more { color: var(--cyan-bright); }

.group-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 44px 0 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.group-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.group-head:first-of-type { margin-top: 0; }

.section-dark .group-head { color: rgba(255, 255, 255, 0.6); }

.section-dark .group-head::after { background: rgba(255, 255, 255, 0.14); }

/* ---------- capability cards ---------- */

.cap-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }

.cap {
  flex: 1 1 320px;
  max-width: calc((100% - 40px) / 3);
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}

.section-dark .cap {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
}

.cap-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.cap-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  flex: none;
}

.cap-tag {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-dark .cap-tag { color: rgba(255, 255, 255, 0.6); }

.cap h3 { font-size: 1.2rem; margin-bottom: 8px; }

.cap p { margin: 0; color: var(--muted); font-size: 15.5px; }

.section-dark .cap p { color: rgba(255, 255, 255, 0.72); }

/* ---------- split feature ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.split-media img {
  width: 100%;
  border-radius: var(--r-tile);
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.lead-text { color: var(--ink-soft); font-size: 1.06rem; }

.check { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }

.check li { display: flex; gap: 12px; align-items: flex-start; }

.check li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 4px;
  border-radius: 50%;
  background: rgba(0, 158, 214, 0.12) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7faf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.section-dark .check li::before { background-color: rgba(90, 212, 245, 0.16); }

/* ---------- cta band ---------- */

.cta {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.cta-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 76px 0;
}

.cta h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); max-width: 22ch; }

.cta p { margin: 14px 0 0; max-width: 48ch; color: rgba(255, 255, 255, 0.76); }

.cta-ribbon {
  position: absolute;
  right: -40px;
  top: -30px;
  width: 300px;
  opacity: 0.1;
  z-index: -1;
  pointer-events: none;
}

/* ---------- page head ---------- */

.page-head {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.page-head-bg { position: absolute; inset: 0; z-index: -2; }

.page-head-bg img { width: 100%; height: 100%; object-fit: cover; }

.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(27, 27, 31, 0.96) 0%, rgba(27, 27, 31, 0.88) 45%, rgba(27, 27, 31, 0.5) 100%);
}

.page-head-in { padding: 72px 0 76px; }

.page-head h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.crumb a { color: var(--cyan-bright); }

.crumb a:hover { color: #fff; }

.page-head .hero-lead { margin-top: 20px; }

/* ---------- article ---------- */

.article { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 58px; align-items: start; }

.prose { max-width: 72ch; }

.prose h2 { margin: 40px 0 14px; font-size: clamp(1.5rem, 2.4vw, 1.95rem); }

.prose h2:first-child { margin-top: 0; }

.prose p { color: var(--ink-soft); }

.aside {
  position: sticky;
  top: 112px;
  padding: 30px 28px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}

.aside h2 { font-size: 1.2rem; margin: 0 0 16px; }

.aside-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }

.aside-list a {
  display: block;
  padding: 11px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  font-size: 15.5px;
}

.aside-list a:hover { border-color: var(--cyan); color: var(--cyan-deep); }

.aside-list a.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }

.aside-note { margin: 22px 0 0; color: var(--muted); font-size: 15px; }

.media-card { margin: 0 0 36px; border-radius: var(--r-tile); overflow: hidden; }

.media-card img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 54px; align-items: start; }

.form { display: grid; gap: 18px; }

.field { display: grid; gap: 7px; }

.field > span { font-size: 14px; font-weight: 500; color: var(--ink); }

input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #d7dfe4;
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea { min-height: 160px; resize: vertical; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 158, 214, 0.16);
}

.form-note { margin: 0; color: var(--muted); font-size: 14.5px; }

.info-card {
  padding: 34px 32px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-card);
}

.info-card h2 { font-size: 1.35rem; margin-bottom: 18px; }

.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }

.info-list span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.info-list a { color: #fff; font-weight: 500; }

.info-list a:hover { color: var(--cyan-bright); }

.person {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.person strong { display: block; }

.person span { color: rgba(255, 255, 255, 0.66); font-size: 15px; }

/* ---------- footer ---------- */

.footer { background: var(--ink-deep); color: rgba(255, 255, 255, 0.72); padding: 72px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 54px;
}

.footer img { height: 52px; margin-bottom: 20px; }

.footer p { font-size: 15.5px; max-width: 42ch; }

.footer h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }

.footer a { color: rgba(255, 255, 255, 0.78); font-size: 15.5px; }

.footer a:hover { color: var(--cyan-bright); }

.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: space-between;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .article { grid-template-columns: 1fr; gap: 44px; }
  .aside { position: static; }
  .grid-4, .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .cap { flex-basis: 45%; max-width: calc((100% - 20px) / 2); }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 22px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 84px);
    overflow: auto;
  }

  .nav.is-open { display: flex; }

  .header-in { position: relative; }

  .nav-wrap > .btn { display: none; }

  .menu { display: grid; grid-template-columns: 1fr auto; align-items: center; }

  .menu-panel {
    position: static;
    grid-column: 1 / -1;
    min-width: 0;
    padding: 0 0 10px 12px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }

  .hero-in { padding: 80px 0 72px; }

  .section { padding: 72px 0; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
}

@media (max-width: 700px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .grid-4, .grid-2, .tile-grid { grid-template-columns: 1fr; }
  .cap { flex-basis: 100%; max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 18px; }
  .topbar-in { min-height: 0; padding: 9px 0; }
  .cta-in { padding: 60px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .tile:hover img { transform: none; }
}
