@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-400.woff2") format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}

@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/syne-latin-700-800.woff2") format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}

@font-face {
  font-family: "Syne";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/syne-latin-700-800.woff2") format("woff2");
  unicode-range:
    U+0000-00FF,
    U+0131,
    U+0152-0153,
    U+02BB-02BC,
    U+02C6,
    U+02DA,
    U+02DC,
    U+0304,
    U+0308,
    U+0329,
    U+2000-206F,
    U+20AC,
    U+2122,
    U+2191,
    U+2193,
    U+2212,
    U+2215,
    U+FEFF,
    U+FFFD;
}
:root {
  --page-bg: #f8f4ec;
  --page-bg-soft: #fffdf8;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-dark: #141414;
  --text-main: #121212;
  --text-soft: #47423d;
  --text-faint: #66605a;
  --line: rgba(18, 18, 18, 0.1);
  --accent-red: #ff5c47;
  --accent-coral: #ff7b66;
  --accent-yellow: #ffd231;
  --accent-cyan: #49d2dd;
  --accent-lilac: #d8cdfd;
  --accent-mint: #d4f1d7;
  --shadow-xl: 0 28px 70px rgba(17, 17, 17, 0.12);
  --shadow-lg: 0 20px 48px rgba(17, 17, 17, 0.1);
  --shadow-md: 0 14px 30px rgba(17, 17, 17, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
  --content: 1000px;
  --section-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 210, 49, 0.22), transparent 22%),
    radial-gradient(circle at 85% 18%, rgba(73, 210, 221, 0.16), transparent 20%),
    radial-gradient(circle at 76% 75%, rgba(216, 205, 253, 0.22), transparent 24%),
    linear-gradient(180deg, #fffcf7 0%, #f8f4ec 54%, #f5f0e7 100%);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 30;
  padding: 12px 16px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

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

a {
  text-decoration: none;
  color: #dd624f;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[type="range"]:focus-visible {
  outline: 3px solid rgba(255, 92, 71, 0.32);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 52px), var(--container));
  margin: 0 auto;
}

.container-narrow {
  width: min(calc(100% - 52px), var(--content));
}

.container-form {
  width: min(calc(100% - 52px), var(--section-width));
}

.site-header {
  width: min(calc(100% - 28px), 1260px);
  margin: 0 auto;
  padding: 18px 4px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-brand {
  font-family: "Syne", Arial, sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.site-brand-link {
  color: inherit;
}

.header-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(18, 18, 18, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-soft);
  box-shadow: var(--shadow-md);
}

.header-pill,
.primary-button,
.secondary-button,
.submit-button,
.project-filter {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

button#gform_submit_button_1 {
    border: 1px solid #111111;
    background: #111111;
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(17, 17, 17, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    font-family: "Syne", Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
    cursor: pointer;
}

#gform_submit_button_1::before,
.header-pill::before,
.primary-button::before,
.secondary-button::before,
.submit-button::before,
.project-filter::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%), rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.2) 46%, transparent 60%);
  transform: translateX(-44%);
  opacity: 0;
  transition:
    opacity 220ms ease,
    transform 520ms ease;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}
#gform_submit_button_1:hover::before,
.header-pill:hover::before,
.primary-button:hover::before,
.secondary-button:hover::before,
.submit-button:hover::before,
.project-filter:hover::before,
.header-pill:focus-visible::before,
.primary-button:focus-visible::before,
.secondary-button:focus-visible::before,
.submit-button:focus-visible::before,
.project-filter:focus-visible::before {
  opacity: 1;
  transform: translateX(18%);
}

.hero {
  position: relative;
  padding: 76px 0 40px;
}

.hero .container {
  width: min(calc(100% - 52px), var(--section-width));
  position: relative;
  padding: 18px;
  border: 1px solid rgba(18, 18, 18, 0.07);
  border-radius: 42px;
  background:
    radial-gradient(circle at 82% 12%, rgba(73, 210, 221, 0.22), transparent 22%),
    radial-gradient(circle at 16% 90%, rgba(255, 92, 71, 0.14), transparent 22%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 240, 0.88));
  box-shadow: var(--shadow-xl);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.hero .container::before,
.hero .container::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero .container::before {
  top: -120px;
  right: -40px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(73, 210, 221, 0.18), transparent 68%);
}

.hero .container::after {
  left: -90px;
  bottom: -130px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 92, 71, 0.12), transparent 70%);
}

.hero-frame {
  position: relative;
  padding: 48px 42px 38px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 239, 0.92));
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(18, 18, 18, 0.06);
  border-radius: 26px;
  pointer-events: none;
}

.hero h1 {
  max-width: 940px;
  margin: 0 auto;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(4rem, 6.1vw, 6.1rem);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.hero-copy,
.contact p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.62;
}

.hero-copy {
  max-width: 700px;
  margin: 20px auto 0;
  font-size: 19px;
}

.hero-copy-emphasis {
  max-width: 760px;
  margin-top: 18px;
  font-family: "Syne", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.primary-button,
.secondary-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: "Syne", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  cursor: pointer;
}

.primary-button {
  border: 1px solid #111111;
  background: #111111;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.18);
}

.secondary-button {
  border: 1px solid rgba(18, 18, 18, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: #111111;
}

.primary-button:hover,
.secondary-button:hover,
.submit-button:hover {
  transform: translateY(-2px);
}

.services,
.testimonials,
.projects,
.gallery {
  padding: 30px 0;
}

.testimonials,
.projects,
.performance-experiments,
.gallery,
.contact {
  content-visibility: auto;
  contain-intrinsic-size: 1px 960px;
}

.performance {
  position: relative;
  margin-top: 40px;
  padding: 48px 0 60px;
  background:
    radial-gradient(circle at top left, rgba(255, 210, 49, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.4)),
    #ece7dd;
}

.contact {
  padding: 82px 0 70px;
}

.section-banner {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 24px;
  padding: 14px 24px 15px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-red) 0%, var(--accent-coral) 100%);
  color: #ffffff;
  text-align: center;
  font-family: "Syne", Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(255, 92, 71, 0.24);
}

