/* Medialinkers — static site styles */
:root {
  --paper: #F4F1EA;
  --paper-2: #EAE5DA;
  --ink: #121417;
  --ink-2: #3A3D42;
  --muted: #6B6E73;
  --line: #D9D3C6;
  --signal: #FF4F2E;
  --signal-ink: #C7361A;
  --deep: #0F3B39;
  --deep-2: #16514E;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, Segoe UI, sans-serif;
  --r: 14px;
  --wrap: 1180px;
}

* {
  box-sizing: border-box
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

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

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px
}

.wrap.row {
  margin-left: auto !important;
  margin-right: auto !important;
}

.skip {
  position: absolute;
  left: -999px
}

.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 99
}

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

/* type */
h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 0
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 8.4vw, 112px);
  letter-spacing: -.025em;
  line-height: .95
}

.display em,
.h2 em {
  font-style: italic;
  color: var(--signal)
}

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1
}

.h3 {
  font-size: 22px;
  letter-spacing: -.01em;
  line-height: 1.2
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--signal)
}

.lede {
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 40ch
}

p {
  margin: 0 0 1em
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  transition: .2s
}

.btn-solid {
  background: var(--ink);
  color: var(--paper)
}

.btn-solid:hover {
  background: var(--signal);
  border-color: var(--signal)
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper)
}

.btn .arr {
  transition: transform .2s
}

.btn:hover .arr {
  transform: translateX(4px)
}

.link {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid var(--signal);
  padding-bottom: 2px
}

.link:hover {
  color: var(--signal-ink)
}

/* header */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s
}

.top.scrolled {
  border-color: var(--line)
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.02em
}

.logo svg {
  width: 30px;
  height: 30px
}

.logo img {
  height: 34px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

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

.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-2)
}

.nav a:hover,
.nav a[aria-current] {
  color: var(--ink);
  background: var(--paper-2)
}

.nav .btn {
  margin-left: 10px;
  padding: 10px 18px;
  color: var(--paper)
}

.nav .btn:hover {
  background: var(--signal)
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: .2s
}

.nav-head {
  display: none !important;
}

.nav-backdrop {
  display: none;
}

@media (max-width:900px) {
  body.nav-locked {
    overflow: hidden !important;
    touch-action: none;
  }

  .top {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--paper) !important;
  }

  body.nav-locked .top {
    z-index: 10001 !important;
  }

  .nav-backdrop {
    display: block;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: rgba(18, 20, 23, 0.55) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    z-index: 9999 !important;
  }

  .nav-backdrop.open {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .menu-btn {
    display: block;
  }

  .nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(340px, 86vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: var(--paper) !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 24px 24px 36px !important;
    border-left: 1px solid var(--line) !important;
    border-bottom: none !important;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2) !important;
    transform: translateX(100%) !important;
    transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 10002 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
  }

  .nav.open {
    transform: translateX(0) !important;
  }

  .nav-head {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 18px !important;
    margin-bottom: 8px !important;
    border-bottom: 1px solid var(--line) !important;
    flex-shrink: 0 !important;
  }

  .nav-head .nav-title {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -.01em;
    color: var(--ink);
  }

  .nav-close {
    background: none;
    border: 1px solid var(--line);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
  }

  .nav-close:hover {
    background: var(--paper-2);
    border-color: var(--ink);
    color: var(--signal);
    transform: rotate(90deg);
  }

  .nav a {
    display: block !important;
    width: 100% !important;
    font-size: 19px !important;
    padding: 14px 0 !important;
    border-radius: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    color: var(--ink) !important;
    transition: color .2s ease, padding-left .2s ease !important;
    flex-shrink: 0 !important;
  }

  .nav a:hover,
  .nav a[aria-current] {
    background: none !important;
    color: var(--signal-ink) !important;
    padding-left: 6px !important;
  }

  .nav .btn {
    display: inline-flex !important;
    width: 100% !important;
    margin: 24px 0 0 !important;
    justify-content: center !important;
    border-bottom: 1.5px solid var(--ink) !important;
    border-radius: 999px !important;
    padding: 14px 22px !important;
    font-size: 16px !important;
    background: var(--ink) !important;
    color: var(--paper) !important;
    flex-shrink: 0 !important;
  }

  .nav .btn:hover {
    background: var(--signal) !important;
    border-color: var(--signal) !important;
    color: #fff !important;
    padding-left: 0 !important;
  }
}

