:root {
  --ink: #101115;
  --muted: #5f6670;
  --paper: #fbfbf7;
  --white: #ffffff;
  --line: #d8d3c4;
  --gold: #f2c230;
  --gold-deep: #b88700;
  --cyan: #22d3c5;
  --magenta: #d94fd4;
  --violet: #4d3af7;
  --shadow: 0 24px 70px rgba(16, 17, 21, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(16, 17, 21, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 17, 21, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 38px 38px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration-color: rgba(184, 135, 0, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  text-decoration-color: var(--gold-deep);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-180%);
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--white);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(16, 17, 21, 0.1);
  background: rgba(251, 251, 247, 0.84);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark img {
  width: 34px;
  height: 34px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 2vw, 1.6rem);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: min(760px, 92vh);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(5.5rem, 12vw, 9rem) 1.25rem clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid rgba(16, 17, 21, 0.12);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  min-width: 0;
  text-align: center;
}

.kicker,
.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  margin-bottom: 0.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 12vw, 10.5rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.98;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.05;
}

.hero-subtitle {
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-style: italic;
}

.hero-copy {
  max-width: 720px;
  margin: 0 auto 2rem;
  color: #333842;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions,
.cta-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.05rem;
  border: 1px solid rgba(16, 17, 21, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(16, 17, 21, 0.06);
  font-weight: 750;
  text-decoration: none;
}

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

.button.quiet {
  border-color: rgba(242, 194, 48, 0.8);
  color: #6a4b00;
}

.fractal-field {
  position: absolute;
  inset: -14%;
  opacity: 0.72;
  background:
    conic-gradient(from 45deg at 50% 50%, transparent 0 8%, rgba(242, 194, 48, 0.34) 8% 10%, transparent 10% 18%, rgba(34, 211, 197, 0.22) 18% 20%, transparent 20% 28%, rgba(217, 79, 212, 0.2) 28% 30%, transparent 30% 100%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.85), transparent 36%);
  filter: saturate(1.1);
  transform: rotate(8deg);
}

.fractal-field span {
  position: absolute;
  inset: 24%;
  border: 1px solid rgba(16, 17, 21, 0.18);
  transform: rotate(calc(var(--i, 1) * 19deg)) scale(calc(1 + var(--i, 1) * 0.16));
}

.fractal-field span:nth-child(1) { --i: 1; border-color: rgba(242, 194, 48, 0.55); }
.fractal-field span:nth-child(2) { --i: 2; border-color: rgba(34, 211, 197, 0.32); }
.fractal-field span:nth-child(3) { --i: 3; border-color: rgba(16, 17, 21, 0.18); }
.fractal-field span:nth-child(4) { --i: 4; border-color: rgba(217, 79, 212, 0.24); }
.fractal-field span:nth-child(5) { --i: 5; border-color: rgba(242, 194, 48, 0.2); }

.section-band {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
}

.identity-panel,
.intro-grid article,
.service-card,
.lists article,
.matrix a,
.client-grid a {
  min-width: 0;
  border: 1px solid rgba(16, 17, 21, 0.12);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 60px rgba(16, 17, 21, 0.05);
}

.identity-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
}

.identity-panel img {
  width: min(180px, 72%);
}

.socials {
  display: flex;
  gap: 0.6rem;
}

.socials a {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(16, 17, 21, 0.18);
  border-radius: 50%;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.intro-grid article {
  padding: clamp(1.4rem, 3vw, 2.4rem);
}

.intro-grid article p,
.split p,
.service-card p,
.clients p,
.lists span,
.matrix span,
.client-grid span {
  color: var(--muted);
}

.tagline {
  font-weight: 800;
}

.link-row {
  justify-content: flex-start;
}

.link-row a {
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

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

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

.service-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 1rem;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--cyan), var(--magenta));
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 0 1rem;
}

.service-photo {
  width: calc(100% + 2rem);
  max-width: none;
  height: 230px;
  margin: -1rem -1rem 1.2rem;
  object-fit: cover;
}

.service-card dl {
  display: grid;
  gap: 0.9rem;
  margin: 0 0 1.2rem;
}

.service-card dt {
  font-weight: 850;
}

.service-card dd {
  margin: 0;
  color: var(--muted);
}

.service-card > a:last-child,
.service-card > a:nth-last-child(2) {
  margin-top: auto;
  font-weight: 800;
}

.ecosystem {
  padding-top: 0;
}

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

.matrix a,
.client-grid a {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem;
  text-decoration: none;
}

.matrix strong,
.client-grid strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

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

.lists article {
  padding: clamp(1.3rem, 3vw, 2rem);
}

.lists h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.lists ul {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lists li {
  display: grid;
  gap: 0.2rem;
}

.lists a {
  font-weight: 850;
}

.clients {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1rem;
  padding-top: 0;
}

.client-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.client-grid a {
  min-height: 140px;
}

.final-cta {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto clamp(4rem, 8vw, 7rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(16, 17, 21, 0.16);
  background:
    linear-gradient(135deg, rgba(242, 194, 48, 0.2), transparent 38%),
    linear-gradient(315deg, rgba(34, 211, 197, 0.18), transparent 42%),
    var(--white);
  box-shadow: var(--shadow);
}

.final-cta h2 {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem 1.4rem;
  padding: 2rem 1rem 3rem;
  border-top: 1px solid rgba(16, 17, 21, 0.12);
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .fractal-field {
    animation: slow-turn 42s linear infinite;
  }

  .site-header.is-scrolled {
    box-shadow: 0 12px 34px rgba(16, 17, 21, 0.08);
  }
}

@keyframes slow-turn {
  to {
    transform: rotate(368deg);
  }
}

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

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .intro-grid,
  .split,
  .service-grid,
  .matrix,
  .lists,
  .clients {
    grid-template-columns: minmax(0, 1fr);
  }

  .matrix,
  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 560px) {
  body {
    background-size: 28px 28px;
  }

  .hero {
    min-height: auto;
    place-items: start;
    text-align: left;
    padding-top: 5rem;
  }

  .hero-inner {
    width: 100%;
    max-width: 340px;
    text-align: left;
  }

  .section-band {
    width: min(358px, calc(100vw - 2rem));
  }

  .intro-grid article,
  .service-card,
  .lists article,
  .matrix a,
  .client-grid a,
  .final-cta {
    max-width: calc(100vw - 2rem);
  }

  .kicker,
  .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  h1 {
    font-size: clamp(3.35rem, 18vw, 4.25rem);
  }

  h2 {
    font-size: clamp(1.9rem, 11vw, 3.1rem);
  }

  .hero-copy {
    max-width: 100%;
    font-size: 1rem;
  }

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

  .button {
    width: 100%;
  }

  .matrix,
  .client-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-photo {
    height: 200px;
  }
}