.services-grid {
  width: min(100%, var(--section-width));
  margin: 0 auto;
}

.services-cluster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 14px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-lg);
  transform:
    translate3d(var(--services-x, 0px), calc(var(--services-y, 0px) + var(--hover-lift, 0px)), 0)
    rotate(calc(var(--services-ambient-rotate, 0deg) + var(--services-rotate, 0deg)));
  transition:
    transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: 26px 28px 30px;
  border: 1px solid rgba(18, 18, 18, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 42%);
  z-index: -1;
}

.card-yellow {
  background: linear-gradient(180deg, #ffe879 0%, #ffd231 100%);
  --card-base-rotate: -1.2deg;
}

.card-cream {
  background: linear-gradient(180deg, #fffef9 0%, #f3ede1 100%);
  --card-base-rise: 12px;
}

.card-cyan {
  background: linear-gradient(180deg, #59d6de 0%, #28bcc8 100%);
  color: #ffffff;
  --card-base-rotate: 1.2deg;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 4px 14px;
  border: 1px solid rgba(18, 18, 18, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-cyan .card-tag {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.14);
}

.service-icon {
  width: 110px;
  margin: 18px auto 22px;
  transform:
    translate3d(
      var(--service-icon-x, 0px),
      calc(var(--service-icon-drift-y, 0px) + var(--service-icon-y, 0px)),
      0
    )
    scale(calc(1 + var(--service-icon-ambient-scale, 0) + var(--service-icon-scale, 0)));
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-svg {
  width: 100%;
  height: auto;
  display: block;
  color: #383838;
}

.service-svg * {
  vector-effect: non-scaling-stroke;
stroke-width: 1px;
}

.service-card h3,
.project-card h3,
.contact h2 {
  margin: 0;
  font-family: "Syne", Arial, sans-serif;
  letter-spacing: -0.04em;
}

.service-card h3 {
      font-size: 22px;
    line-height: 1;
}

.service-card p {
  max-width: 270px;
  margin: 18px auto 0;
  font-size: 16px;
  line-height: 1.55;
}

.card-cyan p {
  color: rgba(255, 255, 255, 0.88);
}

.section-intro,
.projects-kicker {
  margin: -2px auto 22px;
  max-width: 760px;
  text-align: center;
  font-family: "Syne", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.section-intro-compact {
  margin-bottom: 12px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(100%, var(--section-width));
  margin: 0 auto;
  position: relative;
  isolation: isolate;
}

.testimonial-card {
  min-height: 294px;
  padding: 22px 22px 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.testimonial-card:nth-child(1) {
  --card-base-rotate: -1deg;
}

.testimonial-card:nth-child(2) {
  --card-base-rise: 8px;
}

.testimonial-card:nth-child(3) {
  --card-base-rotate: 1deg;
}

.stars {
  color: #f0b633;
  font-size: 16px;
  letter-spacing: 0.18em;
  transition: transform 220ms ease;
}

.testimonial-card p {
  margin: 14px 0 18px;
  font-size: 16px;
  line-height: 1.6;
  color: #343434;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong {
  font-size: 16px;
  font-weight: 700;
}

.testimonial-card span {
  margin-top: 5px;
  font-size: 16px;
  color: #666666;
  line-height: 1.5;
}

.projects-kicker {
  margin-top: 4px;
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: min(100%, var(--section-width));
  margin: 20px auto 26px;
}

.project-filter {
  appearance: none;
  border: 1px solid rgba(18, 18, 18, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #3f3f3f;
  padding: 10px 16px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.project-filter:hover {
  transform: translateY(-1px);
  border-color: rgba(18, 18, 18, 0.2);
}

.project-filter.is-active {
  background: linear-gradient(135deg, #ff6a55, #ff8f61);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(255, 107, 86, 0.24);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 18px;
  width: min(100%, var(--section-width));
  margin: 0 auto;
  position: relative;
  isolation: isolate;
}

.testimonials.is-motion-active .testimonial-grid::before,
.testimonials.is-motion-active .testimonial-grid::after,
.gallery.is-motion-active .gallery-grid::before,
.gallery.is-motion-active .gallery-grid::after {
  content: "";
  position: absolute;
  pointer-events: none;
  transition:
    opacity 260ms ease,
    transform 320ms ease;
}

.testimonials.is-motion-active .testimonial-grid::before,
.gallery.is-motion-active .gallery-grid::before {
  inset: -26px;
  border-radius: 32px;
  filter: blur(46px);
  opacity: var(--section-glow, 0);
  z-index: -1;
}

.testimonials.is-motion-active .testimonial-grid::before {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 92, 71, calc(var(--section-glow, 0) * 0.24)), transparent 30%),
    radial-gradient(circle at 82% 22%, rgba(216, 205, 253, calc(var(--section-glow, 0) * 0.34)), transparent 30%);
}

.gallery.is-motion-active .gallery-grid::before {
  background:
    radial-gradient(circle at 18% 22%, rgba(73, 210, 221, calc(var(--section-glow, 0) * 0.28)), transparent 30%),
    radial-gradient(circle at 84% 78%, rgba(255, 210, 49, calc(var(--section-glow, 0) * 0.3)), transparent 32%);
}

.testimonials.is-motion-active .testimonial-grid::after,
.gallery.is-motion-active .gallery-grid::after {
  inset: 6% -16%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 26%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0.08) 74%,
    transparent 100%
  );
  filter: blur(22px);
  mix-blend-mode: screen;
  opacity: calc(var(--section-glow, 0) * 0.48);
  transform: translateX(var(--section-sheen, -180px)) skewX(-14deg);
  z-index: 2;
}

.projects.is-motion-active .projects-grid::before,
.projects.is-motion-active .projects-grid::after {
  content: "";
  position: absolute;
  pointer-events: none;
  transition:
    opacity 260ms ease,
    transform 320ms ease;
}

.projects.is-motion-active .projects-grid::before {
  inset: -20px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 210, 49, calc(var(--projects-glow, 0) * 0.18)), transparent 30%),
    radial-gradient(circle at 80% 24%, rgba(73, 210, 221, calc(var(--projects-glow, 0) * 0.2)), transparent 28%),
    radial-gradient(circle at 48% 84%, rgba(255, 92, 71, calc(var(--projects-glow, 0) * 0.14)), transparent 30%);
  filter: blur(36px);
  opacity: var(--projects-glow, 0);
  z-index: -2;
}

.projects.is-motion-active .projects-grid::after {
  inset: 4% -18%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 28%,
    rgba(255, 255, 255, 0.24) 50%,
    rgba(255, 255, 255, 0.05) 72%,
    transparent 100%
  );
  filter: blur(18px);
  mix-blend-mode: screen;
  opacity: calc(var(--projects-glow, 0) * 0.42);
  transform: translateX(var(--projects-sheen, -180px)) skewX(-14deg);
  z-index: 2;
}

.project-card {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
  opacity: var(--project-opacity, 1);
  filter: blur(var(--project-blur, 0px));
  transform:
    translate3d(
      calc(var(--project-shift-x, 0px) + var(--card-tilt-x, 0px)),
      calc(var(--project-shift-y, 0px) + var(--card-tilt-y, 0px) + var(--hover-lift, 0px)),
      0
    )
    rotate(var(--project-rotate, 0deg))
    scale(var(--project-scale, 1))
    rotateX(var(--card-rotate-x, 0deg))
    rotateY(var(--card-rotate-y, 0deg));
  transition:
    transform 340ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 220ms ease,
    border-color 220ms ease,
    filter 260ms ease,
    opacity 260ms ease;
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  filter: blur(0);
}

.service-card,
.testimonial-card,
.gallery-shot {
  opacity: var(--section-flow-opacity, 1);
  filter:
    blur(var(--section-flow-blur, 0px))
    saturate(1)
    brightness(1);
  transform:
    translate3d(
      calc(var(--story-x, 0px) + var(--section-flow-x, 0px) + var(--card-tilt-x, 0px)),
      calc(var(--story-y, 0px) + var(--section-flow-y, 0px) + var(--card-tilt-y, 0px) + var(--hover-lift, 0px) + var(--card-base-rise, 0px)),
      0
    )
    rotate(var(--card-base-rotate, 0deg))
    rotate(var(--section-flow-rotate, 0deg))
    scale(var(--section-flow-scale, 1))
    rotateX(var(--card-rotate-x, 0deg))
    rotateY(var(--card-rotate-y, 0deg));
  transition:
    transform 260ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    filter 240ms ease,
    opacity 240ms ease;
}

.service-card:hover,
.testimonial-card:hover {
  --hover-lift: -4px;
  box-shadow: var(--shadow-lg);
}

.service-card:hover .service-icon {
  --service-icon-y: -6px;
  --service-icon-scale: 0.04;
}

.testimonial-card:hover .stars {
  transform: translateY(-2px) scale(1.04);
}

.services-cluster:hover {
  --hover-lift: -4px;
  box-shadow: 0 24px 52px rgba(17, 17, 17, 0.14);
}

.project-card:hover {
  --hover-lift: -4px;
  box-shadow: var(--shadow-lg);
}

.testimonials.is-motion-active .testimonial-card,
.gallery.is-motion-active .gallery-shot {
  box-shadow:
    0 26px 44px rgba(17, 17, 17, 0.12),
    0 10px 18px rgba(255, 255, 255, 0.16) inset;
}

div#gform_confirmation_message_1 {
    text-align: center;
}

.project-card.is-hidden {
  display: none;
}

.project-card h3 {
  margin-top: 12px;
  padding: 0 6px;
  font-size: 19px;
  line-height: 1;
}

.project-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}

.project-title-link:hover {
  color: #ff6a55;
}

.project-title-link:focus-visible {
  color: #ff6a55;
}

.project-card p {
  margin: 8px 0 4px;
  padding: 0 6px;
  font-size: 16px;
  line-height: 1.55;
  color: #5e5e5e;
}

.project-card h3,
.project-card p {
  transform: translateY(var(--project-content-y, 0px));
  opacity: var(--project-content-opacity, 1);
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 220ms ease;
}

.project-shot,
.gallery-shot {
  position: relative;
  overflow: hidden;
}

.project-shot {
  height: 350px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 18px;
  background: linear-gradient(135deg, #f4f4f4, #e8e8e8);
  transform: translateY(var(--project-shot-rise, 0px)) scale(var(--project-shot-scale, 1));
  transition:
    transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 280ms ease;
}

.project-shot::before,
.gallery-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: 18px 18px;
  mix-blend-mode: soft-light;
}

.project-shot::after {
  content: "";
  position: absolute;
  inset: -20% -54%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 30%,
    rgba(255, 255, 255, 0.42) 48%,
    rgba(255, 255, 255, 0.1) 68%,
    transparent 100%
  );
  transform: translateX(var(--project-shot-sheen, -140%)) rotate(12deg);
  opacity: var(--project-shot-sheen-opacity, 0);
  filter: blur(12px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.gallery-shot::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 18, 18, 0.68) 100%);
  pointer-events: none;
  z-index: 1;
}

