:root {
  --bg: #f7f9f7;
  --surface: #ffffff;
  --surface-strong: #eef5f1;
  --ink: #1c2421;
  --muted: #66736e;
  --line: #dfe7e2;
  --teal: #19786f;
  --teal-dark: #0d4f49;
  --blue: #315f9c;
  --coral: #dd654f;
  --gold: #d79b35;
  --leaf: #78a15b;
  --shadow: 0 24px 70px rgba(28, 36, 33, 0.12);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(28, 36, 33, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(28, 36, 33, 0.03) 1px, transparent 1px),
    linear-gradient(120deg, rgba(25, 120, 111, 0.08), transparent 34rem),
    linear-gradient(300deg, rgba(221, 101, 79, 0.07), transparent 32rem),
    var(--bg);
  background-size:
    36px 36px,
    36px 36px,
    auto,
    auto,
    auto;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

::selection {
  background: rgba(221, 101, 79, 0.22);
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(25, 120, 111, 0.28);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 99;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 0.65rem 0.95rem;
  font-weight: 900;
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  padding: 0.75rem 0;
  backdrop-filter: blur(18px);
}

.site-header[data-elevated="true"] {
  border-bottom: 1px solid rgba(223, 231, 226, 0.9);
  background: rgba(247, 249, 247, 0.82);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.95rem;
}

.site-nav {
  gap: 0.25rem;
  padding: 0.35rem;
  border: 1px solid rgba(223, 231, 226, 0.86);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(28, 36, 33, 0.08);
}

.site-nav a {
  min-width: 82px;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--teal);
  color: #fff;
}

[data-reveal] {
  transform: translateY(18px);
  opacity: 0;
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

[data-reveal].is-visible {
  transform: translateY(0);
  opacity: 1;
}

.section-pad {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 5.5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: auto;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 9ch;
  margin-bottom: 0.9rem;
  font-size: clamp(3.4rem, 7.2vw, 5.8rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.18rem;
}

.hero-lede,
.intro-text,
.feature-copy p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-lede {
  max-width: 650px;
  font-size: 1rem;
  line-height: 1.55;
}

.hero-badges,
.tag-row,
.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-badges {
  margin-top: 1rem;
}

.hero-badges span,
.tag-row span,
.skill-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(223, 231, 226, 0.95);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  padding: 0.28rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions {
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 34px rgba(28, 36, 33, 0.16);
}

.button-soft {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(28, 36, 33, 0.12);
}

.hero-stats {
  margin: 1.3rem 0 0;
  padding: 0;
}

.hero-stats div {
  min-width: 142px;
  border-left: 3px solid var(--gold);
  padding-left: 0.85rem;
}

.hero-stats dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-stats dd {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
  font-weight: 900;
}

.hero-media {
  position: relative;
  min-height: 410px;
  isolation: isolate;
}

.workspace {
  width: min(100%, 430px);
  height: 400px;
  margin-left: auto;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.portrait {
  position: absolute;
  top: 30px;
  left: 0;
  z-index: 2;
  width: 144px;
  height: 144px;
  border: 8px solid var(--surface);
  border-radius: 50%;
  background: var(--surface);
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(28, 36, 33, 0.18);
}

.signal-panel {
  position: absolute;
  right: 18px;
  bottom: 24px;
  z-index: 3;
  width: min(270px, 62%);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius);
  background: rgba(28, 36, 33, 0.86);
  box-shadow: 0 18px 45px rgba(28, 36, 33, 0.2);
  color: #fff;
  padding: 1rem;
}

.signal-panel span,
.signal-panel small {
  display: block;
}

.signal-panel span {
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.signal-panel strong {
  display: block;
  line-height: 1.2;
}

.signal-panel small {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.proof-strip div {
  min-height: 118px;
  background: rgba(255, 255, 255, 0.76);
  padding: 1.1rem;
}

.proof-strip span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--teal-dark);
  font-size: 1.2rem;
  font-weight: 950;
}

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

.intro {
  display: grid;
  grid-template-columns: 0.68fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

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

.card,
.app-card,
.process-grid article,
.project-list article,
.skills article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.card:hover,
.app-card:hover,
.process-grid article:hover,
.project-list article:hover,
.skills article:hover {
  transform: translateY(-3px);
  border-color: rgba(25, 120, 111, 0.26);
  box-shadow: 0 18px 50px rgba(28, 36, 33, 0.09);
}

.card {
  min-height: 260px;
  padding: 1.35rem;
}

.vector-icon {
  display: block;
  width: 66px;
  height: 66px;
  margin-bottom: 3.6rem;
  color: var(--teal-dark);
  overflow: visible;
}

.vector-icon rect,
.vector-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.vector-icon rect:first-child,
.vector-icon path:first-child {
  fill: rgba(25, 120, 111, 0.09);
}

.card p,
.app-card p,
.project-list p,
.process-grid p,
.skills p {
  margin-bottom: 0;
  color: var(--muted);
}

.card .tag-row {
  margin-top: 1.4rem;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.feature-copy {
  position: sticky;
  top: 110px;
}

.text-link {
  display: inline-flex;
  margin-top: 0.5rem;
  color: var(--teal-dark);
  font-weight: 900;
}

.text-link::after {
  margin-left: 0.4rem;
  content: "->";
}

.project-list {
  display: grid;
  gap: 1rem;
}

.apps {
  border-top: 1px solid var(--line);
}

.section-heading p {
  max-width: 720px;
  color: var(--muted);
}

.apps-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 1rem;
}

.app-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 330px;
  overflow: hidden;
  padding: 1.35rem;
}

.app-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--teal);
  content: "";
}

