/* Zolt Technologies — IT company multi-page theme
   Visual structure inspired by Enov (MIT). Code is original. */

:root {
  --ink: #10231c;
  --ink-soft: #2a4036;
  --fog: #e8efe9;
  --paper: #f4f7f4;
  --white: #ffffff;
  --accent: #c45c26;
  --accent-deep: #9a4218;
  --line: rgba(16, 35, 28, 0.12);
  --muted: #5d6f66;
  --radius: 4px;
  --header-h: 4.5rem;
  --header-top-h: 2.4rem;
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --shadow-soft: 0 18px 40px rgba(16, 35, 28, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(196, 92, 38, 0.08), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(16, 35, 28, 0.06), transparent 55%),
    linear-gradient(180deg, #eef3ef 0%, var(--paper) 28%, var(--paper) 100%);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 4.8vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; }

p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.narrow-copy {
  max-width: 46rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { top: 1rem; }

.is-hidden-mobile { display: block; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { color: inherit; transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost-dark:hover { border-color: var(--ink); color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-deep); color: var(--white); }

.text-link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.text-link:hover { color: var(--accent-deep); }

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }

.section-head {
  max-width: 36rem;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head p:last-child { color: var(--muted); margin-bottom: 0; }
.section-head.on-dark h2,
.section-head.on-dark p:not(.eyebrow) { color: rgba(255, 255, 255, 0.88); }
.section-head.on-dark .eyebrow { color: #f0b48f; }

.section-actions {
  margin-top: 2rem;
  text-align: center;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header-top {
  background: rgba(16, 35, 28, 0.92);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
}

.header-top-inner {
  min-height: var(--header-top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-top-info,
.header-top-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-top a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}
.header-top a:hover { color: #f0b48f; }

.header-bar {
  border-bottom: 1px solid transparent;
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}
.brand .custom-logo-link { display: inline-flex; line-height: 0; }
.brand .custom-logo {
  max-height: 3rem;
  width: auto;
  border-radius: 4px;
  background: transparent;
}

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--accent), #e08a4f 55%, var(--ink));
}

.brand-text { display: grid; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}
.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.85;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.nav a {
  padding: 0.45rem 0.7rem;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius);
}
.nav a:hover,
.nav a.is-active { color: var(--accent); }

.header-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: var(--white);
}
.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.28rem auto;
  background: currentColor;
}

/* Scrolled / inner pages */
.site-header.is-scrolled,
body:not(.home) .site-header {
  background: rgba(244, 247, 244, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-scrolled .header-top,
body:not(.home) .site-header .header-top {
  background: var(--ink);
}

.site-header.is-scrolled .brand,
body:not(.home) .site-header .brand,
.site-header.is-scrolled .nav a,
body:not(.home) .site-header .nav a {
  color: var(--ink-soft);
}

.site-header.is-scrolled .nav a.is-active,
.site-header.is-scrolled .nav a:hover,
body:not(.home) .site-header .nav a.is-active,
body:not(.home) .site-header .nav a:hover {
  color: var(--accent);
}

.site-header.is-scrolled .nav-toggle,
body:not(.home) .site-header .nav-toggle {
  border-color: var(--line);
  color: var(--ink);
}

body.home .site-header:not(.is-scrolled) .brand,
body.home .site-header:not(.is-scrolled) .nav a {
  color: rgba(255, 255, 255, 0.9);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 35, 28, 0.55) 0%, rgba(16, 35, 28, 0.35) 40%, rgba(16, 35, 28, 0.82) 100%),
    linear-gradient(90deg, rgba(16, 35, 28, 0.35), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + var(--header-top-h) + 3.5rem) 0 5.5rem;
  max-width: 46rem;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
  margin-right: auto;
  width: min(100% - 2.5rem, 46rem);
}

.hero-brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--white);
}
.hero h1 { color: var(--white); max-width: 18ch; margin-bottom: 1.1rem; }
.hero-lead {
  max-width: 34rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

/* Page header */
.page-header {
  position: relative;
  min-height: 22rem;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}
.page-header-media { position: absolute; inset: 0; }
.page-header-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-header-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 35, 28, 0.45), rgba(16, 35, 28, 0.82));
}
.page-header-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + var(--header-top-h) + 3rem) 0 3rem;
}
.page-header h1 { color: var(--white); max-width: 20ch; }
.page-header .eyebrow { color: #f0b48f; }
.page-header-lead {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

/* Intro */
.intro-strip {
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
  padding-bottom: 1rem;
}
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
}
.intro-item { padding: 1rem 1.1rem; }
.intro-icon {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.intro-item h3 { margin-bottom: 0.45rem; }
.intro-item p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-visual { margin: 0; overflow: hidden; border-radius: var(--radius); }
.about-visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.checklist { margin: 1.25rem 0 1.75rem; display: grid; gap: 0.55rem; }
.checklist li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
  border-radius: 1px;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.mission-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.mission-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.mission-card h3,
.mission-card p { padding-left: 1.25rem; padding-right: 1.25rem; }
.mission-card h3 { margin-top: 1.1rem; }
.mission-card p { color: var(--muted); padding-bottom: 1.35rem; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.values-list { display: grid; gap: 1rem; }
.values-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.values-list strong { color: var(--ink); display: block; margin-bottom: 0.25rem; }

/* Stats */
.stats { padding-top: 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.25rem 0;
}
.stat { text-align: center; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 0.25rem;
  letter-spacing: -0.03em;
}
.stat-label { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Services */
.services {
  background:
    linear-gradient(180deg, transparent, rgba(16, 35, 28, 0.03)),
    repeating-linear-gradient(-12deg, transparent, transparent 18px, rgba(16, 35, 28, 0.025) 18px, rgba(16, 35, 28, 0.025) 19px);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.service {
  padding: 1.6rem 1.4rem;
  border-top: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.service:hover { background: var(--white); transform: translateY(-3px); }
.service-index {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.service p { margin: 0; color: var(--muted); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: none;
}
.process-grid li {
  padding: 1.4rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.process-grid span {
  display: block;
  margin-bottom: 0.8rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent);
}
.process-grid p { margin: 0; color: var(--muted); }

.detail-stack { display: grid; gap: 3.5rem; }
.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.detail-row.reverse > img { order: -1; }
.detail-row img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Work / portfolio */
.work-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.1rem;
}
.work-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  min-height: 18rem;
}
.work-item:first-child { grid-row: span 2; min-height: 100%; }
.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 18rem;
  transition: transform 0.7s var(--ease), opacity 0.4s var(--ease);
  opacity: 0.92;
}
.work-item:hover img { transform: scale(1.05); opacity: 1; }
.work-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(transparent, rgba(16, 35, 28, 0.85));
  color: var(--white);
}
.work-meta h3 { color: var(--white); margin-bottom: 0.2rem; }
.work-meta p { margin: 0; color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.portfolio-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.portfolio-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}
.portfolio-body { padding: 1.2rem 1.25rem 1.4rem; }
.portfolio-body .meta {
  margin: 0 0 0.4rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}
.portfolio-body p:last-child { margin: 0; color: var(--muted); }

/* Pricing */
.pricing,
.pricing-home {
  background: linear-gradient(160deg, #163028 0%, #10231c 45%, #1a3329 100%);
  color: var(--white);
}
.pricing-page {
  background: transparent;
  color: inherit;
  padding-top: 3.5rem;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.price-plan {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink-soft);
  padding: 2rem 1.6rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.price-plan.is-featured {
  outline: 2px solid var(--accent);
  transform: translateY(-0.5rem);
}
.plan-name { margin: 0 0 0.5rem; font-weight: 600; color: var(--muted); }
.plan-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan-price span {
  font-size: 1rem;
  vertical-align: super;
  margin-right: 0.15rem;
  letter-spacing: 0;
}
.plan-note { margin: 0.4rem 0 1.4rem; color: var(--muted); font-size: 0.92rem; }
.price-plan ul { display: grid; gap: 0.55rem; margin-bottom: 1.75rem; flex: 1; }
.price-plan li { padding-left: 1rem; position: relative; }
.price-plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--accent);
}
.price-plan .btn { align-self: flex-start; }
.pricing-footnote {
  margin: 2rem auto 0;
  max-width: 40rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.compare-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--line);
}
.compare-head {
  border-top: 0;
  background: var(--fog);
  font-weight: 700;
  color: var(--ink);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.home .team-grid {
  grid-template-columns: repeat(3, 1fr);
}
.team-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--fog);
}
.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.team-card:hover img { transform: scale(1.04); }
.team-info {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  padding: 0.9rem 1rem;
  background: rgba(244, 247, 244, 0.94);
  border-radius: var(--radius);
}
.team-info p { margin: 0 0 0.15rem; font-size: 0.85rem; color: var(--muted); }
.team-info h3 { margin: 0; font-size: 1.15rem; }

/* CTA */
.cta {
  position: relative;
  min-height: 22rem;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.cta-media { position: absolute; inset: 0; }
.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.cta-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: max(1.25rem, calc((100% - var(--max)) / 2));
  width: min(100% - 2.5rem, 40rem);
  padding: 1.75rem;
  background: rgba(244, 247, 244, 0.94);
  border-radius: var(--radius);
}
.cta-panel h2 { margin-bottom: 0.4rem; }
.cta-panel p { margin: 0; color: var(--muted); }

.play-btn {
  flex-shrink: 0;
  width: 3.6rem;
  height: 3.6rem;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.play-btn:hover { transform: scale(1.05); background: var(--accent-deep); }
.play-btn span {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.45rem 0 0.45rem 0.75rem;
  border-color: transparent transparent transparent var(--white);
  margin-left: 0.15rem;
}

.cta-band {
  padding: 3.5rem 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.4rem; }
.cta-band p { margin: 0; max-width: 36rem; }

/* Journal / blog */
.journal { background: rgba(16, 35, 28, 0.03); }
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.journal-item {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.journal-item img,
.journal-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.journal-body {
  padding: 1.25rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}
.journal-body .meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.journal-body .meta span { color: var(--accent); font-weight: 600; }
.journal-body h3 a { text-decoration: none; }
.journal-body h3 a:hover { color: var(--accent); }
.journal-body > p { margin: 0; color: var(--muted); }

.single-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 2rem;
  align-items: start;
}
.single-content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.single-feature {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.single-content h2 { margin-top: 1.5rem; }
.single-sidebar { display: grid; gap: 1rem; }
.sidebar-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.sidebar-block ul { display: grid; gap: 0.75rem; }
.sidebar-block a { text-decoration: none; font-weight: 600; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-details { margin-top: 1.5rem; display: grid; gap: 0.55rem; }
.contact-details a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}
.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid rgba(196, 92, 38, 0.35);
  border-color: var(--accent);
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.product-body {
  padding: 1.25rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.product-body .meta {
  margin: 0;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}
.product-tagline {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}
.product-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

.product-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: 4rem;
}
.product-feature.is-reversed .product-feature-media { order: 2; }
.product-feature-media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.product-feature-copy .btn { margin-top: 0.5rem; }

/* Detailed service groups */
.service-group {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.service-group-title {
  margin-bottom: 1.25rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}
.service-group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.service-group-item {
  padding: 1.15rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.service-group-item h4 {
  margin-bottom: 0.4rem;
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
  font-family: var(--font-display);
}
.service-group-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.service-groups.is-seo {
  background: rgba(16, 35, 28, 0.03);
}
.form-status { margin: 0; font-size: 0.92rem; color: var(--ink); }

.map-placeholder {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.map-placeholder img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  filter: brightness(0.7);
}
.map-caption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  max-width: 24rem;
  padding: 1rem 1.15rem;
  background: rgba(244, 247, 244, 0.94);
  border-radius: var(--radius);
}
.map-caption h3 { margin-bottom: 0.25rem; }
.map-caption p { margin: 0; color: var(--muted); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2rem;
}
.brand-light { color: var(--white); margin-bottom: 1rem; }
.footer-blurb {
  max-width: 22rem;
  margin: 1rem 0 0;
  font-size: 0.95rem;
}
.footer-contact { margin-top: 1rem; }
.footer-contact a { text-decoration: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer h4 { color: var(--white); margin-bottom: 1rem; }
.site-footer a { text-decoration: none; color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: #f0b48f; }
.site-footer ul { display: grid; gap: 0.45rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
}
.footer-bottom p { margin: 0; }
.credit { opacity: 0.7; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Video modal */
.video-modal[hidden] { display: none; }
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 12, 0.78);
}
.video-modal-dialog {
  position: relative;
  width: min(100%, 860px);
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}
.video-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  z-index: 2;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.video-frame { position: relative; aspect-ratio: 16 / 9; }
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive */
@media (max-width: 980px) {
  .is-hidden-mobile { display: none !important; }

  .nav {
    position: fixed;
    inset: calc(var(--header-h)) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(244, 247, 244, 0.98);
    border-bottom: 1px solid var(--line);
  }
  body.home .site-header:not(.is-scrolled) .nav.is-open,
  .nav.is-open { display: flex; }
  .nav a { color: var(--ink-soft); padding: 0.75rem 0.5rem; }
  .nav-toggle { display: inline-grid; place-content: center; }
  .header-cta { display: none; }

  .intro-grid,
  .services-grid,
  .pricing-grid,
  .journal-grid,
  .stats-grid,
  .mission-grid,
  .portfolio-grid,
  .product-grid,
  .process-grid,
  .team-grid,
  .home .team-grid,
  .page-about .team-grid,
  .service-group-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .contact-grid,
  .footer-grid,
  .values-grid,
  .detail-row,
  .detail-row.reverse,
  .single-layout,
  .product-feature,
  .product-feature.is-reversed {
    grid-template-columns: 1fr;
  }
  .product-feature.is-reversed .product-feature-media { order: 0; }
  .detail-row.reverse > img { order: 0; }

  .work-grid { grid-template-columns: 1fr; }
  .work-item:first-child { grid-row: auto; }
  .price-plan.is-featured { transform: none; }
  .cta-panel { margin-inline: auto; }
}

@media (max-width: 640px) {
  .intro-grid,
  .services-grid,
  .pricing-grid,
  .journal-grid,
  .stats-grid,
  .mission-grid,
  .portfolio-grid,
  .product-grid,
  .process-grid,
  .team-grid,
  .home .team-grid,
  .page-about .team-grid,
  .service-group-grid {
    grid-template-columns: 1fr;
  }
  .hero-content { padding-bottom: 4rem; }
  .footer-bottom { flex-direction: column; }
  .compare-row { grid-template-columns: 1fr; }
}
