:root {
  color-scheme: light;
  --bg: #fcfcfa;
  --bg-soft: #f3f2ed;
  --text: #111111;
  --muted: #626262;
  --rule: #dfded7;
  --ink: #050505;
  --light-ink: #f5f4ef;
  --light-muted: rgba(245, 244, 239, 0.72);
  --light-rule: rgba(245, 244, 239, 0.18);
  --container: 1280px;
  --reading: 760px;
  --section-space: 8rem;
  --display: clamp(4.4rem, 9vw, 8.25rem);
  --h2: clamp(2rem, 4vw, 3.4rem);
  --h3: clamp(1.4rem, 2vw, 1.9rem);
  --body: 1.125rem;
  --meta: 0.72rem;
  --focus-ring: 2px solid #1d8fd3;
  --focus-ring-light: 2px solid #99e8f4;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--light-ink);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 6px;
  transition: top 120ms ease;
}

.skip-link:focus {
  top: 12px;
  outline: var(--focus-ring-light);
  outline-offset: 2px;
}

.no-js .reveal-section {
  opacity: 1;
  transform: none;
}

.no-js .motion-up {
  opacity: 1;
  transform: none;
  animation: none;
}

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

.hero :focus-visible,
.site-footer :focus-visible {
  outline: var(--focus-ring-light);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.018) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.18;
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: -10%;
  background:
    radial-gradient(circle at 15% 18%, rgba(17, 17, 17, 0.03), transparent 30%),
    radial-gradient(circle at 82% 42%, rgba(17, 17, 17, 0.025), transparent 28%),
    radial-gradient(circle at 54% 78%, rgba(17, 17, 17, 0.02), transparent 26%);
  pointer-events: none;
  z-index: -1;
  animation: ambientFloat 18s ease-in-out infinite alternate;
  animation-play-state: var(--ambient-play-state, running);
}

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

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

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

.reading-shell {
  width: min(calc(100% - 48px), var(--reading));
}

.site-header,
.site-footer,
.section,
.hero {
  position: relative;
}

.site-header {
  background: rgba(252, 252, 250, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 222, 215, 0.65);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-shell,
.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-shell {
  min-height: 80px;
}

.brand-mark img,
.footer-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.site-nav {
  display: flex;
  gap: 2rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: border-color 180ms ease, background 180ms ease;
}

.nav-toggle:hover {
  border-color: rgba(17, 17, 17, 0.12);
  background: rgba(17, 17, 17, 0.04);
}

.nav-toggle-bars {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 14px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease, top 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  z-index: 18;
  transition: opacity 260ms ease;
}

.nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

.site-nav a,
.eyebrow,
.project-meta {
  font-size: var(--meta);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
}

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

.site-nav a:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
}

.hero {
  padding: 8.5rem 0 6rem;
  background: var(--ink);
  color: var(--light-ink);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.11), transparent 34%),
    radial-gradient(circle at 16% 72%, rgba(255, 255, 255, 0.06), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 45%);
  pointer-events: none;
  animation: heroGlow 12s ease-in-out infinite alternate;
  animation-play-state: var(--ambient-play-state, running);
}

.hero::after {
  content: none;
}

.hero-shell {
  display: grid;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.62fr);
  gap: 3.25rem;
  align-items: center;
  min-height: 60vh;
}

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

h1,
h2,
h3 {
  color: var(--text);
}

.hero h1,
.hero .eyebrow,
.hero .hero-note,
.hero .text-link {
  color: var(--light-ink);
}

.hero h1,
.hero-copy p,
.hero-signals span,
.hero .text-link {
  font-family: "Manrope", sans-serif;
}

h1 {
  font-size: var(--display);
  line-height: 0.9;
  letter-spacing: -0.072em;
  font-weight: 800;
  max-width: 10ch;
  text-wrap: balance;
}

h2 {
  font-size: var(--h2);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
  max-width: 14ch;
}

h3 {
  font-size: var(--h3);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
}

p {
  font-size: var(--body);
  line-height: 1.75;
  color: var(--muted);
}

.hero p {
  color: var(--light-muted);
}

.hero-copy p {
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  font-weight: 500;
  line-height: 1.8;
  max-width: 18rem;
  color: rgba(245, 244, 239, 0.74);
}

