:root {
  --ink: #17171f;
  --muted: #5f6270;
  --paper: #f7f4ef;
  --surface: #ffffff;
  --line: rgba(23, 23, 31, 0.12);
  --lime: #c6ff4a;
  --teal: #12b9b0;
  --coral: #ff6542;
  --violet: #6c4bff;
  --shadow: 0 22px 70px rgba(23, 23, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.is-lightbox-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 244, 239, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 12px 36px rgba(23, 23, 31, 0.08);
}

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

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 999px;
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(23, 23, 31, 0.06);
}

.nav-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--surface);
  background: var(--ink);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: var(--ink);
  border: 0;
  border-radius: 50%;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--surface);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(310px, 0.64fr);
  gap: clamp(28px, 5vw, 64px);
  min-height: 92vh;
  padding: clamp(112px, 13vh, 150px) clamp(18px, 4vw, 56px) 48px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(115deg, rgba(198, 255, 74, 0.72), transparent 38%),
    linear-gradient(155deg, transparent 35%, rgba(18, 185, 176, 0.25) 36%, transparent 68%),
    radial-gradient(circle at 88% 24%, rgba(255, 101, 66, 0.24), transparent 28%),
    var(--paper);
}

.hero-media {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 32px;
  z-index: -1;
  width: min(42vw, 520px);
  opacity: 0.2;
  transform: rotate(-8deg);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

.promo-banner {
  grid-column: 1 / -1;
  position: relative;
  min-height: 112px;
  overflow: hidden;
  padding: 16px clamp(16px, 3vw, 24px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(23, 23, 31, 0.08);
  backdrop-filter: blur(16px);
}

.promo-slide {
  position: absolute;
  inset: 16px clamp(16px, 3vw, 24px);
  display: grid;
  grid-template-columns: auto minmax(220px, 0.8fr) minmax(260px, 1fr) auto;
  gap: 14px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.promo-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.promo-slide span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.promo-slide strong {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.08;
}

.promo-slide p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.promo-slide a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 13px;
  color: var(--surface);
  background: var(--ink);
  border-radius: 999px;
  font-weight: 850;
  white-space: nowrap;
}

.promo-dots {
  position: absolute;
  right: 18px;
  bottom: 8px;
  display: flex;
  gap: 6px;
}

.promo-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(23, 23, 31, 0.28);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.promo-dots button.is-active {
  width: 18px;
  background: var(--ink);
  border-radius: 999px;
}

.promo-hot span {
  color: var(--surface);
  background: var(--coral);
}

.promo-hot strong {
  color: var(--coral);
}

.hero-copy {
  align-self: center;
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #333746;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 9ch;
  margin-bottom: 22px;
  font-size: clamp(4.2rem, 12vw, 10.8rem);
  line-height: 0.82;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: #303340;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  color: var(--surface);
  background: var(--ink);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.38);
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 18px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link::after {
  margin-left: 8px;
  content: ">";
}

.hero-panel {
  align-self: end;
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel div {
  position: relative;
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
}

.panel-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  padding: 9px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
}

.panel-icon path,
.package-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-panel strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.hero-panel span {
  color: var(--muted);
}

section {
  padding: clamp(68px, 9vw, 118px) clamp(18px, 4vw, 56px);
}

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

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
}

h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5.8vw, 5.25rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.intro > p,
.intro-copy p,
.contact p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.intro-copy {
  display: grid;
  gap: 16px;
}

.essence {
  background: var(--ink);
  color: var(--surface);
}

.essence .eyebrow,
.essence h2 {
  color: var(--surface);
}

.essence-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.essence-grid article {
  min-height: 210px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.essence-grid strong {
  display: block;
  margin-bottom: 42px;
  color: var(--lime);
  font-size: 1.05rem;
}

.essence-grid span {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.32fr) 1fr;
  gap: clamp(20px, 5vw, 70px);
  align-items: start;
  margin-bottom: clamp(28px, 5vw, 54px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-grid article {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 26px;
  background: var(--surface);
}

.service-grid article:nth-child(2) {
  background: #effaf8;
}

.service-grid article:nth-child(3) {
  background: #fff5ed;
}

.service-grid article:nth-child(5) {
  background: #f7f3ff;
}

.concept-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 68px;
}

.service-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--surface);
  background: var(--ink);
  border-radius: 50%;
  font-weight: 850;
}

.concept-icon {
  width: 58px;
  height: 58px;
  padding: 12px;
  color: var(--ink);
  background: rgba(198, 255, 74, 0.7);
  border: 1px solid rgba(23, 23, 31, 0.12);
  border-radius: 50%;
}

.concept-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-grid .text-link {
  margin-top: auto;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.service-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 850;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  line-height: 1.08;
}

