:root {
  --ink: #111111;
  --charcoal: #1b1b1b;
  --muted: #666666;
  --line: #e7e2d3;
  --paper: #fffdf6;
  --white: #ffffff;
  --honey: #f7c51e;
  --honey-dark: #d99d00;
  --mint: #9bd9c0;
  --blue: #6da8d8;
  --rose: #e9898a;
  --violet: #8f7cf7;
  --shadow: 0 24px 60px rgba(17, 17, 17, 0.14);
  --shadow-strong: 0 34px 90px rgba(17, 17, 17, 0.22);
  --shadow-glow: 0 28px 80px rgba(247, 197, 30, 0.18);
  --radius: 8px;
  --max: 1180px;
  --honeycomb-line: rgba(247, 197, 30, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 13% 12%, rgba(155, 217, 192, 0.18), transparent 28vw),
    radial-gradient(circle at 86% 6%, rgba(109, 168, 216, 0.15), transparent 26vw),
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(17, 17, 17, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: auto, auto, 72px 72px, 72px 72px, auto;
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

p {
  margin: 0 0 1rem;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background:
    linear-gradient(90deg, var(--honey), #ffe27a 36%, var(--honey-dark) 72%, var(--honey));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 246, 0.97);
  border-color: rgba(17, 17, 17, 0.12);
  backdrop-filter: blur(18px) saturate(1.08);
  box-shadow: 0 18px 46px rgba(17, 17, 17, 0.1);
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.nav {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand img {
  width: auto;
  height: 46px;
  object-fit: contain;
  content: url("../img/logos/netbee-yellow-black.png");
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.22));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.brand:hover img {
  transform: translateY(-1px);
  filter: drop-shadow(0 8px 16px rgba(17, 17, 17, 0.1));
}

.site-header.is-scrolled .brand img {
  content: url("../img/logos/netbee-black-yellow.png");
  filter: none;
}

.site-footer .brand img {
  height: 42px;
  content: url("../img/logos/netbee-white.png");
}

.brand span:last-child {
  display: grid;
  line-height: 1.05;
}

.brand small {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px) saturate(1.12);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled .nav-links {
  border-color: rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.07);
}

.nav-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.42);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-link::before {
  content: "";
  width: 24px;
  height: 100%;
  position: absolute;
  top: 0;
  left: -42px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transform: skewX(-18deg);
  transition: left 0.38s ease;
}

.nav-link:hover::before {
  left: calc(100% + 24px);
}

.site-header.is-scrolled .nav-link {
  color: #333333;
  text-shadow: none;
}

.nav-link:hover,
.nav-link[aria-current="page"],
.nav-group:has(.mega-card[aria-current="page"]) > .nav-summary {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  transform: translateY(-1px);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link[aria-current="page"],
.site-header.is-scrolled .nav-group:has(.mega-card[aria-current="page"]) > .nav-summary {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}

.nav-group {
  position: relative;
}

.nav-summary {
  cursor: pointer;
  list-style: none;
}

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

.nav-summary span {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-group[open] .nav-summary span {
  transform: translateY(2px) rotate(225deg);
}

.mega-panel {
  width: 410px;
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 14px;
  background: rgba(255, 253, 246, 0.98);
  box-shadow: var(--shadow-strong);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.mega-panel::before {
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  top: -9px;
  left: calc(50% - 9px);
  border-left: 1px solid rgba(17, 17, 17, 0.1);
  border-top: 1px solid rgba(17, 17, 17, 0.1);
  background: inherit;
  transform: rotate(45deg);
}

.nav-group[open] .mega-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-card {
  min-height: 78px;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius);
  color: var(--ink);
  min-width: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mega-card:hover,
.mega-card[aria-current="page"] {
  background: var(--white);
  transform: translateX(3px);
}

.mega-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--honey);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
}

.mega-card strong,
.mega-card small {
  display: block;
  min-width: 0;
}

.mega-card strong {
  font-size: 0.96rem;
  line-height: 1.2;
}

.mega-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.nav-cta {
  background: var(--honey);
  color: var(--ink);
  text-shadow: none;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.nav-cta:hover,
.nav-cta[aria-current="page"] {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.16);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(17, 17, 17, 0.14);
  color: var(--white);
  cursor: pointer;
  position: relative;
  backdrop-filter: blur(14px) saturate(1.1);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-header.is-scrolled .menu-toggle,
.menu-toggle[aria-expanded="true"] {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  width: 22px;
  height: 2px;
  position: absolute;
  left: 10px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle::before {
  top: 13px;
}

.menu-toggle span {
  top: 20px;
}

.menu-toggle::after {
  top: 27px;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
}

.hero.compact {
  min-height: 680px;
}

.hero-media {
  position: absolute;
  inset: 0;
  opacity: 0.58;
}

.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.08);
  transform: scale(1.03);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.34;
  background:
    linear-gradient(30deg, transparent 0 44%, rgba(247, 197, 30, 0.4) 45% 46%, transparent 47% 100%),
    linear-gradient(150deg, transparent 0 44%, rgba(255, 255, 255, 0.24) 45% 46%, transparent 47% 100%);
  background-size: 92px 52px;
  mix-blend-mode: screen;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.98), rgba(17, 17, 17, 0.68) 48%, rgba(17, 17, 17, 0.28)),
    linear-gradient(180deg, rgba(17, 17, 17, 0.14), transparent 30%, rgba(17, 17, 17, 0.94)),
    radial-gradient(circle at 78% 22%, rgba(247, 197, 30, 0.4), transparent 24%),
    radial-gradient(circle at 88% 70%, rgba(109, 168, 216, 0.26), transparent 24%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 118px 0 86px;
}

.hero:not(.compact) .hero-inner {
  max-width: none;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--honey);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(3.3rem, 9.5vw, 8.4rem);
  text-transform: uppercase;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  text-transform: uppercase;
}

h3 {
  font-size: 1.28rem;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button::before {
  content: "";
  width: 34px;
  height: 100%;
  position: absolute;
  top: 0;
  left: -54px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-18deg);
  transition: left 0.42s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.18);
}

