/* Shared navigation and layouts for the seven-page clinic website. */
.site-header nav a[aria-current="page"],
.mobile-menu a[aria-current="page"],
.footer-nav a[aria-current="page"] {
    color: var(--rust);
}

.breadcrumbs {
    padding-block: 19px;
    font-size: .8125rem;
    line-height: 1.9;
    color: var(--muted);
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumbs li {
    min-width: 0;
    overflow-wrap: anywhere;
}

.breadcrumbs li + li::before {
    content: "/";
    margin-right: 14px;
    color: #aa9e92;
}

.breadcrumbs a:hover,
.footer-nav a:hover {
    color: var(--rust);
    text-decoration: underline;
    text-underline-offset: 5px;
}

.page-heading {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: 64px 60px;
    background:
        radial-gradient(ellipse at 16% 90%, rgba(242, 154, 126, .12), transparent 58%),
        linear-gradient(115deg, #faf6f0 0%, #fffaf6 48%, #f4ded3 100%);
    border-block: 1px solid #ecddd3;
    text-align: center;
}

/* Fine overlapping curves echo the clinic logo without competing with the title. */
.page-heading::before,
.page-heading::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(166, 85, 63, .13);
    border-radius: 50%;
    pointer-events: none;
}

.page-heading::before {
    top: -330px;
    right: -40px;
    box-shadow: 0 0 0 28px rgba(255, 254, 250, .22), 0 0 0 29px rgba(166, 85, 63, .07);
}

.page-heading::after {
    bottom: -415px;
    left: -95px;
    width: 620px;
    height: 500px;
    transform: rotate(-24deg);
}

.page-heading > .wrap::after {
    content: "";
    display: block;
    width: 48px;
    height: 1px;
    margin: 26px auto 0;
    background: linear-gradient(90deg, var(--coral), #bca18a);
}

.page-heading .eyebrow {
    margin-bottom: 16px;
    font-size: .75rem;
    letter-spacing: .28em;
    line-height: 1.6;
}

.page-heading h1 {
    font-size: clamp(1.9rem, 2.65vw, 2.5rem);
    line-height: 1.65;
    letter-spacing: .1em;
    color: #49372f;
    text-wrap: balance;
}

.page-heading h1 > span {
    display: inline-block;
}

.page-lead {
    max-width: 800px;
    margin-top: 23px;
    color: var(--muted);
    line-height: 2.1;
}

.page-jumps {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 30px;
    padding-block: 27px;
    border-bottom: 1px solid var(--line);
}

.page-jumps a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-block: 7px;
    font-size: .9375rem;
    line-height: 1.8;
}

.page-jumps a::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1px solid var(--rust);
    border-bottom: 1px solid var(--rust);
    transform: translateY(-2px) rotate(45deg);
    flex: none;
}

.page-jumps a > span[aria-hidden="true"] {
    display: none;
}

.page-jumps a:hover {
    color: var(--rust);
}

.subpage .section {
    padding-block: 94px;
}

.subpage .gallery-section {
    padding-top: 0;
}

.floor-photo.floor-illustration {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.floor-illustration img {
    object-fit: cover;
    object-position: 50% 58%;
}

.gallery.gallery--illustrations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
}

.gallery.gallery--illustrations > figure:nth-child(n) {
    grid-column: auto;
}

.gallery.gallery--illustrations > figure:nth-child(n) .photo {
    height: auto;
    aspect-ratio: 4 / 3;
}

.gallery--illustrations img {
    object-fit: cover;
}

.gallery--illustrations > figure:nth-child(1) img {
    object-position: 50% 43%;
}

.gallery--illustrations > figure:nth-child(2) img {
    object-position: 50% 38%;
}

.gallery--illustrations > figure:nth-child(3) img {
    object-position: 50% 58%;
}

.gallery--illustrations > figure:nth-child(4) img {
    object-position: 50% 54%;
}

.feature-image--illustration img {
    object-position: 50% 43%;
}

.footer-address,
.clinic-address {
    font-style: normal;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.footer-address {
    margin-top: 18px;
    font-size: .875rem;
    color: var(--muted);
}

.clinic-address {
    margin-block: 20px;
    font-size: 1rem;
}

.site-header .language-link {
    padding-left: 15px;
    border-left: 1px solid var(--line);
    color: var(--rust);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 19px;
    padding-block: 8px;
    border-bottom: 1px solid var(--rust);
    color: var(--rust);
    font-size: .9375rem;
    line-height: 1.8;
    transition: color .2s, border-color .2s;
}

.text-link:hover {
    color: var(--ink);
    border-color: var(--ink);
}

.section-link {
    margin-top: 35px;
}

.guidance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 36px;
}

.guidance-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guidance-card {
    min-width: 0;
    padding: 30px;
    border: 1px solid var(--line);
    background: var(--ivory);
}

.guidance-card h3 {
    margin-bottom: 17px;
    font-size: 1.2rem;
    color: var(--rust);
}

