:root {
  --ink: #16212f;
  --muted: #5f6c7b;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #d9e0df;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --clay: #ba5d3e;
  --gold: #c99b47;
  --blue: #244c7a;
  --shadow: 0 22px 60px rgba(22, 33, 47, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.35);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--ink);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(251, 250, 247, 0.94);
  box-shadow: 0 1px 24px rgba(22, 33, 47, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
  text-decoration: none;
}

.brand span {
  font-weight: 800;
  line-height: 1.05;
}

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

.main-nav {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  font-weight: 700;
}

.main-nav a,
.text-link,
.download-row a,
.site-footer a,
.case-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.main-nav a:hover,
.text-link:hover,
.download-row a:hover,
.site-footer a:hover,
.case-link:hover {
  color: var(--teal-dark);
}

.lang-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 3px;
  min-width: 94px;
}

.is-scrolled .lang-toggle {
  border-color: var(--line);
  background: var(--white);
}

.lang-button {
  min-width: 42px;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 10px;
}

.lang-button.is-active {
  background: var(--teal-dark);
  color: var(--white);
}

.is-scrolled .lang-button.is-active {
  background: var(--teal-dark);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(135deg, #fbfaf7 0%, #edf5f2 100%);
  padding: 124px clamp(18px, 6vw, 76px) 64px;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(700px, 100%);
  padding: 0;
  animation: fade-up 520ms ease both;
}

.hero-visual {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 14px 14px 0 0;
  animation: fade-up 640ms ease 90ms both;
}

.hero-visual::before {
  position: absolute;
  inset: 28px 0 34px 34px;
  z-index: -1;
  content: "";
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(217, 224, 223, 0.85);
  border-radius: 34px 34px 8px 34px;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  object-position: 56% center;
  border: 8px solid rgba(255, 255, 255, 0.88);
  border-radius: 30px 30px 8px 30px;
  box-shadow: 0 18px 42px rgba(22, 33, 47, 0.11);
  transform: rotate(0.8deg);
}

.hero-visual figcaption {
  max-width: 92%;
  margin: 16px 0 0 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Newsreader", Georgia, serif;
  line-height: 0.98;
  font-weight: 650;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 5.4vw, 5rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5vw, 4.7rem);
}

h3 {
  font-size: clamp(1.22rem, 2vw, 1.6rem);
  line-height: 1.18;
}

.hero-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.55vw, 1.18rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 18px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(22, 33, 47, 0.12);
}

.button-primary {
  color: var(--white);
  background: var(--teal);
}

