/* Hero */
.hero {
    position: relative;
    min-height: clamp(700px, 100vh, 1400px);
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
}
.hero .bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* phones get a tall cut of the same photo through the picture element */
    object-position: 50% 25%;
}
.hero .scrim {
    position: absolute;
    inset: 0;
    /* neutral scrim so the photo's own colors stay true */
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .22) 55%, rgba(0, 0, 0, .05) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .22) 50%, rgba(0, 0, 0, .03) 100%);
}
.hero .wrap {
    position: relative;
    width: 100%;
    padding-top: 200px;
    padding-bottom: 72px;
}
.hero .copy {
    max-width: 720px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 10px 36px rgba(0, 0, 0, .22);
}
.hero .copy h1 {
    color: #fff;
}
.hero .copy .lead {
    color: rgba(255, 255, 255, .92);
    margin-bottom: 26px;
}
.hero .btn {
    text-shadow: none;
}
.hero .btn.alt {
    color: #fff;
    border-color: rgba(255, 255, 255, .85);
}
.hero .btn.alt:hover {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
}

/* Welcome */
.who {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 80px;
    align-items: center;
}
.who img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--rimg);
    background: var(--ph);
}

/* What people come in for: symptom rows linking into Conditions */
.symrows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 56px;
    margin-top: 36px;
    border-top: 1px solid var(--line);
}
.symrows a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--head);
    font-weight: 700;
    font-size: 21px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--ink);
    text-decoration: none;
    transition: color .15s;
}
.symrows a:hover {
    color: var(--accent);
}
.notlisted {
    margin: 32px 0 0;
    max-width: 640px;
    color: var(--ink2);
}

/* Shockwave feature row */
.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.feature img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--rimg);
}
.feature h4,
.feature .kicker {
    color: var(--accent);
}

/* Your first visit, on teal so it does not sit grey on grey above the reviews */
.firstvisit {
    background: var(--accent);
    color: #fff;
}
.firstvisit h2,
.firstvisit h3 {
    color: #fff;
}
.firstvisit p {
    color: rgba(255, 255, 255, .9);
}
.firstvisit .btn {
    background: #fff;
    color: var(--accent);
    border-color: #fff;
}
.firstvisit .btn:hover {
    background: var(--bg2);
    border-color: var(--bg2);
    color: var(--accent2);
}
.visitsteps {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 72px;
    align-items: start;
}
.visitsteps .lead {
    margin-bottom: 24px;
}
.plain {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, .25);
}
.plain li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
}
.plain .n {
    font-family: var(--head);
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
    color: #fff;
    padding-top: 2px;
}
.plain h3 {
    margin-bottom: 6px;
    font-size: 22px;
}
.plain p {
    margin: 0;
    font-size: 17px;
}

/* Visit us */
.visitus .hours {
    margin-top: 4px;
}

@media (max-width: 980px) {
    .hero {
        min-height: clamp(620px, 92vh, 900px);
    }
    .hero .wrap {
        padding-top: 150px;
        padding-bottom: 56px;
    }
    .symrows,
    .feature,
    .visitsteps {
        grid-template-columns: 1fr;
    }
    .who {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .who img {
        width: 320px;
    }
    .feature {
        gap: 32px;
    }
    .visitsteps {
        gap: 36px;
    }
}
@media (max-width: 600px) {
    .who img {
        width: 100%;
        aspect-ratio: 4 / 3;
    }
    .symrows a {
        font-size: 19px;
    }
}
