:root {
  --ink: #1f2329;
  --ink-2: #2b3037;
  --muted: #667789;
  --paper: #f5f8f8;
  --white: #ffffff;
  --mist: #e8f3f2;
  --sand: #edf0ee;
  --teal: #007f83;
  --teal-dark: #005e63;
  --coral: #ff6248;
  --gold: #dca94d;
  --sky: #1297df;
  --rose: #dd4d80;
  --lime: #94b879;
  --line: rgba(31, 35, 41, 0.12);
  --line-strong: rgba(31, 35, 41, 0.2);
  --shadow: 0 26px 70px rgba(31, 35, 41, 0.16);
  --shadow-soft: 0 14px 38px rgba(31, 35, 41, 0.08);
  --brand-gradient: linear-gradient(135deg, #1f2329 0%, #007f83 42%, #1297df 76%, #ff6248 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 56px);
  color: var(--white);
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, padding 0.2s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(245, 248, 248, 0.82);
  box-shadow: 0 12px 46px rgba(31, 35, 41, 0.1);
  backdrop-filter: blur(20px) saturate(1.25);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 42px rgba(31, 35, 41, 0.18);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled .brand {
  border-color: rgba(31, 35, 41, 0.1);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(31, 35, 41, 0.08);
}

.brand-logo {
  display: block;
  width: 156px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.28));
}

.site-header.is-scrolled .brand-logo {
  filter: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(22, 116, 109, 0.45), rgba(44, 143, 216, 0.22));
  font-weight: 800;
}

.site-header.is-scrolled .brand-mark {
  border-color: rgba(29, 37, 44, 0.18);
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--sky));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.1;
}

.brand small {
  color: currentColor;
  font-size: 0.76rem;
  opacity: 0.78;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(31, 35, 41, 0.2);
  font-size: 0.88rem;
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.main-nav a {
  padding: 8px 11px;
  border-radius: 999px;
  opacity: 0.9;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .main-nav {
  border-color: rgba(31, 35, 41, 0.1);
  background: rgba(255, 255, 255, 0.72);
}

.site-header.is-scrolled .main-nav a:hover {
  color: var(--teal-dark);
  background: rgba(18, 151, 223, 0.1);
}

.menu-button {
  display: none;
  position: relative;
  z-index: 30;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    #1f2329;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 0;
  border-radius: 99px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease;
}

.site-header.is-scrolled .menu-button {
  color: var(--white);
  border-color: rgba(31, 35, 41, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    #1f2329;
  box-shadow: 0 10px 26px rgba(31, 35, 41, 0.18);
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px clamp(18px, 5vw, 64px) 62px;
  background: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(18px, 5vw, 56px);
  bottom: 50px;
  width: min(470px, 38vw);
  height: 10px;
  border-radius: 999px;
  background: var(--brand-gradient);
  box-shadow: 0 16px 42px rgba(18, 151, 223, 0.25);
  opacity: 0.95;
}

.hero::before {
  content: "";
  position: absolute;
  right: -10vw;
  top: 16%;
  width: 44vw;
  height: 36vw;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 151, 223, 0.14), rgba(255, 98, 72, 0.07)),
    linear-gradient(45deg, transparent 0 46%, rgba(255, 255, 255, 0.09) 46% 48%, transparent 48%);
  opacity: 0.78;
  pointer-events: none;
  transform: skewX(-12deg);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(31, 35, 41, 0.96) 0%, rgba(31, 35, 41, 0.78) 48%, rgba(31, 35, 41, 0.28) 100%),
    linear-gradient(135deg, rgba(0, 127, 131, 0.42), rgba(18, 151, 223, 0.24) 45%, rgba(255, 98, 72, 0.2)),
    linear-gradient(0deg, rgba(31, 35, 41, 0.72), transparent 48%);
}

.hero-content {
  position: relative;
  width: min(880px, 100%);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}

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

h1 {
  max-width: 19ch;
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 5.2vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3.3vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.24;
}

.hero-copy {
  width: min(680px, 100%);
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.03rem, 1.5vw, 1.22rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--brand-gradient);
  box-shadow: 0 16px 44px rgba(18, 151, 223, 0.26);
}

