.dialog-wrap { width: min(100%, 76rem); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.dialog-header, .dialog-footer, .dialog-home { --dialog-line: #3a4654; --dialog-muted: #c4bbb1; --dialog-accent: #e3ab75; }
.dialog-header { position: sticky; top: 0; z-index: 40; background: #11171e; border-bottom: 1px solid #3a4654; }
.dialog-header-row { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; position: relative; }
.dialog-brand img { width: 153px; height: auto; max-width: none; }
.dialog-skip { position: absolute; z-index: 60; left: 1rem; top: 1rem; padding: .75rem; background: #1c2530; transform: translateY(-160%); }
.dialog-skip:focus { transform: none; }
.dialog-nav { display: flex; align-items: center; gap: clamp(.9rem,2vw,1.9rem); font-size: .9rem; }
.dialog-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.dialog-nav a:hover, .dialog-nav a[aria-current="page"], .dialog-campaign-nav a:hover, .dialog-footer a:hover, .dialog-footer button:hover { color: var(--dialog-accent); }
.dialog-menu, .dialog-campaign-nav { display: none; }
.dialog-btn { display: inline-flex; justify-content: center; align-items: center; gap: .75rem; min-height: 44px; padding: .72rem 1.15rem; font-size: .875rem; font-weight: 700; text-align: center; line-height: 1.25; }
.dialog-primary { color: #fff; background: var(--color-copper); border: 1px solid var(--color-copper); }
.dialog-primary:hover { background: var(--color-copper-dark); }
.dialog-secondary { border: 1px solid #8f969a; color: #f2ede6; }
.dialog-secondary:hover { background: #28333e; }
.dialog-header-cta { white-space: nowrap; }
.dialog-home h1 { font-size: clamp(2.75rem, 5.8vw, 5.75rem); line-height: 1.02; }
.dialog-home h2 { font-size: clamp(2rem, 3.7vw, 3.35rem); line-height: 1.14; }
.dialog-home h3 { font-size: clamp(1.35rem, 2.6vw, 2.25rem); line-height: 1.2; }
.dialog-home p:not(.dialog-kicker, .dialog-status) { color: var(--dialog-muted); line-height: 1.65; }
.dialog-kicker { color: var(--color-focus); text-transform: uppercase; letter-spacing: .13em; font-weight: 650; font-size: .74rem; line-height: 1.5; }
.dialog-home-hero { position: relative; isolation: isolate; overflow: hidden; background: #1b292d; }
.dialog-hero-layout {
  display: grid;
  align-items: center;
  min-height: clamp(25rem, 40vw, 34rem);
  padding-block: clamp(2.75rem, 6.5vw, 5rem);
}
.dialog-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  text-shadow: 0 1px 8px #1b292d, 0 0 16px #1b292d;
}
.dialog-home .dialog-hero-copy h1 {
  max-width: 17ch;
  margin: .9rem 0 0;
  font-size: clamp(2.25rem, 5.6vw, 4.125rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.dialog-home .dialog-hero-copy .dialog-hero-intro { max-width: 39ch; margin-top: 1rem; color: #cbd0cc; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: .5rem 1.15rem; margin-top: 1.35rem; }
.dialog-hero-link { padding-inline: 0; }
.dialog-hero-link:hover { text-decoration: underline; text-underline-offset: .22em; }
.dialog-hero-art {
  position: absolute;
  inset: -26% -8% -31% 3%;
  pointer-events: none;
  opacity: .8;
  color: #f4c8a4;
  mask-image: linear-gradient(90deg, transparent 2%, #0002 25%, #0005 43%, #000a 64%, #000 88%);
  background-image: linear-gradient(90deg, #f4c8a416 1px, transparent 1px), linear-gradient(#f4c8a416 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center;
}
.dialog-hero-house { display: block; width: 100%; height: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .dialog-hero-house[data-trace] path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .dialog-hero-house[data-trace="drawing"] path {
    animation: dialog-trace-house var(--trace-duration) linear var(--trace-delay) both;
  }
  @keyframes dialog-trace-house { to { stroke-dashoffset: 0; } }
}
.dialog-section { padding-block: clamp(2.5rem, 7vw, 5.5rem); border-top: 1px solid var(--dialog-line); }
.dialog-section-alt { background: #18202a; }
.dialog-section h1, .dialog-section h2 { margin: .55rem 0 0; }
.dialog-section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.75rem; }
.dialog-intro { margin-block: 1rem; max-width: 45rem; }
.dialog-list-title { margin: 2rem 0 1.25rem !important; font-size: clamp(1.5rem, 3vw, 2.5rem) !important; }
.dialog-text-link { color: #f2ede6; text-decoration: underline; text-underline-offset: .28em; font-weight: 650; font-size: .9rem; }
.dialog-text-link:hover { color: var(--dialog-accent); }
.dialog-feature { display: grid; grid-template-columns: 1.2fr 1fr; border: 1px solid var(--dialog-line); background: #18202a; }
.dialog-feature-image img { width: 100%; height: 100%; min-height: 14rem; object-fit: cover; }
.dialog-feature-copy { padding: clamp(1.25rem, 4vw, 2.75rem); display: grid; gap: .75rem; align-content: center; justify-items: start; }
.dialog-status { padding: .25rem .55rem; color: #b7e9c5; background: #173a24; font-size: .8rem; }
.dialog-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.dialog-project-card { background: #18202a; border: 1px solid var(--dialog-line); min-width: 0; }
.dialog-project-card-media { display: block; overflow: hidden; }
.dialog-project-card-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.dialog-project-card-copy { display: grid; gap: .55rem; padding: clamp(1.1rem, 3vw, 1.7rem); }
.dialog-project-card-copy a { justify-self: start; margin-top: .2rem; }
.dialog-ref-grid, .dialog-other-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.dialog-ref-card, .dialog-other-projects a { background: #11171e; border: 1px solid var(--dialog-line); min-width: 0; }
.dialog-ref-card:hover, .dialog-other-projects a:hover { border-color: var(--dialog-accent); }
.dialog-ref-card img, .dialog-ref-type { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.dialog-ref-type { display: grid; place-content: center; font-family: var(--font-serif); font-size: 2rem; line-height: 1.05; color: var(--dialog-accent); background: #202a34; }
.dialog-ref-card > div:last-child, .dialog-other-projects a { padding: 1.15rem; display: grid; gap: .45rem; }
.dialog-ref-card span, .dialog-other-projects a span:last-child { font-size: .85rem; color: var(--dialog-muted); }
.dialog-other-projects strong { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.25; }
.dialog-more { margin-top: 1.5rem; }
.dialog-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); }
.dialog-info-grid > div > p:not(.dialog-kicker) { margin-block: .8rem; }
.dialog-info-grid blockquote { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.5vw, 1.9rem); margin-top: .75rem; border-left: 2px solid #8c5a2b; padding-left: 1rem; }
.dialog-quote-by { font-size: .84rem; }
.dialog-contact-actions { display: grid; gap: .7rem; align-content: center; justify-items: start; }
.dialog-footer { background: #11171e; border-top: 1px solid var(--dialog-line); padding-top: 3rem; }
.dialog-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 1.5rem; }
.dialog-footer-grid-project { grid-template-columns: 1.3fr 1fr 1fr; }
.dialog-footer-grid h2 { font: 700 .9rem var(--font-sans); margin-bottom: .5rem; }
.dialog-footer-grid a, .dialog-footer-grid button, .dialog-footer-grid address, .dialog-footer-grid p { display: block; text-align: left; color: var(--dialog-muted); font: normal .9rem/1.6 var(--font-sans); }
.dialog-footer-grid button { cursor: pointer; }
.dialog-footer-grid .dialog-footer-cta { color: var(--dialog-accent); font-weight: 700; text-decoration: underline; text-underline-offset: .25em; }
.dialog-footer-grid img { width: 153px; height: auto; margin-bottom: .7rem; }
.dialog-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; border-top: 1px solid var(--dialog-line); margin-top: 2rem; padding-block: 1rem 1.3rem; color: var(--dialog-muted); font-size: .76rem; }
.dialog-project-view .dialog-footer { padding-bottom: 4.5rem; }
@media (max-width: 959px) {
  html:has(.dialog-header-campaign) { scroll-padding-top: calc(4rem + 46px + .5rem); }
  .dialog-nav { display: none; }
  .dialog-header-row { min-height: 4rem; }
  .dialog-header-cta { margin-left: auto; }
  .dialog-campaign-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--dialog-line);
    font-size: .875rem;
  }
  .dialog-campaign-nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; }
  .dialog-menu { display: block; }
  .dialog-menu summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: .35rem; font-size: .86rem; }
  .dialog-menu nav { position: absolute; top: 100%; right: 0; left: 0; background: #11171e; border: 1px solid #3a4654; padding: .5rem 1rem; z-index: 45; }
  .dialog-menu nav a { display: flex; padding-block: .7rem; }
  .dialog-ref-grid, .dialog-other-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dialog-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .dialog-header-row { gap: .65rem; }
  .dialog-brand img { width: clamp(85px, 24vw, 115px); }
  .dialog-header-cta { padding-inline: .58rem; font-size: .75rem; }
  .dialog-feature, .dialog-feature-grid, .dialog-info-grid, .dialog-ref-grid, .dialog-other-projects { grid-template-columns: 1fr; }
  .dialog-hero-layout { align-items: start; min-height: 30rem; padding-top: 2rem; }
  .dialog-hero-art {
    inset: 6% -36% -20% -17%;
    mask-image: linear-gradient(149deg, transparent 12%, #0002 40%, #000a 65%, #000 88%);
  }
  .dialog-section-head { align-items: start; flex-direction: column; }
}
