/* Breathe Studio — one-page styles */

/* Breathe Studio — local typography */
@font-face {
  font-family: "Syne";
  src:
    url("fonts/Syne/Syne-VariableFont_wght.woff2") format("woff2-variations"),
    url("fonts/Syne/Syne-VariableFont_wght.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src:
    url("fonts/Manrope/Manrope-VariableFont_wght.woff2") format("woff2-variations"),
    url("fonts/Manrope/Manrope-VariableFont_wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

:root {
  --radius: 1.25rem;
  --background: oklch(0.99 0.001 260);
  --foreground: oklch(0.2 0.005 260);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.2 0.005 260);
  --primary: oklch(0.2 0.005 260);
  --primary-foreground: oklch(0.99 0.001 260);
  --secondary: oklch(0.96 0.004 250);
  --secondary-foreground: oklch(0.2 0.005 260);
  --muted: oklch(0.955 0.005 250);
  --muted-foreground: oklch(0.5 0.015 255);
  --accent: oklch(0.83 0.085 225);
  --accent-foreground: oklch(0.2 0.02 240);
  --accent-soft: oklch(0.95 0.035 210);
  --accent-strong: oklch(0.72 0.12 225);
  --border: oklch(0.55 0.02 245 / 18%);
  --input: oklch(0.55 0.02 245 / 25%);
  --ring: oklch(0.72 0.12 225);
  --shadow-float:
    0 3px 10px -4px oklch(0.3 0.03 250 / 16%),
    0 1px 2px oklch(0.3 0.03 250 / 8%);
  --shadow-float-lg:
    0 5px 16px -6px oklch(0.3 0.03 250 / 20%),
    0 2px 4px oklch(0.3 0.03 250 / 10%);
  --font-display: "Syne", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --ease-breath: cubic-bezier(0.22, 1, 0.36, 1);
}

.dark {
  --background: oklch(0.15 0.012 255);
  --foreground: oklch(0.95 0.005 250);
  --card: oklch(0.19 0.014 255);
  --card-foreground: oklch(0.95 0.005 250);
  --primary: oklch(0.95 0.005 250);
  --primary-foreground: oklch(0.15 0.012 255);
  --secondary: oklch(0.23 0.015 255);
  --secondary-foreground: oklch(0.95 0.005 250);
  --muted: oklch(0.23 0.015 255);
  --muted-foreground: oklch(0.68 0.015 250);
  --accent: oklch(0.8 0.1 220);
  --accent-foreground: oklch(0.15 0.02 240);
  --accent-soft: oklch(0.28 0.05 225);
  --accent-strong: oklch(0.85 0.11 215);
  --border: oklch(0.8 0.02 245 / 14%);
  --input: oklch(0.8 0.02 245 / 20%);
  --ring: oklch(0.8 0.1 220);
  --shadow-float:
    0 3px 10px -4px oklch(0 0 0 / 55%), 0 1px 2px oklch(0 0 0 / 30%);
  --shadow-float-lg:
    0 5px 16px -6px oklch(0 0 0 / 70%), 0 2px 4px oklch(0 0 0 / 40%);
}

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

* {
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--background);
  background-image:
    radial-gradient(
      circle at 1px 1px,
      color-mix(in oklch, var(--foreground) 5%, transparent) 0,
      color-mix(in oklch, var(--foreground) 5%, transparent) 1px,
      transparent 1.2px
    );
  background-size: 18px 18px;
  background-attachment: fixed;
  color: var(--foreground);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  transition:
    background-color 0.6s var(--ease-breath),
    color 0.6s var(--ease-breath);
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

::selection {
  background: var(--accent);
  color: var(--accent-foreground);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Utilities */
.page {
  position: relative;
  min-height: 100vh;
}

.page > main,
.page > footer,
.page > header {
  position: relative;
  z-index: 2;
}

.pointer-follow__dot,
.pointer-follow__ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}

.pointer-follow__dot {
  width: 0.55rem;
  height: 0.55rem;
  margin: -0.275rem;
  border-radius: 50%;
  background: rgb(56, 191, 248);
  border: 1px solid rgb(56 189 248 / 95%);
}

.pointer-follow__ring {
  width: 2rem;
  height: 2rem;
  margin: -1rem;
  border: 1px solid rgb(148 163 184 / 85%);
  border-radius: 50%;
  background: transparent;
  transition:
    width 0.25s var(--ease-breath),
    height 0.25s var(--ease-breath),
    margin 0.25s var(--ease-breath),
    opacity 0.25s var(--ease-breath);
}

.has-pointer-follow .pointer-follow__dot,
.has-pointer-follow .pointer-follow__ring {
  opacity: 1;
}

@media (hover: hover) {
  body:has(a:hover, button:hover) .pointer-follow__ring {
    width: 2.5rem;
    height: 2.5rem;
    margin: -1.25rem;
  }
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .pointer-follow__dot,
  .pointer-follow__ring {
    display: none;
  }
}

.card-float {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-float);
  transition:
    transform 0.7s var(--ease-breath),
    box-shadow 0.7s var(--ease-breath),
    border-color 0.7s var(--ease-breath);
}

.card-float:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-float-lg);
  border-color: var(--foreground);
}

