/* Shared art direction: calm architecture, personal planning.
   Presentation only: no changes to content order, hero geometry or scroll logic. */
@font-face {
  font-family: "NW Editorial";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

html[data-nw-design] {
  --nw-font: "NW Editorial", Arial, sans-serif;
  --site-font-family: var(--nw-font);
  --nw-ink: #202022;
  --nw-muted: #626165;
  --nw-paper: #fff;
  --nw-soft: #f5f4f2;
  --nw-accent: #8f008f;
  --nw-rule: rgb(32 32 34 / 11%);
  --nw-radius: 14px;
  --nw-gutter: clamp(20px, 4.5vw, 64px);
  --nw-inset: max(var(--nw-gutter), calc((100vw - 1280px) / 2));
  --nw-space-section: clamp(64px, 6.5vw, 104px);
  --nw-space-heading: clamp(32px, 3.5vw, 56px);
  --nw-title: clamp(34px, 3.8vw, 54px);
  --nw-page-title: clamp(40px, 5.5vw, 78px);
  --nw-body: clamp(16px, 1.25vw, 18px);
  --nw-ease: cubic-bezier(.22, 1, .36, 1);
  --ink: var(--nw-ink);
  --muted: var(--nw-muted);
  --soft: var(--nw-soft);
  --line: var(--nw-rule);
  --page: var(--nw-inset);
  --section: var(--nw-space-section);
  --radius: var(--nw-radius);
}

html[data-nw-design] body,
html[data-nw-design] body :is(h1,h2,h3,h4,h5,h6,p,a,span,strong,small,div,button,input,textarea,select,label,blockquote,figcaption,dt,dd,li) {
  --framer-font-family: var(--nw-font) !important;
  font-family: var(--nw-font) !important;
  font-variation-settings: normal !important;
}

/* Retain the distinctive lettering of the opening house scene. */
html[data-nw-design] body .nw-homy-title,
html[data-nw-design] body .nw-homy-title * {
  font-family: "NW Special Gothic", var(--nw-font) !important;
}

html[data-nw-design] body :is(.nw-project-listings__heading h2,.nw-client-reviews__heading h2,.our-impact__heading h2,.nw-career-heading-row h2,.project-story-title h2,.project-gallery .display,.chapter-copy h2,.cta-section h2,.svc-cta h2) {
  font-size: var(--nw-title) !important;
  font-weight: 500 !important;
  letter-spacing: -.045em !important;
  line-height: 1.12 !important;
  text-wrap: balance;
}

html[data-nw-design] body :is(.nw-project-listings__eyebrow,.nw-client-reviews__eyebrow,.our-impact__eyebrow,.svc-kicker,.eyebrow,.nw-career-eyebrow) {
  color: var(--nw-accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
  line-height: 1.5;
  text-transform: uppercase;
}

html[data-nw-design] body :is(.nw-project-listings__summary,.nw-client-reviews__summary,.our-impact__description,.svc-section-heading > p:last-child,.svc-service__content > p:not(.svc-service__eyebrow),.project-description-copy p,.chapter-copy p:last-child) {
  color: var(--nw-muted);
  font-size: var(--nw-body);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -.012em;
  text-wrap: pretty;
}

/* Shared left/right edges and vertical rhythm, including the embedded section. */
html[data-nw-design] body :is(.nw-project-listings__inner,.nw-client-reviews__inner,.our-impact__inner) {
  width: 100%;
  max-width: calc(1280px + 2 * var(--nw-gutter));
  padding-inline: var(--nw-gutter);
  margin-inline: auto;
  gap: var(--nw-space-heading);
}

html[data-nw-design] body :is(.nw-project-listings,.nw-client-reviews,.our-impact) {
  padding-block: var(--nw-space-section) !important;
}

html[data-nw-design] body :is(.nw-project-listings__intro,.nw-client-reviews__intro,.our-impact__intro) {
  gap: clamp(24px, 4vw, 64px);
}

html[data-nw-design] body .nw-client-reviews__heading { max-width: 650px; }
html[data-nw-design] body .nw-client-reviews__summary { flex-basis: 380px; }
html[data-nw-design] body .nw-client-reviews::before { opacity: .48; transform: translateX(-50%); }

/* Partners support the projects instead of competing with their heading. */
html[data-nw-design] body [data-partner-logo-bar="true"] {
  padding: 0 var(--nw-inset) !important;
  border-top-color: var(--nw-rule) !important;
  border-bottom-color: var(--nw-rule) !important;
}
html[data-nw-design] body .nw-partner-logo-heading {
  grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr);
  gap: 24px;
  min-height: 0;
  padding: 32px 0;
  background: none;
  border-bottom-color: var(--nw-rule);
}
html[data-nw-design] body .nw-partner-logo-heading p {
  align-self: center;
  padding: 0;
  font-size: 12px;
  letter-spacing: .09em;
}
html[data-nw-design] body .nw-partner-logo-heading h2 {
  grid-column: 2;
  max-width: 620px;
  padding: 0;
  font-size: clamp(23px, 2.1vw, 30px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.25;
}
html[data-nw-design] body .nw-partner-logo { min-height: 108px; padding: 20px; }
html[data-nw-design] body .nw-partner-logo img { max-width: 195px; height: 60px !important; }
html[data-nw-design] body .nw-partner-logo--portrait img { max-width: 165px; height: 72px !important; }

html[data-nw-design][data-local-route="home"] body section[data-framer-name="Gallery"],
html[data-nw-design][data-nw-motion-page="home"]:not([data-local-route="about"]) body section[data-framer-name="Gallery"] {
  padding-block: var(--nw-space-section) !important;
}
html[data-nw-design] body [data-nw-lightbox-gallery="home-projects"] [data-static-gallery-ticker] img {
  border-radius: var(--nw-radius) !important;
}
html[data-nw-design] body [data-nw-lightbox-gallery="home-projects"] [data-framer-name^="Image "] {
  border-radius: var(--nw-radius) !important;
}

/* Consistent card surfaces; content and image crop are left intact. */
html[data-nw-design] body :is(.nw-project-listing-card,.nw-project-listing-card > img,.nw-client-reviews__card,.nw-client-reviews__featured,.our-impact__image,.gallery-column figure,.svc-service figure,.svc-cta figure,.project-card-image) {
  border-radius: var(--nw-radius) !important;
}
html[data-nw-design] body .nw-project-listing-card__shade {
  background: linear-gradient(180deg, transparent, rgb(15 15 18 / 68%));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
html[data-nw-design] body .nw-project-listing-card__title { font-size: clamp(23px, 2vw, 29px); line-height: 1.2; letter-spacing: -.025em; }
html[data-nw-design] body .nw-project-listing-card__location { font-size: 14px; }
html[data-nw-design] body .nw-project-listing-card__detail { font-size: 13px; gap: 12px; }
html[data-nw-design] body .nw-client-reviews__card { background: var(--nw-soft); border: 1px solid var(--nw-rule); box-shadow: none; }
html[data-nw-design] body .nw-client-reviews__card h3 { font-size: clamp(26px, 2.2vw, 32px); font-weight: 550; line-height: 1.15; letter-spacing: -.035em; }
html[data-nw-design] body .our-impact__stats { gap: 10px; }
html[data-nw-design] body .our-impact__stat { background: var(--nw-soft); border-radius: var(--nw-radius); }
html[data-nw-design] body .our-impact__stat h3 { font-size: clamp(15px, 1.35vw, 20px); font-weight: 550; line-height: 1.35; white-space: normal; text-align: right; }
html[data-nw-design] body .our-impact__description { max-width: 400px; }

/* Gentle, reversible photo treatment; source files, portraits and logos stay untouched. */
html[data-nw-design] body img[src*="/assets/projects/suess-1/"] { filter: saturate(.94) brightness(1.015); }
html[data-nw-design] body img[src*="/assets/projects/suess-2/"] { filter: saturate(.88) brightness(1.035); }
html[data-nw-design] body img[src*="/assets/projects/stein/"] { filter: saturate(.88) brightness(1.025); }
html[data-nw-design] body .nw-lightbox__image { filter: none; }

/* Keep the original hero/scroll timing and the house-shadow anchor unchanged. */
html[data-nw-design] body .nw-house-sequence .sequence-copy h3 {
  font-size: clamp(25px, 2.3vw, 36px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.13;
}
html[data-nw-design] body .nw-house-sequence .sequence-copy--closing h3 { font-size: var(--nw-title); max-width: 24ch; }
html[data-nw-design] body .nw-house-sequence .sequence-copy-card { border-radius: var(--nw-radius); }

/* FAQ retains its anthracite section and transparent question rows. */
html[data-nw-design] body section[data-framer-name="FAQ"] {
  padding: var(--nw-space-section) var(--nw-inset) !important;
  min-height: 0 !important;
}
html[data-nw-design] body section[data-framer-name="FAQ"] h2 {
  font-size: var(--nw-title) !important;
  font-weight: 500 !important;
  line-height: 1.12 !important;
  letter-spacing: -.045em !important;
}
html[data-nw-design] body section[data-framer-name="FAQ"] [data-framer-name="question"] p {
  font-size: clamp(18px, 1.6vw, 23px) !important;
  font-weight: 650 !important;
  line-height: 1.4 !important;
}
html[data-nw-design] body section[data-framer-name="FAQ"] [data-framer-name="answer"] p {
  font-size: var(--nw-body) !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
}
html[data-nw-design] body section[data-framer-name="Testimonials"] { padding: var(--nw-space-section) var(--nw-inset) !important; }

/* Service and project pages share the same editorial hierarchy. */
html[data-nw-design] body.services-fidelity { --svc-page: var(--nw-inset); --svc-muted: var(--nw-muted); --svc-line: var(--nw-rule); }
html[data-nw-design] body .svc-services { max-width: none; padding-block: 144px var(--nw-space-section); }
html[data-nw-design] body .svc-section-heading { gap: 24px 40px; margin-bottom: var(--nw-space-heading); }
html[data-nw-design] body .svc-section-heading > .svc-kicker { margin-bottom: 0; }
html[data-nw-design] body .svc-section-heading h1,
html[data-nw-design] body :is(.listing-hero h1,.contact-page h1,.detail-hero h1,.nw-projects-page-title) {
  font-size: var(--nw-page-title) !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  letter-spacing: -.05em !important;
}
html[data-nw-design] body .svc-section-heading h1 { max-width: 22ch; }
html[data-nw-design] body .svc-service { padding-block: 40px; gap: 32px; grid-template-columns: 40px minmax(0, .9fr) minmax(0, 1.1fr); }
html[data-nw-design] body .svc-service :is(h2,h3) { font-size: clamp(28px, 2.9vw, 42px) !important; font-weight: 500 !important; line-height: 1.12 !important; letter-spacing: -.04em !important; margin: 20px 0; }
html[data-nw-design] body .svc-service__content > p { max-width: 58ch; }
html[data-nw-design] body .svc-cta { min-height: 0; }
html[data-nw-design] body .svc-cta figure { min-height: 520px; }
html[data-nw-design] body .svc-cta h2 { color: #fff !important; }

html[data-nw-design] body .project-detail-hero { padding-top: 144px; padding-bottom: 0; background: #fff; }
html[data-nw-design] body .project-detail-hero .project-word { font-size: var(--nw-page-title); letter-spacing: -.045em; line-height: 1.1; margin-bottom: 40px; }
html[data-nw-design] body .project-detail-image { margin-top: 0; }
html[data-nw-design] body :is(.project-story-title,.section-heading) { gap: 32px; }
html[data-nw-design] body .section-heading { margin-bottom: var(--nw-space-heading); }
html[data-nw-design] body .project-overview { margin-top: var(--nw-space-heading); gap: clamp(32px, 5vw, 80px); }
html[data-nw-design] body .project-description { margin-top: var(--nw-space-section); gap: clamp(32px, 5vw, 80px); }
html[data-nw-design] body .project-description-copy h3 { margin-bottom: 24px; font-size: 12px; font-weight: 600; letter-spacing: .09em; }
html[data-nw-design] body .chapter { min-height: 560px; }
html[data-nw-design] body .chapter-copy { padding: clamp(32px, 5vw, 80px); }
html[data-nw-design] body .chapter-copy h2 { max-width: 20ch; font-size: clamp(30px, 3vw, 44px) !important; }
html[data-nw-design] body .chapter-label { margin-bottom: 24px; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
html[data-nw-design] body .listing-hero { padding-top: 144px; padding-bottom: 64px; }
html[data-nw-design] body [data-projects-page="true"] { padding-inline: var(--nw-inset) !important; }
html[data-nw-design] body .contact-conversion-hero { padding-inline: var(--nw-inset); }
html[data-nw-design] body .contact-inquiry-panel { border-radius: var(--nw-radius); }

/* A gentler CV rhythm, without changing its centered timeline or chronology. */
html[data-nw-design] body .nw-career-heading-row { min-height: 180px; }
html[data-nw-design] body .nw-career__item { min-height: 200px; }
html[data-nw-design] body .nw-career__card h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; line-height: 1.15; }
html[data-nw-design] body [data-nw-career].is-enhanced .nw-career__item:not(.is-active) .nw-career__card { opacity: .7; }

/* Smaller, consistent controls and a calmer page ending. */
html[data-nw-design] body .nw-project-listings__button { min-height: 48px; height: auto; border-radius: 10px; box-shadow: none; font-weight: 500; }
html[data-nw-design] body .nw-shell-header { border-radius: 10px; box-shadow: 0 2px 12px rgb(20 20 24 / 4%); }
html[data-nw-design] body .nw-shell-footer { min-height: 0; padding: var(--nw-space-section) var(--nw-inset) 32px; background: var(--nw-ink); }
html[data-nw-design] body .nw-shell-footer__top { min-height: 0; padding-bottom: 48px; gap: 48px; }
html[data-nw-design] body .nw-shell-footer__intro h2 { max-width: 18ch; font-size: clamp(32px, 3.4vw, 48px); font-weight: 500; line-height: 1.14; letter-spacing: -.04em; margin-bottom: 24px; }
html[data-nw-design] body .nw-shell-footer__intro > p:last-of-type { font-size: 16px; line-height: 1.65; color: #bbb9bd; }
html[data-nw-design] body .nw-shell-footer__brand { height: auto; padding-top: 56px; min-height: 0; align-items: end; }
html[data-nw-design] body .nw-shell-footer__brand strong { font-size: clamp(58px, 9vw, 136px); line-height: 1; transform: none; }
html[data-nw-design] body .site-footer { background: var(--nw-ink); padding: var(--nw-space-section) var(--nw-inset) 32px; }
/* The requested light theme of individual project pages includes their footer. */
html[data-nw-design] body.project-detail-page .site-footer { background: #fff; color: var(--nw-ink); }
html[data-nw-design] body .footer-word { font-size: clamp(64px, 12vw, 164px); margin-top: 48px; line-height: 1; }
html[data-nw-design] body :is(.site-footer,.nw-shell-footer) { padding-bottom: 120px; }
html[data-nw-design] body .nw-shell-footer nav > span { color: #aaa7ae; }
html[data-nw-design] body .nw-viewport-bottom-blur { display: none; }

@media (prefers-reduced-motion: no-preference) {
  html[data-nw-design] body .reveal { transform: translateY(24px); transition: opacity .7s var(--nw-ease), transform .7s var(--nw-ease); }
  html[data-nw-design] body .reveal.is-visible { transform: none; }
  html[data-nw-design] body [data-static-reveal="true"] { transition: opacity .7s var(--nw-ease), transform .7s var(--nw-ease); }
}

@media (max-width: 809.98px) {
  html[data-nw-design] { --nw-space-section: 56px; --nw-space-heading: 32px; --nw-title: clamp(30px, 7.8vw, 40px); }
  html[data-nw-design] body :is(.nw-project-listings__intro,.nw-client-reviews__intro,.our-impact__intro) { gap: 24px; }
  html[data-nw-design] body .nw-client-reviews__summary { flex-basis: auto; }
  html[data-nw-design] body .nw-partner-logo-heading { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  html[data-nw-design] body .nw-partner-logo-heading h2 { grid-column: 1; font-size: 24px; }
  html[data-nw-design] body .nw-partner-logo { padding: 16px; min-height: 96px; }
  html[data-nw-design] body .nw-partner-logo img { max-width: 150px; height: 48px !important; }
  html[data-nw-design] body .nw-partner-logo--portrait img { height: 60px !important; }
  html[data-nw-design] body .svc-services { padding-top: 112px; }
  html[data-nw-design] body .svc-section-heading { grid-template-columns: 1fr; }
  html[data-nw-design] body .svc-section-heading > * { grid-column: 1; }
  html[data-nw-design] body .svc-section-heading > p:last-child { max-width: 58ch; }
  html[data-nw-design] body .svc-service { grid-template-columns: 30px minmax(0, 1fr); gap: 20px; padding-block: 32px; }
  html[data-nw-design] body .svc-service figure { grid-column: 2; }
  html[data-nw-design] body .svc-service__content { grid-column: 2; padding: 0; }
  html[data-nw-design] body .svc-service :is(h2,h3) { font-size: clamp(26px, 6.8vw, 36px) !important; overflow-wrap: anywhere; }
  html[data-nw-design] body .svc-cta figure { min-height: 0; }
  html[data-nw-design] body .project-detail-hero { padding-top: 112px; }
  html[data-nw-design] body .project-detail-hero .project-word { margin-bottom: 28px; }
  html[data-nw-design] body .chapter { min-height: 0; }
  html[data-nw-design] body .chapter-copy { min-height: 0; padding: 40px var(--nw-gutter) 56px; }
  html[data-nw-design] body .listing-hero { padding-top: 112px; padding-bottom: 40px; }
  html[data-nw-design] body .contact-direct { grid-template-columns: 1fr; gap: 20px; }
  html[data-nw-design] body .nw-shell-footer__top { gap: 40px 24px; }
  html[data-nw-design] body .nw-shell-footer__brand { padding-top: 40px; }
  html[data-nw-design] body :is(.site-footer,.nw-shell-footer) { padding-bottom: 144px; }
  html[data-nw-design] body .nw-career-heading-row { display: flex; flex-direction: column; align-items: flex-start; min-height: 0; padding: 0 0 32px 48px; gap: 16px; }
  html[data-nw-design] body .nw-career-heading-row :is(.nw-career-eyebrow,h2) { margin: 0; padding: 0; }
  html[data-nw-design] body .nw-house-sequence .sequence-copy h3 { font-size: 27px; }
  html[data-nw-design] body .nw-house-sequence .sequence-copy--closing h3 { font-size: var(--nw-title); }
}

@media (max-width: 540px) {
  /* Give long German phase titles the full phone width, not a narrow side column. */
  html[data-nw-design] body .svc-service { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  html[data-nw-design] body .svc-service figure,
  html[data-nw-design] body .svc-service__content { grid-column: 1; }
  html[data-nw-design] body .svc-service :is(h2,h3) { hyphens: auto; overflow-wrap: normal; }
}
/* A failed motion bundle must never leave readable content invisible. */
html.nw-motion-fallback body,
html.nw-motion-fallback [data-framer-appear-id] {
  opacity: 1 !important;
  transform: none !important;
}
html.nw-motion-fallback .nw-splash,
html.nw-motion-fallback .splash { display: none !important; }
.nw-not-found { padding-block: clamp(140px, 16vh, 200px) 90px; min-height: 65vh; }
.nw-not-found h1 { max-width: 22ch; font-size: clamp(32px, 5vw, 64px); line-height: 1.1; }
.nw-not-found > p { max-width: 62ch; }
.nw-not-found > div { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 32px; }
.contact-form-help { font-size: 13px; line-height: 1.55; color: #666; overflow-wrap: anywhere; }
.contact-form-help a { text-decoration: underline; text-underline-offset: 3px; }
.contact-form-trap { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; pointer-events: none !important; }
[data-contact-submit]:disabled { cursor: wait; opacity: .65; }
