:root {
  color-scheme: dark;
  --bg: #181a17;
  --paper: #f6f2e9;
  --muted: #c6c6b8;
  --gold: #e2c79b;
  --line: #777b6c;
  --surface: #232720;
  --display: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font: 500 1rem/1.55 Manrope, system-ui, sans-serif;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(2.9rem, 7vw, 6.35rem); }
h2 { font-size: clamp(2.6rem, 5vw, 5rem); }
h3 { margin-top: .4rem; font-size: clamp(2.55rem, 4vw, 4.4rem); }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.wrap { width: min(1280px, 92%); margin-inline: auto; }
.skip {
  position: fixed;
  left: 1rem;
  top: -8rem;
  z-index: 2;
  background: var(--paper);
  color: var(--bg);
  padding: .75rem 1rem;
}
.skip:not(:focus) { clip-path: inset(50%); }
.skip:focus { top: 1rem; }

.rail, .footer, .rail nav, .hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem clamp(.65rem, 2vw, 1.65rem);
}
.rail, .footer { justify-content: space-between; }
.rail { padding-block: .6rem; border-bottom: 1px solid var(--line); }
.rail a, .footer a, .text-link {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
}
.wordmark { font-weight: 800; text-decoration: none; }
.plain-link, .text-link { text-decoration-thickness: 1px; text-underline-offset: .28em; }
.plain-link { color: var(--muted); }
.text-link { gap: .4em; overflow-wrap: anywhere; }
.text-link span, .text-link:hover { color: var(--gold); }

.hero {
  display: grid;
  grid-template-columns: minmax(0,.72fr) minmax(0,1.16fr);
  align-items: center;
  gap: clamp(1.6rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 5vw, 4.6rem);
}
@supports (container-type: inline-size) {
  .intro { container-type: inline-size; }
  .intro h1 { font-size: clamp(2.8rem, 16cqi, 6rem); }
}
.intro h1 em { display: block; color: var(--gold); }
.intro p {
  max-width: 37ch;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.125rem);
}
.hero-actions { margin-top: 1.45rem; }
.button {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  min-height: 49px;
  padding: .65rem 1.05rem;
  background: var(--gold);
  color: #201c15;
  text-decoration: none;
  font-weight: 800;
}
.button:hover { background: var(--paper); }
.proof { min-inline-size: 0; align-self: start; }
.proof [hidden] { display: none; }
.proof-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 .35rem;
  margin-bottom: .65rem;
  border-bottom: 1px solid var(--line);
}
.proof .proof-tabs[hidden] { display: flex; visibility: hidden; }
.proof-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  padding: .55rem clamp(.45rem, 1vw, .95rem);
  min-inline-size: 44px;
  min-block-size: 2.75rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.proof-tabs button:hover { color: var(--paper); }
.proof-tabs button[aria-selected="true"] { border-color: var(--gold); color: var(--gold); }
.proof-panel img {
  width: 100%;
  height: auto;
  aspect-ratio: 1100 / 688;
  object-fit: cover;
  background: #262924;
}
.proof-panel { padding: clamp(.55rem,1.15vw,1.1rem); background: var(--surface); }
.proof-caption {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.1rem;
  align-items: center;
  padding-block: .8rem .25rem;
}
.proof-caption p { flex: 1 1 16ch; min-inline-size: 0; overflow-wrap: anywhere; }
.proof-caption p span {
  display: block;
  margin-top: .12rem;
  color: var(--muted);
  font-size: .875rem;
}
.proof-caption .text-link { min-inline-size: 0; max-inline-size: 100%; color: var(--gold); font-weight: 750; font-size: .875rem; }
.proof-caption .text-link:is(:hover, :focus-visible) { color: var(--paper); }
@media (prefers-reduced-motion: no-preference) {
  .proof[data-interacted] .proof-panel:not([hidden]) img { animation: proof-in 240ms ease-out both; }
  @keyframes proof-in {
    from { opacity: .68; }
    to { opacity: 1; }
  }
}

.format-index { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border-block: 1px solid var(--line); }
.format-index a { display: grid; gap: .2rem; min-height: 62px; align-content: center; padding: .6rem clamp(.5rem,1.5vw,1.35rem); text-decoration: none; overflow-wrap: break-word; }
.format-index a + a { border-left: 1px solid var(--line); }
.format-index a:hover, .format-index a:focus-visible { background: var(--surface); }
.format-index strong { font: 600 clamp(1.3rem,2.6vw,2rem)/1.06 var(--display); }
.format-index span { color: var(--muted); font-size: .78rem; }

