:root {
  color-scheme: light;
  --ink: #18201d;
  --muted: #5f6964;
  --paper: #f8f6ef;
  --panel: #ffffff;
  --line: #d9ddd2;
  --green: #2e5f54;
  --green-deep: #173f38;
  --copper: #b7623a;
  --blue: #315f7b;
  --gold: #d7a85f;
  --ice: #91c7ca;
  --shadow: 0 18px 60px rgba(24, 32, 29, 0.12);
  --shadow-strong: 0 30px 90px rgba(24, 32, 29, 0.24);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(145, 199, 202, 0.2), transparent 24rem),
    radial-gradient(circle at 86% 32%, rgba(215, 168, 95, 0.15), transparent 22rem),
    linear-gradient(180deg, #faf8f1 0%, var(--paper) 44%, #f3efe4 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  background: rgba(248, 246, 239, 0.82);
  border-bottom: 1px solid rgba(217, 221, 210, 0.8);
  box-shadow: 0 10px 30px rgba(24, 32, 29, 0.05);
  backdrop-filter: blur(18px) saturate(1.1);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 42%),
    var(--green-deep);
  color: #fffdf8;
  font-size: 0.78rem;
  box-shadow: 0 10px 24px rgba(23, 63, 56, 0.22);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 640;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.site-nav a:not(.language-link) {
  position: relative;
}

.site-nav a:not(.language-link)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:not(.language-link):hover::after,
.site-nav a:not(.language-link):focus-visible::after {
  transform: scaleX(1);
}

.language-link {
  display: inline-flex;
  min-width: 34px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 840;
}

.site-nav .language-link:hover,
.site-nav .language-link:focus-visible {
  border-color: var(--green);
  background: #ffffff;
}

.hero {
  position: relative;
  min-height: clamp(660px, 92vh, 840px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  transform: translate3d(var(--hero-shift-x, 0), var(--hero-shift-y, 0), 0);
  transition: transform 260ms ease-out;
  will-change: transform;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(12, 24, 22, 0.94) 0%, rgba(12, 24, 22, 0.72) 44%, rgba(12, 24, 22, 0.16) 100%),
    linear-gradient(0deg, rgba(12, 24, 22, 0.58), transparent 46%),
    radial-gradient(circle at 24% 70%, rgba(183, 98, 58, 0.42), transparent 20rem),
    radial-gradient(circle at 72% 18%, rgba(145, 199, 202, 0.28), transparent 22rem);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 253, 248, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 248, 0.16) 1px, transparent 1px),
    linear-gradient(120deg, transparent 0 48%, rgba(255, 207, 159, 0.32) 49%, transparent 50% 100%);
  background-position: center;
  background-size:
    88px 88px,
    88px 88px,
    320px 320px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.72) 45%, transparent 82%);
  animation: gridFloat 24s linear infinite;
}

.hero-content {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(28px, 5vh, 56px) 0 clamp(72px, 11vh, 112px);
  color: #fffdf8;
  animation: heroContentIn 700ms ease-out both;
}

.hero-kicker {
  display: flex;
  max-width: 760px;
  align-items: center;
  gap: 18px;
  margin: 0 0 24px;
}

.hero-profile-photo {
  width: clamp(92px, 11vw, 124px);
  height: clamp(92px, 11vw, 124px);
  flex: 0 0 auto;
  border: 3px solid rgba(255, 253, 248, 0.86);
  border-radius: 999px;
  box-shadow:
    0 0 0 8px rgba(255, 253, 248, 0.08),
    0 18px 44px rgba(0, 0, 0, 0.32);
  object-fit: cover;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffcf9f;
}

.hero-kicker .eyebrow {
  margin: 0;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 7vw, 6.3rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.24;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 32px;
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.redirect-note {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 253, 248, 0.68);
  font-size: 0.98rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 780;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(24, 32, 29, 0.18);
}

.button-primary {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 38%),
    var(--copper);
  color: #fffdf8;
}

.button-secondary {
  background: rgba(255, 253, 248, 0.14);
  border-color: rgba(255, 253, 248, 0.34);
  color: #fffdf8;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 124px) 0;
}