.guidance-card p + p {
    margin-top: 15px;
}

.guidance-card .text-link {
    margin-top: 10px;
}

.home-intro > h2,
.home-intro > .prose {
    max-width: 850px;
}

.home-page .section {
    padding-block: 90px;
}

.home-page .home-intro {
    padding-top: 25px;
}

.home-intro > .prose {
    margin-top: 26px;
    color: var(--muted);
}

.home-promises {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    margin-top: 46px;
}

.home-promise {
    min-width: 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.home-promise > img {
    width: 142px;
    height: 142px;
    margin: 0 auto 22px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.home-promise h3 {
    margin-bottom: 14px;
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    letter-spacing: .035em;
}

.home-promise h3 > span {
    display: block;
    white-space: nowrap;
}

.home-promise p {
    font-size: .9375rem;
    line-height: 2;
    color: var(--muted);
}

.home-promise .eyebrow {
    margin-bottom: 13px;
    color: var(--rust);
    font-size: 1rem;
}

.home-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-top: 38px;
}

.feature-link {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--line);
    background: var(--paper);
    transition: border-color .25s;
}

.feature-link:hover {
    border-color: var(--rust);
}

.feature-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--greige);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s;
}

.feature-link:hover .feature-image img {
    transform: scale(1.025);
}

.feature-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    padding: 32px 35px 35px;
}

.feature-copy .eyebrow {
    margin-bottom: 11px;
    font-size: .875rem;
}

.feature-copy h3 {
    margin-bottom: 14px;
    font-size: 1.5rem;
}

.feature-copy > p:not(.eyebrow) {
    margin-bottom: 24px;
    color: var(--muted);
}

.feature-copy .text-link {
    margin-top: auto;
}

.home-clinic-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 70px;
    align-items: center;
}

.home-clinic-grid h2 {
    margin-bottom: 25px;
}

.home-clinic-grid > div {
    min-width: 0;
}

.home-clinic-grid > div > a {
    display: block;
}

.home-clinic-grid > img,
.home-clinic-grid > .photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.home-clinic-grid .prose p + p {
    margin-top: 16px;
}

.booking-banner {
    padding-block: 72px;
    border-block: 1px solid var(--line);
    background: #f2eae0;
}

.booking-banner__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
}

.booking-banner .eyebrow {
    margin-bottom: 15px;
}

.booking-banner h2 {
    margin-bottom: 17px;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.booking-banner__inner > div > p:not(.eyebrow) {
    font-size: 1rem;
    color: var(--muted);
}

.booking-actions {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.booking-actions .button {
    width: 100%;
    min-height: 60px;
    font-size: 1rem;
}

.booking-actions > p {
    font-size: .875rem;
    line-height: 1.9;
}

.button--outline {
    background: var(--paper);
    border-color: #b4a18e;
    color: var(--ink);
}

.button--outline:hover {
    background: var(--ivory);
    border-color: var(--rust);
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-block: 40px;
}

.related-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1 1 250px;
    gap: 24px;
    min-width: 0;
    padding: 18px 23px;
    border: 1px solid var(--line);
    font-size: .9375rem;
    line-height: 1.9;
    background: var(--paper);
    transition: border-color .2s;
}

.related-links a:hover {
    color: var(--rust);
    border-color: var(--rust);
}

.faq-answer .section-link {
    margin-top: 18px;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, .9fr);
    gap: 40px;
}

.footer-main > * {
    min-width: 0;
}

.footer-clinic {
    padding-left: 32px;
    border-left: 1px solid #cec6bd;
}

.footer-hours {
    width: 100%;
    border-collapse: collapse;
    font-size: .9375rem;
    line-height: 1.9;
    text-align: left;
}

.footer-hours th,
.footer-hours td {
    padding: 10px 0;
    border-bottom: 1px solid #d4cbc2;
    font-weight: 400;
}

.footer-hours thead th {
    padding-top: 0;
    color: var(--rust);
    font-size: .875rem;
}

.footer-hours th:first-child {
    padding-right: 18px;
}

.footer-hours td {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.footer-closed {
    margin-top: 12px;
    font-size: .875rem;
    color: var(--muted);
}

.footer-reservation {
    margin-top: 13px;
    font-size: .9375rem;
    color: var(--rust);
}

.footer-same-day {
    margin-top: 5px;
    font-size: .875rem;
    line-height: 1.9;
}

.footer-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}
.button.honin{
    border:none;
    flex-wrap:wrap;
    font-size:0.875rem;
    line-height:1.5;
    gap:20px;
    width:100%;
    margin:1rem 0 0;
}
.button.honin .text{
    width:calc(100% - 64px);
}
.button.honin .text small{
    display:block;
    font-size:0.75rem;
}
/* Keep the existing 1050px navigation switch aligned with script.js. */
@media (min-width: 1051px) {
    .site-header {
        padding-inline: clamp(20px, 2vw, 32px);
        gap: 20px;
    }

    .brand {
        width: clamp(200px, 17vw, 280px);
    }

    .site-header nav {
        gap: clamp(12px, 1.3vw, 22px);
    }

    .site-header nav a {
        font-size: 1rem;
        letter-spacing: 0;
    }

    .site-header > .button {
        padding-inline: 16px;
        font-size: 1rem;
        gap: 16px;
    }
}