.button:hover::before {
  left: calc(100% + 34px);
}

.button.accent {
  border-color: var(--honey);
  background: var(--honey);
  color: var(--ink);
}

.button.accent::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 2px;
  background: currentColor;
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
  opacity: 0.42;
}

.button.ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.hero-strip {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--max));
  margin: -34px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.hero-strip span {
  min-height: 68px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  font-weight: 900;
  text-transform: uppercase;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
}

.hero-strip span::after {
  content: "";
  width: 9px;
  height: 9px;
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--honey);
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
}

.hero-strip span:hover {
  background: var(--ink);
  color: var(--white);
}

.hero-strip span:last-child {
  border-right: 0;
}

.section {
  padding: 104px 0;
  position: relative;
  overflow: hidden;
}

.section::before {
  content: "";
  width: min(300px, 36vw);
  height: 190px;
  position: absolute;
  right: max(16px, calc((100vw - var(--max)) / 2));
  top: 34px;
  opacity: 0.16;
  background:
    linear-gradient(30deg, transparent 0 43%, var(--honeycomb-line) 44% 46%, transparent 47% 100%),
    linear-gradient(150deg, transparent 0 43%, var(--honeycomb-line) 44% 46%, transparent 47% 100%),
    linear-gradient(90deg, transparent 0 48%, var(--honeycomb-line) 49% 51%, transparent 52% 100%);
  background-size: 62px 36px;
  pointer-events: none;
}

.section.dark::before {
  --honeycomb-line: rgba(247, 197, 30, 0.24);
  opacity: 0.22;
}

.section.white::before {
  opacity: 0.12;
}

.section.dark {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--ink);
  background-size: 56px 56px;
  color: var(--white);
}

.section.white {
  background: var(--white);
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 44px;
  margin-bottom: 44px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.dark .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 56px;
  align-items: center;
}

.lede {
  font-size: 1.14rem;
  color: #3d3d3d;
}

.dark .lede {
  color: rgba(255, 255, 255, 0.78);
}

