@import url('cookies.css');

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  background-color: #e6ebe7;
  background-image:
    radial-gradient(ellipse 120% 80% at 10% -10%, rgba(11, 110, 79, 0.12), transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 20%, rgba(138, 75, 46, 0.08), transparent 50%),
    linear-gradient(180deg, #e6ebe7 0%, #f3f6f4 40%, #e6ebe7 100%);
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

.grain::before {
  content: '';
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.reveal {
  opacity: 1;
  transform: none;
}

html.motion-ok .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

html.motion-ok .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.case-link:hover .case-arrow,
.hover-arrow:hover .case-arrow {
  transform: translateX(6px);
}

.case-arrow {
  display: inline-block;
  transition: transform 0.35s ease;
}

.nav-solid:not([data-nav-scroll]) {
  background: rgba(243, 246, 244, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 32, 26, 0.08);
}

/* Site header — quiet compression on scroll (no scale gimmicks) */
body > header.fixed {
  --nav-scroll: 0;
  border-bottom: 1px solid transparent;
}

body > header.fixed[data-nav-scroll] {
  background-color: rgba(243, 246, 244, calc(var(--nav-scroll) * 0.92));
  backdrop-filter: blur(calc(var(--nav-scroll) * 8px));
  -webkit-backdrop-filter: blur(calc(var(--nav-scroll) * 8px));
  border-bottom-color: rgba(20, 32, 26, calc(var(--nav-scroll) * 0.06));
}

body > header.fixed nav {
  padding-top: calc(1rem - var(--nav-scroll) * 0.22rem);
  padding-bottom: calc(1rem - var(--nav-scroll) * 0.22rem);
}

body > header.fixed nav > div.hidden {
  gap: calc(1.75rem - var(--nav-scroll) * 0.3rem);
}

/* Active nav — wavy underline */
header nav .nav-link,
#nav-panel .nav-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

header nav .nav-link.is-active,
#nav-panel .nav-link.is-active {
  opacity: 1 !important;
  font-weight: 600;
}

header nav .nav-link.is-active::after,
#nav-panel .nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12em;
  height: 0.34em;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M2 8.5 C 28 14.5, 52 1.5, 78 7.5 S 110 13, 118 5.5' fill='none' stroke='%230b6e4f' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
}

[data-nav-scroll]:not(.nav-solid) header nav .nav-link.is-active::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M2 8.5 C 28 14.5, 52 1.5, 78 7.5 S 110 13, 118 5.5' fill='none' stroke='%233ecf9a' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

[data-nav-scroll]:not(.nav-solid) header nav .nav-link.is-active {
  color: #f3f6f4 !important;
}

.prose-story p + p {
  margin-top: 1.25rem;
}

/* Hero — atmospheric field, typography as the visual */
.hero {
  background: #0c1511;
}

.hero-field__base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 18% 85%, rgba(11, 110, 79, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 55% at 92% 12%, rgba(138, 75, 46, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 40% at 55% 40%, rgba(215, 235, 227, 0.04), transparent 60%),
    linear-gradient(165deg, #101c16 0%, #0c1511 45%, #14201a 100%);
}

.hero-field__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(12, 21, 17, 0.92) 0%, rgba(12, 21, 17, 0.35) 42%, transparent 72%),
    linear-gradient(to right, rgba(12, 21, 17, 0.55) 0%, transparent 55%);
}

.hero-field__grid {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(243, 246, 244, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 246, 244, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 55% at 75% 25%, black 5%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 75% 25%, black 5%, transparent 65%);
}

.hero-field__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-field__orb--a {
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  top: -8%;
  right: -6%;
  background: radial-gradient(circle, rgba(11, 110, 79, 0.35) 0%, transparent 68%);
  animation: heroOrb 16s ease-in-out infinite;
}

.hero-field__orb--b {
  width: min(40vw, 320px);
  height: min(40vw, 320px);
  bottom: 8%;
  left: -4%;
  background: radial-gradient(circle, rgba(215, 235, 227, 0.08) 0%, transparent 70%);
  animation: heroOrb 20s ease-in-out infinite reverse;
}

.hero-watermark {
  display: none;
}

.hero-place {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(215, 235, 227, 0.55);
}

.hero-place::before {
  content: '';
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  margin-right: 0.75rem;
  vertical-align: middle;
  background: #0b6e4f;
  transform-origin: left;
  animation: ruleGrow 0.9s ease-out 0.2s both;
}