.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.1s var(--ease-breath),
    transform 1.1s var(--ease-breath);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(28px) scale(0.965);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.tag-mono {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--muted-foreground);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.icon-accent {
  color: var(--accent-strong);
  flex-shrink: 0;
}

.muted {
  color: var(--muted-foreground);
}

.wrap {
  width: min(100%, 80rem);
  margin-inline: auto;
}

.section {
  scroll-margin-top: 6rem;
  padding: 3.5rem 1.25rem;
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 2.5rem;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Dock */
.dock {
  position: fixed;
  inset-inline: 0;
  bottom: 1.25rem;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .dock {
    bottom: 1.75rem;
  }
}

.dock__inner {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0.75rem;
  padding: 0.375rem 0.375rem 0.375rem 1rem;
}

.dock__brand {
  display: none;
  margin-right: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dock__brand span {
  color: var(--accent-strong);
}

.dock__sep {
  display: none;
  width: 1px;
  height: 1rem;
  margin-right: 0.5rem;
  background: var(--border);
}

@media (min-width: 640px) {
  .dock__brand,
  .dock__sep {
    display: block;
  }
}

.dock__link {
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition:
    color 0.3s,
    background-color 0.3s;
}

.dock__link:hover {
  background: var(--accent-soft);
  color: var(--foreground);
}

.dock__contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.25rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--foreground);
  color: var(--background);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 0.5s var(--ease-breath);
}

.dock__contact:hover {
  transform: scale(1.05);
}

.dock__contact span {
  display: none;
}

@media (min-width: 640px) {
  .dock__contact span {
    display: inline;
  }
}

@media (max-width: 639px) {
  .dock {
    bottom: 0.75rem;
    padding-inline: 0.5rem;
  }

  .dock__inner {
    width: 100%;
    justify-content: center;
    gap: 0.1rem;
    padding: 0.3rem;
  }

  .dock__link {
    padding: 0.45rem 0.35rem;
    font-size: 0.7rem;
  }

  .dock__contact {
    margin-left: 0.1rem;
    padding: 0.5rem 0.65rem;
  }

  .dock__theme {
    width: 3.25rem;
    height: 2.25rem;
    margin-left: 0.1rem;
  }

  .dark .dock__theme-knob {
    transform: translateX(16px);
  }
}

.dock__theme {
  position: relative;
  margin-left: 0.25rem;
  display: flex;
  align-items: center;
  width: 4.5rem;
  height: 2.5rem;
  padding: 0.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--secondary);
  cursor: pointer;
  transition:
    background-color 0.3s,
    border-color 0.3s;
}

.dock__theme:hover {
  border-color: var(--foreground);
  background: var(--card);
}

.dock__theme:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

.dock__theme-knob {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px color-mix(in oklch, var(--foreground) 12%, transparent);
  color: var(--accent-strong);
  transition:
    transform 0.3s var(--ease-breath),
    color 0.3s;
}

.dark .dock__theme-knob {
  transform: translateX(32px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 0;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  transition:
    transform 0.5s var(--ease-breath),
    box-shadow 0.5s var(--ease-breath),
    background-color 0.5s var(--ease-breath);
  will-change: transform;
}

.btn--solid {
  background: var(--foreground);
  color: var(--background);
  padding: 1.25rem 2rem;
  box-shadow: var(--shadow-float-lg);
}

.btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-float-lg);
}

.btn--full {
  width: 100%;
  margin-top: 1.5rem;
}

