:root {
    --color-background: #f6f3ef;
    --color-surface: #ffffff;
    --color-primary: #255b8a;
    --color-primary-dark: #163456;
    --color-accent: #f1c5b5;
    --color-text: #1f2a3c;
    --color-muted: #5e6c7c;
    --color-border: rgba(37, 91, 138, 0.14);
    --shadow-soft: 0 18px 45px rgba(22, 52, 86, 0.12);
    --shadow-hover: 0 24px 65px rgba(22, 52, 86, 0.18);
    --radius-base: 20px;
    --radius-pill: 999px;
    --max-width: 1200px;
    --font-body: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Libre Baskerville', serif;
}

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

body {
    font-family: var(--font-body);
    margin: 0;
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: var(--color-primary);
}

.container {
    width: min(100% - 2.5rem, var(--max-width));
    margin: 0 auto;
}

header {
    background: linear-gradient(125deg, rgba(250, 235, 215, 0.8), rgba(255, 255, 255, 0.92));
    padding: 1.5rem 0;
    box-shadow: 0 10px 30px rgba(22, 52, 86, 0.08);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    width: 58px;
    height: auto;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
}

nav {
    margin-left: auto;
}

.menu {
    list-style: none;
    display: flex;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
}

.menu li a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-muted);
    padding-bottom: 0.35rem;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.menu li a:hover,
.menu li a:focus {
    color: var(--color-primary);
}

.menu li a.is-active,
.menu li a[aria-current="page"] {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

main {
    padding: 3rem 0 4rem;
}

.hero {
    position: relative;
    padding: 6rem 0 5rem;
    color: var(--color-primary-dark);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(37, 91, 138, 0.14), transparent 60%),
                radial-gradient(circle at 85% 30%, rgba(241, 197, 181, 0.16), transparent 65%),
                linear-gradient(135deg, #ffffff 0%, rgba(246, 243, 239, 0.8) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 720px;
}

.hero-layout {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero-home {
    padding-top: 6.5rem;
    padding-bottom: 6rem;
}

.hero-home .hero-layout {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero-home .hero-media {
    justify-self: end;
    max-width: 460px;
    width: 100%;
    border-radius: var(--radius-base);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.hero-home .hero-media img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-home .hero-content {
    max-width: 520px;
}

.hero-gallery {
    padding-top: 5.5rem;
    padding-bottom: 4.5rem;
}

.hero-about {
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-description {
    color: var(--color-muted);
    margin-bottom: 2rem;
    max-width: 560px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-pill);
    padding: 0.85rem 1.8rem;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 91, 138, 0.18);
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-surface);
    color: var(--color-primary-dark);
    border-color: rgba(37, 91, 138, 0.25);
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-ghost {
    background-color: transparent;
    color: var(--color-primary);
    border-color: rgba(37, 91, 138, 0.35);
}

.btn-ghost:hover {
    background-color: rgba(37, 91, 138, 0.08);
}

.selling-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 4rem auto 3rem;
}

.selling-point {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-base);
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(22, 52, 86, 0.07);
}

.selling-point h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    color: var(--color-primary-dark);
}

.filters {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.filter-tag {
    border: 1px solid var(--color-border);
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-pill);
    padding: 0.55rem 1.35rem;
    font-weight: 500;
    color: var(--color-muted);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-tag:hover {
    border-color: rgba(37, 91, 138, 0.35);
}

.filter-tag.is-active {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 4.5rem auto;
}

.category-card {
    position: relative;
    isolation: isolate;
    border-radius: var(--radius-base);
    min-height: 280px;
    padding: 2.4rem;
    display: flex;
    align-items: flex-end;
    color: #ffffff;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(22, 52, 86, 0.14);
    background: radial-gradient(circle at 20% 20%, rgba(37, 91, 138, 0.4), rgba(22, 52, 86, 0.9)),
                var(--category-image, rgba(37, 91, 138, 0.6));
    background-size: cover;
    background-position: center;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 28, 42, 0.2) 0%, rgba(17, 28, 42, 0.75) 100%);
    z-index: -1;
}

.category-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-content .eyebrow {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.category-content h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.6rem;
    line-height: 1.3;
}

