@font-face {
  font-family: "Open Sans";
  src: url("./fonts/OpenSans-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("./fonts/OpenSans-Bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("./fonts/OpenSans-ExtraBold.woff") format("woff");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #111;
  --paper: #fff;
  --silver: #efeee8;
  --poster-paper: #f0efe9;
  --poster-accent: #e9ff36;
  --gray: #484847;
  --light-type: #d5d5d2;
  --gutter: clamp(1.15rem, 5vw, 5.5rem);
  --section-space: clamp(4.1rem, 7.2vw, 7.4rem);
  font-family: "Open Sans", Arial, sans-serif;
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 94px;
}
*,
*::before,
*::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 800; overflow-wrap: break-word; }
h1 { font-size: clamp(3rem, 5.2vw, 5.65rem); line-height: 1.01; letter-spacing: -.069em; }
h2 { font-size: clamp(2.3rem, 4.2vw, 4.6rem); line-height: 1.045; letter-spacing: -.061em; }
h3 { font-size: clamp(1.35rem, 2.05vw, 2.05rem); line-height: 1.13; letter-spacing: -.04em; }
p { line-height: 1.57; }
a { color: inherit; text-decoration: none; }
a, summary { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
main:focus { outline: 0; }
.wrap { width: min(1440px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section-heading { margin-bottom: clamp(1.8rem, 3vw, 3rem); }
.section-heading h2 { max-width: 20ch; }
.section-heading .intro { margin-top: 1.4rem; }
.kicker {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: inherit;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.kicker::before {
  display: block;
  width: 24px;
  height: 9px;
  flex: none;
  content: "";
  transform: skewX(-29deg);
  background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px);
}
.kicker + :is(h1,h2) { margin-top: clamp(.9rem, 1.45vw, 1.55rem); }
.intro { max-width: 49ch; color: var(--gray); font-size: clamp(1rem, 1.2vw, 1.17rem); }
.button, .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  padding: .85rem 1.32rem;
  border: 1px solid currentColor;
  font-size: .94rem;
  line-height: 1.35;
  font-weight: 800;
  text-align: center;
}
.button-paper { border-color: #fff; color: var(--ink); background: #fff; }
.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 42px;
  padding-block: .42rem;
  font-weight: 700;
  font-size: .94rem;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
}
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 12; padding: .8rem 1rem; background: #fff; color: #111; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 9;
  background: var(--ink);
  color: #fff;
  border-bottom: 1px solid #3b3b39;
}
.header-grid { min-height: 72px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: clamp(.85rem, 2vw, 2.2rem); }
.brand { flex-shrink: 0; width: 86px; display: inline-block; }
.brand img { width: 100%; }
.main-nav { display: flex; justify-content: center; align-items: center; gap: clamp(.7rem, 1.75vw, 2rem); }
.main-nav a, .footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--light-type); font-size: .86rem; font-weight: 700; line-height: 1.4; }
.header-actions { display: flex; align-items: center; gap: 1rem; justify-self: end; }
.header-cta { min-height: 40px; padding: .55rem .85rem; border-color: #737371; font-size: .84rem; }
.language-menu { position: relative; font-size: .86rem; font-weight: 700; }
.language-menu summary {
  display: flex;
  align-items: center;
  gap: .38rem;
  min-height: 42px;
  cursor: pointer;
  list-style: none;
  color: #eee;
}
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary svg { flex: none; width: 16px; height: 16px; }
.language-menu summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-2px) rotate(45deg); margin-left: .2rem; }
.language-menu[open] summary::after { transform: translateY(2px) rotate(225deg); }
.language-list {
  position: absolute; right: 0; top: calc(100% + .38rem); z-index: 10;
  min-width: 170px; max-height: min(65vh, 410px); overflow: auto;
  margin: 0; padding: .28rem;
  background: #fff; color: var(--ink); list-style: none;
  border: 1px solid #aaa; box-shadow: 0 8px 26px #0003;
}
.language-list a { display: flex; justify-content: space-between; align-items: center; gap: .55rem; padding: .58rem .76rem; min-height: 40px; }
.language-list a:hover, .language-list a:focus-visible { background: #e5e5e2; outline-offset: -3px; }
.language-list a[aria-current] { background: var(--ink); color: #fff; }
.language-list a[aria-current]::after { content: "✓"; font-size: .85rem; }

/* A single full-bleed print surface. The copy and the loose objects share the same canvas. */
.collage-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--poster-paper);
  color: var(--ink);
  --brush: #20211e;
  --sparks: #859000;
  --lead: #383935;
}
.collage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .19;
  background-image: radial-gradient(currentColor .73px, transparent .95px);
  background-size: 5px 5px;
  mask-image: radial-gradient(ellipse at 83% 67%, black 0%, transparent 55%);
}
.collage-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  min-height: clamp(490px, 39vw, 640px);
}
.collage-copy {
  position: relative;
  z-index: 2;
  padding-block: clamp(3.5rem, 6vw, 6rem);
  min-width: 0;
}
.collage-copy h1 {
  max-width: 18ch;
  font-size: clamp(2.8rem, 4.8vw, 5.45rem);
  line-height: 1.02;
  letter-spacing: -.058em;
  text-wrap: balance;
  hyphens: manual;
}
.collage-copy .kicker { letter-spacing: .115em; }
.collage-lead {
  max-width: 46ch;
  margin-top: clamp(1rem, 1.6vw, 1.5rem);
  color: var(--lead);
  font-size: clamp(1.02rem, 1.25vw, 1.23rem);
  line-height: 1.5;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.35rem; margin-top: clamp(1.25rem, 2.25vw, 2rem); }