.service-grid p,
.work-card span,
.process-list span,
.package-grid p,
.package-grid li,
.case-card p,
.case-card span,
.directory-copy p,
.directory-list span,
.privacy p,
.site-footer span {
  color: var(--muted);
}

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

.package-grid article {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.package-grid article:nth-child(1) {
  border-top: 6px solid var(--lime);
}

.package-grid article:nth-child(2) {
  border-top: 6px solid var(--teal);
}

.package-grid article:nth-child(3) {
  border-top: 6px solid var(--coral);
}

.package-grid article:nth-child(4) {
  border-top: 6px solid var(--violet);
}

.package-grid article:nth-child(5) {
  border-top: 6px solid var(--lime);
}

.package-grid article:nth-child(6) {
  border-top: 6px solid var(--teal);
}

.package-top {
  display: grid;
  gap: 6px;
  margin-bottom: 34px;
}

.package-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  padding: 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.package-grid article:nth-child(1) .package-icon {
  background: rgba(198, 255, 74, 0.55);
}

.package-grid article:nth-child(2) .package-icon {
  background: rgba(18, 185, 176, 0.16);
}

.package-grid article:nth-child(3) .package-icon {
  background: rgba(255, 101, 66, 0.14);
}

.package-grid article:nth-child(4) .package-icon {
  background: rgba(108, 75, 255, 0.12);
}

.package-top span,
.case-card span {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-top strong {
  font-size: 1.55rem;
  line-height: 1.04;
}

.package-grid ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: auto 0 0;
  list-style: none;
}

.package-grid li {
  position: relative;
  padding-left: 18px;
}

.package-grid li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--ink);
  border-radius: 50%;
}

.package-grid .text-link {
  margin-top: 24px;
}

.solution-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 22px;
  color: var(--surface);
  background: var(--ink);
  border-radius: 8px;
}

.solution-cta p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  font-weight: 700;
}

.solution-cta .button.primary {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.brand-asset {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
  background: #f1f9f4;
}

.brand-asset-copy .lead {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 850;
  line-height: 1.12;
}

.brand-asset-copy p:not(.eyebrow):not(.lead) {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

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

.pricing-stack {
  display: grid;
  gap: 12px;
}

.pricing-stack article {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pricing-stack span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-stack h3 {
  margin-bottom: 10px;
}

.pricing-stack strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.9;
}

.pricing-stack p {
  margin-bottom: 0;
  color: var(--muted);
}

.pricing-note {
  padding: 16px;
  background: rgba(23, 23, 31, 0.06);
  border: 1px dashed rgba(23, 23, 31, 0.24);
  border-radius: 8px;
  font-size: 0.95rem;
}

.visual-proof {
  background: var(--surface);
}

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

.proof-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.proof-card.wide {
  grid-column: span 2;
}

.proof-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: var(--surface);
  cursor: zoom-in;
}

.proof-card:not(.wide) img {
  height: 240px;
}

.proof-card div {
  padding: 18px;
}

.proof-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-card p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.case-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.case-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  background: var(--paper);
}

.case-card div {
  padding: 22px;
}

.case-card h3 {
  margin-top: 8px;
}

.portfolio-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.portfolio-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
}

.portfolio-sidebar button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  text-align: left;
}

.portfolio-sidebar button::after {
  content: ">";
  color: var(--muted);
}

.portfolio-sidebar button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
}

.portfolio-sidebar button.is-active::after {
  color: var(--lime);
}

.portfolio-stage {
  position: relative;
  min-width: 0;
}

.portfolio-rail {
  display: grid;
  grid-auto-columns: minmax(290px, 34vw);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--ink) rgba(23, 23, 31, 0.1);
}

.portfolio-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--surface);
  background: rgba(23, 23, 31, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 14px 36px rgba(23, 23, 31, 0.28);
  cursor: pointer;
  font: inherit;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.portfolio-arrow:hover {
  background: var(--ink);
}

.portfolio-arrow.prev {
  left: 10px;
}

.portfolio-arrow.next {
  right: 10px;
}

.portfolio-card {
  display: grid;
  min-height: 520px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  scroll-snap-align: start;
}

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

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  background: var(--paper);
  cursor: zoom-in;
}

.portfolio-card div {
  align-self: end;
  padding: 20px;
}

.portfolio-card span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.directory {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 7vw, 92px);
  align-items: start;
}

.directory-copy p {
  max-width: 760px;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.directory-list {
  display: grid;
  gap: 14px;
}

.directory-list article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
  background: #f1f9f4;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.directory-list img {
  width: 150px;
  height: 118px;
  object-fit: cover;
  border-radius: 8px;
}

.directory-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

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

.work-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.work-card.large {
  grid-column: span 2;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition:
    transform 400ms ease,
    opacity 400ms ease;
}

.work-card:hover img {
  opacity: 0.72;
  transform: scale(1.04);
}

.work-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  color: var(--surface);
  background: rgba(23, 23, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  backdrop-filter: blur(16px);
}

