@font-face {
  font-family: "BD Oswald";
  src: url("../assets/fonts/oswald-cyrillic-600.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "BD Oswald";
  src: url("../assets/fonts/oswald-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "BD PT Serif";
  src: url("../assets/fonts/pt-serif-cyrillic-italic.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "BD PT Serif";
  src: url("../assets/fonts/pt-serif-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
.bd-hero { padding-block: clamp(1.75rem, 3vw, 3.5rem) 1.75rem; }
.bd-hero__frame { --frame-line: #444440; --select: #d680f2; position: relative; }
.bd-hero__canvas {
  position: relative;
  isolation: isolate;
  padding: clamp(1.6rem, 3.25vw, 4rem) clamp(1.25rem, 3.4vw, 4.1rem) clamp(1.6rem, 3vw, 3.5rem);
  border: 1px solid transparent;
}
.bd-hero__sheet {
  position: absolute; z-index: -1; inset: -1px; pointer-events: none;
  border: 1px solid var(--frame-line);
  border-radius: inherit;
  background-color: var(--card);
  background-image: radial-gradient(circle, #ffffff11 .8px, transparent .95px);
  background-size: 18px 18px;
}
.bd-hero__sheet::before, .bd-hero__sheet::after {
  content: ""; position: absolute; width: 8px; height: 8px; top: -4px;
  background: linear-gradient(var(--text-readable),var(--text-readable)) center / 1px 100% no-repeat,
              linear-gradient(var(--text-readable),var(--text-readable)) center / 100% 1px no-repeat;
}
.bd-hero__sheet::before { left: -4px; }
.bd-hero__sheet::after { right: -4px; }
.bd-hero__work { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: clip; border-radius: inherit; }
.bd-hero__work::before, .bd-hero__work::after { content: ""; position: absolute; opacity: .5; }
.bd-hero__work::before { inset: 0 0 auto; height: 5px; background: repeating-linear-gradient(90deg,#999 0 1px,transparent 1px 12px); }
.bd-hero__work::after { inset: 0 auto 0 0; width: 5px; background: repeating-linear-gradient(#999 0 1px,transparent 1px 12px); }
.bd-hero__marquee, .bd-hero__ghost, .bd-hero__gap, .bd-hero__guide, .bd-hero__ink { position: absolute; left: 0; top: 0; }
.bd-hero__marquee { border: 1px solid currentColor; background: color-mix(in srgb, currentColor 5%, transparent); }
.bd-hero__marquee::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 5px; height: 5px; border: 1px solid currentColor; background: var(--background); }
.bd-hero__marquee::before, .bd-hero__gap::before { content: attr(data-size); position: absolute; right: 2px; bottom: 2px; padding: .1rem .35rem; border-radius: var(--radius); background: #242326; color: inherit; white-space: nowrap; font: .7rem/1.4 var(--mono); }
.bd-hero__marquee[data-surface] { background: radial-gradient(circle,#ffffff14 .8px,transparent 1px) 0 0 / 18px 18px, var(--card); }
.bd-hero__marquee[data-text-box] { background: transparent; }
.bd-hero__marquee[data-text-box]::before { top: calc(100% + 2px); bottom: auto; }
.bd-hero__ink { width: 2px; background: currentColor; }
.bd-hero__guide { height: 100%; border-left: 1px dashed var(--select); }
.bd-hero__ghost { display: grid; place-items: center; background: var(--primary); color: var(--background); border-radius: var(--radius); font-size: clamp(.85rem,.95vw,1rem); font-weight: 700; opacity: .85; }
.bd-hero__gap { border-top: 1px solid var(--select); }
.bd-hero__gap::before { top: .15rem; bottom: auto; right: 50%; transform: translateX(50%); color: var(--select); }
.bd-hero ::highlight(bd-hero-untyped) { color: transparent; text-decoration-color: transparent; text-shadow: none; }
.bd-hero__mast { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bd-hero__studio { margin: 0; display: flex; align-items: center; gap: .7rem; font: .75rem/1.3 var(--mono); letter-spacing: .07em; }
.bd-hero__studio > span:not(.bd-hero__studio-mark) { color: #8a8a86; }
.bd-hero__studio-mark { position: relative; width: 1.15rem; height: 1.15rem; margin-right: .2rem; color: var(--primary); }
.bd-hero__studio-mark::before, .bd-hero__studio-mark::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(currentColor,currentColor) center / 23% 100% no-repeat, linear-gradient(currentColor,currentColor) center / 100% 23% no-repeat;
}
.bd-hero__studio-mark::after { transform: rotate(45deg); }
.bd-hero__layout { position: relative; display: grid; grid-template-columns: minmax(0, 1.97fr) minmax(0, 1fr); column-gap: clamp(1.5rem, 3vw, 3.75rem); align-items: start; margin-top: clamp(2.35rem, 3.4vw, 4rem); }
.bd-hero__title {
  margin: 0;
  transform-origin: top left;
  color: #f6f6f1;
  font-size: clamp(4rem, 6.94vw, 7rem);
  font-weight: 700;
  line-height: 1.075;
  letter-spacing: -.06em;
}
.bd-hero__title > span { display: block; width: max-content; max-width: 100%; }
.bd-hero__title[data-face="oswald"], .bd-hero__font-menu [data-face="oswald"] { font-family: "BD Oswald", "Manrope", sans-serif; font-weight: 600; }
.bd-hero__title[data-face="serif"], .bd-hero__font-menu [data-face="serif"] { font-family: "BD PT Serif", "Manrope", serif; font-style: italic; font-weight: 400; }
.bd-hero__title[data-face="oswald"] { letter-spacing: -.032em; }
.bd-hero__title[data-face="serif"] { letter-spacing: -.065em; }
.bd-hero__title > .bd-hero__object { display: table; margin-top: .035em; }
.bd-hero__accent { color: var(--primary); }
.bd-hero__object { position: relative; }
.bd-hero__bounds { --outset-x: -.075em; --outset-y: .055em; position: absolute; z-index: 1; pointer-events: none; inset: var(--outset-y) var(--outset-x) -.095em; border: 1px solid var(--select); color: var(--select); opacity: 0; }
.bd-hero__bounds i { position: absolute; width: 7px; height: 7px; border: 1px solid currentColor; background: var(--background); transform: translate(-50%, -50%); }
.bd-hero__bounds i:nth-child(1) { left: 0; top: 0; }
.bd-hero__bounds i:nth-child(2) { left: 100%; top: 0; }
.bd-hero__bounds i:nth-child(3) { left: 0; top: 100%; }
.bd-hero__bounds i:nth-child(4) { left: 100%; top: 100%; }
.bd-hero__object[data-selected] > .bd-hero__bounds { opacity: 1; }
.bd-hero__copy .bd-hero__bounds, .bd-hero__actions .bd-hero__bounds { inset: -6px; }
.bd-hero__crew { pointer-events: none; position: absolute; inset: 0; z-index: 4; overflow: clip; border-radius: inherit; }
.bd-hero__pointer { position: absolute; top: 0; left: 0; font: 700 .75rem/1.15 "Manrope", sans-serif; letter-spacing: 0; color: var(--pointer-color); white-space: nowrap; }
.bd-hero__pointer svg { display: block; width: 23px; height: 26px; fill: currentColor; stroke: #29262b; stroke-width: 1.3; stroke-linejoin: round; }
.bd-hero__pointer b { position: absolute; top: 20px; left: 14px; padding: .36rem .65rem; background: var(--pointer-color); color: #19171a; border-radius: var(--radius); box-shadow: 0 1px 3px #0003; }
.bd-hero__pointer[data-flip] b { left: auto; right: 12px; }
.bd-hero__pointer[data-above] b { top: auto; bottom: 18px; }
.bd-hero__pointer--art { --pointer-color: var(--select); }
.bd-hero__pointer--type { --pointer-color: #a9c0ff; }
.bd-hero__pointer--design { --pointer-color: var(--primary); }
.bd-hero__pointer[data-tool="frame"] svg, .bd-hero__pointer[data-tool="text"] svg { visibility: hidden; }
.bd-hero__pointer[data-tool="frame"]::before, .bd-hero__pointer[data-tool="text"]::before {
  content: ""; position: absolute; width: 15px; height: 15px; top: -5px; left: -5px;
  background: linear-gradient(currentColor,currentColor) center / 100% 2px no-repeat,
              linear-gradient(currentColor,currentColor) center / 2px 100% no-repeat;
}
.bd-hero__pointer[data-tool="text"]::before { width: 7px; left: 0; background-size: 0, 1.5px 100%; border-block: 1.5px solid; }
.bd-hero__pointer[data-tool="duplicate"] b::before { content: "+"; margin-right: .35em; }
.bd-hero__font-menu {
  --picker-radius: 12px;
  --picker-inset: 6px;
  position: absolute; inset: 0 auto auto 0; z-index: 3; width: 8rem;
  padding: calc(var(--picker-inset) - 1px); border: 1px solid #555052; border-radius: var(--picker-radius);
  background: var(--card-light); color: var(--white); pointer-events: none; opacity: 0;
  font: 700 .875rem/1.25rem "Manrope", sans-serif;
}
.bd-hero__font-menu span { display: block; padding: 4px 9px; border-radius: max(0px, calc(var(--picker-radius) - var(--picker-inset))); }
.bd-hero__font-menu [data-active] { background: #594066; color: #fff; }
.bd-hero__pointer[data-choosing] b { opacity: 0; }
.bd-hero__previous-title { position: absolute; top: 0; left: 0; pointer-events: none; }
@media (max-width: 1024px), (hover: none), (pointer: coarse) {
  .bd-hero__font-menu { display: none; }
}
.bd-hero__side { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(1.25rem, 1.9vw, 2.25rem); }
.bd-hero__picture { width: min(62%, 20rem); margin: -.7rem auto 0; position: relative; }
.bd-hero__picture img { display: block; position: relative; width: 100%; height: auto; mask-image: linear-gradient(#000 85%, transparent); }
.bd-hero__picture[data-placing] { outline-color: var(--primary); }
.bd-hero__picture[data-placing]::before { opacity: 1; }
.bd-hero__offer { width: 100%; }
.bd-hero__copy { margin: 0; max-width: 29rem; font-size: clamp(1rem, 1.22vw, 1.34rem); line-height: 1.55; letter-spacing: -.022em; color: #c6c6c0; }
.bd-hero__verb { position: relative; }
.bd-hero__draft { visibility: hidden; opacity: 0; position: absolute; inset: 0 auto auto 0; color: var(--text-readable); }
.bd-hero__copy[data-draft] .bd-hero__verb > :first-child { opacity: 0; }
.bd-hero__copy[data-draft] .bd-hero__draft { visibility: visible; opacity: 1; }
.bd-hero__copy[data-editing] .bd-hero__draft { background: #594778; color: var(--white); }
.bd-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.1rem; margin-top: 1.5rem; width: fit-content; max-width: 100%; }
.bd-hero__actions a { display: inline-flex; align-items: center; min-height: 3rem; text-decoration: none; font-size: clamp(.85rem, .95vw, 1rem); font-weight: 700; white-space: nowrap; }
.bd-hero__primary { padding: .8rem clamp(.9rem, 1.25vw, 1.6rem); color: #212319; background: var(--primary); border-radius: var(--radius); }
.bd-hero__primary:is(:focus-visible, :active, [data-pressed]) { background: #e5ff86; }
.bd-hero__actions .bd-hero__secondary { color: #f1f1eb; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .32em; text-decoration-color: #84847e; }
.bd-hero__actions .bd-hero__secondary:is(:focus-visible, :active, [data-pressed]) { color: var(--primary); text-decoration-color: currentColor; }
.bd-hero__actions a:is(:active, [data-pressed]) { scale: .97; }
@media (hover: hover) {
  .bd-hero__primary:hover { background: #e5ff86; }
  .bd-hero__actions .bd-hero__secondary:hover { color: var(--primary); text-decoration-color: currentColor; }
}
@media (prefers-reduced-motion: no-preference) {
  .bd-hero__actions a { transition: color 180ms ease-out, background-color 180ms ease-out, text-decoration-color 180ms ease-out, scale 140ms ease-out; }
}
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .bd-hero__picture { outline: 1px solid transparent; transition: outline-color 150ms ease-out; }
  .bd-hero__picture::before { content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 15px; border: 1px solid #85857e; background: linear-gradient(140deg,transparent 49%,#85857e 50% 54%,transparent 55%) center / 80% 70% no-repeat; opacity: 0; transition: opacity 150ms ease-out; }
  .bd-hero__bounds, .bd-hero__pointer b, .bd-hero__verb > :first-child { transition: opacity 150ms ease-out; }
  .bd-hero__draft { transition: opacity 150ms ease-out, visibility 150ms, background-color 150ms ease-out, color 150ms ease-out; }
  .bd-hero__font-menu span { transition: background-color 160ms ease-out, color 160ms ease-out; }
}
.bd-hero__tagline { margin: clamp(2.5rem, 4.6vw, 5.5rem) 0 0; font-size: clamp(.875rem, 1vw, 1rem); color: var(--text-readable); }
.bd-hero__tagline span { color: var(--primary); }
@media (max-width: 67rem) {
  .bd-hero__layout { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.5rem; }
  .bd-hero__title { font-size: 6.5vw; }
  .bd-hero__side { gap: 1.8rem; }
  .bd-hero__actions { gap: .3rem .75rem; }
  .bd-hero__canvas { padding-inline: 2.2vw; }
}
@media (max-width: 54rem) {
  .bd-hero__canvas { padding: clamp(1.1rem, 4vw, 2.1rem); }
  .bd-hero__layout { display: block; margin-top: clamp(2.15rem, 5vw, 3rem); }
  .bd-hero__title { font-size: clamp(2.4rem, 9.3vw, 5rem); }
  .bd-hero__side { margin-top: 3.3rem; gap: 1.8rem; }
  .bd-hero__picture { order: 2; margin-block: 0; }
  .bd-hero__copy { max-width: 37rem; }
  .bd-hero__tagline { margin-top: 2.1rem; }
}
@media (max-width: 32rem) {
  .bd-hero__canvas { padding: 1.5rem .95rem; }
  .bd-hero__sheet { background-size: 15px 15px; }
  .bd-hero__studio { gap: .4rem; font-size: .68rem; letter-spacing: .03em; }
  .bd-hero__studio-mark { width: .85rem; height: .85rem; }
  .bd-hero__title { font-size: 9.7vw; line-height: 1.13; letter-spacing: -.056em; }
  .bd-hero__actions { gap: .65rem 1rem; margin-top: 1.15rem; }
  .bd-hero__tagline { margin-top: 1.6rem; }
}
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) and (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .bd-hero__canvas:not([data-mounted]) > * { animation: bd-hero-boot .6s ease-out; }
  @keyframes bd-hero-boot { 0%, 50% { opacity: 0; } to { opacity: 1; } }
}
