:root {
  --paper: #f3f1eb;
  --paper-bright: #fbfaf6;
  --ink: #151613;
  --ink-soft: #272923;
  --muted: #6f7169;
  --line: rgba(21, 22, 19, 0.16);
  --line-dark: rgba(255, 255, 255, 0.14);
  --green: #2fd393;
  --green-bright: #51e6aa;
  --purple: #a78bfa;
  --pink: #ed6cf6;
  --dark: #0d0e0d;
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-height: 5rem;
  --radius: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  color: inherit;
}

::selection {
  color: #07150f;
  background: var(--green-bright);
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(6rem, 10vw, 10rem);
}

section[id],
article[id] {
  scroll-margin-top: 5.5rem;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(243, 241, 235, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100% - (var(--gutter) * 2), var(--container));
  min-height: var(--header-height);
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.72rem;
  width: max-content;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brand img {
  width: 2.75rem;
  height: auto;
  filter: brightness(0.18);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  font-size: 0.83rem;
  font-weight: 500;
}

.desktop-nav a,
.site-footer nav a {
  position: relative;
}

.desktop-nav a::after,
.site-footer nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.3rem;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.site-footer nav a:hover::after,
.site-footer nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.header-contact:hover,
.header-contact:focus-visible {
  color: var(--paper-bright);
  border-color: var(--ink);
  background: var(--ink);
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  padding-top: 8.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  top: 0;
  left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  width: 1px;
  height: 100%;
  content: "";
  background: linear-gradient(transparent, var(--line) 15%, var(--line) 85%, transparent);
}

.hero-watermark {
  position: absolute;
  top: 16%;
  right: -12%;
  width: min(54vw, 52rem);
  opacity: 0.055;
  transform: rotate(-6deg);
  pointer-events: none;
}

.hero-watermark img {
  width: 100%;
  filter: brightness(0);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.6fr);
  gap: clamp(4rem, 9vw, 9rem);
  align-items: center;
  padding-bottom: 8.5rem;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 5px rgba(21, 22, 19, 0.08);
}

.hero h1,
.section-heading h2,
.about-grid h2,
.contact-grid h2 {
  margin: 0;
  font-size: clamp(3.6rem, 8vw, 7.65rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.91;
}

.hero h1 em,
.about-grid h2 em,
.contact-grid h2 em {
  color: var(--muted);
  font-weight: 300;
  font-style: normal;
}

.hero-lede {
  max-width: 40rem;
  margin: 2.3rem 0 0;
  color: #4c4e48;
  font-size: clamp(1.08rem, 1.65vw, 1.35rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 3.5rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  transition:
    transform 180ms ease,
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

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

.button-dark:hover,
.button-dark:focus-visible {
  background: #2f312c;
}

.button-light {
  color: var(--ink);
  background: var(--paper-bright);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--green-bright);
}

.text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding-block: 0.4rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.86rem;
  font-weight: 600;
}

.text-arrow span,
.email-link span {
  transition: transform 180ms ease;
}

.text-arrow:hover span,
.text-arrow:focus-visible span,
.email-link:hover span,
.email-link:focus-visible span {
  transform: translate(0.2rem, -0.2rem);
}

.portfolio-index {
  align-self: end;
  padding-bottom: 1rem;
}

.index-heading {
  display: flex;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ink);
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.portfolio-index ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.portfolio-index li {
  border-bottom: 1px solid var(--line);
}

.portfolio-index a {
  display: grid;
  grid-template-columns: 1.8rem 1fr auto;
  gap: 0.8rem;
  align-items: center;
  min-height: 4.65rem;
  transition: padding 180ms ease;
}

.portfolio-index a:hover,
.portfolio-index a:focus-visible {
  padding-inline: 0.35rem;
}

.index-number {
  color: var(--muted);
  font-size: 0.65rem;
}

.portfolio-index strong {
  font-size: 0.93rem;
  font-weight: 500;
}

.index-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.64rem;
  white-space: nowrap;
}

