/* Dygram website styles
   Palette: Ink #000000, Chalk #F4F4F0, Signal Lime #D0F139, Graphite #A3A39C, Smoke #4A4A45
   Type: Geist for everything, light for display, regular and medium for text (self hosted, SIL Open Font License) */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@property --c {
  syntax: "<color>";
  inherits: false;
  initial-value: rgba(244, 244, 240, 0.36);
}

:root {
  --ink: #000000;
  --chalk: #f4f4f0;
  --lime: #d0f139;
  --lime-bright: #e1ff5e;
  --graphite: #a3a39c;
  --smoke: #4a4a45;
  --line: #2a2a27;
  --line-chalk: rgba(0, 0, 0, 0.14);
  --error: #ff9b85;
  --font: "Geist", "Helvetica Neue", Arial, system-ui, sans-serif;
  --max: 1280px;
  --pad: clamp(20px, 5vw, 56px);
  --header: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 20px);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 8px;
  font-weight: 600;
}
.skip:focus { top: 16px; }

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--lime-bright); transform: translateY(-1px); }
.btn-quiet { color: var(--chalk); border-color: rgba(244, 244, 240, 0.26); }
.btn-quiet:hover { border-color: var(--lime); color: var(--lime); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

.text-link {
  color: var(--lime);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}
.text-link:hover { color: var(--chalk); }

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header[data-scrolled] {
  background: rgba(0, 0, 0, 0.84);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.header-row {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: auto; height: 34px; }

.nav { display: flex; align-items: center; }
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-list a:not(.btn) {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--chalk);
  transition: color 0.2s ease;
}
.nav-list a:not(.btn):hover { color: var(--lime); }
.nav-cta-item { margin-left: 6px; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(244, 244, 240, 0.26);
  border-radius: 999px;
  background: transparent;
  color: var(--chalk);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.menu-toggle-bars {
  position: relative;
  width: 16px;
  height: 10px;
}
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}
.menu-toggle-bars::before { top: 1px; }
.menu-toggle-bars::after { top: 7.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { top: 4.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { top: 4.5px; transform: rotate(-45deg); }

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header) + clamp(48px, 8vw, 112px));
  padding-bottom: clamp(24px, 3vw, 40px);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero-copy { position: relative; z-index: 2; }
.hero-title {
  font-size: clamp(56px, 8.6vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.048em;
  font-weight: 300;
}
.hero-lead {
  margin-top: clamp(24px, 3vw, 36px);
  max-width: 32em;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.7;
  color: var(--graphite);
  text-wrap: pretty;
}
.hero-actions {
  margin-top: clamp(32px, 3.6vw, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-art {
  position: relative;
  width: 100%;
  max-width: 600px;
  justify-self: end;
  aspect-ratio: 1 / 1;
}
.hero-glow {
  position: absolute;
  inset: -24%;
  background: url("../img/glow.webp") center / contain no-repeat;
  opacity: 0;
  animation: fade-in 2.4s ease 0.2s forwards;
  pointer-events: none;
}

/* Construction drawing of the mark */

.construct { position: relative; width: 100%; height: auto; overflow: visible; }
.construct .c-guides line {
  stroke: var(--chalk);
  stroke-opacity: 0.26;
  stroke-width: 0.55;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.1s cubic-bezier(0.6, 0.05, 0.2, 1) forwards;
  animation-delay: calc(0.15s + var(--i, 0) * 0.07s);
}
.construct .c-ring {
  fill: none;
  stroke: var(--lime);
  stroke-opacity: 0.7;
  stroke-width: 0.7;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.6s cubic-bezier(0.6, 0.05, 0.2, 1) 0.3s forwards;
}
.construct .c-outer {
  fill: none;
  stroke: var(--chalk);
  stroke-opacity: 0.2;
  stroke-width: 0.5;
  stroke-dasharray: 1.6 4;
  opacity: 0;
  animation: fade-in 1s ease 0.9s forwards;
}
.construct .c-nodes circle {
  fill: var(--ink);
  stroke: var(--lime);
  stroke-width: 0.7;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: pop 0.5s ease forwards;
  animation-delay: calc(1.1s + var(--i, 0) * 0.05s);
}
.construct .c-mark {
  fill: var(--lime);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: mark-in 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.7s forwards;
}
.construct .c-angle line,
.construct .c-angle path {
  fill: none;
  stroke: var(--chalk);
  stroke-opacity: 0.4;
  stroke-width: 0.5;
}
.construct .c-angle line { stroke-dasharray: 2 3; }
.construct .c-angle,
.construct .c-scale {
  opacity: 0;
  animation: fade-in 1s ease 1.6s forwards;
}
.construct text {
  font-family: var(--font);
  font-size: 6.2px;
  letter-spacing: 0.3px;
  fill: var(--graphite);
}

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }
@keyframes mark-in { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }

.hero-facts {
  position: relative;
  z-index: 1;
  list-style: none;
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.hero-facts li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 22px 24px 0 0;
  font-size: 15px;
  color: var(--graphite);
}
.hero-facts li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  transform: translateY(-1px);
}

/* Sections */

.section { padding-block: clamp(96px, 11vw, 160px); }
.section-line { border-top: 1px solid var(--line); }
.section-head { max-width: 860px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .section-lead { margin-inline: auto; }
.section-title {
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.038em;
  font-weight: 300;
  text-wrap: balance;
}
.section-lead {
  margin-top: 24px;
  max-width: 38em;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.7;
  color: var(--graphite);
  text-wrap: pretty;
}

/* Frames with corner marks, the studio's drawing board */

.frame {
  --c: rgba(244, 244, 240, 0.36);
  --l: 16px;
  position: relative;
  padding: clamp(28px, 3vw, 40px);
  box-shadow: inset 0 0 0 1px rgba(244, 244, 240, 0.06);
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 1px var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1px var(--l) no-repeat;
  transition: --c 0.3s ease;
}

/* Services */

.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.service:hover { --c: var(--lime); }
.service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 28px;
  fill: none;
  stroke: var(--chalk);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-icon .fill-lime { fill: var(--lime); stroke: none; }
.service-icon .fill-ink { fill: var(--ink); }
.service-icon .stroke-lime { stroke: var(--lime); }
.service-title {
  font-size: clamp(26px, 2.2vw, 31px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 400;
}
.service-text {
  margin-top: 12px;
  max-width: 34em;
  color: var(--graphite);
}
.service-list {
  list-style: none;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  font-size: 15px;
}
.service-list li { display: flex; align-items: baseline; gap: 10px; }
.service-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  transform: translateY(-1px);
}

/* AI video, the featured service */

.service-feature {
  --c: rgba(208, 241, 57, 0.7);
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(32px, 4vw, 56px);
  background-color: rgba(208, 241, 57, 0.035);
  box-shadow: inset 0 0 0 1px rgba(208, 241, 57, 0.16);
}
.service-title-large { font-size: clamp(38px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -0.038em; font-weight: 300; }
.feature-cta { margin-top: 32px; }
.feature-art { position: relative; }
.video-art { width: 100%; height: auto; overflow: visible; }
.video-art .va-thirds line { stroke: var(--chalk); stroke-opacity: 0.08; stroke-width: 1; }
.video-art .va-frame { fill: none; stroke: var(--chalk); stroke-opacity: 0.4; stroke-width: 1; }
.video-art .va-square { fill: none; stroke: var(--chalk); stroke-opacity: 0.34; stroke-width: 1; stroke-dasharray: 5 6; }
.video-art .va-vertical { fill: none; stroke: var(--lime); stroke-opacity: 0.85; stroke-width: 1.2; stroke-dasharray: 2 5; }
.video-art .va-corners path { fill: none; stroke: var(--lime); stroke-width: 2; }
.video-art .va-play-ring { fill: rgba(0, 0, 0, 0.45); stroke: var(--lime); stroke-width: 1.4; }
.video-art .va-play { fill: var(--lime); }
.video-art .va-label { font-family: var(--font); font-size: 15px; font-weight: 600; letter-spacing: 0.06em; fill: var(--graphite); }
.video-art .va-label-lime { fill: var(--lime); }

/* Websites and apps, the wide card */

.service-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
}
.service-wide .service-list { margin-top: 0; }

/* Approach */

.steps {
  list-style: none;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--lime), rgba(208, 241, 57, 0.12));
}
.step { position: relative; }
.step-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border: 1px solid var(--lime);
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 15px;
  font-weight: 600;
}
.step-title { font-size: 25px; line-height: 1.2; letter-spacing: -0.022em; font-weight: 400; }
.step-text { margin-top: 10px; font-size: 16px; color: var(--graphite); text-wrap: pretty; }

