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

html {
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}

body {
    margin: 0;
    background: #FBF7F2;
    color: #33251B;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: #C87E3C;
    text-decoration: none;
    transition: color 200ms ease;
}

a:hover,
a:focus-visible {
    color: #A66529;
    text-decoration: underline;
}

:focus-visible {
    outline: 2px solid #C87E3C;
    outline-offset: 3px;
    border-radius: 4px;
}

h1,
h2,
h3 {
    color: #33251B;
    letter-spacing: -0.01em;
    margin: 0 0 0.4em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 700;
}

h3 {
    font-size: clamp(19px, 2vw, 22px);
    font-weight: 700;
}

p {
    margin: 0 0 1em;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: clamp(56px, 8vw, 96px) 0;
}

.section--soft {
    background: #F4ECE2;
}

.lead {
    font-size: clamp(18px, 2vw, 20px);
    color: #6B5847;
    max-width: 60ch;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(251, 247, 242, 0.92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid rgba(51, 37, 27, 0.08);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 72px;
}

.site-header__logo {
    height: 44px;
    width: auto;
}

.site-nav {
    display: flex;
    gap: 28px;
    font-size: 15px;
}

.site-nav a {
    color: #33251B;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: #C87E3C;
    border-bottom-color: #C87E3C;
    text-decoration: none;
}

@media (max-width: 720px) {
    .site-nav {
        display: none;
    }
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #3A2E24;
}

.nav-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #3A2E24;
    border-radius: 2px;
}

@media (max-width: 720px) {
    .nav-toggle {
        display: inline-flex;
    }

    body.nav-open .site-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        padding: 8px 24px;
        gap: 0;
        background: #FBF7F2;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 14px 30px -22px rgba(51, 37, 27, 0.4);
        z-index: 20;
    }

    body.nav-open .site-nav a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    body.nav-open .site-nav a:last-child {
        border-bottom: none;
    }
}

.hero {
    padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 112px);
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.hero__title {
    color: #33251B;
    margin: 0 0 16px;
}

.hero__title span {
    color: #C87E3C;
}

.hero__sub {
    font-size: clamp(17px, 1.7vw, 20px);
    color: #33251B;
    max-width: 28em;
    margin: 0 0 16px;
    font-weight: 500;
}

.hero__note {
    color: #6B5847;
    max-width: 32em;
    margin: 0 0 28px;
    font-size: 15px;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__shot {
    border-radius: 24px;
    box-shadow: 0 28px 60px -28px rgba(51, 37, 27, 0.45),
        0 8px 18px -8px rgba(51, 37, 27, 0.2);
}

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

    .hero__shot {
        max-width: 280px;
        margin: 0 auto;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease, color 200ms ease;
    text-decoration: none;
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    background: #C87E3C;
    color: #FFFFFF;
    box-shadow: 0 6px 18px -8px rgba(200, 126, 60, 0.7);
}

.btn--primary:hover,
.btn--primary:focus-visible {
    background: #A66529;
    color: #FFFFFF;
    text-decoration: none;
}

.btn--ghost {
    background: transparent;
    color: #33251B;
    border-color: rgba(51, 37, 27, 0.2);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    border-color: #C87E3C;
    color: #C87E3C;
    text-decoration: none;
}

.section-head {
    margin-bottom: clamp(28px, 4vw, 48px);
    max-width: 56ch;
}

.section-head__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #C87E3C;
    margin-bottom: 12px;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

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

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

.card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 1px 0 rgba(51, 37, 27, 0.04),
        0 22px 40px -28px rgba(51, 37, 27, 0.25);
    border: 1px solid rgba(51, 37, 27, 0.05);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(51, 37, 27, 0.04),
        0 30px 50px -28px rgba(51, 37, 27, 0.3);
}

.card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(200, 126, 60, 0.13);
    color: #C87E3C;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}

.card h3 {
    margin: 0 0 10px;
}

.card p {
    color: #6B5847;
    margin: 0;
    font-size: 15.5px;
}

.modules {
    background: #FFFFFF;
    border-radius: 24px;
    padding: clamp(28px, 4vw, 48px);
    box-shadow: 0 1px 0 rgba(51, 37, 27, 0.04),
        0 26px 50px -32px rgba(51, 37, 27, 0.3);
    border: 1px solid rgba(51, 37, 27, 0.05);
}

.modules p {
    font-size: 16px;
    color: #33251B;
    max-width: 78ch;
    margin: 0;
}

.tabs {
    display: inline-flex;
    background: #FFFFFF;
    padding: 6px;
    border-radius: 14px;
    border: 1px solid rgba(51, 37, 27, 0.08);
    margin-bottom: 28px;
    box-shadow: 0 8px 20px -16px rgba(51, 37, 27, 0.4);
}

.tabs__btn {
    appearance: none;
    border: 0;
    background: transparent;
    font: inherit;
    color: #6B5847;
    padding: 10px 22px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: background 200ms ease, color 200ms ease;
}

.tabs__btn[aria-selected="true"] {
    background: #C87E3C;
    color: #FFFFFF;
}

