/* hollisbay.com: same colours, font and button style as the store theme. */

@font-face {
    font-family: "HB Helvetica";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/hb-helvetica-400.woff2") format("woff2");
}

@font-face {
    font-family: "HB Helvetica";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/hb-helvetica-700.woff2") format("woff2");
}

@font-face {
    font-family: "HB Helvetica Compressed";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/hb-helvetica-compressed.woff2") format("woff2");
}

:root {
    --red: #f01d1d;
    /* brand */
    --red-ui: #e01b1b;
    /* white text on red (AA) */
    --red-ui-hover: #c81414;
    --dark: #1f1f1f;
    --text: #1f1f1f;
    --muted: #4a4a4a;
    --panel: #f4f4f4;
    --line: #c8c8c8;
    --link: #2f54e0;
    --font: "HB Helvetica", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-display: "HB Helvetica Compressed", "HB Helvetica", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 16px;
}

html.modal-open {
    overflow: hidden;
}

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--link);
}

h1,
h2,
h3 {
    line-height: 1.2;
}

.wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.skip {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 10;
    padding: 8px 12px;
    background: #fff;
    color: var(--text);
}

.skip:focus {
    top: 8px;
}

.is-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

[hidden] {
    display: none !important;
}

/* --- Buttons ------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    border: 0;
    border-bottom: 3px solid rgba(0, 0, 0, 0.25);
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.btn--primary {
    background: var(--red-ui);
    color: #fff;
}

.btn--primary:hover {
    background: var(--red-ui-hover);
}

.btn--light {
    background: #e8e8e8;
    color: var(--text);
}

.btn--light:hover {
    background: #d6d6d6;
}

.btn:focus-visible,
input:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--link);
    outline-offset: 2px;
}

/* --- Top bar & header ------------------------------------------------------- */

.topbar {
    background: var(--dark);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
}

.topbar a {
    color: inherit;
}

.topbar__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.topbar__inner p {
    margin: 0;
}

.topbar__links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
}

.topbar__phone {
    text-decoration: none;
}

@media (max-width: 640px) {
    .topbar__hours,
    .topbar__email {
        display: none;
    }

    .topbar__inner {
        justify-content: center;
    }
}

.header {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.header__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.header__logo img {
    display: block;
    width: 208px;
}

.header__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    align-items: center;
}

.header__nav a:not(.btn) {
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
}

.header__nav a:not(.btn):hover {
    color: var(--red-ui-hover);
}

@media (max-width: 640px) {
    .header__logo img {
        width: 168px;
    }

    .header__nav {
        gap: 8px 16px;
        font-size: 0.9375rem;
    }

    .header__nav .btn {
        min-height: 40px;
        padding: 8px 14px;
    }
}

/* --- Hero -------------------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    background: var(--dark);
    color: #fff;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero__inner {
    position: relative;
    display: grid;
    gap: 28px;
    align-items: center;
    padding-top: 48px;
    padding-bottom: 48px;
}

@media (min-width: 1025px) {
    .hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
        padding-top: 72px;
        padding-bottom: 72px;
    }
}

.hero__copy h1 {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    line-height: 1.05;
    text-transform: uppercase;
}

.hero__copy p {
    max-width: 38em;
    margin: 0 0 22px;
    font-size: 1.125rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* --- Inquiry form ------------------------------------------------------------ */

.inquiry {
    margin: 0;
    padding: 20px;
    background: var(--panel);
    border-top: 4px solid var(--red);
    color: var(--text);
}

.inquiry__title {
    margin: 0 0 4px;
    font-size: 1.25rem;
    text-transform: uppercase;
}

.inquiry__lead {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 0.9375rem;
}

.inquiry__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    margin-bottom: 14px;
}

.field {
    min-width: 0;
}

.field label {
    display: block;
    margin: 0 0 4px;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 16px;
    text-transform: uppercase;
}

.field input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #8a8a8a;
    border-radius: 0;
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    /* 16px keeps iOS from zooming on focus */
}

.field input::placeholder {
    color: #6e6e6e;
}

.field input[aria-invalid="true"] {
    border-color: var(--red-ui-hover);
    box-shadow: inset 0 0 0 1px var(--red-ui-hover);
}

.req,
.field__error {
    color: var(--red-ui-hover);
}

.opt {
    color: var(--muted);
    font-weight: 400;
    text-transform: none;
}

.field__error {
    margin: 4px 0 0;
    font-size: 0.8125rem;
    font-weight: 700;
}

.inquiry__submit {
    width: 100%;
}

.inquiry__note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.875rem;
}

@media (max-width: 420px) {
    .inquiry__fields {
        grid-template-columns: 1fr;
    }
}

/* --- Highlights ---------------------------------------------------------------- */

.highlights {
    background: var(--panel);
    border-bottom: 1px solid var(--line);
}

.highlights__list {
    display: grid;
    gap: 8px;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    list-style: none;
}

@media (min-width: 768px) {
    .highlights__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

.highlights__list li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 0 4px 14px;
    border-left: 4px solid var(--red);
}