/* hero */
.hero {
  padding: 72px 0 40px;
  position: relative;
  overflow: hidden
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .9fr;
  gap: 40px;
  align-items: center
}

.hero .display {
  margin: 22px 0 28px
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px
}

.hero-art {
  position: relative;
  aspect-ratio: 1
}

.hero-art svg {
  width: 100%;
  height: 100%
}

.hero-art .edge {
  stroke: var(--ink);
  stroke-width: 1.2;
  fill: none;
  stroke-dasharray: 4 6;
  animation: dash 18s linear infinite
}

.hero-art .edge.hot {
  stroke: var(--signal);
  stroke-width: 2;
  stroke-dasharray: none;
  animation: none
}

.hero-art .node {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1.5
}

.hero-art .node.hot {
  fill: var(--signal);
  stroke: var(--signal)
}

.hero-art .pulse {
  fill: var(--signal);
  opacity: .25;
  transform-origin: center;
  transform-box: fill-box;
  animation: pulse 2.6s ease-out infinite
}

.hero-art text {
  font: 600 11px var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  fill: var(--ink-2)
}

@keyframes dash {
  to {
    stroke-dashoffset: -200
  }
}

@keyframes pulse {
  0% {
    transform: scale(.6);
    opacity: .45
  }

  100% {
    transform: scale(2.4);
    opacity: 0
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important
  }
}

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

  .hero-art {
    max-width: 420px;
    margin: 0 auto
  }
}

/* marquee */
.marquee {
  border-block: 1px solid var(--ink);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper)
}

.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  padding: 18px 0;
  animation: mq 38s linear infinite;
  width: max-content
}

.marquee span {
  font-family: var(--serif);
  font-size: 30px;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 48px
}

.marquee span::after {
  content: "✳";
  font-style: normal;
  color: var(--signal);
  font-size: 22px
}

@keyframes mq {
  to {
    transform: translateX(-50%)
  }
}

/* sections */
section {
  padding: 110px 0
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 56px;
  flex-wrap: wrap
}

.sec-head .h2 {
  margin-top: 16px;
  max-width: 16ch
}

.dark {
  background: var(--deep);
  color: #EAF1EF
}

.dark .eyebrow {
  color: #9FC1BD
}

.dark .lede {
  color: #C9DAD7
}

.dark .btn {
  border-color: #EAF1EF;
  color: #EAF1EF
}

.dark .btn:hover {
  background: var(--signal);
  border-color: var(--signal)
}

/* services list */
.svc-list {
  border-top: 1px solid var(--ink)
}

.svc {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1.1fr 1.4fr 48px;
  gap: 24px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  isolation: isolate
}

.svc::before {
  content: "";
  position: absolute;
  inset: 0 -20px;
  background: linear-gradient(90deg, var(--paper-2) 0%, rgba(234, 229, 218, 0.7) 45%, transparent 100%);
  border-radius: var(--r);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: -1
}

.svc .num,
.svc .h3,
.svc p {
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), color .25s ease
}

.svc .num {
  font: 500 15px var(--sans);
  color: var(--muted)
}

.svc .h3 {
  font-size: clamp(24px, 3vw, 36px);
  font-family: var(--serif);
  font-weight: 400
}

.svc p {
  margin: 0;
  color: var(--ink-2)
}

.svc .go {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), background-color .3s ease, border-color .3s ease, color .3s ease
}

.svc:hover::before {
  opacity: 1
}

.svc:hover .num,
.svc:hover .h3,
.svc:hover p {
  transform: translateX(14px)
}

.svc:hover .num {
  color: var(--signal)
}

.svc:hover .go {
  background: var(--signal);
  border-color: var(--signal);
  color: #fff;
  transform: rotate(-45deg) scale(1.04)
}

@media (max-width:760px) {
  .svc {
    grid-template-columns: 44px 1fr 44px
  }

  .svc p {
    grid-column: 2/4;
    grid-row: 2
  }

  .svc .go {
    width: 40px;
    height: 40px
  }

  .svc::before {
    inset: 0 -12px
  }

  .svc:hover .num,
  .svc:hover .h3,
  .svc:hover p {
    transform: translateX(8px)
  }
}

/* about split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start
}

@media (max-width:900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 40px
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .15);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 40px
}

.stat {
  background: var(--deep);
  padding: 26px 22px
}

.stat b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  line-height: 1;
  color: #fff
}

.stat span {
  font-size: 14px;
  color: #9FC1BD
}

.process {
  counter-reset: p;
  display: grid;
  gap: 14px
}

.process li {
  list-style: none;
  counter-increment: p;
  padding: 22px 24px 22px 76px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r)
}

.process li::before {
  content: counter(p, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 22px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  color: var(--signal)
}

.process b {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
  color: #fff
}

.process span {
  color: #C9DAD7;
  font-size: 16px
}

/* work */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px
}