.btn--full:hover {
  transform: scale(1.02);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--foreground);
  padding-bottom: 0.5rem;
  background: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition:
    color 0.3s,
    border-color 0.3s;
}

.text-link:hover {
  color: var(--accent-strong);
  border-color: var(--accent-strong);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: transparent;
  padding: 3.5rem 1.25rem 2.75rem;
}

@media (min-width: 768px) {
  .hero {
    padding: 2.5rem 2.5rem 3rem;
  }
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem 0;
  width: min(100%, 80rem);
  margin-inline: auto;
}

@media (min-width: 768px) {
  .hero__grid {
    column-gap: 2.5rem;
  }
}

.hero__title {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7.6vw, 7.5rem);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero__title span {
  display: block;
}

.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-strong);
}

.hero__title .indent-1 {
  padding-left: 6vw;
}

.hero__title .indent-2 {
  padding-left: 12vw;
}

@media (max-width: 767px) {
  .wrap {
    width: min(100%, 22rem);
  }

  .hero {
    padding: 2.75rem 1rem 2rem;
  }

  .hero__grid {
    width: min(100%, 22rem);
    gap: 2rem;
    text-align: center;
  }

  .hero__title {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-inline: auto;
    font-size: clamp(2.35rem, 11vw, 4rem);
    line-height: 0.94;
  }

  .hero__title .indent-1,
  .hero__title .indent-2 {
    padding-left: 0;
  }

  .hero__title .indent-1 {
    padding-right: 1.5rem;
  }

  .hero__title .indent-2 {
    padding-left: 1.5rem;
  }

  .hero__intro p {
    max-width: 24rem;
    margin-inline: auto;
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero__cta {
    justify-content: center;
    gap: 1.25rem;
  }

  .hero__cta .btn {
    width: min(100%, 20rem);
  }

  .marquee {
    margin-top: 2rem;
    padding-block: 0.8rem;
  }
}

@media (min-width: 768px) {
  .hero__title .indent-1 {
    padding-left: 12vw;
  }
  .hero__title .indent-2 {
    padding-left: 20vw;
  }
}

.hero__intro {
  grid-column: 1 / -1;
}

.hero__intro p {
  max-width: 28rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

@media (min-width: 900px) {
  .hero__intro {
    grid-column: 9 / -1;
    grid-row: 1;
    align-self: end;
  }
}

.hero__cta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.hero__cta .text-link {
  margin-top: 0;
}

@media (min-width: 900px) {
  .hero__title {
    grid-column: 1 / span 8;
    grid-row: 1 / span 2;
    align-self: center;
    font-size: clamp(3rem, 6vw, 6rem);
  }

  .hero__cta {
    grid-column: 9 / -1;
    grid-row: 2;
    align-self: start;
    margin-top: 1.25rem;
  }

  .hero__cta {
    justify-content: flex-start;
  }

  .hero__title .indent-1 {
    padding-left: 6vw;
  }

  .hero__title .indent-2 {
    padding-left: 10vw;
  }
}

.marquee {
  margin-top: 2.75rem;
  overflow: hidden;
  border-block: 1px solid var(--border);
  padding-block: 1rem;
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

@media (min-width: 768px) {
  .marquee {
    margin-top: 3.75rem;
  }
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.marquee__group {
  display: flex;
  gap: 3rem;
  padding-right: 3rem;
}

.marquee__group .accent {
  color: var(--accent-strong);
}

/* Section header */
.section-header {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 4.25rem;
  }
}

.section-header__index {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.section-header__title {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-header__kicker {
  grid-column: 1 / -1;
  color: var(--muted-foreground);
}

@media (max-width: 767px) {
  .section {
    padding: 3.25rem 1rem;
  }

  .section-header {
    gap: 1rem;
    margin-bottom: 2.5rem;
    text-align: center;
  }

  .section-header__index,
  .section-header__title,
  .section-header__kicker {
    max-width: 24rem;
    margin-inline: auto;
  }

  .section-header__title {
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.04;
  }

  .section-header__kicker {
    line-height: 1.6;
  }
}

@media (min-width: 768px) {
  .section-header__index {
    grid-column: span 2;
  }
  .section-header__title {
    grid-column: span 7;
  }
  .section-header__kicker {
    grid-column: span 3;
    align-self: end;
  }
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
  }
}

.services-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 767px) {
  .services-card,
  .services-card--wide {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
  }

  .services-card h3 {
    font-size: 2rem;
  }

  .services-card p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .services-card__details {
    margin-top: 2rem;
  }
}

.services-card:not(.services-card--wide) {
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .services-card {
    padding: 2rem;
  }
  .services-card--wide {
    grid-column: span 4;
    padding: 3rem;
  }
  .services-card:not(.services-card--wide):not(.banner) {
    grid-column: span 2;
  }
}

.card__body {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
}

.card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.services-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.services-card .h3-sm {
  font-size: 1.5rem;
}

.services-card p {
  margin-top: 1.25rem;
  max-width: 32rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.services-card__stat {
  margin-top: 2rem;
}

.services-card__stat p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  max-width: none;
}

.services-card__details {
  display: grid;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.45;
  color: var(--muted-foreground);
}

.services-card__details li {
  position: relative;
  padding-left: 1rem;
}

.services-card__details li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-strong);
}

.stat {
  font-family: var(--font-display);
  font-size: clamp(3.75rem, 8vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 0 !important;
}

.stat span {
  color: var(--accent-strong);
}

.banner {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 1.5rem;
  border: 1px dashed var(--border);
  padding: 1.5rem 2rem;
}

.banner p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .banner p {
    font-size: 1rem;
  }
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 2.5rem;
  }
}

