@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/dm-sans-latin.woff2") format("woff2");
}
:root {
  --paper: #f7f7f2;
  --ink: #20221f;
  --muted: #60665b;
  --line: #dce0d4;
  --accent: #d6f475;
  --dark: #222820;
  --gutter: clamp(22px, 4.5vw, 72px);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul {
  list-style: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #568422;
  outline-offset: 5px;
}
::selection {
  background: var(--accent);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.page-card {
  max-width: 1800px;
  margin: auto;
  overflow: clip;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: 82px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gutter);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--accent);
  width: 37px;
  height: 37px;
  border-radius: 50%;
  font-size: 13px;
  letter-spacing: -0.06em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
  transition:
    background-color 0.16s ease,
    color 0.16s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: #e8ecdf;
  border-radius: 8px;
}
.nav-badge {
  font-size: 10px;
  vertical-align: super;
  margin-left: 3px;
  color: var(--muted);
}
.nav-cta,
.hero-cta-btn,
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 650;
  padding: 13px 22px;
  border-radius: 100px;
  min-height: 46px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.nav-cta:hover,
.hero-cta-btn:hover,
.cta-btn:hover {
  background: #39462b;
  transform: translateY(-2px);
}
.nav-cta {
  margin-left: auto;
}
.nav-ham {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.nav-ham span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}
dialog {
  color: var(--ink);
  border: 0;
}
dialog::backdrop {
  background: #111a12b3;
}
.mob-menu {
  inset: 0 0 0 auto;
  width: min(100%, 440px);
  max-width: 100%;
  height: 100dvh;
  max-height: 100%;
  padding: 28px;
  background: var(--paper);
}
.mob-menu[open] {
  display: flex;
  flex-direction: column;
}
.mob-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 44px;
}
.mob-logo {
  font-size: 24px;
  font-weight: 800;
}
.mob-close,
.seo-modal-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e8ecdf;
  font-size: 20px;
}
.mob-nav-links {
  display: flex;
  flex-direction: column;
}
.mob-nav-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 26px;
  font-weight: 700;
}
.mob-nav-links a span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}
.mob-nav-links a.active,
.mob-nav-links a.active span {
  color: #48632d;
}
.mob-cta-wrap {
  margin-top: auto;
  padding-top: 40px;
}
.mob-cta {
  display: block;
  text-align: center;
  padding: 16px;
  background: var(--ink);
  color: white;
  border-radius: 50px;
}
/* Oversized name and portrait retain the original identity. */
.hero {
  height: min(880px, 100svh);
  min-height: 740px;
  position: relative;
  padding: 116px var(--gutter) 0;
  overflow: hidden;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-status {
  display: flex;
  align-items: center;
  gap: 9px;
}
.avail-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #478344;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px #47834415;
}
.hero-name-zone {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 1;
  margin-top: 32px;
  font-size: clamp(60px, 11.3vw, 190px);
  font-weight: 850;
  line-height: 0.9;
  letter-spacing: -0.075em;
}
.hero-name-outlined {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}
.hero-name-solid {
  color: var(--ink);
}
.hero-photo-center {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(410px, 41vw, 590px);
  height: calc(100% - 254px);
  z-index: 2;
  pointer-events: none;
}
.photo-bw {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: grayscale(100%);
}
.hero-name-zone {
  transform: translate3d(0, var(--hero-name-y, 0px), 0);
}
.hero.is-parallax-active .hero-name-zone {
  will-change: transform;
}
.photo-color {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
  opacity: 0;
  -webkit-mask-image: radial-gradient(
    circle 90px at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    #000 45%,
    transparent 100%
  );
  mask-image: radial-gradient(
    circle 90px at var(--spotlight-x, 50%) var(--spotlight-y, 50%),
    #000 45%,
    transparent 100%
  );
  transition: opacity 0.18s ease;
}
.hero-photo-center.is-spotlit .photo-color {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  inset: auto var(--gutter) 52px;
  z-index: 3;
  pointer-events: none;
}
.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.hero-foot > * {
  pointer-events: auto;
}
.hero-foot-left {
  max-width: 290px;
}
.hero-role-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero-role-title {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-role-title em {
  font-style: normal;
  background: var(--accent);
  box-shadow:
    5px 0 var(--accent),
    -2px 0 var(--accent);
}
.hero-role-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 270px;
  margin-bottom: 22px;
}
.hero-cta-btn {
  padding: 14px 20px;
}
.hero-foot-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}
.hero-aside-note {
  font-size: 12px;
  line-height: 1.8;
  text-align: right;
  color: var(--muted);
  max-width: 150px;
}
.hero-socials {
  display: flex;
  gap: 14px;
}
.hero-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
}
.hero-scroll {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  width: 155px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-scroll span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 16px;
}
.expertise-strip {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 21px var(--gutter);
  border-block: 1px solid var(--line);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 650;
}
.expertise-strip span {
  display: flex;
  align-items: center;
  gap: 18px;
}
.expertise-strip span::before {
  content: "✳";
  font-size: 17px;
  color: #547635;
}
.section-divider {
  display: none;
}
.section,
#work.section,
#seo-showcase.section {
  padding: 92px var(--gutter);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 40px;
}
.section-tag,
.exp-section-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.section-title,
.exp-title {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1.04;
}
.section-subtitle {
  max-width: 310px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}