.button.primary:hover {
  background: linear-gradient(135deg, var(--teal-dark), #2079b7);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

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

.hero-proof span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.84rem;
  font-weight: 750;
  backdrop-filter: blur(10px);
}

.hero-proof span:nth-child(2) {
  border-color: rgba(44, 143, 216, 0.42);
}

.hero-proof span:nth-child(3) {
  border-color: rgba(201, 75, 124, 0.42);
}

.hero-proof span:nth-child(4) {
  border-color: rgba(201, 154, 65, 0.42);
}

section {
  padding: clamp(70px, 8vw, 124px) clamp(18px, 5vw, 64px);
}

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

.credibility.band {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px),
    var(--ink);
  background-size: 42px 42px;
}

.credibility,
.showcase,
.contact,
.local {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
}

.credibility-grid {
  display: grid;
  gap: 14px;
}

.credibility-grid article {
  display: grid;
  gap: 5px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.credibility-grid strong {
  font-size: 1.02rem;
}

.credibility-grid span,
.service-card p,
.project-content p,
.project-content li,
.showcase-copy p,
.local p,
.contact-copy p,
.section-head.split > p {
  color: var(--muted);
}

.credibility .section-head,
.credibility h2,
.credibility-grid span {
  color: rgba(255, 255, 255, 0.78);
}

.credibility h2,
.credibility-grid strong {
  color: var(--white);
}

.section-head {
  display: flex;
  flex-direction: column;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.section-head h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--sky), var(--coral));
}

.section-head.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: end;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.services {
  background:
    linear-gradient(135deg, transparent 0 72%, rgba(18, 151, 223, 0.08) 72% 78%, transparent 78%),
    var(--paper);
}

.service-card,
.project-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.service-card {
  min-height: 260px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  right: -32px;
  top: 24px;
  width: 110px;
  height: 18px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(18, 151, 223, 0.18), rgba(255, 98, 72, 0.12));
  transform: rotate(-42deg);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--sky));
}

.service-card:nth-child(2)::after {
  background: linear-gradient(90deg, var(--lime), var(--teal));
}

.service-card:nth-child(3)::after {
  background: linear-gradient(90deg, var(--rose), var(--sky));
}

.service-card:nth-child(4)::after {
  background: linear-gradient(90deg, var(--gold), var(--coral));
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 8px;
  color: var(--white);
  background: var(--brand-gradient);
  font-size: 0.9rem;
  font-weight: 900;
}

.portfolio {
  background:
    linear-gradient(90deg, rgba(31, 35, 41, 0.055) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(31, 35, 41, 0.045) 0 1px, transparent 1px),
    #e6f4f7;
  background-size: 56px 56px;
}

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

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