@media (max-width:760px) {
  .work-grid {
    grid-template-columns: 1fr
  }
}

.work {
  text-decoration: none;
  display: block
}

.work-shot {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 6/5;
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper-2);
  transition: border-color .3s ease
}

.work-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1)
}

.work:hover .work-shot img,
.work:hover .mock {
  transform: scale(1.04)
}

.mock {
  position: absolute;
  inset: 0;
  padding: 22px;
  transition: transform .6s;
  display: flex;
  flex-direction: column
}

.mock .bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--ink);
  border-bottom: 0;
  border-radius: 10px 10px 0 0
}

.mock .bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line)
}

.mock .bar em {
  margin-left: 10px;
  font: 500 11px var(--sans);
  color: var(--muted);
  font-style: normal
}

.mock .page {
  flex: 1;
  border: 1px solid var(--ink);
  border-radius: 0 0 10px 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px
}

.mock.a .page {
  background: var(--deep);
  color: #fff
}

.mock.b .page {
  background: var(--signal);
  color: #fff
}

.mock .page b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1
}

.mock .page s {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .35);
  text-decoration: none
}

.work-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 4px 0
}

.work-meta .h3 {
  font-size: 24px;
  transition: color .2s ease
}

.work:hover .work-meta .h3 {
  color: var(--signal-ink)
}

.work-meta span {
  color: var(--muted);
  font-size: 14px
}

/* testimonials */
.quote-big {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 26px 0 30px
}

.quote-big::before {
  content: "“";
  color: var(--signal)
}

.quote-big::after {
  content: "”";
  color: var(--signal)
}

.who {
  display: flex;
  align-items: center;
  gap: 14px
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 15px
}

.who b {
  display: block
}

.who span {
  color: var(--muted);
  font-size: 14px
}

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

@media (max-width:760px) {
  .t-grid {
    grid-template-columns: 1fr
  }
}

.t-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px
}

.t-card blockquote {
  margin: 0;
  font-size: 22px;
  font-style: italic;
  line-height: 1.15
}

.t-card p {
  color: var(--ink-2);
  margin: 12px 0 0;
  font-size: 16px
}

.t-card:nth-child(4n+1) {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink)
}

.t-card:nth-child(4n+1) p,
.t-card:nth-child(4n+1) .who span {
  color: #B9BBBF
}

.t-card:nth-child(4n+1) .avatar {
  background: var(--signal)
}

/* posts */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px
}

@media (max-width:900px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:600px) {
  .post-grid {
    grid-template-columns: 1fr
  }
}

.post {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-top: 1.5px solid var(--ink);
  padding-top: 20px;
  gap: 12px
}

.post-img {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--paper-2);
  margin-bottom: 4px
}

.post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease
}

.post:hover .post-img img {
  transform: scale(1.05)
}

.post-img.no-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--paper-2);
  border: 1.5px dashed var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-align: center
}

.post-img.no-img i {
  font-size: 32px;
  opacity: .5;
  color: var(--muted)
}

@media (max-width:600px) {
  .post-img {
    height: 200px
  }
}

.post .meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500
}

.post .tag {
  color: var(--signal-ink);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em
}

.post .h3 {
  font-size: 23px;
  line-height: 1.2;
  transition: color .2s
}

.post p {
  color: var(--ink-2);
  font-size: 16px;
  margin: 0
}

.post:hover .h3 {
  color: var(--signal-ink)
}

.post[hidden] {
  display: none
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 44px
}

.chip {
  border: 1.5px solid var(--ink);
  background: none;
  border-radius: 999px;
  padding: 8px 16px;
  font: 500 14px var(--sans);
  cursor: pointer
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper)
}

.chip:hover {
  border-color: var(--signal)
}

/* page hero */
.page-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line)
}

.page-hero .display {
  font-size: clamp(46px, 7vw, 96px);
  margin: 20px 0 22px;
  max-width: 14ch
}

.crumbs {
  font-size: 14px;
  color: var(--muted)
}

.crumbs a {
  text-decoration: none
}

.crumbs a:hover {
  color: var(--signal-ink)
}

/* service detail */
.detail {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: start
}