.project-device-stack {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 22px 18px 18px;
  transform-style: preserve-3d;
  transform:
    perspective(1400px)
    rotateX(var(--project-stack-tilt, 0deg))
    rotateY(var(--project-stack-pan, 0deg));
  transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-device {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(18, 18, 18, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(18, 18, 18, 0.14);
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-device::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 18px 18px;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.project-device-desktop {
  inset: 22px 54px 22px 18px;
  border-radius: 16px;
  transform:
    translate3d(
      calc(var(--stack-shift-x, 0px) * 0.35 + var(--project-device-desktop-x, 0px)),
      calc(var(--stack-shift-y, 0px) * 0.35 + var(--project-device-desktop-y, 0px)),
      0
    )
    rotate(var(--project-device-desktop-r, 0deg));
}

.project-device-tablet {
  top: 108px;
  right: 18px;
  width: 34%;
  height: 180px;
  border-radius: 18px;
  transform:
    translate3d(
      calc(var(--stack-shift-x, 0px) * -0.42 + var(--project-device-tablet-x, 0px)),
      calc(var(--stack-shift-y, 0px) * -0.22 + var(--project-device-tablet-y, 0px)),
      0
    )
    rotate(var(--project-device-tablet-r, 0deg));
}

.project-device-mobile {
  right: 102px;
  bottom: 16px;
  width: 22%;
  height: 150px;
  border-radius: 18px;
  transform:
    translate3d(
      calc(var(--stack-shift-x, 0px) * 0.55 + var(--project-device-mobile-x, 0px)),
      calc(var(--stack-shift-y, 0px) * -0.45 + var(--project-device-mobile-y, 0px)),
      0
    )
    rotate(var(--project-device-mobile-r, 0deg));
}

.project-device-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 24px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(18, 18, 18, 0.06);
  z-index: 1;
}

.project-device-bar::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 9px;
  width: 28px;
  height: 8px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 4px 4px, rgba(255, 112, 91, 0.95) 0 3px, transparent 3.2px),
    radial-gradient(circle at 14px 4px, rgba(255, 191, 92, 0.95) 0 3px, transparent 3.2px),
    radial-gradient(circle at 24px 4px, rgba(71, 199, 126, 0.95) 0 3px, transparent 3.2px);
}