.hero-intro-detail {
  margin-top: -0.35rem;
  color: rgba(245, 244, 239, 0.62);
}

.hero-copy {
  display: grid;
  gap: 1.15rem;
  max-width: 24rem;
  justify-self: end;
  width: min(100%, 21rem);
  padding: 3rem 2.2rem 3rem 1.8rem;
  min-height: 30rem;
  align-content: end;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(245, 244, 239, 0.14);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -24px 48px rgba(0, 0, 0, 0.12),
    0 18px 60px rgba(0, 0, 0, 0.18);
  transform: translateZ(0);
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.hero-signals span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.8rem;
  border: 1px solid rgba(245, 244, 239, 0.18);
  border-radius: 999px;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light-ink);
}

.hero-note {
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.55rem, 2.3vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 13ch;
}

.text-link {
  position: relative;
  display: inline-block;
  width: fit-content;
  margin-top: 1rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.18rem;
}

.hero-headline {
  display: grid;
  gap: 1.35rem;
  align-content: start;
}

.hero-subhead {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  font-weight: 500;
  color: rgba(245, 244, 239, 0.82);
  max-width: 38ch;
  letter-spacing: -0.01em;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  padding: 0.95rem 1.4rem;
  background: var(--light-ink);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  border-radius: 999px;
  border: 1px solid rgba(245, 244, 239, 0.22);
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
  width: fit-content;
}

.primary-cta span {
  transition: transform 180ms ease;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.primary-cta:hover span,
.primary-cta:focus-visible span {
  transform: translateX(3px);
}

.primary-cta-light {
  background: var(--ink);
  color: var(--light-ink);
  border: 1px solid rgba(17, 17, 17, 0.14);
  margin-top: 1.25rem;
  font-size: 1.05rem;
}

.primary-cta-light:hover,
.primary-cta-light:focus-visible {
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.18);
}

.section {
  padding: var(--section-space) 0;
  border-top: 1px solid var(--rule);
}

.ambient-section {
  overflow: clip;
}

.reveal-section {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.ambient-section::before {
  content: "";
  position: absolute;
  inset: auto auto -80px -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17, 17, 17, 0.03), transparent 68%);
  pointer-events: none;
  filter: blur(12px);
}

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
}

.services .section-head {
  position: relative;
}

.intro {
  border-top: 1px solid var(--rule);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(243, 242, 237, 0.55)),
    var(--bg);
}

.intro-rule {
  width: 1px;
  height: 84px;
  margin: 0 0 1.5rem;
  background: linear-gradient(to bottom, var(--text), transparent);
}

.intro .reading-shell {
  position: relative;
}

.intro-watermark {
  position: absolute;
  right: -1.5rem;
  top: 2.25rem;
  font-size: clamp(4.75rem, 12vw, 8.5rem);
  line-height: 0.8;
  letter-spacing: -0.08em;
  font-weight: 800;
  color: rgba(17, 17, 17, 0.05);
  pointer-events: none;
}

.intro h2,
.intro p + p,
.contact h2,
.contact p + .text-link {
  margin-top: 1.5rem;
}

.intro h2 {
  max-width: 12ch;
}

.intro-lead {
  font-size: clamp(1.18rem, 1.6vw, 1.42rem);
  line-height: 1.72;
  color: var(--text);
  max-width: 31rem;
}

.intro-support {
  max-width: 28rem;
  color: rgba(17, 17, 17, 0.66);
}

.service-grid,
.credibility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.projects .shell,
.credibility .shell {
  position: relative;
}

.service-item {
  display: grid;
  row-gap: 0.45rem;
  padding-top: 1.5rem;
  transform: translateZ(0);
  grid-template-rows: auto auto 1fr;
}

.service-item h3 {
  min-height: auto;
  max-width: 12ch;
  display: flex;
  align-items: flex-start;
  margin: 0;
  line-height: 1.05;
  padding-top: 0.7rem;
}

.service-item:nth-child(2) h3,
.service-item:nth-child(3) h3 {
  max-width: none;
}

@media (min-width: 1180px) {
  .service-item:nth-child(2) h3,
  .service-item:nth-child(3) h3 {
    white-space: nowrap;
  }
}