.button-secondary {
  color: var(--teal-dark);
  border-color: var(--line);
  background: var(--white);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.section {
  padding: clamp(76px, 10vw, 132px) clamp(18px, 6vw, 76px);
}

.intro {
  padding-top: clamp(52px, 7vw, 88px);
}

.intro-grid,
.split-heading,
.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.intro-copy,
.split-heading p,
.approach p,
.contact-panel p {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 58px;
  background: var(--line);
  border: 1px solid var(--line);
}

.proof-strip div {
  min-height: 142px;
  background: var(--white);
  padding: 24px;
}

.proof-strip strong {
  display: block;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1;
}

.proof-strip span {
  color: var(--muted);
}

.services-band {
  background: #edf5f2;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 52px;
}

.service-item {
  min-height: 390px;
  background: #fbfdfb;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-item:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.32);
  box-shadow: 0 18px 42px rgba(22, 33, 47, 0.08);
}

.service-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 24px;
  color: var(--teal-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.service-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.case-meta span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-item p,
.case-body p,
.steps span {
  color: var(--muted);
}

.service-details,
.case-details {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.service-details div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.service-details dt,
.case-details dt {
  margin-bottom: 4px;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-details dd,
.case-details dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.proof-feature {
  background: var(--paper);
}

.proof-feature-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.proof-photo {
  position: relative;
  padding: 0 0 14px 14px;
}

.proof-photo::before {
  position: absolute;
  inset: 30px 30px 0 0;
  z-index: 0;
  content: "";
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(217, 224, 223, 0.85);
  border-radius: 8px 34px 34px 34px;
}

.proof-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
  border: 8px solid rgba(255, 255, 255, 0.88);
  border-radius: 8px 30px 30px 30px;
  box-shadow: 0 18px 42px rgba(22, 33, 47, 0.11);
  transform: rotate(-0.7deg);
}

.proof-feature-copy p:not(.section-kicker),
.founder-note p:not(.section-kicker) {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.earned-media {
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--white);
}

.founder-note {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.founder-note h3 {
  color: var(--blue);
}

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

.portfolio-note {
  max-width: 980px;
  margin: 32px 0 0;
  padding: 20px 22px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
}

.case-list {
  display: grid;
  gap: 18px;
  margin-top: 52px;
}

.case-study {
  display: grid;
  grid-template-columns: minmax(210px, 0.38fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: clamp(22px, 4vw, 42px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.case-study:hover {
  border-color: var(--line);
  box-shadow: 0 16px 40px rgba(22, 33, 47, 0.06);
}

.case-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.case-meta a,
.case-body a {
  color: var(--teal-dark);
  font-weight: 800;
}

.case-body h3 {
  max-width: 760px;
  margin-bottom: 14px;
  color: var(--blue);
}

.case-body .case-details {
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.case-body .case-details div {
  background: var(--white);
  padding: 18px;
}

.case-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal-dark);
  font-weight: 800;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

.approach {
  background: #f7f0e8;
}

.steps {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(186, 93, 62, 0.22);
  border: 1px solid rgba(186, 93, 62, 0.22);
}

.steps li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 22px;
  align-items: start;
  background: var(--white);
  padding: 24px;
}

.steps strong {
  color: var(--clay);
  font-size: 1.15rem;
}

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

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, auto);
  gap: 34px;
  align-items: end;
  padding: clamp(28px, 5vw, 54px);
  color: var(--white);
  background: var(--teal-dark);
  box-shadow: var(--shadow);
}

.contact-panel .section-kicker,
.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel h2 {
  max-width: 860px;
  margin-bottom: 18px;
}

.contact-actions {
  justify-content: flex-start;
}

.contact-actions .text-link {
  color: var(--white);
  font-weight: 800;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding-top: 24px;
}

.download-row a {
  color: var(--teal-dark);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 76px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 118px;
  }

  .hero-content {
    width: min(760px, 100%);
  }

  .hero-visual {
    width: min(520px, 100%);
  }

  .hero-visual img {
    aspect-ratio: 16 / 10;
    object-position: center;
  }

  .intro-grid,
  .split-heading,
  .approach-grid,
  .proof-feature-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .proof-strip,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    min-height: auto;
  }

  .case-body .case-details {
    grid-template-columns: 1fr;
  }
}

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

  .brand small {
    display: none;
  }

  .lang-toggle {
    min-width: 84px;
  }

  .lang-button {
    min-width: 36px;
    padding: 7px 8px;
  }

  .hero {
    padding: 104px 18px 44px;
    gap: 28px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.55rem);
    line-height: 1.02;
  }

  .hero-visual figcaption {
    font-size: 0.86rem;
  }

  .hero-visual {
    padding-right: 0;
  }

  .hero-visual::before {
    inset: 22px 10px 30px 24px;
  }

  .hero-visual img {
    transform: none;
  }

  .proof-photo {
    padding-left: 0;
  }

  .proof-photo::before {
    inset: 22px 16px 22px 22px;
  }

  .proof-photo img {
    transform: none;
  }

  h2 {
    font-size: clamp(2.05rem, 11vw, 3.3rem);
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .case-study {
    grid-template-columns: 1fr;
  }

  .case-body .case-details {
    grid-template-columns: 1fr;
  }

  .case-meta span {
    margin-bottom: 8px;
  }

  .steps li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .button {
    width: 100%;
  }

  .contact-actions {
    width: 100%;
  }

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

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