.project-device-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform-origin: center top;
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover .project-shot {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.project-card:hover .project-device-image {
  transform: scale(1.028);
}

.shot-orange {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), transparent 30%),
    linear-gradient(135deg, #fff0ea, #f7cfb2);
}

.shot-dark {
  background:
    radial-gradient(circle at 78% 22%, #ffd95e 0 5%, transparent 5.2%),
    linear-gradient(135deg, #0a0a0a, #2a2a2a 70%);
}

.shot-sand {
  background:
    linear-gradient(135deg, #faf4e7, #e0d2b5);
}

.shot-mint {
  background:
    linear-gradient(145deg, #f8ecff, #c7ece4);
}

.shot-grey {
  background:
    linear-gradient(135deg, #f5f5f5, #d8d8d8);
}

.shot-light {
  background:
    linear-gradient(155deg, #d0d1d2 0 34%, transparent 34%),
    linear-gradient(135deg, #ffffff, #e7eed8);
}

.performance-compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.comparison-panel {
  padding: 14px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
}

.device-track-head {
  margin-bottom: 14px;
  text-align: left;
}

.device-track-head h4 {
  margin: 0;
  font-family: "Syne", Arial, sans-serif;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.device-track-head p {
  margin: 6px 0 0;
  font-size: 16px;
  color: var(--text-soft);
}

.comparison-slider {
  --split-position: 54%;
  position: relative;
  width: min(100%, 530px);
  height: 464px;
  margin-top: 2px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #ffffff;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.comparison-panel:hover .comparison-slider {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(17, 17, 17, 0.12);
}

.comparison-surface {
  position: absolute;
  inset: 0;
}

.compare-before {
  clip-path: inset(0 calc(100% - var(--split-position)) 0 0);
}

.compare-after {
  clip-path: inset(0 0 0 var(--split-position));
}

.comparison-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-family: "Syne", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compare-before .comparison-tag {
  background: rgba(255, 210, 49, 0.22);
  color: #9a6a00;
}

.compare-after .comparison-tag {
  left: auto;
  right: 14px;
  background: rgba(73, 210, 221, 0.18);
  color: #0e7f88;
}

.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split-position);
  z-index: 4;
  width: 0;
  pointer-events: none;
}

.comparison-divider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.08);
}

.comparison-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.14);
  transform: translate(-50%, -50%);
}

.comparison-divider span::before,
.comparison-divider span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #111111;
  border-right: 2px solid #111111;
}

.comparison-divider span::before {
  left: 10px;
  transform: translateY(-50%) rotate(225deg);
}

.comparison-divider span::after {
  right: 10px;
  transform: translateY(-50%) rotate(45deg);
}

.comparison-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.compare-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.compare-metric {
  padding: 14px 14px 12px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  text-align: left;
}

.compare-metric strong,
.compare-metric > span {
  display: block;
}

.compare-metric strong {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: "Syne", Arial, sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.1;
}

.score-before {
  color: #cb4a43;
}

.score-arrow {
  color: #6e6e6e;
}

.score-after {
  color: #0f9f52;
}

.compare-metric > span {
  margin-top: 6px;
  font-size: 16px;
  color: var(--text-soft);
}

.performance-shot {
  height: 210px;
  overflow: hidden;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.performance-shot-slider {
  height: 100%;
  border: 0;
  border-radius: 24px;
  box-shadow: none;
}

.performance-shot-mobile {
  background: #ffffff;
}

.psi-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.performance-experiments {
  padding: 22px 0 14px;
}

.performance-experiments .container {
  width: min(calc(100% - 52px), var(--section-width));
}

.performance-options-grid {
  display: grid;
  gap: 24px;
  margin-top: 20px;
}

.performance-option {
  padding: 18px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow-lg);
}

.performance-option-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.performance-option-chip,
.performance-option-tone {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.performance-option-chip {
  border: 1px solid rgba(18, 18, 18, 0.1);
  background: rgba(255, 255, 255, 0.76);
  color: var(--text-main);
}

.performance-option-tone {
  background: rgba(18, 18, 18, 0.05);
  color: var(--text-soft);
}

.performance-option-shell {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  isolation: isolate;
}

.performance-experiments.is-motion-active .performance-option-shell::before,
.performance-experiments.is-motion-active .performance-option-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  transition:
    opacity 260ms ease,
    transform 320ms ease;
}

.performance-experiments.is-motion-active .performance-option-shell::before {
  inset: -24px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 210, 49, calc(var(--perf-glow, 0) * 0.28)), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(73, 210, 221, calc(var(--perf-glow, 0) * 0.36)), transparent 30%);
  filter: blur(44px);
  opacity: var(--perf-glow, 0);
  z-index: -1;
}

