/* Shared components */

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 40px 0 36px;
}
.steps.four {
    grid-template-columns: repeat(4, 1fr);
}
.steps > div {
    padding: 32px 30px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--rimg);
}
.num {
    font-family: var(--head);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 36px 0 32px;
}
.card {
    padding: 30px 28px;
    border: 1px solid var(--line);
    border-radius: var(--rimg);
    background: var(--bg);
}
.card p {
    font-size: 17px;
}
.card .who {
    font-weight: 600;
    font-size: 15px;
    margin: 0;
}
.stars {
    color: var(--accent);
    letter-spacing: 3px;
    margin-bottom: 12px;
    font-size: 15px;
}

/* Pills */
.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 8px;
}
.pill {
    padding: 11px 18px;
    border: 1.5px solid var(--line);
    border-radius: var(--r);
    background: var(--bg);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}
.pill:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Accordion */
.acchead {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}
.acchead .link {
    font-size: 15px;
}
.acc {
    border-top: 1px solid var(--line);
    margin-top: 8px;
}
.acc .row {
    border-bottom: 1px solid var(--line);
}
.acc .t {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    padding: 22px 0;
    background: none;
    border: 0;
    text-align: left;
    font-family: var(--body);
    color: inherit;
    cursor: pointer;
}
.acc .tt {
    font-family: var(--head);
    font-weight: 700;
    font-size: 21px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}
.acc .sum {
    display: block;
    font-size: 15px;
    color: var(--ink2);
    margin-top: 4px;
    font-weight: 400;
}
.acc .pm {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    margin-left: auto;
    border: 1.5px solid var(--line);
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    color: var(--accent);
}
.acc .body {
    display: none;
    padding: 0 0 26px;
    max-width: 720px;
    font-size: 17px;
}
.acc .body p:last-child {
    margin-bottom: 0;
}
.acc .rel {
    font-size: 15px;
    color: var(--ink2);
}
.acc .row.open .body {
    display: block;
}
.acc .row.open .pm {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.group {
    margin-top: 56px;
}
.group:first-of-type {
    margin-top: 0;
}

/* Hours, map, video, callouts */
.hours {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 24px;
    font-size: 17px;
}
.hours td {
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}
.hours td:last-child {
    text-align: right;
    font-weight: 500;
}
.map {
    aspect-ratio: 4 / 3;
    border-radius: var(--rimg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg2);
}
.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.video {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: var(--rimg);
    overflow: hidden;
    background: var(--bg2);
    margin-top: 24px;
}
.video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video .play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 72px;
    height: 72px;
    margin: -36px 0 0 -36px;
    background: rgba(255, 255, 255, .92);
    border-radius: var(--r);
    display: flex;
}
.video .play:after {
    content: '';
    margin: auto;
    margin-left: 30px;
    border-left: 22px solid var(--accent);
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
}
.gal img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--rimg);
}
.rounded {
    border-radius: var(--rimg);
}
.ph {
    background: var(--bg2);
    border: 1px solid var(--line);
    border-radius: var(--rimg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink2);
    font-size: 15px;
    text-align: center;
    padding: 24px;
}
.callout {
    background: var(--bg2);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--rimg) var(--rimg) 0;
    padding: 20px 24px;
    margin: 20px 0;
}
.code {
    display: inline-block;
    background: var(--bg2);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 10px 14px;
    font-weight: 600;
    letter-spacing: .04em;
    margin: 6px 0 14px;
}
.seen {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--ink2);
    font-size: 15px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.seen img {
    width: 64px;
    border-radius: 4px;
}
.band {
    text-align: center;
}
.band p {
    max-width: 560px;
    margin: 0 auto 24px;
}
.band .btnrow {
    justify-content: center;
}
.social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0;
}
.social a {
    padding: 12px 18px;
    border: 1.5px solid var(--line);
    border-radius: var(--r);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}
.social a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Forms */
.form .f {
    margin-bottom: 18px;
}
.form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}
.form input,
.form textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1.5px solid var(--line);
    border-radius: 0;
    background: #fff;
    font: inherit;
    font-size: 17px;
    color: var(--ink);
    -webkit-appearance: none;
}
.form input:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: inset 0 0 0 1px var(--accent);
}
.form textarea {
    min-height: 160px;
    resize: vertical;
}
.form .hp {
    position: absolute;
    left: -9999px;
}
.form-status {
    margin-top: 14px;
    font-size: 15px;
    color: var(--ink2);
}
.form-status.error {
    color: var(--error);
}
.sent {
    padding: 36px;
    background: var(--bg2);
    border-radius: var(--rimg);
}
.sent p {
    margin: 0;
}
.side {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--rimg);
    background: var(--bg2);
}
.bigphone {
    display: block;
    font-family: var(--head);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 4px 0 18px;
    text-decoration: none;
}

/* Policy pages */
.policy h2 {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}
.policy h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}
.policy h3 {
    margin-top: 32px;
}
.policy p,
.policy li {
    max-width: 760px;
}

@media (max-width: 980px) {
    .steps, .steps.four, .cards {
        grid-template-columns: 1fr;
    }
    .acc .tt {
        font-size: 19px;
    }
}

/* Photo hero for inner pages: the photo band under the transparent nav, one heading at the bottom */
.phero {
    position: relative;
    min-height: clamp(460px, 58vh, 600px);
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
}
.phero .bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% 32%;
}
.phero .scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .2) 55%, rgba(0, 0, 0, .05) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .2) 50%, rgba(0, 0, 0, .03) 100%);
}
.phero .wrap {
    position: relative;
    width: 100%;
    padding-top: 200px;
    padding-bottom: 56px;
}
.phero h1 {
    color: #fff;
    margin: 0;
    max-width: 1000px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 10px 36px rgba(0, 0, 0, .22);
}
.phero .lead {
    color: rgba(255, 255, 255, .92);
    max-width: 640px;
    margin: 12px 0 0;
}
@media (max-width: 980px) {
    .phero {
        min-height: clamp(420px, 56vh, 520px);
    }
    .phero .wrap {
        padding-top: 150px;
        padding-bottom: 40px;
    }
}