.project-card {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-visual,
.print-preview {
  position: relative;
  min-height: 245px;
  padding: 18px;
  background: #f8faf8;
}

.project-visual {
  display: grid;
  align-content: end;
}

.project-visual.screenshot {
  min-height: 270px;
  padding: 0;
  overflow: hidden;
  background: var(--ink);
}

.project-visual.screenshot::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.project-visual.screenshot img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.project-card:hover .project-visual.screenshot img {
  transform: scale(1.035);
}

.window-dot {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 5px;
  border-radius: 50%;
  background: rgba(29, 37, 44, 0.18);
}

.site-preview {
  display: grid;
  gap: 12px;
  min-height: 178px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.site-preview i {
  display: block;
  border-radius: 6px;
}

.service-site {
  background:
    linear-gradient(140deg, rgba(22, 116, 109, 0.9) 0 44%, rgba(255, 255, 255, 0.92) 44%),
    var(--white);
}

.service-site i:first-child {
  width: 48%;
  height: 22px;
  background: var(--white);
}

.service-site i:nth-child(2) {
  width: 72%;
  height: 10px;
  background: rgba(29, 37, 44, 0.16);
}

.service-site i:nth-child(3) {
  width: 38%;
  height: 34px;
  background: var(--coral);
}

.app-site {
  grid-template-columns: repeat(2, 1fr);
  background: #18242d;
}

.app-site i {
  min-height: 54px;
  background: rgba(255, 255, 255, 0.12);
}

.app-site i:first-child {
  grid-column: 1 / -1;
  min-height: 36px;
  background: var(--gold);
}

.print-preview {
  min-height: 245px;
  background: linear-gradient(135deg, #f7f4ee, #e7efe9);
}

.flyer-preview,
.card-preview {
  position: absolute;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.flyer-preview {
  left: 42px;
  top: 24px;
  width: 36%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--white) 0 48%, var(--teal) 48% 74%, var(--coral) 74%);
}

.card-preview {
  right: 28px;
  bottom: 38px;
  width: 58%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, var(--ink) 0 60%, var(--gold) 60%);
}

.project-content {
  padding: 24px;
}

.project-type {
  margin-bottom: 8px;
  color: var(--rose);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.project-card h3,
.project-card h2 {
  font-size: 1.28rem;
  line-height: 1.16;
}

.project-content ul {
  display: grid;
  gap: 7px;
  padding-left: 18px;
  margin: 18px 0;
}

.project-content a {
  color: var(--teal);
  font-weight: 850;
}

.project-content a::after {
  content: " →";
}

.portfolio-grid .project-card:nth-child(2) .project-type,
.portfolio-grid .project-card:nth-child(2) .project-content a {
  color: var(--lime);
}

.portfolio-grid .project-card:nth-child(3) .project-type,
.portfolio-grid .project-card:nth-child(3) .project-content a {
  color: var(--gold);
}

.portfolio-grid .project-card:nth-child(4) .project-type,
.portfolio-grid .project-card:nth-child(4) .project-content a {
  color: var(--sky);
}

.mock-stack {
  position: relative;
  min-height: 410px;
}

.browser-mock,
.print-mock {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.browser-mock {
  inset: 0 12% 10% 0;
  padding: 18px;
}

.browser-bar {
  display: flex;
  gap: 6px;
  height: 24px;
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}

.mock-hero {
  height: 48%;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(22, 116, 109, 0.72), rgba(201, 75, 124, 0.5), rgba(44, 143, 216, 0.45)),
    url("assets/hero-studio.png") center / cover;
}

.mock-lines {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.mock-lines i {
  display: block;
  height: 12px;
  border-radius: 20px;
  background: #dfe6e4;
}

.mock-lines i:nth-child(2) {
  width: 72%;
}

.mock-lines i:nth-child(3) {
  width: 46%;
}

.print-mock.flyer {
  right: 0;
  bottom: 0;
  width: 34%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--paper) 0 45%, var(--teal) 45% 72%, var(--coral) 72%);
}

.print-mock.card {
  right: 18%;
  bottom: 9%;
  width: 42%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, var(--ink) 0 58%, var(--gold) 58%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 190px;
  padding: 22px;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--teal), var(--sky), var(--coral)) 1;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(240, 222, 196, 0.22)),
    rgba(247, 244, 238, 0.58);
}

.steps li::before {
  counter-increment: steps;
  content: "0" counter(steps);
  display: block;
  margin-bottom: 30px;
  color: var(--coral);
  font-weight: 900;
}

.steps strong,
.steps span {
  display: block;
}

.steps span {
  margin-top: 8px;
  color: var(--muted);
}

.local {
  background: #eef4f1;
}

.local-seo {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 151, 223, 0.12) 0 22%, transparent 22%),
    var(--ink);
}

.local-seo .section-kicker,
.local-seo h2,
.local-seo .section-head.split > p {
  color: var(--white);
}

.inline-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.creation-strip {
  background: var(--white);
}

.asset-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.asset-showcase-wide {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.asset-showcase figure {
  display: grid;
  align-content: space-between;
  gap: 14px;
  margin: 0;
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74)),
    var(--white);
  box-shadow: var(--shadow-soft);
}

.asset-showcase figure::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--brand-gradient);
}

.asset-showcase img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(31, 35, 41, 0.03), rgba(18, 151, 223, 0.05)),
    #fff;
}

.asset-showcase figcaption {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
}