.project {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1.5rem;
}

@media (min-width: 768px) {
  .project {
    grid-column: span 2;
  }
  .project--wide {
    grid-column: span 3;
  }
  .project--offset {
    transform: translateY(2rem);
  }
  .project--offset:hover {
    transform: translateY(calc(2rem - 6px));
  }
}

.project__visual {
  position: relative;
  height: 13rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklch, var(--secondary) 60%, transparent);
}

@media (min-width: 768px) {
  .project__visual {
    height: 16rem;
  }
}

.project__year {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
}

.project__arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--card);
  box-shadow: var(--shadow-float);
  opacity: 0;
  transition: opacity 0.5s;
}

.project:hover .project__arrow {
  opacity: 1;
}

.visual-wave {
  width: 100%;
  height: 100%;
}

.wave-muted {
  color: var(--border);
}
.wave-accent {
  color: var(--accent-strong);
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 0.25rem;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  opacity: 0.7;
}

.visual-grid span {
  border-radius: 0.125rem;
  border: 1px solid var(--border);
  transition: background-color 0.7s;
}

.visual-grid span.fill-a {
  background: color-mix(in oklch, var(--accent) 60%, transparent);
}
.visual-grid span.fill-b {
  background: color-mix(in oklch, var(--foreground) 10%, transparent);
}

.visual-rings {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.visual-rings span {
  position: absolute;
  width: calc(var(--r) * 22%);
  height: calc(var(--r) * 22%);
  border-radius: 9999px;
  border: 1px solid color-mix(in oklch, var(--accent-strong) 40%, transparent);
  animation: breathe 6s ease-in-out infinite;
  animation-delay: calc(var(--r) * 0.6s);
}

.visual-rings i {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: var(--accent-strong);
}

.project__body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  flex-grow: 1;
  padding: 2rem;
}

.project,
.process-card,
.banner {
  width: 100%;
  margin-inline: auto;
}

@media (max-width: 767px) {
  .projects-grid {
    gap: 1.5rem;
  }

  .project__body {
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .project__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .project__head span {
    text-align: left;
  }
}

@media (min-width: 768px) {
  .project__body {
    padding: 2.5rem;
  }
}

.project__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.project__head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.project__head span {
  text-align: right;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.project__dl {
  display: grid;
  gap: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
}

@media (min-width: 768px) {
  .project__dl {
    grid-template-columns: auto 1fr;
    column-gap: 2rem;
  }
}

.project__dl dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.project__dl dd {
  color: color-mix(in oklch, var(--foreground) 80%, transparent);
}

@media (max-width: 767px) {
  .project__dl dd {
    margin-top: -1rem;
  }
}

.project__foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.project__foot .label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.impact {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--accent-strong);
  line-height: 1;
}

.impact-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.project__foot .tag-list {
  margin-top: 0;
  gap: 0.375rem;
}

/* Process */
.section--process,
.section--about {
  position: relative;
  overflow: hidden;
}

.section--process {
  padding-bottom: 2rem;
}

.section--about {
  padding-top: 2rem;
}

.process-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
  }
}

.process-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: 1.5rem;
  padding: 2rem;
}

