:root {
  --navy: #061a3a;
  --blue: #236bff;
  --blue-deep: #0f49d8;
  --sky: #edf5ff;
  --paper: #ffffff;
  --soft: #f5f8fc;
  --line: #dce5f1;
  --text: #172033;
  --muted: #66728a;
  --warm: #f7f2ea;
  --ink: #0b1220;
  --shadow: 0 18px 50px rgba(6, 26, 58, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 64px);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(6, 26, 58, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
}

.brand img {
  width: 178px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 8px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover {
  background: rgba(35, 107, 255, 0.08);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border-radius: 8px;
  color: var(--navy);
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 700;
  list-style: none;
}

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

.nav-dropdown summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown[open] summary,
.nav-dropdown summary:hover {
  background: rgba(35, 107, 255, 0.08);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.nav-dropdown-menu a {
  width: 100%;
  justify-content: flex-start;
}

.site-nav .nav-cta {
  background: var(--blue);
  color: var(--paper);
}

.site-nav .nav-cta:hover {
  background: var(--blue-deep);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(6, 26, 58, 0.16);
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
}

.nav-toggle span[aria-hidden="true"],
.nav-toggle span[aria-hidden="true"]::before,
.nav-toggle span[aria-hidden="true"]::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav-toggle span[aria-hidden="true"] {
  position: relative;
}

.nav-toggle span[aria-hidden="true"]::before,
.nav-toggle span[aria-hidden="true"]::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span[aria-hidden="true"]::before {
  top: -6px;
}

.nav-toggle span[aria-hidden="true"]::after {
  top: 6px;
}

.hero {
  min-height: 720px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 0.9fr);
  gap: clamp(48px, 5.6vw, 96px);
  align-items: center;
  overflow: hidden;
  padding: 128px clamp(20px, 5vw, 64px) 72px;
  background:
    linear-gradient(180deg, #fbfdff 0%, #ffffff 68%),
    linear-gradient(90deg, #ffffff 0%, #ffffff 52%, rgba(233, 243, 255, 0.72) 100%),
    var(--sky);
}

.hero::before {
  content: "";
  position: absolute;
  top: 96px;
  right: 0;
  bottom: 54px;
  width: min(51vw, 900px);
  border-left: 1px solid rgba(158, 187, 226, 0.35);
  border-bottom-left-radius: 8px;
  background:
    linear-gradient(135deg, rgba(247, 251, 255, 0.94) 0%, rgba(228, 240, 255, 0.78) 58%, rgba(207, 225, 250, 0.78) 100%),
    linear-gradient(180deg, rgba(35, 107, 255, 0.1), rgba(35, 107, 255, 0));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.hero-media {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 700px);
  min-height: 472px;
  display: grid;
  place-items: center;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 8px;
  border: 1px solid rgba(143, 174, 215, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 255, 0.72)),
    linear-gradient(135deg, rgba(35, 107, 255, 0.2) 0%, rgba(72, 193, 255, 0.16) 48%, rgba(6, 26, 58, 0.12) 100%);
  box-shadow:
    0 34px 90px rgba(6, 26, 58, 0.16),
    0 10px 28px rgba(35, 107, 255, 0.1);
  isolation: isolate;
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.18) 44%, rgba(255, 255, 255, 0)),
    linear-gradient(135deg, rgba(35, 107, 255, 0.12), rgba(73, 193, 255, 0.08) 45%, rgba(6, 26, 58, 0.1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.hero-media::after {
  content: "";
  position: absolute;
  right: -24%;
  bottom: -26%;
  z-index: -1;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(35, 107, 255, 0.28), rgba(255, 255, 255, 0.08));
  transform: rotate(18deg);
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: min(111%, 748px);
  max-width: none;
  border-radius: 8px;
  object-fit: contain;
  filter:
    drop-shadow(0 26px 34px rgba(6, 26, 58, 0.22))
    saturate(1.05)
    contrast(1.03);
}

.hero-inner {
  position: relative;
  width: min(650px, 100%);
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(3.35rem, 4.55vw, 4.05rem);
  line-height: 1;
  letter-spacing: 0;
}

.title-line {
  display: block;
  white-space: nowrap;
}

.title-accent {
  color: var(--blue);
}

h2 {
  max-width: 790px;
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 3.2rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero p:not(.eyebrow),
.section-heading p,
.contact-card p {
  color: var(--muted);
  font-size: 1.14rem;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  color: #263750;
}

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

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

.button-primary {
  background: var(--blue);
  color: var(--paper);
  box-shadow: 0 12px 30px rgba(35, 107, 255, 0.22);
}

.button-primary:hover {
  background: var(--blue-deep);
}

.button-secondary {
  background: var(--paper);
  border-color: var(--line);
  color: var(--navy);
}

.quick-services {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 5vw, 64px);
  margin-top: -34px;
}

.quick-services-inner {
  width: min(1160px, 100%);
  min-height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.quick-services span {
  min-height: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 14px;
  border-right: 1px solid var(--line);
  color: var(--navy);
  text-align: center;
  font-weight: 800;
}

.quick-services svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-services span:last-child {
  border-right: 0;
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 94px 0;
}

.section-soft {
  width: 100%;
  max-width: none;
  padding: 94px clamp(20px, 5vw, 64px);
  background: var(--soft);
}

.section-soft > .section-heading,
.section-soft > .tab-bar,
.section-soft > .package-panel {
  width: min(1160px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

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

.service-grid article,
.price-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.service-grid article {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.service-grid span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-grid h3 {
  margin-top: 48px;
}

.service-grid p,
.price-card li,
.case-copy p,
.case-copy li,
.process-list p {
  color: var(--muted);
}

.tab-bar,
.case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tab-button,
.case-button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
  cursor: pointer;
  padding: 0 16px;
  font-weight: 800;
}

.tab-button.is-active,
.case-button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--paper);
}

.package-panel {
  display: none;
}

.package-panel.is-active {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.price-card {
  min-height: 410px;
  padding: 22px;
}

.price-card p {
  min-height: 44px;
  margin-bottom: 18px;
  color: var(--navy);
  font-weight: 800;
}

.price-card strong {
  display: block;
  margin-bottom: 24px;
  color: var(--blue);
  font-size: 1.85rem;
  line-height: 1.05;
}

.price-card ul,
.case-copy ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.price-card.featured {
  border-color: rgba(35, 107, 255, 0.35);
  box-shadow: var(--shadow);
}

.extras-panel.is-active {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.extras-panel span {
  min-height: 74px;
  display: flex;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
  font-weight: 800;
}

.case-study {
  display: none;
}

.case-study.is-active {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: 32px;
  align-items: start;
}

.case-copy {
  position: sticky;
  top: 104px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.case-copy h3 {
  font-size: 2.3rem;
}

.text-link,
.mail-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
}

.case-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, 0.6fr);
  gap: 12px;
}

.case-gallery img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(6, 26, 58, 0.08);
}

.case-web {
  height: 520px;
  object-position: top center;
}

.case-social {
  height: 254px;
}

.case-mobile {
  height: 254px;
  object-position: top center;
}

.section-ink {
  width: 100%;
  max-width: none;
  padding: 94px clamp(20px, 5vw, 64px);
  background: var(--navy);
}

.section-ink .section-heading,
.section-ink .process-list {
  width: min(1160px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.section-ink h2,
.section-ink strong {
  color: var(--paper);
}

.section-ink .eyebrow {
  color: #8eb3ff;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 240px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.process-list span {
  display: block;
  margin-bottom: 52px;
  color: #8eb3ff;
  font-size: 0.78rem;
  font-weight: 800;
}

.process-list strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.26rem;
}

.contact-section {
  padding-bottom: 64px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  padding: 34px;
  border-radius: 8px;
  background: var(--sky);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cdd8e8;
  border-radius: 8px;
  background: var(--paper);
  color: var(--text);
  padding: 12px 13px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(35, 107, 255, 0.14);
}

.form-wide {
  grid-column: 1 / -1;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.blog-main {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 136px 0 92px;
}

.blog-hero {
  max-width: 760px;
  padding-bottom: 42px;
}

.blog-hero h1 {
  margin-bottom: 18px;
}

.blog-hero p:not(.eyebrow) {
  color: #263750;
  font-size: 1.14rem;
}

.blog-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 255, 0.92)),
    linear-gradient(135deg, rgba(35, 107, 255, 0.08), rgba(73, 193, 255, 0.06));
  text-align: center;
}

.blog-placeholder span {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 800;
}

.blog-placeholder p {
  margin: 0;
  color: var(--muted);
}

.blog-list {
  display: grid;
  gap: 18px;
}

.post-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.6fr) minmax(0, 1fr);
  gap: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 48px rgba(6, 26, 58, 0.08);
}