.articles-preview {
  color: var(--white);
  background:
    linear-gradient(135deg, transparent 0 58%, rgba(18, 151, 223, 0.18) 58% 64%, transparent 64%),
    var(--ink-2);
}

.articles-preview .section-kicker,
.articles-preview h2 {
  color: var(--white);
}

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

.article-grid a {
  display: grid;
  gap: 12px;
  min-height: 190px;
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-grid a::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: 28px;
  width: 120px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(18, 151, 223, 0.18), rgba(255, 98, 72, 0.16));
  transform: rotate(-38deg);
}

.article-grid a:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.article-grid span {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.article-grid strong {
  font-size: 1.25rem;
  line-height: 1.18;
}

.page-main {
  padding-top: 72px;
  background: var(--paper);
}

.page-hero {
  position: relative;
  min-height: 58svh;
  display: grid;
  align-content: end;
  background:
    linear-gradient(90deg, rgba(31, 35, 41, 0.04) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(31, 35, 41, 0.035) 0 1px, transparent 1px),
    #e7f2f6;
  background-size: 48px 48px;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: clamp(18px, 7vw, 96px);
  bottom: 72px;
  width: min(360px, 36vw);
  height: 8px;
  border-radius: 99px;
  background: var(--brand-gradient);
}

.page-hero h1 {
  max-width: 850px;
}

.page-hero p:not(.section-kicker) {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.content-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.content-columns p {
  color: var(--muted);
}

.proof-panel {
  padding: 30px;
  border: 1px solid rgba(31, 35, 41, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.proof-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.proof-panel ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

.article-page {
  background:
    linear-gradient(90deg, rgba(31, 35, 41, 0.035) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 151, 223, 0.08), transparent 340px),
    var(--white);
  background-size: 72px 72px, auto, auto;
}

.article-page article {
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(70px, 10vw, 132px) 18px;
}

.article-page article::before {
  content: "KL Studio";
  display: inline-flex;
  margin-bottom: 24px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--brand-gradient);
  font-size: 0.78rem;
  font-weight: 850;
}

.article-page .lead {
  color: var(--muted);
  font-size: 1.2rem;
}

.article-page h2 {
  margin-top: 42px;
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
}

.article-page p {
  color: var(--muted);
}

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

.seo-grid article,
.faq-grid article {
  min-height: 190px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.seo-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 1.05rem;
}

.local-seo .seo-grid p {
  color: var(--muted);
}

.seo-grid p,
.faq-grid p {
  color: var(--muted);
}

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

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.spam-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffdf9;
  font: inherit;
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

/* Modern KL Studio homepage */
.site-header.is-scrolled {
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(31, 35, 41, 0.1);
  backdrop-filter: none;
}

.brand,
.main-nav {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(31, 35, 41, 0.86);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .main-nav {
  border-color: transparent;
  background: #ffffff;
  box-shadow: none;
}

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

.brand-logo,
.site-header.is-scrolled .brand-logo {
  width: 148px;
  max-height: 48px;
  filter: none;
}

.studio-hero {
  min-height: 100svh;
  align-items: center;
  padding-bottom: 48px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px),
    #1f2329;
  background-size: 54px 54px;
}

.studio-hero::before {
  right: -8vw;
  top: 18%;
  width: 44vw;
  height: 28vw;
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, rgba(18, 151, 223, 0.16) 0 2px, transparent 2px 18px),
    rgba(255, 255, 255, 0.03);
  transform: skewX(-16deg);
}

.studio-hero::after {
  left: clamp(18px, 5vw, 64px);
  right: auto;
  bottom: 42px;
  width: min(520px, 42vw);
  height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--sky), var(--coral));
}

.studio-hero .hero-bg {
  opacity: 0.18;
  filter: grayscale(0.35) contrast(1.1);
  mix-blend-mode: screen;
}

