/* Hallmark custom · Saltline Barber · Coastal barbershop and grooming */
/* Critique: each section follows the business-specific action and its materials. */
@font-face {
  font-family: "barlow-condensed";
  src: url("./fonts/barlow-condensed.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "dm-sans";
  src: url("./fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #e7e8e3;
  --ink: #19252d;
  --accent: #d08167;
  --deep: #172129;
  --salmon: #efaa88;
  --light: #f7f2e5;
  --line: #828883;
  --shade: #17212999;
  --display: "barlow-condensed", Georgia, serif;
  --body: "dm-sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  overflow-x: clip;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
.wrap {
  width: min(calc(100% - clamp(2.25rem, 9vw, 9rem)), 82rem);
  margin-inline: auto;
}
h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3,
.signature {
  font-family: var(--display);
  line-height: 1.02;
  letter-spacing: -0.04em;
  overflow-wrap: break-word;
  min-width: 0;
  font-weight: 400;
}
h1 {
  font-size: clamp(3.45rem, 7.4vw, 7.5rem);
}
h2 {
  font-size: clamp(2.3rem, 4.3vw, 4.6rem);
  text-wrap: balance;
}
h3 {
  font-size: clamp(1.45rem, 2.7vw, 2.5rem);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
button,
select {
  font: inherit;
  color: inherit;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button:disabled,
select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 5.25rem;
}
.brand,
.signature {
  color: inherit;
  text-decoration: none;
}
.brand {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.055em;
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 2rem);
}
nav a {
  font-size: 0.93rem;
  text-decoration: none;
  font-weight: 600;
}
nav a:hover {
  text-decoration: underline;
}
.skip {
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  z-index: 9;
  transform: translateY(-180%);
  background: var(--paper);
  color: var(--ink);
  padding: 0.6rem 1rem;
}
.skip:focus {
  transform: none;
}
.step {
  padding-block: clamp(3.25rem, 7vw, 7.2rem);
}
.choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.4rem 0;
}
.choice-list button {
  border: 1px solid currentColor;
  min-height: 2.75rem;
  background: transparent;
  padding: 0.55rem 1rem;
  cursor: pointer;
}
.choice-list button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.result {
  padding: 1.2rem 0;
  border-block: 1px solid currentColor;
}
.result strong {
  font-size: 1.18rem;
  display: block;
  margin-bottom: 0.35rem;
}
.result p {
  max-width: 48rem;
}
.remarks {
  font-size: 0.88rem;
  margin-top: 1rem;
}
details {
  border-top: 1px solid currentColor;
  padding: 0.85rem 0;
}
details:last-child {
  border-bottom: 1px solid currentColor;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
details p {
  margin-top: 0.55rem;
  max-width: 42rem;
}
footer {
  border-top: 1px solid var(--ink);
}
.foot {
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 2.2rem;
}
.signature {
  font-size: 1.5rem;
}
.foot span,
.foot > a:last-child {
  font-size: 0.9rem;
}
@media (max-width: 690px) {
  header .wrap {
    min-height: 4.6rem;
  }
  nav {
    gap: 0.7rem;
  }
  nav a {
    font-size: 0.875rem;
  }
  .foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
  .choice-list button {
    flex: 0 1 auto;
  }
}
@media (max-width: 445px) {
  .optional {
    display: none;
  }
  .wrap {
    width: calc(100% - 2rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  header,
  footer .foot > a:last-child,
  .skip,
  .choice-list {
    display: none;
  }
}
header {
  background: var(--deep);
  color: var(--light);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.005em;
}
.barpole {
  width: 0.6rem;
  height: 1.55rem;
  transform: skew(-12deg);
  background: repeating-linear-gradient(
    135deg,
    var(--salmon) 0 3px,
    var(--light) 3px 6px,
    var(--deep) 6px 9px
  );
}
.cut-menu,
.chair-section > .wrap,
.coast-hours {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 8%;
  align-items: start;
}
h2,
h3 {
  text-transform: uppercase;
  letter-spacing: -0.005em;
  font-weight: 700;
}
.cut-menu h2 + p,
.chair-section h2 + p,
.coast-hours p {
  margin-top: 1rem;
  max-width: 30rem;
}
.cut-menu dl > div {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr) auto;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  align-items: baseline;
}
.cut-menu dt {
  font: 700 1.6rem/1 var(--display);
  text-transform: uppercase;
}
.cut-menu .fee {
  font: 700 1.6rem/1 var(--display);
}
.chair-section {
  background: var(--deep);
  color: var(--light);
  padding-block: clamp(3rem, 6vw, 6rem);
}
#tool {
  border-left: 4px solid var(--salmon);
  padding-left: clamp(1rem, 3vw, 2.6rem);
}
.choice-list button[aria-pressed="true"] {
  background: var(--salmon);
  color: var(--deep);
  border-color: var(--salmon);
}
.coast-hours {
  align-items: center;
}
.coast-hours img {
  height: clamp(16rem, 22vw, 24rem);
  width: 100%;
  object-fit: cover;
  filter: grayscale(0.9);
}
.coast-hours dl {
  margin-top: 1.2rem;
  max-width: 30rem;
}
.coast-hours dl > div {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 0.55rem 0;
}
@media (max-width: 700px) {
  .cut-menu,
  .chair-section > .wrap,
  .coast-hours {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
  }
  .cut-menu dl > div {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.2rem 0.7rem;
  }
  .cut-menu dd:not(.fee) {
    grid-row: 2;
    grid-column: 1/-1;
  }
  .cut-menu .fee {
    grid-row: 1;
    grid-column: 2;
  }
}
:where(img) {
  height: auto;
}
.cut-card-section {
  padding-block: clamp(3rem, 6vw, 6rem);
  background: var(--salmon);
}
.cut-card-section > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 7%;
  align-items: start;
}
.cut-card-section h2 {
  max-width: 7ch;
}
.cut-card-section h2 + p {
  margin-top: 1rem;
  max-width: 31ch;
}
.cutcard-paper {
  padding: clamp(1rem, 2.5vw, 2.2rem);
  background: var(--light);
  color: var(--deep);
  border: 2px solid var(--deep);
  box-shadow: 5px 5px 0 var(--deep);
}
.cutcard-paper > header {
  background: transparent;
  color: var(--deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 3px double var(--deep);
  padding-bottom: 0.65rem;
}
.cutcard-paper > header span {
  font: 700 1.65rem var(--display);
  text-transform: uppercase;
}
.card-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1rem 0;
}
.card-fields label {
  font-weight: 650;
}
.card-fields select {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 0.6rem 0.1rem;
  background: transparent;
  min-height: 44px;
}
.card-readout {
  border-block: 1px dashed var(--line);
  padding: 0.8rem 0;
  font-weight: 650;
}
.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.card-actions button {
  padding: 0.6rem 0.9rem;
  min-height: 44px;
  border: 1px solid var(--deep);
  background: var(--deep);
  color: var(--light);
  cursor: pointer;
}
.card-actions .forget-card {
  color: var(--deep);
  background: transparent;
}
.card-actions a {
  font-weight: 650;
}
.card-status {
  font-size: 0.87rem;
  margin-top: 0.8rem;
}
.card-actions :focus-visible {
  outline-color: var(--deep);
}
@media (max-width: 780px) {
  .cut-card-section > .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .cut-card-section h2 {
    max-width: none;
  }
  .card-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .card-fields label {
    display: grid;
    grid-template-columns: 4.75rem minmax(0, 1fr);
    align-items: center;
  }
  .card-fields {
    gap: 0.2rem;
  }
  .cutcard-paper > header {
    align-items: baseline;
    flex-wrap: wrap;
  }
}
.photo-lead {
  display: grid;
  align-items: stretch;
  grid-template-columns: var(--lead-columns);
  background: var(--lead-bg);
  color: var(--lead-ink);
  width: 100%;
  margin: 0;
  isolation: isolate;
}
.photo-lead-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 5vw, 6.5rem) clamp(1.15rem, 5.8vw, 7rem);
}
.photo-lead h1 {
  font-family: var(--display, inherit);
  font-weight: var(--lead-weight, 400);
  font-size: clamp(3.25rem, 6.8vw, 8.3rem);
  letter-spacing: -0.052em;
  line-height: 0.96;
  text-wrap: balance;
  color: inherit;
  max-width: 12ch;
  margin: 0;
}
.photo-lead p {
  font: inherit;
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  line-height: 1.5;
  max-width: 39ch;
  margin: 1.15rem 0 0;
}
.photo-lead-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.4rem;
  margin: 1.15rem 0 0.2rem;
}
.photo-lead-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: inherit;
  font: inherit;
  line-height: 1.28;
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-thickness: 1px;
}
.photo-lead-links a:first-child {
  font-weight: 700;
  text-decoration-thickness: 2px;
}
.photo-lead-links a:hover {
  text-decoration-thickness: 3px;
}
.photo-lead-image {
  margin: 0;
  min-width: 0;
  position: relative;
}
.photo-lead-image img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: var(--lead-pos, 50% 50%);
}
.photo-lead.panorama {
  grid-template-columns: 1fr;
  position: relative;
  min-height: clamp(30rem, 54vw, 43rem);
}
.photo-lead.panorama .photo-lead-text {
  position: relative;
  z-index: 1;
  width: min(57rem, 66%);
  background: linear-gradient(
    90deg,
    var(--lead-scrim, #162a24ef) 0%,
    var(--lead-scrim, #162a24ef) 53%,
    transparent 100%
  );
  padding-right: clamp(3rem, 10vw, 12rem);
}
.photo-lead.panorama .photo-lead-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.photo-lead.panorama h1 {
  max-width: 12ch;
}
@media (max-width: 740px) {
  .photo-lead.panorama {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .photo-lead .photo-lead-text,
  .photo-lead.panorama .photo-lead-text {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: none;
    position: static;
    background: none;
    padding: clamp(1.45rem, 5.5vw, 2.7rem) clamp(1.05rem, 5vw, 2.3rem);
  }
  .photo-lead h1 {
    font-size: clamp(2.7rem, 9.7vw, 5.2rem);
    max-width: 15ch;
  }
  .photo-lead p {
    margin-top: 0.8rem;
    font-size: 1rem;
    max-width: 46ch;
  }
  .photo-lead-links {
    margin-top: 0.65rem;
  }
  .photo-lead .photo-lead-image,
  .photo-lead.panorama .photo-lead-image {
    position: relative;
    inset: auto;
    grid-row: 2;
    grid-column: 1;
    height: clamp(13rem, 47vw, 23rem);
    min-height: 0;
  }
  .photo-lead .photo-lead-image img {
    object-position: var(--lead-mobile-pos, var(--lead-pos));
  }
}
.photo-lead {
  --lead-columns: 55% 45%;
  --lead-pos: 55% 48%;
  --lead-bg: #173d40;
  --lead-ink: #f7eadb;
}
.photo-lead {
  --lead-scrim: #142d30f5;
  --lead-mobile-pos: 60% 43%;
}
.photo-lead h1 {
  max-width: 12ch;
}