.section-title br {
  display: none;
}
.work-filterbar,
.work-page-filterbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.work-filters {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.work-filter-btn {
  padding: 10px 16px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 50px;
  font-size: 12px;
  color: var(--muted);
}
.work-filter-btn:hover {
  border-color: var(--line);
}
.work-filter-btn.active {
  background: var(--ink);
  color: white;
}
.work-viewall {
  font-size: 12px;
  font-weight: 650;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--ink);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 18px;
}
.work-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 14px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.work-card[href]:hover {
  transform: translateY(-4px);
  border-color: #a5b391;
}
.work-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e8ecdf;
  padding: 10px 10px 0;
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 4px 24px #20221f14;
  transition: transform 0.3s;
}
.work-card[data-type="automation"] .work-thumb {
  background: #20231e;
}
.work-card:hover .work-thumb img {
  transform: translateY(-3px);
}
.work-thumb-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 36px;
}
.work-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  border-radius: 50px;
  background: white;
  color: var(--ink);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
}
.work-badge.app-badge {
  background: var(--accent);
}
.work-overlay {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border-radius: 50px;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  font-size: 10px;
  opacity: 0;
  transition: opacity 0.2s;
}
.work-card:hover .work-overlay,
.work-card:focus-visible .work-overlay {
  opacity: 1;
}
.work-info {
  padding: 14px 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.work-card-title {
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -0.035em;
}
.work-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.work-tag,
.seo-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  background: #f0f2eb;
  padding: 5px 9px;
  border-radius: 5px;
}
.work-tag {
  padding: 4px 7px;
  font-size: 9px;
}
.seo-section {
  border-block: 1px solid var(--line);
  background: #edf0e7;
}
.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.seo-card {
  display: block;
  text-align: left;
  background: var(--paper);
  border: 1px solid #d6ddcd;
  border-radius: 18px;
  width: 100%;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.seo-card:hover {
  border-color: #889b73;
  transform: translateY(-3px);
}
.seo-card-inner {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.seo-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.seo-card-favicon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: #e2e8d7;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}
.seo-card-info {
  display: block;
  flex: 1;
  min-width: 0;
}
.seo-card-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.seo-card-type {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.seo-card-cta {
  font-size: 11px;
  white-space: nowrap;
}
.seo-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.seo-metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  padding: 12px 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.seo-metric-val {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.04em;
}
.seo-metric-lbl {
  font-size: 8px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.seo-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.seo-tag {
  border: 1px solid var(--line);
  background: transparent;
}
.service-list {
  border-top: 1px solid var(--line);
}
.service-row {
  border-bottom: 1px solid var(--line);
  padding: 0 25px;
  transition: background 0.2s;
}
.service-row-head {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 16px;
  padding: 28px 0;
}
.service-row-name {
  font-size: clamp(21px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: -0.045em;
}
.service-row-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 20px;
  flex-shrink: 0;
}
.service-row.open {
  background: var(--dark);
  border-radius: 14px;
  color: white;
  border-color: transparent;
  margin-block: 8px;
}
.service-row.open .service-row-arrow {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
  transform: rotate(45deg);
}
.service-body-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36%;
  gap: 40px;
  padding-bottom: 32px;
}
.service-body-num {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 12px;
}
.service-body-desc {
  font-size: 14px;
  color: #d4d9ce;
  line-height: 1.8;
  max-width: 620px;
}
.service-body-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}
.service-skill {
  font-size: 10px;
  border: 1px solid #59624f;
  color: #d6ddce;
  border-radius: 4px;
  padding: 6px 10px;
}
.service-body-img {
  aspect-ratio: 2 / 1;
  align-self: start;
  border-radius: 10px;
  overflow: hidden;
  background: #232b20;
}
.service-body-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.exp-section {
  background: var(--dark);
  color: white;
  padding: 92px var(--gutter);
  position: relative;
  overflow: hidden;
}
.exp-watermark {
  display: none;
}
.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
  margin-bottom: 45px;
}
.exp-section-tag {
  color: #b5c2a3;
}
.exp-years-badge {
  font-size: 12px;
  color: #c8d1bf;
  border: 1px solid #59624f;
  padding: 12px 20px;
  border-radius: 50px;
}
.exp-years-badge strong {
  color: var(--accent);
  font-size: 20px;
  margin-right: 6px;
}
.exp-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 35px;
  padding: 32px 0;
  border-top: 1px solid #46503d;
}
.exp-date {
  font-size: 12px;
  color: #c1cbb7;
  line-height: 1.7;
}
.exp-company {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.exp-role {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 16px;
}
.exp-bullets {
  display: grid;
  gap: 8px;
  max-width: 820px;
}
.exp-bullets li {
  position: relative;
  padding-left: 15px;
  font-size: 13px;
  line-height: 1.7;
  color: #c1cbb7;
}
.exp-bullets li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.cta-section {
  text-align: center;
  padding: 100px var(--gutter);
  background: var(--accent);
}
.cta-avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  margin-bottom: 25px;
}
.cta-heading {
  font-size: clamp(42px, 7.2vw, 105px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.07em;
  margin-bottom: 24px;
}
.cta-sub {
  max-width: 430px;
  margin: 0 auto 28px;
  font-size: 14px;
  color: #444c34;
  line-height: 1.7;
}
.cta-btn {
  padding: 16px 28px;
  font-size: 14px;
}
.contact-email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.contact-email {
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.contact-email:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-copy {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #7b8d43;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}
.contact-copy:hover {
  background: #20221f0d;
}
.contact-copy-status {
  min-height: 24px;
  margin: 8px 0 12px;
  color: #444c34;
  font-size: 12px;
}
.cta-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.cta-link {
  font-size: 12px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.cta-link:hover,
.footer-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.footer-left {
  font-size: 11px;
  color: var(--muted);
}
.footer-left span {
  color: var(--ink);
  font-weight: 650;
}
.footer-right {
  display: flex;
  gap: 24px;
}
.footer-link {
  font-size: 11px;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--muted);
}
/* Shared gallery styles. */
.work-page-hero {
  padding: 136px var(--gutter) 50px;
  border-bottom: 1px solid var(--line);
}
.work-page-back {
  display: inline-block;
  padding: 10px 0;
  font-size: 12px;
  color: var(--muted);
}
.work-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin-bottom: 30px;
  font-size: 12px;
  color: var(--muted);
}
.work-breadcrumbs li + li::before {
  content: "/";
  margin-right: 12px;
}
.work-page-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.work-page-title {
  font-size: clamp(60px, 9vw, 120px);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -0.07em;
}
.work-page-meta {
  text-align: right;
}
.work-page-count {
  font-size: 11px;
  color: var(--muted);
}
.work-page-count span {
  display: block;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.05em;
  color: var(--ink);
}
.work-page-intro {
  font-size: 14px;
  max-width: 400px;
  line-height: 1.8;
  margin-top: 22px;
  color: var(--muted);
}
.work-page-body {
  padding: 40px var(--gutter) 90px;
}
.work-page-count-live {
  font-size: 12px;
  color: var(--muted);
}
.work-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 18px;
}
.work-section-label {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.work-section-label::after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.work-section-label h2 {
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.work-page-grid .work-card-title {
  font-size: 14px;
}
.work-page-grid .work-info {
  padding: 14px 15px 16px;
}
.work-page-grid .work-thumb {
  padding: 10px 10px 0;
}
/* Native dialogs handle focus trapping, Escape, and inert backgrounds. */
.seo-modal-overlay {
  margin: auto;
  padding: 0;
  width: min(800px, calc(100% - 40px));
  max-width: 800px;
  max-height: 90dvh;
  border-radius: 22px;
  background: var(--paper);
  overflow: auto;
}
.seo-modal {
  width: 100%;
}
.seo-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--dark);
  color: white;
}
.seo-modal-title-block {
  display: flex;
  align-items: center;
  gap: 14px;
}
.seo-modal-emoji {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 800;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
}
.seo-modal-name {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.seo-modal-type {
  font-size: 12px;
  color: #c1cbb7;
  margin-top: 3px;
}
.seo-modal-close {
  background: #46503d;
  color: white;
}
.seo-modal-preview {
  height: 250px;
  overflow: hidden;
  background: #e2e8d7;
}
.seo-modal-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.seo-modal-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 24px;
}
.seo-modal-metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 5px;
}
.seo-modal-metric-val {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.05em;
}
.seo-modal-metric-lbl {
  font-size: 9px;
  color: var(--muted);
}
.seo-modal-body {
  padding: 0 28px 24px;
}
.seo-modal-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.seo-modal-list {
  list-style: disc;
  padding-left: 17px;
  display: grid;
  gap: 12px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.seo-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 20px 28px;
  border-top: 1px solid var(--line);
}
@media (min-width: 1500px) {
  .hero-name-zone {
    font-size: 170px;
  }
  .hero {
    min-height: 850px;
  }
  .hero-foot-left {
    max-width: 340px;
  }
}
@media (max-width: 1100px) {
  .nav-links a {
    padding: 10px 8px;
  }
  .hero-foot-left {
    max-width: 240px;
  }
  .hero-role-title {
    font-size: 27px;
  }
  .hero-photo-center {
    width: 430px;
  }
  .hero-foot-right {
    max-width: 150px;
  }
  .hero-socials {
    flex-direction: column;
    gap: 3px;
  }
  .seo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .work-grid,
  .work-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 800px) {
  .navbar {
    min-height: 72px;
    padding-block: 12px;
    gap: 12px;
  }
  .nav-links {
    display: none;
  }
  .nav-ham {
    display: flex;
  }
  .nav-cta {
    font-size: 11px;
    padding: 11px 17px;
    min-height: 42px;
  }
  .nav-brand > span:last-child {
    display: none;
  }
  .hero {
    height: auto;
    min-height: 0;
    padding-top: 106px;
  }
  .hero-eyebrow {
    font-size: 8px;
    letter-spacing: 0.09em;
  }
  .hero-name-zone {
    font-size: 11.8vw;
    line-height: 1;
    margin-top: 30px;
    gap: 10px;
    letter-spacing: -0.075em;
  }
  .hero-photo-center {
    position: relative;
    inset: auto;
    transform: none;
    width: min(100%, 420px);
    height: 440px;
    margin: 12px auto 0;
  }
  .hero-overlay {
    position: relative;
    inset: auto;
    margin: 0 calc(-1 * var(--gutter));
    padding: 28px var(--gutter) 36px;
    border-top: 1px solid var(--line);
    background: var(--paper);
  }
  .hero-foot {
    align-items: flex-start;
  }
  .hero-foot-left {
    max-width: 400px;
    flex: 1;
  }
  .hero-role-label {
    font-size: 9px;
    margin-bottom: 14px;
  }
  .hero-role-title {
    font-size: 30px;
    max-width: 300px;
  }
  .hero-role-sub {
    max-width: 360px;
    font-size: 13px;
  }
  .hero-foot-right {
    max-width: 160px;
    padding-top: 3px;
  }
  .hero-aside-note,
  .hero-scroll {
    display: none;
  }
  .hero-socials {
    gap: 5px;
  }
  .expertise-strip {
    gap: 15px 24px;
    font-size: 9px;
  }
  .expertise-strip span {
    gap: 10px;
  }
  .section,
  #work.section,
  #seo-showcase.section {
    padding: 62px var(--gutter);
  }
  .section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
  }
  .section-title,
  .exp-title {
    font-size: 44px;
  }
  .section-subtitle {
    max-width: 430px;
  }
  .work-grid {
    gap: 18px 16px;
  }
  .work-grid,
  .work-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .work-thumb {
    padding: 10px 10px 0;
  }
  .work-info {
    padding: 14px 15px 16px;
  }
  .work-card-title {
    font-size: 14px;
  }
  .service-row {
    padding-inline: 18px;
  }
  .service-row-name {
    font-size: 26px;
  }
  .service-body-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .service-body-img {
    width: 100%;
    max-width: 540px;
  }
  .exp-section {
    padding: 62px var(--gutter);
  }
  .exp-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .exp-item {
    grid-template-columns: 130px 1fr;
    gap: 22px;
  }
  .cta-section {
    padding: 72px var(--gutter);
  }
  .footer {
    align-items: flex-start;
  }
  .work-page-hero {
    padding-top: 112px;
  }
}
@media (max-width: 520px) {
  .hero-photo-center {
    height: 340px;
    width: 280px;
  }
  .hero-overlay {
    padding-top: 26px;
  }
  .hero-role-title {
    font-size: 29px;
  }
  .hero-foot-right {
    display: none;
  }
  .hero-role-label {
    font-size: 8px;
  }
  .hero-role-sub {
    max-width: 310px;
  }
  .hero-cta-btn {
    min-height: 46px;
  }
  .hero-name-zone {
    font-size: 11.6vw;
  }
  .hero-eyebrow > span:last-child {
    letter-spacing: 0;
  }
  .expertise-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-block: 18px;
    font-size: 8px;
  }
  .work-grid,
  .work-page-grid {
    grid-template-columns: 1fr;
  }
  .work-filterbar,
  .work-page-filterbar {
    gap: 12px;
  }
  .work-filter-btn {
    padding: 10px 12px;
    font-size: 11px;
  }
  .work-viewall {
    margin-left: 10px;
  }
  .work-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
  }
  .work-grid .work-thumb,
  .work-page-grid .work-thumb {
    aspect-ratio: auto;
    min-height: 112px;
    padding: 0;
  }
  .work-thumb img {
    position: absolute;
    inset: 8px 0 8px 8px;
    width: calc(100% - 8px);
    height: calc(100% - 16px);
    border-radius: 7px;
    box-shadow: none;
  }
  .work-badge {
    font-size: 8px;
    padding: 4px 5px;
    letter-spacing: 0.03em;
  }
  .work-info,
  .work-page-grid .work-info {
    padding: 12px;
    gap: 8px;
  }
  .work-card-title {
    font-size: 14px;
    line-height: 1.4;
  }
  .work-tag {
    padding: 3px 6px;
    font-size: 9px;
  }
  .work-overlay {
    display: none;
  }
  .seo-grid {
    grid-template-columns: 1fr;
  }
  .seo-card-inner {
    padding: 22px;
  }
  .section-title,
  .exp-title {
    font-size: 40px;
  }
  .section-tag,
  .exp-section-tag {
    font-size: 9px;
  }
  .service-row-name {
    font-size: 22px;
    line-height: 1.2;
  }
  .service-row-head {
    padding-block: 24px;
  }
  .service-row-arrow {
    width: 33px;
    height: 33px;
  }
  .exp-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .exp-date br {
    display: none;
  }
  .exp-company {
    font-size: 21px;
  }
  .cta-heading {
    font-size: 50px;
  }
  .cta-links {
    gap: 20px;
  }
  .footer {
    gap: 10px;
  }
  .footer-right {
    gap: 22px;
  }
  .work-page-hero-inner {
    align-items: flex-end;
  }
  .work-page-title {
    font-size: 60px;
  }
  .work-page-count span {
    font-size: 36px;
  }
  .work-page-intro {
    font-size: 13px;
  }
  .work-page-count-live {
    font-size: 11px;
  }
  .work-section-label {
    margin-top: 20px;
  }
  .seo-modal-overlay {
    width: calc(100% - 24px);
    max-height: 92dvh;
    border-radius: 16px;
  }
  .seo-modal-head {
    padding: 18px;
  }
  .seo-modal-name {
    font-size: 20px;
  }
  .seo-modal-preview {
    height: 180px;
  }
  .seo-modal-metrics {
    gap: 6px;
    padding: 18px;
  }
  .seo-modal-metric-val {
    font-size: 22px;
  }
  .seo-modal-metric-lbl {
    font-size: 8px;
  }
  .seo-modal-body {
    padding: 0 22px 20px;
  }
  .seo-modal-footer {
    padding: 18px 22px;
  }
}
@media (max-width: 520px) {
  .hero-photo-center {
    height: 305px;
    width: min(335px, 100%);
  }
}
@media (max-width: 800px) {
  html:not(.has-js) .nav-links {
    display: flex;
    flex-wrap: wrap;
  }
  html:not(.has-js) .navbar {
    position: static;
  }
  html:not(.has-js) .nav-ham {
    display: none;
  }
}
html:not(.has-js) .work-filters {
  display: none;
}
html:not(.has-js) .service-row:not(.open) .service-body-desc {
  color: var(--muted);
}
html:not(.has-js) .service-row:not(.open) .service-skill {
  color: var(--muted);
  border-color: var(--line);
}
html:not(.has-js) .service-row:not(.open) .service-body-num {
  color: var(--muted);
}
/* Current products are distinct from the wider client-work gallery. */
.building-section {
  border-bottom: 1px solid var(--line);
  background: #eef1e8;
}
.building-section,
#work.section {
  padding-block: 64px;
}
.building-section .section-header,
#work .section-header {
  margin-bottom: 28px;
}
.building-section .section-title,
#work .section-title {
  font-size: clamp(34px, 3.8vw, 48px);
}
.building-intro {
  display: grid;
  gap: 15px;
  max-width: 330px;
}
.building-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 7px 12px;
  border: 1px solid #cbd5bf;
  border-radius: 50px;
  color: #425436;
  font-size: 10px;
  font-weight: 650;
}
.active-projects {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.active-project {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  background: white;
  border: 1px solid #d4dccb;
  border-radius: 14px;
}
.active-project-preview {
  height: 155px;
  padding: 10px 10px 0;
  background: #dce8dd;
  border-bottom: 1px solid var(--line);
}
.active-project[data-product="tinda"] .active-project-preview {
  background: #f0e5d1;
}
.active-project[data-product="ngipen"] .active-project-preview {
  background: #dce7f4;
}
.active-project[data-product="cr8tives"] .active-project-preview {
  background: #e8e0f1;
}
.active-project-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 7px 7px 0 0;
}
.active-project-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}
.active-project-category {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.active-project h3 {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.15;
}
.active-project-description {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.active-project-features {
  display: grid;
  gap: 7px;
  margin: 14px 0 16px;
  font-size: 12px;
  line-height: 1.65;
}
.active-project-features li {
  position: relative;
  padding-left: 17px;
}
.active-project-features li::before {
  content: "↗";
  position: absolute;
  left: 0;
  color: #536e3a;
  font-size: 11px;
}
.active-project-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 44px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 650;
}
.active-project-link > span:last-child {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 0.2s;
}
.active-project-link:hover > span:last-child {
  transform: translate(2px, -2px);
}
@media (max-width: 1100px) {
  .active-projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .active-projects {
    grid-template-columns: 1fr;
  }
  .active-project-content {
    padding: 16px;
  }
  .active-project-preview {
    height: 135px;
  }
  .building-section,
  #work.section {
    padding-block: 48px;
  }
  .active-project-description {
    min-height: 0;
  }
}
@media (hover: hover) and (pointer: fine) {
  .work-card:hover,
  .work-card[href]:hover {
    transform: translateY(-5px);
    border-color: #a5b391;
  }
  .work-card:hover .work-thumb img {
    transform: scale(1.035);
  }
  .active-project {
    transition:
      transform 0.25s ease,
      border-color 0.25s ease,
      box-shadow 0.25s ease;
  }
  .active-project-preview {
    overflow: hidden;
  }
  .active-project-preview img {
    transition: transform 0.35s ease;
  }
  .active-project:hover,
  .active-project:focus-within {
    transform: translateY(-6px);
    border-color: #9bad88;
    box-shadow: 0 14px 28px #20221f0d;
  }
  .active-project:hover .active-project-preview img {
    transform: scale(1.025);
  }
  .hero-social {
    transition:
      color 0.2s,
      border-color 0.2s;
  }
  .hero-social:hover {
    color: #48632d;
    border-color: #48632d;
  }
  .service-row-arrow {
    transition:
      transform 0.25s,
      background 0.2s,
      color 0.2s;
  }
  .service-row:not(.open) .service-row-head:hover .service-row-arrow {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(45deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-name-zone,
  .active-project:hover,
  .active-project:focus-within,
  .work-card:hover,
  .work-card[href]:hover,
  .work-card:hover .work-thumb img,
  .active-project:hover .active-project-preview img {
    transform: none;
  }
  .photo-color {
    display: none;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* Downloadable resources reuse the current-product card language. */
.resources-section {
  border-top: 1px solid var(--line);
  padding-block: 72px;
}
.resource-list {
  display: grid;
  gap: 18px;
}
.resource {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  overflow: hidden;
  background: white;
  border: 1px solid #d4dccb;
  border-radius: 14px;
}
.resource-preview {
  display: flex;
  align-items: flex-end;
  min-height: 100%;
  padding: 26px 26px 0;
  background: #dbe9f1;
  border-right: 1px solid var(--line);
}
.resource-preview img {
  width: 100%;
  height: auto;
  border: 1px solid #c3d6e2;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -6px 24px #20221f0f;
}
.resource-content {
  display: flex;
  flex-direction: column;
  padding: 28px;
}
.resource h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.1;
}
.resource .active-project-description {
  max-width: 440px;
  font-size: 14px;
}
.resource .active-project-features {
  font-size: 13px;
}
.resource-install {
  margin-bottom: 20px;
  border-block: 1px solid var(--line);
  font-size: 13px;
}
.resource-install summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.resource-install summary::-webkit-details-marker {
  display: none;
}
.resource-install summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
}
.resource-install[open] summary::after {
  content: "−";
}
.resource-install ol {
  display: grid;
  gap: 6px;
  padding-left: 20px;
  list-style: decimal;
  color: var(--ink);
  line-height: 1.6;
}
.resource-install p {
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 12px;
}
.resource-install code {
  padding: 1px 5px;
  border-radius: 4px;
  background: #eef1e8;
  font-size: 12px;
}
.resource-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: auto;
}
.resource-download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 50px;
  background: var(--dark);
  color: white;
  font-size: 13px;
  font-weight: 650;
}
.resource-download::before {
  content: "↓";
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  margin-left: -8px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  transition: transform 0.2s;
}
.resource-size {
  color: #b9c0b0;
  font-weight: 500;
}
.resource-secondary {
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.resource-secondary:hover {
  color: var(--ink);
}
.resource-download:focus-visible,
.resource-secondary:focus-visible,
.resource-install summary:focus-visible {
  outline: 2px solid #536e3a;
  outline-offset: 3px;
}
@media (hover: hover) and (pointer: fine) {
  .resource-download:hover::before {
    transform: translateY(2px);
  }
}
@media (max-width: 800px) {
  .resource {
    grid-template-columns: 1fr;
  }
  .resource-preview {
    padding: 18px 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .resource-content {
    padding: 20px;
  }
}
@media (max-width: 600px) {
  .resources-section {
    padding-block: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .resource-download:hover::before {
    transform: none;
  }
}
