/* 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/dm-serif.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
}
:root {
  --paper: #f1d9d5;
  --ink: #342b36;
  --accent: #473749;
  --panel: #fff8ed;
  --on-accent: #fff6ef;
  --rule: color-mix(in srgb, var(--ink) 28%, transparent);
  --body: Body, Arial, sans-serif;
  --display: Display, Georgia, serif;
  --gutter: clamp(1.2rem, 5vw, 6rem);
  --sample-ink: #241d1f;
  --blue-label: #465f71;
  --sage-label: #4c5b4a;
  --old-blue: #5e7384;
  --old-sage: #696e58;
  --blue: #728b9b;
  --clay-label: #875238;
  --rose-label: #876365;
  --sage: #a1a487;
  --old-clay: #bd6c4c;
  --clay: #be7958;
  --rose: #ce9290;
  --old-rose: #cf9a98;
  --trim: #e8dccb;
  --chip-lettering: #fffdf4;
  --sample-paper: #fffdf4;
  --light-sheen: #ffffff28;
  --moulding: #ffffff65;
  --high-sheen: #ffffff70;
}
* {
  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 {
  border-bottom: 1px solid var(--ink);
}
.brand {
  font-style: italic;
}
.paint-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
  gap: 5vw;
  align-items: center;
  padding-block: 3.5rem 4.8rem;
  background: var(--paper);
}
.paint-hero h1 {
  font-size: clamp(4rem, 8.5vw, 9rem);
}
.sample {
  background: var(--panel);
  padding: 0.85rem;
  transform: rotate(2deg);
  box-shadow: 0.4rem 0.55rem 0 var(--ink);
}
.sample img {
  height: clamp(19rem, 31vw, 32rem);
}
.sample figcaption {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.7rem 0.15rem 0.1rem;
}
.stripes {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 2fr 1fr 3fr 1.5fr;
  height: 1rem;
}
.stripes i:nth-child(1) {
  background: var(--old-sage);
}
.stripes i:nth-child(2) {
  background: var(--old-clay);
}
.stripes i:nth-child(3) {
  background: var(--old-rose);
}
.stripes i:nth-child(4) {
  background: var(--old-blue);
}
.story figure img {
  border-radius: 48% 48% 0 0;
}
.paint-panel {
  min-height: 12rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  position: relative;
  border-bottom: 1.3rem solid var(--trim);
}
.paint-panel:before {
  content: "";
  position: absolute;
  inset: 18% 13%;
  border: 5px ridge var(--moulding);
}
.paint-panel b {
  position: relative;
  padding: 0.3rem 0.65rem;
  color: var(--sample-ink);
  background: var(--sample-paper);
}
.sample-0 {
  background: var(--sage);
}
.sample-1 {
  background: var(--rose);
}
.sample-2 {
  background: var(--blue);
}
.sample-3 {
  background: var(--clay);
}
.finish-1 {
  background-image: linear-gradient(
    115deg,
    transparent 40%,
    var(--light-sheen) 60%,
    transparent 85%
  );
}
.finish-2 {
  background-image: linear-gradient(
    115deg,
    transparent 25%,
    var(--high-sheen) 45%,
    transparent 75%
  );
}
@media (max-width: 720px) {
  .paint-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding-block: 2rem 2.6rem;
  }
  .sample {
    margin-inline: 0.4rem;
  }
  .sample img {
    height: 15rem;
  }
}

:where(img) {
  height: auto;
}
/* Paint samples and timber are presented on a decorator’s sample board. */
:root {
  --paper: #f5f2ea;
  --ink: #383e43;
  --panel: #dbe4df;
  --accent: #394e52;
  --on-accent: #fffaf0;
}
.paint-hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: stretch;
  gap: 0;
  padding-block: 0;
  border-bottom: 1px solid var(--ink);
}
.paint-hero .intro {
  padding: clamp(2rem, 4.5vw, 5rem) clamp(1.5rem, 3vw, 3rem)
    clamp(2rem, 4.5vw, 5rem) 0;
}
.paint-hero h1 {
  font-size: clamp(4.2rem, 8.3vw, 8.7rem);
  font-weight: 400;
}
.paint-hero .sample {
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 0;
  box-shadow: none;
  transform: none;
  background: var(--panel);
  border: 1px solid var(--ink);
}
.paint-hero .sample img {
  flex: 1;
  min-height: 0;
  height: 17rem;
  object-fit: cover;
}
.paint-hero .sample figcaption {
  padding: 0.65rem 0.85rem;
  background: var(--paper);
  border-top: 1px solid var(--ink);
}
.paint-hero .stripes {
  position: static;
  grid-column: 1/-1;
  height: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1.3rem;
}
.stripes i {
  min-height: 4rem;
  display: flex;
  align-items: end;
  padding: 0.55rem 0.75rem;
  font: 600 0.86rem/1.2 var(--body);
  color: var(--chip-lettering);
}
.stripes i:nth-child(1) {
  background: var(--sage-label);
}
.stripes i:nth-child(2) {
  background: var(--clay-label);
}
.stripes i:nth-child(3) {
  background: var(--rose-label);
}
.stripes i:nth-child(4) {
  background: var(--blue-label);
}
@media (max-width: 720px) {
  .paint-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .paint-hero .intro {
    padding: 1.8rem 0 1.25rem;
  }
  .paint-hero .sample {
    margin: 0 0 1rem;
  }
  .paint-hero .sample img {
    height: 12rem;
    flex: auto;
  }
  .stripes i {
    min-height: 3rem;
    font-size: 0.75rem;
    padding: 0.5rem 0.3rem;
  }
}