.link-arrow {
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.link-arrow::after {
    content: "\2192";
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

.featured-grid {
    margin-bottom: 5rem;
    width: min(100% - 1rem, var(--max-width));
}

.section-intro {
    max-width: 540px;
    margin-bottom: 2.5rem;
    padding-left: 1rem;
}

.section-intro h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 0.8rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.1rem;
    padding-inline: 0.25rem;
}

.gallery-tile {
    background-color: var(--color-surface);
    border-radius: var(--radius-base);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 16px 42px rgba(22, 52, 86, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin-block: 1rem;
    margin-inline: 0.75rem;
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 5;
}

.gallery-tile figcaption {
    padding: 1.2rem 1.4rem 1.4rem;
    font-family: var(--font-display);
    color: var(--color-primary-dark);
}

.gallery-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.studio-note {
    padding: 4.5rem 0 5rem;
    background: radial-gradient(circle at 10% 20%, rgba(241, 197, 181, 0.26), transparent 55%),
                linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(246, 243, 239, 0.92));
}

.studio-note-content {
    display: grid;
    gap: 1.5rem;
    align-items: start;
    max-width: 720px;
}

.studio-note h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.5rem);
}

.studio-note p {
    color: var(--color-muted);
    margin: 0;
}

.about-content {
    margin: 4rem auto;
    display: grid;
    gap: 1.5rem;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 680px;
}

.hero-story {
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.story-vases-overview {
    margin: 4rem auto 0;
    display: grid;
    gap: 2rem;
    max-width: 720px;
}

.story-description {
    display: grid;
    gap: 1.5rem;
    color: var(--color-muted);
    line-height: 1.75;
    font-size: 1.05rem;
}

.story-examples {
    margin: 4.5rem auto;
    display: grid;
    gap: 2rem;
}

.story-example-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    background-color: var(--color-surface);
    border-radius: var(--radius-base);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    padding: 2.25rem;
    align-items: center;
}

.story-example-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-base) - 8px);
    box-shadow: 0 18px 38px rgba(22, 52, 86, 0.14);
}

.story-example-copy h2 {
    margin: 0 0 0.85rem;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    color: var(--color-primary-dark);
}

.story-example-copy p {
    margin: 0;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.story-cta {
    margin: 4rem auto 0;
    max-width: 720px;
}

.story-cta .cta-card {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    padding: 2.75rem 3.25rem;
    border-radius: var(--radius-base);
    text-align: center;
    color: #ffffff;
    box-shadow: var(--shadow-hover);
    display: grid;
    gap: 1.5rem;
}

.story-cta .cta-lead {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    letter-spacing: 0.01em;
}

.story-cta .btn {
    justify-self: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 4.5rem;
}

.product-card {
    background-color: var(--color-surface);
    border-radius: var(--radius-base);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 40px rgba(22, 52, 86, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.65rem;
}

.product-details h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin: 0;
    color: var(--color-primary-dark);
}

.product-meta {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.product-price {
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: auto;
    color: var(--color-primary);
}

.product-card .btn {
    margin-top: 0.5rem;
}

.cta-band {
    background: linear-gradient(135deg, rgba(37, 91, 138, 0.92), rgba(22, 52, 86, 0.88));
    color: #ffffff;
    padding: 3.5rem 0;
}

.cta-band .container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.cta-band h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin: 0;
}

.cta-band p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.88);
}

.site-footer {
    background-color: #111c2a;
    color: rgba(255, 255, 255, 0.82);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.82);
}

.footer-links a:hover {
    color: #ffffff;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    padding: 3rem 1.5rem 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.gallery-item {
    background-color: var(--color-surface);
    border-radius: var(--radius-base);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 32px rgba(22, 52, 86, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.item-name {
    padding: 1.1rem 1.4rem 1.4rem;
    font-family: var(--font-display);
    color: var(--color-primary-dark);
    text-align: center;
}

@media (max-width: 900px) {
    header {
        position: static;
    }

    .menu {
        gap: 1.1rem;
    }

    .hero {
        padding: 4.5rem 0 3.5rem;
    }

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

    .hero-home {
        padding-top: 5.5rem;
        padding-bottom: 4.5rem;
    }

    .hero-home .hero-layout {
        gap: 2rem;
    }

    .featured-grid {
        position: static;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 1.75rem, var(--max-width));
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        width: 100%;
    }

    .menu {
        justify-content: space-between;
        width: 100%;
        flex-wrap: wrap;
    }

    .filters {
        gap: 0.5rem;
    }

    .filter-tag {
        padding: 0.5rem 1.1rem;
    }

    .footer-content {
        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .category-card {
        min-height: 240px;
        padding: 2.1rem;
    }

    .gallery-tile img {
        aspect-ratio: 3 / 4;
    }

    .studio-note {
        padding: 3.5rem 0 4rem;
    }

    .story-example-card {
        padding: 1.75rem;
    }

    .story-cta .cta-card {
        padding: 2.25rem 2rem;
    }
}