.hero-name {
  font-size: clamp(2.4rem, 11vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  word-break: break-word;
}

/* Brand signature — word stagger when motion is enabled */
.brand-signature__word {
  display: inline-block;
  opacity: 1;
  transform: none;
}

html.motion-ok .brand-signature__word {
  opacity: 0;
  transform: translateY(0.35em);
  will-change: transform, opacity;
}

html.motion-ok .brand-signature--hero .brand-signature__word {
  animation: brandWordIn 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.14s + var(--i) * 0.12s);
}

.brand-signature--footer .brand-signature__word {
  font-weight: 500;
  color: rgba(20, 32, 26, 0.62);
}

html.motion-ok .brand-signature--footer.visible .brand-signature__word {
  animation: brandWordIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i) * 0.08s);
}

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

.hero-line {
  font-size: clamp(1.1rem, 3.2vw, 1.55rem);
  line-height: 1.75;
  /* Reserve space for the longest wrapped phrase so typing never shifts the page */
  min-height: 6.75rem;
  max-width: 34rem;
}

@media (min-width: 640px) {
  .hero-line {
    min-height: 5.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-line {
    min-height: 4.75rem;
  }
}

/* Fixed slots — width locked to longest words so layout never reflows */
.hero-typed-slot {
  position: relative;
  display: inline-block;
  vertical-align: text-bottom;
  text-align: center;
  white-space: nowrap;
  overflow: visible;
  box-sizing: border-box;
  font-family: "Bricolage Grotesque", sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.42em;
  letter-spacing: -0.02em;
  color: #3ecf9a;
  line-height: 1.15;
  height: 1.45em;
  padding: 0 0.08em 0.28em;
  border-bottom: none;
}

.hero-typed-slot::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 0.38em;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M2 8.5 C 28 14.5, 52 1.5, 78 7.5 S 110 13, 118 5.5' fill='none' stroke='%233ecf9a' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
  opacity: 0.9;
}

.hero-typed-slot--verb {
  width: 6ch; /* longest: "scale" */
}

.hero-typed-slot--state {
  width: 14ch; /* longest: "keep running" */
}

.hero-typed-slot .typed-cursor {
  display: none;
}

.hero-typed-slot.is-typing .typed-cursor {
  display: inline;
  color: #3ecf9a;
  font-weight: 700;
  font-style: italic;
  opacity: 0.95;
}

/* Right side — desk: real work photos + a personal note */
.hero-desk {
  display: none;
  position: relative;
  width: 100%;
  max-width: 22rem;
  margin-left: auto;
  min-height: 20rem;
}

@media (min-width: 768px) {
  .hero-desk {
    display: block;
  }
}

.hero-desk__stack {
  position: relative;
  height: 14.5rem;
}

.hero-polaroid {
  position: absolute;
  width: 58%;
  margin: 0;
  padding: 0.45rem 0.45rem 1.6rem;
  background: #f3f6f4;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transform-origin: center bottom;
}

.hero-polaroid img {
  display: block;
  width: 100%;
  height: 8.75rem;
  object-fit: cover;
  object-position: center top;
}

.hero-polaroid__cap {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #14201a;
  opacity: 0.55;
}

.hero-polaroid--a {
  left: 0;
  top: 1.4rem;
  transform: rotate(-8deg);
  z-index: 1;
  animation: polaroidSettleA 1.1s ease-out both;
}

.hero-polaroid--b {
  left: 22%;
  top: 0.2rem;
  transform: rotate(5deg);
  z-index: 2;
  animation: polaroidSettleB 1.2s ease-out 0.12s both;
}

.hero-polaroid--c {
  right: 0;
  top: 1.8rem;
  width: 62%;
  transform: rotate(-2.5deg);
  z-index: 3;
  animation: polaroidSettleC 1.25s ease-out 0.22s both, polaroidBreathe 7s ease-in-out 1.6s infinite;
}