.tabs__btn:focus-visible {
    outline: 2px solid #C87E3C;
    outline-offset: 2px;
}

.gallery-strip {
    position: relative;
}

.gallery {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 2px;
    scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
    display: none;
}

.gallery .shot {
    flex: 0 0 auto;
    width: calc((100% - 2 * 16px) / 3);
    min-width: 0;
    scroll-snap-align: start;
}

.gallery-strip__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FBF7F2;
    border: 1px solid rgba(200, 126, 60, 0.45);
    color: #C87E3C;
    box-shadow: 0 4px 12px -2px rgba(51, 37, 27, 0.22);
    font-size: 24px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    z-index: 2;
    transition: opacity 200ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.gallery-strip__nav:hover,
.gallery-strip__nav:focus-visible {
    background: #C87E3C;
    color: #FFFFFF;
    border-color: #C87E3C;
}

.gallery-strip__nav:disabled {
    opacity: 0.35;
    cursor: default;
    background: #FBF7F2;
    color: #C87E3C;
    box-shadow: none;
}

.gallery-strip__nav--prev {
    left: 8px;
}

.gallery-strip__nav--next {
    right: 8px;
}

@media (max-width: 1024px) {
    .gallery .shot {
        flex: 0 0 auto;
        width: calc((100% - 16px) / 2.15);
    }
}

@media (max-width: 540px) {
    .gallery .shot {
        flex: 0 0 auto;
        width: 78%;
    }

    .gallery-strip__nav {
        display: none;
    }
}

.shot {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 12px;
    border: 1px solid rgba(51, 37, 27, 0.06);
    box-shadow: 0 14px 30px -22px rgba(51, 37, 27, 0.4);
    transition: transform 200ms ease, box-shadow 200ms ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: zoom-in;
}

.shot:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px -22px rgba(51, 37, 27, 0.45);
}

.shot img {
    border-radius: 10px;
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: #F4ECE2;
}

.shot__cap {
    font-size: 13px;
    color: #6B5847;
    text-align: center;
    padding: 0 4px 4px;
}

.shot:focus-visible {
    outline: 3px solid #C87E3C;
    outline-offset: 3px;
}

.gallery-panel[hidden] {
    display: none;
}

.lb {
    position: fixed;
    inset: 0;
    background: rgba(20, 12, 6, 0.86);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lb[data-open="true"] {
    display: flex;
    animation: lb-fade 200ms ease both;
}

@keyframes lb-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lb__stage {
    max-width: min(92vw, 520px);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.lb__img {
    max-width: 100%;
    max-height: calc(92vh - 90px);
    border-radius: 18px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
    background: #000;
}

.lb__cap {
    color: #FBF7F2;
    font-size: 15px;
    text-align: center;
    margin: 0;
}

.lb__nav,
.lb__close {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 200ms ease, transform 200ms ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lb__nav:hover,
.lb__close:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.04);
}

.lb__nav:focus-visible,
.lb__close:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 3px;
}

.lb__close {
    top: 20px;
    right: 20px;
}

.lb__nav--prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lb__nav--next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lb__nav--prev:hover {
    transform: translateY(-50%) scale(1.04);
}

.lb__nav--next:hover {
    transform: translateY(-50%) scale(1.04);
}

@media (max-width: 600px) {
    .lb__nav {
        width: 40px;
        height: 40px;
    }
}

.notice {
    border: 2px solid rgba(200, 126, 60, 0.45);
    background: rgba(200, 126, 60, 0.06);
    border-radius: 20px;
    padding: clamp(24px, 4vw, 36px);
}

.notice h2 {
    margin-top: 0;
    color: #A66529;
}

.notice p {
    color: #33251B;
    margin: 0 0 1em;
}

.notice p:last-child {
    margin-bottom: 0;
}

.rating {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed rgba(200, 126, 60, 0.4);
    color: #6B5847;
    font-size: 15px;
}

.rating svg {
    flex-shrink: 0;
}

.site-footer {
    background: #33251B;
    color: #EADFCF;
    padding: 40px 0 28px;
    margin-top: 64px;
    font-size: 14px;
}

.site-footer a {
    color: #F2C58C;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #FBF7F2;
}

.site-footer__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 28px;
    margin-bottom: 14px;
}

.site-footer__row:last-child {
    margin-bottom: 0;
}

.site-footer__legal {
    color: #BFA88D;
}

.site-footer__copy {
    color: #BFA88D;
    margin-left: auto;
}

@media (max-width: 640px) {
    .site-footer__copy {
        margin-left: 0;
        width: 100%;
    }
}

.doc {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 72px) 24px 80px;
}

.doc h1 {
    font-size: clamp(30px, 4vw, 40px);
    margin-bottom: 8px;
}

.doc .doc__meta {
    color: #6B5847;
    font-size: 14px;
    margin-bottom: 32px;
}

.doc h2 {
    font-size: 20px;
    margin: 32px 0 10px;
}

.doc p {
    margin: 0 0 14px;
}

.doc a {
    word-break: break-word;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