.work-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.work-card h3 {
  margin: 6px 0 0;
}

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

.process-list li {
  position: relative;
  min-height: 240px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-list li::before {
  display: block;
  margin-bottom: 78px;
  color: var(--coral);
  content: "0" counter(steps);
  counter-increment: steps;
  font-size: 0.85rem;
  font-weight: 900;
}

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

.offices {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(28px, 7vw, 92px);
  background: var(--surface);
}

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

.office-grid article {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.office-grid span {
  display: block;
  color: var(--muted);
}

.office-grid a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.6fr);
  gap: clamp(28px, 7vw, 92px);
}

.contact-form {
  display: grid;
  gap: 14px;
  align-self: start;
  padding: 20px;
  background: #f1f9f4;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(18, 185, 176, 0.14);
  outline: none;
}

.captcha-row {
  display: grid;
  grid-template-columns: auto minmax(90px, 1fr);
  gap: 10px;
  align-items: center;
}

.captcha-row span {
  font-weight: 900;
}

.form-message {
  min-height: 1.25em;
  margin: 0;
  color: var(--coral);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-message.is-ok {
  color: #087f5b;
}

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

.privacy {
  background: #fbf7ef;
}

.privacy p {
  max-width: 960px;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
}

.privacy a {
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  color: var(--surface);
  background: #128c7e;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(18, 140, 126, 0.32);
  font-weight: 900;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 70px clamp(14px, 4vw, 44px) 32px;
  background: rgba(10, 10, 14, 0.88);
  backdrop-filter: blur(12px);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox img {
  max-width: min(100%, 1280px);
  max-height: calc(100vh - 120px);
  object-fit: contain;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--surface);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  color: var(--surface);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  cursor: pointer;
  font: inherit;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-arrow:hover,
.lightbox-arrow:focus-visible {
  background: rgba(255, 255, 255, 0.24);
  outline: none;
}

.lightbox-arrow.prev {
  left: clamp(12px, 4vw, 34px);
}

.lightbox-arrow.next {
  right: clamp(12px, 4vw, 34px);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) 0.7fr 0.8fr;
  align-items: start;
  gap: 28px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: var(--surface);
  background: var(--ink);
}

.site-footer div,
.site-footer nav,
.site-footer address {
  display: grid;
  gap: 8px;
}

.site-footer img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
}

.site-footer strong {
  font-size: 1.1rem;
}

.site-footer a,
.site-footer address {
  color: var(--lime);
  font-style: normal;
  font-weight: 750;
}

@media (max-width: 1080px) {
  .hero,
  .intro,
  .contact,
  .brand-asset,
  .offices,
  .directory,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .promo-banner {
    min-height: 150px;
  }

  .promo-slide {
    grid-template-columns: 1fr auto;
  }

  .promo-slide span,
  .promo-slide p {
    grid-column: 1 / -1;
  }

  .hero-panel {
    max-width: 680px;
  }

  .service-grid,
  .package-grid,
  .essence-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-grid,
  .case-grid,
  .portfolio-shell,
  .proof-grid,
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .portfolio-sidebar {
    position: static;
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .portfolio-sidebar button {
    flex: 0 0 auto;
  }

  .portfolio-rail {
    grid-auto-columns: minmax(280px, 62vw);
  }

  .portfolio-arrow {
    top: auto;
    bottom: 18px;
    transform: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    border-radius: 8px;
  }

  .hero {
    padding-top: 100px;
  }

  .promo-banner {
    min-height: 214px;
    padding: 16px;
  }

  .promo-slide {
    inset: 16px;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 10px;
  }

  .promo-slide a {
    width: fit-content;
  }

  .promo-dots {
    left: 16px;
    right: auto;
  }

  h1 {
    font-size: clamp(4rem, 24vw, 6.2rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .solution-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .service-grid,
  .work-grid,
  .package-grid,
  .essence-grid,
  .case-grid,
  .proof-grid,
  .process-list,
  .office-grid {
    grid-template-columns: 1fr;
  }

  .proof-card.wide {
    grid-column: auto;
  }

  .portfolio-rail {
    grid-auto-columns: 86vw;
  }

  .portfolio-card.featured {
    grid-column: auto;
  }

  .image-lightbox {
    padding: 70px 14px 88px;
  }

  .lightbox-arrow {
    top: auto;
    bottom: 22px;
    width: 48px;
    height: 48px;
    transform: none;
  }

  .lightbox-arrow.prev {
    left: 18px;
  }

  .lightbox-arrow.next {
    right: 18px;
  }

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

  .directory-list img {
    width: 100%;
    height: 210px;
  }

  .work-card.large {
    grid-column: auto;
  }

  .work-card {
    min-height: 350px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-bottom: 92px;
  }

  .whatsapp-float {
    left: 18px;
  }
}