.engagements {
  margin-top: clamp(64px, 8vw, 112px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.engagement { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.engagement:hover { --c: var(--lime); }
.engagement-title { font-size: clamp(26px, 2.2vw, 31px); line-height: 1.15; font-weight: 400; letter-spacing: -0.025em; }
.engagement-text { color: var(--graphite); max-width: 32em; }
.engagement .text-link { margin-top: 8px; }

/* Studio, the light section */

.section-chalk { background: var(--chalk); color: var(--ink); }
.section-chalk ::selection { background: var(--ink); color: var(--chalk); }
.section-chalk :focus-visible { outline-color: var(--ink); }
.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}
.studio-text {
  margin-top: 24px;
  max-width: 36em;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.75;
  color: var(--smoke);
}
.studio-facts { padding-top: 12px; }
.facts-title { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; line-height: 1.3; margin-bottom: 14px; color: var(--smoke); }
.people { margin: 0; }
.person { padding: 22px 0; border-top: 1px solid var(--line-chalk); }
.person:last-child { border-bottom: 1px solid var(--line-chalk); }
.person dt { font-size: 27px; font-weight: 400; line-height: 1.2; letter-spacing: -0.025em; }
.person dd { margin: 8px 0 0; font-size: 16px; color: var(--smoke); }

/* Team, drawn as a diagram */

.team { position: relative; overflow: hidden; }
.team-ring {
  position: relative;
  width: min(820px, 100%);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}
.ring-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring-lines circle,
.ring-lines line { fill: none; vector-effect: non-scaling-stroke; }
.ring-outer { stroke: var(--chalk); stroke-opacity: 0.14; stroke-width: 1; stroke-dasharray: 2 6; }
.ring-orbit { stroke: var(--lime); stroke-opacity: 0.5; stroke-width: 1; }
.ring-inner { stroke: var(--chalk); stroke-opacity: 0.2; stroke-width: 1; }
.ring-line { stroke: var(--chalk); stroke-opacity: 0.16; stroke-width: 1; transition: stroke 0.3s ease, stroke-opacity 0.3s ease; }
.ring-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15%;
  height: auto;
  transform: translate(-50%, -50%);
}
.team-list { list-style: none; }
.member {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: clamp(84px, 11.5%, 104px);
  transform: translate(-50%, -50%);
  text-align: center;
}
.member-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background:
    linear-gradient(rgba(244, 244, 240, 0.12), rgba(244, 244, 240, 0.12)) center / 1px 100% no-repeat,
    linear-gradient(rgba(244, 244, 240, 0.12), rgba(244, 244, 240, 0.12)) center / 100% 1px no-repeat,
    #0b0b0a;
  box-shadow: 0 0 0 1px rgba(244, 244, 240, 0.22), 0 0 0 6px var(--ink), 0 0 0 7px rgba(208, 241, 57, 0.28);
  transition: box-shadow 0.3s ease;
}
.member-initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(22px, 2.2vw, 27px);
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--chalk);
}
.member-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  opacity: 0;
  transition: filter 0.4s ease, opacity 0.4s ease;
}
.member.has-photo .member-photo img { opacity: 1; }
.member.has-photo .member-initials { visibility: hidden; }
.member-name {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 2px 10px;
  background: var(--ink);
  border-radius: 999px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.member-role {
  position: absolute;
  left: 50%;
  top: calc(100% + 44px);
  padding: 0 8px;
  background: var(--ink);
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 13px;
  color: var(--graphite);
}
.member-role:empty { display: none; }
.member:hover .member-photo { box-shadow: 0 0 0 1px var(--lime), 0 0 0 6px var(--ink), 0 0 0 7px var(--lime); }
.member:hover .member-photo img { filter: none; }
.team-ring:has(.m1:hover) .l1,
.team-ring:has(.m2:hover) .l2,
.team-ring:has(.m3:hover) .l3,
.team-ring:has(.m4:hover) .l4,
.team-ring:has(.m5:hover) .l5,
.team-ring:has(.m6:hover) .l6,
.team-ring:has(.m7:hover) .l7,
.team-ring:has(.m8:hover) .l8,
.team-ring:has(.m9:hover) .l9 { stroke: var(--lime); stroke-opacity: 0.9; }

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq-intro .section-lead { margin-top: 20px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.35;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--lime), var(--lime)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--lime), var(--lime)) center / 1.5px 14px no-repeat;
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--lime); }
.faq-item p { padding: 0 40px 26px 0; max-width: 40em; color: var(--graphite); }

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-lines { list-style: none; margin-top: 40px; display: grid; gap: 14px; }
.contact-lines li { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: baseline; }
.contact-label { font-size: 14px; color: var(--graphite); }