.service-accent {
  width: 100%;
  height: 76px;
  border-radius: 20px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background-color: #e7e7e7;
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.045);
}

.service-accent-lines {
  background-image: repeating-linear-gradient(
    90deg,
    rgba(17, 17, 17, 0.09) 0,
    rgba(17, 17, 17, 0.09) 1px,
    transparent 1px,
    transparent 20px
  );
}

.service-accent-wave {
  background:
    radial-gradient(circle at 14% 50%, rgba(17, 17, 17, 0.13) 0 2px, transparent 3px),
    radial-gradient(circle at 30% 50%, rgba(17, 17, 17, 0.12) 0 6px, transparent 7px),
    radial-gradient(circle at 50% 50%, rgba(17, 17, 17, 0.11) 0 11px, transparent 12px),
    radial-gradient(circle at 72% 50%, rgba(17, 17, 17, 0.1) 0 17px, transparent 18px),
    radial-gradient(circle at 90% 50%, rgba(17, 17, 17, 0.09) 0 24px, transparent 25px);
  background-color: #e7e7e7;
}

.service-accent-grid {
  background-image:
    radial-gradient(circle at 20% 32%, rgba(17, 17, 17, 0.11) 0 2px, transparent 3px),
    radial-gradient(circle at 46% 56%, rgba(17, 17, 17, 0.1) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 38%, rgba(17, 17, 17, 0.1) 0 2px, transparent 3px),
    linear-gradient(35deg, transparent 33.2%, rgba(17, 17, 17, 0.08) 33.5%, rgba(17, 17, 17, 0.08) 34.2%, transparent 34.5%),
    linear-gradient(145deg, transparent 50.4%, rgba(17, 17, 17, 0.075) 50.8%, rgba(17, 17, 17, 0.075) 51.4%, transparent 51.8%),
    linear-gradient(rgba(17, 17, 17, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.09) 1px, transparent 1px);
  background-size: auto, auto, auto, 100% 100%, 100% 100%, 16px 16px, 16px 16px;
  background-color: #e7e7e7;
}

.project-list {
  display: grid;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.25rem 3rem;
  padding: 2.2rem 0;
  border-top: 1px solid var(--rule);
  align-items: center;
}


.project-content {
  grid-column: 1;
  display: grid;
  gap: 0.85rem;
  align-content: center;
  max-width: 48rem;
  align-self: center;
}

.project-link,
.project-visit {
  width: fit-content;
}

.project-link {
  text-decoration: none;
}

.project-visit {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1px;
}

.feature-primary h3 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.feature-primary p,
.method-copy p {
  max-width: 44rem;
}

.project-visual {
  grid-column: 2;
  grid-row: 1 / -1;
  width: 100%;
  max-width: 280px;
  min-height: 200px;
  border-radius: 24px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.05);
  justify-self: center;
  align-self: center;
}

.project-showcase-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
}

.project-mark {
  display: block;
  width: auto;
  max-width: 78%;
  max-height: 118px;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.08);
}

.credibility {
  background: var(--bg-soft);
}

.credibility-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.credibility-grid p {
  color: var(--text);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.credibility-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0 0 2rem;
}

.credibility-note span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 1rem;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: rgba(17, 17, 17, 0.88);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.method-copy {
  display: grid;
  gap: 1.25rem;
}

.method-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(10, 10, 10, 0.98));
  border: 1px solid rgba(17, 17, 17, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 44px rgba(17, 17, 17, 0.14);
}

.method-panel span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 1rem;
  border: 1px solid rgba(245, 244, 239, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  color: var(--light-ink);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact .text-link {
  font-size: 1.1rem;
}

.contact {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(243, 242, 237, 0.75)),
    var(--bg);
}

.contact .reading-shell {
  position: relative;
}

.contact-orbit {
  position: absolute;
  right: -40px;
  bottom: -12px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.contact-orbit::before,
.contact-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.08);
  inset: 18px;
}

.contact-orbit::after {
  inset: 42px;
}

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--ink);
}

.footer-shell {
  min-height: 92px;
}

.footer-shell p {
  color: var(--light-ink);
  font-size: 0.8rem;
}