.performance-experiments.is-motion-active .performance-option-shell::after {
  inset: 4% -14%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 26%,
    rgba(255, 255, 255, 0.32) 50%,
    rgba(255, 255, 255, 0.08) 74%,
    transparent 100%
  );
  filter: blur(22px);
  mix-blend-mode: screen;
  opacity: calc(var(--perf-glow, 0) * 0.5);
  transform: translateX(var(--perf-sheen, -160px)) skewX(-14deg);
  z-index: 2;
}

.performance-option-copy {
  max-width: 720px;
}

.performance-option,
.performance-option-copy,
.performance-option-scoreline,
.performance-option-compare,
.performance-option-actions,
.comparison-panel,
.compare-metric {
  opacity: var(--perf-opacity, 1);
  filter: blur(var(--perf-blur, 0px));
  transform:
    translate3d(var(--perf-x, 0px), var(--perf-y, 0px), 0)
    rotate(var(--perf-rotate, 0deg))
    scale(var(--perf-scale, 1));
  transition:
    transform 340ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 260ms ease,
    filter 260ms ease,
    box-shadow 220ms ease;
}

.performance-experiments.is-motion-active .comparison-panel,
.performance-experiments.is-motion-active .compare-metric,
.contact.is-motion-active .container {
  box-shadow:
    0 28px 52px rgba(17, 17, 17, 0.14),
    0 10px 18px rgba(255, 255, 255, 0.18) inset;
}

.performance-option-copy-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.performance-option h3 {
  margin: 0;
  font-family: "Syne", Arial, sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.performance-option p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-soft);
}

.performance-option .performance-compare {
  width: 100%;
  margin-top: 18px;
  gap: 14px;
}

.performance-option .comparison-panel {
  background: rgba(255, 255, 255, 0.92);
}

.performance-option .comparison-slider {
  width: 100%;
  height: 340px;
}

.performance-option .device-track-head h4 {
  font-size: 22px;
}

.performance-option .device-track-head p {
  font-size: 15px;
}

.performance-option-scoreline {
  width: 100%;
  margin-top: 18px;
}

.performance-option-actions {
  display: flex;
  justify-content: center;
  margin-top: 55px;
}

.performance-option-a .performance-option-shell {
  background:
    radial-gradient(circle at top right, rgba(73, 210, 221, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 249, 241, 0.84));
}

.gallery {
  padding-top: 44px;
}

.gallery-grid {
  width: min(100%, var(--section-width));
  margin: 0 auto;
  position: relative;
  isolation: isolate;
}

.gallery-pair {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: 360px;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-lg);
  transform:
    translate3d(var(--gallery-x, 0px), calc(var(--gallery-y, 0px) + var(--hover-lift, 0px)), 0)
    rotate(calc(var(--gallery-ambient-rotate, 0deg) + var(--gallery-rotate, 0deg)));
  transition:
    transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.gallery-shot {
  margin: 0;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 28px;
  background: #e9e4d8;
}

