:root {
  --ink: #162632;
  --muted: #4c5860;
  --hero: #162632;
  --accent: #efb35e;
  --paper: #f8f7f3;
  --line: #d2d4d0;
  color: var(--ink);
  background: var(--paper);
  font: 100%/1.55 "DM Sans", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body, p, h1, h2, h3, blockquote, h4 { margin: 0; }
.wrap { width: min(calc(100% - 7rem), 75rem); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: absolute; z-index: 2; background: white; padding: 12px; }
a { color: inherit; text-underline-offset: .28em; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.mast, nav, .identity, .actions { display: flex; align-items: center; }
.mast { justify-content: space-between; }
.mast { min-height: 5.3rem; gap: 1.5rem; }
.identity { flex: 0 1 11.5rem; min-height: 44px; }
.identity img { display: block; width: 100%; height: auto; }
nav { gap: 1.75rem; font-size: .94rem; }
nav a { text-decoration: none; }
nav a:last-child { font-weight: 650; }
.hero { background: var(--hero); color: #faf9f6; }
.hero-inner { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(2rem,5vw,5rem); align-items: center; padding-block: clamp(3rem,5vw,5rem); }
.project-gallery { min-width: 0; }
.project-gallery h2.kicker { margin-bottom: .7rem; font-family: "IBM Plex Mono", Consolas, monospace; font-size: .84rem; letter-spacing: .08em; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .75rem; }
.project-grid article { background: #f0efe9; color: var(--ink); border: 1px solid #d9dad5; border-radius: 4px; padding: clamp(1rem,2vw,1.5rem); }
.project-grid h3 { font: 400 clamp(1.35rem,2.2vw,1.9rem)/1.08 "Instrument Serif", Georgia, serif; letter-spacing: -.035em; margin: .5rem 0 .6rem; }
.project-grid h3 a { text-decoration-thickness: 1px; text-underline-offset: .14em; }
.project-kind { font-weight: 650; color: var(--muted); font-size: .87rem; }
.related-work { display: inline-block; margin-top: .7rem; font-size: .88rem; font-weight: 600; }
.integration-wrap { background: #eeede7; border-bottom: 1px solid var(--line); }
.integration { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(2rem,6vw,6rem); padding-block: clamp(3rem,5vw,5rem); }
.integration h2 { margin: .6rem 0 1rem; }
.signal-path { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem .6rem; padding: 0; margin: 1rem 0 0; font-size: .9rem; font-weight: 650; }
.signal-path li:not(:last-child)::after { content: "→" / ""; margin-left: .6rem; color: var(--muted); }
.email-example { margin: 0; border: 1px solid #babfbd; border-radius: 7px; padding: clamp(1.1rem,2.8vw,2rem); background: var(--paper); min-width: 0; }
.email-example figcaption { color: var(--muted); font-size: .88rem; }
.email-subject { margin-top: 1rem; font-weight: 650; }
.email-subject span { margin-right: .5rem; color: var(--muted); font-weight: 400; }
.email-body { border-top: 1px solid var(--line); margin-top: .65rem; padding-top: 1rem; }
.email-body code { font: 400 .93rem/1.55 "IBM Plex Mono", Consolas, monospace; overflow-wrap: anywhere; }
.hotel-wrap { border-bottom: 1px solid var(--line); }
.hotel { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(2rem,6vw,6rem); padding-block: clamp(3rem,5vw,5rem); }
.hotel h2 { margin: .6rem 0 1rem; }
.hotel-scale {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #eeede7;
  border: 1px solid var(--line);
  border-radius: .45rem;
}
.hotel-scale div { display: flex; flex-direction: column-reverse; gap: .35rem; padding: clamp(1rem, 3vw, 2.5rem); }
.hotel-scale div + div { border-left: 1px solid var(--line); }
.hotel-scale dt { color: var(--muted); font-size: .92rem; font-weight: 650; }
.hotel-scale dd { margin: 0; font: 400 clamp(2.65rem,6vw,5.25rem)/1 "Instrument Serif", Georgia, serif; letter-spacing: -.065em; }
.compare-section { padding-block: clamp(3rem,5vw,5rem); }
.comparison { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(2rem,6vw,6rem); }
.comparison-copy h2 { margin: .6rem 0 1rem; }
.comparison .panel-showcase { background: var(--hero); color: #fff; padding: clamp(.7rem, 2.5vw, 1.5rem); border-radius: .55rem; }
.worship-feature { padding-block: clamp(2.75rem,5vw,4.5rem); border-top: 1px solid var(--line); background: #eeede7; }
.worship-lead { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(1.5rem,5vw,4.5rem); }
.worship-feature h2 { margin: .6rem 0 1rem; }
.worship-feature h3 { font-size: 1.13rem; margin-bottom: .4rem; }
.study-label { display: flex; flex-wrap: wrap; gap: .2rem 1rem; margin-top: 2rem; border-top: 1px solid var(--line); padding: 1.15rem 0; font-weight: 650; }
.macro-pair { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 clamp(1rem,2.5vw,2rem); }
.macro-pair figure { display: grid; grid-template-rows: subgrid; grid-row: span 3; align-content: start; margin: 0; min-width: 0; }
.macro-pair figcaption { padding-bottom: .85rem; }
.macro-image { display: block; align-self: start; border-radius: .75rem; overflow: hidden; cursor: zoom-in; }
.macro-image img { display: block; width: 100%; height: auto; }
.macro-pair .related-work { justify-self: start; }
.command-examples { display: flex; flex-wrap: wrap; gap: .35rem; margin: .4rem 0 .6rem; padding: 0; border: 0; }
.command-examples label { position: relative; cursor: pointer; }
.command-examples input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.command-examples span { display: grid; align-items: center; min-height: 48px; padding: .45rem .8rem; border: 1px solid #9ca4a4; border-radius: .35rem; font-size: .92rem; font-weight: 650; }
.command-examples input:checked + span { background: #25292c; border-color: #25292c; color: white; }
.command-examples input:focus-visible + span { outline: 3px solid #365971; outline-offset: 2px; }
.macro-setup:has(input[value="dmx"]:checked) .example-etc,
.macro-setup:has(input[value="etc"]:checked) .example-dmx { display: none; }
@media (max-width: 62rem) {
  .macro-pair { grid-template-columns: 1fr; gap: 1.65rem; }
  .macro-pair figure { display: block; }
}
.kicker { font: 500 .83rem/1.5 "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; }
.kicker { text-transform: uppercase; letter-spacing: .095em; }
.hero .kicker { color: #c6d0d6; }
h1, h2, blockquote { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
h1 { max-width: 10em; margin-block: 1.25rem; font-size: clamp(3.4rem,5.8vw,5.7rem); letter-spacing: -.06em; line-height: .99; }
h1 em { display: block; color: var(--paper); font-weight: 400; }
.lede { max-width: 30rem; font-size: 1.16rem; color: #dde3e6; line-height: 1.55; }
.actions { gap: 1.5rem; flex-wrap: wrap; margin-top: 1.9rem; }
.cta, summary, button { font: 650 .97rem/1.4 "DM Sans", "Helvetica Neue", Arial, sans-serif; cursor: pointer; }
.cta { display: inline-block; background: var(--accent); padding: .8rem 1.15rem; border-radius: 3px; text-decoration: none; color: var(--ink); }
.cta:hover { background: #f6c581; }
.textlink { font-size: .96rem; font-weight: 550; }

h2 { font-size: clamp(2.4rem,4.1vw,3.65rem); line-height: 1.04; letter-spacing: -.05em; }
.scope { display: grid; grid-template-columns: 1.12fr .85fr 1.5fr; align-items: center; gap: 2.1rem; padding-block: 3.8rem; }
.scope h2 { margin-top: .7rem; }
.price { border-left: 1px solid var(--line); padding: .3rem 0 .3rem 2rem; }
.price strong { font-size: 3.35rem; font-weight: 550; letter-spacing: -.07em; line-height: 1.15; display: block; }
.price span { color: var(--muted); }
.terms p + p { margin-top: .65rem; }
.request p { max-width: 32rem; margin-top: 1rem; }
.request { display: grid; grid-template-columns: 1.25fr 1fr; gap: 8%; align-items: start; padding-block: 4.3rem; }
details { padding-top: .35rem; }
summary { width: fit-content; color: var(--paper); background: var(--hero); padding: .85rem 1.25rem; border-radius: 3px; }
.inquiry { margin-top: 1rem; }
label { display: block; margin-bottom: .6rem; }
textarea { width: 100%; resize: vertical; min-height: 8rem; border: 1px solid #899399; padding: .8rem; font: inherit; background: white; color: var(--ink); }
button { margin-top: .5rem; border: 1px solid #7a868c; border-radius: 3px; padding: .55rem .85rem; color: var(--hero); background: white; }
.contact-info { min-width: 0; }
.contact-info .contact-name { margin: 0; }
.contact-address, .inquiry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin-top: .5rem; }
.contact-address a { font-weight: 650; overflow-wrap: anywhere; }
.contact-address button, .inquiry-actions button { margin: 0; min-height: 44px; }
.contact-info details { margin-top: 1rem; }
.contact-info summary { background: transparent; color: var(--ink); padding: .55rem 0; text-decoration: underline; text-underline-offset: .28em; }
.contact-info [role="status"]:not(:empty) { display: block; margin-top: .4rem; font-size: .875rem; }
footer { border-top: 1px solid var(--line); font-size: .91rem; padding: 1.4rem 0; }
.footer-identity { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 2rem; }
.footer-identity img { width: 8.5rem; height: auto; }
.footer-identity p { color: var(--muted); }
.panel-showcase { min-width: 0; }
.demo-heading { margin-bottom: .8rem; }
.demo-heading h2 { line-height: 1.4; font-family: inherit; font-size: 1.15rem; font-weight: 600; letter-spacing: 0; }
.demo-heading span { color: #d1d9dd; font-size: .87rem; }
.demo-tabs { display: flex; width: fit-content; border: 1px solid #89989f; border-radius: 5px; padding: 3px; margin-bottom: .8rem; }
.demo-tabs button { margin: 0; padding: .45rem 1.1rem; color: white; background: transparent; border: 0; }
.demo-tabs [aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.panel-face { background: #f3f4ed; color: #173c35; border: 8px solid #132825; border-radius: 17px; box-shadow: 0 11px 22px #052a2366, 0 0 0 1px #8da79b; padding: clamp(1rem, 2.3vw, 2.1rem); }
.panel-head, .panel-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.panel-head { border-bottom: 1px solid #c3cec3; padding-bottom: .9rem; }
.panel-cap, .screen-id { font: 500 .79rem/1.4 "IBM Plex Mono", Consolas, monospace; color: #486158; }
.panel-head h3 { font-size: clamp(1.5rem,2.35vw,2.05rem); letter-spacing: -.06em; line-height: 1.2; }
.panel-face fieldset { margin: 1rem 0; padding: 0; border: 0; min-width: 0; }
.panel-face legend, .panel-row > span { font-size: .93rem; font-weight: 650; margin-bottom: .3rem; }
.source-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.panel-face button { min-height: 46px; border-radius: 6px; margin: 0; }
.panel-face button:active { transform: scale(.98); }
.panel-face button[aria-pressed="true"] { color: #fff; background: #21584d; }
.panel-row { border-block: 1px solid #c3cec3; padding: .65rem 0; }
.panel-row button { min-width: 6.5rem; }
.readback { margin-top: .85rem; font-size: .91rem; }
.panel-face[data-mode="before"] { background: #dadddf; color: #27343c; }
.panel-face[data-mode="before"] h3, .panel-face[data-mode="before"] button, .panel-face[data-mode="before"] .readback { font-family: Consolas, monospace; }
.panel-face[data-mode="before"] button { border-radius: 0; border: 2px outset #89979a; background: #e7ecee; color: #27343c; }
.panel-face[data-mode="before"] button[aria-pressed="true"] { background: #3d5160; color: white; }
.services-wrap { border-top: 1px solid var(--line); }
.services { display: grid; grid-template-columns: .85fr 1.3fr; gap: 8%; padding-block: 3.6rem; }
.services h2 { margin-top: .7rem; }
.service-list article + article { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.service-list h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.service-list a { display: inline-block; margin-top: .65rem; }
@media(max-width: 58rem) {
  .wrap { width: calc(100% - 3rem); }
  .hero-inner { gap: 2rem; }
  .scope { gap: 1.3rem; grid-template-columns: 1fr .8fr 1.4fr; }
}
@media(max-width: 58rem) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-inner h1 { max-width: 14em; }
  .hero-inner h1 em { display: inline; }
}
@media(max-width: 44rem) {
  .worship-lead { grid-template-columns: 1fr; gap: .5rem; }
  .wrap { width: calc(100% - 2.5rem); }
  .mast { min-height: 4.4rem; gap: .8rem; }
  .identity { flex-basis: 9.25rem; }
  nav { font-size: .875rem; } nav a:first-child { display: none; }
  .hero-inner, .hotel, .integration, .comparison, .services, .request { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.8rem; }

  .scope { grid-template-columns: 1fr auto; padding-block: 2.7rem; }
  .price { padding-left: 1rem; } .price strong { font-size: 2.6rem; } .price span { font-size: .875rem; }
  .terms { grid-column: 1/-1; }
  .request { gap: 1.2rem; }
}
@media(max-width: 23rem) {
  .source-buttons { grid-template-columns: minmax(0, 1fr); }
  .panel-face { padding: .65rem; }
  .panel-row button { min-width: 0; }
  .hotel-scale dd { font-size: 2.65rem; }
  .scope { grid-template-columns: 1fr; }
  .price { border: none; padding-left: 0; } .actions { gap: .9rem; }
}

@media(max-width: 32rem) {
  .project-grid { grid-template-columns: 1fr; }
  nav a[href="#services"] { display: none; }
}