.studio-hero .hero-shade {
  background:
    linear-gradient(90deg, rgba(31, 35, 41, 0.98) 0%, rgba(31, 35, 41, 0.86) 44%, rgba(31, 35, 41, 0.52) 100%),
    linear-gradient(0deg, rgba(31, 35, 41, 0.92), transparent 56%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.82fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  width: min(1320px, 100%);
  margin: 0 auto;
}

.studio-hero .hero-content {
  width: auto;
}

.studio-hero h1 {
  max-width: 15.8ch;
  font-size: clamp(2.45rem, 4.45vw, 4.25rem);
  line-height: 1.02;
}

.studio-hero .hero-copy {
  max-width: 680px;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.hero-studio-panel {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.hero-studio-panel::before {
  content: "";
  position: absolute;
  inset: -1px auto -1px -1px;
  width: 6px;
  border-radius: 8px 0 0 8px;
  background: linear-gradient(180deg, var(--sky), var(--teal), var(--coral));
}

.panel-topline,
.panel-bottomline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 800;
}

.panel-topline a,
.panel-bottomline span {
  color: rgba(255, 255, 255, 0.64);
  font-weight: 700;
}

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

.studio-preview {
  position: relative;
  min-height: 142px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #1f2329;
}

.studio-preview.large {
  grid-column: span 2;
  min-height: 260px;
}

.studio-preview img,
.featured-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.95) contrast(1.08);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.studio-preview:hover img,
.featured-card:hover .featured-media img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.1);
}

.studio-manifest {
  color: var(--white);
  background:
    linear-gradient(135deg, transparent 0 62%, rgba(255, 98, 72, 0.08) 62% 68%, transparent 68%),
    var(--ink);
}

.manifest-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(24px, 5vw, 74px);
  align-items: end;
  margin-bottom: clamp(30px, 5vw, 54px);
}

.manifest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.manifest-grid article {
  min-height: 270px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
}

.manifest-grid span {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 900;
}

.manifest-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.22rem;
}

.manifest-grid p,
.studio-manifest .section-kicker,
.studio-manifest h2 {
  color: rgba(255, 255, 255, 0.78);
}

.studio-manifest h2 {
  color: var(--white);
}

.featured-work {
  background:
    linear-gradient(90deg, rgba(31, 35, 41, 0.05) 0 1px, transparent 1px),
    #f8fbfb;
  background-size: 42px 42px;
}

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

.featured-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 20px 54px rgba(31, 35, 41, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 74px rgba(31, 35, 41, 0.16);
}

.featured-card.span-2 {
  grid-column: span 2;
}

.featured-media {
  display: block;
  height: 330px;
  overflow: hidden;
  background: var(--ink);
}

.featured-card:not(.span-2) .featured-media {
  height: 220px;
}

.featured-content {
  display: grid;
  align-content: start;
  padding: 24px;
}

.featured-content p {
  color: var(--muted);
}

.featured-content a {
  margin-top: 10px;
  color: var(--teal-dark);
  font-weight: 900;
}

.featured-content a::after {
  content: " ->";
}

.services {
  background:
    linear-gradient(90deg, rgba(31, 35, 41, 0.06) 0 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 76%, rgba(18, 151, 223, 0.1) 76% 81%, transparent 81%),
    var(--white);
  background-size: 38px 38px, auto, auto;
}

.service-card {
  background: #fbfefe;
  box-shadow: none;
}

.creation-strip {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px),
    #1f2329;
  background-size: 46px 46px;
}

.creation-strip h2,
.creation-strip .section-kicker {
  color: var(--white);
}

.creation-strip .asset-showcase figure {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.creation-strip figcaption {
  color: rgba(255, 255, 255, 0.86);
}

.button.ghost.dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.ai-diagnostic {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px),
    linear-gradient(135deg, rgba(0, 127, 131, 0.18) 0 28%, transparent 28% 100%),
    #2b3037;
  background-size: 48px 48px, auto, auto;
}

.ai-diagnostic .section-kicker,
.ai-diagnostic h2 {
  color: var(--white);
}

.diagnostic-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.diagnostic-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.diagnostic-proof span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.84rem;
  font-weight: 800;
}

.diagnostic-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.18);
}

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

.diagnostic-form label,
.diagnostic-needs legend {
  color: rgba(255, 255, 255, 0.82);
}

.diagnostic-form input,
.diagnostic-form select,
.diagnostic-form textarea {
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
  background: rgba(31, 35, 41, 0.82);
}

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