.gallery-shot-one {
  background: linear-gradient(135deg, #ccefe8, #f4f1c8);
}

.gallery-shot-two {
  background: linear-gradient(135deg, #c0d9f7, #f0d3be);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform:
    translate3d(
      var(--gallery-image-x, 0px),
      calc(var(--gallery-image-drift-y, 0px) + var(--gallery-image-y, 0px)),
      0
    )
    scale(calc(var(--gallery-image-scale, 1) + var(--gallery-image-hover-scale, 0)));
  transition: transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-pair:hover .gallery-image {
  --gallery-image-hover-scale: 0.03;
}

.gallery-shot figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(18, 18, 18, 0.7);
  color: #ffffff;
  z-index: 2;
  transform: translate3d(0, calc(var(--gallery-caption-drift-y, 0px) + var(--gallery-caption-y, 0px)), 0);
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 280ms ease;
}

.gallery-pair:hover figcaption {
  --gallery-caption-y: -4px;
  background: rgba(18, 18, 18, 0.78);
}

.gallery-shot figcaption strong,
.gallery-shot figcaption span {
  display: block;
}

.gallery-shot figcaption strong {
  font-family: "Syne", Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.gallery-shot figcaption span {
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.gallery-pair:hover {
  --hover-lift: -4px;
  box-shadow: 0 24px 52px rgba(17, 17, 17, 0.14);
}

.contact {
  text-align: center;
}

.contact .container {
  padding: 40px 30px 34px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 32px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(255, 248, 239, 0.84));
  box-shadow: var(--shadow-xl);
  position: relative;
  isolation: isolate;
  opacity: var(--contact-shell-opacity, 1);
  filter: blur(var(--contact-shell-blur, 0px));
  transform:
    translate3d(var(--contact-shell-x, 0px), var(--contact-shell-y, 0px), 0)
    scale(var(--contact-shell-scale, 1));
  transition:
    transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 260ms ease,
    filter 260ms ease,
    box-shadow 220ms ease;
}

.contact.is-motion-active .container::before,
.contact.is-motion-active .container::after {
  content: "";
  position: absolute;
  pointer-events: none;
  transition:
    opacity 260ms ease,
    transform 320ms ease;
}

.contact.is-motion-active .container::before {
  inset: -26px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 210, 49, calc(var(--contact-glow, 0) * 0.28)), transparent 30%),
    radial-gradient(circle at 82% 22%, rgba(73, 210, 221, calc(var(--contact-glow, 0) * 0.32)), transparent 30%);
  filter: blur(46px);
  opacity: var(--contact-glow, 0);
  z-index: -1;
}

.contact.is-motion-active .container::after {
  inset: 8% -16%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 26%,
    rgba(255, 255, 255, 0.32) 50%,
    rgba(255, 255, 255, 0.08) 74%,
    transparent 100%
  );
  filter: blur(22px);
  mix-blend-mode: screen;
  opacity: calc(var(--contact-glow, 0) * 0.48);
  transform: translateX(var(--contact-sheen, -180px)) skewX(-14deg);
  z-index: 2;
}

.contact-form {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.contact h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  line-height: 0.98;
}

.contact p {
  max-width: 520px;
  margin: 12px auto 0;
  font-size: 16px;
}