.panel {
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dark .panel {
  background: #202020;
  border-color: rgba(255, 255, 255, 0.12);
}

.visual-panel {
  min-height: 430px;
  position: relative;
  display: grid;
  align-content: end;
  padding: 28px;
  color: var(--white);
  background:
    linear-gradient(rgba(17, 17, 17, 0.22), rgba(17, 17, 17, 0.7)),
    url("../img/pages/web-design-device.png") center/cover;
  transform: rotate(-1deg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  pointer-events: none;
}

.visual-panel:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.visual-panel.branding {
  background:
    linear-gradient(rgba(17, 17, 17, 0.16), rgba(17, 17, 17, 0.76)),
    url("../img/pages/design-branding-device.png") center/cover;
}

.visual-panel.cms {
  background:
    linear-gradient(rgba(17, 17, 17, 0.12), rgba(17, 17, 17, 0.78)),
    url("../img/pages/cms-hero.jpg") center/cover;
}

.visual-panel strong {
  display: block;
  max-width: 420px;
  font-size: 2.4rem;
  line-height: 1;
  text-transform: uppercase;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step,
.service,
.feature,
.portfolio-card,
.faq-item,
.contact-card,
.stat {
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.78) inset;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.service:hover,
.feature:hover,
.portfolio-card:hover,
.contact-card:hover,
.faq-item:hover,
.stat:hover,
.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(247, 197, 30, 0.18);
  border-color: rgba(247, 197, 30, 0.72);
}

.step {
  padding: 24px;
}

.dark .step {
  background:
    linear-gradient(135deg, rgba(247, 197, 30, 0.1), transparent 42%),
    #202020;
  border-color: rgba(255, 255, 255, 0.14);
}

.dark .step h3 {
  color: var(--white);
}

.dark .step p {
  color: rgba(255, 255, 255, 0.72);
}

.step b {
  display: block;
  margin-bottom: 10px;
  color: var(--honey-dark);
  font-size: 1.6rem;
}

.service-grid,
.feature-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service,
.feature,
.contact-card {
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.service::after,
.feature::after,
.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(247, 197, 30, 0.12), transparent 46%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.service > *,
.feature > *,
.contact-card > * {
  position: relative;
  z-index: 1;
}

.service::before,
.feature::before,
.contact-card::before {
  content: "";
  width: 42px;
  height: 42px;
  position: absolute;
  right: -10px;
  top: -10px;
  background: rgba(247, 197, 30, 0.22);
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
  transition: transform 0.22s ease;
}

.service:hover::before,
.feature:hover::before,
.contact-card:hover::before {
  transform: scale(1.7) rotate(12deg);
}

.service:hover::after,
.feature:hover::after,
.contact-card:hover::after {
  opacity: 1;
}

.service .icon,
.feature .icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--honey);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(247, 197, 30, 0.24);
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
}

.service p,
.feature p,
.contact-card p {
  color: var(--muted);
}

.email-panel {
  max-width: 900px;
  margin: 0 auto 24px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, transparent 0 48%, rgba(247, 197, 30, 0.22) 49% 51%, transparent 52% 100%),
    linear-gradient(135deg, rgba(247, 197, 30, 0.18), rgba(255, 255, 255, 0.96) 42%),
    var(--white);
  background-size: 70px 70px, auto, auto;
  box-shadow: var(--shadow);
  text-align: center;
}

.email-panel .eyebrow {
  justify-content: center;
}

.email-panel .eyebrow::before {
  display: none;
}

.email-panel h2 {
  text-transform: none;
  overflow-wrap: anywhere;
}

.email-panel .lede {
  max-width: 720px;
  margin: 18px auto 0;
}

.email-panel .actions {
  justify-content: center;
}

.contact-grid-spaced {
  margin: 0 auto;
}

.contact-section {
  overflow: hidden;
}

.contact-feature {
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  position: relative;
}

.contact-feature::before {
  content: "";
  width: 260px;
  height: 260px;
  position: absolute;
  left: -90px;
  bottom: -120px;
  background: rgba(247, 197, 30, 0.16);
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
}

.contact-feature-copy {
  padding: clamp(28px, 6vw, 64px);
  position: relative;
  z-index: 1;
}