.site-footer .footer-icon {
  filter: invert(1) grayscale(1) contrast(1.05);
}

.footer-meta {
  color: var(--light-muted);
}

.footer-meta small {
  font-size: inherit;
}

.motion-up {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.motion-1 {
  animation-delay: 120ms;
}

.motion-2 {
  animation-delay: 260ms;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroGlow {
  0% {
    opacity: 0.82;
    transform: scale(1) translate3d(0, 0, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1.03) translate3d(-1.5%, 1%, 0);
  }
}

@keyframes ambientFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(1.2%, -1.2%, 0) scale(1.03);
  }
}

@media (max-width: 900px) {
  :root {
    --section-space: 6rem;
  }

  .hero {
    padding-top: 6rem;
  }

  .hero-grid,
  .method-grid,
  .service-grid,
  .credibility-grid,
  .project-feature {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    justify-self: start;
    max-width: 30rem;
    width: min(100%, 19.5rem);
    min-height: auto;
    padding: 2rem 1.6rem 1.8rem;
    border: 1px solid rgba(245, 244, 239, 0.14);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .project-visual,
  .project-content {
    grid-column: auto;
    grid-row: auto;
  }

  .section-watermark,
  .contact-orbit {
    display: none;
  }
}

@media (max-width: 640px) {
  .intro-watermark {
    display: block;
    right: 0;
    top: 3.5rem;
    font-size: 4.5rem;
    color: rgba(17, 17, 17, 0.045);
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 40;
  }

  .nav-toggle[aria-expanded="true"] {
    color: var(--light-ink);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 5rem 2rem 3rem;
    background: var(--ink);
    color: var(--light-ink);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.98);
    transition:
      opacity 280ms ease,
      transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 320ms;
    z-index: 30;
    overflow-y: auto;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition:
      opacity 280ms ease,
      transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s;
  }

  .site-nav a {
    width: 100%;
    padding: 1.15rem 0;
    color: var(--light-ink);
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: none;
    border-bottom: 1px solid rgba(245, 244, 239, 0.1);
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-backdrop {
    display: none;
  }
}

@media (max-width: 640px) {
  .shell,
  .reading-shell {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-shell {
    min-height: 72px;
  }

  .hero {
    padding: 4rem 0 4.5rem;
  }

  .services .section-head {
    padding-bottom: 0;
    margin-bottom: 2rem;
  }

  .services .service-item {
    padding: 1rem 1rem 1.25rem;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 28px rgba(17, 17, 17, 0.04);
    gap: 0.9rem;
  }

  .service-item h3 {
    padding-top: 0;
  }

  .services .service-item > h3 {
    order: 1;
  }

  .services .service-item > .service-accent {
    order: 2;
  }

  .services .service-item > p {
    order: 3;
  }

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

  .hero-signals span {
    width: auto;
    justify-content: flex-start;
  }

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

  .hero-note {
    font-size: 1.25rem;
  }

  .text-link {
    font-size: 1.05rem;
  }

  .feature-primary h3 {
    font-size: 2.2rem;
  }

  .ambient-section::before {
    width: 180px;
    height: 180px;
  }

  .services .service-grid {
    gap: 1.1rem;
  }

  .footer-shell p {
    font-size: 10pt;
  }

  .method-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 1rem;
  }

  .method-panel span {
    min-height: 34px;
    padding: 0 0.55rem;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    justify-content: center;
    text-align: center;
  }

  .credibility-note {
    gap: 0.55rem;
  }

  .credibility-note span {
    min-height: 34px;
    padding: 0 0.85rem;
    font-size: 0.72rem;
    letter-spacing: 0.07em;
  }

  .services .service-accent {
    height: 72px;
    border-radius: 18px;
    margin-bottom: 0;
  }

  .services .service-item h3 {
    font-size: 1.225rem;
    line-height: 1.05;
  }

  .service-item:nth-child(3) h3 {
    white-space: normal;
  }

  .services .service-item p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .project-visual {
    justify-self: start;
  }

  .project-showcase-frame {
    justify-content: center;
  }

  .project-mark {
    max-width: 68%;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .motion-up {
    opacity: 1;
    transform: none;
  }

  .reveal-section {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