.contact-note-emphasis {
  max-width: 760px;
  font-family: "Syne", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.contact .container > h2,
.contact .container > p,
.contact-form > * {
  opacity: var(--contact-flow-opacity, 1);
  filter: blur(var(--contact-flow-blur, 0px));
  transform: translate3d(var(--contact-flow-x, 0px), var(--contact-flow-y, 0px), 0);
  transition:
    transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 240ms ease,
    filter 240ms ease;
}

.contact-form {
  margin-top: 30px;
  text-align: left;
}

.contact-form-gravity .gform_wrapper,
.contact-form-gravity .gform_wrapper.gravity-theme {
  margin: 0;
  max-width: none;
}

.contact-form-gravity .gform_wrapper .gform_heading {
  display: none;
}

.contact-form-gravity .gform_wrapper .gform-body,
.contact-form-gravity .gform_wrapper .gform_fields {
  display: block;
  margin: 0;
  padding: 0;
  gap: 0;
}

.contact-form-gravity .gform_wrapper .gfield {
  margin: 0 0 16px;
  padding: 0;
}

.contact-form-gravity .gform_wrapper .gfield_label,
.contact-form-gravity .gform_wrapper .gform-field-label {
  display: block;
  margin-bottom: 7px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
}

.contact-form-gravity .gform_wrapper .gfield_required,
.contact-form-gravity .gform_wrapper .gform_required_legend {
  display: none;
}

.contact-form-gravity .gform_wrapper input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.contact-form-gravity .gform_wrapper textarea,
.contact-form-gravity .gform_wrapper select {
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(18, 18, 18, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-size: 16px;
  color: var(--text-main);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.contact-form-gravity .gform_wrapper textarea {
  min-height: 220px;
  resize: vertical;
}

.contact-form-gravity .gform_wrapper input:focus,
.contact-form-gravity .gform_wrapper textarea:focus,
.contact-form-gravity .gform_wrapper select:focus {
  outline: 2px solid rgba(73, 210, 221, 0.22);
  border-color: rgba(73, 210, 221, 0.52);
}

.contact-form-gravity .gform_wrapper .gform_footer,
.contact-form-gravity .gform_wrapper .gform_page_footer {
  margin: 20px 0 0;
  padding: 0;
}

.contact-form-gravity .gform_wrapper .submit-button {
  min-width: 108px;
}

.contact-form-gravity .gform_wrapper .gfield_description,
.contact-form-gravity .gform_wrapper .validation_message,
.contact-form-gravity .gform_wrapper .gfield_validation_message,
.contact-form-gravity .gform_wrapper .gform_validation_errors,
.contact-form-gravity .gform_wrapper .gform_confirmation_message {
  max-width: 840px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-md);
  font-size: 16px;
  line-height: 1.55;
}

.contact-form-gravity .gform_wrapper .validation_message,
.contact-form-gravity .gform_wrapper .gfield_validation_message,
.contact-form-gravity .gform_wrapper .gform_validation_errors {
  border-color: rgba(255, 92, 71, 0.24);
  background: rgba(255, 242, 239, 0.92);
  color: #83352a;
}

.contact-form-gravity .gform_wrapper .gform_confirmation_message {
  border-color: rgba(73, 210, 221, 0.28);
  background: rgba(228, 251, 253, 0.9);
  color: #14525b;
}

.contact-form-gravity .gform_wrapper .gfield_error [aria-invalid="true"] {
  border-color: rgba(255, 92, 71, 0.32);
}

.contact-form-gravity .gform_wrapper .gform_hidden,
.contact-form-gravity .gform_wrapper .gfield_visibility_hidden {
  display: none !important;
}

.contact-form.is-submitting .submit-button {
  cursor: wait;
  opacity: 0.82;
  transform: none;
}

.contact-form-message,
.contact-form-plugin-note {
  max-width: 840px;
  margin: 0 auto 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-md);
  font-size: 16px;
  line-height: 1.55;
}

.contact-form-message-success {
  border-color: rgba(73, 210, 221, 0.28);
  background: rgba(228, 251, 253, 0.9);
  color: #14525b;
}

.contact-form-message-error {
  border-color: rgba(255, 92, 71, 0.24);
  background: rgba(255, 242, 239, 0.92);
  color: #83352a;
}

.contact-form-plugin-note {
  border-style: dashed;
  color: var(--text-soft);
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: block;
  margin-bottom: 7px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(18, 18, 18, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-size: 16px;
  color: var(--text-main);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(73, 210, 221, 0.22);
  border-color: rgba(73, 210, 221, 0.52);
}

.submit-button {
  border: 1px solid rgba(18, 18, 18, 0.1);
  background: linear-gradient(90deg, #ffd231, #ffe57d);
  color: #111111;
  box-shadow: 0 14px 30px rgba(255, 210, 49, 0.22);
}

.site-footer {
  padding: 22px 16px;
  background: #181818;
  color: #ffffff;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.scroll-stage {
  --piece-stagger: 90ms;
  --piece-distance: 72px;
}

.scroll-shell {
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  filter: blur(3px);
  transition:
    opacity 520ms ease,
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 760ms ease;
}

.scroll-stage.is-visible.scroll-shell {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.scroll-piece {
  opacity: 0;
  transform:
    translate3d(var(--piece-x, 0), var(--piece-y, 26px), 0)
    rotate(var(--piece-r, 0deg))
    scale(var(--piece-scale, 0.92));
  filter: blur(2px);
  transition:
    opacity 520ms ease,
    transform 780ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 760ms ease;
  transition-delay: calc(var(--piece-order, 0) * var(--piece-stagger));
}

.scroll-stage.is-visible .scroll-piece {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  filter: blur(0);
}

.scroll-stage.is-visible .hero-actions .scroll-piece:nth-child(2) {
  transition-delay: calc((var(--piece-order, 0) + 1) * var(--piece-stagger));
}

.services-grid.scroll-stage {
  --piece-stagger: 120ms;
}

.services-grid .scroll-piece:nth-child(1) {
  --piece-x: -90px;
  --piece-y: 42px;
  --piece-r: -7deg;
}

.services-grid .scroll-piece:nth-child(2) {
  --piece-y: 86px;
  --piece-scale: 0.9;
}

.services-grid .scroll-piece:nth-child(3) {
  --piece-x: 90px;
  --piece-y: 44px;
  --piece-r: 7deg;
}

.testimonial-grid.scroll-stage {
  --piece-stagger: 110ms;
}

.testimonial-grid .scroll-piece:nth-child(1) {
  --piece-x: -70px;
  --piece-y: 20px;
  --piece-r: -4deg;
}

.testimonial-grid .scroll-piece:nth-child(2) {
  --piece-y: 56px;
}

.testimonial-grid .scroll-piece:nth-child(3) {
  --piece-x: 70px;
  --piece-y: 20px;
  --piece-r: 4deg;
}

.projects-grid.scroll-stage {
  --piece-stagger: 105ms;
}

.projects-grid .scroll-piece:nth-child(odd) {
  --piece-x: -48px;
  --piece-y: 24px;
  --piece-r: -3deg;
}

.projects-grid .scroll-piece:nth-child(even) {
  --piece-x: 48px;
  --piece-y: 24px;
  --piece-r: 3deg;
}

.projects-grid .scroll-piece:nth-child(3n + 2) {
  --piece-y: 58px;
  --piece-scale: 0.95;
}

.performance-option-shell.scroll-stage {
  --piece-stagger: 95ms;
}

.performance-option-shell .scroll-piece:nth-child(1) {
  --piece-y: 18px;
}

.performance-option-shell .scroll-piece:nth-child(2) {
  --piece-y: 34px;
  --piece-scale: 0.97;
}

.performance-option-shell .scroll-piece:nth-child(3) {
  --piece-y: 44px;
}

.performance-option-shell .scroll-piece:nth-child(4) {
  --piece-y: 24px;
}

.compare-metrics.scroll-stage {
  --piece-stagger: 80ms;
}

.compare-metrics .scroll-piece:nth-child(odd) {
  --piece-x: -24px;
  --piece-y: 18px;
}

.compare-metrics .scroll-piece:nth-child(even) {
  --piece-x: 24px;
  --piece-y: 18px;
}

.performance-option-compare.scroll-stage {
  --piece-stagger: 110ms;
}

.performance-option-compare .scroll-piece:nth-child(1) {
  --piece-x: -54px;
  --piece-y: 26px;
  --piece-r: -3deg;
}

.performance-option-compare .scroll-piece:nth-child(2) {
  --piece-x: 54px;
  --piece-y: 26px;
  --piece-r: 3deg;
}

.gallery-grid.scroll-stage {
  --piece-stagger: 120ms;
}

.gallery-grid .scroll-piece:nth-child(1) {
  --piece-x: -70px;
  --piece-y: -26px;
  --piece-r: -4deg;
}

.gallery-grid .scroll-piece:nth-child(2) {
  --piece-x: 70px;
  --piece-y: -26px;
  --piece-r: 4deg;
}

.gallery-grid .scroll-piece:nth-child(3) {
  --piece-x: -56px;
  --piece-y: 42px;
  --piece-r: 3deg;
}

.gallery-grid .scroll-piece:nth-child(4) {
  --piece-x: 56px;
  --piece-y: 42px;
  --piece-r: -3deg;
}

.hero .container.scroll-stage {
  --piece-stagger: 80ms;
}

.hero .container .scroll-piece:nth-child(1) {
  --piece-y: -20px;
}

.hero .container .scroll-piece:nth-child(2) {
  --piece-y: 28px;
  --piece-scale: 0.96;
}

.hero .container .scroll-piece:nth-child(3),
.hero .container .scroll-piece:nth-child(4) {
  --piece-y: 18px;
}

.hero-actions .scroll-piece:nth-child(1) {
  --piece-x: -36px;
}

.hero-actions .scroll-piece:nth-child(2) {
  --piece-x: 36px;
}

.contact .container.scroll-stage {
  --piece-stagger: 85ms;
}

.contact .container .scroll-piece:nth-child(1) {
  --piece-y: -18px;
}

.contact .container .scroll-piece:nth-child(2) {
  --piece-y: 20px;
  --piece-scale: 0.97;
}

.contact .container .scroll-piece:nth-child(3) {
  --piece-y: 34px;
}

.contact-form.scroll-stage {
  --piece-stagger: 70ms;
}

.contact-form .scroll-piece:nth-child(odd) {
  --piece-x: -18px;
  --piece-y: 18px;
}

.contact-form .scroll-piece:nth-child(even) {
  --piece-x: 18px;
  --piece-y: 18px;
}

@media (max-width: 1100px) {
  .services-grid,
  .testimonial-grid,
  .projects-grid,
  .gallery-grid {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 7vw, 5.1rem);
  }

}

@media (max-width: 900px) {
  .site-header {
    padding-top: 16px;
  }

  body {
    background: linear-gradient(180deg, #fffcf7 0%, #f8f4ec 54%, #f5f0e7 100%);
  }

  .header-pill {
    display: none;
  }

  .hero {
    padding-top: 58px;
  }

  .hero .container {
    padding: 16px;
    border-radius: 28px;
  }

  .hero-frame {
    padding: 34px 24px 28px;
    border-radius: 26px;
  }

  .performance-experiments .container {
    width: min(calc(100% - 36px), var(--section-width));
  }

  .performance-option {
    padding: 14px;
    border-radius: 26px;
  }

  .performance-option-shell {
    padding: 18px;
    border-radius: 22px;
  }

  .performance-option-bar {
    flex-wrap: wrap;
  }

  .testimonial-grid,
  .performance-compare,
  .compare-metrics {
    grid-template-columns: 1fr;
  }

  .services-cluster,
  .testimonial-grid,
  .performance-compare,
  .compare-metrics {
    max-width: 620px;
  }

  .services-cluster {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }

  .project-filters {
    max-width: 700px;
  }

  .gallery-grid {
    max-width: 620px;
  }

  .gallery-pair {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, 280px);
  }

  .comparison-slider {
    width: 100%;
  }

  .performance-option .comparison-slider {
    height: 300px;
  }

  .performance-option .compare-metrics {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }

  .project-device-desktop {
    inset: 20px 46px 20px 16px;
  }

  .project-device-tablet {
    top: 112px;
    width: 35%;
    height: 170px;
  }

  .project-device-mobile {
    right: 92px;
    width: 24%;
    height: 140px;
  }

  .card-yellow,
  .card-cream,
  .card-cyan,
  .testimonial-card:nth-child(1),
  .testimonial-card:nth-child(2),
  .testimonial-card:nth-child(3) {
    transform: none;
  }
}

@media (max-width: 600px) {
  .container,
  .container-narrow,
  .container-form {
    width: min(calc(100% - 28px), 100%);
  }

  .site-brand {
    font-size: 24px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero .container {
    padding: 14px;
    border-radius: 24px;
  }

  .hero-frame {
    padding: 28px 16px 22px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .performance-option h3 {
    font-size: clamp(1.7rem, 9vw, 2.3rem);
  }

  .performance-option .compare-metrics {
    grid-template-columns: 1fr;
  }

  .performance-option .comparison-slider {
    height: 260px;
  }

  .primary-button,
  .secondary-button,
  .submit-button {
    width: 100%;
  }

  .section-banner {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 16px;
  }

  .service-card,
  .testimonial-card,
  .project-card,
  .services-cluster,
  .gallery-pair,
  .gallery-shot,
  .contact .container {
    border-radius: 22px;
  }

  .service-card h3 {
    font-size: 26px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }

  .project-filters {
    max-width: 380px;
    gap: 10px;
  }

  .project-filter {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
    text-align: center;
  }

  .device-track-head h4 {
    font-size: 22px;
  }

  .comparison-slider {
    height: 380px;
  }

  .project-shot {
    height: 300px;
  }

  .project-device-stack {
    padding: 16px 14px 14px;
  }

  .project-device-desktop {
    inset: 16px 38px 16px 14px;
  }

  .project-device-tablet {
    top: 94px;
    right: 14px;
    width: 37%;
    height: 150px;
  }

  .project-device-mobile {
    right: 78px;
    bottom: 12px;
    width: 24%;
    height: 122px;
  }

  .gallery-grid {
    max-width: 420px;
  }

  .gallery-pair {
    grid-template-rows: repeat(2, 220px);
    padding: 10px;
  }

  .gallery-grid figcaption {
    display: none;
  }

  .contact {
    padding-top: 64px;
  }

  .contact .container {
    padding: 28px 18px 22px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .scroll-shell,
  .scroll-piece {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .service-card,
  .testimonial-card,
  .project-card,
  .project-shot,
  .project-device-stack,
  .project-device,
  .comparison-panel,
  .compare-metric,
  .services-cluster,
  .gallery-pair,
  .gallery-shot,
  .gallery-image,
  .performance-option,
  .performance-option-shell,
  .performance-option-copy,
  .contact .container,
  .contact-form > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