.contact-feature-copy .eyebrow::before {
  background: var(--honey);
}

.contact-feature-copy h2 {
  max-width: 760px;
  text-transform: none;
  overflow-wrap: anywhere;
}

.contact-feature-copy .lede {
  max-width: 650px;
  margin-top: 20px;
}

.contact-prompt {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(28px, 5vw, 44px);
  background:
    linear-gradient(30deg, transparent 0 44%, rgba(247, 197, 30, 0.13) 45% 46%, transparent 47% 100%),
    linear-gradient(150deg, transparent 0 44%, rgba(247, 197, 30, 0.1) 45% 46%, transparent 47% 100%),
    linear-gradient(135deg, rgba(17, 17, 17, 0.9), rgba(17, 17, 17, 0.98)),
    var(--ink);
  background-size: 58px 34px, 58px 34px, auto, auto;
  color: var(--white);
}

.contact-prompt span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-top: 8px;
  background: var(--honey);
  color: var(--ink);
  border-radius: var(--radius);
  font-weight: 900;
}

.contact-prompt strong {
  display: block;
  margin-top: 2px;
  font-size: 1.1rem;
}

.contact-prompt p {
  color: rgba(255, 255, 255, 0.72);
}

.card-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(247, 197, 30, 0.18);
  color: var(--honey-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-grid-spaced .contact-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-grid-spaced .contact-card a {
  font-weight: 900;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.portfolio-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
}

.portfolio-shot {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--shot, var(--honey));
}

.portfolio-shot picture {
  display: block;
  width: 100%;
  height: 100%;
}

.portfolio-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.portfolio-card:hover .portfolio-shot img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.portfolio-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(17, 17, 17, 0.02), rgba(17, 17, 17, 0.76)),
    linear-gradient(120deg, rgba(247, 197, 30, 0.2), transparent 42%);
}

.portfolio-shot span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--honey);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-card h3 {
  padding: 20px 20px 4px;
}

.portfolio-card p {
  padding: 0 20px 22px;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat {
  padding: 24px;
  background: var(--ink);
  color: var(--white);
}

.stat strong {
  display: block;
  color: var(--honey);
  font-size: 2.5rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.band {
  padding: 58px 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.34) 0 12%, transparent 12% 24%, rgba(255, 255, 255, 0.22) 24% 36%, transparent 36% 100%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.32), transparent 26%),
    var(--honey);
  background-size: 220px 100%, auto, auto;
  color: var(--ink);
}

.band .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.band .container > div {
  max-width: 780px;
}

.band .eyebrow {
  color: var(--ink);
}

.band .button {
  flex: 0 0 auto;
  margin-bottom: 4px;
}

.band h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #333333;
}

.check-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 8px;
  background: var(--honey);
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  border: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-question span:last-child {
  font-size: 1.4rem;
  line-height: 1;
  min-width: 18px;
  text-align: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: var(--muted);
  transition: max-height 0.28s ease, padding-bottom 0.28s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding-bottom: 20px;
}

.faq-answer p {
  margin: 0;
}

.form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.site-footer {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--ink);
  background-size: 72px 72px;
  color: var(--white);
  position: relative;
}

.site-footer::before {
  content: "";
  display: block;
  height: 2px;
  background: image-set(
    url("../img/pages/footer-border.webp") type("image/webp"),
    url("../img/pages/footer-border.jpg") type("image/jpeg")
  ) center/cover repeat-x;
}

