.goodform {
  --paper: #fff;
  --frost: #f5f8fc;
  --ink: #0b172a;
  --muted: #46566a;
  --blue: #005fbe;
  --line: #ced8e4;
  --blueprint-filter: invert(1) hue-rotate(180deg) contrast(1.12);
  --gutter: clamp(1.15rem, 5.4vw, 7rem);
  --mono: "Geist Mono", ui-monospace, monospace;
  background: var(--paper);
  color: var(--ink);
  font-family: Geist, Arial, sans-serif;
  font-weight: 400;
}
.goodform a:focus-visible, .about-portrait:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}
.goodform [id] { scroll-margin-top: 4.2rem; }
.skip-content { position: fixed; z-index: 20; top: .6rem; left: .6rem; padding: .8rem; background: var(--frost); transform: translateY(-150%); }
.skip-content:focus { transform: translateY(0); }
.studio-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.15rem;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  backdrop-filter: blur(12px);
}
.studio-logo { display: block; width: clamp(8.2rem, 14vw, 12.75rem); }
.studio-logo img { display: block; width: 100%; height: auto; }
.studio-header nav { display: flex; gap: clamp(1rem, 3.8vw, 3.5rem); color: var(--muted); font-size: .84rem; }
.studio-header nav a:hover { color: var(--blue); }
.nav-project { justify-self: end; display: inline-flex; align-items: center; gap: .7rem; border: 1px solid #fcae1e; background: #fcae1e; color: var(--ink); padding: .5rem .72rem; font-size: .8rem; font-weight: 650; white-space: nowrap; }
.nav-project:hover { border-color: #fcae1e; background: #fcae1e; }

.goodform .form-journey .scroll-scrub__stage { top: 4.15rem; }
.goodform .form-journey .scroll-scrub__media { filter: var(--blueprint-filter); }
.goodform .form-journey .scroll-scrub__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg, var(--paper) 18%, color-mix(in srgb, var(--paper) 92%, transparent) 43%, transparent 72%);
}
@media (min-width: 861px) {
  .goodform .form-journey .scroll-scrub__media { inset-inline: 18% 0; width: auto; }
}

.goodform .form-journey .scroll-scrub__route {
  top: auto;
  right: var(--gutter);
  bottom: 5.6rem;
  left: auto;
  justify-content: flex-end;
  gap: 0;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background: color-mix(in srgb, var(--frost) 93%, transparent);
}
.goodform .form-journey .scroll-scrub__route-button { font-size: .74rem; min-height: 2.35rem; padding: .55rem .75rem; }
.goodform .form-journey .scroll-scrub__chapter-pin {
  top: 4.15rem;
  align-items: flex-end;
  min-height: calc(100dvh - 4.15rem);
  padding: 3.25rem var(--gutter) clamp(3rem, 9vh, 6rem);
}
.goodform .form-journey .scroll-scrub__copy {
  width: min(49vw, 46rem);
  padding: 1.45rem 2rem 1.5rem 0;
}
.goodform .form-journey .scroll-scrub__copy::before { display: none; }
.goodform .form-journey .scroll-scrub__title {
  max-width: none;
  font-size: clamp(3rem, 6.35vw, 7.6rem);
  line-height: .94;
  font-weight: 580;
  letter-spacing: -.086em;
  text-wrap: pretty;
}
.goodform .form-journey #top .scroll-scrub__title { font-size: clamp(2.9rem, 5.8vw, 6.9rem); }
.goodform .form-journey .scroll-scrub__body { margin-top: 1.04rem; font-size: clamp(.98rem, 1.27vw, 1.17rem); line-height: 1.45; max-width: 38ch; }
.goodform .form-journey .scroll-scrub__actions { margin-top: 1.15rem; }
.hero-project { display: inline-flex; align-items: center; gap: 1.8rem; background: var(--blue); color: var(--paper); padding: .82rem 1rem; font-size: .91rem; font-weight: 630; transition: transform 150ms ease; }
.hero-project:active { transform: translateY(2px); }
.hero-project .studio-arrow, .contact-arrow { transition: transform 240ms ease; }
.hero-project:hover .studio-arrow { transform: translateY(3px); }
.contact-poster:hover .contact-arrow { transform: translate(3px, -3px); }
.studio-arrow { display: block; width: 1.05em; height: 1.05em; flex: none; }
.contact-arrow .studio-arrow { width: 46%; height: 46%; }
.studio-original, .service-detail { display: inline-flex; align-items: center; gap: .45em; }
.service-detail { padding: .4rem 0; border-bottom: 1px solid var(--blue); color: var(--blue); font-weight: 650; font-size: .9rem; }