.has-reveal .section,
.has-reveal .proof-band,
.has-reveal .contact-section {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.has-reveal .section.is-visible,
.has-reveal .proof-band.is-visible,
.has-reveal .contact-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.intro {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(28px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

.intro-copy {
  max-width: 830px;
}

.intro-copy p,
.highlight-list p,
.contact-card p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

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

.expertise-grid article {
  position: relative;
  min-height: 230px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(24, 32, 29, 0.03);
  overflow: hidden;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.expertise-grid article::before,
.product-grid article::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(145, 199, 202, 0.18), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(215, 168, 95, 0.2), transparent 11rem);
  opacity: 0;
  transition: opacity 180ms ease;
}

.expertise-grid article:hover,
.expertise-grid article:focus-within,
.product-grid article:hover,
.product-grid article:focus-within {
  border-color: rgba(46, 95, 84, 0.36);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.expertise-grid article:hover::before,
.expertise-grid article:focus-within::before,
.product-grid article:hover::before,
.product-grid article:focus-within::before {
  opacity: 1;
}

.expertise-grid p,
.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-index {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--blue);
  font-weight: 820;
}

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

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item::before {
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 0;
  width: 3px;
  content: "";
  background: linear-gradient(180deg, var(--copper), var(--ice));
  opacity: 0;
  transform: scaleY(0.2);
  transform-origin: top;
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.timeline-item:hover::before,
.timeline-item:focus-within::before {
  opacity: 1;
  transform: scaleY(1);
}

.timeline-meta {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
}

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

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

.product-grid article {
  position: relative;
  min-height: 280px;
  padding: clamp(28px, 4vw, 42px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.product-meta {
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-grid h3 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.product-grid h3 a {
  text-decoration: underline;
  text-decoration-color: rgba(49, 95, 123, 0.35);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.product-grid h3 a:hover,
.product-grid h3 a:focus-visible {
  color: var(--blue);
  text-decoration-color: currentColor;
}

.product-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-band div {
  position: relative;
  min-height: 190px;
  padding: clamp(22px, 4vw, 38px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 40%),
    var(--green-deep);
  color: #fffdf8;
  overflow: hidden;
}

.proof-band div::after {
  position: absolute;
  right: -46px;
  bottom: -58px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 50%;
  content: "";
}

.proof-band strong {
  display: block;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.9;
}

.proof-band span {
  color: rgba(255, 253, 248, 0.78);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 92px);
}

.highlight-list {
  display: grid;
  gap: 18px;
}

.highlight-list p {
  position: relative;
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.highlight-list p::before {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 12px;
  border-radius: 50%;
  content: "";
  background: var(--copper);
  box-shadow: 0 0 0 5px rgba(183, 98, 58, 0.12);
  vertical-align: 0.08em;
}

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

.availability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.availability-list span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--green-deep);
  font-weight: 720;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.availability-list span:hover {
  border-color: var(--green);
  background: var(--green-deep);
  color: #fffdf8;
  transform: translateY(-2px);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 1px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto clamp(28px, 5vw, 54px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.contact-card,
.contact-details {
  background:
    radial-gradient(circle at 18% 20%, rgba(215, 168, 95, 0.2), transparent 18rem),
    linear-gradient(135deg, var(--green-deep), #102c27);
  color: #fffdf8;
}

.contact-card {
  padding: clamp(32px, 6vw, 64px);
}

.contact-card p {
  max-width: 690px;
  color: rgba(255, 253, 248, 0.78);
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 12px;
  padding: clamp(28px, 5vw, 42px);
  font-style: normal;
  color: rgba(255, 253, 248, 0.78);
}

.contact-ai-mark {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 16 / 9;
  margin: 0 0 auto;
  padding: 8px;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.16), rgba(255, 253, 248, 0.04)),
    rgba(10, 24, 22, 0.34);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.24),
    0 0 48px rgba(145, 199, 202, 0.18);
  overflow: hidden;
  transform: rotate(-1deg);
  backdrop-filter: blur(16px) saturate(1.15);
}

.contact-ai-mark::before,
.contact-ai-mark::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.contact-ai-mark::before {
  inset: -38%;
  background: conic-gradient(from 170deg, transparent, rgba(255, 207, 159, 0.46), transparent 28%, rgba(145, 199, 202, 0.44), transparent 58%);
  opacity: 0.48;
  animation: aiMarkSweep 12s linear infinite;
}

.contact-ai-mark::after {
  inset: 8px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 5px;
  box-shadow: inset 0 0 24px rgba(145, 199, 202, 0.16);
}

.contact-ai-mark video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.contact-details span:first-child {
  color: #fffdf8;
  font-weight: 820;
}

.contact-details a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 253, 248, 0.32);
  text-underline-offset: 4px;
}

.contact-section .button-secondary {
  background: transparent;
}

@keyframes heroDrift {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.1) translate3d(-1.4%, -1%, 0);
  }
}

@keyframes gridFloat {
  from {
    background-position:
      center,
      center,
      0 0;
  }

  to {
    background-position:
      center,
      center,
      320px 320px;
  }
}

@keyframes aiMarkSweep {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

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

  .hero {
    min-height: 760px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(15, 30, 27, 0.92), rgba(15, 30, 27, 0.68)),
      linear-gradient(0deg, rgba(15, 30, 27, 0.5), transparent 45%);
  }

  .hero::after {
    opacity: 0.2;
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.62) 48%, transparent 100%);
  }

  .intro,
  .timeline-item,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-ai-mark {
    width: min(320px, 100%);
    margin-bottom: 18px;
  }

  .expertise-grid,
  .product-grid,
  .proof-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 14px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 700px;
  }

  .hero-content {
    width: min(100% - 28px, var(--max));
    padding-top: 30px;
    padding-bottom: 52px;
  }

  .hero-profile-photo {
    width: 76px;
    height: 76px;
  }

  .hero-kicker {
    gap: 13px;
    margin-bottom: 20px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
    line-height: 1.02;
  }

  .expertise-grid,
  .product-grid,
  .proof-band {
    grid-template-columns: 1fr;
  }

  .proof-band div {
    min-height: 150px;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .has-reveal .section,
  .has-reveal .proof-band,
  .has-reveal .contact-section {
    opacity: 1;
    transform: none;
  }
}
