@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=IBM+Plex+Serif:wght@700&display=swap");

:root {
  --ink: #141313;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background: #ffffff;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

.font-serif {
  font-family: "IBM Plex Serif", serif;
}

.bg-ink {
  background-color: var(--ink);
}

.text-ink {
  color: var(--ink);
}

.bg-brand {
  background-image: linear-gradient(
    90deg,
    #ffb147 5.7398%,
    #ff6c63 50.642%,
    #b86adf 92.046%
  );
}

.text-gradient {
  background-image: linear-gradient(
    90deg,
    #ffb147 5.7398%,
    #ff6c63 50.642%,
    #b86adf 92.046%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #ff6c63;
  outline-offset: 3px;
}

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

.media-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.object-top {
  object-position: top center;
}

.media-frame {
  overflow: hidden;
  background: rgba(20, 19, 19, 0.05);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.media-frame:hover img {
  transform: scale(1.04);
}

.media-frame.fit-contain {
  background: #ffffff;
}

.media-frame.fit-contain img {
  object-fit: contain;
}

.media-frame.no-zoom:hover img {
  transform: none;
}

.hero-portrait {
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
}

.hero-portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-title {
  position: relative;
}

.hero-name-mark {
  position: relative;
  z-index: 0;
}

.hero-name-mark::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.08em;
  right: -0.12em;
  top: 0.12em;
  bottom: 0.08em;
  border-radius: 999px;
  background: linear-gradient(90deg, #b86adf 0%, #ff6c63 52%, #ffb147 100%);
}

.hero-cta {
  align-items: center;
}

.hero-btn-icon {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(135deg, #ffb147 0%, #ff6c63 48%, #b86adf 100%);
  color: #ffffff;
}

.hero-btn-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

@media (max-width: 640px) {
  .hero-portrait {
    max-width: 22rem;
  }
}

.about-portrait {
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
}

.about-portrait img {
  width: 100%;
  height: auto;
  display: block;
}

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

/* Mobile sidebar drawer */
#sidebar {
  transition: transform 0.3s ease;
  overflow: hidden;
  scrollbar-width: none;
}

#sidebar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

#sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(20, 19, 19, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#sidebar-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1023px) {
  #sidebar {
    transform: translateX(-100%);
  }
  #sidebar.open {
    transform: translateX(0);
  }
}

@media (min-width: 1024px) {
  #sidebar {
    transform: translateX(0);
  }
  #sidebar-overlay {
    display: none;
  }
}

.service-preview {
  display: none;
}

.service-row.is-open .service-preview {
  display: block;
}

.service-row.is-open .title-plain {
  display: none;
}

.service-row:not(.is-open) .title-gradient {
  display: none;
}

.service-row .icon-minus {
  display: none;
}

.service-row.is-open .icon-plus {
  display: none;
}

.service-row.is-open .icon-minus {
  display: block;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.is-active {
  display: grid;
}

.form-success {
  display: none;
}

.form-success.is-visible {
  display: block;
}

.extra-item {
  display: none !important;
}

.extra-item.is-visible {
  display: flex !important;
}

input,
textarea {
  font-family: inherit;
}

input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-text-fill-color: #ffffff;
  transition: background-color 9999s ease-in-out 0s;
}