.highlights__list strong {
    text-transform: uppercase;
}

.highlights__list span {
    color: var(--muted);
    font-size: 0.9375rem;
}

/* --- Sections ---------------------------------------------------------------- */

.section {
    padding: 56px 0;
}

.section--panel {
    background: var(--panel);
}

.section__title {
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--red);
    font-size: clamp(1.5rem, 3vw, 2rem);
    text-transform: uppercase;
}

.section h3 {
    margin: 24px 0 8px;
    font-size: 1.125rem;
}

.lead {
    color: var(--muted);
    font-size: 1.125rem;
}

.columns {
    display: grid;
    gap: 8px 48px;
}

@media (min-width: 900px) {
    .columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.checks {
    padding: 0;
    list-style: none;
}

.checks li {
    position: relative;
    margin: 0 0 8px;
    padding-left: 26px;
}

.checks li::before {
    content: "";
    position: absolute;
    top: 0.45em;
    left: 2px;
    width: 12px;
    height: 7px;
    border-bottom: 3px solid var(--red-ui);
    border-left: 3px solid var(--red-ui);
    transform: rotate(-45deg);
}

.tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.tiles a {
    display: block;
    padding: 18px 12px;
    background: var(--panel);
    border-bottom: 3px solid var(--line);
    color: var(--text);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.tiles a:hover {
    border-bottom-color: var(--red);
    color: var(--red-ui-hover);
}

.steps {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

@media (min-width: 900px) {
    .steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.steps li {
    position: relative;
    padding: 20px 20px 20px 66px;
    background: #fff;
    border: 1px solid var(--line);
    counter-increment: step;
}

.steps li + li {
    border-top: 0;
}

@media (min-width: 900px) {
    .steps li + li {
        border-top: 1px solid var(--line);
        border-left: 0;
    }
}

.steps li::before {
    content: counter(step);
    position: absolute;
    top: 20px;
    left: 20px;
    width: 32px;
    height: 32px;
    background: var(--red-ui);
    color: #fff;
    font-weight: 700;
    line-height: 32px;
    text-align: center;
}

.steps h3 {
    margin: 4px 0 8px;
}

.steps p {
    margin: 0;
    color: var(--muted);
}

.values__note {
    margin: 20px 0 0;
    color: var(--muted);
}

/* --- CTA ------------------------------------------------------------------------- */

.cta {
    background: var(--dark);
    color: #fff;
}

.cta__inner {
    display: grid;
    gap: 16px 40px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (min-width: 900px) {
    .cta__inner {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

.cta__inner h2 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    text-transform: uppercase;
}

.cta__inner p {
    margin: 0;
}

.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* --- Contact ------------------------------------------------------------------ */

.contact {
    display: grid;
    gap: 16px 32px;
    margin: 24px 0;
}

@media (min-width: 768px) {
    .contact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.contact dt {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
}

.contact dd {
    margin: 0;
}

.contact__note {
    color: var(--muted);
    font-size: 0.9375rem;
}

/* --- Footer -------------------------------------------------------------------- */

.footer {
    background: var(--dark);
    color: #d6d6d6;
    font-size: 0.875rem;
    border-top: 4px solid var(--red);
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    align-items: center;
    justify-content: space-between;
    padding-top: 28px;
    padding-bottom: 28px;
}

.footer__inner img {
    display: block;
    width: 200px;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.footer__links a {
    color: #fff;
}

.footer__copy {
    margin: 0;
}

/* --- Inquiry modal ------------------------------------------------------------------ */

.modal {
    width: calc(100% - 32px);
    max-width: 720px;
    max-height: calc(100vh - 32px);
    margin: auto;
    padding: 0;
    background: #fff;
    border: 0;
    border-top: 4px solid var(--red);
    color: var(--text);
    /* Only the body scrolls. */
}

.modal::backdrop {
    background: rgba(0, 0, 0, 0.6);
}

.modal[open] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@media (max-width: 599px) {
    .modal {
        width: 100%;
        max-width: none;
        height: 100%;
        max-height: none;
    }
}

.modal__panel {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.modal__header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px 12px 20px;
    border-bottom: 1px solid var(--line);
}

.modal__title {
    margin: 0;
    font-size: 1.25rem;
    text-transform: uppercase;
}

.modal__title:focus {
    outline: none;
}

.modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--text);
    cursor: pointer;
}

.modal__close:hover {
    background: #ececec;
}

.modal__body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 8px 20px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.modal__body:focus-visible {
    outline-offset: -2px;
}

.modal__frame {
    min-height: 120px;
}

.modal__frame iframe {
    display: block;
    width: 100%;
    border: 0;
}

.state {
    padding: 16px 0;
}

.state--loading {
    margin: 0;
    padding: 40px 0;
    color: var(--muted);
    text-align: center;
}

.state--success {
    text-align: center;
}

.state--success h3 {
    margin: 12px 0 8px;
    font-size: 1.375rem;
}

.state--success h3:focus {
    outline: none;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.state--success .actions {
    justify-content: center;
}