@media (max-width:900px) {
  .detail {
    grid-template-columns: 1fr;
    gap: 40px
  }
}

.prose {
  font-size: 18px;
  max-width: 68ch
}

.prose h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 38px;
  margin: 54px 0 16px
}

.prose h2:first-child {
  margin-top: 0
}

.prose ul {
  padding: 0;
  margin: 0 0 1em;
  list-style: none;
  display: grid;
  gap: 10px
}

.prose ul li {
  padding-left: 30px;
  position: relative
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--signal)
}

.steps {
  display: grid;
  gap: 14px;
  margin: 8px 0 1em
}

.steps div {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--r);
  padding: 20px 22px
}

.steps b {
  display: block;
  margin-bottom: 4px
}

.aside {
  position: sticky;
  top: 100px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r);
  padding: 30px
}

.aside h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  margin-bottom: 18px
}

.aside ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 10px;
  font-size: 16px
}

.aside li {
  display: flex;
  gap: 10px
}

.aside li::before {
  content: "→";
  color: var(--signal)
}

.aside .btn {
  width: 100%;
  justify-content: center;
  background: var(--signal);
  border-color: var(--signal);
  color: #fff
}

.aside .btn:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper)
}

.aside small {
  display: block;
  text-align: center;
  margin-top: 14px;
  color: #B9BBBF
}

.aside small a {
  color: #fff
}

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

@media (max-width:760px) {
  .more-svc {
    grid-template-columns: 1fr
  }
}

.more-svc a {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  text-decoration: none;
  background: #fff;
  transition: .2s
}

.more-svc a:hover {
  border-color: var(--ink);
  transform: translateY(-3px)
}

.more-svc .num {
  color: var(--signal-ink);
  font-weight: 600;
  font-size: 14px
}

.more-svc .h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  margin: 8px 0 8px
}

.more-svc p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px
}

/* article */
.article {
  max-width: 740px;
  margin: 0 auto
}

.article .display {
  font-size: clamp(40px, 5.6vw, 72px);
  max-width: none
}

.article-body {
  font-size: 19px;
  line-height: 1.7;
  padding: 56px 0
}

.article-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  margin: 44px 0 14px
}

.article-body img {
  border-radius: var(--r);
  margin: 28px 0
}

.note {
  border: 1px dashed var(--line);
  border-radius: var(--r);
  padding: 20px 22px;
  font-size: 15px;
  color: var(--muted);
  background: #fff
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 30px
}

.post-nav a {
  text-decoration: none
}

.post-nav small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 4px
}

.post-nav b {
  font-weight: 500
}

.post-nav a:hover b {
  color: var(--signal-ink)
}

.post-nav .next {
  text-align: right
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px
}

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

.info {
  display: grid;
  gap: 26px
}

.info div {
  border-top: 1px solid var(--line);
  padding-top: 16px
}

.info small {
  display: block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px
}

.info a,
.info span {
  font-size: 22px;
  text-decoration: none;
  line-height: 1.35
}

.info a:hover {
  color: var(--signal-ink)
}

form.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 36px;
  display: grid;
  gap: 18px
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

@media (max-width:600px) {
  .row2 {
    grid-template-columns: 1fr
  }

  form.card {
    padding: 24px
  }
}

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600
}

input,
textarea,
select {
  font: 400 16px var(--sans);
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  width: 100%
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff
}

textarea {
  min-height: 140px;
  resize: vertical
}

.hp {
  position: absolute;
  left: -9999px
}

.form-msg {
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 10px;
  display: none
}

.form-msg.ok {
  display: block;
  background: #E3F1EC;
  color: var(--deep)
}

.form-msg.err {
  display: block;
  background: #FDE6E0;
  color: var(--signal-ink)
}

/* CTA band */
.cta-band {
  background: var(--signal);
  color: #fff;
  padding: 100px 0;
  overflow: hidden;
}

.cta-band .display {
  font-size: clamp(44px, 7vw, 85px);
  max-width: 13ch;
}

.cta-band .display em {
  color: var(--ink);
}

.cta-band .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100%;
  max-width: 1170px;
}