.contact-form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label,
.chips legend { font-size: 14px; font-weight: 600; letter-spacing: 0.01em; color: var(--chalk); }
.req { color: var(--lime); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--chalk);
  background: rgba(244, 244, 240, 0.04);
  border: 1px solid rgba(244, 244, 240, 0.18);
  border-radius: 10px;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%23D0F139' stroke-width='1.6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field select option { background: #111110; color: var(--chalk); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(244, 244, 240, 0.38); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lime);
  background-color: rgba(208, 241, 57, 0.05);
  box-shadow: 0 0 0 3px rgba(208, 241, 57, 0.18);
}
.field [aria-invalid="true"] { border-color: var(--error); }

.chips { border: 0; margin: 0; padding: 0; }
.chips legend { padding: 0; margin-bottom: 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(244, 244, 240, 0.22);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.chip span:hover { border-color: var(--lime); }
.chip input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 3px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 24px;
}
.form-note { max-width: 24em; font-size: 13px; color: var(--graphite); }
.form-status { min-height: 1.5em; font-size: 15px; color: var(--graphite); }
.form-status:empty { min-height: 0; margin-top: -22px; }
.form-status.is-ok { color: var(--lime); }
.form-status.is-error { color: var(--error); }

/* Footer, with the studio address as a quiet last line */

