:root {
    --bg: #cdc7bd;
    --surface: #f7f3ea;
    --surface-strong: #efe8dc;
    --text: #1d1d1d;
    --muted: #5f5b54;
    --accent: #ff5c46;
    --accent-dark: #de4632;
    --highlight: #ffd73a;
    --shadow: 0 24px 60px rgba(24, 24, 24, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

picture {
    display: contents;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

.narrow {
    max-width: 840px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(205, 199, 189, 0.92);
    backdrop-filter: blur(10px);
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    position: relative;
}

.brand {
    color: var(--accent);
    font-size: clamp(1.35rem, 4vw, 1.8rem);
    font-weight: 700;
    line-height: 1.1;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-nav {
    display: flex;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.main-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    color: #34312e;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.is-active {
    background: #fff;
}

.hero-section {
    padding: 48px 0 72px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 40px;
}

.eyebrow {
    display: inline-flex;
    margin: 0 0 16px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.hero-copy h1,
.page-card h1,
.section-heading h2,
.cta-box h2 {
    margin: 0 0 18px;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.hero-copy h1 {
    font-size: clamp(2.4rem, 7vw, 6rem);
}

.hero-copy h1 span {
    display: block;
}

.hero-text {
    max-width: 680px;
    font-size: 1.1rem;
    color: var(--muted);
}

.hero-actions,
.contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 160px;
    min-height: 48px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--highlight);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.75);
}

.hero-visual {
    position: relative;
    min-height: 520px;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 40px;
    width: min(420px, 92%);
    height: 440px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.hero-hand {
    position: absolute;
    left: 10px;
    top: 120px;
    width: 92px;
}

.hero-accent {
    position: absolute;
    right: 24px;
    bottom: 10px;
    width: 160px;
}

.cards-section,
.inner-page,
.cta-section {
    padding: 0 0 72px;
}

.cards-section,
.cta-section,
.about-block,
.site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 600px;
}

.section-heading {
    margin-bottom: 26px;
}

.section-heading h2,
.page-card h1,
.cta-box h2 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
}

.cards-grid,
.gallery-grid,
.contact-cards,
.footer-grid {
    display: grid;
    gap: 24px;
}

.cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card,
.page-card,
.contact-cards article,
.cta-box {
    background: rgba(247, 243, 234, 0.92);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.product-card {
    overflow: hidden;
}

.product-card img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.product-card-body,
.page-card,
.contact-cards article,
.cta-box {
    padding: 28px;
}

.product-card h3,
.contact-cards h2 {
    margin: 0 0 10px;
    font-size: 1.45rem;
}

.product-card p,
.page-card p,
.contact-cards p,
.site-footer p,
.site-footer li {
    margin: 0 0 14px;
    color: var(--muted);
}

.cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
}

.gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery-intro {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.gallery-intro h1 {
    margin: 0 0 14px;
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.gallery-intro p {
    margin: 0;
    color: var(--muted);
    font-size: 1.1rem;
}

.gallery-carousel {
    --slide-width: min(340px, 72vw);
    --slide-gap: 22px;
    --slide-step: calc(var(--slide-width) + var(--slide-gap));
    position: relative;
    padding: 10px 0 28px;
}

.carousel-viewport {
    overflow: hidden;
    padding: 24px 0 18px;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: var(--slide-gap);
    width: max-content;
    margin-left: calc(50% - (var(--slide-width) / 2));
    transform: translateX(calc(-1 * var(--slide-step)));
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    touch-action: pan-y;
    cursor: grab;
}

.gallery-carousel.is-dragging .carousel-track {
    transition: none;
    cursor: grabbing;
}

.carousel-slide {
    margin: 0;
    flex: 0 0 var(--slide-width);
    width: var(--slide-width);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
    transform: scale(0.88);
    opacity: 0.55;
    transition: transform 0.45s ease, opacity 0.45s ease;
    background: #efe8dc;
}

.carousel-slide.is-prev,
.carousel-slide.is-next {
    opacity: 0.78;
    transform: scale(0.94);
}

.carousel-slide.is-active {
    opacity: 1;
    transform: scale(1.04);
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
}

.carousel-btn {
    position: absolute;
    top: 46%;
    z-index: 5;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 14px;
    background: #2f6bff;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(47, 107, 255, 0.35);
    transform: translateY(-50%);
}

.carousel-btn:hover {
    background: #1f57e0;
}

.carousel-prev {
    left: max(0px, calc(50% - var(--slide-width) / 2 - 70px));
}

.carousel-next {
    right: max(0px, calc(50% - var(--slide-width) / 2 - 70px));
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(29, 29, 29, 0.25);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}

.carousel-dot.is-active {
    width: 28px;
    background: var(--accent);
}

.contact-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 28px;
}

.contact-cards a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.faq-card {
    margin-top: 24px;
}

.faq-card h2 {
    margin: 0 0 18px;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    line-height: 1.1;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin: 12px 0 0;
}

.about-intro {
    max-width: 820px;
    margin: 0 auto 42px;
    text-align: center;
}

.about-intro h1 {
    margin: 0 0 18px;
    font-size: clamp(2rem, 6vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.about-lead {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}

.about-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 36px;
    padding: 24px;
    background: rgba(247, 243, 234, 0.92);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.about-block-reverse .about-media {
    order: 2;
}

.about-block-reverse .about-copy {
    order: 1;
}

.about-media {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.about-media img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    max-height: 460px;
    object-fit: cover;
}

.about-copy p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 1.05rem;
}

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

.site-footer {
    padding: 0 0 32px;
}

.footer-grid {
    grid-template-columns: 1.2fr 1fr;
    padding: 28px;
    background: rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-xl);
}

.site-footer h2,
.site-footer h3 {
    margin: 0 0 12px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-direction: column;
    gap: 10px;
}

.contact-list a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-credits {
    margin-top: 16px;
    text-align: center;
}

.footer-credits p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-credits a {
    color: var(--accent-dark);
    font-weight: 700;
}

.footer-credits a:hover {
    text-decoration: underline;
}

/* Tablet */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 0.9fr;
        gap: 28px;
    }

    .hero-visual {
        min-height: 420px;
    }

    .hero-image {
        height: 380px;
    }

    .cards-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .about-block {
        gap: 24px;
        padding: 20px;
    }

    .about-media img {
        min-height: 280px;
        max-height: 380px;
    }
}

/* Mobile + small tablet */
@media (max-width: 900px) {
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 120;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 6px;
        padding: 14px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.97);
    }

    body.nav-open .main-nav {
        display: flex;
    }

    body.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    body.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    body.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .main-nav a {
        width: 100%;
        text-align: center;
        padding: 14px 16px;
    }

    .hero-section,
    .cards-section,
    .inner-page,
    .cta-section {
        padding-bottom: 48px;
    }

    .hero-section {
        padding-top: 20px;
    }

    .hero-grid,
    .cards-grid,
    .gallery-grid,
    .contact-cards,
    .footer-grid,
    .cta-box,
    .about-block {
        grid-template-columns: 1fr;
    }

    .about-block-reverse .about-media,
    .about-block-reverse .about-copy {
        order: initial;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-actions .button {
        width: min(100%, 280px);
    }

    .section-heading {
        text-align: center;
    }

    .hero-visual {
        min-height: 0;
        margin: 8px auto 0;
        width: min(100%, 420px);
    }

    .hero-image {
        position: relative;
        top: 0;
        right: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 5;
        margin: 0 auto;
    }

    .hero-hand {
        left: 4%;
        top: 12%;
        width: 64px;
    }

    .hero-accent {
        right: 6%;
        bottom: 4%;
        width: 110px;
    }

    .product-card img {
        height: 220px;
    }

    .product-card-body,
    .page-card,
    .contact-cards article,
    .cta-box,
    .footer-grid {
        padding: 22px;
    }

    .cta-box {
        display: grid;
        text-align: center;
        justify-items: center;
    }

    .about-intro {
        margin-bottom: 28px;
    }

    .about-lead {
        font-size: 1.05rem;
    }

    .about-block {
        margin-bottom: 20px;
        padding: 14px;
        gap: 16px;
    }

    .about-media img {
        min-height: 220px;
        max-height: 300px;
    }

    .about-copy {
        padding: 4px 8px 10px;
    }

    .gallery-carousel {
        --slide-width: min(280px, 78vw);
        --slide-gap: 14px;
        padding-bottom: 12px;
    }

    .carousel-btn {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .carousel-prev {
        left: 4px;
    }

    .carousel-next {
        right: 4px;
    }

    .carousel-viewport {
        mask-image: none;
        padding-top: 12px;
    }

    .carousel-slide {
        border-radius: 22px;
    }

    .carousel-slide.is-active {
        transform: scale(1.02);
    }

    .gallery-grid {
        margin-top: 20px;
        gap: 14px;
    }

    .footer-credits p {
        padding: 0 8px;
        line-height: 1.5;
    }
}

/* Phone */
@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 20px), var(--container));
    }

    .site-header {
        padding: 12px 0;
    }

    .brand {
        font-size: 1.25rem;
        max-width: calc(100% - 60px);
    }

    .hero-copy h1 {
        font-size: clamp(2.1rem, 11vw, 2.8rem);
        line-height: 1.05;
        letter-spacing: -0.03em;
    }

    .hero-text,
    .about-copy p,
    .page-card p {
        font-size: 1rem;
    }

    .eyebrow {
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .button,
    .cta-box .button {
        width: 100%;
        min-width: 0;
    }

    .cards-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .product-card img {
        height: 200px;
    }

    .hero-hand {
        width: 52px;
    }

    .hero-accent {
        width: 88px;
    }

    .about-intro h1,
    .page-card h1,
    .section-heading h2,
    .cta-box h2 {
        font-size: clamp(1.7rem, 9vw, 2.3rem);
        line-height: 1.05;
    }

    .page-card,
    .contact-cards article,
    .cta-box,
    .footer-grid {
        border-radius: 24px;
        padding: 18px;
    }

    .about-block {
        border-radius: 24px;
    }

    .product-card,
    .gallery-item {
        border-radius: 22px;
    }

    .gallery-carousel {
        --slide-width: min(250px, 82vw);
    }

    .carousel-btn {
        top: 42%;
        opacity: 0.95;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button,
    .nav-toggle span {
        transition: none;
    }
}