.cta-band .row>* {
  width: auto;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.cta-band .btn {
  border-color: #fff;
  color: #fff;
  font-size: 17px;
  padding: 18px 28px;
  white-space: nowrap;
}

.cta-band .btn-solid {
  background: #fff;
  color: var(--ink);
}

.cta-band .btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

@media (max-width:600px) {
  .cta-band {
    padding: 60px 0;
  }

  .cta-band .row {
    align-items: flex-start;
    gap: 24px;
    margin: 0 auto !important;
  }

  .cta-band .display {
    max-width: 100%;
    font-size: clamp(34px, 8.5vw, 48px);
    text-align: center;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 14px 22px;
    font-size: 16px;
    box-sizing: border-box;
  }
}

/* footer */
.foot {
  background: var(--ink);
  color: #B9BBBF;
  padding: 80px 0 34px;
  font-size: 15px;
  overflow: hidden;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width:900px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width:600px) {
  .foot {
    padding: 56px 0 32px;
  }

  .foot-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .foot .big {
    font-size: 22px;
    max-width: 100%;
    line-height: 1.25;
  }

  .foot ul {
    gap: 10px;
  }

  .foot ul li,
  .foot a {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 36px;
    padding-top: 20px;
  }
}

.foot h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.foot a {
  text-decoration: none;
}

.foot a:hover {
  color: var(--signal);
}

.foot .logo {
  color: #fff;
  margin-bottom: 16px;
}

.foot .big {
  font-family: var(--serif);
  color: #fff;
  font-size: 22px;
  line-height: 34px;
  max-width: 18ch;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid #2A2D32;
  margin-top: 60px;
  padding-top: 24px;
  font-size: 14px;
}

/* reveal */
.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease
}

.rv.in {
  opacity: 1;
  transform: none
}

.no-js .rv {
  opacity: 1;
  transform: none
}

.split>*,
.hero-grid>*,
.contact-grid>*,
.detail>* {
  min-width: 0
}

@media (max-width:600px) {
  .stats {
    grid-template-columns: 1fr 1fr 1fr
  }

  .stat {
    padding: 18px 12px
  }

  .stat b {
    font-size: 32px
  }

  .stat span {
    font-size: 12px
  }

  section {
    padding: 80px 0
  }

  .t-card {
    padding: 26px
  }
}

/* brand */
.logo .mark {
  width: 34px;
  height: 33px;
  flex: none
}

.logo {
  gap: 11px
}

.foot .logo .mark {
  color: var(--paper)
}

.brand-show {
  padding: 70px 0 0
}

.brand-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--r) * 1.6);
  padding: clamp(40px, 8vw, 110px) 24px;
  display: grid;
  justify-items: center;
  gap: 30px;
  text-align: center;
  position: relative;
  overflow: hidden
}

.brand-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(255, 79, 46, .10), transparent);
  pointer-events: none
}

.brand-card img {
  height: auto;
  position: relative
}

.brand-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 44ch;
  position: relative
}

.brand-card em {
  font-family: var(--serif);
  font-size: 1.25em;
  color: var(--ink)
}

/* captcha */
.g-recaptcha {
  min-height: 78px
}

.captcha-ph {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 304px;
  max-width: 100%;
  min-height: 78px;
  padding: 12px 14px;
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  background: #f9f9f9;
  font: 14px var(--sans);
  color: #222
}

.captcha-ph .box {
  width: 26px;
  height: 26px;
  border: 2px solid #c1c1c1;
  border-radius: 2px;
  background: #fff
}

.captcha-ph small {
  flex-basis: 100%;
  font-size: 11px;
  color: var(--muted);
  margin-top: -4px
}

/* Extracted utility and component classes (replaced inline styles) */
.pt-0 {
  padding-top: 0 !important;
}

.pt-50 {
  padding-top: 50px !important;
}

.pt-60 {
  padding-top: 60px !important;
}

.pt-70 {
  padding-top: 70px !important;
}

.page-hero.post-hero {
  border: 0;
  padding-bottom: 0;
}

.post.post-clean {
  border: 0;
  padding: 0;
}

.lede.lede-wide {
  max-width: none;
}

.lede.lede-service {
  max-width: none;
  margin-bottom: 1.4em;
}

.mb-24 {
  margin-bottom: 24px !important;
}

.post-grid.row-gap-48 {
  row-gap: 48px;
}

.about-pillars {
  display: grid;
  gap: 18px;
}

.stat-card {
  padding: 28px !important;
}

.stat-quote {
  font-size: 34px !important;
}

@media (max-width: 990px) {
  .cta-band .row {
    justify-content: center;
  }

  .foot .big {
    max-width: inherit;
  }

  .foot .logo {
    margin-bottom: 35px;

  }
}

@media (max-width: 600px) {
  .stat-card {
    padding: 20px 18px !important;
  }

  .stat-quote {
    font-size: 28px !important;
  }
}