.studio-section { padding-inline: var(--gutter); }
.studio-section h2, .contact-poster h2 { font-size: clamp(3rem, 7.15vw, 9rem); line-height: .95; font-weight: 550; letter-spacing: -.083em; margin: 0; text-wrap: balance; }
.studio-section h2 span { color: var(--blue); }
.expertise-section { overflow-x: clip; position: relative; padding-top: clamp(4rem, 11vw, 10rem); padding-bottom: clamp(3.3rem, 8vw, 8rem); background: var(--paper); }
.section-heading p, .about-section p { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.55; }
.section-heading p { margin-top: 1rem; }
.expertise-stack { margin-top: clamp(2.4rem, 5vw, 5rem); display: grid; gap: clamp(3rem, 8vw, 8rem); }
.expertise-track { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.expertise-card { grid-column: 1 / span 9; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(1.6rem, 3.5vw, 3.5rem); border: 1px solid var(--line); background: var(--frost); }
.expertise-track:nth-child(even) .expertise-card { grid-column: 4 / -1; }
.expertise-card:focus-within { transform: none !important; }
.expertise-index { grid-column: 1 / -1; margin-bottom: 2rem; color: var(--blue); font: .78rem/1 var(--mono); }
.expertise-card h3 { grid-column: 1; grid-row: 2; margin: 0; font-size: clamp(2rem, 3.9vw, 4rem); font-weight: 580; letter-spacing: -.045em; line-height: 1.06; text-wrap: pretty; }
.expertise-card p { grid-column: 2; grid-row: 2; color: var(--muted); line-height: 1.6; }
.expertise-link { grid-column: 1; grid-row: 3; display: inline-flex; align-items: center; align-self: end; justify-self: start; gap: .55rem; margin-top: 1.4rem; font-size: .92rem; font-weight: 630; color: var(--blue); text-underline-offset: .28em; }
.expertise-link:hover { text-decoration: underline; }
.process-section { padding-block: clamp(3.4rem, 7vw, 7rem); background: var(--frost); }
.process-steps { list-style: none; padding: 0; margin: clamp(2rem, 4vw, 3.75rem) 0 0; border-bottom: 1px solid var(--line); }
.process-steps li { display: grid; grid-template-columns: 3.25rem minmax(10rem, .7fr) minmax(0, 1.3fr); align-items: baseline; column-gap: clamp(.75rem, 2.5vw, 3rem); padding: clamp(1.2rem, 3vw, 2.3rem) 0; border-top: 1px solid var(--line); }
.process-index { color: var(--blue); font: .78rem/1 var(--mono); }
.process-steps h3 { font-size: clamp(1.35rem, 2.65vw, 2.7rem); font-weight: 580; letter-spacing: -.05em; line-height: 1.04; }
.process-detail p { color: var(--muted); line-height: 1.55; max-width: 63ch; }
.about-section {
  display: grid;
  grid-template-columns: minmax(0, 43rem) clamp(12rem, 24vw, 19rem);
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(3rem, 6vw, 6rem);
  background: var(--frost);
}
.about-portrait {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.about-portrait img { grid-area: 1 / 1; display: block; width: 100%; height: auto; pointer-events: none; }
.portrait-smirk { opacity: 0; }
.about-portrait.is-smirking .portrait-smirk, .about-portrait:focus-visible .portrait-smirk { opacity: 1; }
.about-section p { max-width: 62ch; }
.about-section p:first-child { color: var(--ink); font-weight: 580; }
.about-section p + p { margin-top: 1em; }
.contact-section { background: var(--paper); color: var(--ink); }
.contact-poster { display: flex; align-items: end; justify-content: space-between; gap: 1.1rem; min-height: clamp(24rem, 46vw, 44rem); padding: clamp(2rem, 6vw, 7rem) var(--gutter); background: var(--paper); }
.contact-poster h2 { font-size: clamp(4rem, 11vw, 12rem); line-height: .88; }
.contact-poster p { margin-top: 1.05rem; color: var(--muted); }
.contact-arrow { flex: none; display: grid; place-items: center; width: clamp(3.6rem, 8.6vw, 8rem); aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; font-size: clamp(1.55rem, 4.3vw, 4.5rem); }
.goodform .contact-poster:focus-visible { outline-offset: -6px; outline-color: var(--blue); }
.studio-footer { display: flex; flex-wrap: wrap; gap: 1rem 2.35rem; align-items: center; justify-content: space-between; padding: clamp(1.4rem, 4vw, 3.2rem) var(--gutter); }
.studio-footer p, .studio-footer nav { color: var(--muted); font-size: .83rem; }
.studio-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; }
.studio-footer nav a:hover, .studio-footer nav a[aria-current="page"] { color: var(--blue); }

.privacy-page {
  width: min(43rem, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding-block: clamp(3rem, 8vw, 7rem);
}
.privacy-page h1 {
  font-size: clamp(2.7rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.065em;
}
.privacy-page h2 { margin-bottom: .65rem; font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.2; letter-spacing: -.035em; }
.privacy-page p { color: var(--muted); line-height: 1.65; }
.privacy-page p + p { margin-top: .85rem; }
.privacy-page .privacy-effective-date { margin-block: .85rem 1.45rem; font-size: .85rem; }
.privacy-page section { margin-top: 1.8rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.privacy-page a, .goodform .form-note a { color: var(--blue); text-decoration: underline; text-underline-offset: .2em; }

@media (max-width: 860px) {
  .studio-header { gap: .8rem; }
  .studio-header nav { gap: .85rem; }
  .goodform .form-journey .scroll-scrub__route { inset: auto var(--gutter) 4.65rem; justify-content: center; }
  .goodform .form-journey .scroll-scrub__route-button { flex: 1 1 auto; white-space: nowrap; }
  .goodform .form-journey .scroll-scrub__chapter-pin { padding: 2.9rem var(--gutter) 3.55rem; }
  .goodform .form-journey .scroll-scrub__copy { width: min(100%, 37rem); padding: 1rem; margin: 0 auto; background: color-mix(in srgb, var(--frost) 93%, transparent); }
  .goodform .form-journey .scroll-scrub__title, .goodform .form-journey #top .scroll-scrub__title { font-size: clamp(2.55rem, 8.6vw, 5.5rem); letter-spacing: -.072em; }
  .goodform .form-journey .scroll-scrub__poster,
  .goodform .form-journey .scroll-scrub__video { object-fit: cover; object-position: 55% center; }
  .goodform .form-journey .scroll-scrub__stage::after { background: linear-gradient(0deg, var(--paper) 0%, color-mix(in srgb, var(--paper) 72%, transparent) 25%, transparent 60%); }
}
@media (max-width: 860px) {
  .expertise-track { grid-template-columns: minmax(0, 1fr); }
  .expertise-card, .expertise-track:nth-child(even) .expertise-card { grid-column: 1; display: flex; flex-direction: column; }
  .expertise-card h3 { margin-bottom: 1rem; font-size: clamp(2rem, 5.8vw, 3.3rem); }
  .expertise-link { align-self: flex-start; }
}
@media (max-width: 760px) {
  .studio-header--home { grid-template-columns: 1fr auto; }
  .studio-header--home nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; padding-bottom: .62rem; }
  .studio-header--home .studio-logo, .studio-header--home .nav-project { margin-top: .45rem; }
}
@media (max-width: 720px) {
  .about-section { grid-template-columns: minmax(0, 1fr); }
  .about-portrait { grid-column: 1; justify-self: end; width: min(52%, 14rem); }
  .process-steps li { grid-template-columns: 2rem minmax(0, 1fr); row-gap: .65rem; }
  .process-detail { grid-column: 2; }
}
@media (max-width: 570px) {
  .studio-header { grid-template-columns: 1fr auto; min-height: 4.15rem; }
  .studio-header nav { grid-column: 1 / -1; grid-row: 2; display: flex; justify-content: space-between; padding-bottom: .62rem; }
  .studio-header .studio-logo, .nav-project { margin-top: .45rem; }
  .goodform .form-journey .scroll-scrub__chapter-pin { padding-bottom: 4.25rem; }
  .goodform .form-journey .scroll-scrub__route-button { padding-inline: .38rem; font-size: .68rem; }
  .contact-poster { min-height: 25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .expertise-card { transform: none !important; }
  .goodform *, .goodform *::before, .goodform *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Shared blue haze behind the page content. */
.goodform {
  isolation: isolate;
}
.goodform::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 66% 82% at 100% 24%, rgb(168 222 250 / 42%), transparent 83%),
    radial-gradient(ellipse 53% 67% at 1% 85%, rgb(190 226 250 / 49%), transparent 85%),
    radial-gradient(ellipse 52% 55% at 39% 0%, rgb(211 246 249 / 28%), transparent 85%),
    white;
}
.goodform :is(.expertise-section, .contact-section, .contact-poster, .service-page, .detail-hero) {
  background-color: transparent;
}
.goodform :is(.about-section, .process-section, .detail-process, .detail-contact) {
  background-color: rgb(222 236 246 / 19%);
}
.goodform .studio-header {
  background-color: rgb(255 255 255 / 88%);
}