/* Give narrow desktop windows a second row instead of shrinking the links. */
@media (min-width: 1051px) and (max-width: 1350px) {
    html {
        scroll-padding-top: 150px;
    }

    .site-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        height: 134px;
        padding-block: 14px;
        gap: 12px 24px;
    }

    .brand {
        width: 245px;
    }

    .site-header nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: center;
        gap: 36px;
        margin-left: 0;
    }

    .site-header > .button {
        grid-column: 2;
        grid-row: 1;
    }
}

@media (max-width: 1050px) {
    .mobile-menu__inner > .language-link,
    .mobile-menu__inner > .mobile-menu__reservation {
        grid-column: 1 / -1;
    }

    .gallery.gallery--illustrations {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-promises {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 38px;
    }

    .guidance-grid--three {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home-clinic-grid {
        gap: 40px;
    }

    .booking-banner__inner {
        gap: 38px;
    }

    .booking-actions .button {
        font-size: .9375rem;
        padding-inline: 20px;
        gap: 16px;
    }

    .footer-main {
        grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr);
        gap: 32px 40px;
    }

    .footer-nav {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 22px;
    }
}

@media (max-width: 760px) {
    .gallery.gallery--illustrations {
        gap: 24px 12px;
    }

    .breadcrumbs {
        padding-block: 14px;
        font-size: .75rem;
    }

    .breadcrumbs ol {
        gap: 4px 10px;
    }

    .breadcrumbs li + li::before {
        margin-right: 10px;
    }

    .page-heading {
        padding-block: 44px 42px;
    }

    .page-heading::before {
        width: 280px;
        height: 280px;
        top: -220px;
        right: -90px;
    }

    .page-heading::after {
        width: 340px;
        height: 280px;
        bottom: -235px;
        left: -170px;
    }

    .page-heading > .wrap::after {
        width: 36px;
        margin-top: 22px;
    }

    .page-heading h1 {
        font-size: clamp(1.375rem, 5.7vw, 1.875rem);
        line-height: 1.75;
        letter-spacing: .065em;
    }

    .page-heading .eyebrow {
        margin-bottom: 12px;
        font-size: .625rem;
        letter-spacing: .22em;
    }

    .page-lead {
        margin-top: 19px;
        font-size: 1rem;
        line-height: 2;
    }

    .page-jumps {
        gap: 5px 22px;
        padding-block: 20px;
    }

    .page-jumps a {
        font-size: .875rem;
        gap: 10px;
    }

    .subpage .section {
        padding-block: 62px;
    }

    .subpage .gallery-section {
        padding-top: 0;
    }

    .section-link {
        margin-top: 28px;
    }

    .text-link {
        gap: 14px;
    }

    .guidance-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 28px;
    }

    .guidance-card {
        padding: 25px 23px;
    }

    .guidance-card h3 {
        font-size: 1.125rem;
    }

    .home-intro > .prose {
        margin-top: 21px;
    }

    .home-page .section {
        padding-block: 64px;
    }

    .home-page .home-intro {
        padding-top: 20px;
    }

    .home-promises {
        grid-template-columns: 1fr;
        gap: 29px;
        margin-top: 32px;
    }

    .home-promise > img {
        width: 126px;
        height: 126px;
        margin-bottom: 17px;
    }

    .home-promise h3 {
        font-size: 1.2rem;
    }

    .home-promise p {
        font-size: 1rem;
    }

    .home-links {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-top: 29px;
    }

    .feature-copy {
        padding: 25px 23px 28px;
    }

    .feature-copy h3 {
        font-size: 1.3rem;
    }

    .feature-copy > p:not(.eyebrow) {
        font-size: 1rem;
    }

    .home-clinic-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .home-clinic-grid h2 {
        margin-bottom: 21px;
    }

    .booking-banner {
        padding-block: 48px;
    }

    .booking-banner__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .booking-actions .button {
        min-height: 58px;
    }

    .related-links {
        gap: 12px;
        padding-block: 29px;
    }

    .related-links a {
        padding: 16px 20px;
    }

    .footer-nav {
        margin-top: 0;
        gap: 14px 21px;
        font-size: .875rem;
        line-height: 1.9;
    }

    .footer-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .footer-clinic {
        padding: 24px 0 0;
        border-left: 0;
        border-top: 1px solid #cec6bd;
    }
}

@media print {
    .breadcrumbs,
    .page-jumps,
    .booking-banner,
    .related-links {
        display: none;
    }

    .page-heading {
        padding-block: 24px;
    }

    .subpage .section {
        padding-block: 35px;
    }

    .feature-link,
    .guidance-card,
    .home-promise {
        break-inside: avoid;
    }
}