.poster-button { color: #fff; background: var(--ink); border-color: var(--ink); }
.poster-button::after, .product-copy .text-link::after {
  content: "";
  width: .73em;
  height: .73em;
  flex: none;
  margin-inline-start: .8em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  background: linear-gradient(135deg, transparent 41%, currentColor 42% 57%, transparent 58%);
}
.hero-layers {
  position: relative;
  align-self: stretch;
  min-width: 0;
  pointer-events: none;
}
.hero-layers::before {
  content: "";
  position: absolute;
  inset: 34% -47% 7% -3%;
  background: var(--brush);
  mask: url("./art/ink-cut.svg") center / 100% 100% no-repeat;
  transform: rotate(-13deg);
}
.hero-layers::after {
  content: "";
  position: absolute;
  top: 15%; right: 6%;
  width: clamp(1.5rem, 3.1vw, 3.25rem);
  aspect-ratio: 1;
  transform: rotate(14deg);
  background: var(--sparks);
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 60%, 50% 100%, 40% 61%, 0 50%, 38% 38%);
}
.hero-object {
  position: absolute;
  inset: 5% -2% 0 auto;
  width: 100%;
  height: 90%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 .45rem .15rem #16171126);
}
.home-hero .hero-object { inset: 2% -1% auto auto; height: 98%; width: 106%; }