.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.footer-brand img { width: auto; height: 32px; }
.footer-tag { margin-top: 18px; font-size: 30px; line-height: 1.1; letter-spacing: -0.035em; font-weight: 300; }
.footer-nav { display: grid; gap: 10px; font-size: 15px; }
.footer-nav a,
.footer-legal a { color: var(--graphite); transition: color 0.2s ease; }
.footer-nav a:hover,
.footer-legal a:hover { color: var(--chalk); }
.footer-contact { display: grid; gap: 10px; justify-items: start; }
.footer-label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--graphite); }
.footer-legal {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 24px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--graphite);
}
.footer-legal address { grid-column: 1 / -1; font-style: normal; }
.footer-legal-plain { margin-top: 0; padding-top: 0; border-top: 0; }

/* Simple pages: thank you, privacy, not found */

.page { padding-top: calc(var(--header) + clamp(64px, 9vw, 128px)); padding-bottom: clamp(80px, 10vw, 140px); min-height: 70vh; }
.page-title { font-size: clamp(46px, 6.6vw, 90px); line-height: 1; letter-spacing: -0.045em; font-weight: 300; }
.page-lead { margin-top: 24px; max-width: 34em; font-size: clamp(17px, 1.35vw, 19px); color: var(--graphite); }
.page .hero-actions { margin-top: 40px; }
.prose { max-width: 44em; margin-top: 48px; }
.prose h2 { font-size: 26px; line-height: 1.25; letter-spacing: -0.022em; margin-top: 44px; font-weight: 400; }
.prose p,
.prose li { color: var(--graphite); margin-top: 14px; }
.prose ul { padding-left: 20px; }

/* Responsive */

@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps::before { display: none; }
}

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav-list {
    position: fixed;
    top: var(--header);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 28px var(--pad) 40px;
    background: var(--ink);
    border-top: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav-list.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list a:not(.btn) { display: block; padding: 8px 0; font-size: 32px; font-weight: 300; letter-spacing: -0.03em; }
  .nav-cta-item { margin: 20px 0 0; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 440px; margin-top: 8px; }
  .services,
  .engagements,
  .studio-grid,
  .faq-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .service-feature,
  .service-wide { grid-template-columns: 1fr; }
  .service-wide { align-items: start; }

  /* The ring becomes a calm grid on smaller screens */
  .team-ring { aspect-ratio: auto; width: 100%; }
  .ring-lines,
  .ring-mark { display: none; }
  .team-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 16px;
  }
  .member {
    position: static;
    width: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .member-photo { width: min(96px, 100%); }
  .member-name,
  .member-role { position: static; transform: none; white-space: normal; }
  .member-role { margin-top: -8px; }
  .member-name { font-size: 15px; }
}

@media (max-width: 720px) {
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .steps::before { display: block; top: 22px; bottom: 22px; left: 22px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--lime), rgba(208, 241, 57, 0.12)); }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 20px; }
  .step-node { grid-row: span 2; margin-bottom: 0; }
  .step-title { align-self: center; }
  .service-list { grid-template-columns: 1fr; }
  .faq-item p { padding-right: 0; }
  .form-foot .btn { width: 100%; }
  .team-list { gap: 32px 12px; }
  .member-photo { width: min(84px, 100%); }
  .member-name { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-glow,
  .construct .c-outer,
  .construct .c-nodes circle,
  .construct .c-mark,
  .construct .c-angle,
  .construct .c-scale { opacity: 1; }
  .construct .c-guides line,
  .construct .c-ring { stroke-dashoffset: 0; }
}
