:root {
  --bg-dark: #0b0b0c;
  --surface-dark: #151517;
  --surface-dark-2: #1d1d20;
  --ink: #121214;
  --ink-soft: #2e2f33;
  --text-muted: #464a4f;
  --text-on-dark: rgba(255, 255, 255, 0.72);
  --paper: #f6f6f4;
  --white: #ffffff;
  --red: #e30613;
  --red-hover: #c10510;
  --red-soft: rgba(227, 6, 19, 0.1);
  --steel: #b9bec3;
  --steel-grain:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.05) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 11px);
  --steel-brushed: var(--steel-grain),
    linear-gradient(180deg, #c4c9ce 0%, #adb3b9 48%, #bbc0c5 100%);
  --steel-brushed-light: var(--steel-grain),
    linear-gradient(180deg, #d8dce0 0%, #c6cbd0 55%, #d1d5d9 100%);
  --steel-brushed-dark: var(--steel-grain),
    linear-gradient(180deg, #b6bbc0 0%, #a4aaaf 100%);
  --line: rgba(18, 18, 20, 0.1);
  --line-dark: rgba(255, 255, 255, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(18, 18, 20, 0.06), 0 2px 8px rgba(18, 18, 20, 0.04);
  --shadow: 0 2px 4px rgba(18, 18, 20, 0.04), 0 12px 32px rgba(18, 18, 20, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --header-h: 72px;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1200px;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--steel-brushed);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

section[id] {
  scroll-margin-top: var(--header-h);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 5.2vw, 4.5rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.875rem, 3.6vw, 3rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: currentColor;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
  padding: 0 var(--gutter);
  background: rgba(11, 11, 12, 0.85);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 36px;
  height: 36px;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--steel);
}

.brand-name b {
  color: var(--red);
  font-weight: inherit;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--text-on-dark);
  transition: color 160ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.site-nav a:hover {
  color: var(--white);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  min-height: 40px;
  margin-left: 4px;
  padding: 8px 18px;
  color: var(--white);
  font-size: 0.9rem;
}

.site-nav .nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease,
    transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(227, 6, 19, 0.28);
}

.button-primary:hover {
  background: var(--red-hover);
  box-shadow: 0 10px 28px rgba(227, 6, 19, 0.36);
}

.button-light {
  background: transparent;
  color: var(--ink);
  border-color: rgba(18, 18, 20, 0.25);
}

.button-light:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.hero .button-light,
.contact-section .button-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero .button-light:hover,
.contact-section .button-light:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  color: var(--red);
  font-weight: 600;
}

.text-link::after {
  content: "→";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  justify-items: start;
  min-height: clamp(560px, calc(100vh - var(--header-h)), 900px);
  padding: clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px) clamp(96px, 9vw, 130px);
  background: var(--bg-dark);
  color: var(--white);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: clamp(28px, 4vw, 48px);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}

.hero-copy h1,
.hero-copy .hero-intro {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.hero-intro {
  max-width: 580px;
  margin-bottom: 36px;
  color: var(--text-on-dark);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-media {
  position: absolute;
  z-index: 0;
  inset: 0;
}

/* Darken the photos (most on the text side) so the hero copy stays readable */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, 0.82) 0%, rgba(11, 11, 12, 0.5) 50%, rgba(11, 11, 12, 0.2) 100%),
    linear-gradient(180deg, transparent 60%, rgba(11, 11, 12, 0.6));
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 7s ease-out;
}

.hero-slide.is-active img {
  transform: scale(1.06);
}

.hero-slide figcaption {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 3vw, 40px);
  bottom: 60px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(11, 11, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms ease 400ms, transform 600ms ease 400ms;
}

.hero-slide figcaption::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.hero-slide.is-active figcaption {
  opacity: 1;
  transform: none;
}

.hero-dots {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 3vw, 40px);
  bottom: 32px;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 300ms ease, background 300ms ease;
}

.hero-dots button:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero-dots button.is-active {
  width: 24px;
  background: var(--red);
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(72px, 9vw, 120px) var(--gutter);
}

.section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section-kicker,
.section-heading {
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-kicker > *,
.section-heading > div {
  max-width: 760px;
}

.section-kicker p:not(.eyebrow),
.proof-section p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 32px;
}

.section-heading h2 {
  flex: 1 1 520px;
  max-width: 760px;
  margin-bottom: 0;
}

.section-heading .eyebrow {
  flex-basis: 100%;
  margin-bottom: 0;
}

/* ---------- Services ---------- */

.services-section {
  background: var(--steel-brushed);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--steel-brushed-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 6, 19, 0.25);
  box-shadow: var(--shadow);
}

.card-number {
  margin-bottom: 40px;
  color: var(--red);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
}

/* ---------- Projects ---------- */