.post-card-media {
  min-height: 220px;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--sky);
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.post-card-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.post-card-copy p:not(.post-meta) {
  max-width: 720px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 1.05rem;
}

.post-meta {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.post-read-link,
.post-back {
  color: var(--navy);
  font-weight: 800;
}

.post-read-link:hover,
.post-back:hover {
  color: var(--blue);
}

.post-main {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 136px 0 92px;
}

.post-article {
  display: grid;
  gap: 34px;
}

.post-header {
  max-width: 820px;
}

.post-header h1 {
  margin: 12px 0 18px;
  white-space: normal;
}

.post-header > p:not(.post-meta) {
  color: #263750;
  font-size: 1.16rem;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.post-tags span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbff;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
}

.post-cover {
  width: 100%;
  max-height: 520px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.post-body {
  color: #22314a;
  font-size: 1.08rem;
  line-height: 1.72;
}

.post-body h2,
.post-body h3,
.post-body h4 {
  margin: 34px 0 14px;
}

.post-body p,
.post-body ul,
.post-body ol,
.post-body blockquote,
.post-body pre {
  margin: 0 0 22px;
}

.post-body a {
  color: var(--blue);
  font-weight: 700;
}

.post-body img {
  width: 100%;
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.post-body blockquote {
  padding: 18px 22px;
  border-left: 4px solid var(--blue);
  background: #f7fbff;
  color: var(--navy);
}

.post-body pre {
  overflow-x: auto;
  padding: 18px;
  border-radius: 8px;
  background: #071a38;
  color: #f7fbff;
}

.not-found-main {
  width: min(980px, calc(100% - 40px));
  min-height: 72vh;
  margin: 0 auto;
  padding: 150px 0 96px;
  display: grid;
  place-items: center;
}

.not-found-panel {
  width: 100%;
  padding: clamp(36px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.94)),
    radial-gradient(circle at 80% 10%, rgba(35, 107, 255, 0.16), transparent 32%);
  box-shadow: 0 24px 70px rgba(6, 26, 58, 0.1);
  text-align: center;
}

.not-found-panel h1 {
  margin-bottom: 18px;
}

.not-found-panel p:not(.eyebrow) {
  max-width: 680px;
  margin: 0 auto 28px;
  color: #263750;
  font-size: 1.12rem;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.site-footer {
  width: 100%;
  margin: 0;
  padding: 0 clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  color: var(--muted);
}

.footer-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(160px, 0.6fr) minmax(220px, 0.8fr);
  gap: 40px;
  padding: 46px 0 28px;
}

.footer-brand img {
  width: 164px;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 420px;
  margin: 0;
  color: #516078;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-links span,
.footer-contact span {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-links a,
.footer-contact a {
  color: var(--navy);
  font-weight: 700;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--blue);
}

.footer-bottom {
  width: min(1160px, 100%);
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(220, 229, 241, 0.86);
  color: #718096;
  font-size: 0.92rem;
}

@media (max-width: 1120px) {
  .service-grid,
  .package-panel.is-active {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid article,
  .price-card {
    min-height: 0;
  }

  .service-grid h3 {
    margin-top: 32px;
  }
}

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

  .site-nav {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    min-height: 48px;
    justify-content: flex-start;
  }

  .nav-dropdown summary {
    min-height: 48px;
    justify-content: flex-start;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    padding: 0 0 4px 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    align-items: start;
    padding-top: 122px;
  }

  .hero::before {
    top: auto;
    width: 100%;
    height: 42%;
  }

  .hero-media {
    justify-self: stretch;
    width: 100%;
    max-width: 620px;
    min-height: 340px;
    margin: 6px auto 0;
    padding: 18px;
  }

  .hero-media img {
    width: min(100%, 620px);
    max-width: 100%;
  }

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.35rem;
  }

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

  .quick-services span {
    border-bottom: 1px solid var(--line);
  }

  .quick-services span:nth-child(2n) {
    border-right: 0;
  }

  .quick-services span:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .case-study.is-active,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .case-copy {
    position: static;
  }

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

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

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

  .brand img {
    width: 148px;
  }

  .hero {
    padding-inline: 16px;
  }

  .hero-media {
    min-height: 280px;
    padding: 14px;
  }

  .hero-media img {
    width: min(94%, 480px);
    max-width: 100%;
  }

  .title-line {
    display: inline;
    white-space: normal;
  }

  .title-line + .title-line::before {
    content: " ";
  }

  h1 {
    font-size: clamp(2.02rem, 8vw, 2.38rem);
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions .button,
  .tab-button,
  .case-button {
    width: 100%;
  }

  .quick-services {
    padding-inline: 16px;
  }

  .blog-main {
    width: min(100% - 32px, 1160px);
    padding: 118px 0 72px;
  }

  .blog-placeholder {
    min-height: 260px;
    padding: 30px 22px;
  }

  .post-card {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .post-card-media {
    min-height: 190px;
  }

  .post-main {
    width: min(100% - 32px, 900px);
    padding: 118px 0 72px;
  }

  .quick-services-inner,
  .service-grid,
  .package-panel.is-active,
  .extras-panel.is-active,
  .case-gallery,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 32px, 1160px);
  }

  .section,
  .section-soft,
  .section-ink {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .case-gallery .case-web,
  .case-gallery .case-social,
  .case-gallery .case-mobile {
    height: 360px;
  }

  .footer-bottom {
    min-height: 72px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .contact-card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