.samples {
  scroll-margin-top: 1.4rem;
  padding-block: clamp(2.5rem, 6vw, 4.75rem);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,33ch);
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-head p, .card-body p, .demo-note { color: var(--muted); }
.grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(2.1rem,6vw,5rem) clamp(1rem,3.9vw,3.4rem);
}
.sample {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  scroll-margin-top: 1.4rem;
}
.photo {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: #323529;
}
.photo picture { display: block; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.acoustic .photo img { object-fit: contain; background: #e9e1cf; }
.card-body {
  min-width: 0;
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0 1rem;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .25rem .8rem;
  font-size: .84rem;
  color: var(--muted);
}
.card-head strong { color: var(--gold); }
.card-body p { max-width: 43ch; margin-top: .55rem; }
.card-body .scope { color: var(--paper); font-size: .9rem; margin-top: .95rem; }
.card-body .text-link { margin-top: .35rem; }
.case-links { display: flex; flex-wrap: wrap; gap: 0 1rem; align-items: center; margin-top: .45rem; }
.case-links a:first-child { color: var(--gold); font-weight: 740; }
.case-links a:last-child { color: var(--muted); font-size: .88rem; }
.commerce, .featured-case {
  grid-column: 1/-1;
  grid-template-columns: repeat(2,minmax(0,1fr));
  grid-template-rows: 1fr;
  gap: clamp(1.2rem, 3.5vw, 3rem);
  align-items: end;
}
.commerce .card-body { align-self: stretch; display: flex; flex-direction: column; justify-content: end; }
.real-cases { border-top: 1px solid var(--line); }
.real-cases:focus { outline: none; }
.real-cases:focus-visible #cases-title {
  text-decoration: underline 1px var(--gold);
  text-underline-offset: .16em;
}
.real-cases .photo { aspect-ratio: 1100 / 688; }
.real-cases .card-head data { white-space: nowrap; }
.real-case-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem 1rem; margin-top: .85rem; }
.real-case-actions .text-link { margin-top: 0; color: var(--gold); font-weight: 740; }
.real-cases .text-link:is(:hover, :focus-visible) { color: var(--paper); }
.featured-case .card-body { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }

.demo-note { margin-top: 2.4rem; max-width: 65ch; font-size: .9rem; }

.project {
  background: #e9e1cf;
  color: var(--bg);
  padding-block: clamp(2.75rem, 6vw, 5.5rem);
}
.project-inner {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(1.5rem, 5vw, 5rem);
}
.project-inner p { margin-top: 1rem; max-width: 47ch; color: #403d32; }
.project-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.15rem; margin-top: 1.1rem; }
.project-actions .contact-call { background: var(--bg); color: var(--paper); border-color: var(--bg); flex-wrap: wrap; max-inline-size: 100%; }
.project-actions .contact-call:hover { background: #343c33; }
.contact-call span { min-inline-size: 0; overflow-wrap: anywhere; }
.project-action { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-weight: 740; text-underline-offset: .22em; overflow-wrap: anywhere; }
.project-inner ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid #8c8370; }
.project-inner li { padding-block: .75rem; border-bottom: 1px solid #8c8370; }
.project-inner li span { display: block; margin-top: .25rem; color: #403d32; }
.project-inner li a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-weight: 740; text-underline-offset: .22em; overflow-wrap: anywhere; }
.footer { padding-block: .85rem; font-size: .88rem; color: var(--muted); }
.not-found { padding-block: clamp(2.5rem, 8vw, 7rem); }
.not-found p { margin-block: 1rem 1.5rem; max-width: 42ch; }

@media (max-width: 740px) {
  .hero, .section-head, .grid, .commerce, .featured-case, .project-inner { grid-template-columns: minmax(0,1fr); }
  .hero { padding-block: 2.65rem 2.4rem; gap: 2rem; }
  .hero-actions { margin-top: 1.05rem; }
  .format-index { grid-template-columns: repeat(auto-fit, minmax(min(max(122px, 6rem), 100%), 1fr)); }
  .format-index a { grid-template-columns: minmax(0, 1fr); border: 1px solid var(--line); border-block-start: 0; }
  .format-index a + a { border-left: 1px solid var(--line); }
  .commerce, .featured-case { grid-column: auto; gap: 0; grid-template-rows: auto 1fr; }
}
@media (max-width: 450px) {
  .rail { gap: 0 .55rem; padding-block: .4rem; }
  .rail a { min-block-size: max(44px, 1.55em); }
  .rail nav { row-gap: min(.6rem, 12px); }
  .hero { padding-block-start: min(2.65rem, 46px); }
  .intro h1 { font-size: min(clamp(2.6rem, 14cqi, 4.4rem), 20.5cqi); }
  .proof-caption { flex-direction: column; align-items: stretch; gap: 0; }
  .proof-caption p { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (forced-colors: active), (prefers-contrast: more) {
  .proof-tabs button[aria-selected="true"] { text-decoration: underline double; text-underline-offset: .22em; }
}
@media (forced-colors: active) {
  :is(a, button):focus-visible { outline-color: Highlight; }
}

.package-compare { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); border-block: 1px solid var(--line); }
.package-compare summary { min-height: 54px; padding: .75rem 0; color: var(--paper); cursor: pointer; font-size: clamp(1rem, 2.5vw, 1.3rem); font-weight: 750; }
.package-compare > p { max-width: 57ch; color: var(--muted); margin: .1rem 0 .75rem; overflow-wrap: anywhere; }
.package-compare dl { margin: 0; }
.package-compare dl > div { display: grid; grid-template-columns: minmax(0, .56fr) minmax(0, 1.3fr) minmax(0, .42fr); align-items: start; gap: .55rem clamp(.75rem, 3vw, 2rem); padding: .85rem 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.package-compare dt { color: var(--gold); font: 600 clamp(1.3rem, 2.8vw, 1.8rem)/1.06 var(--display); }
.package-compare dd { margin: 0; color: var(--muted); }
.package-compare dd strong { color: var(--paper); }
.package-compare dd p + p { margin-top: .35rem; }
.package-compare a { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); text-decoration: underline; text-underline-offset: .24em; }
@media (max-width: 740px) {
  .package-compare dl > div { grid-template-columns: minmax(0, 1fr); gap: .55rem; }
}