.fs-15 {
  font-size: 15px !important;
}

.fs-17 {
  font-size: 17px !important;
}

.form-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
}

.btn-submit {
  justify-self: start;
  cursor: pointer;
}

.heading-spacer {
  margin: 16px 0 24px;
}

.process.process-clean {
  padding: 0;
  margin: 0;
}

.sec-paper-2 {
  background: var(--paper-2);
}

.testimonial-side {
  display: grid;
  gap: 18px;
  align-content: end;
  height: 100%;
}

.card-white {
  background: #fff !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}

.quote-22 {
  font-size: 22px !important;
}

.justify-self-start {
  justify-self: start;
}

/* ========================================================
   BLOG DETAIL PAGES LAYOUT & SIDEBAR
   ======================================================== */
.blog-detail-layout {
  padding: 60px 0 80px;
}

.blog-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}

.blog-main {
  min-width: 0;
}

.blog-main .crumbs {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.blog-main .crumbs a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-main .crumbs a:hover {
  color: var(--signal);
}

.blog-main .display {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.18;
  margin: 0 0 24px;
  max-width: none;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
}

.blog-featured-img {
  width: 100%;
  border-radius: var(--r);
  overflow: hidden;
  margin: 24px 0 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: var(--paper-2);
}

.blog-featured-img img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.blog-content {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
}

.blog-content .lede {
  font-size: 21px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 28px;
  border-left: 3px solid var(--signal);
  padding-left: 18px;
  max-width: none;
}

.blog-content h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.25;
  margin: 40px 0 16px;
  color: var(--ink);
}

.blog-content h3 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  margin: 28px 0 12px;
  color: var(--ink);
}

.blog-content p {
  margin: 0 0 20px;
}

.blog-content ul,
.blog-content ol {
  margin: 0 0 24px 20px;
  padding: 0;
}

.blog-content li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.blog-content strong {
  color: var(--ink);
  font-weight: 600;
}

/* Sidebar styling */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 90px;
}

.sidebar-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
}

.sidebar-card h4 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.sidebar-meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.sidebar-meta-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.sidebar-meta-list .label {
  color: var(--muted);
}

.sidebar-meta-list .value {
  font-weight: 600;
  color: var(--ink);
}

.sidebar-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--signal);
  color: #fff !important;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.sidebar-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-cats a {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: all .2s ease;
}

.sidebar-cats a:hover,
.sidebar-cats a.active {
  background: var(--signal);
  border-color: var(--signal);
  color: #fff;
}

.sidebar-card.sidebar-cta {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.sidebar-card.sidebar-cta h4 {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}

.sidebar-card.sidebar-cta p {
  font-size: 15px;
  color: #B9BBBF;
  line-height: 1.55;
  margin: 0 0 18px;
}

.sidebar-card.sidebar-cta .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.sidebar-card.sidebar-cta .btn:hover {
  background: var(--signal);
  border-color: var(--signal);
  color: #fff;
}

.sidebar-phone {
  display: block;
  text-align: center;
  font-size: 14px;
  color: #fff;
  margin-top: 14px;
  font-weight: 600;
  text-decoration: none;
}

.sidebar-phone:hover {
  color: var(--signal);
}

@media (max-width: 900px) {
  .blog-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .blog-sidebar {
    position: static;
  }
}


/* ========================================================
   RECENT POSTS CAROUSEL
   ======================================================== */
.recent-posts-sec {
  padding: 80px 0 90px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}


.recent-posts-sec .sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  gap: 20px;
}


.carousel-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-btn {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
  transition: all .2s ease;
  padding: 0;
}

.carousel-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.carousel-btn:active {
  transform: translateY(0);
}

.recent-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.recent-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}


.recent-carousel-track::-webkit-scrollbar {
  display: none;
}

.recent-carousel-track .post {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  margin: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}


.recent-carousel-track .post-img {
  height: 220px;
  width: 100%;
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--paper-2);
}

.recent-carousel-track .post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}


.recent-carousel-track .post:hover .post-img img {
  transform: scale(1.04);
}


@media (max-width: 992px) {
  .recent-carousel-track .post {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 600px) {
  .recent-posts-sec {
    padding: 60px 0;
  }

  .recent-posts-sec .sec-head {
    align-items: center;
    margin-bottom: 28px;
  }

  .recent-carousel-track .post {
    flex: 0 0 85%;
  }

  .recent-carousel-track .post-img {
    height: 190px;
  }
}