.app-card-primary {
  background:
    linear-gradient(145deg, rgba(25, 120, 111, 0.11), transparent 62%),
    rgba(255, 255, 255, 0.9);
}

.app-card p {
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.app-glyph {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 950;
}

.app-label {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.apps-cta {
  margin-top: 1rem;
}

.process {
  border-top: 1px solid var(--line);
}

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

.process-grid article {
  padding: 1.35rem;
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 3.2rem;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 950;
}

.project-list article {
  padding: 1.35rem;
}

.project-list span {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.skill-set {
  border-top: 1px solid var(--line);
}

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

.skills article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem;
}

.skill-cloud {
  margin-top: 1rem;
}

.skill-cloud span {
  background: var(--surface-strong);
}

.mini-vector {
  display: block;
  width: 58px;
  height: 58px;
  color: var(--teal-dark);
}

.mini-vector rect,
.mini-vector path {
  fill: rgba(25, 120, 111, 0.08);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.52fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-list {
  display: grid;
  gap: 0.75rem;
  font-style: normal;
}

.contact-list a,
.contact-list span {
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 0.75rem;
  color: #fff;
  font-weight: 800;
}

.contact-action {
  margin-top: 0.65rem;
  background: #fff;
  color: var(--ink);
}

.availability {
  color: var(--gold);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .site-nav a {
    min-width: 70px;
  }

  .hero,
  .intro,
  .feature,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-media {
    min-height: auto;
  }

  .workspace {
    width: 100%;
    height: min(70vw, 520px);
    min-height: 360px;
  }

  .portrait {
    top: -36px;
    left: 22px;
    width: 120px;
    height: 120px;
  }

  .feature-copy {
    position: static;
  }

  .service-grid,
  .apps-grid,
  .process-grid,
  .skills {
    grid-template-columns: 1fr;
  }

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

  .signal-panel {
    right: 18px;
    bottom: 28px;
    width: min(320px, 70%);
  }
}

@media (max-width: 560px) {
  .section-pad {
    width: min(100% - 24px, 1120px);
    padding: 4rem 0;
  }

  .brand span:last-child {
    display: none;
  }

  .site-nav {
    gap: 0.15rem;
    padding: 0.28rem;
  }

  .site-nav a {
    min-width: 62px;
    padding: 0.48rem 0.5rem;
    font-size: 0.82rem;
  }

  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.05rem;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    align-items: center;
  }

  .card {
    min-height: auto;
  }

  .app-card,
  .process-grid article,
  .skills article {
    min-height: auto;
  }

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

  .vector-icon {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 560px) {
  .hero {
    gap: 1.25rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero-media {
    order: -1;
    display: flex;
    min-height: auto;
  }

  .workspace,
  .hero-stats,
  .signal-panel {
    display: none;
  }

  .portrait {
    position: static;
    width: 92px;
    height: 92px;
    border-width: 6px;
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 1.35rem;
  }
}

@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;
  }

  [data-reveal] {
    transform: none;
    opacity: 1;
  }
}