.footer-grid {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 56px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 36px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h3 {
  margin-bottom: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom .container {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

.policy-content {
  display: grid;
  gap: 28px;
}

.policy-content ol {
  margin: 0;
  padding-left: 1.2rem;
}

.policy-content li {
  margin-bottom: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.09) translate3d(-1.2%, -1.2%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .nav {
    gap: 16px;
  }

  .nav-link {
    padding: 0 11px;
    font-size: 0.78rem;
  }

  .service-grid,
  .feature-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
    gap: 30px;
  }

  .split {
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .section::before {
    display: none;
  }

  .site-header::before {
    height: 2px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    min-height: 76px;
  }

  .nav-links {
    position: fixed;
    inset: 78px 0 auto;
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 18px 16px 24px;
    border: 0;
    border-radius: 0 0 18px 18px;
    background: rgba(255, 253, 246, 0.99);
    border-bottom: 3px solid var(--honey);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

  .site-header .nav-links,
  .site-header.is-scrolled .nav-links {
    background: rgba(255, 253, 246, 0.99);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    justify-content: center;
    min-height: 52px;
    color: var(--ink);
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: var(--radius);
  }

  .site-header .nav-link,
  .site-header.is-scrolled .nav-link {
    color: var(--ink);
  }

  .nav-link:hover,
  .nav-link[aria-current="page"],
  .nav-group:has(.mega-card[aria-current="page"]) > .nav-summary {
    background: var(--honey);
    color: var(--ink);
  }

  .nav-group {
    width: 100%;
  }

  .nav-summary {
    width: 100%;
  }

  .mega-panel {
    width: 100%;
    position: static;
    transform: none;
    margin-top: 10px;
    border-radius: var(--radius);
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
  }

  .mega-panel::before {
    display: none;
  }

  .nav-group[open] .mega-panel {
    transform: none;
  }

  .mega-card {
    min-height: 68px;
    grid-template-columns: 42px 1fr;
  }

  .mega-card strong,
  .mega-card small {
    overflow-wrap: anywhere;
  }

  .mega-card:hover,
  .mega-card[aria-current="page"] {
    transform: none;
  }

  .mega-icon {
    width: 42px;
    height: 42px;
  }

  .hero,
  .hero.compact {
    min-height: 640px;
  }

  .hero-strip,
  .workflow,
  .service-grid,
  .feature-grid,
  .portfolio-grid,
  .stats,
  .contact-grid,
  .contact-feature,
  .footer-grid,
  .section-head,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    margin-top: 0;
  }

  .split .feature-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .band .container,
  .footer-bottom .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .band .button {
    align-self: flex-start;
    margin-bottom: 0;
  }

  .visual-panel {
    transform: none;
  }

  .visual-panel:hover {
    transform: translateY(-3px);
  }
}

@media (max-width: 560px) {
  .container,
  .hero-inner,
  .hero-strip,
  .footer-grid,
  .nav {
    width: min(100% - 24px, var(--max));
  }

  .nav {
    min-height: 68px;
    gap: 12px;
  }

  .nav-links {
    inset: 70px 0 auto;
    max-height: calc(100dvh - 70px);
    padding: 14px 12px calc(18px + env(safe-area-inset-bottom));
  }

  .brand small {
    display: none;
  }

  .brand img {
    height: 38px;
    max-width: 150px;
  }

  .hero,
  .hero.compact {
    min-height: 610px;
  }

  .hero {
    align-items: end;
  }

  .hero::before {
    opacity: 0.2;
    background-size: 70px 40px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(17, 17, 17, 0.96), rgba(17, 17, 17, 0.76)),
      linear-gradient(180deg, rgba(17, 17, 17, 0.28), transparent 34%, rgba(17, 17, 17, 0.9)),
      radial-gradient(circle at 70% 18%, rgba(247, 197, 30, 0.28), transparent 30%);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 13vw, 3.85rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  h2 {
    font-size: clamp(1.9rem, 10vw, 2.85rem);
    line-height: 1.06;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .eyebrow {
    max-width: 100%;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.7rem;
    line-height: 1.25;
  }

  .eyebrow::before {
    width: 24px;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-proof {
    display: none;
  }

  .section {
    padding: 76px 0;
  }

  .hero-inner {
    padding: 68px 0 58px;
  }

  .visual-panel {
    min-height: 280px;
    padding: 22px;
  }

  .visual-panel strong {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
  }

  .hero-actions,
  .actions {
    flex-direction: column;
    margin-top: 22px;
  }

  .button {
    width: 100%;
    min-height: 50px;
    padding: 10px 16px;
  }

  .band .button {
    width: auto;
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  .brand img {
    max-width: 132px;
  }

  h1 {
    font-size: clamp(2.18rem, 12.5vw, 3rem);
  }
}
