/* Hallmark: custom local-business edition. */
/* Reviewed for a legible first action and distinct working tools. */
@font-face {
  font-family: Body;
  src: url("./fonts/dm-sans.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 1000;
}
@font-face {
  font-family: Display;
  src: url("./fonts/bricolage.woff2") format("woff2");
  font-display: swap;
  font-weight: 200 800;
}
:root {
  --paper: #f5f5ed;
  --ink: #192d67;
  --accent: #213d93;
  --panel: #efe667;
  --on-accent: #fffef0;
  --rule: color-mix(in srgb, var(--ink) 28%, transparent);
  --body: Body, Arial, sans-serif;
  --display: Display, Georgia, serif;
  --gutter: clamp(1.2rem, 5vw, 6rem);
  --grid-line: #34449416;
  --lamp-glow: #dabf4480;
}
* {
  box-sizing: border-box;
}
html,
body {
  overflow-x: clip;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
.wrap {
  width: min(100%, 1540px);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.23em;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3 {
  min-width: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}
h1,
h2 {
  font-family: var(--display);
  line-height: 1.02;
  font-weight: var(--dw, 400);
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(3.8rem, 7.8vw, 8rem);
}
h2 {
  font-size: clamp(2.3rem, 5.3vw, 5rem);
}
h3 {
  font-size: 1.22rem;
  line-height: 1.25;
}
p {
  max-width: 60ch;
  text-wrap: pretty;
}
p + p {
  margin-top: 1em;
}
img {
  display: block;
  max-width: 100%;
  width: 100%;
  object-fit: cover;
}
section[id] {
  scroll-margin-top: 1rem;
}
.skip {
  position: absolute;
  top: -8rem;
  left: 1rem;
  z-index: 5;
  background: var(--paper);
  color: var(--ink);
  padding: 0.7rem;
}
.skip:focus {
  top: 1rem;
}
.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
}
.brand {
  font: var(--dw, 400) clamp(1.35rem, 2.2vw, 2.1rem)/1 var(--display);
  text-decoration: none;
  letter-spacing: -0.04em;
}
.mast nav {
  display: flex;
  gap: clamp(1.1rem, 3vw, 3rem);
  align-items: center;
}
.mast nav a {
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
}
.mast a:hover {
  text-decoration: underline;
}
.intro p {
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.5;
  max-width: 40ch;
  margin-block: 1.4rem 1.7rem;
}
.action,
button.primary {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.45rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.action:hover,
button:hover {
  filter: brightness(0.92);
}
.band {
  padding-block: clamp(3.6rem, 7vw, 7.5rem);
}
.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 7vw, 8rem);
  align-items: center;
}
.story img {
  aspect-ratio: 4/3;
}
.story p {
  margin: 1.1rem 0;
}
.list {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}
.list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  border-top: 1px solid var(--rule);
  padding: 0.8rem 0;
}
.list li strong,
.list li span {
  max-width: 66%;
}
.list span,
.fine {
  font-size: 0.93rem;
}
.studio {
  background: var(--panel);
}
.studio-frame {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}
.studio-frame > div > p {
  margin-top: 1rem;
}
.tool {
  line-height: 1.5;
}
.tool fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 1.1rem;
}
.tool legend,
.tool label.control {
  display: block;
  font-weight: 700;
  margin-bottom: 0.55rem;
}
.tool select {
  max-width: 100%;
  padding: 0.65rem 0.85rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 0;
}
.options,
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.tool button:not(.primary) {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule);
  min-height: 2.65rem;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
}
.tool button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.tool .result {
  border-top: 2px solid var(--ink);
  margin-top: 1.4rem;
  padding-top: 1.1rem;
}
.result h3 {
  margin-bottom: 0.35rem;
}
.tool output {
  display: block;
}
.tool small {
  font-size: 0.875rem;
}
.end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  border-top: 1px solid var(--rule);
  padding-block: 1.7rem;
  font-size: 0.85rem;
}
.end a {
  white-space: nowrap;
}
.meta {
  font-size: 0.9rem;
}
.hero-pic {
  height: 100%;
  object-fit: cover;
}
.hero-pic-box {
  min-width: 0;
  overflow: hidden;
}
@media (max-width: 720px) {
  .mast {
    min-height: 4rem;
  }
  .mast nav {
    gap: 1rem;
  }
  .mast nav a {
    font-size: 0.87rem;
  }
  .mast nav a:nth-child(n + 3) {
    display: none;
  }
  .story,
  .studio-frame {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
  }
  .end {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .band {
    padding-block: 3.7rem;
  }
}
@media (max-width: 370px) {
  .mast nav a:nth-child(n + 2) {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::after,
  *::before {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

.mast {
  background: var(--paper);
}
.brand {
  font-weight: 900;
  letter-spacing: -0.075em;
}
.relay-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: stretch;
  background: var(--panel);
  padding-block: 2.8rem;
  gap: 2rem;
}
.relay-hero .intro {
  align-self: center;
}
.relay-hero h1 {
  font-weight: 800;
  font-size: clamp(4.2rem, 8.1vw, 8.7rem);
  line-height: 0.91;
}
.relay-hero figure {
  clip-path: polygon(16% 0, 100% 0, 100% 83%, 84% 100%, 0 100%, 0 17%);
}
.relay-hero img {
  height: 100%;
  max-height: 29rem;
  min-height: 23rem;
}
.relay-track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-block: 1.2rem;
}
.relay-track:before {
  content: "";
  height: 0.23rem;
  background: var(--ink);
  position: absolute;
  inset-inline: var(--gutter);
}
.relay-track i {
  z-index: 1;
  width: 0.95rem;
  height: 0.95rem;
  border: 3px solid var(--ink);
  background: var(--paper);
  border-radius: 50%;
}
.studio {
  border-top: 4px solid var(--ink);
}
.plan-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 7.5rem;
  border: 2px solid var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 1rem 1rem;
  margin: 1rem 0;
}
.plan-grid i {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 3px solid var(--ink);
}
.plan-grid .lit {
  background: var(--panel);
  box-shadow: 0 0 0 0.5rem var(--lamp-glow);
}
.relay-hero .action {
  box-shadow: 0.24rem 0.24rem 0 var(--paper);
}
@media (max-width: 720px) {
  .relay-hero {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 1.8rem;
    gap: 1.5rem;
  }
  .relay-hero img {
    min-height: 0;
    height: 13rem;
  }
  .relay-hero figure {
    clip-path: polygon(7% 0, 100% 0, 100% 83%, 93% 100%, 0 100%, 0 17%);
  }
}

:where(img) {
  height: auto;
}
