@font-face {
  font-family: "BWE Oswald";
  src: url("oswald.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
}

.bwe {
  container: bwe / inline-size;
  isolation: isolate;
  width: 100%;
  max-width: 66rem;
  margin: 0 auto;
  border: 1px solid #d4d4d4;
  border-radius: 0.875rem;
  overflow: hidden;
  background: #fff;
  color: #151515;
  font: 400 1rem/1.5 Inter, Arial, sans-serif;
  text-align: left;
  color-scheme: light;
}
.bwe, .bwe *, .bwe *::before, .bwe *::after { box-sizing: border-box; }
.bwe [hidden] { display: none !important; }
.bwe p, .bwe h2, .bwe h3, .bwe dl, .bwe dt, .bwe dd, .bwe form { margin: 0; padding: 0; }
.bwe .bwe-intro { position: relative; overflow: hidden; background: #131313; color: #fff; }
.bwe[data-visual="tattoo"] .bwe-intro::before {
  content: "";
  position: absolute;
  inset: 0 0 0 48%;
  background: linear-gradient(90deg,#131313 0%,rgba(19,19,19,.46) 34%,rgba(19,19,19,.08) 68%),
    url("tattoo-studio.jpg") 55% 51% / cover no-repeat;
}
.bwe .bwe-intro-copy { position: relative; padding: 2.15rem clamp(1.5rem,5cqw,3.65rem) 2.1rem; }
.bwe .bwe-kicker { display: flex; gap: .65rem; align-items: center; color: #d4d4d4; font-size: .75rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4; }
.bwe .bwe-kicker span { color: #838383; }
.bwe .bwe-title { margin: .75rem 0; color: #fff; font: 600 clamp(2.75rem,5.8cqw,4.15rem)/1.02 "BWE Oswald", Oswald, "Arial Narrow", sans-serif; letter-spacing: -.028em; text-transform: uppercase; }
.bwe .bwe-lead { max-width: 32rem; width: 57%; color: #ebebeb; font-size: 1rem; line-height: 1.47; }
.bwe .bwe-terms { margin-top: 1.15rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .45rem; font-size: .84rem; line-height: 1.4; color: #eee; }
.bwe .bwe-terms span { color: #a6a6a6; }
.bwe .bwe-panel { padding: 1.65rem clamp(1.5rem,5cqw,3.65rem) 2.1rem; color: #151515; background: #fff; }
.bwe .bwe-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; font-size: .87rem; }
.bwe .bwe-service { color: #222; font-weight: 650; }
.bwe .bwe-count { color: #595959; text-align: right; font-variant-numeric: tabular-nums; }
.bwe .bwe-track { height: .25rem; margin: .55rem 0 1.5rem; overflow: hidden; background: #e7e7e7; border-radius: 1rem; }
.bwe .bwe-track span { display: block; height: 100%; background: #161616; }
.bwe .bwe-heading { margin: 0 0 1rem; color: #151515; font: 550 clamp(1.8rem,4.3cqw,2.52rem)/1.14 "BWE Oswald", Oswald, "Arial Narrow", sans-serif; letter-spacing: -.025em; text-transform: none; scroll-margin-block: 6rem; }
.bwe .bwe-heading:focus { outline: none; }
.bwe .bwe-hint { margin: -.48rem 0 1.1rem; color: #555; font-size: 1rem; line-height: 1.45; }
.bwe .bwe-grid, .bwe .bwe-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
.bwe .bwe-grid[data-count="3"] { grid-template-columns: repeat(3,minmax(0,1fr)); }
.bwe .bwe-grid[data-count="5"] > :last-child { grid-column: 1 / -1; }
.bwe button, .bwe input { margin: 0; font: inherit; text-transform: none; letter-spacing: normal; }
.bwe button { cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.bwe button:focus-visible, .bwe input:focus-visible, .bwe summary:focus-visible, .bwe a:focus-visible { outline: 3px solid #222; outline-offset: 3px; }
.bwe button.bwe-tile {
  display: flex; flex-direction: column; align-items: stretch; justify-content: space-between;
  position: relative; gap: 1.05rem; min-height: 6.75rem; min-width: 0; padding: 1.04rem 1.12rem;
  border: 1px solid #c9c9c9; border-radius: .55rem; box-shadow: none; color: #181818; background: #fff;
  text-align: left; font-size: 1rem; font-weight: 600; line-height: 1.32; white-space: normal; overflow-wrap: anywhere;
}
.bwe .bwe-glyph { display: block; flex: 0 0 auto; width: 1.55rem; height: 1.55rem; color: currentColor; }
.bwe .bwe-area { display: block; margin-top: .2rem; color: #474747; font-size: .93rem; font-weight: 450; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bwe .bwe-dimensions { display: block; margin-top: .12rem; color: #505050; font-size: .86rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.bwe .bwe-other-sizes { display: flex; flex-wrap: wrap; gap: 0 1.1rem; margin-top: .5rem; }
.bwe .bwe-other-sizes [aria-pressed="true"] { color: #151515; font-weight: 650; }
.bwe .bwe-tile::after { content: ""; position: absolute; inset: 1.09rem 1.07rem auto auto; width: .83rem; height: .83rem; border-radius: 50%; border: 1px solid #aaa; }
.bwe .bwe-tile[aria-pressed="true"] { background: #f3f3f3; border-color: #171717; }
.bwe .bwe-tile[aria-pressed="true"]::after { background: #171717; border: 3px double #fff; outline: 1px solid #171717; }
@media (hover: hover) { .bwe .bwe-tile:hover { border-color: #151515; background: #f6f6f6; } }
.bwe .bwe-actions { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; justify-content: space-between; margin-top: 1.3rem; }
.bwe button.bwe-back, .bwe button.bwe-edit { border: 0; min-height: 2.75rem; padding: .25rem .25rem .25rem 0; background: transparent; box-shadow: none; color: #454545; font-size: .94rem; text-decoration: underline; text-underline-offset: .18em; }
.bwe .bwe-field { display: grid; gap: .35rem; font-size: .94rem; color: #222; font-weight: 600; }
.bwe .bwe-field input { display: block; width: 100%; min-width: 0; min-height: 3rem; padding: .65rem .8rem; border: 1px solid #929292; border-radius: .4rem; color: #131313; background: #fff; font-size: 1rem; font-weight: 400; box-shadow: none; }
.bwe .bwe-trap { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(100%) !important; }
.bwe .bwe-photos { min-width: 0; margin: 1.25rem 0 0; padding: 0; border: 0; }
.bwe .bwe-captcha { display: grid; gap: .4rem; min-width: 0; margin: 1rem 0 0; padding: 0; border: 0; }
.bwe .bwe-captcha legend { margin-bottom: .35rem; padding: 0; color: #222; font-size: 1rem; font-weight: 650; }
.bwe .bwe-captcha-status { color: #444; font-size: .9rem; line-height: 1.45; }
.bwe .bwe-captcha-status:empty { display: none; }
.bwe .bwe-captcha .bwe-edit { justify-self: start; }
.bwe .bwe-captcha-demo { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; font-size: .95rem; }
.bwe .bwe-captcha-demo input { width: 1.1rem; height: 1.1rem; accent-color: #161616; }
.bwe .bwe-photos legend { padding: 0; font-size: 1rem; font-weight: 650; color: #222; }
.bwe .bwe-photo-help, .bwe .bwe-photo-status { max-width: 40rem; color: #505050; font-size: .92rem; }
.bwe .bwe-photo-help { margin: .25rem 0 .55rem; }
.bwe .bwe-photo-label { display: grid; gap: .3rem; width: fit-content; max-width: 100%; color: #444; font-size: .89rem; }
.bwe .bwe-file { display: block; max-width: 100%; min-width: 0; padding: .1rem 0; font-size: .9rem; color: #444; }
.bwe .bwe-file::file-selector-button { min-height: 2.75rem; margin-right: .5rem; padding: .45rem .8rem; border: 1px solid #888; border-radius: .4rem; color: #171717; background: #fafafa; font: inherit; cursor: pointer; }
.bwe .bwe-photo-list { display: flex; align-items: start; gap: .65rem; flex-wrap: wrap; }
.bwe .bwe-photo-row { display: grid; gap: .1rem; width: 7.8rem; max-width: 100%; margin-top: .6rem; }
.bwe .bwe-photo-row img { display: block; height: 5rem; width: 100%; object-fit: contain; border: 1px solid #ddd; border-radius: .4rem; background: #f6f6f6; }
.bwe .bwe-photo-row button { text-align: left; font-size: .87rem; }
.bwe .bwe-photo-status:not(:empty) { margin-top: .35rem; }
.bwe .bwe-details { margin: 1.1rem 0 0; padding: .15rem 0; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.bwe .bwe-details summary { display: list-item; padding: .85rem .1rem; cursor: pointer; font-size: .94rem; font-weight: 600; color: #333; }
.bwe .bwe-details dl { display: grid; grid-template-columns: minmax(7rem,1fr) minmax(0,1.8fr); gap: .42rem .9rem; padding: .25rem 0 .95rem; font-size: .94rem; }
.bwe .bwe-details dt { color: #616161; } .bwe .bwe-details dd { color: #181818; overflow-wrap: anywhere; }
.bwe .bwe-privacy, .bwe .bwe-message, .bwe .bwe-note { margin-top: 1rem; max-width: 44rem; font-size: .94rem; line-height: 1.5; color: #4a4a4a; }
.bwe a { color: #222; text-decoration: underline; text-underline-offset: .18em; }
.bwe .bwe-message:not(:empty) { padding: .85rem 1rem; border-left: 3px solid #333; background: #f1f1f1; color: #111; }
.bwe .bwe-message:empty { display: none; }
.bwe button.bwe-submit { min-height: 3rem; padding: .75rem 1.4rem; white-space: normal; background: #131313; color: white; border: 1px solid #131313; border-radius: 2rem; font-size: 1rem; font-weight: 600; }
.bwe .bwe-submit:hover { background: #333; }
.bwe button:disabled { opacity: .65; cursor: wait; }
.bwe .bwe-done-icon { width: 2.7rem; height: 2.7rem; display: grid; place-items: center; margin: .25rem 0 1rem; color: #fff; background: #171717; border-radius: 50%; }
.bwe .bwe-confirm { display: grid; justify-items: start; gap: .6rem; max-width: 39rem; margin: 1.2rem 0; padding: 1rem; border: 1px solid #d3d3d3; border-radius: .55rem; }
.bwe .bwe-confirm h4 { margin: 0; color: #191919; font: 550 1.4rem/1.2 "BWE Oswald", Oswald, sans-serif; }
.bwe .bwe-code { font-weight: 650; font-variant-numeric: tabular-nums; }
.bwe .bwe-wa { display: inline-flex; align-items: center; min-height: 2.9rem; padding: .55rem 1rem; background: #171717; color: #fff; border: 0; border-radius: 2rem; font-weight: 600; white-space: normal; text-align: center; text-decoration: none; }
.bwe .bwe-wa:disabled { cursor: default; }
.bwe .bwe-panel pre { white-space: pre-wrap; overflow-wrap: anywhere; font: .9rem/1.55 ui-monospace, monospace; }
@container bwe (max-width: 40rem) {
  .bwe .bwe-intro-copy { padding: 1.5rem; }
  .bwe .bwe-title { font-size: clamp(2.3rem,8.5cqw,3.15rem); }
  .bwe .bwe-lead { width: 82%; }
  .bwe[data-visual="tattoo"] .bwe-intro::before { inset-inline-start: 40%; opacity: .39; }
  .bwe .bwe-panel { padding: 1.3rem 1.4rem 1.5rem; }
  .bwe .bwe-grid[data-count="3"] { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bwe .bwe-grid[data-count="3"] > :last-child { grid-column: 1/-1; }
  .bwe .bwe-tile { min-height: 6.1rem; gap: .8rem; padding: .9rem; }
}
@container bwe (max-width: 28rem) {
  .bwe .bwe-intro-copy { padding: 1.3rem 1.1rem; }
  .bwe .bwe-kicker { gap: .45rem; font-size: .75rem; letter-spacing: .075em; }
  .bwe .bwe-lead { width: 100%; }
  .bwe .bwe-terms { margin-top: .85rem; }
  .bwe .bwe-panel { padding: 1.1rem; }
  .bwe .bwe-track { margin-bottom: 1.15rem; }
  .bwe .bwe-fields { grid-template-columns: 1fr; }
  .bwe .bwe-grid { gap: .5rem; }
  .bwe .bwe-actions:has(.bwe-submit) { flex-direction: column-reverse; align-items: stretch; }
  .bwe .bwe-back { align-self: flex-start; }
}
@container bwe (max-width: 19rem) {
  .bwe .bwe-grid, .bwe .bwe-grid[data-count="3"] { grid-template-columns: 1fr; }
  .bwe button.bwe-tile { min-height: 3.7rem; align-items: center; justify-content: flex-start; flex-direction: row; padding-right: 2.2rem; }
  .bwe .bwe-details dl { grid-template-columns: 1fr; }
}
