@font-face {
  font-family: "Yellowtail";
  src: url("Yellowtail-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.header .home-brand,
.calendar-mast .home-brand,
.mast .home-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  text-decoration: none;
}

.home-brand:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
  border-radius: 3px;
}

.header .home-brand > img,
.calendar-mast .home-brand > img,
.mast .home-brand > img {
  width: var(--crest-size);
  height: var(--crest-size);
  flex: none;
  object-fit: contain;
  border: 0;
  border-radius: 0;
}

.header .home-brand {
  --crest-size: 112px;
  --word-size: 33px;
  --rips-color: #aa1937;
  padding-block: 3px;
}

.calendar-mast .home-brand,
.mast .home-brand {
  --crest-size: 84px;
  --word-size: 28px;
  --rips-color: #ffd692;
  --digits-color: #fff8e9;
  color: #fff8e9;
}

.home-brand .home-brand-name {
  display: block;
  color: inherit;
  font-family: "Yellowtail", "Brush Script MT", cursive;
  font-size: calc(var(--word-size) * 1.34);
  font-style: normal;
  font-weight: 700;
  font-synthesis: weight;
  line-height: 1.08;
  letter-spacing: 0;
  white-space: nowrap;
}

.home-brand-digits,
.home-brand-rips {
  display: inline-block;
  -webkit-text-stroke: .075em #d8b565;
  paint-order: stroke fill;
  text-shadow: 0 .055em 0 #143b30, 0 .075em .065em rgb(20 59 48 / 20%);
}
.home-brand-digits {
  /* Fixed brand lettering: broad, straight collegiate forms with a forward lean.
     The original 6-4-3 text stays in the document for assistive technology. */
  width: 3.05em;
  height: 1.04em;
  font-size: 1.12em;
  background: url("643-collegiate-italic.svg?v=1") center / contain no-repeat;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 0;
  text-shadow: none;
  filter: none;
  vertical-align: -.09em;
  margin-right: -.05em;
}
.home-brand-rips { color: var(--rips-color); }

@media (forced-colors: active) {
  .home-brand-digits {
    width: auto;
    height: auto;
    background: none;
    color: CanvasText;
    -webkit-text-fill-color: currentColor;
    font-family: "Arial Black", Impact, sans-serif;
    font-style: italic;
  }
}

.header .home-brand small {
  margin-top: 6px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .115em;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .header .home-brand { --crest-size: 92px; --word-size: 27px; gap: 8px; }
  .header .home-brand small { font-size: 8px; }
}

@media (min-width: 801px) and (max-width: 950px) {
  .header { gap: 13px; }
  .header nav { gap: 12px; }
  .header .header-shop { flex: none; white-space: nowrap; gap: 6px; padding: 10px; font-size: .7rem; }
  .header .home-brand { --crest-size: 82px; --word-size: 25px; }
}

@media (max-width: 600px) {
  .header .home-brand { --crest-size: 80px; --word-size: 24px; }
  .header .home-brand small { font-size: 7.5px; }
  .calendar-mast .home-brand,
  .mast .home-brand { --crest-size: 65px; --word-size: 21px; gap: 8px; }
}

@media (max-width: 430px) {
  .calendar-mast nav,
  .mast nav { flex-direction: column; flex-wrap: nowrap; align-items: flex-end; gap: 4px; }
}

@media (max-width: 360px) {
  .header { gap: 5px; }
  .header .home-brand { --crest-size: 74px; --word-size: 21px; gap: 7px; }
  .header .home-brand small { font-size: 7px; letter-spacing: .08em; }
  .header .menu-toggle { gap: 5px; padding-inline: 5px; }
}