.hero-note {
  position: relative;
  z-index: 4;
  margin-top: 0.35rem;
  margin-left: 8%;
  max-width: 15.5rem;
  padding: 0.95rem 1.05rem 0.85rem;
  background:
    linear-gradient(180deg, #f7f1e4 0%, #f0e6d4 100%);
  color: #2a241c;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transform: rotate(1.5deg);
  animation: noteSettle 1s ease-out 0.35s both;
}

.hero-note__text {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.92rem;
  line-height: 1.45;
  font-style: italic;
}

.hero-note__sign {
  margin: 0.65rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #0b6e4f;
}

@keyframes polaroidSettleA {
  from { opacity: 0; transform: translateY(18px) rotate(-12deg); }
  to { opacity: 1; transform: translateY(0) rotate(-8deg); }
}

@keyframes polaroidSettleB {
  from { opacity: 0; transform: translateY(22px) rotate(10deg); }
  to { opacity: 1; transform: translateY(0) rotate(5deg); }
}

@keyframes polaroidSettleC {
  from { opacity: 0; transform: translateY(26px) rotate(2deg); }
  to { opacity: 1; transform: translateY(0) rotate(-2.5deg); }
}

@keyframes polaroidBreathe {
  0%, 100% { transform: translateY(0) rotate(-2.5deg); }
  50% { transform: translateY(-4px) rotate(-1.8deg); }
}

@keyframes noteSettle {
  from { opacity: 0; transform: translateY(14px) rotate(4deg); }
  to { opacity: 1; transform: translateY(0) rotate(1.5deg); }
}

.hero-cta {
  position: relative;
  overflow: hidden;
}

.hero-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(243, 246, 244, 0.18) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.hero-cta:hover::after {
  transform: translateX(120%);
}

@keyframes heroOrb {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
  50% { transform: translate(-3%, 4%) scale(1.08); opacity: 0.85; }
}

@keyframes ruleGrow {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

html:not(.motion-ok) .animate-fade-up,
html:not(.motion-ok) .animate-fade-in {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .hero-field__orb,
  .hero-polaroid--a,
  .hero-polaroid--b,
  .hero-polaroid--c,
  .hero-note,
  .animate-fade-up,
  .animate-fade-in,
  .hero-place::before,
  .brand-signature__word,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Case study company banners */
.case-banner {
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 70vw, 520px);
  background: #14201a;
}

.case-banner__media {
  position: absolute;
  inset: 0;
}

.case-banner__media img,
.case-banner__media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-banner--logo {
  min-height: clamp(240px, 42vw, 380px);
}

.case-banner--logo .case-banner__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-banner--logo .case-banner__media img {
  width: auto;
  height: auto;
  max-width: 7rem;
  max-height: 7rem;
  object-fit: contain;
}

@media (min-width: 768px) {
  .case-banner--logo {
    min-height: clamp(220px, 32vw, 340px);
  }

  .case-banner--logo .case-banner__media img {
    max-width: 9rem;
    max-height: 9rem;
  }
}

.case-banner__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,32,26,0.35) 0%, rgba(20,32,26,0.6) 40%, rgba(20,32,26,0.94) 100%),
    linear-gradient(90deg, rgba(20,32,26,0.65) 0%, transparent 70%);
}

.case-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  padding: 5rem 1.25rem 1.5rem;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

@media (min-width: 768px) {
  .case-banner {
    min-height: clamp(280px, 48vw, 520px);
  }

  .case-banner__content {
    padding: 6rem 2rem 2.25rem;
  }

  .case-banner__shade {
    background:
      linear-gradient(180deg, rgba(20,32,26,0.25) 0%, rgba(20,32,26,0.55) 45%, rgba(20,32,26,0.92) 100%),
      linear-gradient(90deg, rgba(20,32,26,0.55) 0%, transparent 55%);
  }
}

.phone-rail {
  position: absolute;
  inset: 0;
  display: none;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.85rem;
  padding: 4.5rem 1.25rem 1.5rem;
  pointer-events: none;
}

@media (min-width: 640px) {
  .phone-rail {
    display: flex;
    padding: 5rem 1.5rem 2rem;
  }
}

@media (min-width: 768px) {
  .phone-rail {
    padding: 5rem 2.5rem 2rem;
    gap: 1.1rem;
  }
}

.phone-frame {
  width: clamp(72px, 14vw, 160px);
  border-radius: 1.1rem;
  overflow: hidden;
  border: 2px solid rgba(243,246,244,0.35);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  background: #0a100d;
  transform: translateY(8%);
}

.phone-frame:nth-child(2) {
  transform: translateY(0);
  width: clamp(88px, 16vw, 180px);
}

.phone-frame:nth-child(3) {
  transform: translateY(12%);
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.65rem;
  background: rgba(243,246,244,0.1);
  border: 1px solid rgba(243,246,244,0.18);
  backdrop-filter: blur(8px);
  max-width: 100%;
}

.brand-chip img {
  height: 1.1rem;
  width: auto;
  max-width: 6.5rem;
  object-fit: contain;
  flex-shrink: 0;
}

.work-card-banner {
  position: relative;
  height: 10rem;
  overflow: hidden;
  background: #14201a;
}

@media (min-width: 640px) {
  .work-card-banner {
    height: 11rem;
  }
}

.work-card-banner img,
.work-card-banner svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

@media (hover: hover) {
  .group:hover .work-card-banner img,
  .group:hover .work-card-banner svg {
    transform: scale(1.04);
  }
}

.work-card-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(20,32,26,0.55) 100%);
}