.index-status i,
.status-live i,
.status-live-dark i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 211, 147, 0.1);
}

.ownership-line {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 1.1rem;
  align-items: center;
  min-height: 5rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ownership-line i {
  height: 1px;
  background: var(--line);
}

.ownership-line strong {
  color: var(--ink);
  font-size: inherit;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: clamp(3rem, 10vw, 10rem);
  align-items: end;
  margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.section-heading h2,
.about-grid h2,
.contact-grid h2 {
  font-size: clamp(3.2rem, 6vw, 6rem);
}

.section-heading > p {
  max-width: 28rem;
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.elligent-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.88fr);
  min-height: 42rem;
  overflow: hidden;
  border-radius: var(--radius);
  color: white;
  background:
    radial-gradient(circle at 78% 40%, rgba(47, 211, 147, 0.2), transparent 33%),
    linear-gradient(135deg, #111713, #08100c 72%);
  box-shadow: 0 2rem 7rem rgba(20, 32, 25, 0.16);
}

.elligent-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: linear-gradient(90deg, transparent 36%, black);
}

.elligent-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.card-topline {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.status-pill,
.ownership-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 1.85rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.status-live {
  color: #bdf9da;
  background: rgba(47, 211, 147, 0.08);
}

.ownership-pill {
  color: rgba(255, 255, 255, 0.75);
}

.product-domain {
  margin: auto 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.elligent-card h3 {
  max-width: 39rem;
  margin: 0;
  font-size: clamp(2.65rem, 5vw, 5.1rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.product-description {
  max-width: 35rem;
  margin: 1.7rem 0 2rem;
  color: rgba(255, 255, 255, 0.67);
  font-size: 1.02rem;
  line-height: 1.7;
}

.elligent-visual {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 34rem;
  overflow: hidden;
}

.elligent-visual::before {
  position: absolute;
  width: 23rem;
  height: 23rem;
  border-radius: 50%;
  content: "";
  background: var(--green);
  opacity: 0.08;
  filter: blur(3rem);
}

.elligent-visual img {
  position: relative;
  z-index: 2;
  width: clamp(9rem, 18vw, 14rem);
  filter: drop-shadow(0 2rem 3rem rgba(47, 211, 147, 0.2));
}

.signal-ring {
  position: absolute;
  border: 1px solid rgba(83, 229, 173, 0.23);
  border-radius: 50%;
}

.signal-ring-one {
  width: 24rem;
  height: 24rem;
}

.signal-ring-two {
  width: 35rem;
  height: 35rem;
}

.signal-label {
  position: absolute;
  z-index: 3;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.55rem;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(12, 18, 14, 0.72);
  box-shadow: 0 0.7rem 2rem rgba(0, 0, 0, 0.2);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.signal-one {
  top: 23%;
  left: 8%;
}

.signal-two {
  top: 44%;
  right: 7%;
}

.signal-three {
  right: 19%;
  bottom: 17%;
}

.sent-section {
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--dark);
}

.sent-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.32;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 50% 0, rgba(167, 139, 250, 0.14), transparent 26%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, 5rem 5rem, 5rem 5rem;
}

.sent-glow {
  position: absolute;
  top: 9rem;
  left: 50%;
  width: 48rem;
  height: 22rem;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  opacity: 0.08;
  transform: translateX(-50%);
  filter: blur(7rem);
  pointer-events: none;
}

.sent-section .container {
  position: relative;
  z-index: 1;
}

.sent-heading .section-kicker,
.sent-heading > p {
  color: rgba(255, 255, 255, 0.52);
}

.studio-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(26rem, 1.1fr);
  min-height: 47rem;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    #0d0e0e;
  box-shadow: 0 2rem 8rem rgba(0, 0, 0, 0.38);
}

.studio-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.sent-brandline {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 2rem;
}

.sent-brandline img {
  width: 1.45rem;
  height: 1.45rem;
  object-fit: contain;
}

.sent-brandline strong {
  font-size: 0.83rem;
  font-weight: 600;
}

.status-development {
  color: #d2c6ff;
  border-color: rgba(167, 139, 250, 0.24);
  background: rgba(167, 139, 250, 0.08);
}

.studio-card h3 {
  margin: auto 0 1.5rem;
  font-size: clamp(3rem, 5vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.studio-card h3 em {
  color: #b9a6ff;
  font-weight: 300;
  font-style: normal;
}

.studio-copy > p:not(.proof-note) {
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.7;
}

.studio-flow {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 1rem;
  width: 100%;
  margin: 2.3rem 0;
  padding: 1.3rem 0 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.studio-flow li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.68rem;
}

.studio-flow li::before {
  position: absolute;
  top: -1.55rem;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border: 1px solid #c2b7e9;
  border-radius: 50%;
  content: "";
  background: var(--dark);
}

.studio-flow li span {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.55rem;
}

.proof-note {
  display: flex;
  gap: 0.7rem;
  margin: 0 !important;
  padding: 1rem;
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: 0.75rem;
  color: #c9bfff !important;
  background: rgba(167, 139, 250, 0.06);
  font-size: 0.76rem !important;
  line-height: 1.45 !important;
}

.studio-visit {
  margin-top: 1.4rem;
}

.studio-preview {
  position: relative;
  align-self: end;
  height: calc(100% - 3rem);
  margin: 3rem 3rem 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 0;
  border-radius: 1rem 1rem 0 0;
  background: #131414;
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.5);
}

.studio-preview::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 22%;
  content: "";
  background: linear-gradient(transparent, rgba(13, 14, 14, 0.95));
  pointer-events: none;
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 2.6rem;
  padding-inline: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.preview-bar span {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
}

.preview-bar small {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.studio-preview > img {
  width: 100%;
  height: calc(100% - 2.6rem);
  object-fit: cover;
  object-position: top center;
  opacity: 0.96;
  filter: brightness(1.16) contrast(1.05);
}

.sent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.sent-card {
  display: grid;
  grid-template-rows: 20rem 1fr;
  min-height: 39rem;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: #131413;
}

.sent-card-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at center, rgba(237, 108, 246, 0.18), transparent 40%),
    #101110;
}

.sent-card-art img {
  position: relative;
  z-index: 2;
  width: 8.2rem;
  filter: drop-shadow(0 1rem 2.5rem rgba(237, 108, 246, 0.22));
}

.orbit {
  position: absolute;
  border: 1px solid rgba(197, 155, 255, 0.2);
  border-radius: 50%;
}

.orbit::before,
.orbit::after {
  position: absolute;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  content: "";
  background: var(--pink);
  box-shadow: 0 0 1rem var(--pink);
}

.orbit::before {
  top: 18%;
  left: 4%;
}

.orbit::after {
  right: 9%;
  bottom: 11%;
}

.orbit-one {
  width: 18rem;
  height: 11rem;
  transform: rotate(18deg);
}

.orbit-two {
  width: 25rem;
  height: 15rem;
  transform: rotate(-22deg);
}

.sent-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.6rem, 3.2vw, 2.6rem);
}

.sent-card .product-domain {
  margin: 0;
  color: white;
}

.status-live-dark {
  color: #bdf9da;
  background: rgba(47, 211, 147, 0.07);
}

.status-weekly {
  color: #ded8c9;
  background: rgba(255, 255, 255, 0.04);
}

.sent-card h3 {
  max-width: 30rem;
  margin: 2rem 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.sent-card-content > p {
  max-width: 29rem;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
}

.sent-card .text-arrow {
  margin-top: auto;
}

.text-arrow-light {
  color: rgba(255, 255, 255, 0.88);
}

.sent-news-card {
  background: #191813;
}

.news-sheet {
  position: relative;
  width: calc(100% - 4rem);
  margin: 2rem auto 0;
  padding: 1.8rem;
  overflow: hidden;
  border-radius: 0.45rem 0.45rem 0 0;
  color: #191913;
  background: #efecdf;
  transform: rotate(1deg);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.32);
}

.news-sheet::after {
  position: absolute;
  right: -2rem;
  bottom: -3rem;
  width: 10rem;
  height: 10rem;
  border: 1px solid rgba(25, 25, 19, 0.14);
  border-radius: 50%;
  content: "";
}

.news-masthead {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #191913;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.news-masthead small {
  font-size: 0.54rem;
  letter-spacing: 0.12em;
}

.news-headline {
  max-width: 23rem;
  margin-top: 1.4rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.02;
}

.news-lines {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.news-lines i {
  width: 64%;
  height: 1px;
  background: rgba(25, 25, 19, 0.25);
}

.news-lines i:nth-child(2) {
  width: 80%;
}

.news-lines i:nth-child(3) {
  width: 52%;
}

.news-edition {
  position: absolute;
  right: 1.8rem;
  bottom: 1.8rem;
  font-size: 0.53rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-section {
  border-bottom: 1px solid var(--line);
}

.about-intro {
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  gap: clamp(3rem, 11vw, 11rem);
  align-items: end;
}

.about-grid > p {
  max-width: 33rem;
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.principles article {
  min-height: 15rem;
  padding: 1.4rem 2rem 1rem 0;
  border-right: 1px solid var(--line);
}

.principles article:not(:first-child) {
  padding-left: 2rem;
}

.principles article:last-child {
  border-right: 0;
}

.principles span {
  color: var(--muted);
  font-size: 0.65rem;
}

.principles h3 {
  margin: 3.5rem 0 0.8rem;
  font-size: 1.5rem;
  font-weight: 500;
}

.principles p {
  max-width: 17rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-section {
  padding-block: clamp(1.25rem, 3vw, 2rem);
  background: var(--paper);
}

.contact-panel {
  padding: clamp(2rem, 5vw, 4.75rem);
  border-radius: var(--radius);
  color: white;
  background:
    radial-gradient(circle at 85% 20%, rgba(47, 211, 147, 0.13), transparent 25%),
    var(--ink);
}

.contact-panel .section-kicker {
  color: rgba(255, 255, 255, 0.45);
}

.contact-grid h2 {
  font-size: clamp(3rem, 5.7vw, 5.7rem);
}

.contact-grid h2 em {
  color: rgba(255, 255, 255, 0.48);
}

.contact-copy > p {
  max-width: 34rem;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.7;
}

.contact-copy strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.email-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding-block: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 500;
}

.site-footer {
  padding: 4.5rem 0 2rem;
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer nav {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.75, 0.25, 1),
    transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal-delay {
  transition-delay: 130ms;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-contact {
    display: none;
  }

  .menu-button {
    position: relative;
    display: block;
    justify-self: end;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    appearance: none;
    background: transparent;
    cursor: pointer;
  }

  .menu-button span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 1rem;
    height: 2px;
    border-radius: 999px;
    pointer-events: none;
    background: var(--ink);
    transform-origin: center;
    transition:
      top 180ms ease,
      transform 180ms ease;
  }

  .menu-button span:first-child {
    top: calc(50% - 3px);
    transform: translate(-50%, -50%);
  }

  .menu-button span:last-child {
    top: calc(50% + 3px);
    transform: translate(-50%, -50%);
  }

  .menu-button[aria-expanded="true"] span:first-child {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    bottom: auto;
    left: 0;
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    padding: 2rem var(--gutter) max(2rem, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    pointer-events: none;
    background: var(--paper);
    opacity: 0;
    transform: translateY(-1rem);
    transition:
      opacity 200ms ease,
      transform 200ms ease,
      visibility 200ms;
  }

  .site-header.menu-is-open {
    border-color: var(--line);
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-nav.is-open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-nav a {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.5rem;
  }

  .mobile-nav a:last-child {
    margin-top: auto;
    font-size: 1rem;
  }

  .mobile-nav a span {
    color: var(--muted);
    font-size: 0.65rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 5rem;
    padding-top: 4rem;
  }

  .portfolio-index {
    max-width: 36rem;
  }

  .section-heading,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .section-heading > p {
    max-width: 38rem;
  }

  .elligent-card {
    grid-template-columns: 1fr;
  }

  .elligent-copy {
    min-height: 36rem;
  }

  .elligent-visual {
    min-height: 32rem;
    border-top: 1px solid var(--line-dark);
  }

  .studio-card {
    grid-template-columns: 1fr;
  }

  .studio-copy {
    min-height: 40rem;
  }

  .studio-preview {
    width: calc(100% - 4rem);
    height: 38rem;
    margin: 0 2rem;
  }

  .contact-grid {
    align-items: start;
  }
}

@media (max-width: 700px) {
  :root {
    --gutter: 1.15rem;
    --header-height: 4.5rem;
    --radius: 1rem;
  }

  .section {
    padding-block: 5.5rem;
  }

  .brand img {
    width: 2.35rem;
  }

  .brand span {
    font-size: 0.7rem;
  }

  .hero {
    min-height: auto;
    padding-top: 7.5rem;
  }

  .hero::before {
    display: none;
  }

  .hero-watermark {
    top: 8rem;
    right: -29%;
    width: 95vw;
  }

  .hero-inner {
    gap: 4rem;
    padding-top: 2rem;
    padding-bottom: 8.5rem;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 15vw, 5rem);
  }

  .hero-lede {
    font-size: 1.05rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .portfolio-index a {
    grid-template-columns: 1.5rem 1fr auto;
  }

  .ownership-line {
    grid-template-columns: 1fr auto 1fr;
    gap: 0.6rem;
    font-size: 0.54rem;
  }

  .ownership-line i:first-of-type,
  .ownership-line strong {
    display: none;
  }

  .ownership-line span:last-child {
    text-align: right;
  }

  .section-heading h2,
  .about-grid h2,
  .contact-grid h2 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .section-heading {
    margin-bottom: 3rem;
  }

  .elligent-card {
    min-height: auto;
  }

  .elligent-copy {
    min-height: 38rem;
    padding: 1.5rem;
  }

  .card-topline {
    align-items: flex-start;
  }

  .ownership-pill {
    text-align: center;
  }

  .elligent-card h3 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .elligent-visual {
    min-height: 27rem;
  }

  .signal-ring-one {
    width: 19rem;
    height: 19rem;
  }

  .signal-ring-two {
    width: 27rem;
    height: 27rem;
  }

  .signal-label {
    font-size: 0.54rem;
  }

  .studio-copy {
    min-height: 43rem;
    padding: 1.5rem;
  }

  .studio-card h3 {
    font-size: clamp(2.9rem, 14vw, 4.4rem);
  }

  .studio-flow {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2rem;
  }

  .studio-flow li:nth-child(n + 4)::before {
    display: none;
  }

  .studio-preview {
    width: calc(100% - 2rem);
    height: 27rem;
    margin-inline: 1rem;
  }

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

  .sent-card {
    grid-template-rows: 17rem 1fr;
    min-height: 36rem;
  }

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

  .news-sheet {
    width: calc(100% - 2rem);
    margin-top: 1rem;
  }

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

  .principles article,
  .principles article:not(:first-child) {
    min-height: auto;
    padding: 1.5rem 0 2.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principles h3 {
    margin-top: 2rem;
  }

  .contact-panel {
    padding: 1.5rem;
  }

  .email-link {
    align-items: flex-start;
    font-size: 0.92rem;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    flex-wrap: wrap;
    line-height: 2;
  }

  .footer-bottom {
    gap: 0.6rem;
    margin-top: 3rem;
  }
}

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

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

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