.diagnostic-needs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.diagnostic-needs legend {
  padding: 0 8px;
  font-size: 0.88rem;
  font-weight: 850;
}

.diagnostic-needs label {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
}

.diagnostic-needs input {
  width: 16px;
  height: 16px;
  accent-color: var(--sky);
}

.diagnostic-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.diagnostic-actions p {
  flex: 1 1 220px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.diagnostic-result {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 6px solid var(--sky);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.diagnostic-result[hidden] {
  display: none;
}

.diagnostic-result h3,
.diagnostic-result p {
  margin-bottom: 0;
}

.diagnostic-result ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
}

@keyframes menuReveal {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 760px) {
  body.menu-open {
    overflow: hidden;
  }

  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9;
    background: rgba(31, 35, 41, 0.46);
    backdrop-filter: blur(4px);
  }
}

@media (max-width: 1080px) {
  .hero-layout,
  .manifest-intro,
  .ai-diagnostic {
    grid-template-columns: 1fr;
  }

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

  .featured-card.span-2 {
    grid-column: span 2;
  }

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

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid-large,
  .asset-showcase,
  .asset-showcase-wide,
  .article-grid,
  .content-columns {
    grid-template-columns: 1fr;
  }

  .seo-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .credibility,
  .showcase,
  .contact,
  .local,
  .section-head.split {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .hero-studio-panel {
    max-width: 640px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand-logo {
    width: 126px;
  }

  .menu-button {
    display: grid;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: min(330px, calc(100vw - 34px));
    padding: 96px 18px 22px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-top: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px),
      linear-gradient(135deg, rgba(0, 127, 131, 0.18), transparent 48%),
      #1f2329;
    background-size: 38px 38px, auto, auto;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
    backdrop-filter: none;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-105%);
    transition: transform 0.28s ease, opacity 0.2s ease;
  }

  .site-header.is-scrolled .main-nav {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.16);
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px),
      linear-gradient(135deg, rgba(0, 127, 131, 0.18), transparent 48%),
      #1f2329;
    background-size: 38px 38px, auto, auto;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  }

  .site-header.is-scrolled .main-nav a {
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.055);
  }

  .site-header.is-scrolled .main-nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
  }

  .site-header.is-scrolled .main-nav a:last-child {
    color: var(--white);
    background: linear-gradient(135deg, var(--teal), var(--sky), var(--coral));
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    animation: menuReveal 0.28s ease both;
  }

  .main-nav::before {
    content: "Menu";
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px 10px;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .main-nav::after {
    content: "";
    order: -1;
    width: 82px;
    height: 4px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--teal), var(--sky), var(--coral));
  }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.055);
    font-size: 1rem;
    opacity: 1;
  }

  .main-nav a::after {
    content: "->";
    color: var(--sky);
    font-weight: 900;
  }

  .main-nav a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
  }

  .main-nav a:last-child {
    color: var(--white);
    border-color: transparent;
    background: linear-gradient(135deg, var(--teal), var(--sky), var(--coral));
  }

  .main-nav a:last-child::after {
    color: var(--white);
  }

  .hero {
    min-height: 88svh;
    padding-top: 116px;
  }

  .studio-hero {
    min-height: auto;
    padding-bottom: 78px;
  }

  .hero::after {
    width: calc(100% - 36px);
    right: 18px;
    bottom: 24px;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(18, 27, 32, 0.9) 0%, rgba(18, 27, 32, 0.56) 100%);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .studio-hero h1 {
    font-size: clamp(2.12rem, 9vw, 3rem);
  }

  .studio-preview.large,
  .featured-media,
  .featured-card:not(.span-2) .featured-media {
    min-height: 190px;
    height: 220px;
  }

  .manifest-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-card.span-2 {
    grid-column: auto;
  }

  .service-grid,
  .steps,
  .diagnostic-fields,
  .diagnostic-needs {
    grid-template-columns: 1fr;
  }

  .mock-stack {
    min-height: 330px;
  }

  .browser-mock {
    inset: 0 4% 12% 0;
  }

  .site-footer {
    flex-direction: column;
  }
}