.work-section {
  background: var(--steel-brushed);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.work-card {
  overflow: hidden;
  background: var(--steel-brushed-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.work-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 500ms ease;
}

.work-card:hover img {
  transform: scale(1.04);
}

.work-card-copy {
  position: relative;
  padding: 26px 26px 30px;
  background: var(--steel-brushed-light);
}

.work-card-copy .eyebrow {
  margin-bottom: 10px;
}

.work-card p:not(.eyebrow),
blockquote p,
.faq-list p {
  color: var(--text-muted);
}

.work-card-copy p:last-child {
  margin-bottom: 0;
}

/* ---------- Why OLNET ---------- */

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  background:
    radial-gradient(50% 80% at 100% 0%, rgba(227, 6, 19, 0.12), transparent 70%),
    var(--bg-dark);
  color: var(--white);
}

.proof-section > * {
  margin: 0;
}

.proof-section p:not(.eyebrow) {
  color: var(--text-on-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  background: var(--surface-dark);
  border: 1px solid var(--line-dark);
  border-top: 2px solid var(--red);
  border-radius: var(--radius);
}

.stat strong {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  line-height: 1;
  color: var(--white);
}

.stat span {
  color: var(--steel);
  font-size: 0.95rem;
}

/* ---------- Process ---------- */

.process-section {
  background: var(--steel-brushed);
}

.process-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
}

.process-tabs {
  display: grid;
  gap: 6px;
  align-content: start;
}

.process-tab {
  position: relative;
  padding: 16px 20px;
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.process-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 3px;
  background: transparent;
  transition: background 180ms ease;
}

.process-tab:hover {
  color: var(--ink);
  background: rgba(18, 18, 20, 0.04);
}

.process-tab.is-active {
  background: var(--steel-brushed-light);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.process-tab.is-active::before {
  background: var(--red);
}

.process-panel {
  padding: clamp(28px, 4vw, 44px);
  background: var(--steel-brushed-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.process-count {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-family: var(--font-head);
  font-weight: 700;
}

.process-panel h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
}

.process-panel p {
  max-width: 620px;
  color: var(--text-muted);
}

.process-panel ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.process-panel li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--steel-brushed-dark);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.process-panel li::before {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

/* ---------- Approach quotes ---------- */

.reviews-section {
  background: var(--steel-brushed);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

blockquote {
  position: relative;
  margin: 0;
  padding: 48px 36px 36px;
  background: var(--steel-brushed-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

blockquote::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  left: 30px;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
}

blockquote p {
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 500;
  line-height: 1.5;
}

cite {
  color: var(--red);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- FAQ ---------- */

.faq-section {
  background: var(--steel-brushed);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-left: 0;
}

.faq-section .section-heading,
.faq-section .faq-list {
  max-width: 860px;
}

details {
  background: var(--steel-brushed-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 200ms ease;
}

details[open] {
  box-shadow: var(--shadow-sm);
}

summary {
  position: relative;
  padding: 22px 64px 22px 24px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
}

details[open] summary::after {
  content: "\2212";
}

details p {
  margin: 0;
  padding: 0 24px 24px;
}

/* ---------- Contact ---------- */

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  padding: clamp(72px, 9vw, 120px) var(--gutter);
  background:
    radial-gradient(50% 70% at 0% 100%, rgba(227, 6, 19, 0.14), transparent 70%),
    var(--bg-dark);
  color: var(--white);
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.contact-copy p:not(.eyebrow) {
  color: var(--text-on-dark);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--surface-dark);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--surface-dark-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.contact-form select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b9bec3' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.25);
}

.contact-form textarea {
  resize: vertical;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .button {
  width: fit-content;
  margin-top: 4px;
}

.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  animation: status-slide-in 0.3s ease;
}

.form-status.is-success {
  display: block;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.form-status.is-error {
  display: block;
  background: rgba(227, 6, 19, 0.12);
  border: 1px solid rgba(227, 6, 19, 0.45);
  color: #fca5a5;
}

.button.is-loading {
  pointer-events: none;
  opacity: 0.8;
}

.button.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: button-spin 0.6s linear infinite;
}

@keyframes status-slide-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ---------- Footer ---------- */

.site-footer {
  padding: 64px var(--gutter) 32px;
  background: #070708;
  border-top: 1px solid var(--line-dark);
  color: var(--text-on-dark);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
}

.footer-brand p {
  max-width: 340px;
  margin: 16px 0 0;
  font-size: 0.95rem;
}

.footer-heading {
  margin: 0 0 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.site-footer a {
  transition: color 160ms ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  max-width: var(--max);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p:last-child {
  text-align: right;
}

.footer-bottom p:nth-child(2) {
  text-align: center;
}

@media (max-width: 640px) {
  .footer-bottom {
    gap: 8px;
    font-size: 0.72rem;
  }
}

/* ---------- Privacy page ---------- */

.privacy-hero {
  padding: clamp(72px, 10vw, 128px) var(--gutter) clamp(56px, 7vw, 88px);
  background:
    radial-gradient(60% 90% at 90% 0%, rgba(227, 6, 19, 0.16), transparent 70%),
    var(--bg-dark);
  color: var(--white);
}

.privacy-hero > * {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.privacy-hero h1 {
  margin-bottom: 16px;
}

.privacy-hero .hero-intro {
  margin-bottom: 0;
}

.privacy-body {
  padding: clamp(56px, 8vw, 96px) var(--gutter);
  background: var(--steel-brushed);
}

.privacy-container {
  display: grid;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}

.privacy-card {
  padding: clamp(24px, 4vw, 40px);
  background: var(--steel-brushed-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.privacy-card h2 {
  margin-bottom: 16px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.privacy-card p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.privacy-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.privacy-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--steel-brushed-dark);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
}

.privacy-card li::before {
  content: "\2713";
  flex: 0 0 auto;
  color: var(--red);
  font-weight: 700;
}

.privacy-footer-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}

.privacy-container > .privacy-footer-actions {
  justify-content: center;
  margin-top: 20px;
}

/* ---------- Wide-screen containment for full-bleed grids ---------- */

.proof-section,
.contact-section {
  padding-left: max(var(--gutter), (100% - var(--max)) / 2);
  padding-right: max(var(--gutter), (100% - var(--max)) / 2);
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero,
  .proof-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .services-grid,
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px var(--gutter) 28px;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--line-dark);
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-dark);
  }

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

  .site-nav .nav-cta {
    margin-top: 20px;
    padding: 12px 18px;
    border-bottom: 0;
    color: var(--white);
  }

  .process-layout {
    grid-template-columns: 1fr;
  }

  .process-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .process-tab {
    text-align: center;
    padding: 12px 8px;
    font-size: 0.95rem;
  }

  .process-tab::before {
    top: auto;
    left: 16px;
    right: 16px;
    bottom: 0;
    width: auto;
    height: 3px;
  }

  .reviews-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .services-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .process-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: 0;
  }

  .hero-slide figcaption {
    display: none;
  }

  .hero-dots {
    left: var(--gutter);
    right: auto;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button,
  .contact-form .button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@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;
  }
}

/* ---------- Project cards: clickable ---------- */

.work-card {
  position: relative;
  cursor: pointer;
}

.work-card-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--red);
  font-weight: 600;
  cursor: pointer;
}

.work-card-trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.work-card-trigger::after {
  content: "→";
  transition: transform 180ms ease;
}

.work-card:hover .work-card-trigger::after,
.work-card-trigger:focus-visible::after {
  transform: translateX(5px);
}

.work-card:has(.work-card-trigger:focus-visible) {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.work-card-trigger:focus-visible {
  outline: none;
}

.section-hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Service detail dialogs ---------- */

body.dialog-open {
  overflow: hidden;
}

.service-dialog {
  width: min(1080px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  background: var(--steel-brushed);
  color: var(--ink);
  border: 0;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.service-dialog[open] {
  animation: sd-in 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-dialog::backdrop {
  background: rgba(11, 11, 12, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

@keyframes sd-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
}

.sd-inner {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sd-close {
  position: sticky;
  z-index: 3;
  top: 14px;
  float: right;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 14px 14px -58px 0;
  padding: 0;
  background: rgba(11, 11, 12, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease;
}

.sd-close:hover {
  background: var(--red);
}

.sd-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(280px, 38vw, 400px);
  color: var(--white);
  background: var(--bg-dark);
}

.sd-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.15) 0%, rgba(11, 11, 12, 0.88) 100%);
}

.sd-hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 48px);
}

.sd-hero-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.sd-lead {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.sd-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(24px, 4vw, 48px);
}

.sd-main > section + section {
  margin-top: 40px;
}

.sd-main h3,
.sd-side h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.sd-main p {
  color: var(--text-muted);
}

.sd-features,
.sd-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sd-features {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sd-features li,
.sd-steps li {
  padding: 18px 20px;
  background: var(--steel-brushed-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sd-features h4,
.sd-steps h4 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: 1rem;
}

.sd-features p,
.sd-steps p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.55;
}

.sd-steps {
  counter-reset: step;
}

.sd-steps li {
  position: relative;
  padding-left: 68px;
}

.sd-steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 16px;
  left: 20px;
  color: var(--red);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
}

.sd-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: start;
}

.sd-panel {
  padding: 22px;
  background: var(--steel-brushed-light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sd-panel h3 {
  font-size: 1.1rem;
}

.sd-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.sd-list li {
  position: relative;
  padding-left: 22px;
}

.sd-list li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 10px;
  height: 2px;
  background: var(--red);
}

.sd-ticks li::before {
  top: 0.35em;
  width: 6px;
  height: 11px;
  background: none;
  border: solid var(--red);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.sd-cta {
  width: 100%;
  text-align: center;
}

.sd-next {
  padding: 12px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}

.sd-next:hover {
  border-color: var(--red);
  color: var(--red);
}

@media (max-width: 900px) {
  .sd-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .service-dialog {
    width: 100%;
    max-height: 100dvh;
    border-radius: 0;
  }

  .sd-inner {
    max-height: 100dvh;
  }

  .sd-features {
    grid-template-columns: 1fr;
  }
}

/* ---------- Scroll reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.js .work-card[data-reveal].is-visible:hover {
  transform: translateY(-4px);
}

.js .work-card[data-reveal] {
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms ease;
}

/* ---------- Discourage long-press "save image" on touch devices ---------- */

img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-slide img,
.work-card img,
.sd-hero img {
  pointer-events: none;
}