.products { color: var(--ink); background: var(--paper); overflow: clip; }
.product-grid, .format-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1.25rem,3.8vw,4.75rem); }
.product-grid { align-items: start; }
.product-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,.85fr);
  align-items: center;
  border-top: 2px solid var(--ink);
  padding-block: clamp(1.35rem,2.15vw,2.5rem) .5rem;
}
.product-card:nth-child(2) { margin-top: clamp(1.75rem,3.4vw,4rem); }
.product-cutout {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  margin-inline: -6% -9%;
  transform: rotate(5deg);
  pointer-events: none;
}
.product-card:nth-child(2) .product-cutout { transform: rotate(-7deg); }
.product-copy { position: relative; grid-column: 1; grid-row: 1; min-width: 0; }
.product-copy h3 { font-size: clamp(1.5rem,2.15vw,2.32rem); text-wrap: balance; }
.product-copy > p { max-width: 40ch; margin-top: .65rem; color: var(--gray); }
.product-copy .product-metric { font-size: .85rem; color: #464740; font-weight: 700; line-height: 1.45; }
.product-copy .text-link { margin-top: .65rem; }
.product-copy .text-link::after { width: .6em; height: .6em; margin-inline-start: .5em; }
.service-hook { width: clamp(5.5rem,9vw,9.5rem); margin: 1rem 0 -1.3rem 25%; transform: rotate(15deg); }

.services { overflow: clip; background: var(--silver); color: var(--ink); }
.services-layout { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.18fr); gap: clamp(2rem,7vw,8rem); }
.services-layout .section-heading { margin-bottom: 0; }
.service-list { border-top: 2px solid currentColor; }
.service-row { display: grid; grid-template-columns: 2.6rem minmax(0,1fr); gap: clamp(.8rem,1.7vw,1.6rem); padding: clamp(1.35rem, 2.1vw, 2.16rem) 0; border-bottom: 1px solid #b1b1ad; }
.service-row p, .process-grid p, .format-card p { margin-top: .64rem; color: var(--gray); }
.service-mark { display: block; width: 31px; height: 31px; margin-top: .18rem; position: relative; color: var(--ink); }
.service-mark::before, .service-mark::after { content: ""; position: absolute; display:block; }
.mark-paid::before { inset: 5px 3px 4px; transform: skew(-16deg); border: 2px solid currentColor; }
.mark-paid::after { inset: 10px 10px 9px; background: currentColor; transform: skew(-16deg); }
.mark-data::before { inset: 4px 2px 3px; background: currentColor; clip-path: polygon(0 70%, 23% 70%, 23% 45%, 39% 45%, 39% 77%, 56% 77%, 56% 24%, 72% 24%, 72% 48%, 87% 48%, 87% 0, 100% 0, 100% 100%, 0 100%); }
.mark-crm::before { width: 23px; height: 23px; top: 1px; left: 0; border: 2px solid currentColor; border-radius: 50%; }
.mark-crm::after { width: 22px; height: 22px; bottom: 0; right: 0; border: 2px solid currentColor; border-radius: 50%; }

.results { color: #fff; background: #191919; }
.operator-experience { margin: 0 0 clamp(2.5rem, 5vw, 5rem); padding-bottom: 1.5rem; border-bottom: 1px solid #555; display: grid; grid-template-columns: minmax(9rem, 1fr) minmax(0, 2.4fr); gap: 1.5rem; align-items: start; }
.operator-experience p { max-width: 64ch; font-size: clamp(1rem, 1.3vw, 1.18rem); color: #dadada; line-height: 1.6; }
@media (max-width: 640px) { .operator-experience { grid-template-columns: 1fr; gap: .65rem; } }
.split-heading { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.8fr); align-items: end; gap: clamp(1.2rem, 4.4vw, 5rem); }
.results .intro, .contact .intro { color: var(--light-type); }
.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(.7rem, 1.3vw, 1.25rem); }
.result-card { display: flex; flex-direction: column; min-width: 0; align-items: flex-start; color: var(--ink); background: #f6f6f3; padding: clamp(1.25rem,2.1vw,2.4rem); border-top: 4px solid #bcbcb7; }
.demo-label { color: #4e4e49; font-size: .8rem; font-weight: 700; letter-spacing: .01em; }
.result-card h3 { margin-top: .95rem; font-size: clamp(1.24rem,1.63vw,1.67rem); }
.result-value { display: block; margin-top: .8rem; font-size: clamp(2.6rem,4.3vw,4.7rem); font-weight: 800; line-height: 1.12; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.result-evidence { width: 100%; margin: 1.2rem 0 1rem; padding: .75rem 0; border-block: 1px solid #c5c5bf; }
.result-evidence p { color: #292928; font-size: .89rem; font-weight: 700; line-height: 1.46; }
.result-evidence p + p { margin-top: .38rem; }
.result-explanation { color: #474743; font-size: .94rem; }

.process { background: var(--paper); color: var(--ink); }
.process-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; margin: 0; padding: 0; border-top: 1px solid #82827d; }
.process-grid li { min-width: 0; position: relative; padding: clamp(1.6rem, 2.45vw, 2.7rem) clamp(1.2rem,2vw,2.2rem) 0 0; }
.process-grid li + li { padding-left: clamp(1.2rem, 2.2vw, 2.3rem); }
.process-grid li::before { content: ""; position: absolute; left: 0; top: -4px; width: 8px; height: 8px; background: var(--ink); }
.process-grid li + li::before { left: clamp(1.2rem, 2.2vw, 2.3rem); }
.process-grid li:last-child { padding-right: 0; }
.formats { border-top: 1px solid #c8c8c3; background: var(--silver); color: var(--ink); }
.format-card { min-width: 0; border-top: 2px solid #151515; display: flex; flex-direction: column; align-items: flex-start; padding-top: 1.2rem; }
.format-card p { max-width: 52ch; margin-bottom: .85rem; }
.format-card .text-link { margin-top: auto; }
.contact { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.contact-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,.6fr); align-items: center; gap: 2rem; }
.contact-copy { position: relative; z-index: 1; }
.contact h2 { max-width: 19ch; font-size: clamp(2.55rem, 4.75vw, 5rem); }
.contact .intro { margin: 1.25rem 0 1.6rem; }
.contact-mark {
  min-height: 155px; height: 70%; max-height: 310px;
  background: repeating-linear-gradient(112deg, #262626 0 8%, transparent 8% 11%, #343434 11% 13%, transparent 13% 18%);
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
}
.footer { color: #fff; background: var(--ink); border-top: 1px solid #41413e; }
.footer-inner { min-height: 90px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-inline-end: 60px; }
.footer .brand { width: 75px; }
.footer-links { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; }
.telegram-widget {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 6;
  display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #646464; border-radius: 50%; color: #fff;
  background: #151515; box-shadow: 0 2px 10px #0002;
}
.telegram-widget svg { margin: 2px 0 0 2px; }

@media (hover: hover) {
  .poster-button:hover { color: var(--ink); background: var(--poster-accent); border-color: var(--ink); }
  .product-card:focus-within .product-cutout img, .product-card:hover .product-cutout img { transform: translateY(-3px) rotate(-1deg); }
  .header-cta:hover { border-color: #fff; color: var(--ink); background: var(--paper); }
  .button-paper:hover { border-color: #d9d9d4; background: #d9d9d4; }
  .text-link:hover, .main-nav a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: .32em; text-decoration-thickness: 2px; }
  .telegram-widget:hover { color: var(--ink); background: #fff; }
}
@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: smooth; }
  .button, .header-cta, .telegram-widget { transition: background-color .17s ease, color .17s ease, border-color .17s ease; }
  .hero-layers .hero-object { animation: poster-sway 8s ease-in-out infinite alternate; }
  .product-cutout img { transition: transform .28s ease; }
  .has-entered { animation: settle .42s ease-out both; }
  @keyframes poster-sway { from { transform: translateY(0) rotate(-.6deg); } to { transform: translateY(-.38rem) rotate(.65deg); } }
  @keyframes settle { from { transform: translateY(6px); } to { transform: none; } }
}

@media (max-width: 1050px) {
  .header-grid { column-gap: .75rem; }
  .main-nav { gap: .8rem; }
  .main-nav a { font-size: .8rem; }
  .header-actions { gap: .65rem; }
  .header-cta { padding-inline: .65rem; }

}
@media (max-width: 900px) {
  .masthead .header-cta { display: none; }
  .header-grid { min-height: 64px; }
  .collage-inner { min-height: 420px; }
  .collage-copy { padding-block: 3.4rem; }
  .collage-copy h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
  .services-layout { gap: 2.4rem; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); }
  .result-grid { grid-template-columns: 1fr; }
  .result-card { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); column-gap: 1.7rem; }
  .result-card > :nth-child(-n+3) { grid-column: 1; }
  .result-card h3 { margin-top: .5rem; }
  .result-evidence { grid-column: 2; grid-row: 2; margin: 0; padding-top: 0; border-top: 0; }
  .result-explanation { grid-column: 2; grid-row: 3; margin-top: .6rem; }
}
@media (max-width: 700px) {
  :root { --gutter: clamp(1rem,4.5vw,1.9rem); scroll-padding-top: 104px; }
  .header-grid { grid-template-columns: 1fr auto; gap: 0 1rem; }
  .masthead .brand { width: 72px; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .main-nav {
    grid-column: 1 / -1; grid-row: 2; width: 100%; min-width: 0; justify-content: flex-start;
    gap: clamp(.55rem, 2vw, 1rem); overflow-x: auto; scrollbar-width: none; border-top: 1px solid #383835;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { white-space: nowrap; min-height: 37px; }
  .header-grid > .brand, .header-actions { margin-block: 4px; }
  .collage-inner { grid-template-columns: 1fr; min-height: 0; }
  .collage-copy { padding-block: clamp(2.3rem,7vw,3.5rem) .55rem; }
  .collage-copy h1 { font-size: clamp(2.2rem, 7.7vw, 3.45rem); max-width: 19ch; }
  .collage-lead { max-width: 48ch; margin-top: .85rem; }
  .hero-layers { width: 100%; height: clamp(13rem, 44vw, 19rem); margin-top: .25rem; }
  .hero-layers::before { inset: 34% -35% 2% -25%; transform: rotate(-6deg); }
  .hero-layers::after { top: 22%; right: 7%; }
  .hero-object, .home-hero .hero-object { inset: 0 3% auto auto; width: 83%; height: 100%; object-position: center; }
  .product-card { grid-template-columns: minmax(0,1fr) 31%; }
  .product-copy { display: contents; }
  .product-copy h3 { grid-area: 1 / 1 / 2 / -1; }
  .product-copy > p { grid-column: 1; }
  .product-copy .text-link { grid-column: 1 / -1; }
  .product-cutout { grid-row: 2 / 4; }
  .product-card:nth-child(2) { margin-top: 0; }
  .product-cutout { max-width: 15rem; justify-self: end; }
  .services-layout .section-heading { position: relative; padding-inline-end: clamp(4rem, 16vw, 7.75rem); }
  .service-hook { position: absolute; right: -1rem; top: -.5rem; width: clamp(4.5rem, 17vw, 7rem); margin: 0; transform: rotate(-12deg); }
  .hero-actions { margin-top: 1.2rem; }
  .product-grid, .services-layout, .split-heading, .format-grid, .contact-layout { grid-template-columns: 1fr; }
  .product-grid { gap: 1.65rem; }
  .section-heading h2 { max-width: 23ch; }
  .services-layout { gap: 1.6rem; }
  .split-heading { gap: .9rem; }
  .split-heading .intro { margin: 0; }
  .process-grid { display: block; border-top: 0; }
  .process-grid li, .process-grid li + li { margin-left: 3px; border-left: 1px solid #a3a39e; padding: 0 0 1.5rem 1.35rem; }
  .process-grid li::before, .process-grid li + li::before { left: -4.5px; top: .55em; }
  .process-grid li:last-child { padding-bottom: 0; }
  .format-grid { gap: 1.8rem; }
  .contact-mark { display: none; }
  .footer-inner { align-items: start; padding-block: .9rem 4rem; padding-inline-end: 0; }
  .footer-links { justify-content: flex-end; gap: 0 1rem; }
}
@media (max-width: 520px) {
  .result-card { display: flex; gap: 0; }
  .result-card h3 { margin-top: .6rem; }
  .result-value { font-size: clamp(2.65rem, 10.6vw, 3.7rem); margin-top: .7rem; }
  .result-evidence { border-top: 1px solid #c5c5bf; margin-top: .85rem; padding: .6rem 0; }
  .hero-actions .button { min-height: 44px; }
  .telegram-widget { right: 13px; bottom: 13px; width: 44px; height: 44px; }
}
@media (forced-colors: active) {
  .kicker::before, .contact-mark, .hero-layers::before, .hero-layers::after { display:none; }
  .service-mark, .result-card, .product-card, .button, .telegram-widget { border: 1px solid CanvasText; }
}

.project-brief[hidden] { display: none; }
.project-brief {
  width: min(100%, 40rem);
  margin-block: 1.25rem 0;
  color: #f6f5f1;
  border-block: 1px solid #595958;
  text-align: left;
}
.project-brief summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.project-brief summary::-webkit-details-marker { display: none; }
.project-brief summary::after { content: "+"; font: 1.4rem/1 monospace; }
.project-brief[open] summary::after { content: "−"; }
.brief-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-block: .4rem 1.3rem;
}
.brief-fields label { display: grid; align-content: start; gap: .37rem; font-size: .9rem; font-weight: 600; }
.brief-wide { grid-column: 1 / -1; }
.brief-fields :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 2.8rem;
  padding: .6rem .65rem;
  border: 1px solid #737373;
  border-radius: 0;
  color: #fff;
  background: #171719;
  font: inherit;
  font-size: 1rem;
}
.brief-fields textarea { resize: vertical; }
.brief-primary, .brief-edit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 2.8rem;
  padding: .55rem .9rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid currentColor;
  border-radius: 0;
}
.brief-fields .brief-primary { grid-column: 1 / -1; background: #f4f3ef; color: #101010; }
.brief-preview {
  position: fixed;
  inset: 0;
  width: min(31rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  margin: auto;
  overflow-y: auto;
  border: 1px solid #303030;
  padding: clamp(1.2rem, 4vw, 2rem);
  background: #f4f3ef;
  color: #151515;
  text-align: left;
}
.brief-preview::backdrop { background: rgb(0 0 0 / .72); }
.brief-preview h2 { margin: 0; color: inherit; font-size: clamp(1.45rem, 4vw, 2rem); line-height: 1.12; }
.brief-preview p { margin: .7rem 0; color: #434343; line-height: 1.5; }
.brief-preview dl { margin-block: 1.1rem; }
.brief-preview dt { padding-block-start: .5rem; border-top: 1px solid #bfbfbb; font-size: .85rem; font-weight: 700; }
.brief-preview dd { margin: .2rem 0 .55rem; overflow-wrap: anywhere; white-space: pre-wrap; }
.brief-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.brief-actions .brief-primary { color: #fff; background: #111; border-color: #111; }
.brief-edit { color: #161616; background: transparent; }
@media (max-width: 32rem) {
  .brief-fields { grid-template-columns: minmax(0, 1fr); }
}