/* Contact form */
.field-label {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  color: rgba(243, 246, 244, 0.55);
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(243, 246, 244, 0.18);
  background: rgba(243, 246, 244, 0.06);
  color: #f3f6f4;
  padding: 0.8rem 0.9rem;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  border-radius: 0;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  border-color: rgba(215, 235, 227, 0.55);
  background: rgba(243, 246, 244, 0.1);
}

.field-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d7ebe3' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.25rem;
}

.field-select option {
  color: #14201a;
  background: #f3f6f4;
}

.field-textarea {
  min-height: 7rem;
  resize: vertical;
}

.calendly-shell {
  min-height: 0;
  width: 100%;
  overflow: hidden;
  background: rgba(243, 246, 244, 0.04);
  border: 1px solid rgba(243, 246, 244, 0.12);
}

.calendly-shell .calendly-inline-widget,
.calendly-shell iframe {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100%;
  height: 620px !important;
}

@media (min-width: 768px) {
  .calendly-shell .calendly-inline-widget,
  .calendly-shell iframe {
    height: 680px !important;
  }
}

@media (max-width: 1023px) {
  #calendly-embed.calendly-shell {
    display: none !important;
  }
}

.form-status {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

.form-status.is-success {
  color: #d7ebe3;
}

.form-status.is-error {
  color: #f0b4a0;
}

@media (max-width: 767px) {
  .hero-cta,
  #quick-contact-form button[type="submit"],
  [data-calendly-popup] {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile hamburger — visible below md only */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 767px) {
  .nav-toggle {
    display: inline-flex;
  }
}

@media (min-width: 768px) {
  #nav-panel {
    display: none !important;
  }
}

.nav-toggle__icon {
  position: relative;
  display: block;
  width: 1.35rem;
  height: 0.9rem;
}

.nav-toggle__icon span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle__icon span:nth-child(1) { top: 0; }
.nav-toggle__icon span:nth-child(2) { top: calc(50% - 1px); }
.nav-toggle__icon span:nth-child(3) { top: calc(100% - 2px); }

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) {
  top: calc(50% - 1px);
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(3) {
  top: calc(50% - 1px);
  transform: rotate(-45deg);
}

#nav-panel a {
  color: #14201a !important;
  opacity: 1 !important;
}

#nav-panel a:hover {
  color: #0b6e4f !important;
}

/* Profile avatar — compact intro chip on Approach */
.profile-intro {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-avatar {
  position: relative;
  flex-shrink: 0;
  margin: 0;
  width: 4.5rem;
  height: 4.5rem;
}

.profile-avatar::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b6e4f 0%, #3ecf9a 55%, #cfd8d2 100%);
  opacity: 0.85;
}

.profile-avatar__img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 2px solid #f3f6f4;
  background: #14201a;
}

.profile-intro__meta {
  min-width: 0;
}

@media (min-width: 640px) {
  .profile-avatar {
    width: 5.25rem;
    height: 5.25rem;
  }

  .profile-intro {
    gap: 1.25rem;
  }
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #d7ebe3;
}

.availability-badge::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #3ecf9a;
  box-shadow: 0 0 0 3px rgba(62, 207, 154, 0.22);
  flex-shrink: 0;
}

.availability-badge--light {
  color: #085540;
}

.availability-badge--light::before {
  background: #0b6e4f;
  box-shadow: 0 0 0 3px rgba(11, 110, 79, 0.15);
}

.lesson-note {
  border-left: 3px solid #0b6e4f;
  padding-left: 1.25rem;
}

.engagement-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .engagement-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 2rem;
  }
}

@media (min-width: 1024px) {
  .engagement-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.engagement-steps__item {
  border-top: 1px solid rgba(20, 32, 26, 0.12);
  padding-top: 1.25rem;
}

.engagement-steps__num {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(11, 110, 79, 0.65);
}

.engagement-steps__title {
  margin-top: 0.65rem;
  color: #14201a;
}

.engagement-steps__text {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.65;
}

.engagement-steps--compact .engagement-steps__item {
  padding-top: 0.85rem;
}

.engagement-steps--compact .engagement-steps__text {
  display: none;
}

@media (min-width: 640px) {
  .engagement-steps--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .engagement-steps--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.fit-card {
  border: 1px solid rgba(20, 32, 26, 0.1);
  background: rgba(243, 246, 244, 0.65);
  padding: 1.25rem 1.35rem;
}

.fit-card--good {
  border-top: 3px solid #0b6e4f;
}

.fit-card--not {
  border-top: 3px solid #8a4b2e;
}

.recruiter-grid dt {
  letter-spacing: 0.01em;
}