@media (min-width: 768px) {
  .process-card {
    padding: 2.5rem;
    grid-column: span 7;
  }
  .process-card--offset {
    grid-column: span 5;
    margin-top: 2rem;
  }
  .process-card:nth-child(3) {
    grid-column: span 7;
  }
  .process-card:nth-child(4) {
    grid-column: span 5;
    margin-top: 2rem;
  }
}

.process-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.process-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--accent-soft);
  color: var(--accent-foreground);
}

.dark .process-card__icon {
  color: var(--accent-strong);
}

.process-card__step {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.process-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.process-card > p {
  line-height: 1.625;
  color: var(--muted-foreground);
}

.process-card__fear {
  margin-top: auto;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  font-size: 0.875rem;
  font-style: italic;
  color: color-mix(in oklch, var(--foreground) 80%, transparent);
}

/* About */
.about-grid {
  display: grid;
  gap: 3rem;
}

@media (max-width: 767px) {
  .section--about {
    padding-top: 3.5rem;
  }

  .about-grid {
    width: 100%;
    gap: 2.5rem;
    text-align: center;
  }

  .about__title {
    max-width: 10ch;
    margin-inline: auto;
    font-size: clamp(2.8rem, 13vw, 4.5rem);
  }

  .about__copy {
    max-width: 24rem;
    margin-inline: auto;
  }

  .about__copy > p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .about__details div {
    text-align: left;
  }

  .about__tags {
    justify-content: center;
  }

  .about__copy .text-link {
    margin-inline: auto;
  }
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
  }
  .about-grid > :first-child {
    grid-column: span 6;
  }
  .about__copy {
    grid-column: 8 / -1;
    width: min(100%, 32rem);
    justify-self: end;
  }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.about__title {
  margin-top: 1.5rem;
  max-width: 9ch;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.about__title .title-line,
.footer__cta h2 .title-line {
  display: block;
}

.about__title em {
  color: var(--accent-strong);
  font-style: normal;
}

.footer__cta h2 .title-accent {
  color: var(--accent-strong);
}

.about__copy > p {
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.about__details {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.about__details div {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.about__details dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-strong);
}

.about__details dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--foreground);
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.inline-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Footer */
.footer {
  padding: 4.5rem 1.25rem 6rem;
}

@media (max-width: 767px) {
  .footer {
    padding: 3.75rem 1rem 5.5rem;
  }

  .footer__cta {
    gap: 2rem;
    text-align: center;
  }

  .footer__cta h2 {
    max-width: 22rem;
    margin-inline: auto;
    font-size: clamp(2.8rem, 13vw, 4.5rem);
  }

  .footer__actions {
    align-items: center;
    gap: 1.25rem;
  }

  .footer__actions .btn {
    width: min(100%, 20rem);
  }

  .footer__contacts {
    align-items: center;
  }

  .footer__bar {
    margin-top: 4rem;
    gap: 2rem;
    text-align: center;
  }

  .footer__meta,
  .footer__legal {
    max-width: 22rem;
    margin-inline: auto;
  }

  .footer__legal {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .footer {
    padding: 6rem 2.5rem 6rem;
  }

  .footer .wrap {
    width: min(100%, 72rem);
  }
}

.footer__cta {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.75rem;
}

.footer__cta h2 {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 7rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.footer__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer__cta h2 {
    grid-column: span 8;
    justify-self: center;
  }
  .footer__actions {
    grid-column: span 4;
    align-self: center;
    align-items: center;
    justify-content: center;
  }
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .footer__contacts {
    align-items: center;
  }
}

.footer__contacts a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer__bar {
  margin-top: 6rem;
  display: grid;
  gap: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

@media (min-width: 768px) {
  .footer__bar {
    grid-template-columns: repeat(12, 1fr);
    align-items: start;
  }
}

.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.footer__meta .dot {
  color: var(--accent-strong);
}

.footer__meta span:nth-child(2) {
  margin-top: 1rem;
}

.footer__meta span:nth-child(4) {
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .footer__meta {
    grid-column: span 5;
  }
}

.footer__legal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .footer__legal {
    grid-column: span 7;
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
  }
}

.footer__legal a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  color: var(--muted-foreground);
  text-align: center;
  transition:
    color 0.3s,
    border-color 0.3s,
    background-color 0.3s;
}

.footer__legal a:hover {
  border-color: var(--border);
  background: var(--secondary);
  color: var(--foreground);
}

.footer__legal a:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .about__details {
    width: min(100%, 22rem);
    margin-inline: auto;
  }

  .about__details div {
    grid-template-columns: 2rem minmax(0, 1fr);
    text-align: center;
  }

  .about__details dt {
    text-align: center;
  }

  .footer__actions {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer__actions .btn {
    width: min(100%, 20rem);
    margin-inline: auto;
  }

  .footer__contacts {
    align-items: center;
    text-align: center;
  }
}

/* Contact panel */
.contact-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: color-mix(in oklch, var(--foreground) 20%, transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s;
}

.contact-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-panel {
  position: fixed;
  inset-block: 0;
  right: 0;
  z-index: 70;
  display: flex;
  width: 100%;
  max-width: 36rem;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 2rem;
  border-left: 1px solid var(--border);
  transform: translateX(110%);
  transition: transform 0.7s var(--ease-breath);
}

@media (min-width: 640px) {
  .contact-panel {
    inset-block: 0.75rem;
    right: 0.75rem;
    height: auto;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
  }
}

@media (min-width: 768px) {
  .contact-panel {
    padding: 3rem;
  }
}

.contact-panel.is-open {
  transform: translateX(0);
}

.contact-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: transparent;
  transition: background-color 0.3s;
}

.icon-btn:hover {
  background: var(--accent-soft);
}

.contact-panel h2 {
  margin-top: 3rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact-panel h2 span {
  color: var(--accent-strong);
}

.contact-panel__lead {
  margin-top: 1.5rem;
  color: var(--muted-foreground);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

.field {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--input);
  background: color-mix(in oklch, var(--background) 60%, transparent);
  padding: 1rem 1.25rem;
  font-size: 1rem;
  outline: none;
  transition:
    border-color 0.5s,
    box-shadow 0.5s;
}

.field::placeholder {
  color: color-mix(in oklch, var(--muted-foreground) 70%, transparent);
}

.field:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 2px color-mix(in oklch, var(--accent) 35%, transparent);
}

.field--area {
  resize: none;
}

.contact-form fieldset {
  margin-top: 0.5rem;
  border: 0;
  padding: 0;
}

.contact-form legend {
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.budget-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.budget-options label {
  cursor: pointer;
}

.budget-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.budget-options input:checked + .tag-mono {
  border-color: var(--accent-strong);
  background: var(--accent-soft);
  color: var(--foreground);
}

.contact-form__note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.contact-form button[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.contact-form__status {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in oklch, #dc2626 35%, var(--border));
  background: color-mix(in oklch, #dc2626 8%, transparent);
  color: color-mix(in oklch, #dc2626 85%, var(--foreground));
  font-size: 0.875rem;
  line-height: 1.5;
}

.dark .contact-form__status {
  border-color: color-mix(in oklch, #f87171 40%, var(--border));
  background: color-mix(in oklch, #f87171 12%, transparent);
  color: #fca5a5;
}

.contact-sent {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  min-height: 60vh;
}

.contact-sent__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--accent-foreground);
}

.contact-sent h2 {
  margin-top: 0;
}

.contact-sent p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.contact-sent .text-link {
  margin-top: 1rem;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Legal pages */
.legal-page {
  min-height: 100vh;
  padding: 4rem 1.25rem 8rem;
}

@media (min-width: 768px) {
  .legal-page {
    padding: 4rem 2.5rem 8rem;
  }
}

.legal-page__inner {
  width: min(100%, 48rem);
  margin-inline: auto;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.legal-back:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-page h1 {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.legal-updated {
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.legal-content {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.legal-content section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.legal-content ul li::marker {
  color: var(--accent-strong);
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-foot {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.legal-foot .dot {
  color: var(--accent-strong);
}

.not-found {
  position: relative;
  min-height: 100svh;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 1.25rem;
}

.not-found__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 70rem);
  display: grid;
  align-items: center;
  gap: 2rem;
}

.not-found__copy {
  order: 2;
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.not-found__contact {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--card);
  color: var(--muted-foreground);
  cursor: pointer;
  transition:
    color 0.3s,
    border-color 0.3s,
    background-color 0.3s,
    transform 0.3s;
}

.not-found__contact:hover {
  border-color: var(--foreground);
  background: var(--secondary);
  color: var(--foreground);
  transform: translateY(-2px);
}

.not-found__art {
  order: 1;
}

@media (min-width: 768px) {
  .not-found__inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
  }
  .not-found__copy {
    order: 1;
  }
  .not-found__art {
    order: 2;
  }
}

.not-found__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-strong);
}

.not-found h1 {
  max-width: 38rem;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.not-found h1 em {
  color: var(--accent-strong);
  font-style: normal;
}
.not-found__lead {
  max-width: 30rem;
  margin-top: 1.5rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}
.not-found__art {
  position: relative;
  min-height: 18rem;
  display: grid;
  place-items: end center;
}

.not-found__figure {
  position: relative;
  width: min(70vw, 20rem);
  height: 19rem;
}
.not-found__body {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 9.5rem;
  height: 12rem;
  transform: translateX(-50%);
  border-radius: 5rem 5rem 1.5rem 1.5rem;
  background: var(--foreground);
}
.not-found__neck {
  position: absolute;
  top: 5rem;
  left: 50%;
  width: 3rem;
  height: 3rem;
  transform: translateX(-50%);
  background: var(--accent-strong);
}
.not-found__head {
  position: absolute;
  top: 1.7rem;
  left: 50%;
  width: 6.75rem;
  height: 7rem;
  transform: translateX(-50%);
  border-radius: 48% 48% 44% 44%;
  background: var(--accent);
}
.not-found__arm {
  position: absolute;
  bottom: 1.5rem;
  width: 2.8rem;
  height: 8rem;
  border-radius: 2rem;
  background: var(--foreground);
}
.not-found__arm--left {
  left: 1.2rem;
  transform: rotate(13deg);
}
.not-found__arm--right {
  right: 1.2rem;
  transform: rotate(-13deg);
}

.not-found__cloud {
  position: absolute;
  z-index: 2;
  width: 12rem;
  height: 4rem;
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 1.5rem 3rem
    color-mix(in oklch, var(--foreground) 15%, transparent);
  animation: loader-drift 3.8s ease-in-out infinite alternate;
}

.not-found__cloud::before,
.not-found__cloud::after {
  content: "";
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: inherit;
}
.not-found__cloud::before {
  left: 2rem;
  width: 5.5rem;
  height: 5.5rem;
}
.not-found__cloud::after {
  right: 1.5rem;
  width: 4.5rem;
  height: 4.5rem;
}
.not-found__cloud--main {
  top: 3.25rem;
  left: 50%;
  transform: translateX(-50%);
}
.not-found__cloud--small {
  top: 0;
  right: 0;
  width: 6rem;
  height: 2rem;
  transform: scale(0.7);
  opacity: 0.75;
  animation-delay: -1.4s;
}

@media (max-width: 420px) {
  .not-found__art {
    min-height: 18rem;
    transform: scale(0.86);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

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

/* Taste skill: flatter surfaces, tighter rhythm and calmer interaction */
.dock__inner {
  border-radius: 0.5rem !important;
}

.card-float {
  border-radius: 0.875rem;
  transition:
    transform 0.35s var(--ease-breath),
    box-shadow 0.35s var(--ease-breath),
    border-color 0.35s var(--ease-breath);
}

.card-float:hover {
  transform: translateY(-2px);
}

.project.project--offset:hover {
  transform: translateY(calc(2rem - 2px));
}

.services-card,
.project,
.process-card,
.banner {
  border-radius: 0.875rem;
}

.tag-mono {
  border-radius: 0.25rem;
  padding: 0.3rem 0.5rem;
}

.process-card__icon {
  border-radius: 0.5rem;
}

.section {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4.25rem);
}

.services-grid,
.projects-grid,
.process-grid {
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.project__body,
.services-card,
.process-card {
  padding: clamp(1.35rem, 3vw, 2.5rem);
}

.legal-page__inner {
  width: min(100%, 44rem);
}

.legal-content {
  gap: clamp(2rem, 4vw, 2.5rem);
}

@media (max-width: 767px) {
  .section-header {
    text-align: left;
  }

  .section-header__index,
  .section-header__title,
  .section-header__kicker {
    margin-inline: 0;
  }

  .hero__grid {
    text-align: left;
  }

  .hero__cta {
    justify-content: flex-start;
  }

  .hero__cta .btn {
    width: auto;
  }

  .services-card,
  .project,
  .process-card {
    padding: 1.35rem;
  }
}
